/* OfficeSwap site. Clean white product-page style. */
:root {
  --bg: #ffffff;
  --bg-2: #f5f5f7;
  --card: #ffffff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --faint: #86868b;
  --line: #e5e5ea;
  --pill: #f2f2f4;
  --brass: #9c6e21;
  --green: #34c759;
  --panel-2: #f2f2f4;
  --ink-soft: #424245;
  --ink-faint: #6e6e73;
  --sf: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mr-sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mr-serif: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.55 var(--sf); -webkit-font-smoothing: antialiased; letter-spacing: -0.005em;
}
img { max-width: 100%; }
a { color: var(--ink); }
em { font-style: italic; }

/* ---------- Top nav ---------- */
.topnav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.82); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px);
  padding-top: env(safe-area-inset-top, 0px);
}
.topnav-in { max-width: 1180px; margin: 0 auto; padding: 12px 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.topnav .brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 16px; letter-spacing: -0.02em; }
.topnav .brand img { width: 26px; height: 26px; border-radius: 7px; background: #000; }
.pills { display: flex; gap: 4px; }
.pills a { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 500; padding: 7px 14px; border-radius: 999px; transition: background .2s, color .2s; }
.pills a:hover { color: var(--ink); }
.pills a.active { background: var(--pill); color: var(--ink); }
.pill-btn {
  justify-self: end; display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 600; padding: 9px 18px; border-radius: 999px;
  transition: transform .15s, background .2s;
}
.pill-btn:hover { background: #000; transform: translateY(-1px); }
.pill-btn.lg { font-size: 16px; padding: 13px 26px; }
@media (max-width: 760px) { .pills { display: none; } .topnav-in { grid-template-columns: 1fr auto; } }

/* ---------- Document pages (privacy, terms, support) ---------- */
.wrap { max-width: 760px; margin: 0 auto; padding: 40px 20px 72px; }
body.wide .wrap { max-width: 1120px; }
.wrap h1 { font-size: clamp(34px, 5vw, 48px); line-height: 1.08; letter-spacing: -0.035em; font-weight: 600; margin: 0 0 8px; }
.wrap h2 { font-size: 22px; letter-spacing: -0.02em; font-weight: 600; margin: 40px 0 8px; }
.wrap h3 { font-size: 17px; font-weight: 600; margin: 22px 0 4px; }
.meta { color: var(--muted); font-size: 15px; margin: 0 0 28px; }
.summary { background: var(--bg-2); border-radius: 18px; padding: 20px 24px; margin: 0 0 8px; }
.summary p { margin: 0 0 8px; }
.summary ul { margin: 0; padding-left: 20px; }
.wrap a { color: var(--brass); }
.wrap ul { padding-left: 22px; }
.wrap li { margin: 5px 0; }

/* ---------- Home: shared ---------- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.display {
  font-weight: 500; letter-spacing: -0.034em; line-height: 1.05; margin: 0; text-align: center; text-wrap: balance;
  font-size: clamp(42px, 6.4vw, 80px);
}
.h2 { font-weight: 500; letter-spacing: -0.028em; line-height: 1.08; margin: 0; font-size: clamp(34px, 4.6vw, 60px); text-wrap: balance; }
.center { text-align: center; }
.lede { color: var(--muted); font-size: clamp(17px, 1.6vw, 21px); line-height: 1.45; letter-spacing: -0.005em; margin: 18px auto 0; max-width: 34em; text-align: center; }
section.band { padding: 110px 0; }
section.band.gray { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
/* Motion, after yourpersona.com. Headlines: word by word, each drops in blurred from above, sharpens with a
   small overshoot and settles. Other content rises (fades up), cards pop (rise with a slight scale). */
.bt-w { display: inline-block; opacity: 0; will-change: transform, filter, opacity; }
.wt.go .bt-w { animation: bt-in var(--bt-dur, 1s) cubic-bezier(.22,.9,.28,1) var(--d, 0ms) both; }
@keyframes bt-in {
  0% { opacity: 0; filter: blur(12px); transform: translateY(-16px); }
  50% { opacity: .6; filter: blur(4px); transform: translateY(3px); }
  100% { opacity: 1; filter: blur(0); transform: none; }
}
.reveal, .rise { opacity: 0; transform: translateY(18px); transition: opacity .9s cubic-bezier(.22,.9,.28,1) var(--rd, 0ms), transform .9s cubic-bezier(.22,.9,.28,1) var(--rd, 0ms); }
.reveal.in, .rise.in { opacity: 1; transform: none; }
.card.reveal, .tile.reveal, .priv.reveal, .spec.reveal, .bt.reveal { transform: translateY(10px) scale(.97); }
.card.reveal.in, .tile.reveal.in, .priv.reveal.in, .spec.reveal.in, .bt.reveal.in { transform: none; }
.hero .phones.rise { transform: translateY(40px); transition-duration: 1.2s; }
.hero .phones.rise.in { transform: none; }
/* Different entrances for different things, after yourpersona.com/band.
   data-a on a .reveal picks one; the start state only applies until .in, so
   an element's own hover transforms still work afterwards. */
.reveal[data-a] { transition: opacity .9s cubic-bezier(.22,.9,.28,1) var(--rd, 0ms), transform .9s cubic-bezier(.22,.9,.28,1) var(--rd, 0ms), filter .9s cubic-bezier(.22,.9,.28,1) var(--rd, 0ms); }
.reveal[data-a]:not(.in) { opacity: 0; }
/* paragraphs: a short lift */
.reveal[data-a="para"]:not(.in) { transform: translateY(12px); }
/* some headings: up through a blur instead of word by word */
.reveal[data-a="lift"]:not(.in) { filter: blur(6px); transform: translateY(44px); }
.reveal[data-a="lift"] { transition-duration: 1.1s; }
.reveal[data-a="rise"]:not(.in) { transform: translateY(26px); }
/* big pictures and widgets: blur, lift and grow into place */
.reveal[data-a="media"]:not(.in) { filter: blur(10px); transform: translateY(44px) scale(.97); }
.reveal[data-a="media"] { transition-duration: 1.2s; }
/* the demo phone: slides in from the side, like a tab panel */
.reveal[data-a="slide"]:not(.in) { filter: blur(14px); transform: translateX(48px); }
.reveal[data-a="slide"] { transition-duration: 1.1s; }
/* tiles: a quiet zoom */
.reveal[data-a="zoom"]:not(.in) { transform: scale(.96); }
/* cards: a lift */
.reveal[data-a="card"]:not(.in) { transform: translateY(16px); }
/* list rows: swing in from their icon */
.reveal[data-a="swing"] { transform-origin: 28px 50%; transition-timing-function: cubic-bezier(.34,1.35,.5,1), cubic-bezier(.34,1.35,.5,1), ease-out; transition-duration: .5s, .8s, .5s; }
.reveal[data-a="swing"]:not(.in) { transform: translateX(-14px) translateY(10px) scale(.94); }
/* small print: a short blur-up */
.reveal[data-a="label"]:not(.in) { filter: blur(6px); transform: translateY(6px); }
.reveal[data-a="label"] { transition-duration: .6s; }
/* questions */
.reveal[data-a="faq"]:not(.in) { transform: translateY(18px); }
/* buttons: up through a soft blur */
.reveal[data-a="cta"]:not(.in) { filter: blur(5px); transform: translateY(22px); }
/* the hero's side phones fan out from behind the middle one */
.hero .phones.rise .p-left, .hero .phones.rise .p-right { transition: transform 1.3s cubic-bezier(.34,1.2,.5,1) calc(var(--rd, 0ms) + 280ms), opacity .7s ease calc(var(--rd, 0ms) + 280ms); }
.hero .phones.rise:not(.in) .p-left { transform: translateX(-70%) translateY(110px) rotate(0) scale(.9); opacity: 0; }
.hero .phones.rise:not(.in) .p-right { transform: translateX(-30%) translateY(110px) rotate(0) scale(.9); opacity: 0; }
/* the big logo by the download buttons floats, like their feather */
@keyframes os-float { 0%, 100% { translate: 0 0; rotate: -1.5deg; } 50% { translate: 0 -9px; rotate: 1.5deg; } }
.download .logo-big.in { animation: os-float 5.5s ease-in-out 1.2s infinite; }
/* dark buttons: a glare sweeps across on hover */
.pill-btn { position: relative; overflow: hidden; }
.pill-btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(-45deg, rgba(255,255,255,0) 38%, rgba(255,255,255,.07) 52%, rgba(255,255,255,.22) 61%, rgba(255,255,255,.07) 70%, rgba(255,255,255,0) 84%) -55% -55% / 300% 300% no-repeat;
  transition: background-position 2s cubic-bezier(.32,.2,.25,1); }
.pill-btn:hover::after { background-position: 100% 100%; }
@media (prefers-reduced-motion: reduce) {
  .reveal[data-a]:not(.in) { opacity: 1; transform: none; filter: none; }
  .hero .phones.rise:not(.in) .p-left, .hero .phones.rise:not(.in) .p-right { opacity: 1; transform: none; }
  .download .logo-big.in { animation: none; }
  .pill-btn::after { transition: none; }
}
@media (prefers-reduced-motion: reduce) { .reveal, .rise { opacity: 1; transform: none; transition: none; } .bt-w { opacity: 1; } html { scroll-behavior: auto; } }

/* ---------- Realistic iPhone ---------- */
/* Titanium frame (the element's own background), a black bezel (the screen's border),
   side buttons attached to the frame, and a soft contact shadow. --w must be a length. */
.iphone {
  --w: 300px;
  position: relative; width: var(--w); max-width: 100%; box-sizing: border-box;
  padding: calc(var(--w) * 0.011);
  border-radius: calc(var(--w) * 0.185);
  background:
    linear-gradient(90deg, rgba(255,255,255,.55), rgba(255,255,255,0) 6%, rgba(255,255,255,0) 94%, rgba(255,255,255,.5)),
    linear-gradient(160deg, #eceef1 0%, #b9bdc4 22%, #f4f5f7 45%, #9ea3aa 70%, #d9dce0 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.7),
    inset 0 0 0 2px rgba(0,0,0,.18),
    0 50px 90px -30px rgba(0,0,0,.38),
    0 22px 40px -22px rgba(0,0,0,.3),
    0 2px 4px rgba(0,0,0,.12);
}
.iphone > img, .iphone > video, .iphone .screen {
  display: block; width: 100%; height: auto; box-sizing: border-box;
  border: calc(var(--w) * 0.03) solid #050506;
  border-radius: calc(var(--w) * 0.174);
  background: #050506;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.iphone .screen { position: relative; overflow: hidden; aspect-ratio: auto; }
.iphone .screen::before { content: ""; display: block; padding-top: calc(2622 / 1206 * 100%); }
.iphone .screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; z-index: 0; border-radius: calc(var(--w) * 0.144); }
.iphone .screen img.prev { opacity: 1; z-index: 1; }
.iphone .screen img.on { opacity: 1; z-index: 2; animation: screenIn .3s ease; }
@keyframes screenIn { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .iphone .screen img.on { animation: none; } }
.iphone > img { border-radius: calc(var(--w) * 0.174); }
/* Buttons attached to the frame: action + volume up/down on the left, side button on the right */
.iphone::before, .iphone::after { content: ""; position: absolute; width: calc(var(--w) * 0.012); border-radius: 2px; }
.iphone::before {
  left: calc(var(--w) * -0.0085); top: 16%; height: calc(var(--w) * 0.40);
  background:
    linear-gradient(90deg, #8f949b, #e7e9ec 50%, #9ca1a8) 0 0 / 100% calc(var(--w) * 0.06) no-repeat,
    linear-gradient(90deg, #8f949b, #e7e9ec 50%, #9ca1a8) 0 calc(var(--w) * 0.11) / 100% calc(var(--w) * 0.12) no-repeat,
    linear-gradient(90deg, #8f949b, #e7e9ec 50%, #9ca1a8) 0 calc(var(--w) * 0.26) / 100% calc(var(--w) * 0.12) no-repeat;
}
.iphone::after {
  right: calc(var(--w) * -0.0085); top: 27%; height: calc(var(--w) * 0.19);
  background: linear-gradient(90deg, #9ca1a8, #e7e9ec 50%, #8f949b);
}
/* Screen glass: a faint diagonal reflection */
.iphone .screen::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit;
  background: linear-gradient(115deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,0) 30%); }
.iphone.sm { --w: 240px; }
.iphone.lg { --w: 330px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 0; text-align: center; overflow: hidden; }
.hero .cta-row { display: flex; gap: 12px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.ghost-btn { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); font-size: 16px; font-weight: 600; padding: 13px 22px; border-radius: 999px; background: var(--pill); }
.ghost-btn:hover { background: #e8e8ed; }
.phones { position: relative; height: clamp(520px, 62vw, 740px); margin-top: 64px; }
.phones .iphone { position: absolute; left: 50%; top: 0; }
.phones .p-center { --w: clamp(250px, 26vw, 330px); transform: translateX(-50%); z-index: 3; }
.phones .p-left { --w: clamp(210px, 22vw, 280px); transform: translateX(-128%) translateY(70px) rotate(-6deg); z-index: 2; }
.phones .p-right { --w: clamp(210px, 22vw, 280px); transform: translateX(28%) translateY(70px) rotate(6deg); z-index: 2; }
.hero-video { position: relative; display: flex; justify-content: center; max-width: 1180px; margin: 64px auto 0; padding: 0 24px 24px; box-sizing: border-box; }
.hero-video .replay {
  position: absolute; bottom: 50%; width: 48px; height: 48px; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; color: #1d1d1f;
  background: rgba(0,0,0,.06); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  opacity: 0; transform: scale(.85); transition: opacity .35s ease, transform .35s ease, background-color .2s ease;
}
.hero-video .replay.in { opacity: 1; transform: none; }
.hero-video .replay:hover { background: rgba(0,0,0,.1); }
.hero-video .replay:active { transform: scale(.94); }
.hero-video .replay:focus-visible { outline: 2px solid #1d1d1f; outline-offset: 3px; }
.hero-video .replay svg { width: 22px; height: 22px; }
.hero { overflow: visible; overflow-x: clip; }
.hero-video { --hw: clamp(420px, 44vw, 600px); }
.hold { position: relative; width: var(--hw); flex: none; aspect-ratio: 1245 / 1762; left: calc(var(--hw) * -0.086); }
.hold video { position: absolute; left: 0; top: 0; transform-origin: 0 0; object-fit: fill; background: #f2f2f7; }
.hold-phone, .hold-still { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hold-hand { position: absolute; top: 0; pointer-events: none; }
.hold.live .hold-still { visibility: hidden; }
.hero-video .replay { z-index: 6; left: calc(50% + var(--hw) * 0.40 + 12px); }
@media (max-width: 700px) { .hero-video .replay { left: auto; right: 16px; bottom: 34%; width: 44px; height: 44px; } }
.iphone > video { aspect-ratio: 604 / 1312; object-fit: cover; }
.phones::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; background: linear-gradient(transparent, var(--bg)); z-index: 4; }
@media (max-width: 700px) {
  .phones { height: 560px; }
  .phones .p-left, .phones .p-right { display: none; }
  .phones .p-center { --w: 250px; }
}

/* ---------- Activity marquee ---------- */
.activity { position: relative; padding: 30px 0 10px; overflow: hidden; }
.activity::before, .activity::after { content: ""; position: absolute; top: 0; bottom: 0; width: 18%; z-index: 2; pointer-events: none; }
.activity::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.activity::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.lane { display: flex; gap: 14px; width: max-content; padding: 7px 0; animation: slide 60s linear infinite; }
.lane.rev { animation-direction: reverse; animation-duration: 70s; }
.lane.slow { animation-duration: 80s; }
@keyframes slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .lane { animation: none; } }
.chip {
  display: grid; grid-template-columns: 30px 1fr; column-gap: 10px; align-items: center;
  width: 230px; padding: 12px 14px 10px; background: #fff; border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 6px 20px rgba(0,0,0,.06);
}
.chip .ic { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; }
.chip .ic svg { width: 17px; height: 17px; }
.chip b { font-size: 13.5px; font-weight: 600; letter-spacing: -0.01em; display: block; line-height: 1.25; }
.chip span { font-size: 12px; color: var(--muted); display: block; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chip i { grid-column: 1 / -1; display: block; height: 3px; border-radius: 3px; background: #e9e9ee; margin-top: 10px; overflow: hidden; }
.chip i::after { content: ""; display: block; height: 100%; width: var(--p, 100%); background: var(--green); border-radius: 3px; }
.ic.green { background: #e7f8ec; color: #1f9d48; }
.ic.blue { background: #e6f0ff; color: #1a6ff2; }
.ic.amber { background: #fff4de; color: #c27c00; }
.ic.purple { background: #f1eaff; color: #7a4ddb; }
.ic.pink { background: #ffe9ef; color: #d6345f; }
.ic.gray { background: #efeff4; color: #515154; }
.tada { text-align: center; padding: 40px 0 0; }
.tada .pill-btn { margin-top: 24px; }

/* ---------- Made for (card rail) ---------- */
.rail-wrap { position: relative; margin-top: 48px; }
.rail { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(24px, calc(50% - 566px)) 8px; scroll-padding-inline: max(24px, calc(50% - 566px)); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.card {
  flex: none; width: 272px; height: 400px; border-radius: 22px; position: relative; overflow: hidden;
  scroll-snap-align: start; color: #fff; display: flex; flex-direction: column; justify-content: flex-end;
}
.card .art { position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 110px; }
.card .art svg { width: 96px; height: 96px; opacity: .92; filter: drop-shadow(0 10px 24px rgba(0,0,0,.18)); }
.card .txt { position: relative; padding: 18px 18px 20px; background: linear-gradient(transparent, rgba(0,0,0,.28)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.card h3 { margin: 0 0 4px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.card p { margin: 0; font-size: 14px; line-height: 1.4; color: rgba(255,255,255,.9); }
.g1 { background: linear-gradient(160deg, #3a7bd5, #1e3c72); }
.g2 { background: linear-gradient(160deg, #f7b267, #c0582b); }
.g3 { background: linear-gradient(160deg, #56ab91, #1d5c4c); }
.g4 { background: linear-gradient(160deg, #a18cd1, #5b3f99); }
.g5 { background: linear-gradient(160deg, #ee9ca7, #b24a6a); }
.g6 { background: linear-gradient(160deg, #4b6cb7, #182848); }
.g7 { background: linear-gradient(160deg, #c79a4a, #6f4e16); }
.g8 { background: linear-gradient(160deg, #6a7385, #2b303b); }
.rail-nav { display: flex; justify-content: flex-end; gap: 8px; max-width: 1180px; margin: 14px auto 0; padding: 0 24px; }
.rail-nav button { width: 36px; height: 36px; border-radius: 50%; border: none; background: var(--pill); color: var(--ink); font-size: 18px; cursor: pointer; }
.rail-nav button:hover { background: #e8e8ed; }

/* ---------- Showcase split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .h2 { font-size: clamp(34px, 4vw, 52px); }
.split .lede { text-align: left; margin-left: 0; }
.points { list-style: none; padding: 0; margin: 28px 0 30px; display: flex; flex-direction: column; gap: 10px; }
.points li { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 8px 16px 8px 8px; font-size: 14.5px; color: var(--ink-soft); box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 4px 14px rgba(0,0,0,.05); }
.points li .ic { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; }
.points li .ic svg { width: 14px; height: 14px; }
.stage { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.seg { display: inline-flex; background: #ebebef; border-radius: 999px; padding: 4px; gap: 2px; }
.seg button { border: none; background: transparent; font: inherit; font-size: 13.5px; font-weight: 500; color: var(--muted); padding: 7px 14px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split .h2, .split .lede { text-align: center; margin-left: auto; margin-right: auto; } .points { align-items: center; } .points li { align-self: center; } .split .copy { text-align: center; } }

/* ---------- Details grid ---------- */
.panel { background: var(--bg-2); border-radius: 28px; padding: clamp(24px, 4vw, 48px); margin-top: 48px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tile { background: #fff; border-radius: 20px; padding: 24px; }
.tile .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; }
.tile .ic svg { width: 20px; height: 20px; }
.tile h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; letter-spacing: -0.015em; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
@media (max-width: 860px) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid3 { grid-template-columns: 1fr; } }

/* ---------- Privacy ---------- */
.privacy-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.priv { border-top: 1px solid var(--line); padding-top: 18px; }
.priv b { display: block; font-size: 19px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 6px; }
.priv p { margin: 0; color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .privacy-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .privacy-grid { grid-template-columns: 1fr; } }

/* ---------- At a glance (specs) ---------- */
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: 24px; overflow: hidden; margin-top: 48px; }
.spec { background: #fff; padding: 30px 28px; }
.spec b { display: block; font-size: clamp(30px, 3.4vw, 42px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; }
.spec span { display: block; margin-top: 8px; color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .specs { grid-template-columns: 1fr 1fr; } }

/* ---------- Home FAQ (centered accordion) ---------- */
.qa-list { max-width: 740px; margin: 44px auto 0; display: flex; flex-direction: column; gap: 10px; }
details.q { background: #fff; border-radius: 16px; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 6px 20px rgba(0,0,0,.05); }
details.q summary { list-style: none; cursor: pointer; padding: 18px 50px 18px 22px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; position: relative; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 8px; height: 8px; border-right: 1.6px solid var(--faint); border-bottom: 1.6px solid var(--faint); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
details.q[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
details.q p { margin: 0; padding: 0 22px 20px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.see-all { display: block; text-align: center; margin-top: 22px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--ink); }
.see-all:hover { text-decoration: underline; }

/* ---------- Download CTA ---------- */
.download { text-align: center; overflow-x: clip; padding: 120px 0 100px; background: radial-gradient(60% 60% at 50% 100%, #f1ece2, var(--bg)); }
.download .logo-big { width: 84px; height: 84px; border-radius: 20px; background: #000; box-shadow: 0 16px 40px -12px rgba(0,0,0,.35); }
.download .h2 { margin-top: 26px; }
.download .cta-row { display: flex; justify-content: center; gap: 12px; margin-top: 30px; flex-wrap: wrap; align-items: center; }

/* ---------- FAQ page (MirRehab accordion) ---------- */
.faq { padding: 24px 0 40px; font-family: var(--mr-sans); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
@media (max-width: 820px) { .faq-grid { grid-template-columns: 1fr; } }
.faq-head h1 { font-family: var(--mr-serif); font-weight: 600; letter-spacing: -.015em; line-height: 1.1; font-size: clamp(28px, 4vw, 40px); margin: 0 0 16px; text-wrap: balance; }
.faq-head p { color: var(--ink-soft); font-size: 16px; margin: 0; }
.faq-head a { color: var(--brass); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
@media (max-width: 620px) { .faq-cols { grid-template-columns: 1fr; } }
.faq-col { display: flex; flex-direction: column; gap: 12px; }
.accordion { background: var(--panel-2); border-radius: 12px; overflow: hidden; }
.accordion-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: none; border: none; text-align: left; cursor: pointer; font: inherit; padding: 16px 18px; font-weight: 600; color: var(--ink); font-size: 15px; line-height: 1.6; transition: background-color .15s ease; }
.accordion-q:hover { background: color-mix(in srgb, var(--brass) 6%, transparent); }
.accordion-q .chev { width: 16px; height: 16px; flex: none; color: var(--ink-faint); transition: transform .2s ease; }
.accordion-q[aria-expanded="true"] .chev { transform: rotate(180deg); color: var(--brass); }
.accordion-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.accordion-a p { margin: 0 18px 16px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }
.accordion-a a { color: var(--brass); }
@media (prefers-reduced-motion: reduce) { .accordion-a { transition: none; } }

/* ---------- Footer (MirRehab layout) ---------- */
footer.mr { font-family: var(--mr-sans); line-height: 1.6; padding: 56px 0 32px; border-top: 1px solid color-mix(in srgb, var(--line) 55%, transparent); color: var(--ink-faint); font-size: 13.5px; background: var(--bg); }
footer.mr .mr-wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
footer.mr a { color: var(--ink-soft); text-decoration: none; font-weight: 600; transition: color .15s; }
footer.mr a:hover { color: var(--brass); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; padding-bottom: 32px; }
.foot-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.foot-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.02em; font-size: 18px; color: var(--ink-faint); }
.foot-logo .mk { width: 32px; height: 32px; border-radius: 8px; flex: none; display: block; object-fit: contain; background: #000; box-shadow: 0 1px 3px rgba(14,53,62,.18), inset 0 0 0 1px color-mix(in srgb, var(--line) 60%, transparent); }
.foot-download { margin: -6px 0 0; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col h4 { font-size: 13px; font-weight: 700; color: var(--ink); margin: 0 0 4px; letter-spacing: .01em; }
.foot-bottom { padding-top: 24px; border-top: 1px solid color-mix(in srgb, var(--line) 55%, transparent); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-social { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; flex: none; color: var(--ink-soft); border: 1px solid var(--line); transition: color .15s, border-color .15s, background-color .15s; }
footer.mr a.foot-social:hover { color: var(--brass); border-color: color-mix(in srgb, var(--brass) 40%, var(--line)); background: color-mix(in srgb, var(--brass) 8%, transparent); }
@media (max-width: 640px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }
.appstore { display: inline-flex; align-items: center; gap: 10px; background: #111; color: #fff !important; text-decoration: none; padding: 8px 16px 8px 14px; border-radius: 10px; line-height: 1.05; box-shadow: 0 6px 18px rgba(0,0,0,.22); transition: transform .15s, background .2s; }
a.appstore:hover { background: #000; transform: translateY(-1px); }
.appstore.lg { padding: 11px 22px 11px 18px; border-radius: 12px; }
.appstore.lg svg { width: 26px; height: 26px; }
.appstore.lg small { font-size: 11px; }
.appstore.lg strong { font-size: 21px; }
.appstore svg { width: 22px; height: 22px; flex: none; }
.appstore small { display: block; font-size: 10px; font-weight: 500; letter-spacing: .02em; opacity: .9; }
.appstore strong { display: block; font-size: 18px; font-weight: 650; letter-spacing: -.02em; }

/* Role cards with photos */
.card.photo { background: #222; }
.card.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card.photo:hover img { transform: scale(1.04); }
.card.photo .txt { background: linear-gradient(transparent, rgba(0,0,0,.55)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.card.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.35)); pointer-events: none; }
.card.photo .txt { z-index: 1; }

/* Tappable tab bar laid over the phone screenshot */
.tapbar { position: absolute; left: 5%; right: 5%; top: 89.5%; height: 8%; z-index: 3; display: grid; grid-template-columns: repeat(5, 1fr); }
.tapbar button { border: 0; background: transparent; cursor: pointer; border-radius: 999px; -webkit-tap-highlight-color: transparent; }
.tapbar button:focus-visible { outline: 2px solid #1a6ff2; outline-offset: -2px; }
.try { margin: -12px 0 0; font-size: 13.5px; color: var(--faint); text-align: center; }

/* ---------- Spec bento ---------- */
.bento-top { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 56px; }
.bento { display: grid; grid-template-columns: 1fr 1.12fr 1fr; grid-template-rows: 1fr 1fr; grid-template-areas: "a c d" "b c e"; gap: 16px; margin-top: 16px; }
.bento-bottom { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.bento-wide { margin-top: 16px; }
.art-scan { color: #0a84ff; flex: none; }
.art-scan svg { width: 96px; height: 96px; stroke-width: 1.3; }
.bt { background: var(--bg-2); border-radius: 28px; padding: 34px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 240px; overflow: hidden; position: relative; }
.bt h3 { margin: 0; font-size: clamp(24px, 2.4vw, 34px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.1; }
.bt p { margin: 12px 0 0; color: var(--muted); font-size: 17px; }
.bt.wide { flex-direction: row; justify-content: space-between; min-height: 170px; padding: 0 44px; text-align: center; }
.bt.wide .bt-copy { flex: 1; }
.bt.row { flex-direction: row; justify-content: space-between; gap: 18px; min-height: 130px; text-align: left; padding: 26px 30px; }
.bt.row h3 { font-size: clamp(22px, 2vw, 28px); }
.bt.row p { margin-top: 6px; font-size: 15.5px; }
.art-phone svg, .art-key svg { width: 96px; height: 96px; stroke-width: 1.3; }
.art-phone { color: #3a3a3c; }
.art-key { color: #9ccb8c; }
.ic-sync, .ic-sheet, .ic-cal, .ic-moon, .ic-photo, .ic-bldg, .ic-cloud { width: 56px; height: 56px; margin-bottom: 18px; }
.bt.row .ic-cal, .bt.row .ic-moon, .bt.row .ic-photo, .bt.row .ic-bldg, .bt.row .ic-cloud { margin: 0; flex: none; }
.ic-photo { color: #e58aa6; } .ic-bldg { color: #7fb3c9; } .ic-cloud { color: var(--green); }
.ic-sync { color: var(--green); } .ic-sheet { color: #8aa9e8; } .ic-cal { color: #e0a84c; } .ic-moon { color: #8e8ee8; }
.ic-sync svg, .ic-sheet svg, .ic-cal svg, .ic-moon svg, .ic-photo svg, .ic-bldg svg, .ic-cloud svg { width: 100%; height: 100%; }
.ic-one { width: 52px; height: 52px; border-radius: 50%; border: 2px solid #c7cbe8; color: #7b82c9; display: grid; place-items: center; font-weight: 600; font-size: 22px; margin-bottom: 18px; box-shadow: 0 0 18px rgba(123,130,201,.25); }
.ic-csv { flex: none; font-weight: 700; font-size: 13px; letter-spacing: .08em; color: #1d6f42; border: 2px solid #9bd0ae; border-radius: 10px; padding: 8px 10px; }
.bars { display: flex; align-items: center; gap: 5px; height: 48px; margin-bottom: 18px; }
.bars i { display: block; width: 5px; border-radius: 3px; background: #a9b4ef; height: 40%; animation: bar 1.6s ease-in-out infinite; }
.bars i:nth-child(2) { height: 65%; animation-delay: .1s } .bars i:nth-child(3) { height: 90%; animation-delay: .2s }
.bars i:nth-child(4) { height: 55%; animation-delay: .3s } .bars i:nth-child(5) { height: 100%; animation-delay: .4s }
.bars i:nth-child(6) { height: 70%; animation-delay: .5s } .bars i:nth-child(7) { height: 85%; animation-delay: .6s }
.bars i:nth-child(8) { height: 50%; animation-delay: .7s } .bars i:nth-child(9) { height: 30%; animation-delay: .8s }
@keyframes bar { 50% { transform: scaleY(.55); } }
@media (prefers-reduced-motion: reduce) { .bars i { animation: none; } }
.hero-tile { padding: 36px 20px; justify-content: center; align-items: center; }
.hero-tile .iphone { --w: clamp(200px, 18vw, 250px); margin: 0 auto; }
@media (max-width: 900px) {
  .bento-top, .bento-bottom { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; grid-template-areas: "c c" "a d" "b e"; }
  .hero-tile { min-height: 520px; }
  .bt.wide { padding: 24px 28px; }
}
@media (max-width: 520px) { .bento { grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: "c" "a" "b" "d" "e"; } }

/* ---------- Works-with orbs ---------- */
.orbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 0; max-width: 580px; margin: 56px auto 0; }
.orb { width: 118px; display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0 -4px; }
.orb span {
  width: 118px; height: 118px; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 32% 28%, #ffffff 0%, #eef0f3 38%, #d3d6dc 78%, #c3c7ce 100%);
  box-shadow: inset 0 -6px 14px rgba(0,0,0,.08), inset 0 4px 10px rgba(255,255,255,.9), 0 10px 24px -12px rgba(0,0,0,.25);
  transition: transform .25s ease;
}
.orb:hover span { transform: translateY(-4px); }
.orb svg { width: 46px; height: 46px; stroke-width: 1.8; }
.orb em { font-style: normal; font-size: 13px; color: var(--muted); font-weight: 500; }
.fine { text-align: center; color: var(--faint); font-size: 13.5px; margin-top: 26px; }
@media (max-width: 560px) { .orb, .orb span { width: 92px; } .orb span { height: 92px; } .orb svg { width: 36px; height: 36px; } }

.orb img { width: 56px; height: 56px; display: block; filter: drop-shadow(0 2px 3px rgba(0,0,0,.12)); }
@media (max-width: 560px) { .orb img { width: 44px; height: 44px; } }

/* ---------- Works-with orbs, v2: glossy spheres holding iOS-style app icons ---------- */
.orb { width: 128px; margin: 0 -5px; gap: 12px; }
.orb span {
  position: relative; width: 128px; height: 128px;
  background:
    radial-gradient(circle at 50% 108%, rgba(255,255,255,.9) 0 18%, rgba(255,255,255,0) 42%),
    radial-gradient(circle at 34% 26%, #ffffff 0%, #f3f4f6 30%, #d9dce1 70%, #c2c6cd 100%);
  box-shadow:
    inset 0 -8px 16px rgba(0,0,0,.07),
    inset 0 6px 12px rgba(255,255,255,.95),
    inset 0 0 0 1px rgba(255,255,255,.6),
    0 1px 1px rgba(0,0,0,.06),
    0 14px 28px -14px rgba(0,0,0,.35);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.orb span::before { /* specular highlight */
  content: ""; position: absolute; left: 20%; top: 9%; width: 46%; height: 26%; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.95), rgba(255,255,255,0) 70%);
  pointer-events: none;
}
.orb:hover span { transform: translateY(-5px) scale(1.03); box-shadow: inset 0 -8px 16px rgba(0,0,0,.07), inset 0 6px 12px rgba(255,255,255,.95), inset 0 0 0 1px rgba(255,255,255,.6), 0 2px 2px rgba(0,0,0,.05), 0 22px 36px -16px rgba(0,0,0,.38); }
.orb .app {
  position: relative; z-index: 1; width: 62px; height: 62px; border-radius: 14px; background: #fff;
  display: grid; place-items: center; overflow: hidden;
  box-shadow: 0 0 0 .5px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.12), 0 8px 16px -6px rgba(0,0,0,.28);
}
.orb .app img { width: 40px; height: 40px; filter: none; }
.orb .app.full { background: transparent; }
.orb .app.full img { width: 100%; height: 100%; }
.orb em { font-size: 13.5px; color: var(--ink-soft); }
.orbs { max-width: 640px; gap: 10px 0; }
@media (max-width: 560px) {
  .orb, .orb span { width: 96px; } .orb span { height: 96px; }
  .orb .app { width: 48px; height: 48px; border-radius: 11px; } .orb .app img { width: 31px; height: 31px; }
}

/* Tappable areas laid over the phone's screen (built by script per screen) */
.hots { position: absolute; inset: 0; z-index: 5; }
.hots button { position: absolute; border: 0; padding: 0; background: transparent; cursor: pointer; border-radius: 14px; -webkit-tap-highlight-color: transparent; transition: background-color .15s; }
.hots button:hover { background: rgba(0,0,0,.05); }
.hots button:active { background: rgba(0,0,0,.1); }
.hots button:focus-visible { outline: 2px solid #1a6ff2; outline-offset: -2px; }
.hots button.card-hot:hover { background: rgba(255,255,255,.08); box-shadow: 0 0 0 2px rgba(156,110,33,.35); }

/* ---------- Live calendar + result overlays on the phone (sizes in iPhone points) ---------- */
.iphone .screen { container-type: inline-size; }
.ov { position: absolute; inset: 0; z-index: 6; pointer-events: none; --pt: calc(100cqw / 402); font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Helvetica Neue", Arial, sans-serif; color: #000; letter-spacing: -0.01em; }
.ov[hidden] { display: none; }
.ov button { font: inherit; color: inherit; border: 0; background: none; padding: 0; margin: 0; -webkit-tap-highlight-color: transparent; }
.cal { position: absolute; pointer-events: auto; left: calc(var(--pt) * 16); width: calc(var(--pt) * 370); top: calc(var(--pt) * var(--top)); height: calc(var(--pt) * 435); background: #fff; border-radius: calc(var(--pt) * 26); }
.cal-head { position: absolute; left: calc(var(--pt) * 16); right: calc(var(--pt) * 16); top: calc(var(--pt) * 22); height: calc(var(--pt) * 30); display: flex; align-items: center; }
.cal-head b { font-size: calc(var(--pt) * 17); font-weight: 600; flex: 1; }
.cal-month { font-size: calc(var(--pt) * 15); color: #8a8a8e; margin-right: calc(var(--pt) * 10); }
.ov .cal-nav { position: static; width: calc(var(--pt) * 30); height: calc(var(--pt) * 30); display: grid; place-items: center; color: #000; cursor: pointer; }
.ov .cal-nav + .cal-nav { margin-left: calc(var(--pt) * 10); }
.ov .cal-nav svg { width: calc(var(--pt) * 9); height: calc(var(--pt) * 15); }
.ov .cal-nav:disabled { color: #c7c7cc; cursor: default; }
.cal-dow, .cal-grid { position: absolute; left: calc(var(--pt) * 16); width: calc(var(--pt) * 338); display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-dow { top: calc(var(--pt) * 64); }
.cal-dow span { text-align: center; font-size: calc(var(--pt) * 12); color: #8a8a8e; }
.cal-grid { top: calc(var(--pt) * 83.7); grid-auto-rows: calc(var(--pt) * 40); row-gap: calc(var(--pt) * 4); column-gap: calc(var(--pt) * 4); }
.ov .day { display: grid; place-items: center; font-size: calc(var(--pt) * 17); border-radius: calc(var(--pt) * 10); cursor: pointer; color: #000; font-variant-numeric: tabular-nums; transition: background-color .12s; }
.ov .day::before { content: none; }
.ov .day:hover:not(.off):not(.on) { background: #f2f2f5; }
.ov .day.today { color: #000; font-weight: 700; }
.ov .day.off { color: #e5e5e7; cursor: default; }
.ov .day.other { color: #ededee; }
.ov .day.on { background: #141414; color: #fff; font-weight: 600; }
.cal-divider { position: absolute; left: calc(var(--pt) * 16); right: calc(var(--pt) * 16); top: calc(var(--pt) * 316); height: 1px; background: #c6c6c8; }
.cal-sel { position: absolute; left: calc(var(--pt) * 16); right: calc(var(--pt) * 16); top: calc(var(--pt) * 330); display: flex; justify-content: space-between; font-size: calc(var(--pt) * 15); }
.cal-sel b { font-weight: 600; } .cal-sel span { color: #8a8a8e; }
.cal-chips { position: absolute; left: calc(var(--pt) * 16); right: 0; top: calc(var(--pt) * 368); display: flex; gap: calc(var(--pt) * 8); overflow: hidden; }
.chip-day { flex: none; display: inline-flex; align-items: center; gap: calc(var(--pt) * 10); height: calc(var(--pt) * 40); padding: 0 calc(var(--pt) * 12); border-radius: calc(var(--pt) * 12); background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.chip-day > span { display: flex; flex-direction: column; line-height: 1.15; }
.chip-day b { font-size: calc(var(--pt) * 15); font-weight: 600; }
.chip-day i { font-style: normal; font-size: calc(var(--pt) * 12); color: #8a8a8e; }
.ov .chip-day button { display: grid; place-items: center; color: #8a8a8e; cursor: pointer; width: calc(var(--pt) * 16); height: calc(var(--pt) * 16); }
.chip-day button svg { width: calc(var(--pt) * 11); height: calc(var(--pt) * 11); }
.cal-submit { position: absolute; pointer-events: auto; left: calc(var(--pt) * 16); width: calc(var(--pt) * 370); top: calc(var(--pt) * 788); height: calc(var(--pt) * 52); border-radius: calc(var(--pt) * 26) !important; background: #fff !important; color: #000 !important; font-size: calc(var(--pt) * 17) !important; font-weight: 600 !important; cursor: pointer; }
.cal-submit:disabled { color: #b6b6bb !important; cursor: default; }
.cal-submit:active:not(:disabled) { background: #f1f1f4 !important; }
#ov-result { top: calc(100cqw / 402 * 150); background: #f2f2f7; overflow: auto; pointer-events: auto; }
.res { padding: calc(var(--pt) * 48) calc(var(--pt) * 16) calc(var(--pt) * 40); text-align: center; }
.res-icon svg { width: calc(var(--pt) * 64); height: calc(var(--pt) * 64); display: block; margin: 0 auto; }
.res h4 { margin: calc(var(--pt) * 14) 0 0; font-size: calc(var(--pt) * 28); font-weight: 700; letter-spacing: 0.01em; }
.res p { margin: calc(var(--pt) * 10) auto 0; max-width: calc(var(--pt) * 330); font-size: calc(var(--pt) * 17); line-height: 1.3; color: #8a8a8e; }
.res-card { margin-top: calc(var(--pt) * 34); background: #fff; border-radius: calc(var(--pt) * 26); text-align: left; overflow: hidden; }
.res-row { display: flex; justify-content: space-between; align-items: center; height: calc(var(--pt) * 52); padding: 0 calc(var(--pt) * 16); font-size: calc(var(--pt) * 17); position: relative; }
.res-row + .res-row::before { content: ""; position: absolute; top: 0; left: calc(var(--pt) * 16); right: 0; height: 1px; background: #e5e5ea; }
.res-row b { font-weight: 600; } .res-row em { font-style: normal; color: #ff9500; }

/* ---------- Works-with logos, v3: just the app icons, no circles ---------- */
.orbs { max-width: 680px; gap: 28px 8px; }
.orb { width: 120px; margin: 0; gap: 12px; }
.orb span { width: auto !important; height: auto !important; background: none !important; box-shadow: none !important; }
.orb span::before { display: none; }
.orb:hover span { transform: translateY(-4px); box-shadow: none !important; }
.orb .app { width: 80px; height: 80px; border-radius: 18px; box-shadow: 0 0 0 .5px rgba(0,0,0,.1), 0 2px 4px rgba(0,0,0,.08), 0 14px 26px -12px rgba(0,0,0,.32); }
.orb .app img { width: 52px; height: 52px; }
.orb .app.full img { width: 100%; height: 100%; }
@media (max-width: 560px) {
  .orbs { gap: 20px 4px; } .orb { width: 88px; }
  .orb .app { width: 60px; height: 60px; border-radius: 14px; } .orb .app img { width: 39px; height: 39px; }
}

/* Labels beside the phone are buttons that drive it */
.points li { padding: 0; }
.points .pt { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border: 0; border-radius: 999px; background: transparent; font: inherit; color: inherit; text-align: left; cursor: pointer; transition: box-shadow .2s, transform .2s; }
.points li { transition: transform .2s, box-shadow .2s; }
.points li:hover { transform: translateX(4px); box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 8px 22px rgba(0,0,0,.09); }
.points .pt.on { box-shadow: 0 0 0 2px var(--ink); }
.points .pt:focus-visible { outline: 2px solid #1a6ff2; outline-offset: 2px; }

/* ---------- Phone menu ---------- */
.mnav { display: none; position: relative; justify-self: end; }
.mnav summary { list-style: none; width: 40px; height: 40px; border-radius: 50%; background: var(--pill); display: grid; place-content: center; gap: 5px; cursor: pointer; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary span { display: block; width: 16px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s; }
.mnav[open] summary span:first-child { transform: translateY(3.5px) rotate(45deg); }
.mnav[open] summary span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mnav-panel { position: absolute; right: 0; top: 50px; width: min(260px, calc(100vw - 32px)); background: #fff; border-radius: 18px; padding: 8px; box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 20px 50px -12px rgba(0,0,0,.25); display: flex; flex-direction: column; }
.mnav-panel a { padding: 12px 14px; border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: 16px; }
.mnav-panel a:hover { background: var(--pill); }
.mnav-panel .pill-btn { justify-self: auto; justify-content: center; margin-top: 6px; color: #fff; }
.mnav-panel .pill-btn:hover { background: #000; }
@media (max-width: 760px) {
  .mnav { display: block; }
  .topnav-in { grid-template-columns: 1fr auto auto; }
  .topnav-in > .pill-btn { display: none; }
}

/* ---------- Calculator (light) ---------- */
.calc2 {
  position: relative; margin-top: 48px; border-radius: 32px; padding: clamp(28px, 4vw, 48px); color: var(--ink); overflow: hidden;
  display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: center;
  background: linear-gradient(160deg, #f7f7f9 0%, #ffffff 55%, #f4f6f4 100%);
  box-shadow: 0 0 0 1px rgba(0,0,0,.05), 0 30px 70px -40px rgba(0,0,0,.25);
}
.calc2::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 60% at 85% 80%, rgba(52,199,89,.10), transparent 70%); }
.calc2-left, .calc2-right, .calc2-note { position: relative; }
.sl2 { display: block; margin-bottom: 30px; }
.sl2 span { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.sl2 b { font-weight: 500; font-size: 15.5px; color: var(--ink-soft); }
.sl2 output { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--ink); }
.sl2 input { width: 100%; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 3px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, var(--ink) var(--p, 50%), #e3e3e8 var(--p, 50%)); }
.sl2 input::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 .5px rgba(0,0,0,.15), 0 0 0 4px rgba(0,0,0,.06), 0 4px 10px rgba(0,0,0,.2); transition: transform .15s; }
.sl2 input::-moz-range-thumb { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 .5px rgba(0,0,0,.15), 0 0 0 4px rgba(0,0,0,.06), 0 4px 10px rgba(0,0,0,.2); }
.sl2 input:active::-webkit-slider-thumb { transform: scale(1.12); }
.sl2 input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px #1a6ff2; }
.stats2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 12px; padding-top: 28px; border-top: 1px solid var(--line); }
.stats2 b { display: block; font-size: clamp(40px, 4.6vw, 60px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.stats2 span { display: block; margin-top: 8px; font-size: 14.5px; color: var(--muted); line-height: 1.35; }
.calc2-right { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 20px 20px 16px; box-shadow: 0 10px 30px -18px rgba(0,0,0,.18); }
.mx-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 14px; gap: 10px; flex-wrap: wrap; }
.mx-head > span:first-child { font-weight: 600; color: var(--ink); }
.mx-key { display: inline-flex; align-items: center; gap: 6px; }
.mx-key i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; margin-left: 8px; }
.k-open { background: #34c759; box-shadow: 0 0 6px rgba(52,199,89,.5); } .k-in { background: #dcdce1; }
.mx { display: flex; flex-direction: column; gap: 6px; }
.mx-row { display: grid; grid-template-columns: repeat(21, 1fr); gap: 6px; }
.mx i { display: block; aspect-ratio: 1; border-radius: 50%; background: #e4e4e9; transition: background-color .25s, box-shadow .25s, transform .25s, opacity .25s; }
.mx i.open { background: #34c759; box-shadow: 0 0 7px rgba(52,199,89,.45); transform: scale(1.08); }
.mx i.off { opacity: .3; transform: scale(.7); }
.mx-more { margin: 12px 0 0; min-height: 1.2em; font-size: 12.5px; color: var(--faint); text-align: right; }
.calc2-note { grid-column: 1 / -1; margin: 0; font-size: 13px; line-height: 1.5; color: var(--faint); }
@media (max-width: 860px) { .calc2 { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .mx-row, .mx { gap: 4px; } }

/* ---------- 404 ---------- */
.nf { text-align: center; padding-top: 90px; padding-bottom: 110px; }
.nf-code { font-size: 15px; font-weight: 600; letter-spacing: .12em; color: var(--faint); margin: 0 0 10px; }
.nf h1 { margin-bottom: 12px; }
.nf-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 28px; }
.nf-links a.pill-btn { color: #fff; }
.nf-links a.ghost-btn { color: var(--ink); }

/* Second phone, at the bottom of the page */

/* The demo phone never forces the page wider than a small (320px) screen */
@media (max-width: 370px) { .iphone.lg { --w: calc(100vw - 40px); } }
/* Firefox: show a focus ring on the calculator sliders too */
.sl2 input:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px #1a6ff2; }


/* ---------- Hero: three phones with the app's screens ---------- */
.phones { position: relative; height: clamp(520px, 62vw, 740px); margin-top: 64px; }
.phones .iphone { position: absolute; left: 50%; top: 0; }
.phones .p-center { --w: clamp(250px, 26vw, 330px); transform: translateX(-50%); z-index: 3; }
.phones .p-left { --w: clamp(210px, 22vw, 280px); transform: translateX(-128%) translateY(70px) rotate(-6deg); z-index: 2; }
.phones .p-right { --w: clamp(210px, 22vw, 280px); transform: translateX(28%) translateY(70px) rotate(6deg); z-index: 2; }
.phones::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; background: linear-gradient(transparent, var(--bg)); z-index: 4; }
@media (max-width: 700px) {
  .phones { height: 560px; }
  .phones .p-left, .phones .p-right { display: none; }
  .phones .p-center { --w: 250px; }
}

/* ---------- Polish ---------- */
/* no lone last words */
p, .lede, li { text-wrap: pretty; }
h3 { text-wrap: balance; }
/* skip link for keyboard users */
.skip { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 14px; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
main:focus { outline: none; }
/* a clear focus ring on links and buttons, for keyboards only */
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid #1a6ff2; outline-offset: 3px; border-radius: 8px; }
/* cards respond to the pointer: they lift, and photos ease in a touch */
.reveal.settled { transition-duration: .35s; transition-delay: 0ms; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tile.settled, .bt.settled, .card { transition: transform .35s cubic-bezier(.22,.9,.28,1), box-shadow .35s, opacity .35s; }
  .tile.settled:hover, .bt.settled:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(20,30,60,.35); }
  .card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -24px rgba(20,30,60,.5); }
  .pill-btn:not(.reveal), .ghost-btn:not(.reveal), .reveal.settled.pill-btn { transition: transform .2s, background .2s; }
  .pill-btn:hover, .ghost-btn:hover { transform: translateY(-1px); }
  .pill-btn:active, .ghost-btn:active { transform: scale(.97); }
}
.foot-founder { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
.foot-founder:hover { text-decoration-color: currentColor; }

.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; }

/* ---------- Sign-up (start/) ---------- */
.st-wrap { max-width: 860px; }
.st-form { margin-top: 28px; }
.st-form fieldset { border: 0; padding: 0; margin: 0 0 30px; }
.st-form legend { font-size: 19px; font-weight: 600; letter-spacing: -.01em; margin-bottom: 14px; }
.st-form label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-soft); margin-bottom: 14px; }
.st-form input:not([type="radio"]) { display: block; width: 100%; box-sizing: border-box; margin-top: 6px; padding: 12px 14px; font: 16px/1.3 var(--sf);
  color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color .15s, box-shadow .15s; }
.st-form input:focus { outline: none; border-color: #0a84ff; box-shadow: 0 0 0 3px rgba(10,132,255,.15); }
.st-form label small { display: block; margin-top: 6px; font-weight: 400; color: var(--muted); font-size: 13px; }
.st-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0 14px; }
.st-hint { color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.st-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.st-plans legend { grid-column: 1 / -1; }
.st-plan { margin: 0 !important; cursor: pointer; }
.st-plan input { position: absolute; opacity: 0; pointer-events: none; }
.st-plan span { display: flex; flex-direction: column; gap: 6px; height: 100%; box-sizing: border-box; padding: 18px; border: 1.5px solid var(--line); border-radius: 18px;
  background: #fff; transition: border-color .15s, box-shadow .15s; }
.st-plan b { font-size: 16px; color: var(--ink); }
.st-plan em { font-style: normal; font-size: 28px; font-weight: 650; letter-spacing: -.02em; color: var(--ink); }
.st-plan em small { display: inline; margin: 0; font-size: 14px; font-weight: 500; color: var(--muted); }
.st-plan i { font-style: normal; font-weight: 400; font-size: 14px; color: var(--muted); }
.st-trial { align-self: flex-start; margin-top: 4px; padding: 3px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #1f8f3e; background: rgba(52,199,89,.14); }
.st-plan input:checked + span { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink), 0 10px 26px rgba(0,0,0,.08); }
.st-plan input:focus-visible + span { box-shadow: 0 0 0 3px rgba(10,132,255,.35); }
.st-note { grid-column: 1 / -1; color: var(--muted); font-size: 13.5px; margin: 2px 0 0; }
.st-error { color: #c4251c; background: rgba(255,59,48,.08); border-radius: 12px; padding: 12px 14px; font-size: 15px; }
.st-go { border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: 17px; padding: 15px 30px; }
.st-go:disabled { opacity: .6; cursor: default; transform: none; }
.st-fine { color: var(--muted); font-size: 13.5px; margin-top: 16px; }
.st-code-box { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin: 28px 0; padding: 24px; border-radius: 20px; background: var(--bg-2); }
.st-code-box small { color: var(--muted); font-size: 14px; }
.st-code { font: 700 44px/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .12em; }
.st-code-box .ghost-btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: 15px; padding: 10px 18px; }
.st-steps { padding-left: 20px; margin: 0 0 28px; }
.st-steps li { margin-bottom: 10px; color: var(--ink-soft); }
@media (max-width: 680px) { .st-plans { grid-template-columns: 1fr; } }
/* Step 4: the card form on the page (Stripe Elements) */
.st-pay { margin-top: 28px; max-width: 560px; }
.st-back { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 6px 0; margin: 0 0 14px; font: inherit; font-size: 15px; font-weight: 600; color: var(--muted); cursor: pointer; }
.st-back svg { width: 9px; height: 15px; }
.st-back:hover { color: var(--ink); }
.st-pay .st-pay-h { font-size: 19px; font-weight: 600; letter-spacing: -.01em; margin: 4px 0 14px; }
.st-pay [hidden] { display: none !important; }
.st-sum { padding: 18px 20px; border-radius: 18px; background: var(--bg-2); margin-bottom: 22px; }
.st-sum-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.st-sum-top b { font-size: 17px; color: var(--ink); }
.st-sum-top .st-trial { margin: 0; }
.st-sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--muted); padding-top: 4px; }
.st-sum-today { color: var(--ink); font-size: 16px; }
.st-sum-today b { font-size: 20px; letter-spacing: -.01em; }
.st-sum-promo b { color: #1f8f3e; }
.st-card { min-height: 220px; }
.st-loading { color: var(--muted); font-size: 15px; padding: 18px 0; }
.st-promo { margin: 18px 0 6px; }
.st-promo summary { cursor: pointer; font-size: 15px; font-weight: 600; color: var(--ink-soft); list-style: none; }
.st-promo summary::-webkit-details-marker { display: none; }
.st-promo summary::before { content: "+ "; color: var(--muted); }
.st-promo[open] summary::before { content: "– "; }
.st-promo-row { display: flex; gap: 10px; margin-top: 10px; }
.st-promo-row input { flex: 1; min-width: 0; padding: 12px 14px; font: 16px/1.3 var(--sf); border: 1px solid var(--line); border-radius: 12px; background: #fff; text-transform: uppercase; }
.st-promo-row input:focus { outline: none; border-color: #0a84ff; box-shadow: 0 0 0 3px rgba(10,132,255,.15); }
.st-promo-row .ghost-btn { border: 0; cursor: pointer; font: inherit; font-weight: 600; font-size: 15px; padding: 10px 18px; }
.st-promo-msg { font-size: 14px; margin: 8px 0 0; color: var(--muted); }
.st-promo-msg.ok { color: #1f8f3e; }
.st-promo-msg.bad { color: #c4251c; }
.st-pay .st-go { width: 100%; margin-top: 18px; justify-content: center; text-align: center; }
.st-pay-fine { display: flex; gap: 10px; align-items: flex-start; }
.st-pay-fine svg { flex: none; width: 16px; height: 16px; margin-top: 2px; }
.st-open { display: inline-flex; margin: 6px 0 4px; color: #fff !important; text-decoration: none !important; }

/* "Try it" hint under the interactive phone */
.try-hint { display: inline-flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: 13.5px; letter-spacing: .01em; }
.try-dot { width: 6px; height: 6px; border-radius: 50%; background: #8e8e93; flex: none; animation: tryPulse 1.8s ease-out infinite; }
@keyframes tryPulse { 0% { box-shadow: 0 0 0 0 rgba(142,142,147,.5); } 100% { box-shadow: 0 0 0 7px rgba(142,142,147,0); } }
@media (prefers-reduced-motion: reduce) { .try-dot { animation: none; } }
.bento-mid { margin-bottom: 16px; }

/* dots under the interactive phone */
.demo-dots { display: flex; gap: 10px; justify-content: center; }
.demo-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: #c7c7cc; cursor: pointer; transition: width .25s ease, background .25s ease; }
.demo-dots button:hover { background: #8e8e93; }
.demo-dots button[aria-selected="true"] { width: 22px; background: #1d1d1f; }
.demo-dots button:focus-visible { outline: 2px solid #1d1d1f; outline-offset: 3px; }
.stage .try-hint { margin-top: -12px; }

/* free trial popup (home page) */
.trial-pop[hidden] { display: none !important; }
.trial-pop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px;
  background: rgba(0,0,0,.35); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s ease; }
.trial-pop.in { opacity: 1; }
.trial-card { position: relative; width: 100%; max-width: 400px; background: #fff; border-radius: 26px; padding: 26px 26px 18px; text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.3); transform: translateY(14px) scale(.97); transition: transform .3s cubic-bezier(.22,.9,.28,1); }
.trial-pop.in .trial-card { transform: none; }
.trial-x { position: absolute; top: 14px; right: 14px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--pill); color: var(--muted); font-size: 14px; cursor: pointer; }
.trial-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.trial-brand img { width: 30px; height: 30px; border-radius: 8px; }
.trial-phones { position: relative; height: 230px; margin: 16px 0 6px; }
.trial-phones .iphone { --w: 108px; position: absolute; top: 0; left: 50%; }
.trial-a { transform: translateX(-92%) rotate(-6deg); }
.trial-b { transform: translateX(-8%) translateY(10px) rotate(5deg); }
.trial-card h2 { margin: 10px 0 8px; font-size: 24px; letter-spacing: -.02em; line-height: 1.15; }
.trial-card p { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.trial-go { display: block; padding: 15px; border-radius: 999px; background: #1d1d1f; color: #fff !important; text-decoration: none; font-weight: 600; font-size: 16px; }
.trial-go:hover { background: #000; }
.trial-later { margin-top: 8px; border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 14px; padding: 8px; cursor: pointer; }
@media (prefers-reduced-motion: reduce) { .trial-pop, .trial-card { transition: none; } }

/* ---------- Community Guidelines ---------- */
.cg { max-width: 1040px; margin: 0 auto; padding: 72px 24px 40px; }
.cg-hero { text-align: center; max-width: 820px; margin: 0 auto; }
.cg-hero h1 { font-size: clamp(40px, 6vw, 64px); letter-spacing: -.035em; line-height: 1.05; margin: 0; }
.cg-lede { color: var(--muted); font-size: clamp(17px, 2vw, 20px); line-height: 1.55; margin: 20px auto 0; }
.cg-meta { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--muted); font-size: 14.5px; }
.cg-ver { background: var(--ink); color: #fff; font-weight: 700; font-size: 12.5px; padding: 3px 10px; border-radius: 999px; }
.cg-vibe { display: grid; grid-template-columns: 180px 1fr; align-items: center; gap: 20px; margin: 56px 0 0; padding: 28px; border-radius: 28px; background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 18px 50px -20px rgba(0,0,0,.18); }
.cg-vibe h2 { font-size: 22px; letter-spacing: -.02em; margin: 0; padding-left: 12px; }
.cg-vibe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cg-vibe-card { background: var(--bg-2); border-radius: 20px; padding: 22px; min-height: 150px; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.cg-vibe-card p { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.4; letter-spacing: -.01em; color: var(--ink); }
.cg-ic { width: 38px; height: 38px; border-radius: 11px; background: #fff; display: grid; place-items: center; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.cg-ic svg { width: 19px; height: 19px; }
.cg-agree { max-width: 760px; margin: 52px auto 0; text-align: center; color: var(--ink-soft); font-size: 17px; line-height: 1.65; }
.cg-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 30px auto 0; max-width: 940px; }
.cg-chips a { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; transition: border-color .2s, transform .2s; }
.cg-chips a:hover { border-color: var(--ink); transform: translateY(-1px); }
.cg-page { background: #f7f7f9; }
.cg-page .cg-vibe, .cg-page .cg-chips a { background: #fff; }
.cg-cards { max-width: 860px; margin: 44px auto 0; display: flex; flex-direction: column; gap: 22px; }
.cg-card { background: #fff; border-radius: 28px; padding: 30px 32px; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 14px 40px -24px rgba(0,0,0,.25); scroll-margin-top: 84px; }
.cg-card summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; }
.cg-card summary::-webkit-details-marker { display: none; }
.cg-card summary h2 { margin: 0; font-size: 26px; letter-spacing: -.02em; line-height: 1.2; }
.cg-chev { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; color: var(--ink); transition: transform .25s; }
.cg-chev svg { width: 12px; height: 8px; }
.cg-card:not([open]) .cg-chev { transform: rotate(180deg); }
.cg-body { padding-top: 18px; }
.cg-lead { font-size: 19px; line-height: 1.55; color: var(--ink); margin: 0 0 22px; }
.cg-label { font-size: 13.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin: 0 0 12px; }
.cg-label.cg-dont { color: #d93a33; }
.cg-list { list-style: none; padding: 0; margin: 0 0 22px; display: flex; flex-direction: column; gap: 14px; }
.cg-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 17px; line-height: 1.55; color: var(--ink-soft); }
.cg-x, .cg-ok { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.cg-x { background: #fdecec; color: #d93a33; }
.cg-ok { background: #e8f6ec; color: #1f8f3e; }
.cg-x svg, .cg-ok svg { width: 10px; height: 10px; }
.cg-tip { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: 18px; background: #f7f7fb; border: 1px solid var(--line); }
.cg-tip p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.cg-tip b { color: var(--ink); }
.cg-bulb { flex: none; width: 22px; height: 22px; color: var(--ink); margin-top: 1px; }
.cg-bulb svg { width: 22px; height: 22px; }
@media (max-width: 760px) {
  .cg-card { padding: 22px 20px; border-radius: 22px; }
  .cg-card summary h2 { font-size: 21px; }
  .cg-lead { font-size: 17px; }
  .cg-list li { font-size: 16px; }
}
.cg-foot { max-width: 760px; margin: 56px auto 0; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
@media (max-width: 760px) {
  .cg { padding-top: 48px; }
  .cg-vibe { grid-template-columns: 1fr; padding: 20px; }
  .cg-vibe h2 { padding-left: 4px; }
  .cg-vibe-grid { grid-template-columns: 1fr; }
  .cg-vibe-card { min-height: 0; flex-direction: row; align-items: center; justify-content: flex-start; gap: 16px; padding: 18px; }
}

/* The note shown when an email address is copied (mail.js) */
.mail-toast { position: fixed; left: 50%; bottom: 28px; z-index: 100; transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  max-width: calc(100vw - 32px); box-sizing: border-box; padding: 12px 18px; border-radius: 999px; background: #1d1d1f; color: #fff;
  font: 600 15px/1.3 var(--sf); text-align: center; box-shadow: 0 12px 30px rgba(0,0,0,.25); transition: opacity .25s, transform .25s; }
.mail-toast.on { opacity: 1; transform: translate(-50%, 0); }

.foot-socials { display: inline-flex; align-items: center; gap: 10px; }
