/* ===========================================================
   WixzelOne - marketing surface system
   Sora (display/body) + JetBrains Mono (product chrome)
   White paper, multi-colour "app" gradients, dark product UI
   =========================================================== */

:root {
  /* ink + paper */
  --ink:      #0A0A0A;
  --ink-2:    #6E6E73;   /* the grey of "One", secondary headline */
  --ink-3:    #9A9AA0;
  --paper:    #FFFFFF;
  --paper-2:  #F6F7F8;
  --hair:     #ECECEE;

  /* safe-range app accents (NO purple/violet/magenta on marketing surfaces) */
  --green:      #00B84D;
  --cyan:       #00D2EE;
  --blue:       #2B8FFF;
  --green-deep: #00875A;
  --amber:      #E6AE34;
  --coral:      #FF6A4D;
  --teal:       #12B5A6;

  --accent-green-cyan: linear-gradient(96deg, #00B84D 0%, #00D2EE 100%);

  /* product (dark) UI */
  --p-bg:    #050505;
  --p-card:  #1B1B1D;
  --p-card2: #242427;
  --p-line:  #2A2A2D;
  --p-fg:    #FFFFFF;
  --p-sub:   #8A8A8E;
  --p-faint: #4E4E52;

  --shadow-phone: 0 40px 90px -30px rgba(10,12,20,0.45), 0 12px 30px -12px rgba(10,12,20,0.30);
  --maxw: 1200px;

  --sora: "Sora", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--sora);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 28px; }
.section { position: relative; }

/* ---------- gradient blob field ---------- */
.blob {
  position: absolute;
  border-radius: 50%;
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}
.blob.green  { background: radial-gradient(circle at 50% 50%, rgba(87,224,143,.62), rgba(0,200,83,.10) 42%, transparent 68%); }
.blob.cyan   { background: radial-gradient(circle at 50% 50%, rgba(79,230,250,.55), rgba(0,210,238,.08) 42%, transparent 68%); }
.blob.blue   { background: radial-gradient(circle at 50% 50%, rgba(143,196,255,.55), rgba(43,143,255,.08) 42%, transparent 68%); }
.blob.amber  { background: radial-gradient(circle at 50% 50%, rgba(255,217,138,.55), rgba(230,174,52,.08) 42%, transparent 68%); }
.blob.coral  { background: radial-gradient(circle at 50% 50%, rgba(255,179,158,.55), rgba(255,106,77,.08) 42%, transparent 68%); }
.blob.teal   { background: radial-gradient(circle at 50% 50%, rgba(111,230,216,.55), rgba(18,181,166,.08) 42%, transparent 68%); }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.display {
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0;
  font-size: clamp(40px, 7vw, 86px);
  text-wrap: balance;
}
.display .muted { color: var(--ink-2); }
.grad-gc {
  background: var(--accent-green-cyan);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.grad-blue { color: var(--blue); }
.grad-green { color: var(--green-deep); }

.lead {
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
  font-weight: 400;
  max-width: 46ch;
  text-wrap: pretty;
}

/* ---------- buttons ---------- */
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sora); font-weight: 700; font-size: 17px;
  border: 0; cursor: pointer; border-radius: 999px;
  padding: 16px 18px 16px 26px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary .arrow {
  width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; font-size: 17px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -16px rgba(10,10,10,0.55); }
.btn-ghost { background: transparent; color: var(--ink); padding: 16px 22px; border: 1.5px solid var(--hair); }
.btn-ghost:hover { border-color: var(--ink); }

/* ---------- google play badge (official image) ---------- */
.gplay { display: inline-block; transition: transform .18s ease, filter .18s ease; }
.gplay img { height: 54px; width: auto; display: block; }
.gplay:hover { transform: translateY(-2px); filter: drop-shadow(0 14px 22px rgba(10,10,10,0.28)); }

/* ===========================================================
   PHONE - dark WixzelOne product UI, recreated live
   =========================================================== */
