/* ─────────────────────────────────────────────────────────────────────────
   Cycle landing — mobile / tablet overrides.
   Loaded AFTER styles.css. Desktop (min-width: 901px) is untouched:
   the only rules outside a max-width query hide NEW chrome that does
   not exist in the desktop composition.
   ───────────────────────────────────────────────────────────────────────── */

.nav-open-io,
.nav-toggle,
.nav-backdrop,
.br-mob,
.duo-dots,
.sh-band-br {
  display: none;
}

.duo-heart-cluster { display: contents; }

/* ── tablet: stacked product demo (desktop rays stay at 1081+) ───────── */
@media (max-width: 1080px) {
  .hero .mode-badge {
    pointer-events: none;
    cursor: default;
    -webkit-tap-highlight-color: transparent;
  }
  .hero .mode-badge:hover,
  .hero .mode-badge:active,
  .hero .mode-badge:focus,
  .hero .mode-badge:focus-visible {
    transform: none;
    box-shadow: 0 2px 10px rgba(26, 18, 31, 0.05);
    outline: none;
  }
  .hero .mode-badge:hover .mb-hamdel,
  .hero .mode-badge:active .mb-hamdel,
  .hero .mode-badge:focus .mb-hamdel {
    background: var(--hd-soft);
    color: var(--hd-deep);
  }
  .hero .mode-badge:hover .mb-hamdel .mb-dot,
  .hero .mode-badge:active .mb-hamdel .mb-dot,
  .hero .mode-badge:focus .mb-hamdel .mb-dot {
    background: var(--hd-primary);
  }
  .fy-head .section-sub { white-space: normal; }
  .for-you {
    --fy-phone-w: min(27vw, 154px);
    --fy-phone-h: calc(var(--fy-phone-w) * 2.26);
    --fy-safe-gap: 14px;
  }
  .fy-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    column-gap: var(--fy-safe-gap);
    align-items: start;
    width: 100%;
    max-width: none;
    margin-inline: auto;
  }
  .fy-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    height: var(--fy-phone-h);
    position: relative;
    z-index: 2;
    overflow: visible;
  }
  .fy-panel-khodet .fy-col,
  .fy-panel-hamdel .fy-col { justify-content: flex-start; }
  .for-you .fy-phone {
    grid-column: auto;
    order: 0;
    position: relative;
    width: var(--fy-phone-w);
    height: var(--fy-phone-h);
    margin: 0;
    overflow: visible;
    justify-self: center;
    align-self: start;
    container-type: inline-size;
    z-index: 1;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .for-you .fy-phone::after {
    content: none;
    display: none;
  }
  .for-you .fy-phone .fy-device,
  .for-you .fy-phone .duo-device {
    position: absolute;
    top: 0;
    left: 50%;
    width: 336px;
    margin-left: -168px;
    transform: scale(calc(100cqi / 336px));
    transform-origin: top center;
    box-shadow: none;
    overflow: visible;
    z-index: 1;
  }
  .for-you .fy-phone .fy-device > * {
    position: relative;
    z-index: 1;
  }
  .for-you .fy-phone .fy-device > .dp-island {
    position: absolute;
    z-index: 3;
    left: 50%;
    transform: translateX(-50%);
  }
  .for-you .fy-phone .fy-device > .fy-rays {
    inset: 0;
    z-index: 2;
    overflow: visible;
  }
  .for-you .fy-panel-khodet[data-spot="status"] .hero-ring {
    z-index: 4;
    isolation: isolate;
  }
  /* Ring arc ray sits between petals and SVG so the stroke masks line + dot. */
  .for-you .fy-panel-khodet .hero-ring > .ring-petals { z-index: 0; }
  .for-you .fy-panel-khodet .hero-ring > .fy-rays-ring {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: visible;
  }
  .for-you .fy-panel-khodet .hero-ring > .ring-svg,
  .for-you .fy-panel-khodet .hero-ring > .ring-num,
  .for-you .fy-panel-khodet .hero-ring > .ring-center,
  .for-you .fy-panel-khodet .hero-ring > .ring-today,
  .for-you .fy-panel-khodet .hero-ring > .ring-chip,
  .for-you .fy-panel-khodet .hero-ring > .ov-sun {
    z-index: 2;
  }
  /* Legend ray under the pill face + labels (same mask model as ring arc). */
  .for-you .fy-panel-khodet .dcs-legend {
    position: relative;
    isolation: isolate;
  }
  .for-you .fy-panel-khodet .dcs-legend > .fy-rays-legend {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: visible;
  }
  .for-you .fy-panel-khodet .dcs-legend::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: var(--surface);
    box-shadow: 0 2px 8px rgba(26, 18, 31, 0.06);
    z-index: 1;
    pointer-events: none;
  }
  .for-you .fy-panel-khodet[data-spot="status"] .dcs-legend::before {
    box-shadow: var(--fy-focus-glow);
  }
  .for-you .fy-panel-khodet .dcs-legend > span {
    position: relative;
    z-index: 2;
  }
  .for-you .fy-panel-khodet[data-spot="log"] .hero-ring,
  .for-you .fy-panel-khodet[data-spot="predict"] .hero-ring,
  .for-you .fy-panel-khodet[data-spot="insight"] .tmc,
  .for-you .fy-panel[data-spot] [data-zone] {
    z-index: 4;
  }
  .fy-note { width: calc(100% + 20px); max-width: none; }
  .fy-statement { width: 100%; max-width: none; }
  .fy-panel-khodet .fy-note h3,
  .fy-panel-hamdel .fy-note h3 { transform: none; }
  .fy-panel-khodet .fy-note > p,
  .fy-panel-hamdel .fy-note > p { margin-inline-start: 0; }
  .fy-ic-art { transform: none; }
  /* Zigzag around the mockup: TL high, TR mid-high, BR mid-low, BL low. */
  .fy-n3 { margin-top: calc(var(--fy-phone-h) * 0.01 + 20px); }
  .fy-panel-hamdel .fy-n3 { margin-top: calc(var(--fy-phone-h) * 0.01); }
  .fy-n1 { margin-top: calc(var(--fy-phone-h) * 0.16); }
  .fy-panel-hamdel .fy-n1 { margin-top: calc(var(--fy-phone-h) * 0.16 - 20px); }
  .fy-n2 { margin-top: auto; margin-bottom: calc(var(--fy-phone-h) * 0.18 + 30px); }
  .fy-n4 { margin-top: auto; margin-bottom: calc(var(--fy-phone-h) * 0.02 + 40px); }
  /* Spotlight leads + rays — same model as desktop (styles.css hides .fy-rays ≤1080). */
  html.js .for-you .fy-grid.fy-aimed .fy-note {
    position: relative;
    z-index: 5;
    isolation: isolate;
    background: var(--surface);
  }
  html.js .for-you .fy-grid.fy-aimed .fy-note::after,
  html.js .for-you .fy-grid.fy-aimed .fy-note::before {
    content: none;
  }
  .for-you .fy-rays,
  .for-you .fy-phone .fy-rays {
    display: block;
    position: absolute;
    z-index: 2;
    pointer-events: none;
    overflow: visible;
  }
  .for-you .fy-grid > .fy-rays {
    inset: 0;
  }
  .for-you .fy-ray {
    position: absolute;
    height: 0;
    border-top: 1.5px dotted rgba(244, 91, 147, 0.36);
    transform-origin: 0 50%;
    transition: width var(--fy-lead) cubic-bezier(0.16, 1, 0.3, 1),
                border-color var(--fy-lead) ease;
  }
  .for-you .fy-ray::after {
    content: "";
    position: absolute;
    right: -6px;
    top: -6px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--primary);
    opacity: 0;
    transition: opacity var(--fy-spot) var(--ease);
  }
  .for-you .fy-ray.is-on { border-top-color: rgba(244, 91, 147, 0.64); }
  .for-you .fy-ray.is-on::after { opacity: 0.85; }
  .for-you .fy-ray-hd { border-top-color: rgba(91, 127, 242, 0.36); }
  .for-you .fy-ray-hd::after {
    background: var(--hd-primary);
    width: 5px;
    height: 5px;
    right: -3px;
    top: -3px;
  }
  .for-you .fy-ray-hd.is-on { border-top-color: rgba(91, 127, 242, 0.68); }
  .for-you .fy-note.is-spot {
    border-color: var(--selection-border);
    box-shadow: var(--shadow-card);
  }
  .for-you .fy-note-hd.is-spot {
    border-color: var(--hd-line);
    box-shadow: var(--shadow-card-hd);
  }
  .for-you .fy-note {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .for-you .fy-ic-art img {
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
  }
  .sh-you .sh-head p { white-space: normal; }
  .hamdel .sh-title-l2,
  .hamdel .sh-sub-l2 { display: block; }
  /* Keep the sharing trio side-by-side like desktop / start-flow. */
  .hamdel .sh-stage {
    grid-template-columns: minmax(0, 1fr) 14px minmax(0, 1fr) 14px minmax(0, 1fr);
    column-gap: 2px;
    row-gap: 0;
    margin-top: 18px;
    justify-items: stretch;
    align-items: stretch;
  }
  .hamdel .sh-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    min-width: 14px;
    height: auto;
    align-self: center;
    pointer-events: none;
  }
  .hamdel .sh-link svg,
  .hamdel .sh-dot { display: none; }
  .hamdel .sh-link::before { content: none; }
  .hamdel .sh-link::after {
    content: ">";
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1;
  }
  .hamdel .sh-card {
    width: 100%;
    max-width: none;
    padding: 8px 6px 10px;
    margin-top: 0;
  }
  .hamdel .sh-trust,
  .hamdel .sh-chips { display: none; }
  .convert {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    padding: 12px 22px 6px;
    gap: 0;
    text-align: center;
  }
  .cv-media {
    order: 0;
    height: 280px;
    margin-bottom: 0;
  }
  .cv-owner {
    left: calc(10% + 16px);
    top: 18px;
    width: 252px;
    transform: scale(0.62);
    transform-origin: top left;
  }
  .convert::before {
    left: calc(-8% + 40px);
    top: 50%;
    height: 74%;
    transform: translateY(calc(-50% + 8px));
    opacity: 0.75;
  }
  .cv-copy { transform: none; }
  .cv-cta { width: auto; max-width: 100%; }
}

