/* DESKTOP layout (900px and wider). Designed natively for a large screen; the phone layout is a separate set of files. */
body { min-width: 900px; }

/* ---------- app shell (landing, nav) ---------- */
.shell { display: grid; grid-template-columns: 248px 1fr; min-height: calc(100vh - 36px); }
.side { background: var(--navy); color: #B9C4D9; padding: 22px 14px; position: sticky; top: 0; align-self: start; height: calc(100vh - 36px); overflow: hidden; display: flex; flex-direction: column; }
.side .logo { padding: 4px 10px 22px; } .side .logo img { height: 36px; }
.side a.nv { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 15px; color: #B9C4D9; }
.side a.nv svg { width: 20px; height: 20px; flex: none; opacity: .9; }
.side a.nv:hover { background: rgba(255,255,255,.08); color: #fff; }
.side a.nv.on { background: rgba(255,255,255,.14); color: #fff; }
.side .sub { margin: 2px 0 6px 20px; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.14); display: grid; gap: 2px; }
.side .sub a { display: block; padding: 8px 12px; border-radius: 9px; text-decoration: none; font-weight: 600; font-size: 14.5px; color: #B9C4D9; }
.side .sub a:hover { background: rgba(255,255,255,.08); color: #fff; }
.side .sub a.on { background: var(--amber); color: var(--navy); }
.side .foot { margin-top: auto; padding: 12px; font-size: 13px; color: #8FA0BD; }
.main { padding: 28px 40px 80px; min-width: 0; }
.main .inner { max-width: 1180px; margin: 0 auto; }

/* ---------- landing ---------- */
.hero { position: relative; border-radius: 36px; background: radial-gradient(900px 500px at 85% 20%, #1F3F63 0, transparent 60%), linear-gradient(135deg, #12233B 0%, #0C1A2D 100%); color: #fff; padding: 72px 64px; display: grid; grid-template-columns: 1fr 540px; gap: 48px; align-items: center; overflow: hidden; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .14em; font-size: 13px; color: var(--amber); text-transform: uppercase; }
.hero .eyebrow img { height: 20px; }
.hero h1 { font-size: 54px; line-height: 1.02; letter-spacing: -.035em; font-weight: 800; margin: 20px 0 22px; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--teal-l); }
.hero p.lead { font-size: 21px; line-height: 1.45; color: #C9D3E4; max-width: 520px; }
.hero .cta { margin-top: 36px; display: flex; align-items: center; gap: 22px; }
.hero .btn-primary { font-size: 19px; padding: 20px 38px; }
.hero .cta small { color: #AEBBD0; font-size: 15px; }
.hero .stage { position: relative; }
.hero .ba { aspect-ratio: 4/5; width: 100%; max-width: 440px; margin: 0 auto; border-radius: 28px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.hero .who { display: flex; gap: 10px; margin-top: 8px; justify-content: center; }
.hero .who button { min-height: 44px; border: 1.5px solid rgba(255,255,255,.28); background: transparent; color: #fff; border-radius: 999px; padding: 8px 18px; font-weight: 600; font-size: 15px; cursor: pointer; font-family: inherit; }
.hero .who button[aria-pressed="true"] { background: #fff; color: #12233B; border-color: #fff; }
.hero .hero-cap { margin: 10px 0 0; text-align: center; font-size: 14px; color: #C9D3E4; }
.hero .cs-toggle button:not([aria-pressed="true"]) { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.hero .cs-toggle button[aria-pressed="true"] { background: #fff; color: #12233B; border-color: #fff; }

.sec { margin-top: 112px; }
.sec .kick { font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; color: var(--teal-d); text-align: center; }
.sec h2 { font-size: 48px; line-height: 1.06; letter-spacing: -.03em; font-weight: 800; text-align: center; margin: 14px auto 14px; max-width: 800px; text-wrap: balance; }
.sec p.sub { text-align: center; font-size: 20px; color: var(--ink-2); max-width: 640px; margin: 0 auto; }

.bento { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: 24px; margin-top: 56px; }
.bento .card { border-radius: 32px; background: #fff; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.bento .card .txt { padding: 36px 36px 22px; }
.bento .card h3 { font-size: 30px; letter-spacing: -.025em; line-height: 1.1; font-weight: 800; }
.bento .card p { margin-top: 10px; color: var(--ink-2); font-size: 17px; }
.bento .big { grid-row: 1 / span 2; background: var(--navy); color: #fff; border: 0; }
.bento .big p { color: #C9D3E4; }
.bento .big .grid9 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 36px 36px; margin-top: auto; }
.bento .big .grid9 img { aspect-ratio: 4/5; border-radius: 14px; width: 100%; object-fit: cover; }
.bento .fan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 36px 32px; margin-top: auto; }
.bento .fan img { aspect-ratio: 4/5; border-radius: 14px; width: 100%; object-fit: cover; }

.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 56px; counter-reset: s; }
.steps4 li { list-style: none; }
.steps4 .pic { aspect-ratio: 4/5; border-radius: 24px; overflow: hidden; position: relative; background: #E4DFD2; }
.steps4 .pic img { width: 100%; height: 100%; object-fit: cover; }
.steps4 .n { position: absolute; left: 14px; top: 14px; width: 38px; height: 38px; border-radius: 50%; background: var(--amber); color: var(--navy); font-weight: 800; display: grid; place-items: center; font-size: 17px; }
.steps4 h3 { font-size: 22px; letter-spacing: -.02em; margin-top: 18px; font-weight: 800; }
.steps4 p { color: var(--ink-2); margin-top: 6px; font-size: 16.5px; }
.steps4 { padding: 0; }

/* PRICE SLOT: flag-off (BILLING_ENABLED unset). Designed in place; the real price and buy button appear when billing is turned on. */
.price { margin: 56px auto 0; max-width: 880px; background: #fff; border: 1px solid var(--line); border-radius: 36px; display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(18,35,59,.35); }
.price .l { padding: 48px; background: linear-gradient(160deg, #12233B, #1C3150); color: #fff; }
.price .l .amt { font-size: 92px; font-weight: 800; letter-spacing: -.045em; line-height: 1; }
.price .l .amt sup { font-size: 36px; vertical-align: top; position: relative; top: 14px; margin-right: 2px; letter-spacing: 0; }
.price .l .per { margin-top: 12px; font-size: 20px; color: #C9D3E4; }
.price .l .unit { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.18); color: #C9D3E4; font-size: 16px; }
.price .l .unit b { color: var(--amber); font-size: 22px; }
.price .r { padding: 48px; }
.price .r h3 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.price ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 14px; }
.price li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; font-size: 17px; }
.price li svg { width: 26px; height: 26px; color: var(--teal-d); }
.price .extra { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 16px; }
.price .extra b { color: var(--ink); }

.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 56px; }
.trust div { padding: 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.trust svg { width: 34px; height: 34px; color: var(--teal-d); }
.trust h3 { font-size: 19px; margin-top: 14px; font-weight: 800; letter-spacing: -.01em; }
.trust p { color: var(--ink-2); margin-top: 6px; font-size: 16px; }
.foot-note { text-align: center; color: var(--ink-3); margin-top: 48px; font-size: 14px; }

/* ---------- wizard (focused, no left nav) ---------- */
.wz { min-height: calc(100vh - 36px); display: flex; flex-direction: column; }
.wz-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 18px 40px; }
.wz-top .logo img { height: 34px; }
.wz-close { justify-self: end; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; color: var(--ink-2); padding: 10px 16px; border-radius: 999px; }
.wz-close:hover { background: #fff; }
.wz-close svg { width: 18px; height: 18px; }
.stepper { display: grid; justify-items: center; gap: 10px; }
.stepper .lab { font-weight: 700; font-size: 14px; color: var(--ink); }
.stepper .lab span { color: var(--ink-3); font-weight: 600; }
.stepper ol { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.stepper li { width: 56px; height: 6px; border-radius: 6px; background: #DDD6C4; }
.stepper li.done { background: var(--teal-d); }
.stepper li.cur { background: var(--navy); }
.wz-main { flex: 1; width: 100%; max-width: 1240px; margin: 0 auto; padding: 28px 40px 60px; }
.wz-head { text-align: center; margin: 28px auto 52px; max-width: 760px; }
.wz-head h1 { font-size: 56px; letter-spacing: -.035em; line-height: 1.03; font-weight: 800; text-wrap: balance; }
.wz-head p { margin-top: 16px; font-size: 21px; color: var(--ink-2); text-wrap: balance; }
.wz-foot { position: sticky; bottom: 0; z-index: 20; background: rgba(251,248,242,.9); backdrop-filter: blur(18px) saturate(1.4); border-top: 1px solid var(--line); padding: 16px 40px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.wz-foot .mid { display: flex; align-items: center; gap: 16px; font-weight: 700; font-size: 16px; }
.wz-foot .mid .need { color: var(--ink-2); font-weight: 600; font-size: 15px; }
.wz-foot .mid.ok .need { color: var(--good); }
.wz-foot .btn { font-size: 17px; padding: 15px 30px; }
.wz-foot .btn-ghost { justify-self: start; }
.wz-foot .btn-primary { justify-self: end; }

.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 24px; }
.grid4 .tile-img { border-radius: 20px; }
.grid4 .tile-cap b { font-size: 17px; } .grid4 .tile-cap small { font-size: 14.5px; margin-top: 2px; }
.grid4 .tile:hover .tile-img { transform: translateY(-3px); }
.lights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1180px; margin: 0 auto; }
.lights .tile-img { border-radius: 24px; aspect-ratio: 4/5; }
.lights .tile-img img { object-position: 50% 50%; }
.lights .tile-cap b { font-size: 20px; } .lights .tile-cap small { font-size: 15.5px; margin-top: 2px; }
.lights .rec { position: absolute; left: 12px; bottom: 12px; }

/* step: photo */
.photo-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; }
.pphoto { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 30px 60px -34px rgba(18,35,59,.5); }
.pphoto img { width: 100%; height: 100%; object-fit: cover; }
.pphoto .chip { position: absolute; left: 16px; bottom: 16px; }
.pbtns { display: flex; gap: 12px; margin-top: 22px; }
.pbtns .btn { padding: 14px 24px; font-size: 16px; }
.recent { display: flex; gap: 12px; margin-top: 22px; align-items: center; }
.recent span.t { font-weight: 700; color: var(--ink-2); font-size: 14.5px; margin-right: 6px; }
.recent label { position: relative; cursor: pointer; }
.recent input { position: absolute; opacity: 0; }
.recent img { width: 84px; height: 64px; border-radius: 12px; object-fit: cover; }
.recent input:checked + img { outline: 3px solid var(--navy); outline-offset: 2px; }
.recent input:focus-visible + img { outline: 3px solid var(--teal); outline-offset: 2px; }
.tips h2 { font-size: 26px; letter-spacing: -.02em; font-weight: 800; }
.tips ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.tips li { display: grid; grid-template-columns: 132px 1fr; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 12px; }
.tips li img { width: 132px; aspect-ratio: 4/5; object-fit: cover; border-radius: 14px; }
.tips li b { font-size: 18px; display: block; letter-spacing: -.01em; }
.tips li span { color: var(--ink-2); font-size: 15.5px; display: block; margin-top: 2px; }

/* step: match */
.match { display: grid; grid-template-columns: 560px 1fr; gap: 64px; align-items: center; max-width: 1120px; margin: 0 auto; }
.match .portrait { position: relative; border-radius: 32px; overflow: hidden; aspect-ratio: 4/5; box-shadow: 0 40px 70px -36px rgba(18,35,59,.55); }
.match .portrait img { width: 100%; height: 100%; object-fit: cover; }
.match .portrait .chip { position: absolute; left: 18px; top: 18px; }
.match h2 { font-size: 36px; letter-spacing: -.03em; font-weight: 800; line-height: 1.08; }
.why { margin-top: 18px; font-size: 19px; color: var(--ink-2); max-width: 480px; }
.why b { color: var(--ink); }
.pick-label { margin-top: 34px; font-weight: 700; font-size: 15px; color: var(--ink-2); }
.people { display: flex; gap: 14px; margin-top: 14px; }
.person { position: relative; cursor: pointer; text-align: center; width: 104px; }
.person input { position: absolute; opacity: 0; }
.person .av { display: block; width: 104px; height: 130px; border-radius: 14px; overflow: hidden; border: 3px solid transparent; outline: 2px solid var(--line-2); outline-offset: 2px; transition: .16s var(--ease); }
.person .av img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.person .av.sil { place-items: end center; }
.person b { display: block; margin-top: 10px; font-size: 16px; }
.person input:checked + .av { outline: 3px solid var(--navy); border-color: #fff; }
.person input:focus-visible + .av { outline: 3px solid var(--teal); }

/* step: finish */
.finish { display: grid; grid-template-columns: 460px 1fr; gap: 56px; align-items: start; max-width: 1120px; margin: 0 auto; }
.finish .portrait { border-radius: 30px; overflow: hidden; aspect-ratio: 3/4; position: sticky; top: 24px; box-shadow: 0 40px 70px -36px rgba(18,35,59,.55); }
.finish .portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.fcards { display: grid; gap: 18px; }
.fcard { display: grid; grid-template-columns: 56px 1fr auto; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 26px 28px; }
.fcard .seg span { padding: 10px 14px; }
.fcard .ic { width: 56px; height: 56px; border-radius: 16px; background: #E4F1EF; color: var(--teal-d); display: grid; place-items: center; }
.fcard .ic svg { width: 28px; height: 28px; }
.fcard h3 { font-size: 22px; letter-spacing: -.02em; font-weight: 800; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fcard p { color: var(--ink-2); font-size: 16px; margin-top: 4px; }

/* step: consent */
.consent { max-width: 640px; margin: 24px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 32px; padding: 44px; box-shadow: 0 30px 60px -40px rgba(18,35,59,.4); }
.consent label.agree { min-height: 44px; padding: 6px 0; display: grid; grid-template-columns: 34px 1fr; gap: 18px; align-items: start; font-size: 22px; font-weight: 700; letter-spacing: -.015em; cursor: pointer; }
.consent input[type=checkbox] { appearance: none; width: 34px; height: 34px; border-radius: 10px; border: 2.5px solid var(--navy); background: #fff; margin: 0; display: grid; place-items: center; cursor: pointer; }
.consent input[type=checkbox]:checked { background: var(--navy); }
.consent input[type=checkbox]:checked::after { content: ""; width: 18px; height: 10px; border: 3.5px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px,-2px); }
.consent .terms { display: inline-block; margin: 20px 0 0 52px; font-size: 18px; font-weight: 600; color: var(--teal-d); }

/* making */
.making { display: grid; grid-template-columns: 1fr 520px; gap: 72px; align-items: center; max-width: 1140px; margin: 0 auto; }
.ringwrap { display: flex; align-items: center; gap: 36px; }
.ring { --p: 38; width: 200px; height: 200px; border-radius: 50%; background: conic-gradient(var(--teal-d) calc(var(--p) * 1%), #E4DFD2 0); display: grid; place-items: center; flex: none; }
.ring div { width: 164px; height: 164px; border-radius: 50%; background: var(--cream); display: grid; place-items: center; font-size: 46px; font-weight: 800; letter-spacing: -.04em; }
.ring small { font-size: 22px; font-weight: 700; }
.making h1 { font-size: 52px; letter-spacing: -.035em; line-height: 1.04; font-weight: 800; }
.making .lead { font-size: 20px; color: var(--ink-2); margin-top: 16px; max-width: 520px; }
.mgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mgrid .m { aspect-ratio: 4/5; border-radius: 16px; overflow: hidden; background: #E4DFD2; position: relative; }
.mgrid .m img { width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .8s; }
.mgrid .m::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%); background-size: 220% 100%; animation: sh 1.6s infinite linear; }
.mgrid .m.done img { opacity: 1; }
.mgrid .m.done::after { display: none; }
@keyframes sh { from { background-position: 120% 0; } to { background-position: -120% 0; } }

/* results */
.rbar { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: -20px 0 44px; }
.rbar .btn { padding: 14px 26px; font-size: 16px; }
.rgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: start; }
.rcard { background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; }
.rcard { position: relative; }
.rcard .ph { display: block; width: 100%; padding: 0; border: 0; background: #E4DFD2; aspect-ratio: 4/5; position: relative; overflow: hidden; }
.rcard .ph img { width: 100%; height: 100%; object-fit: contain; }
.rcard .ph.open { cursor: zoom-in; } .rcard .ph.open::after { content: ""; position: absolute; inset: 0; } .rcard .ph.open:focus-visible { outline-offset: -4px; }
.rcard .row, .rcard .why-box { position: relative; z-index: 2; background: #fff; }
.rcard .kept { position: absolute; top: 12px; left: 12px; display: none; }
.rcard.is-kept .kept { display: inline-flex; }
.rcard .row { display: flex; align-items: center; gap: 6px; padding: 12px 14px 12px 18px; }
.rcard .row .cap { flex: 1; min-width: 0; }
.rcard .row .cap b { display: block; font-size: 15.5px; } .rcard .row .cap small { display: block; color: var(--ink-3); font-size: 13.5px; }
.ib { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--ink-2); display: grid; place-items: center; cursor: pointer; transition: .15s; }
.ib:hover { background: #F1ECDF; color: var(--ink); }
.ib svg { width: 22px; height: 22px; }
.ib[aria-pressed="true"] { background: var(--navy); color: #fff; }
.ib.up[aria-pressed="true"] { background: var(--good); }
.ib.keep[aria-pressed="true"] { background: var(--amber); color: var(--navy); }
.why-box { display: none; padding: 4px 18px 18px; border-top: 1px solid var(--line); background: #FDFBF6; }
.rcard.is-down .why-box { display: block; }
.why-box label.t { display: block; font-weight: 700; font-size: 14.5px; margin: 14px 0 8px; }
.why-box textarea { width: 100%; min-height: 76px; resize: vertical; border: 1.5px solid var(--line-2); border-radius: 14px; padding: 12px 14px; font: 500 15px/1.4 var(--font); background: #fff; color: var(--ink); }
.why-box .chk { display: grid; grid-template-columns: 22px 1fr; gap: 10px; margin-top: 12px; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.why-box .chk input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--navy); }
.why-box .acts { display: flex; gap: 10px; margin-top: 14px; }
.why-box .acts .btn { padding: 10px 18px; font-size: 14.5px; }

.more { margin: 56px 0 0; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; background: var(--navy); color: #fff; border-radius: 32px; padding: 36px 44px; }
.more h2 { font-size: 30px; letter-spacing: -.025em; font-weight: 800; }
.more p { color: #C9D3E4; margin-top: 6px; font-size: 17px; }
.more .btn { font-size: 18px; padding: 18px 34px; }
.next { margin-top: 96px; }
.next h2 { margin-top: 36px; font-size: 44px; text-align: center; letter-spacing: -.03em; font-weight: 800; }
.next .sub { text-align: center; color: var(--ink-2); font-size: 19px; margin-top: 10px; }
.ncards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 28px auto 0; max-width: 880px; }
.ncard { display: flex; flex-direction: column; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 32px 30px 30px; }
.nbub { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #E3F1EF; color: var(--teal-d); flex: none; }
.nbub.nb-jobs { background: #FBEFD0; color: #7a5410; }
.nbub .nic { width: 26px; height: 26px; max-width: 32px; max-height: 32px; }
.ncard h3 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin-top: 18px; line-height: 1.2; }
.ncard p { color: var(--ink-2); margin-top: 8px; font-size: 17px; line-height: 1.45; }
.ncard .nbtn { margin-top: 24px; min-height: 56px; padding: 14px 28px; font-size: 18px; }
.nbtn .nic { width: 18px; height: 18px; max-width: 32px; max-height: 32px; flex: none; }
.ntop { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; text-align: center; }
.navatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid #fff; box-shadow: 0 6px 16px -8px rgba(18,35,59,.5); }
.nthanks { font-size: 19px; font-weight: 600; }
.nlink { background: none; border: 0; padding: 12px 6px; font: inherit; font-size: 16px; font-weight: 600; color: var(--teal-d); text-decoration: underline; cursor: pointer; min-height: 44px; }
.ncard .nlink { margin-top: 10px; align-self: center; }
.ndone { text-align: center; margin-top: 22px; } .ndone .nlink { color: var(--ink-2); }

/* nav page */
.navdemo { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; max-width: 1100px; margin: 0 auto; }
.navdemo .frame { background: var(--navy); border-radius: 28px; padding: 22px 14px; position: sticky; top: 24px; }
.navdemo .frame .logo { padding: 4px 10px 18px; } .navdemo .frame .logo img { height: 34px; }
.navdemo .frame a.nv { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; color: #B9C4D9; text-decoration: none; }
.navdemo .frame a.nv svg { width: 20px; height: 20px; }
.navdemo .frame a.nv.on { background: rgba(255,255,255,.14); color: #fff; }
.navdemo .frame .sub { margin: 2px 0 6px 20px; padding-left: 14px; border-left: 1px solid rgba(255,255,255,.14); display: grid; gap: 2px; }
.navdemo .frame .sub a { display: block; padding: 8px 12px; border-radius: 9px; font-weight: 600; font-size: 14.5px; color: #B9C4D9; text-decoration: none; }
.navdemo .frame .sub a.on { background: var(--amber); color: var(--navy); }
.navdemo h1 { font-size: 44px; letter-spacing: -.03em; font-weight: 800; line-height: 1.05; }
.navdemo h2 { font-size: 22px; font-weight: 800; margin-top: 36px; letter-spacing: -.01em; }
.navdemo p, .navdemo li { font-size: 17px; color: var(--ink-2); margin-top: 10px; }
.navdemo ul { padding-left: 20px; } .navdemo code { background: #EFEBE1; padding: 2px 7px; border-radius: 6px; font-size: 15px; }
.names { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.names div { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px; font-weight: 700; font-size: 17px; color: var(--ink); }
.names div.pick { border-color: var(--navy); box-shadow: 0 0 0 2px var(--navy) inset; }
.names small { display: block; font-weight: 500; color: var(--ink-2); font-size: 14px; margin-top: 4px; }

.quiet { color: var(--ink-3); font-size: 16px; margin-top: 6px; }
.tips { margin-top: 28px; max-width: 480px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 20px 22px; }
.tips h2 { font-size: 15px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2); }
.tipbox { margin-top: 12px; min-height: 84px; }
.tip { display: none; align-items: flex-start; gap: 14px; font-size: 18px; line-height: 1.4; }
.tip.on { display: flex; animation: tipin .5s ease; }
.tbub { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #E3F1EF; color: var(--teal-d); flex: none; }
.tic { width: 22px; height: 22px; max-width: 32px; max-height: 32px; }
.making .leave { margin-top: 14px; }
@keyframes tipin { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .tip.on { animation: none; } }
/* full screen viewer, desktop */
.vw-d .vw-top { position: absolute; z-index: 5; left: 0; right: 0; top: 0; display: grid; grid-template-columns: 140px 1fr 140px; align-items: center; padding: 14px 20px; background: linear-gradient(rgba(6,12,22,.7), rgba(6,12,22,0)); color: #fff; }
.vw-d .vw-x { display: inline-flex; align-items: center; gap: 8px; justify-self: start; min-height: 52px; padding: 0 20px 0 14px; border: 0; border-radius: 999px; background: rgba(255,255,255,.14); color: #fff; font: 700 16px var(--font); cursor: pointer; }
.vw-d .vw-x:hover, .vw-d .vw-nav:hover { background: rgba(255,255,255,.28); } .vw-d .vw-x svg { width: 22px; height: 22px; }
.vw-d .vw-title { text-align: center; } .vw-d .vw-title b { display: block; font-size: 19px; } .vw-d .vw-title small { font-size: 15px; opacity: .85; }
.vw-d .vw-count { justify-self: end; font-size: 16px; font-weight: 700; }
.vw-d .vw-stage { position: absolute; inset: 0 0 0 0; cursor: zoom-in; touch-action: none; } .vw-d.zoomed .vw-stage { cursor: grab; } .vw-d .vw-stage.grab { cursor: grabbing; }
.vw-d .vw-nav { position: absolute; z-index: 6; top: 50%; margin-top: -28px; width: 56px; height: 56px; border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff; display: grid; place-items: center; cursor: pointer; transition: opacity .2s; }
.vw-d .vw-nav svg { width: 26px; height: 26px; } .vw-d .vw-nav.prev { left: 24px; } .vw-d .vw-nav.next { right: 24px; } .vw-d .vw-nav:disabled { opacity: .25; cursor: default; }
.vw-d .vw-bar { position: absolute; z-index: 5; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 8px; padding: 8px 12px; border-radius: 22px; background: rgba(10,20,34,.72); }
.vw-d .vw-act { min-width: 88px; min-height: 64px; }
.vw-d .vw-sheet { left: 50%; top: 50%; width: min(520px, calc(100vw - 32px)); border-radius: 26px; padding: 28px; transform: translate(-50%,-46%); opacity: 0; pointer-events: none; }
.sheet-on .vw-d .vw-sheet { transform: translate(-50%,-50%); opacity: 1; pointer-events: auto; }
.bars-off .vw-d .vw-nav { opacity: 0; pointer-events: none; }

/* Compact desktop, 900 to 1099px wide (1024x768 laptops, small windows): the same desktop layout (top stepper, picture beside the choices) with narrower fixed columns and gutters, so nothing runs off the page (docs/UX_STANDARDS.md 3.1). */
@media (min-width: 900px) and (max-width: 1099.98px) {
  .shell { grid-template-columns: 248px minmax(0, 1fr); }
  .main { padding: 24px 28px 64px; }
  .wz-top { padding: 14px 24px; }
  .wz-main { padding: 16px 28px 48px; }
  .wz-foot { padding: 14px 28px; }
  .wz-head { margin: 16px auto 32px; }
  .hero { padding: 48px 40px; gap: 32px; grid-template-columns: minmax(0, 1fr) minmax(0, 340px); }
  .hero h1 { font-size: 40px; }
  .hero .stage, .hero .ba { min-width: 0; }
  .finish { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 32px; }
  .fcard { grid-template-columns: 56px minmax(0, 1fr); padding: 20px 22px; gap: 16px 18px; }
  .fcard > :last-child { grid-column: 2; justify-self: start; }
  .match { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; }
  .making { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 40px; }
  .photo-grid { gap: 36px; }
  .rgrid { gap: 20px; }
  .more { padding: 28px 32px; gap: 24px; }
  .navdemo { grid-template-columns: 260px minmax(0, 1fr); gap: 36px; }
  .steps4, .trust { gap: 16px; }
  .bento .card .txt { padding: 28px 28px 18px; }
  .bento .big .grid9, .bento .fan { padding-left: 28px; padding-right: 28px; }
}