.phone {
  position: relative;
  width: 348px;
  border-radius: 44px;
  background: #111113;
  padding: 11px;
  box-shadow: var(--shadow-phone);
  border: 1px solid #232327;
}
.phone .screen {
  position: relative;
  border-radius: 34px;
  background: var(--p-bg);
  overflow: hidden;
  aspect-ratio: 320 / 660;
  color: var(--p-fg);
  font-size: 14px;
}
.phone .scr-pad { padding: 16px 18px 0; height: 100%; display: flex; flex-direction: column; }

/* status bar */
.statusbar {
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--mono); font-size: 13px; font-weight: 600;
  padding: 6px 2px 12px;
}
.statusbar .right { display: flex; align-items: center; gap: 6px; }
.statusbar .batt {
  font-size: 10px; font-weight: 700; color: #04130A;
  background: #2BD66A; border-radius: 4px; padding: 1px 4px;
}
.sig { display: inline-flex; align-items: flex-end; gap: 1.5px; height: 11px; }
.sig i { width: 3px; background: #fff; border-radius: 1px; display: block; }
.sig i:nth-child(1){height:4px} .sig i:nth-child(2){height:6px} .sig i:nth-child(3){height:8px} .sig i:nth-child(4){height:11px}

/* app header */
.app-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 0 18px; }
.app-head .brand { display: flex; align-items: center; gap: 9px; }
.app-head .brand .mark { width: 26px; height: 26px; }
.app-head .brand .wm { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.app-head .brand .wm .one { color: #8A8A8E; font-weight: 600; }
.app-head .sun { color: #d6d6d8; opacity: .8; }

.app-title { font-size: 27px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 10px; }
.app-sub { color: var(--p-sub); font-size: 14px; line-height: 1.45; max-width: 30ch; }

/* the "1" mark (reusable, colourable via --mk) */
.mark { --mk: #0A0A0A; display: inline-block; }
.mark svg { width: 100%; height: 100%; display: block; }
.mark .bg { fill: var(--mk); }
.mark .one { fill: #fff; }

/* prompt card */
.prompt-card {
  margin-top: auto;
  background: var(--p-card);
  border: 1px solid var(--p-line);
  border-radius: 22px;
  padding: 20px 18px 14px;
  box-shadow: 0 -10px 40px -20px rgba(0,0,0,.6);
}
.prompt-text {
  font-family: var(--mono); font-size: 16px; line-height: 1.45; min-height: 92px;
  letter-spacing: -0.01em;
}
.prompt-text .ghost { color: var(--p-faint); }
.caret { display: inline-block; width: 2px; height: 1.05em; background: var(--cyan);
  vertical-align: -3px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.prompt-hint { color: var(--p-sub); font-family: var(--mono); font-size: 12.5px; margin: 16px 0 14px; display:flex; align-items:center; gap:7px;}
.prompt-foot { display: flex; align-items: center; gap: 12px; }
.dice { width: 38px; height: 38px; border-radius: 11px; border: 1px solid var(--p-line); display: grid; place-items: center; color: var(--p-sub); }
.pro-pill { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--amber);
  border: 1px solid #4a3c14; background: #221c0c; border-radius: 999px; padding: 7px 14px; }
.send { margin-left: auto; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: #0A0A0A;
  display: grid; place-items: center; font-size: 20px; transition: transform .2s ease; }

/* building card */
.build-card { margin-top: auto; background: var(--p-card); border:1px solid var(--p-line); border-radius: 22px; padding: 18px; }
.build-row { display: flex; align-items: center; gap: 14px; }
.build-row .ic { width: 56px; height: 56px; border-radius: 15px; flex: none; }
img.ic { object-fit: cover; display: block; }
.build-row .meta { flex: 1; min-width: 0; }
.build-row .meta .t { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.build-row .meta .d { color: var(--p-sub); font-size: 13px; line-height: 1.35; margin-top: 3px; }
.build-row .pct { font-family: var(--mono); color: var(--p-sub); font-size: 15px; }
.bar { height: 7px; border-radius: 999px; background: #2a2a2d; margin: 16px 0 12px; overflow: hidden; }
.bar > i { display: block; height: 100%; width: 0%; border-radius: 999px;
  background: linear-gradient(90deg,#fff,#fff); transition: width .25s linear; }
.build-quote { font-family: var(--mono); font-style: italic; color: var(--p-faint); font-size: 13px; line-height: 1.45; }

/* home-screen reveal */
.home { position:absolute; inset:0; padding: 16px 18px; display:flex; flex-direction:column; }
.home .wall { position:absolute; inset:0; background: #0a0a0a url("home-wallpaper.jpg") center center / cover no-repeat; }
.home .reveal-app { position: relative; margin-top: 56px; width: 104px; }
.home .reveal-app .ic { width: 104px; height: 104px; border-radius: 26px; box-shadow: 0 16px 30px -10px rgba(0,0,0,.6); }
.home .reveal-app .label { color:#fff; font-weight: 700; font-size: 16px; text-align: center; margin-top: 10px; line-height: 1.15; }
.home .curve { position:absolute; top: 30px; left: 128px; color:#fff; }

/* bottom nav */
.tabbar { display: flex; align-items: center; justify-content: space-around; padding: 14px 4px 16px; color: var(--p-sub); }
.tabbar .tab { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; }
.tabbar .tab .ico { width: 22px; height: 22px; display: grid; place-items: center; }
.tabbar .tab .ico svg { width: 21px; height: 21px; display: block; }
.tabbar .tab.active { color: #fff; }
.tabbar .tab.active .ico { background: #2a2a2d; width: 34px; height: 34px; border-radius: 50%; }
.homebar { width: 120px; height: 5px; border-radius: 999px; background: #3a3a3d; margin: 4px auto 8px; }

/* phone state visibility */
.pstate { display: none; }
.pstate.on { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }

/* in-phone app frame (opened from My Apps) */
.app-frame { position: absolute; inset: 0; z-index: 6; background: #000; display: flex; }
.app-frame[hidden] { display: none; }
.app-frame-iframe { width: 100%; height: 100%; border: 0; display: block; background: #000; }
.app-frame-quit {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: 2px;
  font-family: var(--sora); font-size: 13px; font-weight: 700; color: #fff;
  background: rgba(20,20,22,0.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.16); border-radius: 999px; padding: 8px 14px; cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.app-frame-quit:hover { background: rgba(40,40,44,0.92); transform: translateY(-1px); }
/* the openable app cell */
.cell.openable { cursor: pointer; }
.cell.openable .appicon { transition: transform .18s ease; }
.cell.openable:hover .appicon { transform: translateY(-3px) scale(1.04); }

/* ===========================================================
   reveal-on-scroll
   =========================================================== */
.rise { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.rise.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; transform: none; transition: none; }
  .caret { animation: none; }
}

/* ===========================================================
   THEMING SUBSECTION (fonts + themes)
   =========================================================== */
.theming { margin-top: 92px; position: relative; z-index: 1; }
.sub-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.sub-head .eyebrow { margin: 0 0 14px; }
.sub-title { font-size: clamp(26px, 3.2vw, 40px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.04; margin: 0 0 16px; }
.sub-head .lead { margin: 0 auto; max-width: 52ch; }
.theming-grid { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 40px; align-items: start; }

/* ---- preview app (restyles live) ---- */
.tp-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; position: sticky; top: 96px; }
.mode-toggle { display: inline-flex; background: #ececee; border-radius: 999px; padding: 4px; gap: 2px; }
.mode-toggle button { border: 0; background: transparent; cursor: pointer; font-family: var(--sora);
  font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 8px 20px; border-radius: 999px; transition: all .2s ease; }
.mode-toggle button.on { background: #0a0a0a; color: #fff; }

.theme-preview {
  --tp-bg: #fff; --tp-card: #f4f4f5; --tp-fg: #0a0a0a; --tp-muted: #8a8a90; --tp-accent: #0a0a0a; --tp-font: var(--sora);
  width: 300px; max-width: 100%; border-radius: 30px; background: var(--tp-bg);
  border: 10px solid #111113; box-shadow: var(--shadow-phone); overflow: hidden;
  transition: background .45s ease; font-family: var(--tp-font);
}
.tp-status { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px 6px;
  font-family: var(--mono); font-size: 12px; color: var(--tp-muted); transition: color .45s ease; }
.tp-status .tp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--tp-accent); transition: background .45s ease; }
.tp-app { padding: 12px 20px 24px; }
.tp-top { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.tp-ic { width: 44px; height: 44px; border-radius: 13px; background: var(--tp-accent); flex: none; transition: background .45s ease; object-fit: cover; }

.icon-grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 9px; }
.icon-tile { aspect-ratio: 1; border-radius: 24%; cursor: pointer; padding: 0; border: 0; background: transparent;
  box-shadow: 0 0 0 2px transparent; transition: box-shadow .2s ease, transform .2s ease; overflow: visible; }
.icon-tile img { width: 100%; height: 100%; border-radius: 24%; display: block; object-fit: cover; }
.icon-tile.sel { box-shadow: 0 0 0 2px #0c0c0d, 0 0 0 4px #fff; }
.icon-tile:hover { transform: translateY(-2px); }
.tp-name { font-size: 21px; font-weight: 700; color: var(--tp-fg); letter-spacing: -0.01em; transition: color .45s ease; line-height: 1.1; }
.tp-sub { font-size: 13px; color: var(--tp-muted); transition: color .45s ease; font-family: var(--sora); margin-top: 2px; }
.tp-rows { display: flex; flex-direction: column; gap: 0; margin-bottom: 22px; }
.tp-row { display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 13px 0; border-bottom: 1px solid color-mix(in srgb, var(--tp-fg) 12%, transparent);
  font-size: 15px; color: var(--tp-fg); transition: color .45s ease, border-color .45s ease; }
.tp-tag { font-family: var(--sora); font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 999px; flex: none;
  background: var(--tp-accent); color: var(--tp-bg); transition: all .45s ease; }
.tp-tag.soft { background: color-mix(in srgb, var(--tp-accent) 16%, transparent); color: var(--tp-accent); }
.tp-btn { width: 100%; border: 0; cursor: pointer; border-radius: 14px; padding: 15px; font-family: var(--tp-font);
  font-size: 16px; font-weight: 700; background: var(--tp-accent); color: var(--tp-bg); transition: background .45s ease, color .45s ease; }

/* ---- pickers (dark in-app UI) ---- */
.pickers { display: flex; flex-direction: column; gap: 20px; }
.picker { background: #0c0c0d; border: 1px solid #1f1f22; border-radius: 24px; padding: 20px 20px 22px; }
.picker-label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: #7a7a80; margin-bottom: 16px; }
.font-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.font-tile { aspect-ratio: 1 / 0.82; background: #1a1a1d; border: 2px solid transparent; border-radius: 18px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer;
  transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.font-tile .big { font-size: 30px; line-height: 1; color: #fff; }
.font-tile .small { font-size: 13px; color: #76767c; }
.font-tile.sel { border-color: #fff; background: #232327; }
.font-tile:hover { transform: translateY(-2px); }

.theme-list { display: flex; flex-direction: column; gap: 9px; max-height: 372px; overflow-y: auto; overscroll-behavior: contain; padding-right: 6px; }
.theme-list::-webkit-scrollbar { width: 6px; }
.theme-list::-webkit-scrollbar-thumb { background: #303034; border-radius: 999px; }
.theme-list::-webkit-scrollbar-track { background: transparent; }
.theme-row { display: flex; align-items: center; gap: 14px; background: #1a1a1d; border: 1.5px solid transparent;
  border-radius: 15px; padding: 13px 16px; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.theme-row.sel { border-color: #3a3a40; background: #202024; }
.swatch { display: flex; flex: none; width: 56px; height: 26px; position: relative; }
.swatch i { width: 26px; height: 26px; border-radius: 50%; position: absolute; top: 0; border: 1.5px solid #0c0c0d; }
.swatch i:nth-child(1) { left: 0; z-index: 1; }
.swatch i:nth-child(2) { left: 15px; z-index: 2; }
.swatch i:nth-child(3) { left: 30px; z-index: 3; }
.theme-row .meta2 { flex: 1; min-width: 0; }
.theme-row .tname { display: block; font-size: 16px; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.theme-row .tdesc { display: block; font-size: 12.5px; color: #84848a; margin-top: 3px; }
.theme-row .radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #4a4a50; flex: none;
  display: grid; place-items: center; transition: all .2s ease; }
.theme-row.sel .radio { background: #fff; border-color: #fff; }
.theme-row.sel .radio::after { content: ""; width: 9px; height: 9px; border-right: 2px solid #0a0a0a; border-bottom: 2px solid #0a0a0a;
  transform: rotate(45deg) translate(-1px,-1px); margin-top: -2px; }

/* ===========================================================
   PAGE LAYOUT
   =========================================================== */

/* nav */
.nav { position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--hair); }
@supports (backdrop-filter: blur(1px)) {
  /* applied only on scroll via .scrolled to avoid the at-load paint-suppression bug */
  .nav.scrolled { background: rgba(255,255,255,0.72); backdrop-filter: saturate(180%) blur(16px); }
}
.nav-in { display: flex; align-items: center; gap: 24px; height: 70px; }
.nav-logo { height: 26px; width: auto; }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { padding: 11px 12px 11px 20px; font-size: 15px; }
.nav-cta .arrow { width: 28px; height: 28px; font-size: 14px; }

/* the white header logo lockup inside the dark phone */
.ph-logo { height: 22px; width: auto; }
/* (legacy recreated mark, kept for fallback) */
.hmark { width: 26px; height: 26px; border-radius: 8px; background: #fff; display: inline-grid; place-items: center; }
.hmark svg { width: 20px; height: 20px; }

/* app icon (white "1" on a colour) */
.appicon { position: relative; display: inline-block; border-radius: 26%; overflow: hidden; }
.appicon svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.appicon.light { background: #fff !important; }
img.appicon { object-fit: cover; display: block; }

/* hero */
.hero { padding: 70px 0 90px; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero-copy .eyebrow { margin: 0 0 22px; }
.hero-copy .display { margin-bottom: 26px; }
.hero-copy .lead { margin-bottom: 34px; }
.hero-note { font-size: 14px; color: var(--ink-3); font-weight: 500; }
.hero-phone { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.phone-caption { font-family: var(--mono); font-size: 13px; color: var(--ink-2); letter-spacing: .01em; transition: opacity .4s ease; }

/* generic section heads */
.section { padding: 96px 0; }
.sec-head { max-width: 760px; margin-bottom: 52px; }
.sec-head .eyebrow { margin: 0 0 16px; }
.sec-title { font-size: clamp(30px, 4vw, 52px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; margin: 0; text-wrap: balance; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; position: relative; z-index: 1; }
.step { background: var(--paper); border: 1px solid var(--hair); border-radius: 24px; padding: 30px 28px 34px;
  box-shadow: 0 1px 0 rgba(10,10,10,.02); transition: transform .25s ease, box-shadow .25s ease; }
.step:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -28px rgba(10,12,20,.28); }
.step-no { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--green); letter-spacing: .1em; }
.step h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin: 18px 0 10px; }
.step p { font-size: 16px; line-height: 1.55; color: var(--ink-2); margin: 0; }

/* apps / proof */
.apps-in { display: grid; grid-template-columns: 1fr 0.9fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.apps-copy .lead { margin: 26px 0 28px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-size: 14px; font-weight: 500; color: var(--ink-2); border: 1px solid var(--hair);
  background: var(--paper); border-radius: 999px; padding: 9px 16px; }
.apps-phone { display: flex; justify-content: center; }
.grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px 10px; padding-bottom: 8px; }
.grid .cell { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.grid .cell .appicon { width: 52px; height: 52px; }
.grid .cell .nm { font-size: 11px; color: #d8d8da; text-align: center; line-height: 1.2; font-weight: 500; }

/* the difference */
.diff-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.diff-card { border: 1px solid var(--hair); border-radius: 22px; padding: 28px 24px 30px; background: var(--paper); }
.diff-card h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 12px; }
.diff-card p { font-size: 15.5px; line-height: 1.55; color: var(--ink-2); margin: 0; }

/* live updates */
.live-in { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.live-copy .lead { margin-top: 24px; }
.live-demo { display: flex; justify-content: center; }
.live-card { width: 100%; max-width: 420px; background: var(--p-bg); color: var(--p-fg);
  border: 1px solid var(--p-line); border-radius: 26px; padding: 24px 22px; box-shadow: var(--shadow-phone); }
.live-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.live-name { font-size: 17px; font-weight: 700; }
.live-meta { font-family: var(--mono); font-size: 12px; color: var(--cyan); }
.live-rows { display: flex; flex-direction: column; gap: 2px; }
.live-row { display: flex; align-items: center; justify-content: space-between; padding: 13px 2px;
  border-bottom: 1px solid var(--p-line); font-size: 15px; }
.live-row span { color: var(--p-sub); }
.live-row .amt { font-family: var(--mono); font-weight: 500; transition: color .3s ease, transform .3s ease; }
.live-row .amt.flash { color: var(--cyan); }
.live-prompt { margin-top: 20px; background: var(--p-card); border: 1px solid var(--p-line);
  border-radius: 14px; padding: 14px 16px; font-family: var(--mono); font-size: 14px; min-height: 20px; color: #e6e6e8; }

/* close */
.close { text-align: center; padding-bottom: 0; }
.close-in { display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
.close-logo { height: 40px; width: auto; margin-bottom: 48px; }
.close-h { font-size: clamp(48px, 8vw, 96px); }
.close-sub { margin: 26px 0 40px; text-align: center; }
.close-cta .btn { font-size: 20px; padding: 18px 20px 18px 32px; }
.close-cta .arrow { width: 40px; height: 40px; font-size: 19px; }

/* footer */
.foot { margin-top: 110px; border-top: 1px solid var(--hair); padding: 28px 0; }
.foot-in { display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-size: 14px; color: var(--ink-3); }
.foot-tag { font-family: var(--mono); }
.foot-links { display: flex; gap: 16px; }
.foot-links a { color: var(--ink-3); text-decoration: none; }
.foot-links a:hover { color: var(--ink); text-decoration: underline; }
.claim-star { font-size: .5em; vertical-align: super; text-decoration: none;
  -webkit-text-fill-color: var(--ink-3); color: var(--ink-3); margin-left: 1px; }
.foot-note { margin-top: 16px; font-size: 12px; line-height: 1.5; color: var(--ink-3); }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .hero-in, .apps-in, .live-in { grid-template-columns: 1fr; gap: 44px; }
  .theming-grid { grid-template-columns: 1fr; gap: 28px; }
  .tp-wrap { position: static; }
  .hero-phone, .apps-phone { order: -1; }
  .apps-in .apps-phone { order: 0; }
  .steps, .diff-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .wrap { padding-inline: 20px; }
  .steps, .diff-grid { grid-template-columns: 1fr; }
  .foot-in { flex-direction: column; gap: 10px; text-align: center; }
  .nav-cta { display: none; }
  /* Keep the phone's native proportions (perfect on desktop) and scale the
     whole mockup down uniformly, so the inner UI never gets cramped. The
     negative margins collapse the leftover layout-box space left by transform. */
  .phone { width: 348px; transform: scale(0.82); transform-origin: top center;
    margin: 0 -31px -125px; }

  /* Theme editor: keep everything within the screen and centered. The wide
     font (4-col) / icon (9-col) grids otherwise blow the layout past the
     viewport edge. minmax(0,1fr) lets the column shrink; the grids become
     centered wrapping rows so partial rows stay centered too. */
  .theming-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .tp-wrap { width: 100%; }
  .pickers { width: 100%; min-width: 0; }
  .picker { min-width: 0; padding: 18px 16px 20px; }
  .picker-label { text-align: center; }
  .font-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .font-tile { width: 92px; }
  .icon-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
  .icon-tile { width: 46px; }
  .theme-list { max-height: none; padding-right: 0; }
}