/* ── phone + small tablet: recompose cinematic sections ──────────────── */
@media (max-width: 900px) {
  html, body { overflow-x: clip; }
  body { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

  section { padding-block: 56px; }
  .ab section { padding-block: 0; }
  .ab-control { padding-block: 28px; }
  .ab-privacy { padding-block: 22px; }
  section[id] { scroll-margin-top: 76px; }
  .container { padding-inline: 18px; }

  h1 {
    font-size: clamp(1.48rem, 6.2vw, 2.05rem);
    line-height: 1.48;
  }
  h2 { font-size: clamp(1.28rem, 4.6vw, 1.7rem); }
  .section-sub { font-size: 0.95rem; line-height: 1.9; }
  .hamdel .container > .section-sub { font-size: calc(0.95rem - 3px); }
  .start-head .section-sub {
    font-size: 0.76rem;
    line-height: 1.7;
  }
  .for-you .fy-head .section-sub {
    font-size: 0.72rem;
    line-height: 1.8;
    max-width: 17.5em;
    white-space: normal;
  }
  .for-you.fy-hd .fy-head .section-sub {
    max-width: min(100%, 22rem);
  }
  .for-you .fy-sub-rest { display: block; }

  .for-you { --fy-phone-w: min(34vw, 133px); }
  .fy-switch {
    width: fit-content;
    max-width: none;
    margin-top: 18px;
    padding: 3.5px;
    gap: 3px;
  }
  .fy-tab {
    flex: none;
    font-size: 0.66rem;
    padding: 2px 15px;
    gap: 6px;
  }
  .fy-tab svg { width: 12px; height: 12px; }
  .fy-tab-ic-hd { width: 27px; height: 27px; }
  .fy-grid { column-gap: var(--fy-safe-gap); }
  .for-you .fy-phone { margin-inline: 0; }
  .for-you .cycle-ui .ring-lotus { width: 55%; }
  .for-you .cycle-ui:has(.ring-cta) .ring-lotus { width: 48%; }
  .for-you .fy-note {
    width: calc(91% + 20px);
    padding: 10px 10px;
    border-radius: 16px;
  }
  .for-you .fy-note-head { gap: 6px; }
  .for-you .fy-note h3,
  .for-you .fy-panel-khodet .fy-note h3,
  .for-you .fy-panel-hamdel .fy-note h3 { font-size: 0.5rem; line-height: 1.4; }
  .for-you .fy-note > p,
  .for-you .fy-panel-khodet .fy-note > p,
  .for-you .fy-panel-hamdel .fy-note > p {
    font-size: 0.44rem;
    line-height: 1.5;
    margin-top: 4px;
  }
  .for-you .fy-n4 > p {
    font-size: 0.4rem;
    line-height: 1.5;
  }
  .for-you .fy-note::after {
    content: "";
    position: absolute;
    top: 50%;
    width: calc(var(--fy-safe-gap) - 2px);
    border-top: 1.5px dotted rgba(244, 91, 147, 0.42);
    transition: border-color var(--fy-spot) var(--ease);
  }
  .for-you .fy-col-lead .fy-note::after {
    inset-inline-end: calc(-1 * var(--fy-safe-gap) + 2px);
  }
  .for-you .fy-col-tail .fy-note::after {
    inset-inline-start: calc(-1 * var(--fy-safe-gap) + 2px);
  }
  .for-you .fy-note-hd::after { border-top-color: rgba(91, 127, 242, 0.42); }
  .for-you .fy-ic,
  .for-you .fy-ic-art,
  .for-you .fy-ic-art img { width: 15px; height: 15px; }
  .for-you .fy-ic svg { width: 12px; height: 12px; }
  .for-you .fy-statement {
    width: 91%;
    padding: 8px 9px;
    font-size: 0.58rem;
  }
  .for-you .fy-scopes { gap: 3px; margin-top: 6px; }
  .for-you .fy-sc { font-size: 0.52rem; padding: 2px 6px; }
  .for-you .fy-foot .honesty-pill {
    font-size: calc(0.86rem - 3px);
  }
  .for-you .fy-foot {
    margin-top: 16px;
  }
  .for-you .fy-honesty-ic {
    width: 12.5px;
    height: 12.5px;
  }

  /* nav: page-tinted glass (not solid, not white) */
  header.nav,
  body.in-hamdel header.nav {
    background: rgba(255, 248, 252, 0.62);
    -webkit-backdrop-filter: saturate(1.2) blur(14px);
    backdrop-filter: saturate(1.2) blur(14px);
    border-bottom: 1px solid rgba(240, 228, 236, 0.65);
  }
  header.nav.scrolled,
  body.in-hamdel header.nav.scrolled {
    box-shadow: 0 6px 24px rgba(26, 18, 31, 0.06);
    background: rgba(255, 248, 252, 0.86);
  }
  .nav-inner {
    padding: calc(8px + env(safe-area-inset-top, 0px)) 14px 8px;
    gap: 10px;
    transition: padding 320ms var(--ease), gap 320ms var(--ease);
  }
  .nav-brand img {
    width: 64px;
    transition: width 320ms var(--ease);
  }
  .nav-inner > .btn-sm,
  .nav-actions .btn-sm {
    transition: padding 320ms var(--ease), font-size 320ms var(--ease),
                border-radius 320ms var(--ease);
  }
  header.nav.scrolled .nav-inner {
    padding-block: 3px;
    padding-top: calc(3px + env(safe-area-inset-top, 0px));
    gap: 8px;
  }
  header.nav.scrolled .nav-brand img { width: 32px; }
  header.nav.scrolled .nav-inner > .btn-sm,
  header.nav.scrolled .nav-actions .btn-sm {
    padding: 6px 12px;
    font-size: 0.72rem;
    border-radius: 10px;
  }
  @media (prefers-reduced-motion: reduce) {
    .nav-inner,
    .nav-brand img,
    .nav-inner > .btn-sm,
    .nav-actions .btn-sm,
    .nav-toggle { transition: none; }
  }

  /* hero: copy → CTA → ring → trust (conversion first) */
  .hero {
    padding-top: calc(92px + env(safe-area-inset-top, 0px));
    padding-bottom: 40px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "actions" "visual" "trust";
    gap: 0;
  }
  .hero-copy { text-align: center; }
  .mode-badge {
    margin-bottom: 16px;
    gap: 6px;
    padding: 4px 5px;
  }
  .mb-seg { padding: 4px 10px; font-size: 0.78rem; }
  .hero h1 .h1-l1,
  .hero h1 .h1-l2 { white-space: nowrap; }
  .h1-bloom {
    width: 0.56em;
    inset-inline-start: calc(50% - 6.9em);
    top: -0.42em;
  }
  .hero-sub {
    margin-inline: auto;
    font-size: 0.75rem;
    line-height: 1.55;
    max-width: 100%;
  }
  .hero .hero-sub br { display: none; }
  .hero .hero-sub-l1,
  .hero .hero-sub-l2 { display: block; }
  .hero-actions {
    margin-top: 22px;
    display: flex;
    justify-content: center;
  }
  .hero-ctas {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "primary ghost"
      "micro micro";
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    gap: 8px 8px;
  }
  .cta-stack { display: contents; }
  .hero-ctas .btn-primary { grid-area: primary; }
  .hero-ctas .btn-ghost-hd { grid-area: ghost; }
  .hero-ctas .cta-micro {
    grid-area: micro;
    grid-column: 1 / -1;
    display: block;
    width: 100%;
    font-size: 0.62rem;
    text-align: center;
  }
  .hero-ctas .btn {
    width: auto;
    min-width: 0;
    padding: 10px 8px;
    font-size: 0.78rem;
    line-height: 1.35;
    text-align: center;
  }
  .hero-ctas .btn-ghost-hd {
    padding: 9px 8px;
    font-size: 0.76rem;
    gap: 5px;
  }
  .hero-ctas .btn-ghost-hd svg { width: 14px; height: 14px; }
  .hero-visual { margin-top: 18px; }
  .hero-visual .hero-ring {
    width: min(78vw, 320px);
    margin-bottom: calc(min(78vw, 320px) * -0.1);
    overflow: visible;
    transform: scale(0.9);
    transform-origin: top center;
  }
  .hero-visual .hero-ring .ring-chip {
    left: 0;
    right: auto;
    top: 68%;
    bottom: auto;
    width: max-content;
    max-width: none;
    transform: translate(-50px, 10px);
    text-align: start;
    padding: 5px 8px 6px;
    border-radius: 9px;
    box-shadow: 0 6px 14px rgba(26, 18, 31, 0.1);
  }
  .hero-visual .hero-ring .ring-chip-head {
    justify-content: flex-start;
    font-size: 0.5rem;
    gap: 2px;
  }
  .hero-visual .hero-ring .ring-chip-bloom { width: 12px; height: 12px; }
  .hero-visual .hero-ring .ring-chip-eta { font-size: 0.6rem; }
  .hero-visual .hero-ring .ring-chip-date {
    justify-content: flex-start;
    align-self: flex-start;
    font-size: 0.48rem;
    gap: 3px;
  }
  .hero-visual .hero-ring .ring-chip-cal { width: 8px; height: 8px; }
  .hero-visual .ring-today { left: 3.2%; }
  .rl-ov { left: 62%; top: 97%; }
  .hero-visual .hero-ring .rl-period,
  .hero-visual .hero-ring .rl-ov,
  .hero-visual .hero-ring .rl-pms,
  .hero-visual .hero-ring .rl-fertile {
    top: 6%;
    font-size: 0.76rem;
    font-weight: 700;
    transform: translate(-50%, -50%);
  }
  .hero-visual .hero-ring .rl-ov {
    top: 97%;
    left: 62%;
  }
  .hero-visual .hero-ring .rl-pms {
    display: block;
    left: 22%;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.04em;
  }
  .hero-visual .hero-ring .rl-fertile {
    display: block;
    left: 80.5%;
    top: 88%;
    color: #1d8f8b;
  }
  .hero-visual .hero-ring .rl-period,
  .hero-visual .hero-ring .rl-pms {
    top: calc(6% + 10px);
  }
  .hero-visual .hero-ring .rl-period { left: 78%; }
  .hero .hero-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    margin-top: 28px;
    gap: 0;
    padding: 14px 6px 16px;
  }
  .hero .hero-trust li {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    padding: 2px 7px;
    text-align: center;
    min-width: 0;
  }
  .hero .hero-trust li > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
    min-width: 0;
  }
  .hero .hero-trust .ht-ic { margin: 0; }
  .hero .hero-trust strong {
    font-size: 0.66rem;
    line-height: 1.35;
  }
  .hero .hero-trust li:first-child strong {
    white-space: nowrap;
    font-size: 0.6rem;
  }
  .hero .hero-trust span:not(.ht-ic) {
    font-size: 0.56rem;
    line-height: 1.45;
  }
  .hero .hero-trust li + li {
    border-top: none;
    border-inline-start: 1px solid var(--line);
  }
  .hero .hero-trust .ht-ic,
  .hero .hero-trust .ht-ic img { width: 40px; height: 40px; }

  /* ── duo: equal phones, both in focus, no carousel ── */
  .duo {
    --duo-stage-h: 275px;
    --duo-phone: 34.5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "head head"
      "stage stage"
      "ic-cycle ic-hd"
      "cap-cycle cap-hd"
      "cue cue";
    justify-items: center;
    align-items: start;
    column-gap: 8px;
    row-gap: 10px;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    padding: 48px 12px 36px;
    overflow: visible;
  }
  .duo::after { display: none; }
  .duo-art {
    opacity: 0.14;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 78%, transparent 100%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 78%, transparent 100%);
  }
  .duo-overlay { display: contents; }
  .duo-head {
    grid-area: head;
    max-width: 36em;
    padding-inline: 4px;
  }
  .duo-head h2 {
    font-size: clamp(1.32rem, 5.4vw, 1.85rem);
    margin: 0;
  }
  .duo-head .section-sub {
    max-width: 34em;
    font-size: 0.64rem;
    line-height: 1.7;
    margin-top: 10px;
    margin-bottom: 0;
  }
  .duo-phones {
    grid-area: stage;
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: row;
    direction: ltr;
    unicode-bidi: isolate;
    align-items: stretch;
    justify-content: center;
    gap: 40px;
    width: 100%;
    height: var(--duo-stage-h);
    overflow: visible;
    pointer-events: none;
    z-index: 2;
  }
  .duo-slot {
    position: relative;
    top: auto;
    left: auto;
    flex: 0 0 auto;
    width: var(--duo-phone);
    height: 100%;
    max-width: calc((100% - 40px) / 2);
    overflow: hidden;
    border-radius: 0;
    opacity: 1;
    z-index: 1;
    cursor: default;
    direction: rtl;
    unicode-bidi: isolate;
    --duo-headroom: 0px;
    container-type: inline-size;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .duo-slot-hd { order: 1; margin: 0; transform: translateX(-10px); }
  .duo-slot-cycle { order: 2; margin: 0; transform: translateX(10px); }
  .duo .duo-slot .duo-device,
  .duo .duo-slot .fy-device {
    position: absolute;
    top: 0;
    left: 50%;
    width: 336px;
    margin-left: -168px;
    height: calc(100% * 336px / 100cqi);
    transform: scale(calc(100cqi / 336px));
    transform-origin: top center;
    pointer-events: none;
    direction: rtl;
    unicode-bidi: isolate;
    border-radius: 44px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(
      180deg,
      #000 0%,
      #000 80%,
      rgba(0, 0, 0, 0.4) 88%,
      rgba(0, 0, 0, 0.1) 94%,
      transparent 100%
    );
    mask-image: linear-gradient(
      180deg,
      #000 0%,
      #000 80%,
      rgba(0, 0, 0, 0.4) 88%,
      rgba(0, 0, 0, 0.1) 94%,
      transparent 100%
    );
  }
  .duo-slot:hover .fy-device {
    transform: scale(calc(100cqi / 336px));
  }
  .duo-link-art {
    display: contents;
  }
  .duo-link-art img {
    position: relative;
    display: block;
    height: auto;
  }
  .duo-heart-cluster {
    display: block;
    grid-area: stage;
    position: relative;
    width: 26px;
    height: calc(26px * 337 / 415);
    justify-self: center;
    align-self: center;
    z-index: 5;
    pointer-events: none;
  }
  .duo-link-art .duo-wire {
    display: none;
  }
  .duo-link-art .duo-heart {
    position: relative;
    left: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    transform: none;
    opacity: 0.92;
    z-index: 5;
    filter: drop-shadow(0 8px 16px rgba(26, 18, 31, 0.14));
  }
  .duo-link-art .duo-badge {
    position: relative;
    left: auto;
    top: auto;
    width: 28px;
    transform: none;
    opacity: 0.9;
    justify-self: center;
    align-self: end;
    z-index: 3;
    margin-bottom: 2px;
  }
  .duo-link-art .duo-badge-hd { grid-area: ic-hd; }
  .duo-link-art .duo-badge-cycle { grid-area: ic-cycle; }
  .duo-caption {
    position: relative;
    top: auto;
    left: auto;
    width: min(100%, 180px);
    transform: none;
    margin: 0;
    z-index: 3;
  }
  .duo-caption-hd { grid-area: cap-hd; }
  .duo-caption-cycle { grid-area: cap-cycle; }
  .duo-caption strong { font-size: 0.76rem; }
  .duo-caption span {
    font-size: 0.54rem;
    line-height: 1.85;
    font-weight: 600;
  }
  .duo-cue {
    grid-area: cue;
    margin: 10px auto 0;
    font-size: 0.8rem;
    -webkit-tap-highlight-color: transparent;
  }
  .duo-cue:hover,
  .duo-cue:active,
  .duo-cue:focus {
    color: var(--ink-soft);
  }
  @media (prefers-reduced-motion: reduce) {
    .duo-slot { transition: none; }
  }

  /* sharing trio + trust chips stay 3-across, compact like .flow */
  .hamdel .sh-stage {
    width: 100%;
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr) 11px minmax(0, 1fr) 11px minmax(0, 1fr);
    column-gap: 1px;
    margin-top: 16px;
  }
  .hamdel .sh-link {
    width: 11px;
    min-width: 11px;
  }
  .hamdel .sh-link::after { font-size: 0.78rem; }
  .hamdel .sh-card {
    padding: 5px 5px 6px;
    border-radius: 14px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto 1fr;
    align-items: stretch;
  }
  .hamdel .sh-num {
    position: static;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    width: 11px;
    height: 11px;
    font-size: 0.4rem;
    top: auto;
    inset-inline-end: auto;
  }
  .hamdel .sh-head {
    grid-column: 1;
    grid-row: 1;
    gap: 5px;
    padding-inline-end: 4px;
    min-width: 0;
    align-items: center;
    align-self: center;
  }
  .hamdel .sh-ic { width: 18px; height: 18px; border-radius: 6px; }
  .hamdel .sh-ic svg { width: 10px; height: 10px; }
  .hamdel .sh-ic-hd-mark { width: 14px; height: 14px; }
  .hamdel .sh-head h3 {
    font-size: calc(0.58rem - 3px);
    line-height: 1.3;
    white-space: nowrap;
  }
  .hamdel .sh-head p { display: none; }
  .hamdel .sh-rows,
  .hamdel .sh-pick .sh-scopes,
  .hamdel .sh-plist {
    grid-column: 1 / -1;
    align-self: stretch;
    height: 100%;
    min-height: 0;
    margin-top: 4px;
  }
  .hamdel .sh-rows {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2px;
  }
  .hamdel .sh-rows li {
    flex: 1;
    padding: 2px 4px;
    gap: 4px;
    border-radius: 7px;
  }
  .hamdel .sh-row-ic { width: 11px; height: 11px; }
  .hamdel .sh-row-tx em { display: none; }
  .hamdel .sh-row-tx strong { font-size: calc(0.5rem - 2px); line-height: 1.3; }
  .hamdel .scope-row { gap: 4px; padding: 4px 0; flex: 1; }
  .hamdel .scope-row img { width: 16px; height: 16px; }
  .hamdel .scope-meta label { font-size: calc(0.5rem - 2px); line-height: 1.3; }
  .hamdel .scope-meta p { display: none; }
  .hamdel .sh-pick .sh-scopes {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .hamdel .switch {
    -webkit-tap-highlight-color: transparent;
  }
  .hamdel .switch .track {
    width: 20px;
    height: 12px;
    overflow: hidden;
    outline: none;
  }
  .hamdel .switch .thumb {
    width: 8px;
    height: 8px;
    left: 2px;
  }
  .hamdel .sh-scope-io:focus,
  .hamdel .sh-scope-io:focus-visible,
  .hamdel #scope-phase:focus-visible ~ .container label.switch[for="scope-phase"] .track,
  .hamdel #scope-prediction:focus-visible ~ .container label.switch[for="scope-prediction"] .track,
  .hamdel #scope-hint:focus-visible ~ .container label.switch[for="scope-hint"] .track {
    outline: none;
  }
  .hamdel #scope-phase:checked ~ .container label.switch[for="scope-phase"] .thumb,
  .hamdel #scope-prediction:checked ~ .container label.switch[for="scope-prediction"] .thumb,
  .hamdel #scope-hint:checked ~ .container label.switch[for="scope-hint"] .thumb {
    transform: translate(8px, -50%);
  }
  .hamdel .sh-always { display: none; }
  .hamdel .sh-plist { display: grid; }
  .hamdel .sh-plist-rows {
    gap: 4px;
    height: 100%;
    justify-content: space-between;
  }
  .hamdel .sh-prow {
    padding: 4px 5px;
    border-radius: 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    border-width: 1.5px;
    border-style: solid;
  }
  .hamdel .sh-prow.off,
  .hamdel #scope-phase:not(:checked) ~ .container [data-scope-view="phase"],
  .hamdel #scope-prediction:not(:checked) ~ .container [data-scope-view="prediction"],
  .hamdel #scope-hint:not(:checked) ~ .container [data-scope-view="hint"] {
    border-width: 1.5px;
  }
  .hamdel .sh-plabel { font-size: calc(0.5rem - 2px); margin-bottom: 0; }
  .hamdel .sh-ptext {
    font-size: 0.36rem;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
  }
  .hamdel .sh-pempty { font-size: 0.5rem; padding-block: 8px; line-height: 1.5; }
  .hamdel .sh-trust,
  .hamdel .sh-chips { display: none; }
  .sh-band {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) max-content;
    align-items: center;
    column-gap: 6px;
    row-gap: 2px;
    text-align: start;
    padding: 10px 8px;
  }
  .sh-band-txt { display: contents; }
  .sh-band-art {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 24px;
  }
  .sh-band-txt strong {
    grid-column: 2;
    grid-row: 1;
    font-size: 0.72rem;
    line-height: 1.35;
    white-space: nowrap;
  }
  .sh-band-br { display: block; }
  .sh-band-txt span {
    grid-column: 2;
    grid-row: 2;
    font-size: calc(0.82rem - 5px);
    margin-top: 0;
    line-height: 1.45;
  }
  .sh-band .btn {
    grid-column: 3;
    grid-row: 1 / 3;
    width: max-content;
    max-width: none;
    justify-content: center;
    padding: 6px 8px;
    font-size: 0.54rem;
    font-weight: 700;
    white-space: nowrap;
  }

  /* onboarding + convert */
  .flow-step h3 { white-space: nowrap; }
  .flow-step p { white-space: normal; }
  .convert {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    padding: 8px 8px 6px;
    gap: 0;
    text-align: center;
    margin-top: 22px;
    border-radius: 20px;
  }
  .cv-media {
    order: 0;
    height: 188px;
    margin-bottom: 0;
    -webkit-mask-image: linear-gradient(to bottom, #000 46%, transparent 94%);
    mask-image: linear-gradient(to bottom, #000 46%, transparent 94%);
  }
  .cv-owner {
    left: 50%;
    top: 4px;
    width: 252px;
    transform: translateX(-52%) scale(0.42);
    transform-origin: top center;
  }
  .convert::before {
    left: 0;
    top: 52%;
    height: 78%;
    transform: translate(-8%, -50%);
    opacity: 0.5;
  }
  .cv-copy {
    transform: none;
    padding: 2px 4px 6px 2px;
    min-width: 0;
  }
  .cv-copy h3 {
    font-size: 0.86rem;
    line-height: 1.35;
  }
  .cv-cta {
    width: auto;
    max-width: 100%;
    margin-top: 8px;
    padding: 6px 10px;
    font-size: 0.58rem;
    white-space: nowrap;
  }
  .cv-cta svg { width: 11px; height: 11px; }
  .cv-trial {
    margin-top: 7px;
    gap: 4px;
    font-size: 0.4rem;
    line-height: 1.4;
  }
  .cv-trial svg { width: 10px; height: 10px; }
  .cv-hamdel {
    margin-top: 10px;
    padding-top: 10px;
    gap: 1px;
  }
  .cv-hamdel::before { inset-inline: 8%; }
  .cv-hamdel span { font-size: 0.64rem; }
  .cv-hamdel a {
    font-size: 0.64rem;
    transform: none;
    gap: 4px;
  }
  .cv-hamdel a svg { width: 11px; height: 11px; }

  .footer { padding-top: 14px; }
  .ft-grid {
    grid-template-columns: 1.2fr 1fr 0.85fr 0.7fr;
    gap: 8px 6px;
    padding-bottom: 14px;
    align-items: start;
  }
  .ft-brand {
    grid-column: auto;
    max-width: none;
  }
  .ft-logo {
    display: inline-flex;
    justify-content: flex-start;
    width: auto;
  }
  .ft-logo .ft-wordmark { width: 52px; }
  .ft-desc {
    margin-top: 6px;
    font-size: 0.4rem;
    line-height: 1.4;
    text-align: start;
  }
  .ft-app {
    margin-top: 8px;
    padding: 4px 7px;
    font-size: 0.42rem;
    gap: 3px;
    border-radius: 8px;
  }
  .ft-app-ic { width: 10px; height: 10px; }
  .ft-app-ar { width: 8px; height: 8px; }
  .ft-social { margin-top: 8px; gap: 5px; }
  .ft-social a { width: 26px; height: 26px; }
  .ft-social a svg { width: 12px; height: 12px; }
  .ft-col h3,
  .ft-trust h3 {
    font-size: 0.55rem;
    gap: 3px;
    line-height: 1.3;
  }
  .ft-col-ic { width: 11px; height: 11px; }
  .ft-col h3 > span::after,
  .ft-trust h3 > span::after {
    width: 12px;
    height: 2px;
    margin-top: 6px;
  }
  .ft-col ul {
    margin-top: 4px;
    gap: 4px;
  }
  .ft-col li {
    margin: 0;
    padding: 0;
    line-height: 0;
  }
  .ft-col a {
    font-size: 0.42rem;
    gap: 3px;
    line-height: 1.15;
    padding-block: 1px;
    white-space: nowrap;
  }
  .ft-col a svg { display: none; }
  .ft-trust > img {
    width: 64px;
    margin-top: 6px;
    transform: none;
  }
  .ft-bottom {
    padding: 8px 0 calc(5px + env(safe-area-inset-bottom, 0px));
  }
  .ft-bottom p { font-size: 0.55rem; line-height: 1.6; }
}

@media (max-width: 720px) {
  .nav-inner {
    position: relative;
    justify-content: flex-start;
  }
  .nav-inner > .btn-sm,
  .nav-actions {
    margin-inline-start: auto;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .nav-pricing { display: none; }
  .nav-pricing-menu { display: block; }
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    order: -1;
    margin-inline-start: 0;
    padding: 0;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.86);
    cursor: pointer;
    flex: none;
    transition: width 320ms var(--ease), height 320ms var(--ease),
                gap 320ms var(--ease), border-radius 320ms var(--ease);
  }
  .nav-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 180ms var(--ease, ease), opacity 180ms ease, width 320ms var(--ease);
  }
  header.nav.scrolled .nav-toggle {
    width: 34px;
    height: 34px;
    gap: 4px;
    border-radius: 9px;
  }
  header.nav.scrolled .nav-toggle span { width: 13px; }
  header.nav.scrolled .nav-open-io:checked ~ .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  header.nav.scrolled .nav-open-io:checked ~ .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
  @media (prefers-reduced-motion: reduce) {
    .nav-toggle,
    .nav-toggle span { transition: none; }
  }
  .nav-open-io:checked ~ .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .nav-open-io:checked ~ .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open-io:checked ~ .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  .nav-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 45;
    background: rgba(26, 18, 31, 0.28);
    cursor: pointer;
  }
  .nav-open-io:checked ~ .nav-backdrop { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    inset-inline: 0;
    z-index: 60;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    margin: 0;
    margin-inline: 0;
    padding: 10px;
    height: auto;
    background: var(--surface);
    border: 1.5px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 16px 36px rgba(26, 18, 31, 0.12);
  }
  .nav-open-io:checked ~ .nav-links { display: flex; }
  .nav-links a {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 0.95rem;
  }
  .nav-links a::before,
  .nav-links a::after {
    content: none;
  }
  .nav-links a:hover { background: var(--chip-bg); }
  body.nav-open { overflow: hidden; }

  .hero-visual .hero-ring .rl-fertile,
  .hero-visual .hero-ring .rl-pms { display: block; }
  .ring-num { font-size: 0.66rem; }
  .flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    max-width: none;
    margin-top: 22px;
  }
  .flow-step {
    display: block;
    text-align: center;
    padding-inline: 6px;
    column-gap: 0;
  }
  .fs-badge {
    width: 40px;
    height: 40px;
    margin-inline: auto;
    grid-row: auto;
    align-self: auto;
  }
  .fs-badge svg { width: 17px; height: 17px; }
  .fs-badge b {
    width: 16px;
    height: 16px;
    font-size: 0.58rem;
    top: -4px;
    inset-inline-start: -5px;
  }
  .flow-step h3 {
    grid-column: auto;
    margin-top: 8px;
    font-size: 0.64rem;
    text-align: center;
    white-space: nowrap;
  }
  .flow-step p {
    grid-column: auto;
    margin: 3px auto 0;
    max-width: 11.5em;
    font-size: 0.5rem;
    line-height: 1.45;
    text-align: center;
  }
  .flow-step:not(:last-child)::before {
    top: 19px;
    bottom: auto;
    left: auto;
    right: auto;
    width: auto;
    height: 0;
    border-inline-start: none;
    border-top: 2px dashed rgba(244, 91, 147, 0.32);
    inset-inline-start: calc(50% + 24px);
    inset-inline-end: calc(-50% + 24px);
  }
  .flow-step:not(:last-child)::after {
    display: block;
    top: 16px;
    bottom: auto;
    left: auto;
    right: auto;
    width: 6px;
    height: 6px;
    border: none;
    inset-inline-start: calc(50% + 22px);
    inset-inline-end: auto;
  }
}

