/* Xeplin Site styles, built from the approved design previews. */
/* Layout: split hero with a live iPhone home screen of the real apps, then an App Store style lineup, process, studio, contact. */
:root {
  --paper: #F4F6FB;
  --surface: #FFFFFF;
  --ink: #0F1630;
  --muted: #59617A;
  --line: #DDE2EE;
  --blue: #2B57E6;
  --blue-soft: #E5ECFF;
  --orange: #F26A3A;
  --stage: #E9EEF9;
  --on-blue: #FFFFFF;
  --font-display: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --wrap: 1160px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0A0F1F; --surface: #121a31; --ink: #EAEEFA; --muted: #A3ABC4; --line: #232c48;
    --blue: #7393FF; --blue-soft: #1a2550; --orange: #FF8459; --stage: #18213d; --on-blue: #0A0F1F;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0A0F1F; --surface: #121a31; --ink: #EAEEFA; --muted: #A3ABC4; --line: #232c48;
  --blue: #7393FF; --blue-soft: #1a2550; --orange: #FF8459; --stage: #18213d; --on-blue: #0A0F1F;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body { background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }

/* Nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: color-mix(in srgb, var(--paper) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 25px; letter-spacing: -0.045em; }
.brand-mark { width: 32px; height: 32px; flex: none; overflow: visible; }
.brand-mark .sq { fill: var(--blue); }
.brand-mark .x { stroke: var(--paper); }
.brand-mark .dot { fill: var(--orange); stroke: var(--paper); }
.nav-links { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 500; }
.nav-links a:not(.btn) { text-decoration: none; color: var(--ink); padding: 8px 14px; border-radius: 999px; transition: background .15s ease, color .15s ease; }
.nav-links a:not(.btn):hover { background: var(--blue-soft); color: var(--blue); }
.nav-links a.active { background: var(--blue-soft); color: var(--blue); }
.nav-links .btn { margin-left: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-accent { background: var(--orange); color: #fff; }
.btn-blue { background: var(--blue); color: var(--on-blue); }
.btn-blue:hover { background: color-mix(in srgb, var(--blue) 88%, var(--ink)); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.nav .btn { padding: 9px 16px; }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; padding-block: 72px 88px; }
.hero h1 { font-size: clamp(44px, 6.4vw, 82px); font-weight: 700; letter-spacing: -0.05em; }
.hero h1 .hl { color: var(--blue); }
.hero .lede { margin-top: 24px; font-size: 19px; color: var(--muted); max-width: 33em; }
.hero .cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .meta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px 24px; font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.hero .meta span::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); margin-right: 8px; vertical-align: 1px; }

/* Phone */
.phone-col { display: flex; justify-content: center; }
.phone { width: 100%; max-width: 330px; aspect-ratio: 9 / 19; border-radius: 52px; padding: 12px; background: #11141c; box-shadow: 0 0 0 2px #2b3040, 0 40px 80px -30px rgba(20, 40, 120, .45); position: relative; }
.screen { position: relative; height: 100%; border-radius: 41px; overflow: hidden; padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 18px;
  background: radial-gradient(120% 70% at 85% 0%, #FF9A6B 0%, rgba(255,154,107,0) 55%), radial-gradient(110% 80% at 0% 100%, #2443C9 0%, rgba(36,67,201,0) 60%), linear-gradient(180deg, #5C7CF2 0%, #3550D6 100%); color: #fff; }
.statusbar { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 14px; padding: 2px 8px 0; }
.island { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 96px; height: 28px; background: #000; border-radius: 20px; }
.sb-icons { display: flex; gap: 5px; align-items: center; }
.sb-icons i { display: block; width: 4px; background: #fff; border-radius: 1px; }
.homegrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 12px; margin-top: 18px; }
.widget { background: rgba(255,255,255,.18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 22px; padding: 12px; }
.w-square { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; }
.w-wide { grid-column: span 4; display: flex; align-items: center; gap: 12px; }
.w-label { font-size: 11px; font-weight: 600; opacity: .85; display: flex; align-items: center; gap: 6px; }
.w-label img { width: 16px; height: 16px; border-radius: 4px; }
.ring { width: 64px; height: 64px; }
.w-big { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.05; }
.w-small { font-size: 11px; opacity: .85; line-height: 1.3; }
.app { display: flex; flex-direction: column; align-items: center; gap: 5px; text-decoration: none; }
.app img { width: 100%; max-width: 58px; aspect-ratio: 1; border-radius: 14px; box-shadow: 0 4px 10px rgba(0,0,0,.18); transition: transform .2s ease; }
.app:hover img { transform: scale(1.06); }
.app span { font-size: 11px; font-weight: 500; text-shadow: 0 1px 2px rgba(0,0,0,.3); }
.w-wide img { width: 44px; height: 44px; border-radius: 11px; }
.w-wide .w-text { min-width: 0; }
.dock { margin-top: auto; background: rgba(255,255,255,.2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 28px; padding: 10px 12px; text-align: center; font-size: 12px; font-weight: 600; }
.dots { display: flex; justify-content: center; gap: 6px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.45); }
.dots i:first-child { background: #fff; }

/* Section heads */
section { scroll-margin-top: 80px; }
.section { padding-block: 96px; }
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 44px; }
.head h2 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 700; letter-spacing: -0.04em; margin-top: 12px; max-width: 14em; }
.head p { color: var(--muted); max-width: 30em; }

/* Apps */
.apps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.card-body { padding: 28px 28px 24px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.card-top { display: flex; align-items: center; gap: 14px; }
.card-top img { width: 60px; height: 60px; border-radius: 15px; flex: none; box-shadow: 0 2px 8px rgba(15,22,48,.12); }
.card-top h3 { font-size: 24px; font-weight: 700; }
.card-top .cat { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.card p.desc { color: var(--muted); }
.feats { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.feats li { font-size: 13.5px; font-weight: 500; padding: 6px 12px; border-radius: 999px; background: var(--blue-soft); color: var(--ink); }
.links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: auto; padding-top: 6px; font-size: 15px; font-weight: 600; }
.links a { text-decoration: none; color: var(--blue); }
.links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.stage { background: var(--stage); height: 250px; display: flex; justify-content: center; align-items: flex-start; overflow: hidden; padding-top: 22px; }
.stage img { width: 62%; max-width: 260px; height: auto; display: block; filter: drop-shadow(0 18px 24px rgba(15,22,48,.18)); transition: transform .35s ease; }
.card:hover .stage img { transform: translateY(-8px); }
.stage img.tall { width: 46%; max-width: 200px; }

.card.flag { grid-column: 1 / -1; flex-direction: row; }
.card.flag .card-body { padding: 44px; gap: 20px; justify-content: center; }
.card.flag h3 { font-size: 34px; }
.card.flag .card-top img { width: 76px; height: 76px; border-radius: 19px; }
.card.flag p.desc { font-size: 18px; max-width: 30em; }
.card.flag .stage { flex: 0 0 44%; height: auto; min-height: 380px; align-items: center; padding: 28px 0; background: linear-gradient(160deg, var(--blue-soft), var(--stage)); }
.card.flag .stage img { width: 70%; max-width: 300px; }
.badge { align-self: flex-start; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); background: color-mix(in srgb, var(--orange) 13%, transparent); padding: 5px 10px; border-radius: 6px; }

.card.soon { background: transparent; border: 1.5px dashed var(--line); align-items: stretch; justify-content: center; }
.card.soon .card-body { justify-content: center; align-items: flex-start; }
.soon-icons { display: flex; gap: 10px; }
.soon-icons i { width: 52px; height: 52px; border-radius: 14px; border: 1.5px dashed color-mix(in srgb, var(--blue) 45%, var(--line)); display: grid; place-items: center; font-style: normal; font-size: 22px; color: var(--blue); }
.card.soon h3 { font-size: 24px; }
/* When the "next" card would sit alone in its row (even child, since child 1 is the flagship), it spans the row */
.card.soon:nth-child(even) { grid-column: 1 / -1; }
.card.soon:nth-child(even) .card-body { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.card.soon:nth-child(even) .soon-text { flex: 1 1 320px; min-width: 0; }

/* Process */
.process { background: var(--ink); color: var(--paper); }
.process .head p { color: color-mix(in srgb, var(--paper) 70%, transparent); }
.process .eyebrow { color: var(--orange); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid color-mix(in srgb, var(--paper) 20%, transparent); }
.step { padding: 32px 28px 8px 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.step + .step { padding-left: 28px; border-left: 1px solid color-mix(in srgb, var(--paper) 20%, transparent); }
.step .n { font-family: var(--font-mono); font-size: 13px; color: var(--orange); }
.step h3 { font-size: 26px; font-weight: 700; }
.step p { color: color-mix(in srgb, var(--paper) 72%, transparent); font-size: 16px; }

/* Studio */
.studio .wrap { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 64px; align-items: start; }
.studio h2 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 700; letter-spacing: -0.04em; margin-top: 12px; }
.studio .copy { display: flex; flex-direction: column; gap: 18px; }
.studio .copy p { color: var(--muted); max-width: 36em; font-size: 18px; }
.facts { margin: 0; display: grid; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 18px 22px; }
.facts div + div { border-top: 1px solid var(--line); }
.facts dt { color: var(--muted); font-size: 15px; }
.facts dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }

/* Contact */
.contact { padding-block: 0 96px; }
.contact-box { background: var(--blue); color: var(--on-blue); border-radius: 36px; padding: 64px 56px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.contact-box::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: var(--orange); opacity: .9; }
.contact-box > * { position: relative; z-index: 1; }
.contact-box h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 700; letter-spacing: -0.04em; }
.contact-box p { margin-top: 14px; opacity: .85; max-width: 30em; }
.mailcard { background: var(--surface); color: var(--ink); border-radius: 22px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.mailcard .label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.mailrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.mailrow code { font-family: var(--font-display); font-weight: 700; font-size: 24px; user-select: all; letter-spacing: -0.02em; }
.copy-btn { padding: 8px 14px; font-size: 14px; }

/* Footer */
footer { border-top: 1px solid var(--line); }
footer .wrap { padding-block: 48px; display: grid; grid-template-columns: 1.2fr repeat(4, minmax(0, 1fr)); gap: 32px; font-size: 15px; }
footer h4 { margin: 0 0 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer a { text-decoration: none; color: var(--ink); }
footer a:hover { color: var(--blue); }
footer .addr { color: var(--muted); margin-top: 14px; max-width: 22em; }
.legal { border-top: 1px solid var(--line); }
.legal .wrap { padding-block: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }

/* Load moment: home screen icons pop in, starting visible */
@media (prefers-reduced-motion: no-preference) {
  .homegrid > * { animation: pop .5s cubic-bezier(.2,.9,.3,1.3) both; }
  .homegrid > *:nth-child(2) { animation-delay: .08s; } .homegrid > *:nth-child(3) { animation-delay: .14s; }
  .homegrid > *:nth-child(4) { animation-delay: .2s; } .homegrid > *:nth-child(5) { animation-delay: .26s; }
  .homegrid > *:nth-child(6) { animation-delay: .32s; }
  @keyframes pop { from { transform: scale(.85); } to { transform: scale(1); } }
}

/* Responsive */
@media (max-width: 920px) {
  .hero .wrap, .studio .wrap, .contact-box { grid-template-columns: 1fr; }
  .hero .wrap { padding-block: 48px 64px; gap: 48px; }
  .card.flag { flex-direction: column; }
  .card.flag .card-body { padding: 28px; }
  .card.flag .stage { min-height: 0; height: 300px; align-items: flex-start; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0; border-left: 0; }
  .step + .step { border-top: 1px solid color-mix(in srgb, var(--paper) 20%, transparent); }
  footer .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links a:not(.btn) { display: none; }
  .apps { grid-template-columns: 1fr; }
  .section { padding-block: 64px; }
  .contact-box { padding: 40px 24px; border-radius: 28px; }
  .contact-box::after { width: 160px; height: 160px; right: -60px; top: -60px; }
  .mailrow code { font-size: 20px; }
  .card.flag h3 { font-size: 28px; }
}

/* ---------- App pages ---------- */
.view { padding-block: 40px 96px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.crumbs .sep { opacity: .5; }
.tint-text { color: color-mix(in srgb, var(--tint) 78%, var(--ink)); }

/* Listing */
.list-hero { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.list-hero h1 { font-size: clamp(40px, 5.6vw, 72px); font-weight: 700; letter-spacing: -0.05em; margin-top: 12px; }
.list-hero p { color: var(--muted); max-width: 30em; font-size: 18px; }
.sub-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 18px; padding-top: 8px; }
.sub-head h2 { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; }
.sub-head span { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.live-list { display: grid; gap: 16px; margin-bottom: 64px; }
.row-card { --tint: var(--blue); display: grid; grid-template-columns: auto minmax(0, 1fr) 220px; gap: 28px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 24px 0 0 28px; overflow: hidden; text-decoration: none; transition: border-color .2s ease, transform .2s ease; }
.row-card:hover { border-color: color-mix(in srgb, var(--tint) 45%, var(--line)); transform: translateY(-2px); }
.row-card > img { width: 84px; height: 84px; border-radius: 20px; align-self: start; box-shadow: 0 2px 10px rgba(15,22,48,.14); }
.row-card .txt { display: flex; flex-direction: column; gap: 10px; padding-bottom: 24px; min-width: 0; }
.row-card h3 { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; }
.row-card .kind { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.row-card p { color: var(--muted); max-width: 40em; }
.row-card .more { font-weight: 600; font-size: 15px; }
.row-card .shot { align-self: end; height: 200px; overflow: hidden; display: flex; justify-content: center; background: linear-gradient(180deg, color-mix(in srgb, var(--tint) 14%, var(--surface)), color-mix(in srgb, var(--tint) 26%, var(--surface))); border-top-left-radius: 22px; padding-top: 18px; }
.row-card .shot img { width: 150px; height: auto; display: block; filter: drop-shadow(0 12px 18px rgba(15,22,48,.2)); }
.row-card .shot img.tall { width: 116px; }
.plat { display: flex; flex-wrap: wrap; gap: 6px; }
.plat span { font-size: 12.5px; font-weight: 500; padding: 4px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); }

.pill-soon { align-self: flex-start; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 6px; color: color-mix(in srgb, var(--tint) 75%, var(--ink)); background: color-mix(in srgb, var(--tint) 14%, transparent); }

/* Monogram icon for apps without artwork yet */
.mono { width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, color-mix(in srgb, var(--tint) 80%, #fff), var(--tint) 60%, color-mix(in srgb, var(--tint) 75%, #000)); box-shadow: 0 2px 10px rgba(15,22,48,.14); flex: none; }
.mono svg { width: 52%; height: 52%; }
.mono.lg { width: 104px; height: 104px; border-radius: 26px; }

/* App page hero */
.app-hero { --tint: var(--blue); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; }
.app-id { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.app-id > img { width: 104px; height: 104px; border-radius: 26px; box-shadow: 0 4px 16px rgba(15,22,48,.16); }
.app-id .kind { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.app-id .name { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-top: 4px; }
.app-hero h1 { font-size: clamp(40px, 5.4vw, 68px); font-weight: 700; letter-spacing: -0.05em; }
.app-hero .lede { margin-top: 20px; font-size: 19px; color: var(--muted); max-width: 32em; }
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; align-items: center; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px 10px 16px; border-radius: 14px; background: var(--ink); color: var(--paper); text-decoration: none; line-height: 1.15; transition: transform .15s ease; }
.store-btn:hover { transform: translateY(-1px); }
.store-btn svg { width: 22px; height: 22px; fill: currentColor; flex: none; }
.store-btn small { display: block; font-size: 11px; opacity: .75; }
.store-btn b { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.web-link { font-weight: 600; text-decoration: none; padding: 10px 6px; }
.web-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.app-hero .plat { margin-top: 22px; }
.hero-stage { border-radius: 36px; min-height: 480px; display: flex; justify-content: center; align-items: center; padding: 36px 0; background: radial-gradient(90% 70% at 70% 15%, color-mix(in srgb, var(--tint) 30%, var(--surface)), transparent 70%), linear-gradient(170deg, color-mix(in srgb, var(--tint) 12%, var(--surface)), color-mix(in srgb, var(--tint) 24%, var(--paper))); border: 1px solid var(--line); overflow: hidden; }
.hero-stage img { width: 62%; max-width: 320px; filter: drop-shadow(0 26px 34px rgba(15,22,48,.25)); }
.hero-stage img.tall { width: 44%; max-width: 230px; }
.ph-soon { width: 230px; max-width: 70%; aspect-ratio: 9 / 19; border-radius: 40px; background: #11141c; padding: 10px; box-shadow: 0 0 0 2px #2b3040, 0 30px 60px -24px rgba(15,22,48,.45); }
.ph-soon > div { height: 100%; border-radius: 31px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; color: #fff; text-align: center; padding: 20px; background: linear-gradient(170deg, color-mix(in srgb, var(--tint) 70%, #fff), var(--tint) 55%, color-mix(in srgb, var(--tint) 70%, #000)); }
.ph-soon .mono { background: rgba(255,255,255,.18); box-shadow: none; }
.ph-soon b { font-size: 20px; letter-spacing: -0.02em; }
.ph-soon small { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }

/* Features */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 80px; }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.feat .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--tint) 14%, transparent); color: color-mix(in srgb, var(--tint) 80%, var(--ink)); margin-bottom: 6px; }
.feat .ico svg { width: 20px; height: 20px; }
.feat h3 { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.feat p { color: var(--muted); font-size: 16px; }

/* Details + help */
.details { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.details .facts { border-radius: 24px; }
.help { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 8px; display: grid; }
.help a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: 16px; text-decoration: none; font-weight: 600; }
.help a:hover { background: var(--blue-soft); color: var(--blue); }
.help a small { display: block; font-weight: 400; font-size: 14px; color: var(--muted); margin-top: 2px; }
.help a .arr { font-size: 20px; color: var(--muted); }
.help-title { padding: 14px 18px 6px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

.more-apps { margin-top: 80px; }
.more-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.more-row a { --tint: var(--blue); display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 15px; min-width: 0; }
.more-row a:hover { border-color: color-mix(in srgb, var(--tint) 45%, var(--line)); }
.more-row img, .more-row .mono { width: 40px; height: 40px; border-radius: 11px; flex: none; }

/* FAQ + legal */
.doc-head { --tint: var(--blue); display: flex; align-items: center; gap: 18px; padding-bottom: 32px; border-bottom: 1px solid var(--line); margin-bottom: 40px; flex-wrap: wrap; }
.doc-head > img, .doc-head .mono { width: 64px; height: 64px; border-radius: 16px; }
.doc-head h1 { font-size: clamp(34px, 4.6vw, 54px); font-weight: 700; letter-spacing: -0.045em; }
.doc-head .meta { font-family: var(--font-mono); font-size: 13px; color: var(--muted); margin-top: 6px; }
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: calc(84px + env(safe-area-inset-top, 0px)); display: grid; gap: 2px; font-size: 14.5px; }
.toc .help-title { padding: 0 12px 8px; }
.toc a { text-decoration: none; color: var(--muted); padding: 7px 12px; border-radius: 10px; }
.toc a:hover { color: var(--ink); background: var(--blue-soft); }
.prose { max-width: 68ch; font-size: 17px; }
.prose h2 { font-size: 26px; font-weight: 700; letter-spacing: -0.03em; margin: 44px 0 12px; scroll-margin-top: 90px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; color: color-mix(in srgb, var(--ink) 86%, var(--paper)); }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 6px; }
.prose a { color: var(--blue); }
.faq { display: grid; gap: 10px; max-width: 760px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 0; font-weight: 600; font-size: 17.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; font-weight: 400; color: var(--muted); transition: transform .2s ease; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 18px; color: var(--muted); }
.faq details > div p { margin: 0 0 10px; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; display: grid; gap: 10px; }
.side-card b { font-size: 18px; }
.side-card p { color: var(--muted); font-size: 15px; }
.side-card code { font-family: var(--font-mono); font-size: 15px; user-select: all; color: var(--ink); }
.placeholder { border: 1.5px dashed var(--line); border-radius: 22px; padding: 32px; color: var(--muted); max-width: 68ch; }
.placeholder a { color: var(--blue); font-weight: 600; }

@media (max-width: 920px) {
  .app-hero, .details, .doc { grid-template-columns: 1fr; }
  .hero-stage { min-height: 380px; }
  .feat-grid { grid-template-columns: 1fr; margin-top: 56px; }
  .toc { position: static; display: none; }
  .row-card { grid-template-columns: auto minmax(0, 1fr); padding: 22px; }
  .row-card .shot { display: none; }
  .row-card .txt { padding-bottom: 0; }
}
@media (max-width: 560px) {
  .row-card { grid-template-columns: 1fr; gap: 16px; }
  .row-card > img { width: 64px; height: 64px; border-radius: 16px; }
  .app-id > img, .app-id .mono.lg { width: 80px; height: 80px; border-radius: 20px; }
}

/* ---------- WordPress ---------- */
html { scroll-behavior: smooth; }
body.xeplin-site { margin: 0; }
.xeplin-site img { max-width: 100%; height: auto; }
.xeplin-site .phone .app img, .xeplin-site .w-label img { height: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 10px; }
.skip:focus { left: 16px; }
.admin-bar .nav { top: calc(32px + env(safe-area-inset-top, 0px)); }
@media (max-width: 782px) { .admin-bar .nav { top: calc(46px + env(safe-area-inset-top, 0px)); } }
@media (max-width: 600px) { .admin-bar .nav { top: 0; } }
.w-wide { color: #fff; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
.contact-doc { grid-template-columns: 300px minmax(0, 1fr); }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 28px; min-width: 0; }
.form-card .wpforms-container { margin: 0 !important; }
.form-card input[type=text], .form-card input[type=email], .form-card textarea { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.form-card input:focus, .form-card textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent; }
.form-card label { font-weight: 600; color: var(--ink); }
.form-card .wpforms-field-sublabel { color: var(--muted); }
.form-card button[type=submit], .form-card .wpforms-submit { background: var(--blue) !important; color: var(--on-blue) !important; border: 0 !important; border-radius: 999px !important; padding: 12px 24px !important; font: inherit !important; font-weight: 600 !important; cursor: pointer; }
@media (max-width: 920px) { .contact-doc { grid-template-columns: 1fr; } .xeplin-site .toc { display: none; } }
.doc.no-toc { grid-template-columns: minmax(0, 1fr); }
.doc.no-toc .prose { margin: 0 auto; }
