/* =========================================================
   ROSEMARY PAGE CONTAINER OVERRIDE
========================================================= */

.content-container.rosemary-page {
  max-width: 1440px;
  padding: 34px 32px 56px;
}

/* =========================================================
   SHARED ROSEMARY SECTION PATTERNS
========================================================= */

.rosemary-page .rose-section-header {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.65fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: end;
}

.rosemary-page .rose-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin-bottom: 16px;
  padding: 8px 13px;

  border: 1px solid #d6eadb;
  border-radius: 999px;

  color: #277649;
  background: #ecf8ef;

  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rosemary-page .rose-kicker::before {
  width: 7px;
  height: 7px;

  border-radius: 50%;
  background: #38a968;

  content: "";
}

.rosemary-page .rose-title {
  margin: 0;

  color: #223228;
  font-size: clamp(2.3rem, 4vw, 3.7rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
  font-weight: 850;
}

.rosemary-page .rose-title span {
  display: block;
  color: #2f855a;
}

.rosemary-page .rose-intro {
  color: #6d7c71;
  font-size: 0.98rem;
  line-height: 1.8;
}

.rosemary-page .rose-mobile-select-wrap {
  display: none;
}

@media (max-width: 1080px) {
  .rosemary-page .rose-section-header {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .rosemary-page .rose-intro {
    max-width: 680px;
  }
}

@media (max-width: 640px) {
  .rosemary-page .rose-kicker {
    margin-bottom: 14px;
    font-size: 0.67rem;
  }

  .rosemary-page .rose-title {
    font-size: 2.12rem;
    line-height: 1.1;
  }

  .rosemary-page .rose-intro {
    font-size: 0.91rem;
    line-height: 1.72;
  }

  .rosemary-page .rose-mobile-select-wrap {
    display: block;
    margin-bottom: 14px;
  }

  .rosemary-page .rose-mobile-select-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin-bottom: 8px;

    color: #43855e;
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }

  .rosemary-page .rose-mobile-select-label span {
    width: 7px;
    height: 7px;

    border-radius: 50%;
    background: #35a865;
  }

  .rosemary-page .rose-mobile-select-control {
    display: none;
  }

  .rosemary-page .rose-mobile-picker {
    position: relative;

    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 18px;
    column-gap: 11px;
    align-items: center;

    width: 100%;
    min-height: 60px;
    padding: 12px 14px 12px 13px;
    box-sizing: border-box;

    border: 1px solid #2f855a;
    border-radius: 16px;

    color: #ffffff;
    background: #2f855a;
    box-shadow: 0 12px 22px rgba(47, 133, 90, 0.16);

    cursor: pointer;
    font: inherit;
    text-align: left;
  }

  .rosemary-page .rose-mobile-picker::after {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9rem;
    content: "v";
    justify-self: end;
    transition: transform 0.18s ease;
  }

  .rosemary-page .rose-mobile-select-wrap.is-open .rose-mobile-picker::after {
    transform: rotate(180deg);
  }

  .rosemary-page .rose-mobile-picker-number {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;

    border-radius: 10px;

    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);

    font-size: 0.68rem;
    font-weight: 850;
  }

  .rosemary-page .rose-mobile-picker-title,
  .rosemary-page .rose-mobile-picker-meta {
    display: block;
    min-width: 0;
  }

  .rosemary-page .rose-mobile-picker-title {
    color: #ffffff;
    font-size: 0.88rem;
    line-height: 1.15;
    font-weight: 850;
  }

  .rosemary-page .rose-mobile-picker-meta {
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .rosemary-page .rose-mobile-option-list {
    display: none;
    gap: 9px;
    margin-top: 9px;
  }

  .rosemary-page .rose-mobile-select-wrap.is-open .rose-mobile-option-list {
    display: grid;
  }

  .rosemary-page .rose-mobile-option {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    column-gap: 11px;
    row-gap: 2px;
    align-items: center;

    width: 100%;
    min-height: 58px;
    padding: 11px 13px;
    box-sizing: border-box;

    border: 1px solid #d7e8da;
    border-radius: 15px;

    color: #2f4435;
    background: #ffffff;

    cursor: pointer;
    font: inherit;
    text-align: left;

    transition:
      border-color 0.18s ease,
      background 0.18s ease,
      box-shadow 0.18s ease,
      transform 0.18s ease;
  }

  .rosemary-page .rose-mobile-option span {
    display: grid;
    grid-row: span 2;
    width: 32px;
    height: 32px;
    place-items: center;

    border-radius: 10px;

    color: #2f855a;
    background: #e8f6ec;

    font-size: 0.68rem;
    font-weight: 850;
  }

  .rosemary-page .rose-mobile-option strong,
  .rosemary-page .rose-mobile-option small {
    display: block;
    min-width: 0;
  }

  .rosemary-page .rose-mobile-option strong {
    color: #2e3f33;
    font-size: 0.86rem;
    line-height: 1.15;
    font-weight: 850;
  }

  .rosemary-page .rose-mobile-option small {
    color: #728377;
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .rosemary-page .rose-mobile-option.is-active {
    border-color: #2f855a;
    color: #ffffff;
    background: #2f855a;
    box-shadow: 0 12px 22px rgba(47, 133, 90, 0.16);
  }

  .rosemary-page .rose-mobile-option.is-active span {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
  }

  .rosemary-page .rose-mobile-option.is-active strong {
    color: #ffffff;
  }

  .rosemary-page .rose-mobile-option.is-active small {
    color: rgba(255, 255, 255, 0.8);
  }

  .rosemary-page .rose-mobile-select-wrap > p,
  .rosemary-page .rose-mobile-select-help {
    margin: 8px 0 0;

    color: #7a8b7e;
    font-size: 0.78rem;
    line-height: 1.5;
  }
}

/* Hero tetap mengambil satu baris penuh di dalam flex parent */
.content-container.rosemary-page > .hero-section {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* ============================================================ */

/* =========================================================
   ROSEMARY HERO 
========================================================= */

/* Hero selalu mengambil satu baris penuh di parent flex */
.content-container.rosemary-page > .hero-section {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* =========================================================
   HERO SHELL
========================================================= */

.rosemary-page .hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(440px, 0.98fr);
  gap: clamp(42px, 4.5vw, 76px);
  align-items: start;

  width: 100%;
  margin: 0;
  padding: clamp(52px, 5vw, 82px);
  box-sizing: border-box;

  overflow: hidden;
  border: 1px solid #e8eee7;

  /*
    Hero dibuat menyambung dengan Why Rosemary section.
    Jika nanti ingin hero berdiri sendiri, ubah menjadi:
    border-radius: 32px;
  */
  border-radius: 32px 32px 0 0;

  background: #ffffff
}

/* =========================================================
   LEFT COLUMN
========================================================= */

.rosemary-page .hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  min-width: 0;
  padding-top: 2px;
}

/*
  HTML asli tetap boleh:
  .hero-meta -> .hero-title -> .hero-subtitle

  Tetapi dengan order ini, title Rosemary muncul paling atas
  agar sejajar dengan bagian atas pipeline card.
*/

.rosemary-page .hero-title {
  order: 1;

  max-width: 100%;
  margin: 0;

  color: #203126;
  font-size: clamp(4rem, 5.35vw, 5.45rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
  font-weight: 850;

  overflow-wrap: anywhere;
}

.rosemary-page .hero-title span {
  color: #2f855a;
}

.rosemary-page .hero-meta {
  order: 2;

  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;

  margin: 22px 0 18px;
}

.rosemary-page .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 9px 15px;
  border-radius: 999px;

  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
}

.rosemary-page .hero-badge {
  color: #237047;
  background: #eaf8ef;
  border: 1px solid #cfead8;
}

.rosemary-page .badge-dot {
  width: 8px;
  height: 8px;

  border-radius: 50%;
  background: #35a865;
  box-shadow: 0 0 0 4px rgba(53, 168, 101, 0.12);
}

.rosemary-page .hero-subtitle {
  order: 3;

  max-width: 680px;
  margin: 0 0 20px;

  color: #445248;
  font-size: clamp(1.32rem, 1.9vw, 1.78rem);
  line-height: 1.34;
  font-weight: 500;
}

.rosemary-page .hero-subtitle strong,
.rosemary-page .hero-subtitle span {
  display: block;
  margin-top: 2px;

  color: #2f855a;
  font-weight: 800;
}

.rosemary-page .hero-description {
  order: 4;

  max-width: 680px;
  margin: 0;

  color: #68776c;
  font-size: 1rem;
  line-height: 1.82;
}

/* =========================================================
   VIDEO OVERVIEW
========================================================= */

.rosemary-page .hero-video-card {
  order: 5;

  width: 100%;
  max-width: 690px;
  margin-top: 28px;
  padding: 14px;
  box-sizing: border-box;

  border: 1px solid #dce9df;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 16px 30px rgba(47, 133, 90, 0.06);
}

.rosemary-page .hero-video-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  margin-bottom: 12px;
}

.rosemary-page .hero-video-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: #2f855a;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.rosemary-page .hero-video-kicker::before {
  width: 7px;
  height: 7px;

  border-radius: 50%;
  background: #35a865;

  content: "";
}

