/* Zhina home page (2026-11-12). Black on white like the app; the one black
   room is the AR card, where the app itself uses colour. One typeface. */

:root {
  --ink: #000;
  --paper: #fff;
  --mist: #f4f4f2;
  --line: #deded9;
  --soft: #66665f;
  --neon: #39ff14;
  --font: 'Bricolage Grotesque', 'Segoe UI', Roboto, sans-serif;
  --edge: clamp(20px, 5vw, 72px);
  --wide: 1240px;
  /* Every section's content shares these two edges. */
  --inner: calc(var(--wide) + 2 * var(--edge));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.5 var(--font);
  font-variation-settings: 'wdth' 100;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.card :focus-visible { outline-color: var(--neon); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }

h2 {
  font-size: clamp(34px, 5.4vw, 76px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.015em;
  font-variation-settings: 'wdth' 90;
  max-width: 14ch;
  text-wrap: balance;
}
.note { font-size: 13.5px; color: var(--soft); max-width: 60ch; }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 20px;
  background: var(--ink); color: var(--paper);
  border: 0; border-radius: 999px;
  font: 600 15px/1 var(--font); text-decoration: none; cursor: pointer;
}
.btn:hover { background: #2b2b2b; }
.btn.big { min-height: 56px; padding: 0 30px; font-size: 17px; }
.btn.light { background: var(--paper); color: var(--ink); }
.btn.light:hover { background: var(--neon); }
.link { font-weight: 600; text-underline-offset: 5px; text-decoration-thickness: 2px; min-height: 44px; display: inline-flex; align-items: center; }

/* ------------------------------------------------------------- header */
.top {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 28px;
  padding: 12px var(--edge);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.top.scrolled { border-bottom-color: var(--line); }
.brand { margin-right: auto; display: block; }
.brand img { width: 108px; }
.menu { display: flex; gap: 26px; }
.menu a { text-decoration: none; font-weight: 500; font-size: 15px; padding: 12px 0; }
.menu a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* --------------------------------------------------------------- hero */
.hero {
  max-width: var(--inner); margin: 0 auto;
  padding: clamp(28px, 6vw, 80px) var(--edge) clamp(56px, 8vw, 120px);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(24px, 4vw, 64px); align-items: center;
}
h1 {
  font-size: clamp(54px, 9.4vw, 132px);
  line-height: .98;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variation-settings: 'wdth' 88;
  display: grid; gap: .1em;
}
/* The app's search field, at headline size. */
.field {
  display: flex; align-items: center; gap: .22em;
  height: 1.12em; padding: 0 .32em;
  border: max(3px, .045em) solid var(--ink); border-radius: 999px;
  overflow: hidden; white-space: nowrap;
}
.field svg { width: .5em; height: .5em; flex: none; fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; }
.word { font-size: .62em; letter-spacing: -0.015em; font-weight: 600; transition: opacity .22s, transform .22s; }
.word.out { opacity: 0; transform: translateY(.35em); }
.sub { margin-top: 28px; font-size: clamp(17px, 1.6vw, 21px); max-width: 34ch; color: #2b2b2b; }
.hero-go { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.shared { margin-top: 18px; }
.shared[hidden] { display: none; }

.scene { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
/* The avatars lean a little past the edges; never into a sideways scroll. */
.hero { overflow-x: clip; }
.phone {
  position: relative; width: min(42%, 270px);
  border: 9px solid var(--ink); border-radius: 40px; overflow: hidden;
  background: var(--paper);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .45);
}
.phone img { width: 100%; }
.scene .phone { width: 43%; }
/* A professional and an offer from the app, beside the phone. */
.float { position: absolute; height: auto; border-radius: 16px; background: var(--paper); box-shadow: 0 22px 44px -14px rgba(0, 0, 0, .4); }
.f-pro { width: 31%; left: 0; top: 10%; transform: rotate(-5deg); }
.f-offer { width: 31%; right: 0; top: 14%; transform: rotate(4deg); }
/* The two avatars welcome you on either side of the phone, each with its
   own soft floor shadow from the render. */
.who { position: absolute; bottom: 0; height: 47%; width: auto; }
.who.her { left: 12%; }
.who.him { right: -6%; }

/* ---------------------------------------------------------------- how */
/* A real sequence, so it is numbered: the number is the step. */
.how { max-width: var(--inner); margin: 0 auto; padding: clamp(56px, 8vw, 120px) var(--edge); border-top: 1px solid var(--line); }
.how h2 { max-width: 16ch; }
.steps { margin: clamp(32px, 5vw, 64px) 0 0; padding: 0; list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.steps li { counter-increment: step; }
.peek { aspect-ratio: 390 / 470; overflow: hidden; border: 7px solid var(--ink); border-bottom: 0; border-radius: 32px 32px 0 0; background: var(--paper); }
.peek img { width: 100%; }
.peek.end { border-bottom: 7px solid var(--ink); border-top: 0; border-radius: 0 0 32px 32px; display: flex; flex-direction: column; justify-content: flex-end; }
.steps h3 { margin: 22px 0 6px; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.1; font-weight: 700; letter-spacing: -0.01em; font-variation-settings: 'wdth' 90; display: flex; align-items: center; gap: 12px; }
.steps h3::before { content: counter(step); display: inline-grid; place-items: center; flex: none; width: 1.3em; height: 1.3em; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: .62em; }
.steps p { color: #2b2b2b; max-width: 32ch; }

/* ------------------------------------------------------------ the app */
.app { max-width: var(--inner); margin: 0 auto; padding: clamp(56px, 8vw, 120px) var(--edge); border-top: 1px solid var(--line); }
.app-grid { margin-top: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(24px, 6vw, 96px); align-items: start; }
.picks { display: grid; }
.picks button {
  all: unset; box-sizing: border-box; cursor: pointer;
  display: grid; gap: 4px; padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: #a3a39c;
}
.picks button:first-child { border-top: 1px solid var(--line); }
.picks b { font-size: clamp(28px, 4vw, 52px); line-height: 1.05; font-weight: 700; letter-spacing: -0.015em; font-variation-settings: 'wdth' 90; }
.picks span { font-size: 16px; color: var(--soft); max-height: 0; overflow: hidden; opacity: 0; transition: max-height .25s, opacity .25s; }
.picks button:hover { color: #55554f; }
.picks button[aria-selected='true'] { color: var(--ink); }
.picks button[aria-selected='true'] span { max-height: 3.2em; opacity: 1; }
.picks button:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }
.app-phone { width: 290px; max-width: none; position: sticky; top: 96px; }
.app-phone img { transition: opacity .18s; }
.app-phone img.swap { opacity: 0; }
.app > .note { margin-top: 28px; }

/* ------------------------------------------------------------- around */
.around { background: var(--mist); padding: clamp(56px, 8vw, 120px) var(--edge); }
.around > * { max-width: var(--wide); margin-left: auto; margin-right: auto; }
.around h2 { max-width: none; }
.around h2.second { margin-top: clamp(56px, 7vw, 96px); }
.groups { margin-top: 28px; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.groups::-webkit-scrollbar { display: none; }
.groups button {
  flex: none; min-height: 44px; padding: 0 16px;
  border: 1.5px solid var(--ink); border-radius: 999px;
  background: transparent; color: var(--ink);
  font: 500 15px var(--font); cursor: pointer; white-space: nowrap;
}
.groups button[aria-selected='true'] { background: var(--ink); color: var(--paper); }
.tiles { margin-top: 22px; display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 10px; }
.tiles li { background: var(--paper); border-radius: 14px; font-size: 14px; font-weight: 500; line-height: 1.25; }
.tiles a { height: 100%; padding: 14px 12px 12px; display: grid; gap: 10px; justify-items: center; align-content: start; text-align: center; text-decoration: none; border-radius: 14px; border: 1.5px solid transparent; }
.tiles a:hover { border-color: var(--ink); }
.tiles img { width: 84px; height: 84px; object-fit: contain; }
.tiles .letter { width: 84px; height: 84px; display: grid; place-items: center; font-size: 40px; font-weight: 700; color: #b9b9b2; }

/* ------------------------------------------------------------ AR card */
.card { background: var(--ink); color: var(--paper); padding: clamp(64px, 9vw, 136px) var(--edge); }
.card > * { max-width: var(--wide); margin-left: auto; margin-right: auto; }
.card-say p { margin-top: 20px; font-size: clamp(17px, 1.6vw, 21px); max-width: 36ch; color: #d6d6d0; }
.card-say .btn { margin-top: 26px; }
.card-show { margin-top: clamp(36px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.stage { perspective: 1400px; display: grid; place-items: center; padding: 20px 0; }
.vcard {
  --rx: 6deg; --ry: -14deg; --flip: 0deg;
  position: relative; width: min(100%, 398px); aspect-ratio: 398 / 228;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(calc(var(--ry) + var(--flip)));
  transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}
.vcard.flipped { --flip: 180deg; }
.face { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 14px; backface-visibility: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
.face.back { transform: rotateY(180deg); }
.ar { width: 100%; aspect-ratio: 640 / 545; object-fit: cover; object-position: 50% 100%; border-radius: 22px; }
.card .note { margin-top: 28px; color: #9a9a93; }

/* -------------------------------------------------------------- trust */
.trust { max-width: var(--inner); margin: 0 auto; padding: clamp(56px, 8vw, 120px) var(--edge); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(28px, 7vw, 110px); align-items: center; }
.trust-phone { width: 270px; aspect-ratio: 390 / 844; }
/* A tall profile in a phone-shaped frame: it scrolls down to the posts and back. */
.trust-phone img.scroll { animation: profile-scroll 14s ease-in-out 1s infinite alternate; }
@keyframes profile-scroll { 0%, 15% { transform: translateY(0); } 85%, 100% { transform: translateY(-43%); } }
.trust dl { margin-top: clamp(24px, 4vw, 44px); display: grid; }
.trust dl div { padding: 18px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(150px, .5fr) 1fr; gap: 6px 24px; }
.trust dl div:last-child { border-bottom: 1px solid var(--line); }
.trust dt { font-weight: 700; font-size: 19px; }
.trust dd { color: #2b2b2b; }
.trust .note { margin-top: 20px; }

/* --------------------------------------------------------------- grow */
.grow { background: var(--mist); padding: clamp(56px, 8vw, 120px) var(--edge); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 7vw, 110px); align-items: center; }
.grow-say { justify-self: end; width: 100%; max-width: 760px; }
.grow-phone { width: 270px; justify-self: start; }
.gets { margin-top: clamp(24px, 4vw, 44px); display: grid; }
.gets li { padding: 18px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(170px, .5fr) 1fr; gap: 6px 24px; }
.gets li:last-child { border-bottom: 1px solid var(--line); }
.gets b { font-size: 19px; }
.gets span { color: #2b2b2b; }

/* ---------------------------------------------------------------- faq */
.faq { max-width: var(--inner); margin: 0 auto; padding: clamp(56px, 8vw, 120px) var(--edge); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 24px clamp(28px, 6vw, 96px); align-items: start; }
.qs { border-top: 1px solid var(--line); }
.qs details { border-bottom: 1px solid var(--line); }
.qs summary { list-style: none; cursor: pointer; min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: clamp(18px, 1.7vw, 22px); font-weight: 600; }
.qs summary::-webkit-details-marker { display: none; }
.qs summary::after { content: ''; flex: none; width: 12px; height: 12px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: translateY(-3px) rotate(45deg); transition: transform .2s; }
.qs details[open] summary::after { transform: translateY(3px) rotate(225deg); }
.qs summary:focus-visible { outline-offset: -3px; }
.qs p { padding: 0 0 22px; color: #2b2b2b; max-width: 58ch; }
.faq > .note { grid-column: 2; }
.faq .note a { font-weight: 600; }

/* ----------------------------------------------------------- download */
.download { border-top: 1px solid var(--line); padding: clamp(72px, 11vw, 168px) var(--edge); text-align: center; display: grid; justify-items: center; gap: 22px; }
.download h2 { max-width: none; font-size: clamp(38px, 6.6vw, 96px); }
.soon { font-size: clamp(18px, 2vw, 24px); font-weight: 600; border: 2px solid var(--ink); border-radius: 999px; padding: 12px 26px; }

/* --------------------------------------------- find (one service page) */
.find { max-width: 720px; margin: 0 auto; padding: clamp(40px, 8vw, 112px) var(--edge) clamp(64px, 10vw, 140px); display: grid; justify-items: center; gap: 22px; text-align: center; }
.find-pic { width: 180px; height: 180px; object-fit: contain; border-radius: 28px; }
.find-pic[hidden] { display: none; }
.find h1 { display: block; font-size: clamp(40px, 7vw, 84px); text-wrap: balance; }
.find-say { font-size: clamp(17px, 1.6vw, 20px); color: #2b2b2b; max-width: 38ch; }
.find-field { font-size: clamp(30px, 5vw, 52px); font-weight: 600; max-width: 100%; }
.find-field span { font-size: .62em; overflow: hidden; text-overflow: ellipsis; }

/* ------------------------------------------------------------- footer */
.foot { border-top: 1px solid var(--line); padding: 28px var(--edge); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; font-size: 14.5px; }
.foot img { width: 96px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-right: auto; }
.foot a { text-decoration: none; padding: 10px 0; }
.foot a:hover { text-decoration: underline; text-underline-offset: 5px; }
.foot > span { color: var(--soft); }

/* -------------------------------------------------------------- small */
@media (max-width: 860px) {
  .menu { display: none; }
  .hero { grid-template-columns: 1fr; }
  .scene { max-width: 440px; margin: 8px auto 0; width: 100%; }
  .app-grid { grid-template-columns: 1fr; }
  /* On a phone the five become a row of pills right above the screen
     they change, so the change is seen. */
  .picks { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .picks::-webkit-scrollbar { display: none; }
  .picks button, .picks button:first-child {
    flex: none; display: flex; align-items: center; min-height: 44px; padding: 0 16px;
    border: 1.5px solid var(--ink); border-radius: 999px; color: var(--ink);
  }
  .picks b { font-size: 15px; font-weight: 500; letter-spacing: 0; font-variation-settings: 'wdth' 100; white-space: nowrap; }
  .picks span { display: none; }
  .picks button[aria-selected='true'] { background: var(--ink); color: var(--paper); }
  .app-phone { position: static; width: min(72%, 290px); margin: 0 auto; }
  .card-show { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .trust-phone { width: min(64%, 260px); margin: 0 auto; order: 2; }
  .trust dl div { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 40px; }
  .peek { max-width: 300px; }
  .grow { grid-template-columns: 1fr; }
  .grow-say { max-width: none; }
  .grow-phone { width: min(64%, 260px); justify-self: center; }
  .gets li { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .faq > .note { grid-column: auto; }
}
@media (max-width: 420px) {
  .top { gap: 12px; }
  .brand img { width: 92px; }
  .tiles { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .trust-phone img.scroll { animation: none; }
}