@media (max-width: 640px) {
  .ft-grid {
    grid-template-columns: 1.15fr 1fr 0.82fr 0.68fr;
    gap: 8px 4px;
    padding-bottom: 12px;
    text-align: start;
  }
  .ft-brand,
  .ft-col,
  .ft-trust {
    grid-column: auto;
    max-width: none;
    align-items: stretch;
  }
  .ft-brand { display: block; }
  .ft-col h3,
  .ft-trust h3 { justify-content: flex-start; }
  .ft-col h3 > span::after,
  .ft-trust h3 > span::after { margin-inline: 0; }
  .ft-col ul { align-items: stretch; }
  .ft-col a { justify-content: flex-start; }
  .ft-social { justify-content: flex-start; }
  .ft-trust { display: block; }
  .ft-trust > img {
    transform: none;
    width: 58px;
    margin-inline: 0;
  }
}

@media (max-width: 520px) {
  .for-you { --fy-phone-w: min(36vw, 126px); --fy-safe-gap: 12px; }
  .fy-grid {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    width: 100%;
    column-gap: var(--fy-safe-gap);
  }
  .for-you .fy-foot .honesty-pill { font-size: calc(0.78rem - 3px); }
  .for-you .fy-foot { margin-top: 8px; }
  .for-you .fy-honesty-ic { width: 12px; height: 12px; }
  .fy-switch { width: fit-content; max-width: none; }
  .fy-tab { flex: none; justify-content: center; padding-inline: 12px; }
  .hero-visual .ring-today { display: none; }
  .duo { --duo-stage-h: 253px; padding-inline: 10px; }
  .duo-heart-cluster { width: 23px; height: calc(23px * 337 / 415); }
  .h1-bloom { inset-inline-start: calc(50% - 5.85em); }
}

@media (max-width: 380px) {
  .nav-brand img { width: 54px; }
  .nav-inner { padding-inline: 10px; gap: 8px; }
  .nav-inner .btn-sm { padding: 8px 10px; font-size: 0.72rem; }
  header.nav.scrolled .nav-brand img { width: 28px; }
  header.nav.scrolled .nav-inner > .btn-sm,
  header.nav.scrolled .nav-actions .btn-sm {
    padding: 5px 9px;
    font-size: 0.64rem;
  }
  .h1-bloom { display: none; }
  .mode-badge { max-width: 100%; }
  .hero h1 { font-size: 1.2rem; }
  .hero-sub { font-size: 0.7rem; }
  .hero-ctas .btn { font-size: 0.72rem; padding: 9px 6px; }
  .hero-ctas .btn-ghost-hd svg { width: 13px; height: 13px; }
  .hero-visual .hero-ring .rl-fertile { font-size: 0.68rem; }
}
