/* Postaloft site. Light and dark follow the system, or the visitor's choice
   (<html data-theme>, set by theme.js from the pl_theme cookie shared with the app).
   No inline style anywhere (the CSP forbids it): positions are classes. */

:root {
  /* tokens:light:start (tools/build_tokens.py) */
  --bg: #ffffff;
  --bg-subtle: #f6f6f4;
  --bg-hover: #f0f0ee;
  --border: #ebebe8;
  --border-strong: #dcdcd8;
  --text: #1d1d1b;
  --text-2: #64645f;
  --text-3: #9a9a94;
  --primary: #1d1d1b;
  --primary-text: #ffffff;
  --primary-hover: #3a3a37;
  --accent: #5d5fd8;
  --accent-soft: rgba(93, 95, 216, 0.1);
  --ok: #1f7a4d;
  --ok-soft: #e6f4ec;
  --warn: #9a5b00;
  --warn-soft: #fbf1df;
  --danger: #c2372f;
  --danger-soft: #fbeceb;
  --g1: #ff8a4c;
  --g2: #f0457d;
  --g3: #7b5cff;
  --halo-core: rgba(240, 69, 125, 0.2);
  --halo-edge: rgba(123, 92, 255, 0.11);
  --shadow: 0 0 0 1px rgba(15, 15, 15, 0.05), 0 4px 12px rgba(15, 15, 15, 0.08), 0 16px 40px rgba(15, 15, 15, 0.1);
  --shadow-lg: 0 0 0 1px rgba(15, 15, 15, 0.05), 0 24px 60px -12px rgba(30, 20, 40, 0.22);
  --focus: rgba(93, 95, 216, 0.35);
  /* tokens:light:end */
  --grad: linear-gradient(100deg, var(--g1), var(--g2) 50%, var(--g3));
  --ig: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
  --ig-text: linear-gradient(90deg, #d62976, #962fbf);
  --spot: rgba(240, 69, 125, 0.09);
  --radius: 12px;
  --radius-sm: 7px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-pop: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: light;
}

/* tokens:dark:start (tools/build_tokens.py) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #191919;
    --bg-subtle: #212121;
    --bg-hover: #262626;
    --border: #2a2a2a;
    --border-strong: #383838;
    --text: #ebebe9;
    --text-2: #a3a39e;
    --text-3: #6f6f6b;
    --primary: #ececea;
    --primary-text: #191919;
    --primary-hover: #d4d4d1;
    --accent: #8f91ec;
    --accent-soft: rgba(143, 145, 236, 0.15);
    --ok: #5cc28e;
    --ok-soft: rgba(92, 194, 142, 0.12);
    --warn: #e0a54a;
    --warn-soft: rgba(224, 165, 74, 0.12);
    --danger: #ef7a72;
    --danger-soft: rgba(239, 122, 114, 0.12);
    --g1: #ff8a4c;
    --g2: #f0457d;
    --g3: #7b5cff;
    --halo-core: rgba(240, 69, 125, 0.2);
    --halo-edge: rgba(123, 92, 255, 0.11);
    --shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 8px 24px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 24px 60px -12px rgba(0, 0, 0, 0.7);
    --focus: rgba(143, 145, 236, 0.4);
    --spot: rgba(240, 69, 125, 0.12);
    color-scheme: dark;
  }
}
:root[data-theme='dark'] {
  --bg: #191919;
  --bg-subtle: #212121;
  --bg-hover: #262626;
  --border: #2a2a2a;
  --border-strong: #383838;
  --text: #ebebe9;
  --text-2: #a3a39e;
  --text-3: #6f6f6b;
  --primary: #ececea;
  --primary-text: #191919;
  --primary-hover: #d4d4d1;
  --accent: #8f91ec;
  --accent-soft: rgba(143, 145, 236, 0.15);
  --ok: #5cc28e;
  --ok-soft: rgba(92, 194, 142, 0.12);
  --warn: #e0a54a;
  --warn-soft: rgba(224, 165, 74, 0.12);
  --danger: #ef7a72;
  --danger-soft: rgba(239, 122, 114, 0.12);
  --g1: #ff8a4c;
  --g2: #f0457d;
  --g3: #7b5cff;
  --halo-core: rgba(240, 69, 125, 0.2);
  --halo-edge: rgba(123, 92, 255, 0.11);
  --shadow: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 8px 24px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 0 0 1px rgba(255, 255, 255, 0.07), 0 24px 60px -12px rgba(0, 0, 0, 0.7);
  --focus: rgba(143, 145, 236, 0.4);
  --spot: rgba(240, 69, 125, 0.12);
  color-scheme: dark;
}
/* tokens:dark:end */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); overflow-x: clip;
  font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 680; letter-spacing: -0.025em; line-height: 1.15; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.brand svg { stroke: none; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 24px; } }
.muted { color: var(--text-2); }
.faint { color: var(--text-3); }
.center-row { text-align: center; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--primary); color: var(--primary-text); padding: 8px 12px; border-radius: var(--radius-sm); z-index: 30; }
.skip:focus { left: 8px; }

/* Header ---------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap { display: flex; align-items: center; gap: 12px; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 680; letter-spacing: -0.01em; text-decoration: none; font-size: 17px; }
.brand svg { width: 28px; height: 28px; }
.brand .r { fill: var(--text); }
.brand .a { fill: var(--g2); }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { position: relative; text-decoration: none; color: var(--text-2); padding: 6px 10px; border-radius: var(--radius-sm); font-size: 15px; transition: color 150ms ease; }
.nav a::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform 250ms var(--ease-out); }
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); padding: 6px 10px; cursor: pointer; font-size: 14px; }

@media (max-width: 860px) {
  .header-actions { margin-left: auto; }
  .menu-toggle { display: inline-block; order: 3; }
  .nav { display: none; position: absolute; top: 62px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 16px 16px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 11px 8px; }
  .nav a::after { display: none; }
}
@media (max-width: 560px) { .header-actions .btn { display: none; } }

/* Language menu */
.lang-menu { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; cursor: pointer;
  border: 1px solid var(--border); border-radius: 999px; background: var(--bg); color: var(--text-2); font-size: 13.5px; font-weight: 600;
  transition: border-color 150ms ease, color 150ms ease, background-color 150ms ease;
}
.lang-btn:hover, .lang-btn[aria-expanded='true'] { border-color: var(--border-strong); color: var(--text); background: var(--bg-subtle); }
.lang-btn svg { width: 17px; height: 17px; }
.lang-btn .chev { width: 13px; height: 13px; transition: transform 200ms ease; }
.lang-btn[aria-expanded='true'] .chev { transform: rotate(180deg); }
.lang-pop {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; padding: 6px; z-index: 30;
  background: var(--bg); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-lg);
  transform-origin: top right; animation: pop-in 180ms var(--ease-out);
}
.lang-pop a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; text-decoration: none; font-size: 14.5px; }
.lang-pop a:hover, .lang-pop a:focus-visible { background: var(--bg-hover); }
.lang-pop .ck { width: 15px; height: 15px; color: var(--g2); stroke-width: 2.4; opacity: 0; }
.lang-pop a[aria-checked='true'] { font-weight: 600; }
.lang-pop a[aria-checked='true'] .ck { opacity: 1; }
@keyframes pop-in { from { opacity: 0; transform: scale(0.94) translateY(-4px); } to { opacity: 1; transform: none; } }

/* Buttons --------------------------------------------------------------- */

.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; overflow: hidden;
  padding: 9px 16px; border-radius: 9px; font-size: 15px; font-weight: 580; text-decoration: none; border: 1px solid transparent;
  cursor: pointer; white-space: nowrap; transition: background-color 150ms ease, border-color 150ms ease, transform 200ms var(--ease-out), box-shadow 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--primary); color: var(--primary-text); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: var(--bg); color: var(--text); border-color: var(--border-strong); }
.btn-secondary:hover { background: var(--bg-hover); }
.btn-lg { padding: 13px 22px; font-size: 16px; border-radius: 11px; }
.btn-block { width: 100%; }
.btn .ar { width: 17px; height: 17px; transition: transform 250ms var(--ease-out); }
.btn-shine::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent); transform: skewX(-20deg);
}
@keyframes shine { to { left: 130%; } }

/* Hero ------------------------------------------------------------------ */

.hero { position: relative; padding: 56px 0 40px; overflow: hidden; isolation: isolate; }
.hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1fr 1.05fr; gap: 24px; } }
.hero-copy { text-align: center; position: relative; z-index: 2; }
@media (min-width: 960px) { .hero-copy { text-align: left; } }
.hero h1 { font-size: clamp(38px, 6.2vw, 64px); letter-spacing: -0.035em; line-height: 1.04; max-width: 13ch; margin: 0 auto; }
@media (min-width: 960px) { .hero h1 { margin: 0; } }
.hero h1 em {
  font-style: normal; background: var(--grad); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: grad-move 6s ease-in-out infinite alternate;
}
@keyframes grad-move { to { background-position: 100% center; } }
.hero .lead { font-size: clamp(17px, 2vw, 19.5px); color: var(--text-2); max-width: 32em; margin: 22px auto 0; }
@media (min-width: 960px) { .hero .lead { margin-left: 0; } }
.hero .cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
@media (min-width: 960px) { .hero .cta { justify-content: flex-start; } }
.hero .note { margin-top: 14px; font-size: 14px; color: var(--text-3); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; max-width: 100%;
  font-size: 13.5px; color: var(--text-2); border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px 5px 10px; text-decoration: none;
  background: color-mix(in srgb, var(--bg) 70%, transparent); transition: border-color 200ms ease, color 200ms ease;
}
.eyebrow:hover { color: var(--text); border-color: var(--border-strong); }
.eyebrow .dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--g2); box-shadow: 0 0 0 3px rgba(240, 69, 125, 0.15); animation: pulse 2s ease-in-out infinite; }
.eyebrow .ar { width: 14px; height: 14px; flex: none; transition: transform 250ms var(--ease-out); }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(240, 69, 125, 0.05); } }

