:root {
  --paper: #fbf8f1;
  --paper-deep: #f1ebe2;
  --cream: #f7f1e8;
  --rose: #eadadd;
  --sand: #e9dfd2;
  --ink: #211b1c;
  --muted: #675d5d;
  --wine: #71354d;
  --wine-dark: #522238;
  --line: rgba(65, 45, 50, 0.16);
  --soft-line: rgba(65, 45, 50, 0.1);
  --white: #fffdf9;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --script: "Segoe Script", "Bradley Hand", cursive;
  --max: 1180px;
  --shadow: 0 18px 55px rgba(62, 42, 46, 0.12);
}

/* Profile review and pending changes page */
.pr-section {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
  padding-block: 74px;
}

.pr-section-heading {
  max-width: 820px;
  margin-bottom: 38px;
}

.pr-section-heading > p:last-child,
.pr-faq-intro > p:last-child {
  color: var(--muted);
}

.pr-hero {
  width: min(calc(100% - 48px), 1320px);
  min-height: 590px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(350px, 0.88fr);
  overflow: hidden;
  background: linear-gradient(125deg, var(--paper-deep), #f8f3eb 72%);
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(62, 42, 46, 0.09);
}

.pr-hero-copy {
  padding: clamp(42px, 4vw, 66px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pr-hero-copy h1 {
  max-width: 760px;
  color: var(--wine-dark);
  font-size: clamp(2.3rem, 3.25vw, 3.4rem);
  line-height: 1.07;
  text-wrap: pretty;
}

.pr-hero-lede {
  max-width: 690px;
  color: #463d3e;
  font-size: 1.02rem;
  line-height: 1.72;
}

.pr-answer-note {
  max-width: 670px;
  margin: 8px 0 0;
  padding: 15px 0 15px 19px;
  color: var(--muted);
  border-left: 2px solid var(--wine);
  font-size: 0.88rem;
}

.pr-answer-note strong {
  color: var(--wine-dark);
}

.pr-hero-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.pr-text-link,
.pr-final-actions > a:last-child,
.pr-boundary-grid a {
  color: var(--wine-dark);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.pr-text-link::after,
.pr-final-actions > a:last-child::after {
  content: " \2192";
}

.pr-hero-media {
  min-height: 590px;
  background: #ddd2c8;
}

.pr-hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: 38% center;
}

.pr-lifecycle {
  border-bottom: 1px solid var(--line);
}

.pr-flow {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
  border-block: 1px solid var(--line);
}

.pr-flow li {
  position: relative;
  min-height: 205px;
  padding: 28px 23px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.pr-flow li + li {
  border-left: 1px solid var(--line);
}

.pr-flow li:not(:last-child)::after {
  content: "\2192";
  position: absolute;
  top: 42px;
  right: -13px;
  z-index: 1;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  color: var(--wine);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.pr-flow li:nth-child(3) {
  background: rgba(234, 218, 221, 0.38);
}

.pr-flow span {
  position: absolute;
  top: 25px;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 0.96rem;
}

.pr-flow strong {
  color: var(--wine-dark);
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 500;
}

.pr-flow small {
  margin-top: 9px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.pr-branch {
  margin-top: 22px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--muted);
  background: rgba(233, 223, 210, 0.48);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 0.86rem;
  text-align: center;
}

.pr-branch strong {
  color: var(--wine-dark);
}

.pr-ui-note {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.pr-save {
  padding: 78px max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
  align-items: center;
  background: var(--wine-dark);
  color: var(--white);
}

.pr-save .eyebrow {
  color: #e8c9d4;
}

.pr-save h2,
.pr-save strong {
  color: var(--white);
}

.pr-save-copy p:not(.eyebrow) {
  color: rgba(255, 253, 249, 0.78);
}

.pr-distinction {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: stretch;
}

.pr-distinction div {
  min-height: 165px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid rgba(255, 253, 249, 0.24);
  text-align: center;
}

.pr-distinction div:first-child {
  border-radius: 5px 0 0 5px;
}

.pr-distinction div:last-child {
  background: rgba(255, 253, 249, 0.1);
  border-radius: 0 5px 5px 0;
}

.pr-distinction strong {
  font-family: var(--serif);
  font-size: 1.18rem;
  font-weight: 500;
}

.pr-distinction span {
  margin-top: 10px;
  color: rgba(255, 253, 249, 0.7);
  font-size: 0.72rem;
  line-height: 1.45;
}

.pr-distinction b {
  width: 34px;
  display: grid;
  place-items: center;
  color: #e8c9d4;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
}

.pr-pending-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.pr-pending-grid article {
  min-height: 230px;
  padding: 30px 28px;
}

.pr-pending-grid article + article {
  border-left: 1px solid var(--line);
}

.pr-pending-grid p {
  color: var(--muted);
  font-size: 0.88rem;
}

.pr-old {
  padding: 74px max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 70px;
  background: linear-gradient(115deg, #eee3d6, #f8f2ea 78%);
  border-block: 1px solid rgba(113, 53, 77, 0.1);
}

.pr-old-intro {
  max-width: 490px;
}

.pr-checklist {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.pr-checklist li {
  padding: 20px 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  border-bottom: 1px solid var(--line);
}

.pr-checklist > li > span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--wine-dark);
  border: 1px solid rgba(113, 53, 77, 0.28);
  border-radius: 50%;
  font-family: var(--serif);
}

.pr-checklist p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.pr-compare {
  display: grid;
  grid-template-columns: 1fr 92px 1fr;
  align-items: stretch;
}

.pr-compare article {
  min-height: 300px;
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.pr-compare article > span {
  color: var(--wine);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pr-compare h3 {
  margin-top: 18px;
  font-size: 1.6rem;
}

.pr-compare p {
  color: var(--muted);
}

.pr-compare article > strong {
  color: var(--wine-dark);
  font-size: 0.83rem;
}

.pr-not-equal {
  display: grid;
  place-items: center;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 2rem;
}

.pr-photo-note {
  max-width: 760px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: center;
}

.pr-not-approved {
  padding: 72px max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 74px;
  background: var(--paper-deep);
  border-block: 1px solid var(--line);
}

.pr-not-approved > div:last-child {
  padding-left: 30px;
  border-left: 2px solid var(--wine);
}

.pr-not-approved > div:last-child p {
  color: var(--muted);
}

.pr-boundary-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-block: 1px solid var(--line);
}

.pr-boundary-grid article {
  min-height: 220px;
  padding: 32px;
}

.pr-boundary-grid article + article {
  border-left: 1px solid var(--line);
  background: rgba(234, 218, 221, 0.3);
}

.pr-boundary-grid p {
  color: var(--muted);
}

.pr-status {
  padding: 76px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--wine-dark);
  color: var(--white);
}

.pr-status-intro {
  max-width: 800px;
  margin-bottom: 38px;
}

.pr-status .eyebrow {
  color: #e8c9d4;
}

.pr-status h2,
.pr-status strong {
  color: var(--white);
}

.pr-status-intro > p:last-child {
  color: rgba(255, 253, 249, 0.72);
}

.pr-status-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-block: 1px solid rgba(255, 253, 249, 0.25);
}

.pr-status-grid article {
  min-height: 215px;
  padding: 29px;
}

.pr-status-grid article:nth-child(even) {
  border-left: 1px solid rgba(255, 253, 249, 0.25);
}

.pr-status-grid article:nth-child(n + 3) {
  border-top: 1px solid rgba(255, 253, 249, 0.25);
}

.pr-status-grid span {
  display: block;
  color: #e8c9d4;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pr-status-grid strong {
  margin-top: 18px;
  display: block;
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 500;
}

.pr-status-grid p {
  color: rgba(255, 253, 249, 0.72);
  font-size: 0.86rem;
}

.pr-support {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 72px;
  align-items: start;
}

.pr-support-card {
  padding: 34px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.pr-support-card p {
  color: var(--muted);
}

.pr-support-card .pr-support-address {
  padding: 14px 17px;
  color: var(--wine-dark);
  background: var(--rose);
  border-radius: 4px;
  overflow-wrap: anywhere;
}

.pr-faq {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 70px;
  border-top: 1px solid var(--line);
}

.pr-faq-intro {
  position: sticky;
  top: 110px;
  align-self: start;
}

.pr-faq-list {
  border-top: 1px solid var(--line);
}

.pr-faq-list details {
  border-bottom: 1px solid var(--line);
}

.pr-faq-list summary {
  padding: 23px 38px 23px 0;
  color: var(--wine-dark);
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 600;
}

.pr-faq-list p {
  max-width: 680px;
  margin-top: 0;
  padding: 0 28px 23px 0;
  color: var(--muted);
}

.pr-final {
  width: min(calc(100% - 48px), var(--max));
  margin: 20px auto 78px;
  padding: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  background: linear-gradient(120deg, var(--wine-dark), #71354d);
  border-radius: 8px;
  color: var(--white);
}

.pr-final > div:first-child {
  max-width: 740px;
}

.pr-final h2 {
  color: var(--white);
}

.pr-final p:not(.eyebrow) {
  margin-bottom: 0;
  color: rgba(255, 253, 249, 0.76);
}

.pr-final .eyebrow {
  color: #e8c9d4;
}

.pr-final-actions {
  min-width: 225px;
  display: grid;
  gap: 14px;
  text-align: center;
}

.pr-final-actions > a:last-child {
  color: var(--white);
}

@media (max-width: 980px) {
  .pr-hero {
    grid-template-columns: 1.18fr 0.82fr;
  }

  .pr-hero-copy {
    padding: 44px 32px;
  }

  .pr-save,
  .pr-old,
  .pr-not-approved,
  .pr-support {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .pr-distinction {
    max-width: 760px;
  }
}

@media (max-width: 780px) {
  .page-breadcrumb,
  .pr-section,
  .pr-hero,
  .pr-final {
    width: calc(100% - 32px);
  }

  .pr-section {
    padding-block: 56px;
  }

  .pr-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .pr-hero-copy {
    padding: 46px 24px 38px;
  }

  .pr-hero-copy h1 {
    font-size: clamp(2.1rem, 9vw, 2.85rem);
  }

  .pr-hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .pr-hero-media,
  .pr-hero-media img {
    min-height: 340px;
  }

  .pr-flow,
  .pr-pending-grid,
  .pr-boundary-grid,
  .pr-status-grid,
  .pr-faq {
    grid-template-columns: 1fr;
  }

  .pr-flow li {
    min-height: 140px;
  }

  .pr-flow li + li,
  .pr-pending-grid article + article,
  .pr-boundary-grid article + article,
  .pr-status-grid article:nth-child(even) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .pr-flow li:not(:last-child)::after {
    content: "\2193";
    top: auto;
    right: 24px;
    bottom: -13px;
  }

  .pr-branch,
  .pr-distinction {
    flex-direction: column;
  }

  .pr-branch {
    align-items: flex-start;
    text-align: left;
  }

  .pr-distinction {
    display: flex;
  }

  .pr-distinction div {
    min-height: 118px;
    border-radius: 5px !important;
  }

  .pr-distinction b {
    width: auto;
    height: 30px;
  }

  .pr-compare {
    grid-template-columns: 1fr;
  }

  .pr-not-equal {
    min-height: 62px;
  }

  .pr-old,
  .pr-save,
  .pr-not-approved,
  .pr-status {
    padding-block: 58px;
  }

  .pr-not-approved > div:last-child {
    padding: 22px 0 0;
    border-top: 2px solid var(--wine);
    border-left: 0;
  }

  .pr-boundary-grid article,
  .pr-status-grid article {
    min-height: 0;
    padding-inline: 0;
  }

  .pr-status-grid article:nth-child(even),
  .pr-status-grid article:nth-child(n + 3) {
    border-top-color: rgba(255, 253, 249, 0.25);
  }

  .pr-faq-intro {
    position: static;
  }

  .pr-final {
    margin-bottom: 58px;
    padding: 38px 24px;
    align-items: stretch;
    flex-direction: column;
  }

  .pr-final-actions {
    min-width: 0;
  }
}

/* Match availability troubleshooting page */
.ma-section {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
  padding-block: 72px;
}

.ma-section-heading {
  max-width: 820px;
  margin-bottom: 38px;
}

.ma-section-heading > p:last-child,
.ma-faq-intro > p:last-child {
  color: var(--muted);
}

.ma-hero {
  width: min(calc(100% - 48px), 1320px);
  min-height: 590px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  overflow: hidden;
  background: linear-gradient(125deg, var(--paper-deep), #f8f3eb 72%);
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(62, 42, 46, 0.09);
}

.ma-hero-copy {
  padding: clamp(42px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ma-hero-copy h1 {
  max-width: 760px;
  color: var(--wine-dark);
  font-size: clamp(2.25rem, 3.1vw, 3.25rem);
  line-height: 1.09;
  text-wrap: pretty;
}

.ma-hero-lede {
  max-width: 680px;
  color: #463d3e;
  font-size: 1.02rem;
  line-height: 1.72;
}

.ma-answer-note {
  max-width: 650px;
  margin: 8px 0 0;
  padding: 15px 0 15px 19px;
  color: var(--muted);
  border-left: 2px solid var(--wine);
  font-size: 0.88rem;
}

.ma-answer-note strong {
  color: var(--wine-dark);
}

.ma-hero-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.ma-text-link,
.ma-surface-grid a {
  color: var(--wine-dark);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.ma-text-link::after,
.ma-surface-grid a::after {
  content: " →";
}

.ma-hero-media {
  min-height: 590px;
}

.ma-hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
}

.ma-diagnostic {
  border-bottom: 1px solid var(--line);
}

.ma-state-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}

.ma-state-grid article {
  min-height: 245px;
  padding: 30px 25px;
}

.ma-state-grid article + article {
  border-left: 1px solid var(--line);
}

.ma-state-number {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1rem;
}

.ma-state-grid h3 {
  margin-top: 22px;
}

.ma-state-grid p {
  color: var(--muted);
  font-size: 0.88rem;
}

.ma-state-other {
  background: rgba(234, 218, 221, 0.38);
}

.ma-funnel {
  margin-top: 74px;
  padding: 72px max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 32px 70px;
  align-items: center;
  background: linear-gradient(110deg, #ede3d6, #f7f1e8 72%);
  border-block: 1px solid rgba(113, 53, 77, 0.11);
}

.ma-funnel-copy {
  max-width: 500px;
}

.ma-funnel-copy p:not(.eyebrow) {
  color: var(--muted);
}

.ma-funnel-steps {
  margin: 0;
  padding: 0;
  display: grid;
  list-style: none;
}

.ma-funnel-steps li {
  position: relative;
  min-height: 50px;
  margin-inline: auto;
  padding: 12px 24px;
  display: grid;
  place-items: center;
  color: var(--muted);
  background: rgba(255, 253, 249, 0.78);
  border: 1px solid var(--line);
  border-radius: 4px;
  text-align: center;
}

.ma-funnel-steps li:nth-child(1) { width: 100%; }
.ma-funnel-steps li:nth-child(2) { width: 92%; }
.ma-funnel-steps li:nth-child(3) { width: 84%; }
.ma-funnel-steps li:nth-child(4) { width: 76%; }
.ma-funnel-steps li:nth-child(5) { width: 68%; }
.ma-funnel-steps li:nth-child(6) { width: 60%; }
.ma-funnel-steps li:nth-child(7) { width: 52%; color: var(--white); background: var(--wine-dark); border-color: var(--wine-dark); }

.ma-funnel-steps li + li {
  margin-top: 14px;
}

.ma-funnel-steps li + li::before {
  content: "↓";
  position: absolute;
  top: -17px;
  color: var(--wine);
}

.ma-equation {
  grid-column: 1 / -1;
  margin-top: 12px;
  padding: 22px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 50px);
  color: var(--wine-dark);
  background: rgba(255, 253, 249, 0.62);
  border: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  text-align: center;
}

.ma-equation b {
  color: var(--wine);
  font-size: 2rem;
  font-weight: 400;
}

.ma-preferences {
  padding-bottom: 32px;
}

.ma-preference-grid {
  display: grid;
  grid-template-columns: 0.8fr 0.8fr 1.4fr;
  border: 1px solid var(--line);
}

.ma-preference-grid > * {
  padding: 34px;
}

.ma-preference-grid > * + * {
  border-left: 1px solid var(--line);
}

.ma-preference-grid article > span,
.ma-surface-grid article > span,
.ma-boundary-list article > span,
.ma-location-model article > span {
  color: var(--wine);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ma-preference-grid h3 {
  margin-top: 15px;
}

.ma-preference-grid p,
.ma-preference-grid li {
  color: var(--muted);
  font-size: 0.88rem;
}

.ma-preference-grid aside {
  background: #eee6dc;
}

.ma-preference-grid aside h3 {
  margin-top: 0;
}

.ma-preference-grid aside ol {
  padding-left: 20px;
}

.ma-repeat {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 70px;
  align-items: center;
}

.ma-repeat-copy p:not(.eyebrow) {
  color: var(--muted);
}

.ma-sort-model {
  padding: 34px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ma-sort-model > div:not(.ma-sort-symbol) > span {
  color: var(--wine);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ma-sort-model ol {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.ma-sort-model li {
  padding: 12px;
  color: var(--muted);
  background: var(--paper-deep);
  border: 1px solid var(--line);
}

.ma-sort-model li + li {
  margin-top: 8px;
}

.ma-sort-symbol {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.5rem;
}

.ma-sort-model > p {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding-top: 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  text-align: center;
}

.ma-sort-model > p strong {
  color: var(--wine-dark);
}

.ma-freshness {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 70px;
  border-block: 1px solid var(--line);
}

.ma-freshness > div:last-child {
  color: var(--muted);
  columns: 2;
  column-gap: 36px;
}

.ma-freshness > div:last-child p {
  break-inside: avoid;
}

.ma-location {
  padding: 72px max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 70px;
  align-items: center;
  color: var(--white);
  background: #38262d;
}

.ma-location .eyebrow {
  color: #d9aebe;
}

.ma-location h2 {
  color: var(--white);
}

.ma-location-copy p:not(.eyebrow) {
  color: #d6ccce;
}

.ma-location-model {
  display: grid;
  grid-template-columns: 1fr 90px 1fr;
  align-items: center;
}

.ma-location-model article {
  min-height: 230px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--ink);
  background: var(--paper-deep);
  border-radius: 50% 50% 8px 8px;
  text-align: center;
}

.ma-location-model article p {
  color: var(--muted);
  font-size: 0.84rem;
}

.ma-location-model > div {
  position: relative;
  height: 1px;
  background: #d9aebe;
}

.ma-location-model > div::before,
.ma-location-model > div::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  background: #38262d;
  border: 2px solid #d9aebe;
  border-radius: 50%;
  transform: translateY(-50%);
}

.ma-location-model > div::before { left: 0; }
.ma-location-model > div::after { right: 0; }

.ma-surface-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-block: 1px solid var(--line);
}

.ma-surface-grid article {
  padding: 36px clamp(24px, 5vw, 58px);
}

.ma-surface-grid article:first-child {
  padding-left: 0;
}

.ma-surface-grid article + article {
  border-left: 1px solid var(--line);
}

.ma-surface-grid p {
  color: var(--muted);
}

.ma-boundaries {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 60px;
  align-items: start;
}

.ma-boundary-list {
  border-top: 1px solid var(--line);
}

.ma-boundary-list article {
  padding: 22px 0;
  display: grid;
  grid-template-columns: 0.27fr 0.73fr;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.ma-boundary-list p {
  margin: 0;
  color: var(--muted);
}

.ma-boundary-list a {
  color: var(--wine-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.ma-checklist {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto 72px;
  padding: 58px clamp(30px, 5vw, 64px);
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 58px;
  color: var(--white);
  background: #2d2024;
  border-radius: 8px;
}

.ma-checklist .eyebrow {
  color: #d9aebe;
}

.ma-checklist h2,
.ma-checklist h3 {
  color: var(--white);
}

.ma-checklist-heading > p:last-child {
  color: #cfc4c6;
}

.ma-checklist ol {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  list-style: none;
}

.ma-checklist li {
  padding: 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.ma-checklist li:last-child {
  grid-column: 1 / -1;
}

.ma-checklist li > span {
  color: #d9aebe;
  font-family: var(--serif);
}

.ma-checklist li h3 {
  margin-bottom: 7px;
  font-size: 1.05rem;
}

.ma-checklist li p {
  margin: 0;
  color: #cfc4c6;
  font-size: 0.8rem;
}

.ma-technical {
  padding: 58px clamp(30px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 58px;
  background: #eee6dc;
  border: 1px solid rgba(113, 53, 77, 0.1);
  border-radius: 8px;
}

.ma-technical > div > p:not(.eyebrow),
.ma-technical aside p {
  color: var(--muted);
}

.ma-technical aside {
  padding: 30px;
  background: rgba(255, 253, 249, 0.72);
  border-left: 2px solid var(--wine);
}

.ma-technical aside h3 {
  margin-top: 0;
}

.ma-faq {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: 70px;
  align-items: start;
}

.ma-faq-intro {
  position: sticky;
  top: 100px;
}

.ma-faq-list {
  border-top: 1px solid var(--line);
}

.ma-faq-list details {
  border-bottom: 1px solid var(--line);
}

.ma-faq-list summary {
  position: relative;
  padding: 22px 48px 22px 0;
  color: var(--wine-dark);
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.12rem;
  list-style: none;
}

.ma-faq-list summary::-webkit-details-marker {
  display: none;
}

.ma-faq-list summary::after {
  content: "+";
  position: absolute;
  top: 19px;
  right: 4px;
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 300;
}

.ma-faq-list details[open] summary::after {
  content: "−";
}

.ma-faq-list details p {
  max-width: 700px;
  padding: 0 52px 20px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.ma-final {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto 72px;
  padding: 46px clamp(30px, 5vw, 62px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  background: linear-gradient(100deg, #e8d6d9, #f1e6db 68%, #e4d4ca);
  border: 1px solid rgba(113, 53, 77, 0.12);
  border-radius: 8px;
}

.ma-final > div:first-child {
  max-width: 740px;
}

.ma-final h2 {
  margin-bottom: 12px;
}

.ma-final p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
}

.ma-final-actions {
  min-width: 220px;
  display: grid;
  gap: 12px;
}

@media (max-width: 980px) {
  .ma-hero {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .ma-hero-copy {
    padding: 44px 32px;
  }

  .ma-state-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ma-state-grid article:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .ma-state-grid article:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .ma-funnel,
  .ma-repeat,
  .ma-freshness,
  .ma-location,
  .ma-boundaries,
  .ma-checklist,
  .ma-technical {
    grid-template-columns: 1fr;
  }

  .ma-preference-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ma-preference-grid aside {
    grid-column: 1 / -1;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (max-width: 780px) {
  .page-breadcrumb,
  .ma-section,
  .ma-hero,
  .ma-checklist,
  .ma-final {
    width: calc(100% - 32px);
  }

  .ma-section {
    padding-block: 56px;
  }

  .ma-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .ma-hero-copy {
    padding: 46px 24px 38px;
  }

  .ma-hero-copy h1 {
    font-size: clamp(2.05rem, 8.7vw, 2.7rem);
  }

  .ma-hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .ma-hero-media,
  .ma-hero-media img {
    min-height: 350px;
  }

  .ma-state-grid,
  .ma-preference-grid,
  .ma-surface-grid,
  .ma-faq {
    grid-template-columns: 1fr;
  }

  .ma-state-grid article,
  .ma-state-grid article:nth-child(3),
  .ma-state-grid article:nth-child(4),
  .ma-preference-grid > *,
  .ma-surface-grid article,
  .ma-surface-grid article:first-child {
    padding: 26px 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .ma-state-grid article:first-child,
  .ma-preference-grid > *:first-child,
  .ma-surface-grid article:first-child {
    border-top: 0;
  }

  .ma-state-other,
  .ma-preference-grid aside {
    padding-inline: 22px;
  }

  .ma-funnel,
  .ma-location {
    padding-block: 58px;
  }

  .ma-funnel-steps li:nth-child(n) {
    width: 100%;
  }

  .ma-equation {
    padding-inline: 18px;
    flex-direction: column;
    gap: 8px;
  }

  .ma-sort-model {
    padding: 24px 18px;
  }

  .ma-freshness > div:last-child {
    columns: auto;
  }

  .ma-location-model {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .ma-location-model > div {
    width: 1px;
    height: 35px;
    margin-inline: auto;
  }

  .ma-location-model > div::before,
  .ma-location-model > div::after {
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .ma-location-model > div::after {
    top: auto;
    bottom: -4px;
  }

  .ma-location-model article {
    min-height: 190px;
  }

  .ma-boundary-list article {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ma-checklist,
  .ma-technical {
    padding: 42px 24px;
  }

  .ma-checklist ol {
    grid-template-columns: 1fr;
  }

  .ma-checklist li:last-child {
    grid-column: auto;
  }

  .ma-faq-intro {
    position: static;
  }

  .ma-final {
    padding: 38px 24px;
    align-items: stretch;
    flex-direction: column;
  }

  .ma-final-actions {
    min-width: 0;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 18%, rgba(176, 149, 126, 0.08), transparent 24rem),
    var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

body.nav-locked {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p,
dl,
dd {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1,
h2 {
  margin-bottom: 20px;
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(2.75rem, 3.7vw, 4.1rem);
}

h2 {
  font-size: clamp(1.85rem, 2.55vw, 2.9rem);
}

h3 {
  margin-bottom: 10px;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.55vw, 1.6rem);
  font-weight: 400;
  line-height: 1.12;
}

p {
  margin-bottom: 18px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 15px;
  color: var(--white);
  background: var(--wine-dark);
  border-radius: 4px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: 3px solid #b57a8f;
  outline-offset: 4px;
}

.section {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
  padding-block: 74px;
}

.eyebrow,
.panel-label {
  margin-bottom: 14px;
  color: var(--wine);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  line-height: 1.35;
  text-transform: uppercase;
}

.button {
  min-height: 46px;
  padding: 12px 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--wine);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button::after {
  content: "→";
  font-size: 1.05em;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--wine);
}

.button-primary:hover {
  background: var(--wine-dark);
  border-color: var(--wine-dark);
}

.button-outline {
  color: var(--wine-dark);
  background: rgba(255, 253, 249, 0.52);
}

.button-outline:hover {
  color: var(--white);
  background: var(--wine-dark);
}

.button-light {
  color: var(--white);
  background: var(--wine);
  border-color: var(--wine);
}

.button-light:hover {
  background: var(--wine-dark);
  border-color: var(--wine-dark);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 253, 249, 0.96);
  border-bottom: 1px solid var(--soft-line);
  backdrop-filter: blur(12px);
}

.header-inner {
  width: min(calc(100% - 48px), var(--max));
  min-height: 66px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--wine-dark);
  text-decoration: none;
}

.brand-mark {
  width: 31px;
  height: 38px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.brand span {
  display: grid;
  justify-items: center;
}

.brand strong {
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.brand small {
  margin-top: 5px;
  font-family: var(--serif);
  font-size: 0.68rem;
  line-height: 1;
}

.main-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.4vw, 34px);
}

.main-nav a {
  font-size: 0.86rem;
  text-decoration: none;
}

.main-nav > a:not(.nav-cta):not(.nav-login) {
  padding-block: 23px 20px;
  border-bottom: 2px solid transparent;
}

.main-nav > a:not(.nav-cta):not(.nav-login):hover {
  color: var(--wine);
  border-color: var(--wine);
}

.main-nav .nav-login {
  margin-left: auto;
  color: var(--wine-dark);
}

.nav-cta {
  min-width: 88px;
  padding: 9px 24px;
  color: var(--white);
  background: var(--wine);
  border-radius: 999px;
  font-weight: 650;
  text-align: center;
}

.nav-cta:hover {
  background: var(--wine-dark);
}

.menu-toggle {
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
  width: 24px;
  height: 2px;
  margin: 5px auto;
  display: block;
  background: var(--wine-dark);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: 590px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--cream);
  background-image: url("images/hero.png");
  background-image: image-set(
    url("images/hero.avif") type("image/avif"),
    url("images/hero.webp") type("image/webp"),
    url("images/hero.png") type("image/png")
  );
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(250, 247, 240, 0.98) 0%, rgba(250, 247, 240, 0.94) 24%, rgba(250, 247, 240, 0.75) 39%, rgba(250, 247, 240, 0.18) 59%, rgba(250, 247, 240, 0) 74%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 61%;
  padding: 70px clamp(34px, 5vw, 78px) 68px max(28px, calc((100vw - var(--max)) / 2));
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.hero-copy h1 {
  max-width: 720px;
  margin-inline: auto;
  color: var(--wine-dark);
  font-size: clamp(2.5rem, 3vw, 3.45rem);
  line-height: 1.1;
  letter-spacing: -0.032em;
}

.hero-lede {
  max-width: 680px;
  margin-inline: auto;
  color: #443b3c;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.72;
}

.hero-actions {
  width: min(100%, 350px);
  margin: 22px auto 0;
  display: grid;
  gap: 11px;
}

.hero-actions .button {
  width: 100%;
}

.hero-note {
  margin: 17px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.intent-section {
  padding-top: 68px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  column-gap: 72px;
  row-gap: 34px;
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.intent-heading h2 {
  max-width: 480px;
}

.intent-copy {
  columns: 2;
  column-gap: 38px;
  color: var(--muted);
}

.intent-copy p {
  break-inside: avoid;
}

.intent-formula {
  grid-column: 1 / -1;
  padding: 20px 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(15px, 3vw, 44px);
  color: var(--wine-dark);
  background: rgba(234, 218, 221, 0.45);
  border: 1px solid rgba(113, 53, 77, 0.12);
  border-radius: 8px;
  font-family: var(--serif);
  font-size: clamp(1rem, 1.65vw, 1.4rem);
}

.intent-formula b {
  color: #b39b9f;
  font-family: var(--sans);
  font-weight: 400;
}

.professional-band {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
  padding: 52px 0;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  border-bottom: 1px solid var(--line);
}

.professional-band h2 {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 2.35vw, 2.7rem);
}

.professional-band > div:last-child {
  color: var(--muted);
  columns: 2;
  column-gap: 34px;
}

.professional-band p {
  break-inside: avoid;
}

.profile-section {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(58px, 8vw, 105px);
  align-items: center;
}

.profile-media {
  position: relative;
  min-height: 520px;
  padding: 0 58px 46px 32px;
}

.profile-media picture,
.profile-media picture img {
  width: 100%;
  height: 100%;
  display: block;
}

.profile-media picture img {
  min-height: 500px;
  object-fit: cover;
  object-position: center;
  border-radius: 7px;
  box-shadow: var(--shadow);
}

.profile-media::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 34px;
  left: 0;
  width: 86%;
  height: 88%;
  background: #e7ddd1;
  border-radius: 7px;
}

.profile-context {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(310px, 72%);
  padding: 23px 25px;
  background: rgba(255, 253, 249, 0.96);
  border: 1px solid rgba(113, 53, 77, 0.12);
  border-radius: 7px;
  box-shadow: var(--shadow);
}

.profile-context > p {
  margin-bottom: 11px;
  color: var(--wine);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.profile-context dl {
  margin-bottom: 0;
}

.profile-context dl div {
  padding: 7px 0;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  border-top: 1px solid var(--soft-line);
  font-size: 0.78rem;
}

.profile-context dt {
  color: var(--wine-dark);
  font-weight: 700;
}

.profile-context dd {
  margin-bottom: 0;
  color: var(--muted);
}

.profile-copy {
  position: relative;
  max-width: 530px;
}

.profile-copy::after {
  content: "More than a photo";
  position: absolute;
  right: 0;
  bottom: -56px;
  color: #94857f;
  font-family: var(--script);
  font-size: 1.05rem;
  transform: rotate(-5deg);
}

.profile-copy > p:not(.eyebrow),
.compatibility-copy p:not(.eyebrow),
.australia-copy p:not(.eyebrow),
.communication-copy p:not(.eyebrow),
.app-copy p:not(.eyebrow) {
  color: var(--muted);
}

.profile-copy .button {
  margin-top: 8px;
}

.compatibility-section {
  width: min(calc(100% - 48px), var(--max));
  margin: 8px auto 74px;
  padding: 50px clamp(34px, 5vw, 68px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 52px;
  align-items: center;
  background: linear-gradient(110deg, rgba(234, 218, 221, 0.84), rgba(247, 241, 232, 0.95));
  border: 1px solid rgba(113, 53, 77, 0.1);
  border-radius: 9px;
}

.compatibility-copy h2 {
  font-size: clamp(1.95rem, 2.45vw, 2.75rem);
}

.compatibility-orbit {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
  margin-inline: auto;
  display: grid;
  place-items: center;
  color: var(--wine-dark);
  text-align: center;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(113, 53, 77, 0.3);
  border-radius: 50%;
}

.orbit-one {
  inset: 10%;
}

.orbit-two {
  inset: 22%;
  border-style: dashed;
}

.orbit-three {
  inset: 35%;
  background: rgba(255, 253, 249, 0.72);
  border-color: var(--wine);
}

.compatibility-orbit strong {
  z-index: 2;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.2;
}

.compatibility-orbit em,
.compatibility-orbit i {
  position: absolute;
  z-index: 2;
  padding: 5px 9px;
  background: var(--paper);
  font-family: var(--script);
  font-size: 0.9rem;
  font-style: normal;
}

.compatibility-orbit em {
  top: 19%;
  right: 2%;
  transform: rotate(6deg);
}

.compatibility-orbit i {
  bottom: 16%;
  left: 4%;
  transform: rotate(-7deg);
}

.choice-section {
  padding-top: 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-heading.centred {
  margin-inline: auto;
  text-align: center;
}

.section-heading.centred > p:last-child {
  max-width: 650px;
  margin-inline: auto;
  color: var(--muted);
}

.choice-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 40px rgba(68, 44, 49, 0.08);
}

.choice-panel {
  position: relative;
  min-height: 430px;
  padding: 38px;
  overflow: hidden;
}

.choice-panel + .choice-panel {
  border-left: 1px solid rgba(113, 53, 77, 0.16);
}

.recommended-panel {
  background: #eadadd;
}

.discover-panel {
  background: #efe8dd;
}

.choice-copy {
  position: relative;
  z-index: 3;
  width: 58%;
}

.choice-number {
  display: none;
}

.choice-panel h3 {
  font-size: clamp(1.4rem, 1.65vw, 1.85rem);
}

.choice-panel p:not(.panel-label) {
  color: #514648;
  font-size: 0.9rem;
}

.choice-panel ul {
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  gap: 7px;
  list-style: none;
  font-size: 0.82rem;
}

.choice-panel li::before {
  content: "—";
  margin-right: 7px;
  color: var(--wine);
}

.choice-panel a {
  color: var(--wine-dark);
  font-size: 0.87rem;
  font-weight: 650;
  text-underline-offset: 5px;
}

.choice-photo {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  width: 53%;
  display: block;
}

.choice-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recommended-panel .choice-photo {
  clip-path: ellipse(76% 72% at 100% 54%);
}

.discover-panel .choice-photo {
  clip-path: ellipse(78% 77% at 100% 48%);
}

.choice-panel::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 38% 0 0;
  pointer-events: none;
}

.recommended-panel::after {
  background: linear-gradient(90deg, #eadadd 66%, rgba(234, 218, 221, 0));
}

.discover-panel::after {
  background: linear-gradient(90deg, #efe8dd 66%, rgba(239, 232, 221, 0));
}

.australia-section {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 58px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.australia-copy h2 {
  font-size: clamp(1.95rem, 2.5vw, 2.8rem);
}

.distance-visual {
  min-height: 390px;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
}

.map-card {
  position: relative;
  z-index: 2;
  margin-right: -58px;
  padding: 28px 24px 19px;
  background: rgba(251, 248, 241, 0.9);
}

.australia-map {
  width: 100%;
  height: auto;
  fill: #ded7cd;
  stroke: var(--paper);
  stroke-width: 2;
}

.australia-map circle {
  fill: var(--wine);
  stroke: var(--white);
  stroke-width: 2;
}

.map-card p {
  margin: -8px 0 0;
  color: #8f817c;
  font-family: var(--script);
  font-size: 0.95rem;
  text-align: center;
  transform: rotate(-4deg);
}

.location-photo {
  height: 365px;
  display: block;
  overflow: hidden;
  border-radius: 48% 52% 43% 57% / 44% 42% 58% 56%;
  box-shadow: var(--shadow);
}

.location-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.life-fit-section {
  padding: 54px max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 64px;
  background: rgba(234, 218, 221, 0.33);
  border-block: 1px solid rgba(113, 53, 77, 0.1);
}

.life-fit-heading h2 {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 2.4vw, 2.65rem);
}

.life-fit-signals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.life-fit-signals article {
  padding: 6px 24px;
}

.life-fit-signals article + article {
  border-left: 1px solid var(--line);
}

.life-fit-signals span {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.life-fit-signals h3 {
  margin: 9px 0;
  font-size: 1.25rem;
}

.life-fit-signals p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.communication-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(54px, 8vw, 96px);
  align-items: center;
}

.communication-media {
  position: relative;
  overflow: hidden;
  border-radius: 8px 120px 8px 8px;
  box-shadow: var(--shadow);
}

.communication-media::after {
  content: "A conversation should feel considered";
  position: absolute;
  right: 22px;
  bottom: 18px;
  max-width: 210px;
  color: var(--white);
  font-family: var(--script);
  font-size: 0.95rem;
  text-align: right;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.communication-media picture {
  display: block;
}

.communication-media img {
  min-height: 460px;
  object-fit: cover;
}

.communication-copy {
  max-width: 500px;
}

.trust-section {
  padding: 58px max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 60px;
  color: var(--ink);
  background: var(--cream);
  border-block: 1px solid var(--soft-line);
}

.trust-heading h2 {
  font-size: clamp(1.95rem, 2.45vw, 2.75rem);
}

.trust-heading > p:last-child {
  color: var(--muted);
}

.verification-scope {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.verification-scope article {
  padding: 14px 30px;
}

.verification-scope article + article {
  border-left: 1px solid var(--line);
}

.verification-scope svg {
  width: 34px;
  height: 34px;
  margin-bottom: 21px;
  fill: none;
  stroke: var(--wine);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.verification-scope h3 {
  font-size: 1.3rem;
}

.verification-scope p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.control-section {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 64px;
  align-items: center;
}

.control-section h2 {
  font-size: clamp(1.9rem, 2.35vw, 2.65rem);
}

.control-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.control-actions article {
  padding: 14px 30px;
  text-align: center;
}

.control-actions article + article {
  border-left: 1px solid var(--line);
}

.control-actions .control-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  color: var(--wine-dark);
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid rgba(113, 53, 77, 0.42);
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(82, 34, 56, 0.08);
}

.control-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.control-actions h3 {
  margin: 0 0 10px;
  color: var(--wine-dark);
  font-size: 1.08rem;
}

.control-actions p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.membership-section {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto 74px;
  padding: 32px 38px;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 42px;
  align-items: center;
  background: #eee6dc;
  border: 1px solid rgba(113, 53, 77, 0.1);
  border-radius: 8px;
}

.membership-intro h2 {
  margin-bottom: 12px;
  font-size: clamp(1.9rem, 2.4vw, 2.7rem);
}

.membership-intro p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.membership-ledger {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.membership-ledger > div {
  min-height: 112px;
  padding: 14px 20px;
  display: grid;
  align-content: center;
  text-align: center;
}

.membership-ledger > div + div {
  border-left: 1px solid var(--line);
}

.membership-ledger span {
  color: var(--wine);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.membership-ledger strong {
  margin-top: 9px;
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.25;
}

.membership-ledger .membership-action {
  grid-column: 1 / -1;
  min-height: auto;
  padding-top: 22px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  border-left: 0;
}

.membership-action p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.app-section {
  position: relative;
  min-height: 500px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 68px;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.app-copy {
  max-width: 500px;
}

.app-gallery {
  position: relative;
  min-height: 470px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 30px);
  background: radial-gradient(circle at 52% 48%, rgba(234, 218, 221, 0.88), transparent 58%);
}

.app-gallery::before {
  content: "";
  position: absolute;
  inset: 11% 8%;
  border: 1px solid rgba(113, 53, 77, 0.14);
  border-radius: 50%;
}

.app-shot {
  position: relative;
  z-index: 1;
  width: min(43%, 250px);
  margin: 0;
}

.app-shot img {
  width: 100%;
  height: auto;
  border: 1px solid rgba(78, 36, 54, 0.18);
  border-radius: 17px;
  box-shadow: 0 22px 48px rgba(38, 27, 30, 0.2);
}

.app-shot-profile {
  transform: translateY(22px) rotate(-4deg);
}

.app-shot-discover {
  transform: translateY(-16px) rotate(4deg);
}

.faq-section {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: 70px;
  align-items: start;
  border-top: 1px solid var(--line);
}

.faq-intro {
  position: sticky;
  top: 100px;
}

.faq-intro h2 {
  font-size: clamp(1.95rem, 2.45vw, 2.75rem);
}

.faq-intro p:last-child {
  color: var(--muted);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 23px 48px 23px 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  color: var(--wine);
  border: 1px solid var(--wine);
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 1rem;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 720px;
  padding-right: 42px;
  color: var(--muted);
}

.final-cta {
  position: relative;
  width: min(calc(100% - 48px), var(--max));
  min-height: 270px;
  margin: 8px auto 58px;
  padding: 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  text-align: center;
}

.final-cta::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(90deg, rgba(251, 248, 241, 0.84), rgba(251, 248, 241, 0.56), rgba(251, 248, 241, 0.78));
}

.final-cta-media,
.final-cta-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.final-cta-media img {
  object-fit: cover;
  object-position: center 46%;
}

.final-cta > div,
.final-cta > .button {
  position: relative;
  z-index: 2;
}

.final-cta > div {
  max-width: 700px;
}

.final-cta h2 {
  margin-bottom: 12px;
  color: var(--wine-dark);
  font-size: clamp(1.9rem, 2.4vw, 2.7rem);
}

.final-cta p:not(.eyebrow) {
  max-width: 610px;
  margin-inline: auto;
  color: #463d3e;
}

.final-cta .button {
  margin-top: 2px;
}

.site-footer {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
  padding: 28px 0 24px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  max-width: 340px;
}

.brand-footer {
  margin-bottom: 15px;
}

.brand-footer small {
  font-size: 0.65rem;
}

.footer-brand > p,
.footer-bottom p {
  color: var(--muted);
  font-size: 0.76rem;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.footer-nav div {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-nav strong {
  margin-bottom: 4px;
  color: var(--wine-dark);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
}

.footer-nav a {
  color: var(--muted);
  font-size: 0.75rem;
  text-decoration: none;
}

.footer-nav a:hover {
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  grid-column: 1 / -1;
  padding-top: 19px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--soft-line);
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1080px) {
  .menu-toggle {
    display: block;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    z-index: 99;
    top: 66px;
    right: 0;
    bottom: 0;
    width: min(390px, 88vw);
    padding: 28px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    background: var(--white);
    box-shadow: -18px 28px 42px rgba(37, 24, 28, 0.16);
    transform: translateX(105%);
    transition: transform 220ms ease;
  }

  .main-nav[data-open="true"] {
    transform: translateX(0);
  }

  .main-nav > a:not(.nav-cta):not(.nav-login) {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
  }

  .main-nav .nav-login {
    margin: 24px 0 10px;
    padding: 11px 0;
    text-align: center;
  }

  .nav-cta {
    padding: 12px 22px;
  }

  .hero-copy {
    width: 60%;
    padding-left: 34px;
  }

  .intent-section,
  .professional-band {
    column-gap: 48px;
  }

  .intent-copy,
  .professional-band > div:last-child {
    columns: 1;
  }

  .choice-panel {
    min-height: 475px;
    padding: 31px;
  }

  .choice-copy {
    width: 66%;
  }

  .choice-photo {
    width: 49%;
  }

  .australia-section,
  .app-section {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .membership-section {
    grid-template-columns: 1fr;
  }

  .app-gallery {
    min-height: 440px;
  }
}

@media (max-width: 780px) {
  h1 {
    font-size: clamp(2.35rem, 9vw, 3rem);
  }

  h2 {
    font-size: clamp(1.75rem, 7vw, 2.4rem);
  }

  .section {
    width: min(calc(100% - 32px), var(--max));
    padding-block: 58px;
  }

  .header-inner {
    width: calc(100% - 32px);
  }

  .brand strong {
    font-size: 1.45rem;
  }

  .hero {
    min-height: 650px;
    align-items: flex-start;
    background-position: 67% center;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(250, 247, 240, 0.97) 0%, rgba(250, 247, 240, 0.93) 40%, rgba(250, 247, 240, 0.44) 68%, rgba(250, 247, 240, 0.08) 100%);
  }

  .hero-copy {
    width: 100%;
    padding: 52px 22px 42px;
    text-align: left;
  }

  .hero-copy h1,
  .hero-lede,
  .hero-actions {
    margin-left: 0;
  }

  .hero-copy h1,
  .hero-lede {
    max-width: 620px;
  }

  .hero-copy h1 {
    font-size: clamp(2.25rem, 8.4vw, 2.85rem);
    line-height: 1.1;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-note {
    text-align: center;
  }

  .intent-section,
  .professional-band,
  .profile-section,
  .compatibility-section,
  .australia-section,
  .life-fit-section,
  .communication-section,
  .trust-section,
  .control-section,
  .app-section,
  .faq-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .intent-section,
  .professional-band,
  .compatibility-section,
  .membership-section,
  .final-cta,
  .site-footer {
    width: calc(100% - 32px);
  }

  .intent-copy {
    columns: 1;
  }

  .intent-formula {
    padding: 18px;
    gap: 10px;
    flex-wrap: wrap;
  }

  .professional-band {
    padding: 48px 0;
    gap: 24px;
  }

  .profile-media {
    min-height: 490px;
    padding: 0 28px 70px 12px;
  }

  .profile-media picture img {
    min-height: 430px;
  }

  .profile-copy::after {
    display: none;
  }

  .compatibility-section {
    margin-bottom: 58px;
    padding: 38px 26px;
  }

  .compatibility-orbit {
    width: min(100%, 300px);
  }

  .choice-section {
    padding-top: 0;
  }

  .choice-panels {
    grid-template-columns: 1fr;
  }

  .choice-panel {
    min-height: 520px;
  }

  .choice-panel + .choice-panel {
    border-top: 1px solid rgba(113, 53, 77, 0.16);
    border-left: 0;
  }

  .choice-copy {
    width: 76%;
  }

  .choice-photo {
    width: 56%;
  }

  .life-fit-signals,
  .control-actions,
  .verification-scope,
  .footer-nav {
    grid-template-columns: 1fr;
  }

  .life-fit-signals article + article,
  .control-actions article + article,
  .verification-scope article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .australia-section {
    gap: 24px;
  }

  .distance-visual {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .map-card {
    width: 74%;
    margin: 0 auto -44px;
  }

  .location-photo {
    height: 330px;
  }

  .life-fit-section,
  .trust-section {
    padding: 52px 24px;
    gap: 34px;
  }

  .communication-media img {
    min-height: 350px;
  }

  .control-actions article,
  .verification-scope article {
    padding: 26px 12px;
  }

  .membership-section {
    padding: 30px 24px;
  }

  .membership-ledger {
    grid-template-columns: 1fr;
  }

  .membership-ledger > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .membership-ledger .membership-action {
    flex-direction: column;
  }

  .app-section {
    gap: 28px;
  }

  .app-gallery {
    min-height: auto;
    padding: 34px 12px 44px;
  }

  .faq-section {
    gap: 28px;
  }

  .faq-intro {
    position: static;
  }

  .final-cta {
    padding: 34px 22px;
  }

  .site-footer {
    padding-top: 28px;
  }

  .footer-brand {
    max-width: none;
  }
}

@media (max-width: 520px) {
  .brand small {
    display: none;
  }

  .hero {
    min-height: 690px;
    background-position: 70% center;
  }

  .intent-formula b {
    display: none;
  }

  .intent-formula span {
    width: calc(50% - 8px);
    text-align: center;
  }

  .profile-media {
    min-height: 430px;
    padding-right: 12px;
  }

  .profile-media picture img {
    min-height: 380px;
  }

  .profile-context {
    width: 88%;
    padding: 18px;
  }

  .choice-panel {
    min-height: 650px;
    padding: 25px;
  }

  .choice-copy {
    width: 100%;
  }

  .choice-photo {
    top: auto;
    width: 100%;
    height: 49%;
  }

  .recommended-panel .choice-photo,
  .discover-panel .choice-photo {
    clip-path: ellipse(82% 75% at 68% 100%);
  }

  .choice-panel::after {
    inset: 42% 0 38% 0;
  }

  .recommended-panel::after {
    background: linear-gradient(180deg, #eadadd 28%, rgba(234, 218, 221, 0));
  }

  .discover-panel::after {
    background: linear-gradient(180deg, #efe8dd 28%, rgba(239, 232, 221, 0));
  }

  .map-card {
    width: 92%;
  }

  .location-photo {
    height: 280px;
  }

  .app-gallery {
    padding-inline: 0;
    gap: 10px;
  }

  .app-shot {
    width: min(46%, 190px);
  }

  .app-shot-profile {
    transform: translateY(12px) rotate(-2deg);
  }

  .app-shot-discover {
    transform: translateY(-8px) rotate(2deg);
  }

  .footer-nav {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* Member login and account access */
.login-page main {
  padding-bottom: 76px;
}

.login-hero,
.login-recovery,
.login-verification,
.login-old-account,
.login-app-support,
.login-next {
  width: min(calc(100% - 48px), 1180px);
  margin-inline: auto;
}

.login-hero {
  margin-bottom: 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.36fr) minmax(340px, 0.64fr);
  align-items: start;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--soft-line);
  border-radius: 22px;
  box-shadow: 0 20px 58px rgba(62, 42, 46, 0.1);
}

.login-primary {
  padding: clamp(44px, 5vw, 68px);
}

.login-primary h1 {
  max-width: 650px;
  color: var(--wine-dark);
  font-size: clamp(2.45rem, 3.55vw, 3.4rem);
  line-height: 1.08;
  text-wrap: pretty;
}

.login-intro {
  max-width: 680px;
  color: #4e4445;
  font-size: 1.05rem;
  line-height: 1.75;
}

.login-destination {
  max-width: 700px;
  margin-top: 30px;
  padding: 28px 30px;
  background: var(--paper);
  border-left: 4px solid var(--wine);
}

.login-destination > span,
.login-diagnosis-paths > article > span {
  display: block;
  color: var(--wine);
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.17em;
  line-height: 1.35;
  text-transform: uppercase;
}

.login-destination > strong {
  margin: 7px 0 18px;
  display: block;
  color: var(--wine-dark);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 400;
  overflow-wrap: anywhere;
}

.login-destination ol {
  margin: 0;
  padding-left: 22px;
  color: #514647;
}

.login-destination li + li {
  margin-top: 9px;
}

.login-destination p {
  margin: 20px 0 0;
  padding-top: 17px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
}

.login-primary-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.login-text-link {
  color: var(--wine-dark);
  font-size: 0.88rem;
  font-weight: 700;
  text-underline-offset: 4px;
}

.login-router {
  min-width: 0;
  margin: 20px 20px 20px 0;
  display: grid;
  grid-template-rows: auto 340px;
  align-self: start;
  overflow: hidden;
  color: var(--white);
  background: var(--wine-dark);
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(57, 22, 39, 0.18);
}

.login-router-copy {
  padding: 38px 34px 28px;
}

.login-router .eyebrow {
  color: #dbc3cc;
}

.login-router h2 {
  max-width: 340px;
  font-size: clamp(1.8rem, 2.7vw, 2.45rem);
  line-height: 1.08;
}

.login-router-copy > a {
  padding: 12px 0;
  display: grid;
  gap: 2px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  text-decoration: none;
}

.login-router-copy > a:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.login-router-copy > a:hover span {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.login-router-copy span {
  font-weight: 700;
}

.login-router-copy small {
  color: #e6d8dc;
  font-size: 0.76rem;
}

.login-visual {
  min-height: 0;
  height: 340px;
  display: flex;
  justify-content: center;
  overflow: hidden;
  background: #431a2d;
}

.login-visual img {
  width: min(100%, 366px);
  height: 100%;
  object-fit: cover;
  object-position: center 72%;
}

.login-recovery {
  padding-block: 12px 76px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.login-recovery article {
  padding: 0 clamp(30px, 5vw, 66px);
}

.login-recovery article:first-child {
  padding-left: 0;
  border-right: 1px solid var(--line);
}

.login-recovery article:last-child {
  padding-right: 0;
}

.login-recovery h2,
.login-app-support h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.65rem);
}

.login-recovery p:last-child,
.login-app-support p:last-child {
  margin-bottom: 0;
}

.login-verification {
  padding: clamp(42px, 5vw, 68px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  align-items: center;
  gap: clamp(44px, 7vw, 92px);
  background: var(--paper-deep);
  border: 1px solid var(--soft-line);
}

.login-verification > div:first-child {
  max-width: 650px;
}

.login-code-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.login-code-steps li {
  min-height: 82px;
  padding: 20px 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 18px;
  color: #453a3d;
  border-top: 1px solid var(--line);
}

.login-code-steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.login-code-steps span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--wine);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.1rem;
}

.login-old-account {
  padding-block: 82px;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(42px, 8vw, 108px);
}

.login-old-account h2 {
  color: var(--wine-dark);
}

.login-old-account > div:last-child {
  padding-left: clamp(24px, 4vw, 54px);
  border-left: 1px solid var(--line);
}

.login-diagnosis {
  padding: 66px clamp(32px, 6vw, 82px);
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(44px, 7vw, 92px);
  background: #efe2e1;
}

.login-diagnosis-heading p:last-child {
  color: var(--wine-dark);
  font-weight: 700;
}

.login-diagnosis-paths article {
  padding: 25px 0;
  border-top: 1px solid rgba(82, 34, 56, 0.25);
}

.login-diagnosis-paths article:last-child {
  border-bottom: 1px solid rgba(82, 34, 56, 0.25);
}

.login-diagnosis-paths h3 {
  margin-top: 8px;
  color: var(--wine-dark);
}

.login-diagnosis-paths p {
  margin-bottom: 0;
}

.login-app-support {
  padding-block: 82px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(44px, 8vw, 110px);
}

.login-app-support article + article {
  padding-left: clamp(28px, 5vw, 68px);
  border-left: 1px solid var(--line);
}

.login-app-support a {
  color: var(--wine-dark);
  font-weight: 700;
  text-underline-offset: 4px;
}

.login-next {
  padding: clamp(36px, 5vw, 58px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  color: var(--white);
  background: var(--wine-dark);
}

.login-next > div:first-child {
  max-width: 650px;
}

.login-next .eyebrow {
  color: #dbc3cc;
}

.login-next h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.login-next p {
  margin-bottom: 0;
  color: #eadde1;
}

.login-next-actions {
  min-width: 270px;
  display: grid;
  gap: 15px;
  justify-items: stretch;
  text-align: center;
}

.login-next .button-outline {
  color: var(--wine-dark);
  background: var(--white);
  border-color: var(--white);
}

.login-next .login-text-link {
  color: var(--white);
}

@media (max-width: 980px) {
  .login-hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(310px, 0.8fr);
  }

  .login-primary {
    padding: 46px 36px;
  }

  .login-router-copy {
    padding: 34px 28px 26px;
  }

  .login-diagnosis {
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

@media (max-width: 780px) {
  .login-page main {
    padding-bottom: 54px;
  }

  .login-hero,
  .login-recovery,
  .login-verification,
  .login-old-account,
  .login-app-support,
  .login-next {
    width: calc(100% - 32px);
  }

  .login-hero,
  .login-recovery,
  .login-verification,
  .login-old-account,
  .login-app-support {
    grid-template-columns: 1fr;
  }

  .login-hero {
    margin-bottom: 54px;
  }

  .login-primary {
    padding: 42px 24px 38px;
  }

  .login-primary h1 {
    font-size: clamp(2.35rem, 10vw, 3rem);
  }

  .login-destination {
    padding: 24px 22px;
  }

  .login-primary-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .login-router {
    margin: 0;
    grid-template-columns: minmax(0, 1fr) 150px;
    grid-template-rows: auto;
    border-radius: 0;
    box-shadow: none;
  }

  .login-router-copy {
    padding: 38px 24px;
  }

  .login-visual {
    height: auto;
    min-height: 100%;
  }

  .login-recovery {
    padding-bottom: 54px;
  }

  .login-recovery article {
    padding: 36px 0;
  }

  .login-recovery article:first-child {
    padding-top: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .login-recovery article:last-child {
    padding-bottom: 0;
  }

  .login-verification,
  .login-diagnosis {
    padding: 44px 24px;
  }

  .login-verification {
    gap: 26px;
  }

  .login-old-account,
  .login-app-support {
    padding-block: 58px;
    gap: 26px;
  }

  .login-old-account > div:last-child,
  .login-app-support article + article {
    padding: 28px 0 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .login-next {
    padding: 40px 24px;
    align-items: stretch;
    flex-direction: column;
    gap: 28px;
  }

  .login-next-actions {
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .login-router {
    grid-template-columns: 1fr;
  }

  .login-visual {
    max-height: 260px;
  }

  .login-visual img {
    object-position: center 34%;
  }
}

/* Hide, block and report member controls */
.controls-page main {
  padding-bottom: 78px;
}

.control-hero,
.control-section-wrap,
.control-hide,
.control-pair,
.control-distinction,
.control-evidence,
.control-escalation,
.control-boundaries,
.control-decision,
.control-final {
  width: min(calc(100% - 48px), 1180px);
  margin-inline: auto;
}

.control-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.92fr);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--soft-line);
  border-radius: 22px;
  box-shadow: 0 20px 58px rgba(62, 42, 46, 0.1);
}

.control-hero-copy {
  padding: clamp(44px, 5vw, 68px);
}

.control-hero h1 {
  max-width: 720px;
  color: var(--wine-dark);
  font-size: clamp(2.35rem, 3.3vw, 3.1rem);
  line-height: 1.08;
  text-wrap: balance;
}

.control-hero-lede {
  max-width: 690px;
  color: #463d3e;
  font-size: 1.05rem;
  line-height: 1.75;
}

.control-caveat {
  margin-top: 24px;
  padding: 18px 20px;
  color: #534749;
  background: var(--paper);
  border-left: 4px solid var(--wine);
  line-height: 1.65;
}

.control-caveat strong {
  color: var(--wine-dark);
}

.control-hero-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.control-text-link {
  color: var(--wine-dark);
  font-size: 0.88rem;
  font-weight: 700;
  text-underline-offset: 4px;
}

.control-hero-media {
  min-height: 620px;
  position: relative;
  background: var(--wine-dark);
}

.control-hero-media picture,
.control-hero-media img {
  width: 100%;
  height: 100%;
  display: block;
}

.control-hero-media img {
  object-fit: cover;
  object-position: center;
}

.control-hero-media::after {
  content: "";
  position: absolute;
  inset: 42% 0 0;
  background: linear-gradient(180deg, transparent, rgba(43, 16, 30, 0.82));
  pointer-events: none;
}

.control-paths {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  background: rgba(255, 252, 247, 0.96);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(33, 18, 24, 0.22);
}

.control-paths div {
  padding: 16px 12px;
  display: grid;
  gap: 4px;
  text-align: center;
}

.control-paths div + div {
  border-left: 1px solid var(--line);
}

.control-paths span {
  color: var(--wine);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.control-paths strong {
  color: var(--ink);
  font-size: 0.78rem;
  line-height: 1.3;
}

.control-section-wrap {
  padding-block: 92px 76px;
}

.control-heading {
  max-width: 750px;
  margin-bottom: 34px;
}

.control-heading h2,
.control-hide h2,
.control-pair h2,
.control-distinction h2,
.control-evidence h2,
.control-escalation h2,
.control-boundaries h2,
.control-decision h2,
.control-final h2 {
  font-size: clamp(1.9rem, 2.8vw, 2.55rem);
  line-height: 1.1;
  text-wrap: balance;
}

.control-heading > p:last-child {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.7;
}

.control-table-scroll {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 14px 38px rgba(62, 42, 46, 0.08);
}

.control-table-scroll:focus-visible {
  outline: 3px solid rgba(124, 52, 82, 0.32);
  outline-offset: 4px;
}

.control-matrix {
  width: 100%;
  min-width: 790px;
  border-collapse: collapse;
  text-align: left;
}

.control-matrix th,
.control-matrix td {
  padding: 19px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  line-height: 1.45;
}

.control-matrix thead th {
  color: var(--white);
  background: var(--wine-dark);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.control-matrix thead th:first-child {
  width: 28%;
}

.control-matrix tbody th {
  color: var(--ink);
  background: #fbf7f2;
  font-size: 0.9rem;
}

.control-matrix td {
  color: #514647;
  font-size: 0.88rem;
}

.control-matrix tr:last-child th,
.control-matrix tr:last-child td {
  border-bottom: 0;
}

.control-hide {
  padding: clamp(46px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 92px);
  color: var(--white);
  background: var(--wine-dark);
  border-radius: 22px;
}

.control-hide .eyebrow {
  color: #dbc3cc;
}

.control-hide-copy p {
  color: #f3e9ec;
  line-height: 1.75;
}

.control-hide-copy aside {
  margin-top: 24px;
  padding: 20px 22px;
  color: #4a3d40;
  background: #f7eee8;
  border-radius: 12px;
  line-height: 1.65;
}

.control-hide-copy aside strong {
  color: var(--wine-dark);
}

.control-pair {
  padding-block: 88px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.control-pair article {
  padding: clamp(34px, 4vw, 48px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.control-pair article:last-child {
  background: #f3e9e7;
  border-color: #e6d4d5;
}

.control-pair p {
  color: #514647;
  line-height: 1.72;
}

.control-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  color: var(--wine);
  background: var(--paper);
  border-radius: 50%;
}

.control-icon svg {
  width: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.control-distinction {
  padding: clamp(46px, 6vw, 72px);
  color: var(--white);
  background: #30282a;
  border-radius: 22px;
}

.control-distinction .eyebrow {
  color: #d8bfc7;
}

.control-distinction-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.control-distinction-grid article {
  padding: 8px 28px;
}

.control-distinction-grid article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.control-distinction-grid span {
  color: #e4cbd3;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.control-distinction-grid p {
  margin-bottom: 0;
  color: #f4edef;
  line-height: 1.65;
}

.control-evidence {
  padding-block: 88px 72px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(42px, 7vw, 86px);
  align-items: center;
}

.control-evidence-copy p {
  color: #514647;
  line-height: 1.75;
}

.control-evidence-note {
  padding: 30px;
  background: #eee2dc;
  border-radius: 50% 50% 18px 18px / 18% 18% 18px 18px;
}

.control-evidence-note strong {
  color: var(--wine-dark);
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.2;
}

.control-evidence-note p {
  margin-bottom: 0;
  color: #514647;
  line-height: 1.65;
}

.control-escalation {
  padding: clamp(46px, 6vw, 68px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.control-escalation ol {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
}

.control-escalation li {
  padding: 0 22px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 13px;
}

.control-escalation li + li {
  border-left: 1px solid var(--line);
}

.control-escalation li > span {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.4rem;
}

.control-escalation strong {
  color: var(--wine-dark);
}

.control-escalation li p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.58;
}

.control-boundaries {
  padding-block: 88px 76px;
}

.control-boundary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.control-boundary-grid article {
  padding: 30px;
  background: #f8f2ed;
  border-top: 3px solid var(--wine);
}

.control-boundary-grid span {
  color: var(--wine);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.control-boundary-grid h3 {
  margin: 10px 0 12px;
  font-size: 1.45rem;
  line-height: 1.2;
}

.control-boundary-grid p {
  margin-bottom: 0;
  color: #514647;
  line-height: 1.68;
}

.control-decision {
  padding: clamp(46px, 6vw, 70px);
  display: grid;
  grid-template-columns: minmax(270px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(38px, 7vw, 88px);
  background: #eee3dc;
  border-radius: 22px;
}

.control-decision-intro p:last-child {
  color: var(--muted);
  line-height: 1.65;
}

.control-decision-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.control-decision-list article {
  padding: 20px;
  display: grid;
  gap: 8px;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 12px;
}

.control-decision-list span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.control-decision-list strong {
  color: var(--wine-dark);
  line-height: 1.45;
}

.control-final {
  margin-top: 18px;
  padding: 38px clamp(34px, 5vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  color: var(--white);
  background: linear-gradient(100deg, var(--wine-dark), #7d3b57);
  border-radius: 18px;
}

.control-final > div {
  max-width: 730px;
}

.control-final .eyebrow {
  color: #e2cbd3;
}

.control-final p:last-child {
  margin-bottom: 0;
  color: #f6edf0;
  line-height: 1.65;
}

.control-final .button-primary {
  flex: 0 0 auto;
  color: var(--wine-dark);
  background: var(--white);
}

@media (max-width: 980px) {
  .control-hero {
    grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.88fr);
  }

  .control-hero-copy {
    padding: 46px 36px;
  }

  .control-hero-media {
    min-height: 660px;
  }

  .control-paths {
    grid-template-columns: 1fr;
  }

  .control-paths div {
    padding: 10px 14px;
    grid-template-columns: 64px 1fr;
    text-align: left;
  }

  .control-paths div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .control-escalation ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 30px;
  }

  .control-escalation li:nth-child(3) {
    border-left: 0;
  }

  .control-decision {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .controls-page main {
    padding-bottom: 56px;
  }

  .control-hero,
  .control-section-wrap,
  .control-hide,
  .control-pair,
  .control-distinction,
  .control-evidence,
  .control-escalation,
  .control-boundaries,
  .control-decision,
  .control-final {
    width: calc(100% - 32px);
  }

  .control-hero,
  .control-hide,
  .control-pair,
  .control-evidence {
    grid-template-columns: 1fr;
  }

  .control-hero h1 {
    font-size: clamp(2.25rem, 10vw, 3rem);
  }

  .control-hero-media {
    min-height: 480px;
  }

  .control-section-wrap,
  .control-pair,
  .control-evidence,
  .control-boundaries {
    padding-block: 62px;
  }

  .control-hide,
  .control-distinction,
  .control-escalation,
  .control-decision {
    padding: 42px 24px;
  }

  .control-distinction-grid,
  .control-boundary-grid {
    grid-template-columns: 1fr;
  }

  .control-distinction-grid article {
    padding: 22px 0;
  }

  .control-distinction-grid article + article {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 0;
  }

  .control-evidence {
    gap: 30px;
  }

  .control-evidence-note {
    border-radius: 16px;
  }

  .control-final {
    padding: 38px 24px;
    align-items: flex-start;
    flex-direction: column;
    gap: 26px;
  }
}

@media (max-width: 560px) {
  .control-hero-copy {
    padding: 38px 22px;
  }

  .control-hero-media {
    min-height: 410px;
  }

  .control-paths {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .control-hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .control-escalation ol,
  .control-decision-list {
    grid-template-columns: 1fr;
  }

  .control-escalation li {
    padding: 20px 0;
  }

  .control-escalation li + li,
  .control-escalation li:nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

/* Task-based help hub */
.help-page main {
  padding-bottom: 76px;
}

.help-hero,
.help-router,
.help-platform,
.help-account,
.help-account-states,
.help-route-columns,
.help-membership,
.help-app,
.help-controls,
.help-technical,
.help-support,
.help-final {
  width: min(calc(100% - 48px), 1180px);
  margin-inline: auto;
}

.help-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--soft-line);
  border-radius: 22px;
  box-shadow: 0 20px 58px rgba(62, 42, 46, 0.1);
}

.help-hero-copy {
  padding: clamp(44px, 5vw, 68px);
}

.help-hero h1 {
  color: var(--wine-dark);
  font-size: clamp(2.45rem, 3.7vw, 3.35rem);
  line-height: 1.06;
}

.help-hero-copy > p:not(.eyebrow) {
  max-width: 670px;
  color: #514647;
  font-size: 1.05rem;
  line-height: 1.72;
}

.help-search-form {
  margin-top: 30px;
}

.help-search-form > label {
  margin-bottom: 9px;
  display: block;
  color: var(--wine-dark);
  font-weight: 750;
}

.help-search-box {
  min-height: 62px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  background: #fffdf9;
  border: 1px solid #cdbfc0;
  border-radius: 999px;
  box-shadow: 0 9px 26px rgba(62, 42, 46, 0.08);
}

.help-search-box:focus-within {
  border-color: var(--wine);
  box-shadow: 0 0 0 4px rgba(124, 52, 82, 0.12);
}

.help-search-box svg {
  width: 23px;
  margin-left: 22px;
  fill: none;
  stroke: var(--wine);
  stroke-width: 2;
  stroke-linecap: round;
}

.help-search-box input {
  width: 100%;
  min-width: 0;
  padding: 16px 0;
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
  font: inherit;
}

.help-search-box input::placeholder {
  color: #8b7d7e;
}

.help-search-box button {
  min-height: 46px;
  margin-right: 8px;
  padding: 0 22px;
  color: var(--white);
  background: var(--wine);
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 750;
  cursor: pointer;
}

.help-search-box button:hover,
.help-search-box button:focus-visible {
  background: var(--wine-dark);
}

.help-search-hint,
.help-search-status {
  margin: 10px 8px 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.help-search-status {
  min-height: 1.5em;
  color: var(--wine-dark);
  font-weight: 650;
}

.help-first-step {
  padding: 46px 34px;
  color: var(--white);
  background: var(--wine-dark);
}

.help-first-step .eyebrow {
  color: #dcc7cd;
}

.help-first-step ol {
  margin: 30px 0;
  padding: 0;
  list-style: none;
}

.help-first-step li {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.help-first-step li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.help-first-step li span {
  color: #dfc4cd;
  font-family: var(--serif);
  font-size: 1.35rem;
}

.help-first-step > p:last-child {
  color: #eee4e7;
  font-size: 0.86rem;
  line-height: 1.65;
}

.help-router {
  padding-block: 86px 74px;
}

.help-section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.help-section-heading h2,
.help-account h2,
.help-route-columns h2,
.help-membership h2,
.help-app h2,
.help-controls h2,
.help-technical h2,
.help-support h2,
.help-final h2 {
  font-size: clamp(1.95rem, 2.9vw, 2.55rem);
  line-height: 1.1;
  text-wrap: balance;
}

.help-section-heading > p:last-child {
  color: var(--muted);
  line-height: 1.7;
}

.help-topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
}

.help-topic-card {
  min-height: 190px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.help-topic-card:hover {
  transform: translateY(-3px);
  border-color: #cfb8bf;
  box-shadow: 0 12px 30px rgba(62, 42, 46, 0.08);
}

.help-topic-card[hidden] {
  display: none;
}

.help-topic-card > span,
.help-platform-label,
.help-state-strip span,
.help-billing-paths span {
  color: var(--wine);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.help-topic-card h3 {
  margin: 10px 0 8px;
  font-size: 1.5rem;
  line-height: 1.18;
}

.help-topic-card p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.6;
}

.help-topic-card a,
.help-platform-grid a,
.help-account a,
.help-route-columns a,
.help-controls a,
.help-inline-link {
  margin-top: auto;
  color: var(--wine-dark);
  font-weight: 750;
  text-underline-offset: 4px;
}

.help-search-empty {
  margin-top: 20px;
  padding: 34px;
  text-align: center;
  background: #f4ece7;
  border-radius: 14px;
}

.help-search-empty h3 {
  font-size: 1.6rem;
}

.help-search-empty .button {
  color: var(--wine-dark);
  border-color: var(--wine);
}

.help-platform {
  padding: clamp(46px, 6vw, 70px);
  background: #eee3dc;
  border-radius: 22px;
}

.help-platform-grid,
.help-billing-paths {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.help-platform-grid article,
.help-billing-paths article {
  padding: 28px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.84);
  border-radius: 14px;
}

.help-platform-grid h3 {
  margin: 10px 0;
  font-size: 1.42rem;
}

.help-platform-grid p,
.help-billing-paths p {
  color: var(--muted);
  line-height: 1.62;
}

.help-account {
  padding-block: 86px 72px;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 90px);
}

.help-account > div:first-child p:last-child {
  color: var(--muted);
  line-height: 1.7;
}

.help-account-routes {
  display: grid;
  align-content: start;
}

.help-account-routes > a {
  padding: 18px 0;
  display: grid;
  gap: 3px;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.help-account-routes > a:last-child {
  border-bottom: 1px solid var(--line);
}

.help-account-routes span {
  color: var(--wine-dark);
  font-weight: 750;
}

.help-account-routes small {
  color: var(--muted);
  font-size: 0.8rem;
}

.help-account-states {
  padding: clamp(44px, 5vw, 62px);
  color: var(--white);
  background: var(--wine-dark);
  border-radius: 22px;
}

.help-account-states .eyebrow {
  color: #ddc5cd;
}

.help-state-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.help-state-strip article {
  padding: 8px 22px;
}

.help-state-strip article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.help-state-strip span {
  color: #e2c9d1;
}

.help-state-strip p {
  margin-bottom: 0;
  color: #f3eaed;
  font-size: 0.87rem;
  line-height: 1.6;
}

.help-state-note {
  margin: 32px 0 0;
  padding: 20px 22px;
  color: #4f4345;
  background: #f7eee9;
  border-radius: 12px;
  line-height: 1.68;
}

.help-state-note strong {
  color: var(--wine-dark);
}

.help-route-columns {
  padding-block: 84px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.help-route-columns > article {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--wine);
}

.help-route-columns h2 {
  font-size: clamp(1.65rem, 2.2vw, 2rem);
}

.help-route-columns p {
  color: var(--muted);
  line-height: 1.65;
}

.help-route-columns ul {
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.help-route-columns li {
  padding: 13px 0;
  display: grid;
  gap: 3px;
  border-top: 1px solid var(--line);
}

.help-route-columns li:last-child {
  border-bottom: 1px solid var(--line);
}

.help-route-columns li span {
  color: var(--muted);
  font-size: 0.78rem;
}

.help-membership {
  padding: clamp(46px, 6vw, 70px);
  background: #f1e7e1;
  border-radius: 22px;
}

.help-membership > div:first-child {
  max-width: 760px;
}

.help-membership > div:first-child p:last-child {
  color: var(--muted);
  line-height: 1.68;
}

.help-billing-paths {
  margin-top: 32px;
}

.help-billing-paths p {
  margin-bottom: 0;
}

.help-app {
  padding-block: 84px;
  display: grid;
  grid-template-columns: minmax(230px, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(44px, 8vw, 96px);
  align-items: center;
}

.help-app picture {
  max-width: 300px;
  justify-self: center;
  overflow: hidden;
  background: var(--wine-dark);
  border-radius: 34px;
  box-shadow: 0 24px 48px rgba(62, 42, 46, 0.18);
}

.help-app img {
  width: 100%;
  height: auto;
  display: block;
}

.help-app p,
.help-app li {
  color: var(--muted);
  line-height: 1.68;
}

.help-app ul {
  margin: 22px 0;
  padding-left: 20px;
}

.help-app li + li {
  margin-top: 8px;
}

.help-controls {
  padding: clamp(44px, 6vw, 66px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(38px, 7vw, 80px);
  color: var(--white);
  background: #30282a;
  border-radius: 22px;
}

.help-controls .eyebrow {
  color: #dcc4cc;
}

.help-controls p {
  color: #f1e9eb;
  line-height: 1.68;
}

.help-controls a {
  color: var(--white);
}

.help-controls aside {
  padding: 26px;
  color: #4d4143;
  background: #f6ede8;
  border-radius: 14px;
}

.help-controls aside strong {
  color: var(--wine-dark);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.help-controls aside p {
  margin-bottom: 0;
  color: #55494b;
}

.help-technical {
  padding-block: 84px 72px;
}

.help-technical > div:first-child {
  max-width: 720px;
}

.help-technical ol {
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
}

.help-technical li {
  padding: 0 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
}

.help-technical li + li {
  border-left: 1px solid var(--line);
}

.help-technical li > span {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.45rem;
}

.help-technical p {
  color: var(--muted);
  line-height: 1.6;
}

.help-technical li p {
  margin: 6px 0 0;
  font-size: 0.84rem;
}

.help-support {
  padding: clamp(46px, 6vw, 68px);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(270px, 0.75fr);
  gap: clamp(44px, 7vw, 84px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.help-support p,
.help-support li {
  color: var(--muted);
  line-height: 1.65;
}

.help-support ul {
  margin: 20px 0 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 34px;
}

.help-support aside {
  padding: 26px;
  background: #f3e7e2;
  border-radius: 14px;
}

.help-support aside strong {
  color: var(--wine-dark);
  font-family: var(--serif);
  font-size: 1.45rem;
}

.help-support aside ul {
  columns: 1;
}

.help-support aside p {
  margin-bottom: 0;
  font-size: 0.82rem;
}

.help-final {
  margin-top: 18px;
  padding: 38px clamp(34px, 5vw, 60px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 46px;
  color: var(--white);
  background: linear-gradient(100deg, var(--wine-dark), #7d3b57);
  border-radius: 18px;
}

.help-final > div {
  max-width: 760px;
}

.help-final .eyebrow {
  color: #e2cbd3;
}

.help-final p:last-child {
  margin-bottom: 0;
  color: #f6edf0;
  line-height: 1.65;
}

.help-final .button-primary {
  flex: 0 0 auto;
  color: var(--wine-dark);
  background: var(--white);
}

@media (max-width: 980px) {
  .help-hero {
    grid-template-columns: minmax(0, 1.2fr) minmax(270px, 0.8fr);
  }

  .help-hero-copy {
    padding: 46px 34px;
  }

  .help-state-strip,
  .help-technical ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 28px;
  }

  .help-state-strip article:nth-child(3),
  .help-technical li:nth-child(3) {
    border-left: 0;
  }

  .help-route-columns {
    grid-template-columns: 1fr 1fr;
  }

  .help-route-columns article:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 780px) {
  .help-page main {
    padding-bottom: 54px;
  }

  .help-hero,
  .help-router,
  .help-platform,
  .help-account,
  .help-account-states,
  .help-route-columns,
  .help-membership,
  .help-app,
  .help-controls,
  .help-technical,
  .help-support,
  .help-final {
    width: calc(100% - 32px);
  }

  .help-hero,
  .help-account,
  .help-app,
  .help-controls,
  .help-support {
    grid-template-columns: 1fr;
  }

  .help-hero h1 {
    font-size: clamp(2.25rem, 10vw, 2.9rem);
  }

  .help-first-step {
    padding: 36px 24px;
  }

  .help-router,
  .help-account,
  .help-route-columns,
  .help-app,
  .help-technical {
    padding-block: 60px;
  }

  .help-platform,
  .help-account-states,
  .help-membership,
  .help-controls,
  .help-support {
    padding: 42px 24px;
  }

  .help-platform-grid,
  .help-billing-paths,
  .help-route-columns {
    grid-template-columns: 1fr;
  }

  .help-route-columns article:last-child {
    grid-column: auto;
  }

  .help-app picture {
    max-width: 250px;
  }

  .help-final {
    padding: 38px 24px;
    align-items: flex-start;
    flex-direction: column;
    gap: 26px;
  }
}

@media (max-width: 560px) {
  .help-hero-copy {
    padding: 38px 22px;
  }

  .help-search-box {
    padding: 12px;
    grid-template-columns: auto minmax(0, 1fr);
    border-radius: 18px;
  }

  .help-search-box svg {
    margin-left: 4px;
  }

  .help-search-box button {
    grid-column: 1 / -1;
    width: 100%;
    margin: 0;
  }

  .help-topic-grid,
  .help-state-strip,
  .help-technical ol {
    grid-template-columns: 1fr;
  }

  .help-state-strip article,
  .help-technical li {
    padding: 20px 0;
  }

  .help-state-strip article + article,
  .help-state-strip article:nth-child(3),
  .help-technical li + li,
  .help-technical li:nth-child(3) {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 0;
  }

  .help-technical li + li,
  .help-technical li:nth-child(3) {
    border-top-color: var(--line);
  }

  .help-support ul {
    columns: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Recommended Matches feature page */
.page-breadcrumb {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  gap: 10px;
  color: var(--muted);
  font-size: 0.76rem;
}

.page-breadcrumb a {
  color: var(--wine-dark);
  text-decoration: none;
}

.page-breadcrumb a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.rm-section {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
  padding-block: 72px;
}

.rm-hero {
  width: min(calc(100% - 48px), 1320px);
  min-height: 590px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  overflow: hidden;
  background: linear-gradient(125deg, var(--paper-deep), #f8f3eb 72%);
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(62, 42, 46, 0.09);
}

.rm-hero-copy {
  padding: clamp(42px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.rm-hero-copy h1 {
  max-width: 720px;
  color: var(--wine-dark);
  font-size: clamp(2.25rem, 3.1vw, 3.25rem);
  line-height: 1.09;
  text-wrap: pretty;
}

.rm-hero-lede {
  max-width: 650px;
  color: #463d3e;
  font-size: 1.02rem;
  line-height: 1.72;
}

.rm-answer-note {
  max-width: 620px;
  margin: 8px 0 0;
  padding: 15px 0 15px 19px;
  color: var(--muted);
  border-left: 2px solid var(--wine);
  font-size: 0.88rem;
}

.rm-answer-note strong {
  color: var(--wine-dark);
}

.rm-hero-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.rm-text-link,
.rm-choice-options a {
  color: var(--wine-dark);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.rm-text-link::after,
.rm-choice-options a::after {
  content: " →";
}

.rm-hero-media {
  min-height: 590px;
}

.rm-hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
}

.rm-section-heading {
  max-width: 790px;
  margin-bottom: 38px;
}

.rm-section-heading > p:last-child,
.rm-faq-intro > p:last-child {
  color: var(--muted);
}

.rm-model {
  border-bottom: 1px solid var(--line);
}

.rm-relevance-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: stretch;
  border-block: 1px solid var(--line);
}

.rm-relevance-grid article {
  padding: 34px clamp(22px, 4vw, 48px) 28px;
}

.rm-relevance-grid article:first-child {
  padding-left: 0;
}

.rm-relevance-grid article:last-child {
  padding-right: 0;
}

.rm-index {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.rm-relevance-grid h3 {
  margin-top: 12px;
}

.rm-relevance-grid p,
.rm-profile-copy > p:not(.eyebrow),
.rm-context-columns p,
.rm-distance-copy p:not(.eyebrow),
.rm-career > div:last-child,
.rm-diagnosis-intro > p:last-child {
  color: var(--muted);
}

.rm-not-equal {
  width: 70px;
  display: grid;
  place-items: center;
  color: var(--wine);
  border-inline: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 2rem;
}

.rm-profile {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: clamp(48px, 8vw, 96px);
  align-items: center;
}

.rm-profile-media {
  min-height: 590px;
  overflow: hidden;
  border-radius: 7px 110px 7px 7px;
  box-shadow: var(--shadow);
}

.rm-profile-media img {
  min-height: 590px;
  object-fit: cover;
  object-position: center;
}

.rm-reading-order {
  margin: 26px 0;
  border-top: 1px solid var(--line);
}

.rm-reading-order > div {
  padding: 16px 0;
  display: grid;
  grid-template-columns: 0.36fr 0.64fr;
  gap: 22px;
  border-bottom: 1px solid var(--line);
}

.rm-reading-order dt {
  color: var(--wine-dark);
  font-family: var(--serif);
  font-size: 1.08rem;
}

.rm-reading-order dd {
  color: var(--muted);
  font-size: 0.88rem;
}

.rm-limit {
  padding: 16px 18px;
  background: rgba(234, 218, 221, 0.38);
  border-radius: 5px;
  font-size: 0.86rem;
}

.rm-context {
  padding: 54px clamp(32px, 5vw, 64px);
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 60px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.rm-context-heading h2 {
  margin-bottom: 0;
}

.rm-context-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.rm-context-columns article {
  padding: 8px 28px;
}

.rm-context-columns article + article {
  border-left: 1px solid var(--line);
}

.rm-context-columns p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.rm-distance {
  margin-top: 74px;
  padding: 72px max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 70px;
  align-items: center;
  background: linear-gradient(110deg, #ede3d6, #f7f1e8 72%);
  border-block: 1px solid rgba(113, 53, 77, 0.11);
}

.rm-distance-copy {
  max-width: 480px;
}

.rm-distance-visual {
  display: grid;
  grid-template-columns: 1fr 120px 1fr;
  align-items: center;
}

.rm-place {
  min-height: 230px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid var(--line);
  border-radius: 50% 50% 9px 9px;
  text-align: center;
}

.rm-place span {
  margin-bottom: 8px;
  color: var(--wine);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rm-place strong {
  color: var(--wine-dark);
  font-family: var(--serif);
  font-size: 1.22rem;
  font-weight: 400;
}

.rm-place p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.rm-route {
  position: relative;
  height: 1px;
  background: var(--wine);
}

.rm-route::before,
.rm-route::after,
.rm-route span {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  background: var(--paper);
  border: 2px solid var(--wine);
  border-radius: 50%;
  transform: translateY(-50%);
}

.rm-route::before {
  left: -1px;
}

.rm-route::after {
  right: -1px;
}

.rm-route span {
  left: calc(50% - 5px);
}

.rm-career {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 70px;
  border-bottom: 1px solid var(--line);
}

.rm-career > div:last-child {
  columns: 2;
  column-gap: 36px;
}

.rm-career > div:last-child p {
  break-inside: avoid;
}

.rm-meaning {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 70px;
}

.rm-meaning-lines {
  border-top: 1px solid var(--line);
}

.rm-meaning-lines article {
  padding: 24px 0;
  display: grid;
  grid-template-columns: 0.35fr 0.65fr;
  gap: 26px;
  border-bottom: 1px solid var(--line);
}

.rm-meaning-lines span {
  color: var(--wine-dark);
  font-family: var(--serif);
  font-size: 1.2rem;
}

.rm-meaning-lines p {
  margin: 0;
  color: var(--muted);
}

.rm-diagnosis {
  padding: 58px clamp(30px, 5vw, 64px);
  background: #eee6dc;
  border: 1px solid rgba(113, 53, 77, 0.1);
  border-radius: 8px;
}

.rm-diagnosis-intro {
  max-width: 770px;
}

.rm-diagnosis-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}

.rm-diagnosis-grid article {
  padding: 24px;
}

.rm-diagnosis-grid article + article {
  border-left: 1px solid var(--line);
}

.rm-diagnosis-grid span {
  color: var(--wine-dark);
  font-family: var(--serif);
  font-size: 1.05rem;
}

.rm-diagnosis-grid p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.rm-pattern-check {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 48px;
  align-items: start;
}

.rm-pattern-check h3 {
  margin-bottom: 0;
}

.rm-pattern-check p {
  color: var(--muted);
}

.rm-choice {
  width: min(calc(100% - 48px), var(--max));
  margin: 74px auto;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  overflow: hidden;
  color: var(--white);
  background: var(--wine-dark);
  border-radius: 8px;
}

.rm-choice-heading {
  padding: 50px;
}

.rm-choice-heading .eyebrow {
  color: #e7cbd5;
}

.rm-choice-heading h2 {
  color: var(--white);
}

.rm-choice-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--cream);
}

.rm-choice-options article {
  padding: 50px 34px;
  color: var(--ink);
}

.rm-choice-options article + article {
  border-left: 1px solid var(--line);
}

.rm-choice-options span {
  color: var(--wine);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.rm-choice-options p {
  margin: 18px 0 25px;
  color: var(--muted);
  font-size: 0.9rem;
}

.rm-checklist {
  width: min(calc(100% - 48px), var(--max));
  padding: 58px clamp(30px, 5vw, 64px);
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 58px;
  color: var(--white);
  background: #2d2024;
  border-radius: 8px;
}

.rm-checklist .eyebrow {
  color: #d9aebe;
}

.rm-checklist h2,
.rm-checklist h3 {
  color: var(--white);
}

.rm-checklist-heading > p:last-child {
  color: #cfc4c6;
}

.rm-checklist ol {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  list-style: none;
}

.rm-checklist li {
  padding: 24px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.rm-checklist li > span {
  color: #d9aebe;
  font-family: var(--serif);
}

.rm-checklist li h3 {
  margin-bottom: 7px;
  font-size: 1.08rem;
}

.rm-checklist li p {
  margin: 0;
  color: #cfc4c6;
  font-size: 0.8rem;
}

.rm-faq {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: 70px;
  align-items: start;
}

.rm-faq-intro {
  position: sticky;
  top: 100px;
}

.rm-faq-list {
  border-top: 1px solid var(--line);
}

.rm-faq-list details {
  border-bottom: 1px solid var(--line);
}

.rm-faq-list summary {
  position: relative;
  padding: 22px 48px 22px 0;
  color: var(--wine-dark);
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.12rem;
  list-style: none;
}

.rm-faq-list summary::-webkit-details-marker {
  display: none;
}

.rm-faq-list summary::after {
  content: "+";
  position: absolute;
  top: 19px;
  right: 4px;
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 300;
}

.rm-faq-list details[open] summary::after {
  content: "−";
}

.rm-faq-list details p {
  max-width: 700px;
  padding: 0 52px 20px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.rm-final {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto 72px;
  padding: 46px clamp(30px, 5vw, 62px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  background: linear-gradient(100deg, #e8d6d9, #f1e6db 68%, #e4d4ca);
  border: 1px solid rgba(113, 53, 77, 0.12);
  border-radius: 8px;
}

.rm-final > div:first-child {
  max-width: 710px;
}

.rm-final h2 {
  margin-bottom: 12px;
}

.rm-final p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
}

.rm-final-actions {
  min-width: 240px;
  display: grid;
  gap: 12px;
}

@media (max-width: 980px) {
  .rm-hero {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .rm-hero-copy {
    padding: 44px 32px;
  }

  .rm-context,
  .rm-distance,
  .rm-career,
  .rm-meaning,
  .rm-choice,
  .rm-checklist {
    grid-template-columns: 1fr;
  }

  .rm-distance-copy {
    max-width: 720px;
  }

  .rm-choice-options {
    min-height: 300px;
  }
}

@media (max-width: 780px) {
  .page-breadcrumb,
  .rm-section,
  .rm-hero,
  .rm-choice,
  .rm-checklist,
  .rm-final {
    width: calc(100% - 32px);
  }

  .page-breadcrumb {
    overflow: hidden;
    white-space: nowrap;
  }

  .rm-section {
    padding-block: 56px;
  }

  .rm-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .rm-hero-copy {
    padding: 46px 24px 38px;
  }

  .rm-hero-copy h1 {
    font-size: clamp(2.05rem, 8.7vw, 2.7rem);
  }

  .rm-hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .rm-hero-media {
    min-height: 390px;
  }

  .rm-relevance-grid {
    grid-template-columns: 1fr;
  }

  .rm-relevance-grid article,
  .rm-relevance-grid article:first-child,
  .rm-relevance-grid article:last-child {
    padding: 28px 0;
  }

  .rm-not-equal {
    width: 100%;
    height: 58px;
    border-block: 1px solid var(--line);
    border-inline: 0;
  }

  .rm-profile {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .rm-profile-media,
  .rm-profile-media img {
    min-height: 410px;
  }

  .rm-context {
    padding: 40px 24px;
    gap: 30px;
  }

  .rm-context-columns,
  .rm-distance-visual,
  .rm-diagnosis-grid,
  .rm-pattern-check,
  .rm-choice-options,
  .rm-checklist ol,
  .rm-faq {
    grid-template-columns: 1fr;
  }

  .rm-context-columns article {
    padding: 24px 0;
  }

  .rm-context-columns article + article,
  .rm-diagnosis-grid article + article,
  .rm-choice-options article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .rm-distance {
    margin-top: 54px;
    padding: 54px 24px;
    gap: 32px;
  }

  .rm-distance-visual {
    gap: 0;
  }

  .rm-route {
    width: 1px;
    height: 70px;
    margin-inline: auto;
  }

  .rm-route::before {
    top: 0;
    left: -4px;
  }

  .rm-route::after {
    top: auto;
    right: auto;
    bottom: -8px;
    left: -4px;
  }

  .rm-route span {
    top: calc(50% - 4px);
    left: -4px;
  }

  .rm-career {
    gap: 24px;
  }

  .rm-career > div:last-child {
    columns: 1;
  }

  .rm-meaning {
    gap: 24px;
  }

  .rm-meaning-lines article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .rm-diagnosis {
    padding: 42px 24px;
  }

  .rm-diagnosis-grid article {
    padding: 22px 4px;
  }

  .rm-pattern-check {
    gap: 16px;
  }

  .rm-choice {
    margin-block: 54px;
  }

  .rm-choice-heading,
  .rm-choice-options article {
    padding: 36px 24px;
  }

  .rm-checklist {
    padding: 42px 24px;
    gap: 30px;
  }

  .rm-checklist li {
    padding: 20px 0;
    border-width: 1px 0 0;
  }

  .rm-faq {
    gap: 24px;
  }

  .rm-faq-intro {
    position: static;
  }

  .rm-final {
    padding: 38px 24px;
    align-items: stretch;
    flex-direction: column;
    gap: 28px;
  }

  .rm-final-actions {
    min-width: 0;
  }
}

@media (max-width: 520px) {
  .rm-reading-order > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .rm-profile-media,
  .rm-profile-media img {
    min-height: 330px;
  }

  .rm-place {
    min-height: 210px;
    padding: 26px 22px;
  }
}

/* Member types and life-context page */
.ty-section {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
  padding-block: 72px;
}

.ty-section-heading {
  max-width: 830px;
  margin-bottom: 40px;
}

.ty-section-heading > p:last-child,
.ty-faq-intro > p:last-child {
  color: var(--muted);
}

.ty-hero {
  width: min(calc(100% - 48px), 1320px);
  min-height: 590px;
  margin: 0 auto 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(360px, 0.86fr);
  overflow: hidden;
  background: linear-gradient(128deg, var(--paper-deep), #f9f3e9 74%);
  border: 1px solid var(--soft-line);
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(62, 42, 46, 0.09);
}

.ty-hero-copy {
  padding: clamp(42px, 4vw, 66px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ty-hero-copy h1 {
  max-width: 730px;
  color: var(--wine-dark);
  font-size: clamp(2.35rem, 3.25vw, 3.45rem);
  line-height: 1.07;
  text-wrap: pretty;
}

.ty-hero-lede {
  max-width: 660px;
  color: #463d3e;
  font-size: 1.02rem;
  line-height: 1.72;
}

.ty-answer-note {
  max-width: 630px;
  margin: 8px 0 0;
  padding: 15px 0 15px 19px;
  color: var(--muted);
  border-left: 2px solid var(--wine);
  font-size: 0.88rem;
}

.ty-answer-note strong {
  color: var(--wine-dark);
}

.ty-hero-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.ty-text-link,
.ty-faq-list a {
  color: var(--wine-dark);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.ty-text-link::after {
  content: " →";
}

.ty-hero-media {
  min-height: 590px;
}

.ty-hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
}

.ty-model {
  border-bottom: 1px solid var(--line);
}

.ty-axis-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid var(--line);
}

.ty-axis-grid article {
  min-height: 245px;
  padding: 34px clamp(24px, 4vw, 46px);
}

.ty-axis-grid article:first-child {
  padding-left: 0;
}

.ty-axis-grid article:last-child {
  padding-right: 0;
}

.ty-axis-grid article + article {
  border-left: 1px solid var(--line);
}

.ty-axis-grid span {
  color: var(--wine);
  font-family: var(--serif);
  font-size: 1.05rem;
}

.ty-axis-grid h3 {
  margin-top: 18px;
}

.ty-axis-grid p {
  color: var(--muted);
  font-size: 0.88rem;
}

.ty-equation {
  margin-top: 34px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 6vw, 76px);
  color: var(--wine-dark);
  background: rgba(234, 218, 221, 0.38);
  border: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.ty-equation b {
  color: var(--wine);
  font-size: 2.2rem;
  font-weight: 400;
}

.ty-professional {
  margin-top: 74px;
  padding: 72px max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: center;
  background: linear-gradient(110deg, #ede3d6, #f7f1e8 72%);
  border-block: 1px solid rgba(113, 53, 77, 0.11);
}

.ty-professional-copy {
  max-width: 520px;
}

.ty-professional-copy p:not(.eyebrow) {
  color: var(--muted);
}

.ty-rhythm-spectrum {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  border-bottom: 1px solid var(--wine);
}

.ty-rhythm-spectrum span {
  position: relative;
  min-height: 176px;
  padding: 26px 15px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: var(--wine-dark);
  border-left: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1rem;
  text-align: center;
}

.ty-rhythm-spectrum span::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 9px;
  height: 9px;
  background: var(--paper);
  border: 2px solid var(--wine);
  border-radius: 50%;
  transform: translateX(-50%);
}

.ty-rhythm-spectrum span:nth-child(1) { min-height: 138px; }
.ty-rhythm-spectrum span:nth-child(2) { min-height: 174px; }
.ty-rhythm-spectrum span:nth-child(3) { min-height: 212px; }
.ty-rhythm-spectrum span:nth-child(4) { min-height: 250px; }

.ty-rhythm {
  display: grid;
  grid-template-columns: 0.66fr 1.34fr;
  gap: 70px;
  align-items: start;
}

.ty-rhythm-cases {
  border-top: 1px solid var(--line);
}

.ty-rhythm-cases article {
  padding: 24px 0;
  display: grid;
  grid-template-columns: 0.34fr 0.66fr;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.ty-rhythm-cases h3,
.ty-rhythm-cases p {
  margin: 0;
}

.ty-rhythm-cases p {
  color: var(--muted);
}

.ty-existing-life {
  padding: 58px clamp(30px, 5vw, 64px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ty-life-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.ty-life-strip article {
  padding: 28px 28px 5px;
}

.ty-life-strip article:first-child {
  padding-left: 0;
}

.ty-life-strip article + article {
  border-left: 1px solid var(--line);
}

.ty-life-strip span,
.ty-location-grid span,
.ty-context-matrix span {
  color: var(--wine);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ty-life-strip p {
  color: var(--muted);
  font-size: 0.88rem;
}

.ty-career-stage {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 70px;
  border-bottom: 1px solid var(--line);
}

.ty-career-stage > div:last-child {
  color: var(--muted);
  columns: 2;
  column-gap: 36px;
}

.ty-career-stage > div:last-child p {
  break-inside: avoid;
}

.ty-australia {
  padding: 72px max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 0.74fr 1.26fr;
  gap: 70px;
  align-items: center;
  color: var(--white);
  background: #38262d;
}

.ty-australia .eyebrow {
  color: #d9aebe;
}

.ty-australia h2 {
  color: var(--white);
}

.ty-australia-copy p:not(.eyebrow) {
  color: #d6ccce;
}

.ty-location-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
}

.ty-location-grid article {
  min-height: 230px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--ink);
  background: var(--paper-deep);
  border-radius: 50% 50% 8px 8px;
  text-align: center;
}

.ty-location-grid article + article {
  margin-left: 12px;
}

.ty-location-grid p {
  color: var(--muted);
  font-size: 0.82rem;
}

.ty-intent {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: center;
}

.ty-intent-lead p:not(.eyebrow) {
  color: var(--muted);
}

.ty-intent-contrast {
  padding: 38px;
  background: rgba(234, 218, 221, 0.38);
  border-left: 2px solid var(--wine);
}

.ty-intent-contrast span {
  color: var(--wine);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ty-intent-contrast p {
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.15rem;
}

.ty-intent-contrast strong {
  color: var(--wine-dark);
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
}

.ty-elite {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: 70px;
  border-block: 1px solid var(--line);
}

.ty-elite-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ty-elite-grid article {
  padding: 8px 30px;
}

.ty-elite-grid article:first-child {
  padding-left: 0;
}

.ty-elite-grid article + article {
  border-left: 1px solid var(--line);
}

.ty-elite-grid p {
  color: var(--muted);
}

.ty-profile-reading {
  padding-bottom: 44px;
}

.ty-reading-model {
  display: grid;
  grid-template-columns: 0.55fr auto 1.45fr;
  gap: 32px;
  align-items: stretch;
}

.ty-job-card {
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #eee6dc;
  border: 1px solid var(--line);
}

.ty-job-card span {
  color: var(--wine-dark);
  font-family: var(--serif);
  font-size: 1.5rem;
}

.ty-job-card p {
  color: var(--muted);
}

.ty-not-equal {
  display: grid;
  place-items: center;
  color: var(--wine);
  font-family: var(--serif);
  font-size: 2.2rem;
}

.ty-reading-model dl {
  margin: 0;
  border-top: 1px solid var(--line);
}

.ty-reading-model dl > div {
  padding: 15px 0;
  display: grid;
  grid-template-columns: 0.34fr 0.66fr;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.ty-reading-model dt {
  color: var(--wine-dark);
  font-family: var(--serif);
  font-size: 1.05rem;
}

.ty-reading-model dd {
  color: var(--muted);
  font-size: 0.88rem;
}

.ty-context-map {
  width: min(calc(100% - 48px), var(--max));
  margin: 28px auto 0;
  padding: 58px clamp(30px, 5vw, 64px);
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 60px;
  color: var(--white);
  background: var(--wine-dark);
  border-radius: 8px;
}

.ty-context-map .eyebrow {
  color: #e7cbd5;
}

.ty-context-map h2 {
  color: var(--white);
}

.ty-context-heading > p:last-child {
  color: #cfc4c6;
}

.ty-context-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.ty-context-matrix article {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.ty-context-matrix p {
  margin-bottom: 0;
  color: #d7cdcf;
  font-family: var(--serif);
  font-size: 1rem;
}

.ty-faq {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: 70px;
  align-items: start;
}

.ty-faq-intro {
  position: sticky;
  top: 100px;
}

.ty-faq-list {
  border-top: 1px solid var(--line);
}

.ty-faq-list details {
  border-bottom: 1px solid var(--line);
}

.ty-faq-list summary {
  position: relative;
  padding: 22px 48px 22px 0;
  color: var(--wine-dark);
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.12rem;
  list-style: none;
}

.ty-faq-list summary::-webkit-details-marker {
  display: none;
}

.ty-faq-list summary::after {
  content: "+";
  position: absolute;
  top: 19px;
  right: 4px;
  font-family: var(--sans);
  font-size: 1.35rem;
  font-weight: 300;
}

.ty-faq-list details[open] summary::after {
  content: "−";
}

.ty-faq-list details p {
  max-width: 700px;
  padding: 0 52px 20px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.ty-final {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto 72px;
  padding: 46px clamp(30px, 5vw, 62px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  background: linear-gradient(100deg, #e8d6d9, #f1e6db 68%, #e4d4ca);
  border: 1px solid rgba(113, 53, 77, 0.12);
  border-radius: 8px;
}

.ty-final > div:first-child {
  max-width: 740px;
}

.ty-final h2 {
  margin-bottom: 12px;
}

.ty-final p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
}

.ty-final-actions {
  min-width: 240px;
  display: grid;
  gap: 12px;
}

@media (max-width: 980px) {
  .ty-hero {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .ty-hero-copy {
    padding: 44px 32px;
  }

  .ty-professional,
  .ty-rhythm,
  .ty-career-stage,
  .ty-australia,
  .ty-intent,
  .ty-elite,
  .ty-context-map {
    grid-template-columns: 1fr;
  }

  .ty-professional-copy {
    max-width: 760px;
  }
}

@media (max-width: 780px) {
  .page-breadcrumb,
  .ty-section,
  .ty-hero,
  .ty-context-map,
  .ty-final {
    width: calc(100% - 32px);
  }

  .ty-section {
    padding-block: 56px;
  }

  .ty-hero {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .ty-hero-copy {
    padding: 46px 24px 38px;
  }

  .ty-hero-copy h1 {
    font-size: clamp(2.1rem, 9vw, 2.85rem);
  }

  .ty-hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .ty-hero-media,
  .ty-hero-media img {
    min-height: 350px;
  }

  .ty-axis-grid,
  .ty-life-strip,
  .ty-location-grid,
  .ty-elite-grid,
  .ty-context-matrix,
  .ty-faq {
    grid-template-columns: 1fr;
  }

  .ty-axis-grid article,
  .ty-axis-grid article:first-child,
  .ty-axis-grid article:last-child,
  .ty-life-strip article,
  .ty-life-strip article:first-child,
  .ty-elite-grid article,
  .ty-elite-grid article:first-child {
    min-height: 0;
    padding: 26px 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .ty-axis-grid article:first-child,
  .ty-life-strip article:first-child,
  .ty-elite-grid article:first-child {
    border-top: 0;
  }

  .ty-equation {
    flex-direction: column;
    gap: 8px;
  }

  .ty-professional,
  .ty-australia {
    padding-block: 58px;
  }

  .ty-rhythm-spectrum {
    grid-template-columns: 1fr 1fr;
    border-bottom: 0;
  }

  .ty-rhythm-spectrum span:nth-child(n) {
    min-height: 118px;
    align-items: center;
    border: 1px solid var(--line);
  }

  .ty-rhythm-spectrum span::before {
    display: none;
  }

  .ty-rhythm-cases article,
  .ty-reading-model dl > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .ty-career-stage > div:last-child {
    columns: auto;
  }

  .ty-location-grid article + article {
    margin: 14px 0 0;
  }

  .ty-location-grid article {
    min-height: 180px;
  }

  .ty-reading-model {
    grid-template-columns: 1fr;
  }

  .ty-not-equal {
    min-height: 50px;
  }

  .ty-context-map {
    padding: 44px 24px;
  }

  .ty-faq-intro {
    position: static;
  }

  .ty-final {
    padding: 38px 24px;
    align-items: stretch;
    flex-direction: column;
  }

  .ty-final-actions {
    min-width: 0;
  }
}