.rosemary-page .hero-video-link {
  color: #2d7a4d;

  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;

  transition: color 0.2s ease, transform 0.2s ease;
}

.rosemary-page .hero-video-link:hover {
  color: #205f3a;
  transform: translateY(-1px);
}

.rosemary-page .hero-video-embed {
  position: relative;

  width: 100%;
  overflow: hidden;

  border-radius: 14px;
  background: #eaf4ed;
  aspect-ratio: 16 / 9;
}

.rosemary-page .hero-video-embed iframe {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  border: 0;
}

.rosemary-page .hero-video-placeholder {
  position: absolute;
  inset: 0;

  display: block;
  width: 100%;
  height: 100%;
  padding: 0;

  border: 0;
  background: #dfeee4;

  cursor: pointer;
}

.rosemary-page .hero-video-placeholder img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  filter: saturate(0.95);
}

.rosemary-page .hero-video-placeholder::after {
  position: absolute;
  inset: 0;

  background: rgba(17, 35, 24, 0.18);

  content: "";
  transition: background 0.2s ease;
}

.rosemary-page .hero-video-placeholder:hover::after {
  background: rgba(17, 35, 24, 0.08);
}

.rosemary-page .hero-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;

  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;

  border-radius: 50%;
  background: #2f855a;
  box-shadow: 0 16px 34px rgba(24, 83, 51, 0.24);

  transform: translate(-50%, -50%);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

.rosemary-page .hero-video-play::before {
  width: 0;
  height: 0;
  margin-left: 5px;

  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid #ffffff;

  content: "";
}

.rosemary-page .hero-video-placeholder:hover .hero-video-play {
  background: #276f4c;
  transform: translate(-50%, -50%) scale(1.04);
}

/* =========================================================
   HERO BUTTONS
========================================================= */

.rosemary-page .hero-actions {
  order: 6;

  display: flex;
  flex-wrap: wrap;
  gap: 14px;

  margin-top: 22px;
}

.rosemary-page .hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-height: 52px;
  padding: 0 22px;
  box-sizing: border-box;

  border-radius: 14px;

  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease;
}

.rosemary-page .hero-btn:hover {
  transform: translateY(-2px);
}

.rosemary-page .hero-btn-primary {
  color: #ffffff;
  background: #2f855a;
  box-shadow: 0 12px 24px rgba(47, 133, 90, 0.22);
}

.rosemary-page .hero-btn-primary:hover {
  background: #276f4c;
  box-shadow: 0 16px 28px rgba(47, 133, 90, 0.28);
}

.rosemary-page .hero-btn-secondary {
  color: #314036;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid #d9e6dc;
}

.rosemary-page .hero-btn-secondary:hover {
  background: #f3faf5;
  border-color: #bcd9c4;
}

/* =========================================================
   PIPELINE CARD
========================================================= */

.rosemary-page .pipeline-card {
  position: relative;
  align-self: start;

  width: 100%;
  min-width: 0;
  padding: 32px;
  box-sizing: border-box;

  overflow: hidden;
  border: 1px solid #d8e9dc;
  border-radius: 28px;
  background: rgba(248, 252, 247, 0.9);
  box-shadow: 0 24px 50px rgba(47, 133, 90, 0.1);
}

.rosemary-page .pipeline-card::before {
  position: absolute;
  top: -60px;
  right: -60px;

  width: 180px;
  height: 180px;

  border-radius: 50%;
  background: rgba(172, 228, 191, 0.2);

  content: "";
  filter: blur(3px);
  pointer-events: none;
}

.rosemary-page .pipeline-card-header {
  position: relative;
  z-index: 1;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;

  margin-bottom: 26px;
}

.rosemary-page .pipeline-eyebrow {
  margin: 0 0 6px;

  color: #7a8a7d;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.rosemary-page .pipeline-title {
  margin: 0;

  color: #286f49;
  font-size: 1.42rem;
  line-height: 1.2;
  font-weight: 850;
}

.rosemary-page .pipeline-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  padding: 8px 11px;
  border: 1px solid #d8e8db;
  border-radius: 999px;

  color: #62816a;
  background: #ffffff;

  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
}

.rosemary-page .pipeline-status span {
  width: 7px;
  height: 7px;

  border-radius: 50%;
  background: #36a864;
}

.rosemary-page .pipeline-flow {
  position: relative;
  z-index: 1;
}

.rosemary-page .pipeline-node {
  display: flex;
  align-items: center;
  gap: 12px;

  min-width: 0;
  padding: 13px 14px;
  box-sizing: border-box;

  border: 1px solid #dce9de;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 8px 16px rgba(41, 91, 56, 0.035);
}

.rosemary-page .pipeline-number {
  display: grid;
  flex: 0 0 30px;

  width: 30px;
  height: 30px;
  place-items: center;

  border-radius: 10px;

  color: #2f855a;
  background: #eaf7ee;

  font-size: 0.7rem;
  font-weight: 850;
}

.rosemary-page .pipeline-node strong,
.rosemary-page .pipeline-node small {
  display: block;
}

.rosemary-page .pipeline-node strong {
  color: #304035;
  font-size: 0.86rem;
  line-height: 1.2;
}

.rosemary-page .pipeline-node small {
  margin-top: 3px;

  color: #7a887c;
  font-size: 0.71rem;
  line-height: 1.3;
}

.rosemary-page .pipeline-line {
  width: 2px;
  height: 16px;
  margin: 0 auto;

  background: linear-gradient(#b9d8c0, #7bb28b);
}

.rosemary-page .pipeline-branch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;

  margin: 12px 0;
}

.rosemary-page .branch-node {
  min-width: 0;
  padding: 12px;
  box-sizing: border-box;

  border: 1px solid #d7e8da;
  border-radius: 14px;

  background: #f4faf5;
  text-align: center;
}

.rosemary-page .branch-node span,
.rosemary-page .branch-node small {
  display: block;
}

.rosemary-page .branch-node span {
  color: #367f55;
  font-size: 0.8rem;
  font-weight: 850;
}

.rosemary-page .branch-node small {
  margin-top: 4px;

  color: #7d8d80;
  font-size: 0.68rem;
}

.rosemary-page .pipeline-node-final {
  border-color: #2f855a;
  background: #2f855a;
  box-shadow: 0 12px 22px rgba(47, 133, 90, 0.2);
}

.rosemary-page .pipeline-node-final .pipeline-number {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
}

.rosemary-page .pipeline-node-final strong,
.rosemary-page .pipeline-node-final small {
  color: #ffffff;
}

.rosemary-page .pipeline-node-final small {
  opacity: 0.82;
}

/* =========================================================
   LAPTOP / SMALL DESKTOP
========================================================= */