.networks { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 6px 22px; margin: 44px 0 0; }
.networks .ww { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.networks ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 0; padding: 0; list-style: none; }
.networks li { font-size: 16px; font-weight: 650; letter-spacing: -0.01em; color: var(--text-2); }
/* 20/11 - a network announced, not open yet. */
.networks li.soon { opacity: 0.6; }
.networks li small { font-size: 13px; font-weight: 500; }

/* Phone (true proportions: a 9:19.5 screen, the 9:16 story inside) ------------------------ */

.phone { position: relative; width: 260px; }
.bezel {
  padding: 3.4%; border-radius: 15% / 7%; background: linear-gradient(145deg, #2b2b2e, #0b0b0c 40%);
  box-shadow: 0 0 0 1.5px #3a3a3e inset, 0 0 0 1px rgba(0, 0, 0, 0.6), 0 40px 70px -24px rgba(30, 15, 40, 0.5), 0 14px 28px -14px rgba(0, 0, 0, 0.45);
}
.screen {
  position: relative; aspect-ratio: 9 / 19.5; border-radius: 12.5% / 5.8%; overflow: hidden; background: #000;
  container-type: inline-size; display: flex; flex-direction: column; color: #fff;
}
.status { position: relative; height: 13cqw; flex: none; display: flex; align-items: center; justify-content: space-between; padding: 1cqw 7cqw 0; font-size: 4.4cqw; }
.status b { font-weight: 650; letter-spacing: 0.01em; }
.island { position: absolute; left: 50%; top: 2.6cqw; width: 30cqw; height: 8.6cqw; margin-left: -15cqw; border-radius: 6cqw; background: #000; box-shadow: 0 0 0 0.4cqw #111; }
.sig { display: flex; align-items: flex-end; gap: 0.7cqw; }
.sig i { width: 1.1cqw; background: #fff; border-radius: 0.3cqw; }
.sig i:nth-child(1) { height: 1.6cqw; } .sig i:nth-child(2) { height: 2.4cqw; } .sig i:nth-child(3) { height: 3.2cqw; }
.sig em { width: 6cqw; height: 3cqw; margin-left: 1.4cqw; border: 0.35cqw solid rgba(255, 255, 255, 0.85); border-radius: 0.9cqw; position: relative; }
.sig em::after { content: ''; position: absolute; inset: 0.4cqw 1.6cqw 0.4cqw 0.4cqw; background: #fff; border-radius: 0.3cqw; }

.story-area { position: relative; flex: none; aspect-ratio: 9 / 16; border-radius: 3.2cqw; overflow: hidden; background: #2a2622; font-size: 4.4cqw; line-height: 1.2; font-weight: 600; }
.reply { flex: 1; display: flex; align-items: center; gap: 3cqw; padding: 0 3.5cqw 3cqw; }
.reply span { flex: 1; border: 0.35cqw solid rgba(255, 255, 255, 0.55); border-radius: 10cqw; padding: 2.6cqw 4cqw; font-size: 3.9cqw; color: rgba(255, 255, 255, 0.85); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.reply svg { width: 7cqw; height: 7cqw; stroke: #fff; stroke-width: 2; flex: none; }

.ig-bars { position: absolute; z-index: 3; top: 2.4cqw; left: 2.6cqw; right: 2.6cqw; display: flex; gap: 1cqw; }
.ig-bars span { flex: 1; height: 0.75cqw; min-height: 2px; border-radius: 1cqw; background: rgba(255, 255, 255, 0.4); overflow: hidden; }
.ig-bars i { display: block; height: 100%; width: 0; background: #fff; }
.ig-bars span.done i { width: 100%; }
.ig-bars span.run i { animation: bar-fill var(--dur, 5s) linear forwards; }
@keyframes bar-fill { from { width: 0; } to { width: 100%; } }

.story { position: absolute; inset: 0; visibility: hidden; }
.story.is-on { visibility: visible; z-index: 1; }
.story > img:not(.skimg), .story > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, transparent 20%, transparent 74%, rgba(0, 0, 0, 0.35) 100%); }
.ig-who { position: absolute; z-index: 2; top: 5.6cqw; left: 3cqw; right: 3cqw; display: flex; align-items: center; gap: 2cqw; font-size: 3.9cqw; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35); }
.ig-who b { width: 8.4cqw; height: 8.4cqw; border-radius: 50%; padding: 0.55cqw; background: var(--ig); flex: none; }
.ig-who b i { display: block; width: 100%; height: 100%; border-radius: 50%; border: 0.55cqw solid #fff; background: var(--av, #d8b48a); }
.ig-who small { font-size: 0.9em; opacity: 0.75; font-weight: 500; }
.av-1 { --av: #e8b77d; } .av-2 { --av: #f28fa6; } .av-3 { --av: #8fb8a8; } .av-4 { --av: #b39ddb; } .av-5 { --av: #f3c969; } .av-6 { --av: #7fa7e0; }

/* Story text and stickers */
.cap { position: absolute; z-index: 2; left: 0; right: 0; text-align: center; font-weight: 800; letter-spacing: -0.01em; font-size: 7.4cqw; line-height: 1.12; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45); padding: 0 6cqw; }
.cap.hl span { background: #fff; color: #161616; padding: 0.06em 0.35em; border-radius: 0.25em; box-decoration-break: clone; -webkit-box-decoration-break: clone; text-shadow: none; line-height: 1.5; }
.cap.sm { font-size: 6cqw; }
.st { position: absolute; z-index: 2; color: #161616; background: #fff; border-radius: 3.6cqw; box-shadow: 0 2cqw 5cqw rgba(0, 0, 0, 0.28); font-weight: 760; }
.st svg { width: 1.15em; height: 1.15em; flex: none; }
.st-link, .st-hash, .st-grad { display: inline-flex; align-items: center; gap: 1.6cqw; padding: 2.3cqw 3.6cqw; border-radius: 2.4cqw; text-transform: uppercase; font-size: 4.5cqw; letter-spacing: 0.01em; white-space: nowrap; }
.st-link { color: #2f6ff0; }
.st-link svg { stroke-width: 2.4; }
.st-grad span { background: var(--ig-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.st-grad svg { fill: #d62976; stroke: none; }
.st-hash span { background: linear-gradient(90deg, #f77737, #fcaf45); -webkit-background-clip: text; background-clip: text; color: transparent; }

.st-poll { left: 11%; right: 11%; padding: 4cqw 3.6cqw 3.2cqw; text-align: center; }
.st-poll .q { font-size: 5cqw; line-height: 1.2; margin-bottom: 2.6cqw; }
.opt { position: relative; display: flex; width: 100%; justify-content: space-between; align-items: center; height: 10cqw; padding: 0 3.6cqw; margin-top: 1.8cqw; border-radius: 9cqw; border: 0; background: #efefef; overflow: hidden; font-size: 4.1cqw; font-weight: 700; color: #161616; }
.opt i { position: absolute; inset: 0 auto 0 0; background: #dcdcdc; border-radius: 9cqw; transform-origin: left; }
.opt.win i { background: linear-gradient(90deg, #ffcf6e, #ff8a65); }
.opt span, .opt b { position: relative; }
.w29 { width: 29%; } .w38 { width: 38%; } .w46 { width: 46%; } .w54 { width: 54%; } .w62 { width: 62%; } .w71 { width: 71%; }

/* Live poll in the sticker showcase: vote to see the results. */
.st-poll.live .opt { cursor: pointer; justify-content: center; transition: transform 150ms ease; }
.st-poll.live .opt i { transform: scaleX(0); transition: transform 800ms var(--ease-out); }
.st-poll.live .opt b { position: absolute; right: 3.6cqw; opacity: 0; transition: opacity 300ms ease 400ms; }
.st-poll.live.voted .opt { justify-content: flex-start; cursor: default; }
.st-poll.live.voted .opt i { transform: scaleX(1); }
.st-poll.live.voted .opt b { opacity: 1; }
.st-poll.live.voted .opt.mine { box-shadow: 0 0 0 0.6cqw #ff8a65 inset; }
.st-poll .hint { display: block; margin-top: 2.4cqw; font-size: 3.2cqw; color: #8a8a8a; font-weight: 600; transition: opacity 200ms ease; }
.st-poll.voted .hint { opacity: 0; }

.st-count { left: 12%; right: 12%; padding: 4cqw 3.4cqw 3.6cqw; text-align: center; }
.st-count .t { font-size: 4.6cqw; background: var(--ig-text); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 2cqw; }
.digits { display: flex; justify-content: center; gap: 1.6cqw; }
.digits span { display: grid; gap: 0.6cqw; }
.digits b { display: block; min-width: 8.4cqw; padding: 1.1cqw 0.8cqw; border-radius: 1.6cqw; background: #f1f1f1; font-size: 6.4cqw; font-variant-numeric: tabular-nums; }
.digits small { font-size: 2.7cqw; color: #8a8a8a; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; }
.st-ask { left: 12%; right: 12%; text-align: center; }
.st-ask .top { background: var(--ig); color: #fff; border-radius: 3.6cqw 3.6cqw 0 0; padding: 7cqw 3.4cqw 3.4cqw; font-size: 4.6cqw; }
.st-ask .field { padding: 3.2cqw; color: #9a9a9a; font-weight: 500; font-size: 3.9cqw; }
.st-ask .face { position: absolute; top: -5cqw; left: 50%; width: 10cqw; height: 10cqw; margin-left: -5cqw; border-radius: 50%; border: 0.8cqw solid #fff; background: var(--av, #d8b48a); }

/* Like Instagram: the next story shows at once, stickers already in place (no fade, no zoom). */

/* Placement helpers */
.y16 { top: 16%; } .y36 { top: 36%; } .y42 { top: 42%; } .y48 { top: 48%; } .y50 { top: 50%; } .y56 { top: 56%; } .y58 { top: 58%; }
.y60 { top: 60%; } .y62 { top: 62%; } .y64 { top: 64%; } .y66 { top: 66%; } .y68 { top: 68%; } .y70 { top: 70%; } .y72 { top: 72%; } .y74 { top: 74%; }
.cx { left: 50%; translate: -50% 0; }
.r-3 { rotate: -3deg; } .r-2 { rotate: -2deg; } .r2 { rotate: 2deg; } .r3 { rotate: 3deg; }

/* Hero stage: three real phones in 3D, with depth, light and floating cards ---------------- */
/* Nothing here may use filter, overflow or opacity < 1 on a 3D parent: each would flatten it. */

.hero-stage { position: relative; height: 640px; width: 100%; max-width: 660px; margin: 0 auto; perspective: 1150px; perspective-origin: 50% 40%; }
.rig { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(6deg) rotateY(-14deg); }
.hero-stage .phone { position: absolute; top: 50%; left: 50%; transform-style: preserve-3d; }
.hero-stage .p-center { width: 256px; margin: -276px 0 0 -128px; transform: translateZ(40px); }
.hero-stage .p-left, .hero-stage .p-right { width: 212px; margin: -230px 0 0 -106px; }
.hero-stage .p-left { transform: translate3d(-214px, 6px, -170px) rotateY(30deg); }
.hero-stage .p-right { transform: translate3d(214px, 6px, -170px) rotateY(-30deg); }
.hero-stage .bezel { position: relative; transform: translateZ(1px); box-shadow: 0 0 0 1.5px #3a3a3e inset, 0 0 0 1px rgba(0, 0, 0, 0.6); }
/* The phone's thickness: ten slices of the same rounded shape, each a little further back. */
.phone .body { position: absolute; inset: 0; transform-style: preserve-3d; }
.phone .body i { position: absolute; inset: 0; border-radius: 15% / 7%; background: linear-gradient(90deg, #55555b, #232326 18%, #1a1a1c 82%, #4a4a50); }
.phone .body i:last-child { background: linear-gradient(150deg, #3a3a40, #121214 55%, #26262a); }
.phone .body i:nth-child(1) { transform: translateZ(-1.1px); }
.phone .body i:nth-child(2) { transform: translateZ(-2.2px); }
.phone .body i:nth-child(3) { transform: translateZ(-3.3px); }
.phone .body i:nth-child(4) { transform: translateZ(-4.4px); }
.phone .body i:nth-child(5) { transform: translateZ(-5.5px); }
.phone .body i:nth-child(6) { transform: translateZ(-6.6px); }
.phone .body i:nth-child(7) { transform: translateZ(-7.7px); }
.phone .body i:nth-child(8) { transform: translateZ(-8.8px); }
.phone .body i:nth-child(9) { transform: translateZ(-9.9px); }
.phone .body i:nth-child(10) { transform: translateZ(-11.0px); }
/* Light on the glass: a soft band that slides as the phones turn. */
.glare { position: absolute; inset: 0; z-index: 8; pointer-events: none; border-radius: inherit; background: linear-gradient(112deg, transparent 32%, rgba(255, 255, 255, 0.2) 46%, rgba(255, 255, 255, 0.04) 54%, transparent 64%); background-size: 300% 100%; background-position: var(--gx, 50%) 0; mix-blend-mode: screen; }
/* A soft shadow on the floor, under the phones. */
.floor { position: absolute; left: 50%; top: 50%; width: 600px; height: 260px; margin: -130px 0 0 -300px; border-radius: 50%; background: radial-gradient(closest-side, rgba(40, 20, 50, 0.24), rgba(40, 20, 50, 0.07) 60%, transparent); transform: translateY(290px) rotateX(90deg) translateZ(-40px); pointer-events: none; }
.glow { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.glow.g1 { width: 440px; height: 440px; left: -2%; top: 2%; background: radial-gradient(closest-side, rgba(255, 138, 76, 0.3), transparent); animation: drift 12s ease-in-out infinite alternate; }
.glow.g2 { width: 440px; height: 440px; right: -6%; bottom: 0; background: radial-gradient(closest-side, rgba(123, 92, 255, 0.28), transparent); animation: drift 14s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { translate: 40px -30px; } }

/* Phones arrive from the depth, one after the other. */
.js .hero-stage .phone { animation: phone-in 1100ms var(--ease-out) both; }
.js .hero-stage .p-left { animation-delay: 120ms; }
.js .hero-stage .p-right { animation-delay: 240ms; }
@keyframes phone-in { from { translate: 0 120px; opacity: 0; } }

/* Floating cards, well in front of the phones: they move more than the phones when the scene turns. */
.fl { position: absolute; z-index: 4; display: flex; align-items: center; gap: 10px; background: var(--bg); color: var(--text); border-radius: 16px; box-shadow: 0 18px 40px -16px rgba(30, 15, 40, 0.45), 0 0 0 1px var(--border); white-space: nowrap; animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 -10px; } }
.js .fl { animation: fl-in 900ms var(--ease-pop) both, bob 6s ease-in-out 900ms infinite; }
@keyframes fl-in { from { opacity: 0; scale: 0.6; } }
.status-pill {
  left: 50%; bottom: 8px; padding: 8px 18px 8px 8px; border-radius: 999px;
  transform: translateX(-50%) translateZ(170px); animation-delay: 700ms, 1600ms;
}
.status-pill .ic { position: relative; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); transition: background-color 300ms ease, color 300ms ease; }
.status-pill .ic svg { position: absolute; width: 18px; height: 18px; stroke-width: 2.2; transition: opacity 250ms ease, scale 400ms var(--ease-pop); }
.status-pill .i-ok { opacity: 0; scale: 0.4; }
.fl .txt, .fl span:not(.ic) { display: grid; line-height: 1.25; }
.status-pill b, .fl b { font-size: 14px; font-weight: 650; }
.status-pill small, .fl small { font-size: 12.5px; color: var(--text-2); }
.status-pill.is-pub .ic { background: var(--ok-soft); color: var(--ok); }
.status-pill.is-pub .i-cal { opacity: 0; scale: 0.4; }
.status-pill.is-pub .i-ok { opacity: 1; scale: 1; }
.status-pill.bump { scale: 1.07; transition: scale 0ms; }
.status-pill { transition: scale 450ms var(--ease-pop); }
@keyframes bump { 40% { scale: 1.07; } }

.fl-week { top: 58px; right: -6px; flex-direction: column; align-items: stretch; gap: 10px; padding: 12px 14px 12px; transform: translateZ(210px) rotateY(-10deg); animation-delay: 900ms, 1800ms; }
.fl-h { display: flex; align-items: center; gap: 10px; }
.fl-h svg { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); stroke-width: 2.2; flex: none; }
.fl-week ul { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 0; padding: 0; list-style: none; }
.fl-week li { display: flex; flex-direction: column; align-items: center; gap: 3px; min-height: 40px; padding: 4px 0; border-radius: 8px; background: var(--bg-2, rgba(127, 127, 127, 0.08)); }
.fl-week li span { font-size: 10.5px; font-weight: 650; color: var(--text-3); }
.fl-week li i { width: 7px; height: 7px; border-radius: 50%; }
.n-ig { background: #e1306c; } .n-fb { background: #0866ff; } .n-tt { background: #111; box-shadow: 1px 0 0 #25f4ee, -1px 0 0 #fe2c55; } .n-th { background: #777; } .n-pin { background: #e60023; } .n-bs { background: #1185fe; } .n-ma { background: #6364ff; }
.fl-likes { top: 236px; left: -18px; padding: 10px 16px 10px 10px; border-radius: 999px; transform: translateZ(240px) rotateY(10deg); animation-delay: 1100ms, 2000ms; }
.fl-likes > svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: #ffe3e8; fill: #ff3040; stroke: #ff3040; flex: none; }
.fl-likes b { font-variant-numeric: tabular-nums; }
.fl-likes.pop > svg { animation: bump 450ms var(--ease-pop); }

@media (max-width: 960px) and (min-width: 561px) { .fl-week { right: 0; } .fl-likes { left: 0; } }
@media (max-width: 560px) {
  .hero-stage { height: 520px; perspective: 1200px; }
  .hero-stage .p-center { width: 206px; margin: -222px 0 0 -103px; }
  .hero-stage .p-left, .hero-stage .p-right { width: 168px; margin: -182px 0 0 -84px; }
  .hero-stage .p-left { transform: translate3d(-128px, 6px, -130px) rotateY(24deg); }
  .hero-stage .p-right { transform: translate3d(128px, 6px, -130px) rotateY(-24deg); }
  .floor { transform: translateY(230px) rotateX(90deg) translateZ(-40px); width: 520px; margin-left: -260px; }
  .fl-week { display: none; }
  .fl-likes { top: 40px; left: 12px; padding: 7px 12px 7px 7px; transform: translateZ(110px) rotateY(8deg); }
  .fl-likes > svg { width: 28px; height: 28px; padding: 6px; }
  .fl b { font-size: 13px; } .fl small { font-size: 11.5px; }
  .status-pill { bottom: 0; transform: translateX(-50%) translateZ(90px); }
}

/* Sections -------------------------------------------------------------- */

.section { padding: 88px 0; border-top: 1px solid var(--border); position: relative; }
.section-head { max-width: 40em; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(28px, 3.8vw, 42px); }
.section-head p { color: var(--text-2); margin-top: 14px; font-size: 17.5px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.tag {
  display: inline-block; margin-bottom: 16px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } .split.reverse > :first-child { order: 2; } }
.split-top { align-items: end; }
.split-top .section-head { margin-bottom: 0; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ''; position: absolute; left: 0; top: 0.2em; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft); }
.checks li::after { content: ''; position: absolute; left: 6px; top: 0.52em; width: 8px; height: 4.5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.fine { margin-top: 16px; font-size: 13.5px; color: var(--text-3); }

/* Reveal on scroll (only once the script runs). */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); }
.js .rv.in { opacity: 1; transform: none; }
.js .rv-s > * { opacity: 0; translate: 0 24px; transition: opacity 700ms var(--ease-out), translate 700ms var(--ease-out), transform 300ms var(--ease-out), box-shadow 300ms ease, border-color 200ms ease; }
.js .rv-s.in > * { opacity: 1; translate: 0 0; }
.js .rv-s.in > :nth-child(2) { transition-delay: 80ms, 80ms, 0s, 0s, 0s; } .js .rv-s.in > :nth-child(3) { transition-delay: 160ms, 160ms, 0s, 0s, 0s; }
.js .rv-s.in > :nth-child(4) { transition-delay: 240ms, 240ms, 0s, 0s, 0s; } .js .rv-s.in > :nth-child(5) { transition-delay: 320ms, 320ms, 0s, 0s, 0s; }
.js .rv-s.in > :nth-child(6) { transition-delay: 400ms, 400ms, 0s, 0s, 0s; }

/* Made for (a slow marquee) ---------------------------------------------- */

.made-for { padding: 40px 0 72px; }
.made-for h2 { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--text-2); text-align: center; margin-bottom: 22px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.biz { display: flex; gap: 16px; width: max-content; margin: 0; padding: 14px 0 24px; list-style: none; animation: marquee 110s linear infinite; }
/* Three copies of the list: moving by one copy (a third, plus a third of a gap) loops without a seam. */
@keyframes marquee { to { transform: translateX(calc(-100% / 3 - 16px / 3)); } }
.biz li { position: relative; width: 150px; aspect-ratio: 9 / 14; border-radius: 18px; overflow: hidden; flex: none; box-shadow: var(--shadow); transition: scale 400ms var(--ease-pop), rotate 400ms var(--ease-pop), box-shadow 300ms ease; }
.biz li:nth-child(odd) { rotate: -1.5deg; } .biz li:nth-child(even) { rotate: 1.5deg; translate: 0 10px; }
.biz img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.biz li::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, 0.55)); }
.biz span { position: absolute; z-index: 1; left: 12px; bottom: 10px; right: 10px; color: #fff; font-weight: 650; font-size: 14px; line-height: 1.25; }

/* Studio (works like the real editor) ------------------------------------------------------ */

.try { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 44px 0 16px; font-size: 14.5px; color: var(--text-2); }
.try svg { width: 18px; height: 18px; color: var(--g2); animation: spin 8s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.sa { position: relative; border: 1px solid var(--border); border-radius: 16px; background: var(--bg); box-shadow: var(--shadow-lg); }
.sa-top { display: flex; align-items: center; gap: 6px; height: 54px; padding: 0 12px; border-bottom: 1px solid var(--border); font-size: 13.5px; }
.sa-ic { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 7px; border: 1px solid var(--border); color: var(--text-2); }
.sa-ic svg { width: 16px; height: 16px; }
.sa-zoom { display: flex; align-items: center; gap: 8px; margin-left: 10px; color: var(--text-2); }
.sa-zoom svg { width: 18px; height: 18px; }
.sa-zoom b { font-weight: 600; color: var(--text); font-size: 13px; }
.sa-sp { flex: 1; }
.sa-name { border: 1px solid var(--border); border-radius: 7px; padding: 5px 10px; min-width: 150px; color: var(--text); }
.sa-pick { position: relative; }
.sa-sel { display: flex; align-items: center; gap: 10px; justify-content: space-between; min-width: 180px; height: 32px; padding: 0 10px; border: 1px solid var(--border-strong); border-radius: 7px; background: var(--bg); cursor: pointer; font-size: 13.5px; transition: border-color 150ms ease, box-shadow 150ms ease; }
.sa-sel:hover, .sa-sel[aria-expanded='true'] { border-color: var(--g2); box-shadow: 0 0 0 3px var(--spot); }
.sa-sel svg { width: 14px; height: 14px; color: var(--text-3); }
.sa-sel.nudge { animation: nudge 1.6s ease-in-out 3; }
@keyframes nudge { 30% { box-shadow: 0 0 0 5px rgba(240, 69, 125, 0.28); border-color: var(--g2); } 70% { box-shadow: 0 0 0 0 rgba(240, 69, 125, 0); } }
.sa-list { position: absolute; z-index: 5; top: calc(100% + 6px); right: 0; width: 260px; padding: 6px; background: var(--bg); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-lg); animation: pop-in 180ms var(--ease-out); }
.sa-opt { display: flex; align-items: center; gap: 10px; width: 100%; padding: 6px 8px; border: 0; border-radius: 8px; background: none; cursor: pointer; text-align: left; font-size: 14px; }
.sa-opt:hover, .sa-opt[aria-selected='true'] { background: var(--bg-hover); }
.sa-opt img { width: 34px; height: 34px; border-radius: 6px; object-fit: cover; }
.sa-opt span { flex: 1; }
.sa-opt b { font-weight: 600; color: var(--text-2); font-size: 13px; }
.sa-use { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 7px; border: 1px solid var(--border-strong); background: var(--bg); cursor: pointer; font-weight: 600; font-size: 13.5px; transition: background-color 150ms ease, color 150ms ease; }
.sa-use svg { width: 15px; height: 15px; }
.sa-use:hover { background: var(--bg-hover); }
.sa-use.sent { background: var(--ok-soft); color: var(--ok); border-color: transparent; }

.sa-body { display: grid; grid-template-columns: 76px 270px 1fr; height: 560px; }
.sa-rail { border-right: 1px solid var(--border); padding: 8px 6px; display: grid; align-content: start; gap: 4px; }
.sa-rb { display: grid; justify-items: center; gap: 4px; padding: 9px 2px; border: 0; border-radius: 9px; background: none; cursor: pointer; font-size: 11.5px; color: var(--text-2); transition: background-color 150ms ease, color 150ms ease; }
.sa-rb svg { width: 21px; height: 21px; transition: transform 300ms var(--ease-pop); }
.sa-rb:hover { background: var(--bg-hover); color: var(--text); }
.sa-rb.is-on { background: var(--bg-hover); color: var(--g2); }
.sa-panel { border-right: 1px solid var(--border); overflow: auto; padding: 14px; }
.sa-pane { display: none; }
.sa-pane.is-on { display: block; animation: fade-up 300ms var(--ease-out); }
@keyframes fade-up { from { opacity: 0; transform: translateY(6px); } }
.sa-pane h5 { margin: 4px 0 8px; font-size: 13.5px; font-weight: 650; }
.sa-pane h5 + .sws, .sa-pane h5 + .bgs { margin-bottom: 20px; }
.sa-pane h6 { margin: 12px 0 6px; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); font-weight: 650; }
.sa-help { font-size: 13px; color: var(--text-2); }
.sa-add { display: grid; gap: 8px; margin-bottom: 18px; }
.sa-add span { border: 1px solid var(--border); border-radius: 8px; text-align: center; padding: 10px; font-weight: 700; }
.sa-add .a1 { font-size: 17px; } .sa-add .a2 { font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.chip { font-size: 12.5px; font-weight: 600; padding: 3px 9px; border-radius: 6px; background: rgba(123, 92, 255, 0.12); color: #6a4ae6; transition: background-color 150ms ease, transform 200ms var(--ease-pop); }
.chip[data-zone]:not([data-zone='']) { cursor: pointer; }
.chip[data-zone]:not([data-zone='']):hover { background: rgba(123, 92, 255, 0.24); }
.sws, .bgs { display: flex; gap: 10px; }
.sw, .bgc { width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--bg); box-shadow: 0 0 0 1px var(--border-strong); cursor: pointer; transition: transform 250ms var(--ease-pop), box-shadow 150ms ease; }
.sw.is-on, .bgc.is-on { box-shadow: 0 0 0 2px var(--text); }
.sw-green { background: #2e7d5b; } .sw-plum { background: #7b3fa0; } .sw-coral { background: #e0603a; } .sw-navy { background: #22407a; }
.bg-cream { background: #f3efe8; } .bg-white { background: #ffffff; } .bg-rose { background: #f8e1e4; } .bg-ink { background: #1e1e22; }
.fps { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.fp { display: grid; gap: 2px; text-align: left; padding: 9px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--bg); cursor: pointer; transition: border-color 150ms ease, transform 200ms var(--ease-out); }
.fp:hover { border-color: var(--border-strong); }
.fp.is-on { border-color: var(--g2); box-shadow: 0 0 0 3px var(--spot); }
.fp b { font-size: 16px; } .fp small { font-size: 11.5px; color: var(--text-2); }
.fp-serif b { font-family: Georgia, 'Times New Roman', serif; }
.fp-sans b { font-weight: 800; letter-spacing: -0.02em; }
.fp-mono b { font-family: 'Courier New', ui-monospace, monospace; }
.lys { display: grid; gap: 4px; }
.ly { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; font-size: 13.5px; cursor: pointer; transition: background-color 150ms ease; }
.ly:hover { background: var(--bg-hover); }
.ly i { width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--text-3); }

.sa-stage { display: grid; place-items: center; padding: 24px; background-color: var(--bg-subtle); background-image: radial-gradient(var(--border-strong) 1px, transparent 1px); background-size: 18px 18px; overflow: hidden; border-radius: 0 0 0 0; }
.cv {
  --acc: #2e7d5b; --ink: #1d1d1b; --paper: #f3efe8; --title-font: Georgia, 'Times New Roman', serif;
  width: min(340px, 100%); aspect-ratio: 4 / 5; container-type: inline-size; background: var(--paper); color: var(--ink);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 18px 40px -12px rgba(0, 0, 0, 0.25);
  transition: background-color 400ms ease, color 400ms ease;
}
.cv-in { height: 100%; display: flex; flex-direction: column; align-items: center; padding: 7cqw 8cqw 6cqw; gap: 3.2cqw; }
.cv[data-accent='plum'] { --acc: #7b3fa0; } .cv[data-accent='coral'] { --acc: #e0603a; } .cv[data-accent='navy'] { --acc: #22407a; }
.cv[data-bg='white'] { --paper: #ffffff; } .cv[data-bg='rose'] { --paper: #f8e1e4; } .cv[data-bg='ink'] { --paper: #1e1e22; --ink: #f4f1ec; }
.cv[data-bg='ink'][data-accent='navy'] { --acc: #8fb0f2; } .cv[data-bg='ink'][data-accent='plum'] { --acc: #c08ae0; }
.cv[data-font='sans'] { --title-font: ui-sans-serif, system-ui, sans-serif; }
.cv[data-font='mono'] { --title-font: 'Courier New', ui-monospace, monospace; }
.cv .z { position: relative; transition: outline-color 200ms ease, opacity 250ms ease, transform 250ms ease; outline: 1.5px dashed transparent; outline-offset: 1.2cqw; border-radius: 1cqw; }
.cv .z.hl { outline-color: #7b5cff; }
.z-new { font-weight: 800; letter-spacing: 0.32em; font-size: 5.6cqw; color: var(--acc); transition: color 400ms ease; padding-left: 0.32em; font-family: ui-sans-serif, system-ui, sans-serif; }
.z-photo { width: 64cqw; aspect-ratio: 1; overflow: hidden; border-radius: 0; }
.z-photo img { width: 100%; height: 100%; object-fit: cover; }
.z-title { font-family: var(--title-font); font-weight: 700; font-size: 9cqw; line-height: 1.05; text-align: center; letter-spacing: -0.01em; }
.cv[data-font='sans'] .z-title { font-weight: 850; letter-spacing: -0.03em; }
.z-price { font-weight: 800; font-size: 7.4cqw; color: var(--acc); transition: color 400ms ease; line-height: 1; }
.cv .z-logo { width: 13cqw; height: 13cqw; border-radius: 50%; background: var(--acc); color: #fff; display: grid; place-items: center; font: 700 4.6cqw/1 Georgia, serif; transition: background-color 400ms ease; margin-top: auto; }
.z-name { display: none; }
.cv.swap .z-photo, .cv.swap .z-title, .cv.swap .z-price { opacity: 0; transform: translateY(1.5cqw); }
.cv.pulse { animation: bump 500ms var(--ease-pop); }

.sa-bulk { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 14px; border-top: 1px solid var(--border); min-height: 74px; }
.sa-bulk .btn svg { width: 17px; height: 17px; }
.sa-bulk .btn em { font-style: normal; font-size: 12.5px; padding: 1px 8px; border-radius: 99px; background: color-mix(in srgb, var(--primary-text) 18%, transparent); }
.sa-out { display: none; align-items: center; gap: 14px; flex-wrap: wrap; }
.sa-out.is-on { display: flex; }
.sa-out .row { display: flex; gap: 10px; }
.gen { position: relative; width: 74px; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden; background: #f3efe8; box-shadow: var(--shadow); animation: fly-in 700ms var(--ease-pop) backwards; }
.gen:nth-child(2) { animation-delay: 150ms; } .gen:nth-child(3) { animation-delay: 300ms; }
.gen img { width: 100%; height: 70%; object-fit: cover; }
.gen .gb { display: grid; place-content: center; height: 30%; font-size: 8.5px; line-height: 1.2; text-align: center; color: #1d1d1b; padding: 0 3px; }
.gen .gb span { font-weight: 700; font-family: Georgia, serif; }
.gen .gb b { color: var(--acc, #2e7d5b); }
.sa-out[data-accent='plum'] { --acc: #7b3fa0; } .sa-out[data-accent='coral'] { --acc: #e0603a; } .sa-out[data-accent='navy'] { --acc: #22407a; } .sa-out[data-accent='green'] { --acc: #2e7d5b; }
@keyframes fly-in { from { opacity: 0; transform: translateY(30px) rotate(-8deg) scale(0.7); } }
.sa-out .done { display: flex; align-items: center; gap: 8px; color: var(--ok); font-weight: 600; font-size: 14.5px; animation: fade-up 400ms ease 500ms backwards; }
.sa-out .done svg { width: 18px; height: 18px; stroke-width: 2.4; }

@media (max-width: 860px) {
  .sa-top .sa-ic, .sa-zoom, .sa-name, .sa-sp { display: none; }
  .sa-pick { flex: 1; }
  .sa-sel { width: 100%; min-width: 0; }
  .sa-use span { display: none; }
  .sa-body { grid-template-columns: 1fr; height: auto; }
  .sa-rail { display: flex; border-right: 0; border-bottom: 1px solid var(--border); padding: 6px; }
  .sa-rb { flex: 1; }
  .sa-panel { border-right: 0; border-bottom: 1px solid var(--border); max-height: 240px; }
  .sa-stage { padding: 24px 16px; }
  .sa-list { right: auto; left: 0; }
}
@media (prefers-color-scheme: dark) { :root:not([data-theme='light']) .chip { color: #b4a3ff; background: rgba(123, 92, 255, 0.2); } }
:root[data-theme='dark'] .chip { color: #b4a3ff; background: rgba(123, 92, 255, 0.2); }

/* Sticker showcase --------------------------------------------------------- */

.stk { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .stk { grid-template-columns: 1.1fr 0.9fr; gap: 56px; } }
.stk-tabs { display: grid; gap: 4px; margin-top: 4px; }
@media (min-width: 560px) { .stk-tabs { grid-template-columns: 1fr 1fr; } }
.stk-tab { position: relative; display: grid; gap: 1px; text-align: left; padding: 11px 14px; border: 1px solid transparent; border-radius: 12px; background: none; cursor: pointer; overflow: hidden; transition: background-color 200ms ease, border-color 200ms ease, transform 250ms var(--ease-out); }
.stk-tab:hover { background: var(--bg-subtle); }
.stk-tab.is-on { background: var(--bg-subtle); border-color: var(--border); }
.stk-tab .nm { font-weight: 650; font-size: 15.5px; }
.stk-tab .ds { font-size: 13.5px; color: var(--text-2); }
.stk-tab .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--grad); }
.stk-tab.is-on.auto .bar { animation: bar-fill 4.5s linear forwards; }
.soon { font-style: normal; font-size: 11px; font-weight: 650; letter-spacing: 0.02em; color: var(--text-2); background: var(--bg-hover); border-radius: 99px; padding: 2px 8px; margin-left: 4px; vertical-align: 2px; }
.stk-tab .soon { background: var(--bg); border: 1px solid var(--border); }
.stk-stage { position: relative; display: grid; place-items: center; min-height: 600px; }
.stk-stage .phone { width: 272px; z-index: 1; transition: rotate 500ms var(--ease-out), translate 500ms var(--ease-out); }
/* A wide, very soft halo: no edge anywhere, it fades to nothing. */
.glow.g3 { width: 760px; height: 760px; margin: -380px 0 0 -380px; left: 50%; top: 50%; background: url(/assets/img/dither.png), radial-gradient(closest-side, rgba(240, 69, 125, 0.2), rgba(123, 92, 255, 0.11) 42%, transparent); -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent); mask-image: radial-gradient(closest-side, #000 60%, transparent); animation: drift 14s ease-in-out infinite alternate; }
.p-solo .ig-bars span i { width: 100%; }

/* Feature grid (a light follows the pointer) ------------------------------- */

.grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.cell { position: relative; padding: 26px 24px 28px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg); overflow: hidden; transition: transform 300ms var(--ease-out), border-color 200ms ease, box-shadow 300ms ease; }
[data-spot]::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 300ms ease; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), var(--spot), transparent 60%); }
.cell:hover { border-color: var(--border-strong); }
.cell .icon { position: relative; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; color: #fff; background: var(--grad); box-shadow: 0 8px 18px -8px rgba(240, 69, 125, 0.6); transition: transform 400ms var(--ease-pop); }
.cell:nth-child(3n + 2) .icon { background: linear-gradient(135deg, #7b5cff, #4f8cff); box-shadow: 0 8px 18px -8px rgba(123, 92, 255, 0.6); }
.cell:nth-child(3n) .icon { background: linear-gradient(135deg, #20b486, #4fc3f7); box-shadow: 0 8px 18px -8px rgba(32, 180, 134, 0.6); }
.cell .icon svg { width: 22px; height: 22px; stroke-width: 2; }
.cell h3 { font-size: 17.5px; position: relative; }
.cell p { color: var(--text-2); margin-top: 6px; font-size: 15px; position: relative; }

/* Review mock ---------------------------------------------------------------- */

.panel { border: 1px solid var(--border); border-radius: 16px; background: var(--bg); box-shadow: var(--shadow-lg); overflow: hidden; }
.panel-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--border); font-weight: 600; font-size: 14.5px; }
.pill { font-size: 12.5px; font-weight: 600; padding: 3px 10px; border-radius: 99px; background: var(--warn-soft); color: var(--warn); transition: background-color 300ms ease, color 300ms ease; }
.pill.ok { background: var(--ok-soft); color: var(--ok); animation: bump 450ms var(--ease-pop); }
.panel-body { padding: 18px; display: grid; gap: 14px; }
.post-card { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; max-width: 340px; }
.post-card .ph { display: flex; align-items: center; gap: 8px; padding: 10px 12px; font-weight: 600; font-size: 14px; }
.post-card .ph i { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #8fb8a8, #2e7d5b); }
.post-card .ph small { margin-left: auto; color: var(--text-3); font-weight: 500; font-size: 12.5px; }
.post-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.post-card .txt { padding: 10px 12px 12px; font-size: 14px; }
.comment { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; background: var(--bg-subtle); border-radius: 12px; padding: 10px 12px; }
.comment[hidden] { display: none; }
.comment .who { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: #f3c969; color: #3a2a00; flex: none; }
.comment.you { margin-left: 28px; animation: fade-up 400ms var(--ease-out); }
.comment.you .who { background: var(--g2); color: #fff; }
.panel-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.pa { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 9px; font-size: 14px; font-weight: 600; border: 1px solid var(--border-strong); background: var(--bg); cursor: pointer; transition: transform 200ms var(--ease-out), background-color 150ms ease; }
.pa:hover { background: var(--bg-hover); }
.pa svg { width: 16px; height: 16px; stroke-width: 2.4; display: none; }
.pa.ok { background: var(--ok); color: #fff; border-color: transparent; }
.pa.ok:hover { background: color-mix(in srgb, var(--ok) 88%, #000); }
.pa.ok.done svg { display: block; }
.pa.ok.done { pointer-events: none; }

/* Calendar mock ------------------------------------------------------------- */

.cal-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.legend { display: flex; gap: 12px; font-size: 12.5px; color: var(--text-2); }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.legend i.ok { background: var(--ok); } .legend i.wait { background: var(--warn); }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal > div { min-height: 92px; padding: 6px; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); font-size: 12.5px; color: var(--text-3); min-width: 0; }
.cal > div:nth-child(7n) { border-right: 0; }
.cal .dow { min-height: 0; text-align: center; font-weight: 600; color: var(--text-2); padding: 8px 4px; }
.cal em { display: block; margin-top: 4px; font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--text); background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent); border-radius: 6px; padding: 3px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; transition: transform 250ms var(--ease-pop), box-shadow 200ms ease; }
.cal em img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 4px; margin-bottom: 3px; }
.cal em.ok { background: var(--ok-soft); border-color: color-mix(in srgb, var(--ok) 50%, transparent); }
.cal em.wait { background: var(--warn-soft); border-color: color-mix(in srgb, var(--warn) 50%, transparent); }
@media (max-width: 560px) { .cal > div { min-height: 70px; padding: 3px; } .cal em { font-size: 9.5px; } }

/* Pricing --------------------------------------------------------------- */

.period { display: inline-flex; gap: 2px; padding: 4px; border-radius: 11px; background: var(--bg-subtle); border: 1px solid var(--border); margin-bottom: 30px; }
.period button { font-size: 14px; border: 0; background: none; color: var(--text-2); padding: 7px 16px; border-radius: 8px; cursor: pointer; transition: background-color 200ms ease, color 200ms ease; }
.period button[aria-pressed='true'] { background: var(--bg); color: var(--text); box-shadow: 0 0 0 1px var(--border-strong), 0 2px 6px rgba(0, 0, 0, 0.06); }
.period .save { color: var(--ok); font-size: 12.5px; margin-left: 6px; font-weight: 600; }
.plans { display: grid; gap: 16px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.plan { position: relative; border: 1px solid var(--border); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; background: var(--bg); overflow: hidden; transition: transform 300ms var(--ease-out), box-shadow 300ms ease; }
.plan.featured { border: 1.5px solid transparent; background: linear-gradient(var(--bg), var(--bg)) padding-box, var(--grad) border-box; box-shadow: 0 20px 50px -20px rgba(240, 69, 125, 0.35); }
.reco { position: absolute; top: 20px; right: 20px; font-size: 11.5px; font-weight: 650; color: #fff; background: var(--grad); padding: 3px 10px; border-radius: 99px; }
.plan h3 { font-size: 18px; position: relative; }
.plan .for { color: var(--text-2); font-size: 14.5px; margin-top: 4px; min-height: 2.8em; position: relative; }
.price { margin: 18px 0 4px; display: flex; align-items: baseline; gap: 6px; position: relative; }
.price .amount { font-size: 40px; font-weight: 750; letter-spacing: -0.035em; }
.price .per { color: var(--text-2); font-size: 14.5px; }
.billed { font-size: 13px; color: var(--text-3); min-height: 1.5em; position: relative; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 9px; font-size: 15px; flex: 1; position: relative; align-content: start; }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: ''; position: absolute; left: 3px; top: 0.55em; width: 10px; height: 5.5px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.plan .btn { position: relative; }
.addon { margin-top: 16px; border: 1px dashed var(--border-strong); border-radius: 18px; padding: 22px 26px; display: grid; gap: 12px; align-items: center; background: var(--bg-subtle); }
@media (min-width: 760px) { .addon { grid-template-columns: 1fr auto; } }
.addon h3 { font-size: 17px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.need { font-size: 11.5px; font-weight: 650; letter-spacing: 0; color: var(--accent); background: var(--accent-soft); border-radius: 99px; padding: 2px 9px; }
.addon p { color: var(--text-2); font-size: 15px; margin-top: 4px; }
.addon .price { margin: 0; }
.addon .price .amount { font-size: 28px; }

/* FAQ ------------------------------------------------------------------- */

.faq { max-width: 780px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; padding: 19px 36px 19px 0; font-weight: 580; position: relative; transition: color 150ms ease; }
.faq summary:hover { color: var(--g2); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 8px; top: 26px; width: 8px; height: 8px; border-right: 1.8px solid var(--text-2); border-bottom: 1.8px solid var(--text-2); transform: rotate(45deg); transition: transform 250ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(-135deg); top: 30px; }
.faq details p { padding: 0 0 20px; color: var(--text-2); }
.faq details[open] p { animation: fade-up 300ms var(--ease-out); }

/* Final CTA ------------------------------------------------------------- */

.final { position: relative; text-align: center; padding: 104px 0; border-top: 1px solid var(--border); overflow: hidden; isolation: isolate; }
.final::before { content: ''; position: absolute; z-index: -1; left: 50%; top: 50%; width: 1100px; height: 560px; translate: -50% -50%; pointer-events: none;
  background: url(/assets/img/dither.png), radial-gradient(closest-side, rgba(240, 69, 125, 0.2), rgba(123, 92, 255, 0.11) 50%, transparent);
  -webkit-mask-image: radial-gradient(closest-side, #000 60%, transparent); mask-image: radial-gradient(closest-side, #000 60%, transparent); }
.final h2 { font-size: clamp(30px, 4.6vw, 48px); max-width: 18ch; margin: 0 auto; }
.final p { color: var(--text-2); margin-top: 14px; }
.final .btn { margin-top: 30px; }

/* Footer ---------------------------------------------------------------- */

.site-footer { border-top: 1px solid var(--border); padding: 44px 0 52px; font-size: 14px; color: var(--text-2); background: var(--bg-subtle); }
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h4 { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--text); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--text); text-decoration: underline; }
.site-footer .brand + p { margin-top: 10px; max-width: 28em; }
.site-footer .legal-line { margin-top: 32px; font-size: 13px; color: var(--text-3); }

/* Legal pages ----------------------------------------------------------- */

.doc { max-width: 760px; padding: 56px 0 80px; }
.doc h1 { font-size: clamp(30px, 4.5vw, 40px); }
.doc .updated { margin-top: 10px; color: var(--text-3); font-size: 14px; }
.doc .intro { margin-top: 20px; font-size: 17px; color: var(--text-2); }
.doc h2 { font-size: 21px; margin: 44px 0 12px; }
.doc h3 { font-size: 16.5px; margin: 26px 0 8px; }
.doc p, .doc li { color: var(--text); }
.doc p + p { margin-top: 12px; }
.doc ul, .doc ol { padding-left: 22px; margin: 10px 0; display: grid; gap: 6px; }
.doc a { color: var(--accent); text-underline-offset: 2px; }
.doc .todo { background: var(--warn-soft); color: var(--warn); border-radius: 4px; padding: 0 5px; font-weight: 550; white-space: nowrap; }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 14.5px; display: block; overflow-x: auto; }
.doc th, .doc td { text-align: left; border-bottom: 1px solid var(--border); padding: 10px 12px 10px 0; vertical-align: top; }
.doc th { font-weight: 600; color: var(--text-2); font-size: 13.5px; }
.doc .box { background: var(--bg-subtle); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; margin: 18px 0; }
.doc .toc { margin-top: 28px; padding: 16px 20px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 15px; }
.doc .toc ol { margin: 6px 0 0; }
.doc .toc a { color: var(--text-2); text-decoration: none; }
.doc .toc a:hover { color: var(--text); text-decoration: underline; }
.notfound { text-align: center; padding: 120px 0; }
.notfound h1 { font-size: 40px; }
.notfound p { color: var(--text-2); margin: 12px 0 28px; }

/* Less motion when the visitor asks for it ------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
  .biz { animation: none; }
  .js .rv, .js .rv-s > * { opacity: 1; transform: none; translate: none; }
  .hero-stage { transform: none; }
}

/* Hero phones: real screens of several networks ------------------------------------------- */

.hero-stage .status { position: absolute; top: 0; left: 0; right: 0; z-index: 5; color: #fff; mix-blend-mode: difference; }
.hero-stage .island { z-index: 6; }
.app { position: relative; flex: 1; }
.view { position: absolute; inset: 0; display: none; flex-direction: column; padding-top: 13cqw; overflow: hidden; font-size: 3.6cqw; line-height: 1.3; background: #fff; color: #111; }
.view.is-on { display: flex; }
.view svg { width: 6.4cqw; height: 6.4cqw; flex: none; stroke-width: 1.9; }
.view .sp { flex: 1; }
.view .avr { width: 8cqw; height: 8cqw; border-radius: 50%; padding: 0.5cqw; background: var(--ig); flex: none; }
.view .avr i { display: block; width: 100%; height: 100%; border-radius: 50%; border: 0.5cqw solid #fff; background: var(--av, #d8b48a); }
.view .liked { fill: #ff3040; stroke: #ff3040; }
.view .story { flex-direction: column; }
.v-story { background: #000; color: #fff; }
.v-story .reply { flex: 1; }
.apptop { display: flex; align-items: center; gap: 4cqw; padding: 2cqw 4cqw 2.4cqw; }
.apptop.center { justify-content: center; }
.ig-word { font-family: 'Snell Roundhand', 'Segoe Script', 'Brush Script MT', cursive; font-size: 7.4cqw; font-weight: 600; }
.appnav { margin-top: auto; display: flex; justify-content: space-around; align-items: center; padding: 3cqw 2cqw 6cqw; border-top: 1px solid #eee; background: inherit; }
.appnav.dark { background: #000; color: #fff; border-top-color: #222; position: relative; z-index: 2; }
.phd { display: flex; align-items: center; gap: 2.4cqw; padding: 2.4cqw 3.4cqw; font-size: 3.6cqw; }
.phd .nm { display: grid; line-height: 1.2; }
.phd small { color: #65676b; font-size: 3cqw; }
.fimg { width: 100%; overflow: hidden; }
.fimg img { width: 100%; height: 100%; object-fit: cover; }
.r45 { aspect-ratio: 4 / 5; } .r1 { aspect-ratio: 1; }
.acts { display: flex; gap: 3.6cqw; padding: 2.6cqw 3.4cqw 1cqw; }
.likes { padding: 0 3.4cqw; font-weight: 700; font-size: 3.5cqw; }
.fcap { padding: 0.6cqw 3.4cqw; font-size: 3.4cqw; }
.v-fb { background: #f0f2f5; }
.apptop.fb { background: #fff; }
.fb-word { color: #0866ff; font-size: 7.6cqw; font-weight: 800; letter-spacing: -0.04em; }
.fbcard { background: #fff; margin-top: 2cqw; }
.fbtxt { padding: 0 3.4cqw 2.4cqw; font-size: 3.5cqw; }
.fbre { display: flex; align-items: center; gap: 1.4cqw; padding: 2.4cqw 3.4cqw; color: #65676b; font-size: 3.2cqw; }
.fbre .rx { width: 5.4cqw; height: 5.4cqw; border-radius: 50%; background: #0866ff; display: grid; place-items: center; }
.fbre .rx svg { width: 3.4cqw; height: 3.4cqw; color: #fff; }
.fbbtn { display: flex; justify-content: space-around; border-top: 1px solid #e4e6eb; padding: 2.4cqw 0 3cqw; color: #65676b; font-size: 3.2cqw; font-weight: 600; }
.fbbtn span { display: flex; align-items: center; gap: 1.2cqw; }
.fbbtn svg { width: 4.6cqw; height: 4.6cqw; }
.pin { padding: 2cqw 2.6cqw 0; }
.pimg { border-radius: 5cqw; overflow: hidden; aspect-ratio: 4 / 5; }
.pimg img { width: 100%; height: 100%; object-fit: cover; }
.prow { display: flex; align-items: center; gap: 4cqw; padding: 3cqw 1.4cqw; }
.psave { background: #e60023; color: #fff; font-weight: 700; border-radius: 10cqw; padding: 2.4cqw 4.4cqw; font-size: 3.6cqw; }
.ptitle { font-weight: 700; font-size: 4.6cqw; line-height: 1.2; padding: 0 1.4cqw; }
.pwho { display: flex; align-items: center; gap: 2cqw; padding: 2.4cqw 1.4cqw; font-size: 3.4cqw; }
.v-tt, .v-reel { background: #000; color: #fff; padding-top: 0; }
.v-tt > img, .v-reel > img, .v-tt > video, .v-reel > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.v-tt .shade, .v-reel .shade { background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), transparent 22%, transparent 55%, rgba(0, 0, 0, 0.6)); }
.tt-tabs { position: relative; display: flex; justify-content: center; gap: 4cqw; margin-top: 14cqw; font-size: 4cqw; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); }
.tt-tabs span { opacity: 0.7; }
.tt-tabs b { border-bottom: 0.6cqw solid #fff; padding-bottom: 1cqw; }
.tt-tabs.left { justify-content: flex-start; padding-left: 4cqw; font-size: 5.4cqw; }
.tt-tabs.left b { border: 0; }
.side { position: absolute; right: 2.6cqw; bottom: 44cqw; display: grid; justify-items: center; gap: 1.6cqw; font-size: 2.9cqw; font-weight: 700; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5); z-index: 1; }
.side span { display: grid; justify-items: center; gap: 0.6cqw; }
.side svg { width: 7.6cqw; height: 7.6cqw; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4)); }
.side .avr { width: 10cqw; height: 10cqw; margin-bottom: 2cqw; }
.vcap { position: absolute; left: 3.4cqw; right: 16cqw; bottom: 20cqw; z-index: 1; font-size: 3.5cqw; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6); display: grid; gap: 1cqw; }
.vcap small { display: flex; align-items: center; gap: 1.4cqw; font-size: 3.1cqw; }
.vcap small svg { width: 3.8cqw; height: 3.8cqw; }
.vcap .who { display: flex; align-items: center; gap: 2cqw; }
.vcap em { font-style: normal; border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 1.6cqw; padding: 0.6cqw 2.4cqw; font-weight: 600; font-size: 3.2cqw; }
.v-tt .appnav, .v-reel .appnav { position: absolute; left: 0; right: 0; bottom: 0; }
.th-logo { font-size: 8cqw; font-weight: 800; }
.view .bfly { width: 8cqw; height: 8cqw; fill: #1185fe; stroke: none; }
.tpost { display: flex; gap: 2.6cqw; padding: 2cqw 3.4cqw; border-top: 1px solid #eee; }
.tpost > div { flex: 1; min-width: 0; }
.tname { display: flex; gap: 1.6cqw; align-items: baseline; font-size: 3.5cqw; flex-wrap: wrap; }
.tname small { color: #8a8a8a; font-size: 3cqw; }
.tpost p { margin-top: 0.6cqw; font-size: 3.6cqw; }
.timg { margin-top: 2.4cqw; border-radius: 3cqw; overflow: hidden; aspect-ratio: 1; border: 1px solid #eee; }
.timg img { width: 100%; height: 100%; object-fit: cover; }
.tacts { display: flex; gap: 5cqw; padding: 2.6cqw 0; color: #444; }
.tacts svg { width: 5.4cqw; height: 5.4cqw; }
.tacts.n { gap: 1.6cqw; align-items: center; }
.tacts.n i { font-style: normal; font-size: 3.2cqw; margin-right: 4cqw; color: #666; }

/* Calendar: drag a post to another day ---------------------------------------------------- */
.cal-panel { position: relative; }
.cal-panel + .try, .rv > .try { margin: 0 0 12px; justify-content: flex-start; }
.cal em[data-drag] { cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.cal em.dragging { position: fixed; z-index: 50; pointer-events: none; cursor: grabbing; rotate: -4deg; scale: 1.08; box-shadow: var(--shadow-lg); transition: none; }
.cal em.ghost { opacity: 0.35; }
.cal > div.over { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); }
.cal em.landed { animation: bump 450ms var(--ease-pop); }
.cal-toast { position: absolute; z-index: 3; left: 50%; bottom: 14px; translate: -50% 0; display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--primary); color: var(--primary-text); font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow-lg); animation: fade-up 300ms var(--ease-out); white-space: nowrap; }
.cal-toast[hidden] { display: none; }
.cal-toast svg { width: 16px; height: 16px; stroke-width: 2.4; }

/* Studio sandbox: move the elements, write the title -------------------------------------- */
.cv .z[data-z] { cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.cv .z.moving { cursor: grabbing; outline-color: #7b5cff; transition: none; z-index: 2; }
.cv .z.sel { outline-color: #7b5cff; outline-style: solid; }
.cv .z-title[contenteditable='true'] { cursor: text; user-select: text; -webkit-user-select: text; outline-style: solid; outline-color: #7b5cff; }

/* WebGL hero (assets/hero3d.js): takes over from the HTML phones once its first frame is drawn. */
canvas.hero3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0; transition: opacity 600ms var(--ease-out); touch-action: pan-y; }
.hero.is-3d canvas.hero3d { opacity: 1; }
.hero > .wrap { position: relative; z-index: 1; pointer-events: none; }
.hero > .wrap a, .hero > .wrap button, .hero-copy p, .hero-copy h1, .networks { pointer-events: auto; }
.hero-stage.is-3d .rig, .hero-stage.is-3d .glow { display: none; }
html, body { overflow-x: clip; }
@media (max-width: 560px) { .hero-stage { height: 420px; } }
.hero3d-media { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.hero3d-media video { width: 1px; height: 1px; }
/* A wider hero: the scene keeps to its column and never runs under the text. */
.hero .wrap.hero-grid { max-width: 1400px; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 32px; }
  .hero-stage { max-width: none; height: 680px; }
}
.hero-stage:not(.is-3d) { overflow: hidden; }

/* Real stickers (drawn by the sticker engine, tools/render_stickers.py): width set per sticker in stickers.css. */
.skimg { position: absolute; z-index: 2; left: 50%; translate: -50% 0; height: auto; max-width: none; pointer-events: none; }

/* Real logos in the app screens, and the network symbols in the "works with" row. */
.ig-logo { height: 8.4cqw; width: auto; margin-top: 0.6cqw; }
.fb-logo { height: 5cqw; width: auto; }
.app-glyph { height: 7.4cqw; width: auto; }
.networks li { display: inline-flex; align-items: center; gap: 8px; }
.networks li svg { width: 18px; height: 18px; fill: currentColor; stroke: none; flex: none; }

/* The 3D hero needs room around the phones: a taller hero, the scene keeps its size. */
@media (min-width: 960px) {
  .hero:has(.hero-stage[data-hero3d]) { padding: 72px 0 56px; }
  .hero-stage { height: 760px; }
}

/* Until we know whether the WebGL hero runs, the HTML phones stay hidden (no flash, no swap). */
.hero-stage[data-hero3d]:not(.no3d) .rig, .hero-stage[data-hero3d]:not(.no3d) .glow { display: none; }
.hero-stage.is-3d .rig, .hero-stage.is-3d .glow { display: none; }

/* Mastodon screen */
.apptop.ma { padding: 2.4cqw 4.4cqw; font-size: 5cqw; }
.tpost.ma .tname small { display: block; width: 100%; }
.timg.wide { aspect-ratio: 4 / 3; }
/* Threads, Bluesky, Mastodon: plain avatars (the colored ring is Instagram's). Mastodon: rounded square. */
.tpost .avr { background: none; padding: 0; }
.tpost .avr i { border: 0; }
.tpost.ma .avr, .tpost.ma .avr i { border-radius: 22%; }

/* Hover: only a quiet change on what can be clicked (color, border). No lifts, zooms or spins. */
.btn-shine::after { display: none; }

/* Review: the real public review page, at a small scale (PublicReviewPage.tsx). */
.rvw { padding: 18px; display: grid; gap: 14px; }
.rvw-head h3 { font-size: 20px; letter-spacing: -0.01em; }
.rvw-head p { color: var(--text-2); font-size: 14px; margin-top: 4px; }
.rvw-post { border: 1px solid var(--border); border-radius: 10px; padding: 14px; display: grid; gap: 10px; }
.rvw-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12.5px; color: var(--text-3); }
.rvw-top .sp { flex: 1; }
.rvw-net { display: inline-flex; align-items: center; gap: 5px; }
.rvw-net i { width: 8px; height: 8px; border-radius: 50%; }
.rvw-badge { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; padding: 2px 8px; border-radius: 999px; color: #fff; background: #12b886; }
.rvw-badge[hidden] { display: none; }
.rvw-badge.orange { background: #fd7e14; } .rvw-badge.teal { background: #12b886; } .rvw-badge.gray { background: #868e96; }
.rvw-media { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.rvw-media img { width: 100%; max-width: 220px; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.rvw-text { font-size: 14.5px; }
.rvw-comments { display: grid; gap: 6px; }
.rvw-c { border-top: 1px solid var(--border); padding-top: 6px; font-size: 14px; }
.rvw-c.new { animation: fade-up 350ms var(--ease-out); }
.rvw-ch { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.rvw-ch b { font-weight: 500; }
.rvw-ch small { font-size: 12px; color: var(--text-3); }
.rvw-form { display: grid; gap: 8px; border-top: 1px solid var(--border); padding-top: 10px; }
.rvw-form label { display: grid; gap: 4px; font-size: 13.5px; font-weight: 500; }
.rvw-form label em { color: #fa5252; font-style: normal; }
.rvw-form input, .rvw-form textarea { font: inherit; font-size: 14px; font-weight: 400; color: var(--text); background: var(--bg); border: 1px solid var(--border-strong); border-radius: 6px; padding: 6px 10px; resize: vertical; }
.rvw-form input:focus, .rvw-form textarea:focus { outline: none; border-color: #228be6; }
.rvw-btns { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.rb { font: inherit; font-size: 12.5px; font-weight: 600; padding: 6px 12px; border-radius: 6px; border: 0; cursor: pointer; transition: background-color 150ms ease, opacity 150ms ease; }
.rb[disabled] { opacity: 0.45; cursor: not-allowed; }
.rb[hidden] { display: none; }
.rb.subtle { background: transparent; color: var(--text-2); }
.rb.subtle:not([disabled]):hover { background: var(--bg-hover); }
.rb.orange { background: rgba(253, 126, 20, 0.14); color: #e8590c; }
.rb.orange:not([disabled]):hover { background: rgba(253, 126, 20, 0.22); }
.rb.teal { background: #12b886; color: #fff; }
.rb.teal:not([disabled]):hover { background: #0ca678; }
.rvw-back { font-size: 12px; color: var(--text-3); text-align: right; }
.rvw-back[hidden] { display: none; }
.rvw-sent { font-size: 12.5px; color: var(--ok); text-align: right; min-height: 1em; }

/* The same soft halo behind other product views. */
.haloed { position: relative; isolation: isolate; }
.haloed::before { content: ''; position: absolute; inset: -22% -18%; z-index: -1; pointer-events: none;
  background: url(/assets/img/dither.png), radial-gradient(closest-side, rgba(240, 69, 125, 0.13), rgba(123, 92, 255, 0.075) 45%, transparent);
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent); mask-image: radial-gradient(closest-side, #000 55%, transparent); }
/* The fine grain (dither.png) breaks the steps a soft gradient shows on dark screens. */

/* Light or dark switch (theme.js): the icon of the theme on screen. */
.theme-btn { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--text-2); cursor: pointer; transition: border-color 150ms ease, color 150ms ease; }
.theme-btn:hover { border-color: var(--border-strong); color: var(--text); }
.theme-btn svg { width: 17px; height: 17px; display: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.theme-btn .t-light, :root[data-theme='dark'] .theme-btn .t-dark { display: block; }
:root[data-theme='dark'] .theme-btn .t-light { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .theme-btn .t-light { display: none; }
  :root:not([data-theme='light']) .theme-btn .t-dark { display: block; }
}