@media (max-width: 1180px) {
  .content-container.rosemary-page {
    max-width: 1120px;
    padding: 30px 24px 48px;
  }

  .rosemary-page .hero-section {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .rosemary-page .hero-content {
    width: 100%;
  }

  .rosemary-page .hero-title {
    max-width: 820px;
    font-size: clamp(3.8rem, 7.8vw, 5.25rem);
  }

  .rosemary-page .hero-subtitle,
  .rosemary-page .hero-description,
  .rosemary-page .hero-video-card {
    max-width: 760px;
  }

  .rosemary-page .pipeline-card {
    width: min(100%, 760px);
  }
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 820px) {
  .content-container.rosemary-page {
    max-width: 100%;
    padding: 24px 20px 42px;
  }

  .rosemary-page .hero-section {
    gap: 40px;
    padding: 48px 36px;
    border-radius: 26px 26px 0 0;
  }

  .rosemary-page .hero-title {
    font-size: clamp(3.25rem, 9.6vw, 4.7rem);
  }

  .rosemary-page .hero-subtitle {
    font-size: 1.38rem;
  }

  .rosemary-page .hero-video-card {
    max-width: 100%;
  }

  .rosemary-page .pipeline-card {
    width: 100%;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {
  .content-container.rosemary-page {
    padding: 18px 14px 34px;
  }

  .rosemary-page .hero-section {
    gap: 34px;
    padding: 32px 20px;
    border-radius: 22px 22px 0 0;
  }

  .rosemary-page .hero-title {
    font-size: clamp(3rem, 14.5vw, 4rem);
    line-height: 0.94;
    letter-spacing: -0.065em;
  }

  .rosemary-page .hero-meta {
    gap: 8px;
    margin: 18px 0 16px;
  }

  .rosemary-page .hero-badge {
    padding: 7px 11px;
    font-size: 0.72rem;
  }

  .rosemary-page .hero-subtitle {
    margin-bottom: 18px;
    font-size: 1.15rem;
  }

  .rosemary-page .hero-description {
    font-size: 0.94rem;
    line-height: 1.72;
  }

  .rosemary-page .hero-video-card {
    margin-top: 24px;
    padding: 12px;
    border-radius: 16px;
  }

  .rosemary-page .hero-video-header {
    gap: 10px;
    margin-bottom: 10px;
  }

  .rosemary-page .hero-video-kicker {
    font-size: 0.66rem;
  }

  .rosemary-page .hero-video-link {
    font-size: 0.77rem;
  }

  .rosemary-page .hero-video-embed {
    border-radius: 12px;
  }

  .rosemary-page .hero-actions {
    flex-direction: column;
    width: 100%;
    margin-top: 20px;
  }

  .rosemary-page .hero-btn {
    width: 100%;
  }

  .rosemary-page .pipeline-card {
    padding: 20px;
    border-radius: 22px;
  }

  .rosemary-page .pipeline-card-header {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 22px;
  }

  .rosemary-page .pipeline-status {
    align-self: flex-start;
  }

  .rosemary-page .pipeline-title {
    font-size: 1.25rem;
  }

  .rosemary-page .pipeline-node {
    gap: 10px;
    padding: 12px;
  }

  .rosemary-page .pipeline-node strong {
    font-size: 0.8rem;
  }

  .rosemary-page .pipeline-node small {
    font-size: 0.67rem;
  }

  .rosemary-page .pipeline-branch {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .rosemary-page .pipeline-line {
    height: 14px;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 390px) {
  .rosemary-page .hero-section {
    padding: 28px 16px;
  }

  .rosemary-page .hero-title {
    font-size: 2.85rem;
  }

  .rosemary-page .hero-video-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .rosemary-page .pipeline-card {
    padding: 16px;
  }

  .rosemary-page .pipeline-number {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
  }
}

/* =========================================================
   WHY ROSEMARY — LIGHTWEIGHT VERSION
========================================================= */

.content-container.rosemary-page > .why-rosemary-section {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.rosemary-page .why-rosemary-section {
  width: 100%;
  margin: 0;
  padding: clamp(56px, 6vw, 88px);
  box-sizing: border-box;

  border: 1px solid #e4ece5;
  border-top: 0;
  border-radius: 0 0 32px 32px;

  background: #ffffff
}

/* Heading */

.rosemary-page .why-rosemary-heading {
  max-width: 850px;
  margin-bottom: clamp(36px, 5vw, 58px);
}

.rosemary-page .section-title {
  max-width: 800px;
  font-size: clamp(2.3rem, 4vw, 3.8rem);
}

.rosemary-page .section-intro {
  max-width: 690px;
  margin: 22px 0 0;
  font-size: 1rem;
}

/* Main grid */

.rosemary-page .why-rosemary-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(20px, 3vw, 30px);
  align-items: stretch;
}

/* Left card */

.rosemary-page .why-highlight-card {
  display: flex;
  flex-direction: column;

  min-width: 0;
  padding: clamp(28px, 3vw, 38px);
  box-sizing: border-box;

  border: 1px solid #d2e7d7;
  border-radius: 24px;

  background:
    radial-gradient(
      circle at top right,
      rgba(192, 236, 205, 0.55),
      transparent 35%
    ),
    linear-gradient(145deg, #edf9f0 0%, #fbfffc 100%);
}

.rosemary-page .why-highlight-top {
  display: flex;
  align-items: center;
  gap: 10px;

  color: #39825a;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.rosemary-page .why-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;

  border-radius: 11px;
  color: #28764d;
  background: #dff3e5;

  font-size: 1rem;
  font-weight: 850;
}

.rosemary-page .why-highlight-card h3 {
  max-width: 430px;
  margin: 30px 0 16px;

  color: #26382c;
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
  font-weight: 850;
}

.rosemary-page .why-highlight-card p {
  max-width: 480px;
  margin: 0;

  color: #627267;
  font-size: 0.95rem;
  line-height: 1.78;
}

.rosemary-page .why-highlight-line {
  width: 100%;
  height: 1px;
  margin: 28px 0 20px;
  background: rgba(71, 132, 89, 0.2);
}

.rosemary-page .why-highlight-card .why-highlight-note {
  color: #2f7850;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.65;
}

/* Right list */

.rosemary-page .why-points {
  display: grid;
  gap: 14px;
}

.rosemary-page .why-point {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 15px;
  align-items: start;

  min-width: 0;
  padding: 22px 24px;
  box-sizing: border-box;

  border: 1px solid #dfe9e1;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);

  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.rosemary-page .why-point:hover {
  transform: translateY(-2px);
  border-color: #c9e0cf;
  box-shadow: 0 14px 24px rgba(47, 133, 90, 0.07);
}

.rosemary-page .why-point-number {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;

  border-radius: 11px;
  color: #2f855a;
  background: #e8f6ec;

  font-size: 0.72rem;
  font-weight: 850;
}

.rosemary-page .why-point h3 {
  margin: 2px 0 6px;

  color: #2d3d32;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 850;
}

.rosemary-page .why-point p {
  margin: 0;

  color: #718075;
  font-size: 0.87rem;
  line-height: 1.6;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 980px) {
  .rosemary-page .why-rosemary-grid {
    grid-template-columns: 1fr;
  }

  .rosemary-page .why-highlight-card {
    min-height: auto;
  }

  .rosemary-page .why-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rosemary-page .why-point {
    display: block;
    min-height: 210px;
    padding: 22px;
  }

  .rosemary-page .why-point-number {
    margin-bottom: 16px;
  }
}

/* =========================================================
   TABLET PORTRAIT
========================================================= */

@media (max-width: 820px) {
  .rosemary-page .why-rosemary-section {
    padding: 52px 36px;
    border-radius: 0 0 26px 26px;
  }

  .rosemary-page .section-title {
    font-size: clamp(2.15rem, 6vw, 3.1rem);
  }

  .rosemary-page .why-points {
    grid-template-columns: 1fr;
  }

  .rosemary-page .why-point {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: auto;
  }

  .rosemary-page .why-point-number {
    margin-bottom: 0;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {
  .rosemary-page .why-rosemary-section {
    padding: 36px 20px 42px;
    border-radius: 0 0 22px 22px;
  }

  .rosemary-page .why-rosemary-heading {
    margin-bottom: 30px;
  }

  .rosemary-page .section-kicker {
    margin-bottom: 14px;
    font-size: 0.69rem;
  }

  .rosemary-page .section-title {
    font-size: 2.15rem;
  }

  .rosemary-page .section-intro {
    margin-top: 18px;
    font-size: 0.92rem;
    line-height: 1.72;
  }

  .rosemary-page .why-highlight-card {
    padding: 24px;
    border-radius: 20px;
  }

  .rosemary-page .why-highlight-card h3 {
    margin-top: 24px;
    font-size: 1.55rem;
  }

  .rosemary-page .why-highlight-card p {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .rosemary-page .why-highlight-line {
    margin: 22px 0 16px;
  }

  .rosemary-page .why-point {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 12px;
    padding: 18px;
    border-radius: 17px;
  }

  .rosemary-page .why-point-number {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 0.68rem;
  }

  .rosemary-page .why-point h3 {
    font-size: 0.94rem;
  }

  .rosemary-page .why-point p {
    font-size: 0.8rem;
    line-height: 1.55;
  }
}

/* =========================================================
   PROJECT GOALS + CORE CONCEPTS
========================================================= */

.content-container.rosemary-page > .goals-concepts-section {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.rosemary-page .goals-concepts-section {
  width: 100%;
  margin-top: 22px;
  padding: clamp(52px, 6vw, 88px);
  box-sizing: border-box;

  border: 1px solid #e3ece5;
  border-radius: 30px;

  background: #ffffff
}

/* =========================================================
   HEADER
========================================================= */

.rosemary-page .gc-header {
  margin-bottom: clamp(42px, 5vw, 64px);
}

.rosemary-page .gc-title {
  max-width: 780px;
  font-size: clamp(2.25rem, 4vw, 3.7rem);
}

.rosemary-page .gc-intro {
  max-width: 460px;
  margin: 0 0 3px;
}

/* =========================================================
   SHARED AREA LABEL
========================================================= */

.rosemary-page .gc-area-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.rosemary-page .gc-area-label > span {
  display: grid;
  flex: 0 0 34px;

  width: 34px;
  height: 34px;
  place-items: center;

  border-radius: 11px;

  color: #2f855a;
  background: #e6f5ea;

  font-size: 0.72rem;
  font-weight: 850;
}

.rosemary-page .gc-area-label p {
  margin: 1px 0 4px;

  color: #43855e;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.rosemary-page .gc-area-label h3 {
  margin: 0;

  color: #2b3d30;
  font-size: 1.08rem;
  line-height: 1.25;
  font-weight: 850;
}

/* =========================================================
   PROJECT GOALS
========================================================= */

.rosemary-page .gc-goals-area {
  padding: clamp(26px, 3vw, 36px);
  box-sizing: border-box;

  border: 1px solid #d8e9dc;
  border-radius: 24px;

  background:
    radial-gradient(
      circle at top right,
      rgba(206, 240, 216, 0.45),
      transparent 30%
    ),
    #f4faf5;
}

.rosemary-page .gc-goals-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;

  margin-top: 28px;
}

.rosemary-page .gc-goal-card {
  min-width: 0;
  min-height: 172px;
  padding: 20px;
  box-sizing: border-box;

  border: 1px solid #dfeae1;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
}

.rosemary-page .gc-goal-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 31px;
  height: 25px;
  margin-bottom: 18px;
  padding: 0 8px;

  border-radius: 999px;

  color: #338153;
  background: #e8f6ec;

  font-size: 0.68rem;
  font-weight: 850;
}

.rosemary-page .gc-goal-card h4 {
  margin: 0 0 8px;

  color: #2c3c30;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 850;
}

.rosemary-page .gc-goal-card p {
  margin: 0;

  color: #718075;
  font-size: 0.84rem;
  line-height: 1.6;
}

/* =========================================================
   CORE CONCEPTS
========================================================= */

.rosemary-page .gc-concepts-area {
  margin-top: clamp(34px, 4vw, 52px);
}

.rosemary-page .gc-concepts-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;

  margin-bottom: 24px;
}

.rosemary-page .gc-concepts-heading > p {
  max-width: 420px;
  margin: 0;

  color: #748276;
  font-size: 0.9rem;
  line-height: 1.7;
}

.rosemary-page .gc-concepts-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.rosemary-page .gc-concept-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 15px;
  align-items: start;

  min-width: 0;
  min-height: 158px;
  padding: 22px;
  box-sizing: border-box;

  border: 1px solid #dfe9e1;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);

  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.rosemary-page .gc-concept-card:hover {
  transform: translateY(-2px);
  border-color: #c9e0cf;
  box-shadow: 0 15px 26px rgba(47, 133, 90, 0.07);
}

.rosemary-page .gc-concept-icon {
  display: grid;
  flex: 0 0 38px;

  width: 38px;
  height: 38px;
  place-items: center;

  border-radius: 12px;

  color: #28764d;
  background: #e8f6ec;

  font-size: 1rem;
  font-weight: 850;
}

.rosemary-page .gc-concept-tag {
  display: block;
  margin: 1px 0 5px;

  color: #43855e;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.rosemary-page .gc-concept-card h4 {
  margin: 0 0 7px;

  color: #2d3d32;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 850;
}

.rosemary-page .gc-concept-card p {
  margin: 0;

  color: #718075;
  font-size: 0.84rem;
  line-height: 1.6;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 980px) {
  .rosemary-page .gc-header {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .rosemary-page .gc-intro {
    max-width: 660px;
  }

  .rosemary-page .gc-goals-grid {
    grid-template-columns: 1fr;
  }

  .rosemary-page .gc-goal-card {
    min-height: auto;
  }

  .rosemary-page .gc-concepts-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .rosemary-page .gc-concepts-heading > p {
    max-width: 620px;
  }
}

/* =========================================================
   TABLET PORTRAIT
========================================================= */

@media (max-width: 820px) {
  .rosemary-page .goals-concepts-section {
    margin-top: 18px;
    padding: 52px 36px;
    border-radius: 26px;
  }

  .rosemary-page .gc-title {
    font-size: clamp(2.15rem, 6vw, 3.1rem);
  }

  .rosemary-page .gc-goals-area {
    padding: 28px;
  }

  .rosemary-page .gc-concepts-grid {
    grid-template-columns: 1fr;
  }

  .rosemary-page .gc-concept-card {
    min-height: auto;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {
  .rosemary-page .goals-concepts-section {
    margin-top: 16px;
    padding: 36px 20px 42px;
    border-radius: 22px;
  }

  .rosemary-page .gc-header {
    margin-bottom: 32px;
  }

  .rosemary-page .gc-kicker {
    margin-bottom: 14px;
    font-size: 0.67rem;
  }

  .rosemary-page .gc-title {
    font-size: 2.12rem;
    line-height: 1.1;
  }

  .rosemary-page .gc-intro {
    font-size: 0.91rem;
    line-height: 1.72;
  }

  .rosemary-page .gc-goals-area {
    padding: 20px;
    border-radius: 20px;
  }

  .rosemary-page .gc-area-label {
    gap: 10px;
  }

  .rosemary-page .gc-area-label > span {
    flex-basis: 31px;
    width: 31px;
    height: 31px;
    border-radius: 10px;
    font-size: 0.67rem;
  }

  .rosemary-page .gc-area-label h3 {
    font-size: 0.98rem;
  }

  .rosemary-page .gc-goals-grid {
    gap: 10px;
    margin-top: 22px;
  }

  .rosemary-page .gc-goal-card {
    padding: 18px;
    border-radius: 15px;
  }

  .rosemary-page .gc-goal-number {
    margin-bottom: 13px;
  }

  .rosemary-page .gc-goal-card h4 {
    font-size: 0.94rem;
  }

  .rosemary-page .gc-goal-card p {
    font-size: 0.8rem;
    line-height: 1.55;
  }

  .rosemary-page .gc-concepts-area {
    margin-top: 34px;
  }

  .rosemary-page .gc-concepts-heading {
    margin-bottom: 18px;
  }

  .rosemary-page .gc-concepts-heading > p {
    font-size: 0.84rem;
    line-height: 1.6;
  }

  .rosemary-page .gc-concepts-grid {
    gap: 10px;
  }

  .rosemary-page .gc-concept-card {
    gap: 12px;
    padding: 18px;
    border-radius: 17px;
  }

  .rosemary-page .gc-concept-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 0.9rem;
  }

  .rosemary-page .gc-concept-card h4 {
    font-size: 0.94rem;
  }

  .rosemary-page .gc-concept-card p {
    font-size: 0.8rem;
    line-height: 1.55;
  }
}

/* =========================================================
   ARCHITECTURE DEEP DIVE
========================================================= */

.content-container.rosemary-page > .architecture-deep-dive-section {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.rosemary-page .architecture-deep-dive-section {
  width: 100%;
  margin-top: 22px;
  padding: clamp(54px, 6vw, 88px);
  box-sizing: border-box;

  border: 1px solid #e2ece4;
  border-radius: 30px;

  background: #ffffff
}

/* =========================================================
   SECTION HEADER
========================================================= */

.rosemary-page .add-header {
  margin-bottom: clamp(34px, 4vw, 52px);
}

.rosemary-page .add-title {
  max-width: 780px;
}

.rosemary-page .add-intro {
  max-width: 460px;
  margin: 0 0 3px;
}

/* =========================================================
   STAGE NAVIGATION
========================================================= */

.rosemary-page .add-stage-nav {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;

  margin-bottom: 18px;
}

.rosemary-page .add-stage-btn {
  display: flex;
  align-items: center;
  gap: 10px;

  min-width: 0;
  padding: 14px 12px;

  border: 1px solid #dfe9e1;
  border-radius: 16px;

  color: #526257;
  background: rgba(255, 255, 255, 0.7);

  cursor: pointer;
  text-align: left;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.rosemary-page .add-stage-btn:hover {
  transform: translateY(-2px);
  border-color: #c7dfce;
  background: #fbfefb;
}

.rosemary-page .add-stage-btn.is-active {
  border-color: #2f855a;
  color: #ffffff;
  background: #2f855a;
  box-shadow: 0 12px 22px rgba(47, 133, 90, 0.18);
}

.rosemary-page .add-stage-number {
  display: grid;
  flex: 0 0 30px;

  width: 30px;
  height: 30px;
  place-items: center;

  border-radius: 10px;

  color: #2f855a;
  background: #e8f6ec;

  font-size: 0.68rem;
  font-weight: 850;
}

.rosemary-page .add-stage-btn.is-active .add-stage-number {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
}

.rosemary-page .add-stage-copy {
  display: block;
  min-width: 0;
}

.rosemary-page .add-stage-copy strong,
.rosemary-page .add-stage-copy small {
  display: block;
}

.rosemary-page .add-stage-copy strong {
  overflow: hidden;

  font-size: 0.78rem;
  line-height: 1.15;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rosemary-page .add-stage-copy small {
  margin-top: 3px;

  color: #819087;
  font-size: 0.64rem;
  line-height: 1.2;
}

.rosemary-page .add-stage-btn.is-active .add-stage-copy small {
  color: rgba(255, 255, 255, 0.8);
}

/* =========================================================
   DETAIL PANEL
========================================================= */

.rosemary-page .add-detail-wrap {
  min-height: 365px;
}

.rosemary-page .add-detail-panel {
  display: none;
  min-width: 0;
  padding: clamp(26px, 3.2vw, 38px);
  box-sizing: border-box;

  border: 1px solid #d9e9dc;
  border-radius: 24px;

  background: #ffffff
}

.rosemary-page .add-detail-panel.is-active {
  display: block;
  animation: add-panel-fade 0.24s ease;
}

.rosemary-page .add-detail-panel[hidden] {
  display: none;
}

@keyframes add-panel-fade {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rosemary-page .add-detail-lead {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;

  max-width: 820px;
}

.rosemary-page .add-detail-index {
  display: grid;
  flex: 0 0 48px;

  width: 48px;
  height: 48px;
  place-items: center;

  border-radius: 14px;

  color: #ffffff;
  background: #2f855a;

  font-size: 0.9rem;
  font-weight: 850;
}

.rosemary-page .add-detail-label {
  display: block;
  margin: 2px 0 7px;

  color: #39825a;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.rosemary-page .add-detail-lead h3 {
  margin: 0 0 10px;

  color: #26382c;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  line-height: 1.16;
  letter-spacing: -0.035em;
  font-weight: 850;
}

.rosemary-page .add-detail-lead p {
  max-width: 720px;
  margin: 0;

  color: #647367;
  font-size: 0.95rem;
  line-height: 1.75;
}

/* =========================================================
   TECHNICAL SUMMARY BLOCKS
========================================================= */

.rosemary-page .add-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;

  margin-top: 30px;
}

.rosemary-page .add-detail-block {
  min-width: 0;
  padding: 18px;
  box-sizing: border-box;

  border: 1px solid #dfeae1;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.78);
}

.rosemary-page .add-detail-block span {
  display: block;
  margin-bottom: 8px;

  color: #378056;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.rosemary-page .add-detail-block p {
  margin: 0;

  color: #6f7e73;
  font-size: 0.83rem;
  line-height: 1.6;
}

.rosemary-page .add-engineering-note {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 16px;

  margin-top: 18px;
  padding: 18px 20px;

  border: 1px solid #d3e8d8;
  border-radius: 17px;
  background: #eaf7ee;
}

.rosemary-page .add-engineering-note span {
  color: #2c7950;

  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rosemary-page .add-engineering-note p {
  margin: 0;

  color: #52715d;
  font-size: 0.87rem;
  line-height: 1.6;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1080px) {
  .rosemary-page .add-stage-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rosemary-page .add-detail-grid {
    grid-template-columns: 1fr;
  }

  .rosemary-page .add-detail-wrap {
    min-height: 0;
  }
}

@media (max-width: 820px) {
  .rosemary-page .architecture-deep-dive-section {
    margin-top: 18px;
    padding: 52px 36px;
    border-radius: 26px;
  }

  .rosemary-page .add-title {
    font-size: clamp(2.15rem, 6vw, 3.1rem);
  }

  .rosemary-page .add-stage-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rosemary-page .add-engineering-note {
    grid-template-columns: 1fr;
    gap: 7px;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {
  .rosemary-page .architecture-deep-dive-section {
    margin-top: 16px;
    padding: 36px 20px 42px;
    border-radius: 22px;
  }

  .rosemary-page .add-header {
    margin-bottom: 30px;
  }

  .rosemary-page .add-kicker {
    margin-bottom: 14px;
    font-size: 0.67rem;
  }

  .rosemary-page .add-title {
    font-size: 2.12rem;
    line-height: 1.1;
  }

  .rosemary-page .add-intro {
    font-size: 0.91rem;
    line-height: 1.72;
  }

  .rosemary-page .add-stage-nav {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .rosemary-page .add-stage-btn {
    padding: 12px;
    border-radius: 14px;
  }

  .rosemary-page .add-stage-copy strong {
    font-size: 0.8rem;
  }

  .rosemary-page .add-stage-copy small {
    font-size: 0.66rem;
  }

  .rosemary-page .add-detail-panel {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .rosemary-page .add-detail-lead {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
  }

  .rosemary-page .add-detail-index {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    font-size: 0.75rem;
  }

  .rosemary-page .add-detail-lead h3 {
    font-size: 1.42rem;
  }

  .rosemary-page .add-detail-lead p {
    font-size: 0.88rem;
    line-height: 1.68;
  }

  .rosemary-page .add-detail-grid {
    gap: 10px;
    margin-top: 24px;
  }

  .rosemary-page .add-detail-block {
    padding: 16px;
    border-radius: 15px;
  }

  .rosemary-page .add-detail-block p {
    font-size: 0.8rem;
    line-height: 1.55;
  }

  .rosemary-page .add-engineering-note {
    margin-top: 12px;
    padding: 16px;
    border-radius: 15px;
  }

  .rosemary-page .add-engineering-note p {
    font-size: 0.82rem;
    line-height: 1.55;
  }
}

@media (max-width: 640px) {
  .rosemary-page .add-stage-nav {
    display: none;
  }
}

/* =========================================================
   ENGINEERING DECISIONS + RESEARCH VALUE + STACK
========================================================= */

.content-container.rosemary-page > .decisions-value-section {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.rosemary-page .decisions-value-section {
  width: 100%;
  margin: 0;
  padding: clamp(54px, 6vw, 88px);
  box-sizing: border-box;

  border: 0;
  border-radius: 0 0 32px 32px;

  background: #ffffff
}

/* =========================================================
   HEADER
========================================================= */

.rosemary-page .dv-header {
  margin-bottom: clamp(36px, 4vw, 54px);
}

.rosemary-page .dv-title {
  max-width: 800px;
}

.rosemary-page .dv-intro {
  max-width: 470px;
  margin: 0 0 3px;
}

/* =========================================================
   SHARED SECTION LABEL
========================================================= */

.rosemary-page .dv-section-index {
  display: grid;
  flex: 0 0 34px;

  width: 34px;
  height: 34px;
  place-items: center;

  border-radius: 11px;

  color: #2f855a;
  background: #e6f5ea;

  font-size: 0.72rem;
  font-weight: 850;
}

.rosemary-page .dv-section-label {
  display: block;
  margin: 1px 0 4px;

  color: #43855e;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* =========================================================
   ENGINEERING EXPLORER
========================================================= */

.rosemary-page .dv-explorer {
  padding: clamp(24px, 3vw, 34px);
  box-sizing: border-box;

  border: 1px solid #d8e9dc;
  border-radius: 24px;

  background:
    radial-gradient(
      circle at top right,
      rgba(207, 240, 216, 0.45),
      transparent 30%
    ),
    #f4faf5;
}

.rosemary-page .dv-explorer-intro {
  display: flex;
  align-items: flex-start;
  gap: 12px;

  margin-bottom: 26px;
}

.rosemary-page .dv-explorer-intro h3,
.rosemary-page .dv-bottom-heading h3 {
  margin: 0;

  color: #2b3d30;
  font-size: 1.08rem;
  line-height: 1.25;
  font-weight: 850;
}

.rosemary-page .dv-explorer-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 16px;
  align-items: stretch;
}

.rosemary-page .dv-decision-list {
  display: grid;
  gap: 10px;
}

.rosemary-page .dv-decision-btn {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;

  width: 100%;
  min-width: 0;
  padding: 15px 14px;

  border: 1px solid #dce9de;
  border-radius: 17px;

  color: #4e6153;
  background: rgba(255, 255, 255, 0.74);

  cursor: pointer;
  text-align: left;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.rosemary-page .dv-decision-btn:hover {
  transform: translateY(-2px);
  border-color: #c6dfcd;
  background: #ffffff;
}

.rosemary-page .dv-decision-btn.is-active {
  border-color: #2f855a;
  color: #ffffff;
  background: #2f855a;
  box-shadow: 0 12px 22px rgba(47, 133, 90, 0.16);
}

.rosemary-page .dv-decision-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;

  border-radius: 10px;

  color: #2f855a;
  background: #e8f6ec;

  font-size: 0.69rem;
  font-weight: 850;
}

.rosemary-page .dv-decision-btn.is-active .dv-decision-number {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
}

.rosemary-page .dv-decision-copy {
  min-width: 0;
}

.rosemary-page .dv-decision-copy strong,
.rosemary-page .dv-decision-copy small {
  display: block;
}

.rosemary-page .dv-decision-copy strong {
  overflow: hidden;

  font-size: 0.82rem;
  line-height: 1.24;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rosemary-page .dv-decision-copy small {
  margin-top: 4px;

  color: #7e8d82;
  font-size: 0.68rem;
  line-height: 1.28;
}

.rosemary-page .dv-decision-btn.is-active .dv-decision-copy small {
  color: rgba(255, 255, 255, 0.78);
}

.rosemary-page .dv-decision-arrow {
  color: #7c8f81;
  font-size: 1rem;
  font-weight: 850;
}

.rosemary-page .dv-decision-btn.is-active .dv-decision-arrow {
  color: #ffffff;
}

/* =========================================================
   DETAIL PANEL
========================================================= */

.rosemary-page .dv-detail-wrap {
  min-width: 0;
}

.rosemary-page .dv-detail-panel {
  display: none;

  min-width: 0;
  min-height: 100%;
  padding: clamp(24px, 3vw, 34px);
  box-sizing: border-box;

  border: 1px solid #dce9de;
  border-radius: 20px;

  background:
    radial-gradient(
      circle at top right,
      rgba(216, 244, 224, 0.52),
      transparent 30%
    ),
    #ffffff;
}

.rosemary-page .dv-detail-panel.is-active {
  display: block;
  animation: dv-panel-fade 0.24s ease;
}

.rosemary-page .dv-detail-panel[hidden] {
  display: none;
}

@keyframes dv-panel-fade {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rosemary-page .dv-panel-label {
  display: block;
  margin-bottom: 10px;

  color: #39825a;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rosemary-page .dv-detail-panel h3 {
  max-width: 680px;
  margin: 0;

  color: #26382c;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  font-weight: 850;
}

.rosemary-page .dv-panel-summary {
  max-width: 690px;
  margin: 14px 0 0;

  color: #66756a;
  font-size: 0.93rem;
  line-height: 1.72;
}

.rosemary-page .dv-fact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;

  margin-top: 26px;
}

.rosemary-page .dv-fact-grid > div {
  min-width: 0;
  padding: 17px;
  box-sizing: border-box;

  border: 1px solid #e0ebe2;
  border-radius: 16px;
  background: #fbfefb;
}

.rosemary-page .dv-fact-grid span {
  display: block;
  margin-bottom: 8px;

  color: #39825a;
  font-size: 0.67rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.rosemary-page .dv-fact-grid p {
  margin: 0;

  color: #6f7e73;
  font-size: 0.8rem;
  line-height: 1.58;
}

/* =========================================================
   BOTTOM PANELS
========================================================= */

.rosemary-page .dv-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;

  margin-top: 18px;
}

.rosemary-page .dv-contributions-card,
.rosemary-page .dv-stack-card {
  min-width: 0;
  padding: clamp(24px, 3vw, 32px);
  box-sizing: border-box;

  border: 1px solid #dfe9e1;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
}

.rosemary-page .dv-contributions-card {
  background:
    radial-gradient(
      circle at top right,
      rgba(218, 244, 226, 0.48),
      transparent 34%
    ),
    #f9fdf9;
}

.rosemary-page .dv-bottom-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;

  margin-bottom: 22px;
}

.rosemary-page .dv-contribution-list {
  display: grid;
  gap: 14px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.rosemary-page .dv-contribution-list li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
}

.rosemary-page .dv-contribution-list li > span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;

  border-radius: 9px;

  color: #2f855a;
  background: #e8f6ec;

  font-size: 0.64rem;
  font-weight: 850;
}

.rosemary-page .dv-contribution-list p {
  margin: 3px 0 0;

  color: #69786d;
  font-size: 0.84rem;
  line-height: 1.58;
}

/* =========================================================
   STACK
========================================================= */

.rosemary-page .dv-stack-groups {
  display: grid;
  gap: 16px;
}

.rosemary-page .dv-stack-group {
  padding-top: 16px;
  border-top: 1px solid #e2ece4;
}

.rosemary-page .dv-stack-group:first-child {
  padding-top: 0;
  border-top: 0;
}

.rosemary-page .dv-stack-label {
  display: block;
  margin-bottom: 10px;

  color: #77867a;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.rosemary-page .dv-stack-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rosemary-page .dv-stack-badges span {
  display: inline-flex;
  align-items: center;

  min-height: 30px;
  padding: 0 10px;

  border: 1px solid #d9e9dc;
  border-radius: 999px;

  color: #3d6f50;
  background: #f1f9f3;

  font-size: 0.73rem;
  font-weight: 800;
}

.dv-sr-only {
  position: absolute;

  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;

  clip: rect(0, 0, 0, 0);
  white-space: nowrap;

  border: 0;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1080px) {
  .rosemary-page .dv-explorer-layout {
    grid-template-columns: 1fr;
  }

  .rosemary-page .dv-decision-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rosemary-page .dv-fact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .rosemary-page .decisions-value-section {
    padding: 52px 36px;
    border-radius: 0 0 26px 26px;
  }

  .rosemary-page .dv-title {
    font-size: clamp(2.15rem, 6vw, 3.1rem);
  }

  .rosemary-page .dv-bottom-grid {
    grid-template-columns: 1fr;
  }

  .rosemary-page .dv-decision-list {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {
  .rosemary-page .decisions-value-section {
    padding: 36px 20px 42px;
    border-radius: 0 0 22px 22px;
  }

  .rosemary-page .dv-header {
    margin-bottom: 30px;
  }

  .rosemary-page .dv-kicker {
    margin-bottom: 14px;
    font-size: 0.67rem;
  }

  .rosemary-page .dv-title {
    font-size: 2.12rem;
    line-height: 1.1;
  }

  .rosemary-page .dv-intro {
    font-size: 0.91rem;
    line-height: 1.72;
  }

  .rosemary-page .dv-explorer {
    padding: 20px;
    border-radius: 20px;
  }

  .rosemary-page .dv-explorer-intro {
    margin-bottom: 20px;
  }

  .rosemary-page .dv-explorer-intro h3,
  .rosemary-page .dv-bottom-heading h3 {
    font-size: 0.98rem;
  }

  /* Hide desktop decision list */
  .rosemary-page .dv-decision-list {
    display: none;
  }

  .rosemary-page .dv-detail-panel {
    padding: 20px 18px;
    border-radius: 18px;
  }

  .rosemary-page .dv-detail-panel h3 {
    font-size: 1.35rem;
  }

  .rosemary-page .dv-panel-summary {
    font-size: 0.87rem;
    line-height: 1.65;
  }

  .rosemary-page .dv-fact-grid {
    gap: 10px;
    margin-top: 22px;
  }

  .rosemary-page .dv-fact-grid > div {
    padding: 15px;
    border-radius: 14px;
  }

  .rosemary-page .dv-fact-grid p {
    font-size: 0.78rem;
    line-height: 1.55;
  }

  .rosemary-page .dv-bottom-grid {
    gap: 12px;
    margin-top: 14px;
  }

  .rosemary-page .dv-contributions-card,
  .rosemary-page .dv-stack-card {
    padding: 20px;
    border-radius: 19px;
  }

  .rosemary-page .dv-bottom-heading {
    margin-bottom: 18px;
  }

  .rosemary-page .dv-contribution-list {
    gap: 12px;
  }

  .rosemary-page .dv-contribution-list p {
    font-size: 0.8rem;
    line-height: 1.55;
  }

  .rosemary-page .dv-stack-group {
    padding-top: 14px;
  }

  .rosemary-page .dv-stack-badges {
    gap: 7px;
  }

  .rosemary-page .dv-stack-badges span {
    min-height: 28px;
    padding: 0 9px;
    font-size: 0.69rem;
  }
}

/* =========================================================
   LIVE EXAMPLES — FINAL SECTION
========================================================= */

.content-container.rosemary-page > .live-examples-section {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.rosemary-page .live-examples-section {
  width: 100%;
  margin: 0;
  padding: clamp(54px, 6vw, 88px);
  box-sizing: border-box;

  border: 0;
  border-radius: 0 0 32px 32px;

  background: #ffffff
}

/* =========================================================
   HEADER
========================================================= */

.rosemary-page .le-header {
  margin-bottom: clamp(36px, 4vw, 52px);
}

.rosemary-page .le-title {
  max-width: 800px;
}

.rosemary-page .le-intro {
  max-width: 470px;
  margin: 0 0 3px;
}

/* =========================================================
   DESKTOP TABS
========================================================= */

.rosemary-page .le-example-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;

  margin-bottom: 18px;
}

.rosemary-page .le-tab {
  display: flex;
  align-items: center;
  gap: 10px;

  min-width: 0;
  padding: 14px 12px;

  border: 1px solid #dfe9e1;
  border-radius: 16px;

  color: #4f6155;
  background: rgba(255, 255, 255, 0.72);

  cursor: pointer;
  text-align: left;

  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.rosemary-page .le-tab:hover {
  transform: translateY(-2px);
  border-color: #c7dfce;
  background: #ffffff;
}

.rosemary-page .le-tab.is-active {
  border-color: #2f855a;
  color: #ffffff;
  background: #2f855a;
  box-shadow: 0 12px 22px rgba(47, 133, 90, 0.16);
}

.rosemary-page .le-tab-number {
  display: grid;
  flex: 0 0 30px;

  width: 30px;
  height: 30px;
  place-items: center;

  border-radius: 10px;

  color: #2f855a;
  background: #e8f6ec;

  font-size: 0.68rem;
  font-weight: 850;
}

.rosemary-page .le-tab.is-active .le-tab-number {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
}

.rosemary-page .le-tab strong,
.rosemary-page .le-tab small {
  display: block;
}

.rosemary-page .le-tab strong {
  overflow: hidden;

  font-size: 0.79rem;
  line-height: 1.18;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rosemary-page .le-tab small {
  margin-top: 3px;

  color: #809085;
  font-size: 0.64rem;
  line-height: 1.2;
}

.rosemary-page .le-tab.is-active small {
  color: rgba(255, 255, 255, 0.8);
}

/* =========================================================
   EXAMPLE DETAIL PANEL
========================================================= */

.rosemary-page .le-detail-wrap {
  min-width: 0;
}

.rosemary-page .le-panel {
  display: none;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(22px, 4vw, 50px);

  min-width: 0;
  padding: clamp(26px, 3.2vw, 38px);
  box-sizing: border-box;

  border: 1px solid #d8e9dc;
  border-radius: 24px;

  background:
    radial-gradient(
      circle at top right,
      rgba(207, 240, 216, 0.48),
      transparent 28%
    ),
    linear-gradient(145deg, #f4faf5 0%, #ffffff 100%);
}

.rosemary-page .le-panel.is-active {
  display: grid;
  animation: le-panel-fade 0.24s ease;
}

.rosemary-page .le-panel[hidden] {
  display: none;
}

@keyframes le-panel-fade {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.rosemary-page .le-chat-column,
.rosemary-page .le-trace-column {
  min-width: 0;
}

.rosemary-page .le-panel-label {
  display: block;
  margin-bottom: 14px;

  color: #39825a;
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* =========================================================
   CHAT MOCKUP
========================================================= */

.rosemary-page .le-chat-bubble {
  max-width: 100%;
  padding: 18px;
  box-sizing: border-box;

  border-radius: 18px;
}

.rosemary-page .le-user-bubble {
  margin-bottom: 14px;

  border: 1px solid #dce9de;
  border-top-left-radius: 6px;

  background: #ffffff;
}

.rosemary-page .le-rosemary-bubble {
  border: 1px solid #cfe5d5;
  border-top-right-radius: 6px;

  background:
    radial-gradient(
      circle at top right,
      rgba(205, 239, 214, 0.45),
      transparent 45%
    ),
    #eaf7ee;
}

.rosemary-page .le-rosemary-bubble-muted {
  border-color: #dce7df;
  background: #f2f7f3;
}

.rosemary-page .le-message-label,
.rosemary-page .le-rosemary-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  margin-bottom: 10px;

  color: #718075;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rosemary-page .le-rosemary-label {
  color: #2f855a;
}

.rosemary-page .le-rosemary-dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;
  background: #35a865;
  box-shadow: 0 0 0 4px rgba(53, 168, 101, 0.12);
}

.rosemary-page .le-chat-bubble p {
  margin: 0;

  color: #2f3e33;
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  line-height: 1.55;
  font-weight: 700;
}

.rosemary-page .le-rosemary-bubble p {
  color: #2a7049;
}

.rosemary-page .le-response-note {
  margin: 14px 2px 0;

  color: #7a887c;
  font-size: 0.8rem;
  font-style: italic;
  line-height: 1.55;
}

/* =========================================================
   SYSTEM TRACE
========================================================= */

.rosemary-page .le-path {
  padding: 4px 0 0;
}

.rosemary-page .le-path-step {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: center;

  min-width: 0;
  padding: 14px;

  border: 1px solid #dfeae1;
  border-radius: 16px;

  background: rgba(255, 255, 255, 0.72);
}

.rosemary-page .le-path-step > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;

  border-radius: 10px;

  color: #2f855a;
  background: #e8f6ec;

  font-size: 0.68rem;
  font-weight: 850;
}

.rosemary-page .le-path-step strong,
.rosemary-page .le-path-step small {
  display: block;
}

.rosemary-page .le-path-step strong {
  color: #304035;
  font-size: 0.84rem;
  line-height: 1.2;
  font-weight: 850;
}

.rosemary-page .le-path-step small {
  margin-top: 4px;

  color: #7a887c;
  font-size: 0.7rem;
  line-height: 1.35;
}

.rosemary-page .le-path-step.is-highlight {
  border-color: #2f855a;
  background: #2f855a;
  box-shadow: 0 10px 18px rgba(47, 133, 90, 0.15);
}

.rosemary-page .le-path-step.is-highlight > span {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
}

.rosemary-page .le-path-step.is-highlight strong,
.rosemary-page .le-path-step.is-highlight small {
  color: #ffffff;
}

.rosemary-page .le-path-step.is-highlight small {
  opacity: 0.82;
}

.rosemary-page .le-path-step.is-muted {
  opacity: 0.54;
}

.rosemary-page .le-path-line {
  width: 2px;
  height: 14px;
  margin: 0 auto;

  background: linear-gradient(#b9d8c0, #7bb28b);
}

.rosemary-page .le-path-line.is-muted {
  opacity: 0.42;
}

.rosemary-page .le-insight {
  margin-top: 18px;
  padding: 17px 18px;

  border: 1px solid #d2e8d8;
  border-radius: 16px;

  background: #eaf7ee;
}

.rosemary-page .le-insight span {
  display: block;
  margin-bottom: 7px;

  color: #2d7850;
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.rosemary-page .le-insight p {
  margin: 0;

  color: #57715f;
  font-size: 0.84rem;
  line-height: 1.6;
}

/* =========================================================
   MOBILE SELECT
========================================================= */

@media (max-width: 1080px) {
  .rosemary-page .le-example-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rosemary-page .le-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 820px) {
  .rosemary-page .live-examples-section {
    padding: 52px 36px;
    border-radius: 0 0 26px 26px;
  }

  .rosemary-page .le-title {
    font-size: clamp(2.15rem, 6vw, 3.1rem);
  }

}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {
  .rosemary-page .live-examples-section {
    padding: 36px 20px 42px;
    border-radius: 0 0 22px 22px;
  }

  .rosemary-page .le-header {
    margin-bottom: 30px;
  }

  .rosemary-page .le-kicker {
    margin-bottom: 14px;
    font-size: 0.67rem;
  }

  .rosemary-page .le-title {
    font-size: 2.12rem;
    line-height: 1.1;
  }

  .rosemary-page .le-intro {
    font-size: 0.91rem;
    line-height: 1.72;
  }

  /* Hide tabs on mobile */
  .rosemary-page .le-example-tabs {
    display: none;
  }

  .rosemary-page .le-panel {
    gap: 24px;
    padding: 20px 18px;
    border-radius: 20px;
  }

  .rosemary-page .le-chat-bubble {
    padding: 16px;
    border-radius: 15px;
  }

  .rosemary-page .le-chat-bubble p {
    font-size: 0.96rem;
    line-height: 1.52;
  }

  .rosemary-page .le-response-note {
    font-size: 0.76rem;
  }

  .rosemary-page .le-path-step {
    grid-template-columns: 33px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
  }

  .rosemary-page .le-path-step > span {
    width: 31px;
    height: 31px;
    border-radius: 9px;
    font-size: 0.64rem;
  }

  .rosemary-page .le-path-step strong {
    font-size: 0.79rem;
  }

  .rosemary-page .le-path-step small {
    font-size: 0.65rem;
  }

  .rosemary-page .le-insight {
    margin-top: 14px;
    padding: 15px;
    border-radius: 14px;
  }

  .rosemary-page .le-insight p {
    font-size: 0.79rem;
    line-height: 1.55;
  }

}

/* =========================================================
   MUST IN THE END OF CSS
========================================================= */

/* =========================================================
   ROSEMARY CONNECTED PAGE CANVAS
========================================================= */

.content-container.rosemary-page {
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 0 !important;
}

/* Semua section Rosemary selalu mengambil satu baris penuh */
.content-container.rosemary-page > section {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* =========================================================
   CONNECTED SECTION FLOW
   Hero → Why → Goals → Architecture
========================================================= */

/* HERO: hanya rounded di bagian atas */
.rosemary-page .hero-section {
  margin: 0 !important;
  border-bottom: 0 !important;
  border-radius: 32px 32px 0 0 !important;
}

/* WHY: panel tengah, tanpa radius dan tanpa border pemisah */
.rosemary-page .why-rosemary-section {
  margin: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* GOALS: juga panel tengah */
.rosemary-page .goals-concepts-section {
  margin: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Architecture sekarang menjadi panel tengah */
.rosemary-page .architecture-deep-dive-section {
  margin: 0 !important;
  border-radius: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
}

/* Decisions sekarang menjadi panel tengah */
.rosemary-page .decisions-value-section {
  margin: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Live Examples menjadi penutup canvas */
.rosemary-page .live-examples-section {
  margin: 0 !important;
  border-top: 0 !important;
  border-radius: 0 0 32px 32px !important;
  box-shadow: none !important;
}

/* Rapikan jarak antar section saat panel sudah dibuat menyatu */
.rosemary-page .why-rosemary-section,
.rosemary-page .goals-concepts-section,
.rosemary-page .architecture-deep-dive-section,
.rosemary-page .decisions-value-section,
.rosemary-page .live-examples-section {
  padding-top: clamp(36px, 4vw, 56px);
}

@media (max-width: 820px) {
  .rosemary-page .hero-section {
    border-radius: 26px 26px 0 0 !important;
  }

  .rosemary-page .why-rosemary-section,
  .rosemary-page .goals-concepts-section,
  .rosemary-page .architecture-deep-dive-section,
  .rosemary-page .decisions-value-section {
    border-radius: 0 !important;
  }

  .rosemary-page .live-examples-section {
    border-radius: 0 0 26px 26px !important;
  }
}

@media (max-width: 640px) {
  .rosemary-page .hero-section {
    border-radius: 22px 22px 0 0 !important;
  }

  .rosemary-page .why-rosemary-section,
  .rosemary-page .goals-concepts-section,
  .rosemary-page .architecture-deep-dive-section,
  .rosemary-page .decisions-value-section {
    margin: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    border-radius: 0 !important;
  }

  .rosemary-page .live-examples-section {
    margin: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
    border-radius: 0 0 22px 22px !important;
  }
}

/* Hilangkan pseudo-element yang bisa membuat garis/divider */
.rosemary-page .hero-section::before,
.rosemary-page .hero-section::after,
.rosemary-page .why-rosemary-section::before,
.rosemary-page .why-rosemary-section::after,
.rosemary-page .goals-concepts-section::before,
.rosemary-page .goals-concepts-section::after,
.rosemary-page .architecture-deep-dive-section::before,
.rosemary-page .architecture-deep-dive-section::after,
.rosemary-page .decisions-value-section::before,
.rosemary-page .decisions-value-section::after,
.rosemary-page .live-examples-section::before,
.rosemary-page .live-examples-section::after {
  border: 0 !important;
}


