/* The home page at /. Sunset look: dusk sky, Instrument Serif + Manrope. */

:root {
  --night: #140d2b;
  --dusk: #2a1846;
  --plum: #5b2160;
  --rose: #c2416b;
  --coral: #ff6b5b;
  --amber: #ffa94d;
  --gold: #ffd36b;
  --cream: #fff6ec;
  --sand: #fbe7d3;
  --ink: #1d1530;
  --muted: #6d5f78;
  --sun-grad: linear-gradient(135deg, #ffd36b 0%, #ff9a4d 45%, #ff5e62 100%);
  --sun-grad-deep: linear-gradient(135deg, #e8553a 0%, #d23a5e 50%, #8e2f7a 100%); /* for text on light backgrounds */
  --radius: 22px;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

h1, h2, h3 { margin: 0; font-weight: 400; letter-spacing: -0.01em; }
h1, h2 { font-family: var(--serif); line-height: 1.02; }
h2 { font-size: clamp(2.4rem, 5vw, 4rem); }
h3 { font-family: var(--sans); font-weight: 700; font-size: 1.2rem; }
em { font-style: italic; }
h1 em, h2 em {
  background: var(--sun-grad-deep);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .08em;
}

.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }

.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; color: var(--rose);
  margin-bottom: 14px;
}
.eyebrow--light { color: var(--gold); }

.section-head { margin-bottom: 56px; max-width: 720px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 14px 0 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 16px 30px; font-size: 1.02rem; }
.btn--sun { background: var(--sun-grad); color: #2b1020; box-shadow: 0 10px 30px -8px rgba(255, 94, 98, .6); }
.btn--sun:hover { box-shadow: 0 16px 40px -8px rgba(255, 94, 98, .75); }
.btn--ghost { color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.1); }
.btn--glass { color: #fff; background: rgba(28,18,51,.35); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(8px); }

.link-arrow { font-weight: 700; color: var(--rose); display: inline-block; transition: transform .2s; }
.link-arrow:hover { transform: translateX(4px); }
.link-arrow--light { color: var(--gold); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: #fff; transition: background .3s, box-shadow .3s, padding .3s;
  padding: 14px 0;
}
.nav.is-scrolled { background: rgba(20, 13, 43, .78); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.08); padding: 8px 0; }
.nav__inner { width: min(1200px, 100% - 32px); margin: auto; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; }
.nav__links { display: flex; gap: 4px; margin-left: 24px; }
.nav__link { padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: .95rem; opacity: .9; white-space: nowrap; }
.nav__link:hover { background: rgba(255,255,255,.1); opacity: 1; }
.chev { font-size: .7em; margin-left: 2px; }
.nav__cta { margin-left: auto; display: flex; align-items: center; gap: 6px; }

.dropdown { position: relative; }
.dropdown__menu {
  position: absolute; top: calc(100% + 10px); left: 0; width: 280px;
  background: #fff; color: var(--ink); border-radius: 18px; padding: 8px;
  box-shadow: 0 30px 60px -20px rgba(20,13,43,.45);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .2s;
}
.dropdown:hover .dropdown__menu, .dropdown.is-open .dropdown__menu { opacity: 1; visibility: visible; transform: none; }
.dropdown__menu a { display: block; padding: 10px 14px; border-radius: 12px; }
.dropdown__menu a:hover { background: var(--sand); }
.dropdown__menu b { display: block; font-size: .95rem; }
.dropdown__menu small { color: var(--muted); }

.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }
.burger span:first-child { top: 15px; } .burger span:last-child { top: 23px; }
.nav.menu-open .burger span:first-child { top: 19px; transform: rotate(45deg); }
.nav.menu-open .burger span:last-child { top: 19px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
/* --p: 0 = sun high, 1 = fully set. Driven by main.js */
.hero { --p: 0; position: relative; height: 230vh; background: #1c1233; }
.hero__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: grid; place-items: center; text-align: center; color: #fff;
  padding: 100px 16px 180px; overflow: hidden;
  isolation: isolate;
}
.sky {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, #140d2b 0%, #2a1846 22%, #5b2160 42%, #c2416b 60%, #ff7a59 74%, #ffb35c 86%, #ffd98a 100%);
}
/* night overlay deepens as the sun goes down */
.night {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #0b0720 0%, #140d2b 40%, #2a1846 75%, #5b2160 100%);
  opacity: calc(var(--p) * var(--p) * 0.92);
}
.horizon-glow {
  position: absolute; left: -10%; right: -10%; bottom: 60px; height: 45%;
  background: radial-gradient(ellipse 60% 70% at 50% 100%, rgba(255,190,110,.75), rgba(255,94,98,.35) 45%, transparent 75%);
  opacity: calc(1 - var(--p) * 0.85);
  transform: scaleY(calc(1 - var(--p) * 0.5)); transform-origin: bottom;
}
.stars {
  position: absolute; inset: 0 0 50% 0;
  background-image:
    radial-gradient(1.4px 1.4px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 8%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 46% 22%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 78% 26%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 90% 10%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 36%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 85% 40%, #fff 50%, transparent 51%);
  opacity: calc(0.1 + var(--p) * 0.9);
}
.stars::after { content: ""; position: absolute; inset: 0; background: inherit; transform: translate(37%, 9%) scale(-1, 1); animation: twinkle 3s ease-in-out infinite alternate; }
@keyframes twinkle { to { opacity: .2; } }
.sun {
  position: absolute; left: 50%; bottom: 70px; width: min(440px, 72vw, 50vh); aspect-ratio: 1;
  /* p=0 → fully above horizon; p=1 → completely below the bottom edge */
  transform: translate(-50%, calc(25% + var(--p) * (75% + 80px)));
  will-change: transform;
}
.sun__core {
  position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #fff3c4 0%, #ffd36b 30%, #ff9a4d 60%, #ff5e62 100%);
  box-shadow: 0 0 120px 40px rgba(255, 160, 80, .55), 0 0 300px 120px rgba(255, 94, 98, .3);
}
.sun__core::before { /* reddens as it sets */
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #ffb36b, #ff5e62 55%, #c2416b);
  opacity: calc(var(--p) * 0.85);
}
.scroll-hint {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.75); display: grid; justify-items: center; gap: 8px;
  opacity: calc(1 - var(--p) * 3);
}
.scroll-hint span { width: 1px; height: 28px; background: linear-gradient(#fff, transparent); animation: drip 1.6s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hills { position: absolute; bottom: 0; left: 0; width: 100%; height: 260px; filter: brightness(calc(1 - var(--p) * 0.45)); }
.hills .h1 { fill: #7a2a5e; opacity: .85; }
.hills .h2 { fill: #3d1d4c; }
.hills .h3 { fill: #1c1233; }

.hero__content { max-width: 920px; position: relative; }
/* soft dark scrim so text stays readable over the sun */
.hero__content::before {
  content: ""; position: absolute; inset: -60px -120px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(20,13,43,.55), rgba(20,13,43,.25) 60%, transparent 80%);
}
.hero__sub { text-shadow: 0 1px 12px rgba(20,13,43,.6); }
.hero h1 em { filter: drop-shadow(0 2px 14px rgba(20,13,43,.55)); }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px 7px 10px; border-radius: 999px; font-size: .88rem; font-weight: 600;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(10px);
  margin-bottom: 28px; transition: background .2s;
}
.pill:hover { background: rgba(255,255,255,.2); }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(255,211,107,.3); }
.hero h1 { font-size: clamp(3rem, 8vw, 6.4rem); text-shadow: 0 4px 40px rgba(20,13,43,.35); }
.hero h1 em { background: linear-gradient(90deg, #ffe7a3, #ffb36b 50%, #ffd36b); -webkit-background-clip: text; background-clip: text; }
.hero__sub { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 620px; margin: 26px auto 36px; line-height: 1.6; opacity: .92; }
.hero__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Playground ---------- */
.playground { background: #1c1233; color: #fff; padding: 40px 0 120px; }
.playground .section-head p { color: rgba(255,255,255,.7); }
.playground .eyebrow { color: var(--gold); }
.pg {
  max-width: 880px; margin: auto; border-radius: 28px; padding: 10px;
  background: linear-gradient(160deg, rgba(255,255,255,.1), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 100px -30px rgba(255, 94, 98, .35);
}
.pg__tabs { display: flex; gap: 6px; padding: 6px; background: rgba(0,0,0,.25); border-radius: 20px; overflow-x: auto; }
.pg__tab { flex: 1; padding: 12px 16px; border-radius: 14px; font-weight: 600; font-size: .95rem; color: rgba(255,255,255,.7); white-space: nowrap; transition: .2s; }
.pg__tab:hover { color: #fff; }
.pg__tab.is-active { background: var(--sun-grad); color: #2b1020; }
.pg__body { padding: 28px 22px 18px; }
.pg__langs { display: flex; align-items: end; gap: 12px; justify-content: center; margin-bottom: 24px; transition: opacity .25s, max-height .3s; max-height: 120px; }
.pg__langs.is-hidden { opacity: 0; max-height: 0; margin: 0; overflow: hidden; pointer-events: none; }
.pg__langs label { display: grid; gap: 6px; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.6); }
.pg__langs select {
  appearance: none; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.18);
  padding: 10px 36px 10px 14px; border-radius: 12px; font: 600 .95rem var(--sans); min-width: 150px;
  background-image: linear-gradient(45deg, transparent 50%, #fff 50%), linear-gradient(135deg, #fff 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat;
}
.pg__langs select option { color: var(--ink); }
.swap { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.1); font-size: 1.1rem; transition: transform .3s; }
.swap:hover { transform: rotate(180deg); }

.pg__viz { display: grid; gap: 10px; }
.viz-row { display: grid; grid-template-columns: 84px 1fr; align-items: center; gap: 14px; background: rgba(0,0,0,.22); border-radius: 16px; padding: 10px 16px; }
.viz-label { font-size: .8rem; font-weight: 700; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .08em; }
.viz-label--sun { color: var(--gold); }
.viz-row canvas { width: 100%; height: 80px; }

.pg__controls { display: grid; justify-items: center; gap: 10px; margin-top: 26px; }
.rec {
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 26px 14px 18px;
  border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700;
  transition: transform .2s, box-shadow .2s;
}
.rec:hover { transform: scale(1.03); }
.rec__dot { width: 14px; height: 14px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 0 rgba(255,107,91,.6); }
.rec.is-on { background: var(--coral); color: #fff; }
.rec.is-on .rec__dot { background: #fff; border-radius: 3px; animation: pulse 1.4s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 100% { box-shadow: 0 0 0 14px rgba(255,255,255,0); } }
.pg__hint { margin: 0; font-size: .82rem; color: rgba(255,255,255,.5); text-align: center; }
.pg__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .95rem; color: rgba(255,255,255,.7); }
.pg__foot .link-arrow { color: var(--gold); }

/* ---------- Announcement ---------- */
.announce { padding: 120px 0 80px; }
.announce__card {
  display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: center;
  background: linear-gradient(135deg, var(--dusk), var(--plum)); color: #fff;
  border-radius: 32px; padding: 48px; overflow: hidden;
}
.announce__card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.1; margin-bottom: 16px; }
.announce__card p { color: rgba(255,255,255,.75); line-height: 1.6; margin: 0 0 22px; }
.announce__art { aspect-ratio: 1; border-radius: 24px; background: linear-gradient(180deg, #ff9a4d, #c2416b 70%, #5b2160); position: relative; overflow: hidden; }
.orb { position: absolute; width: 60%; aspect-ratio: 1; left: 20%; top: 30%; border-radius: 50%; background: radial-gradient(circle, #fff3c4, #ffd36b 50%, transparent 72%); animation: float 6s ease-in-out infinite; }
.announce__art::after { content: ""; position: absolute; inset: 62% 0 0; background: repeating-linear-gradient(180deg, rgba(20,13,43,.5) 0 3px, transparent 3px 12px), linear-gradient(180deg, rgba(91,33,96,.6), #2a1846); }
@keyframes float { 50% { transform: translateY(-14px); } }

.mission {
  font-family: var(--serif); font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.12;
  text-align: center; max-width: 1000px; margin: 120px auto 0;
}
.mission em { color: var(--rose); }
/* light gradient for emphasised words on dark sections */
.caps h2 em { background: var(--sun-grad); -webkit-background-clip: text; background-clip: text; }

/* ---------- Capabilities ---------- */
.caps { background: linear-gradient(180deg, var(--night), var(--dusk)); color: #fff; padding: 140px 0; position: relative; overflow: hidden; }
.caps::before { content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -250px; border-radius: 50%; background: radial-gradient(circle, rgba(255,107,91,.35), transparent 65%); }
.caps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.cap { padding: 28px; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: 14px; transition: transform .3s, background .3s, border-color .3s; }
.cap:hover { transform: translateY(-6px); background: rgba(255,255,255,.09); border-color: rgba(255,211,107,.4); }
.cap p { color: rgba(255,255,255,.7); line-height: 1.6; margin: 0; flex: 1; }
.cap__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--sun-grad); display: grid; place-items: center; }
.cap__icon svg { width: 26px; height: 26px; fill: none; stroke: #2b1020; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Security ---------- */
.security { padding: 0 0 140px; }
.security__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; background: var(--sand); border-radius: 32px; padding: 56px; }
.security p { color: var(--muted); line-height: 1.7; font-size: 1.05rem; margin: 18px 0 22px; }
.badges { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.badges li { aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-content: center; text-align: center; font-weight: 800; font-size: 1.15rem; box-shadow: inset 0 0 0 2px rgba(255,107,91,.25), 0 10px 30px -15px rgba(91,33,96,.4); }
.badges small { display: block; font-weight: 600; font-size: .72rem; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; color: #fff; text-align: center; padding: 160px 0 180px; background: linear-gradient(180deg, #ff9a4d 0%, #d9505f 22%, #8e2f6e 48%, #2a1846 80%, #140d2b 100%); }
.cta__sun { position: absolute; left: 50%; top: 0; width: 340px; height: 340px; opacity: .8; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, #fff3c4, #ffd36b 40%, rgba(255,154,77,0) 70%); filter: blur(4px); }
.cta__inner { position: relative; }
.cta h2 { font-size: clamp(3rem, 8vw, 6.5rem); }
.cta h2 em { background: linear-gradient(90deg, #fff3c4, #ffd36b); -webkit-background-clip: text; background-clip: text; filter: drop-shadow(0 2px 12px rgba(20,13,43,.5)); }
.cta h2, .cta p { text-shadow: 0 2px 16px rgba(20,13,43,.45); }
.cta p { font-size: 1.2rem; opacity: .9; margin: 18px 0 34px; }

/* ---------- Footer ---------- */
.footer { background: var(--night); color: rgba(255,255,255,.7); padding: 40px 0; }
.footer__inner { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.logo--light { color: #fff; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; margin-left: auto; font-size: .92rem; }
.footer__links a:hover, .footer__links button:hover { color: var(--gold); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .caps__grid { grid-template-columns: repeat(2, 1fr); }
  .t-grid { grid-template-columns: 1fr; }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .ind, .ind:nth-child(4), .ind:nth-child(5) { grid-column: span 1; }
  .ind:nth-child(5) { grid-column: span 2; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
}
@media (max-width: 860px) {
  .nav__links {
    position: fixed; inset: 64px 16px auto 16px; flex-direction: column; margin: 0;
    background: rgba(20,13,43,.96); backdrop-filter: blur(14px); border-radius: 20px; padding: 12px;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s;
  }
  .nav.menu-open .nav__links { opacity: 1; visibility: visible; transform: none; }
  .nav.menu-open { background: rgba(20,13,43,.9); }
  .dropdown__menu { position: static; width: auto; display: none; opacity: 1; visibility: visible; transform: none; margin-top: 6px; }
  .dropdown.is-open .dropdown__menu { display: block; }
  .nav__link { width: 100%; text-align: left; }
  .burger { display: block; }
  .nav__cta .btn--ghost { display: none; }
  .announce__card, .security__inner { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
  .announce__art { max-height: 260px; aspect-ratio: auto; height: 240px; }
}
@media (max-width: 560px) {
  .caps__grid, .ind-grid { grid-template-columns: 1fr; }
  .ind:nth-child(5) { grid-column: span 1; }
  .ind { min-height: 220px; }
  .pg__tab { flex: 1 1 0; padding: 10px 6px; font-size: .8rem; white-space: normal; line-height: 1.2; }
  .pg__langs select { min-width: 0; width: 100%; }
  .pg__langs label { flex: 1; }
  .viz-row { grid-template-columns: 1fr; gap: 4px; }
  .footer__links { margin-left: 0; }
  .badges { gap: 10px; }
  .nav__cta .btn--sun { padding: 9px 14px; font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- ReelPage home ---------- */

/* ---------- Demo section ---------- */
.demo { background: #1c1233; color: #fff; padding: 40px 0 130px; }
.demo .section-head p { color: rgba(255,255,255,.72); }
.demo .eyebrow { color: var(--gold); }
.demo h2 em, .demo h2 { color: #fff; }

.demo__tabs {
  display: flex; gap: 6px; padding: 6px; margin: 0 auto 48px; width: min(460px, 100%);
  background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.1); border-radius: 20px;
}

.demo__grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 48px; align-items: center; }

.callouts { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.callouts li {
  padding: 22px 24px; border-radius: 20px; background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1); transition: border-color .3s, background .3s, transform .3s;
}
.callouts li.is-lit { border-color: rgba(255,211,107,.6); background: rgba(255,211,107,.08); transform: translateY(-3px); }
.callouts b { display: block; font-size: 1.05rem; margin-bottom: 6px; color: #fff; }
.callouts span { color: rgba(255,255,255,.72); line-height: 1.55; font-size: .95rem; }
.callouts--left { text-align: right; }

/* ---------- Phone ---------- */
.phone {
  /* palette of the current reel, set by reelpage.js */
  --rbg: #2b1408; --rsurface: #3a1d0e; --rline: #57301a; --rink: #fff3e6; --rmuted: #d9b49a; --raccent: #ff8a3d; --raccentInk: #1a0b03;
  position: relative; width: 330px; height: 660px; border-radius: 48px; padding: 12px;
  background: linear-gradient(160deg, #3a2a52, #120b24);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 50px 120px -30px rgba(255,94,98,.5), 0 30px 60px -20px rgba(0,0,0,.6);
}
.phone__notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 92px; height: 24px; border-radius: 20px; background: #0a0612; z-index: 5; }
.screen {
  position: relative; height: 100%; border-radius: 38px; overflow: hidden auto;
  background: var(--rbg); color: var(--rink); font-size: 14px;
  scrollbar-width: none; transition: background .5s, color .5s;
}
.screen::-webkit-scrollbar { display: none; }

.vid {
  position: relative; height: 330px; overflow: hidden;
  background: linear-gradient(180deg, color-mix(in srgb, var(--raccent) 25%, #140d2b) 0%, color-mix(in srgb, var(--raccent) 70%, #c2416b) 70%, var(--raccent) 100%);
  transition: background .5s;
}
.vid__sun {
  position: absolute; left: 50%; width: 130px; height: 130px; border-radius: 50%; margin-left: -65px;
  background: radial-gradient(circle at 50% 40%, #fff3c4, #ffd36b 45%, color-mix(in srgb, var(--raccent) 80%, #ff5e62));
  box-shadow: 0 0 60px 20px color-mix(in srgb, var(--raccent) 45%, transparent);
  top: calc(60px + var(--vt, 0) * 170px);
}
.vid__ground { position: absolute; inset: auto 0 0 0; height: 110px; background: linear-gradient(180deg, color-mix(in srgb, var(--rbg) 70%, transparent), var(--rbg)); border-top-left-radius: 50% 30px; border-top-right-radius: 50% 30px; }
.vid__top { position: absolute; top: 46px; left: 16px; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 13px; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--raccent); color: var(--raccentInk); font-weight: 800; font-size: 13px; text-shadow: none; }
.vid__cap {
  position: absolute; left: 16px; right: 16px; bottom: 52px; margin: 0; text-align: center;
  font-family: var(--serif); font-size: 28px; line-height: 1.05; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.55);
  transition: opacity .3s;
}
.vid__pp { position: absolute; top: 44px; right: 14px; width: 32px; height: 32px; border-radius: 50%; background: rgba(0,0,0,.35); color: #fff; font-size: 11px; backdrop-filter: blur(6px); }
.vid__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.2); }
.vid__bar i { display: block; height: 100%; width: 0; background: var(--raccent); }

.onnow {
  position: absolute; left: 12px; right: 12px; bottom: 102px; display: grid; grid-template-columns: 1fr auto; align-items: center;
  padding: 10px 14px; border-radius: 14px; background: rgba(15,10,25,.72); backdrop-filter: blur(10px); color: #fff;
  animation: pop .35s ease;
}
.onnow small { grid-column: 1; font-size: 10px; text-transform: uppercase; letter-spacing: .1em; color: var(--raccent); font-weight: 700; }
.onnow b { grid-column: 1; font-size: 14px; }
.onnow span { grid-row: 1 / 3; grid-column: 2; font-size: 18px; }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } }

.pbody { position: relative; padding: 14px 18px 28px; }
.pnum { font-family: var(--serif); font-size: 64px; line-height: .9; color: var(--raccent); opacity: .9; }
.ptitle { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.02; margin: 4px 0 10px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.facts span { font-size: 11.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--rsurface); color: var(--rmuted); border: 1px solid var(--rline); }
.pcta { display: flex; gap: 8px; }
.pbtn { flex: 1; padding: 12px; border-radius: 14px; font-weight: 800; font-size: 13.5px; background: var(--raccent); color: var(--raccentInk); transition: transform .15s; }
.pbtn:active { transform: scale(.97); }
.pbtn--ghost { flex: 0 0 auto; padding-inline: 18px; background: transparent; color: var(--rink); border: 1.5px solid var(--rline); }
.pbtn--ghost.is-saved { border-color: var(--raccent); color: var(--raccent); }

.psec { margin-top: 26px; }
.psh { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.psh h4 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 22px; }
.psh small { color: var(--rmuted); font-size: 11.5px; }
.scale { display: flex; align-items: center; gap: 4px; background: var(--rsurface); border: 1px solid var(--rline); border-radius: 999px; padding: 3px; font-weight: 700; font-size: 12.5px; }
.scale button { width: 26px; height: 26px; border-radius: 50%; background: var(--rbg); color: var(--rink); font-weight: 800; }
.scale span { padding: 0 6px; min-width: 74px; text-align: center; }
.needs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.need { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--rsurface); border: 1px solid var(--rline); text-align: left; transition: opacity .2s; }
.need b { color: var(--raccent); font-size: 13px; transition: color .2s; }
.need b.bump { animation: bump .35s; }
@keyframes bump { 50% { transform: scale(1.18); } }
.need span { font-size: 12.5px; }
.need.is-done { opacity: .45; text-decoration: line-through; }

.steps { display: grid; gap: 6px; }
.step {
  display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 8px; text-align: left;
  padding: 11px 12px; border-radius: 14px; border: 1px solid var(--rline); background: transparent; position: relative; overflow: hidden;
  transition: background .25s, border-color .25s;
}
.step__n { font-family: var(--serif); font-size: 20px; color: var(--rmuted); }
.step__t { font-weight: 700; font-size: 13.5px; }
.step__tc { font-size: 11px; color: var(--rmuted); font-variant-numeric: tabular-nums; }
.step__fill { position: absolute; left: 0; bottom: 0; height: 2px; background: var(--raccent); width: 0; }
.step.is-on { background: var(--rsurface); border-color: var(--raccent); }
.step.is-on .step__n { color: var(--raccent); }
.step.is-loop .step__tc::after { content: " ⟲"; color: var(--raccent); }

.items { display: grid; gap: 6px; }
.item { display: grid; grid-template-columns: 40px 1fr auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 14px; background: var(--rsurface); border: 1px solid var(--rline); transition: border-color .3s; }
.item.is-now { border-color: var(--raccent); }
.item__ph { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-family: var(--serif); font-size: 20px; background: color-mix(in srgb, var(--raccent) 30%, var(--rbg)); color: var(--rink); }
.item b { display: block; font-size: 13px; }
.item small { color: var(--rmuted); font-size: 11.5px; }
.item small button { color: var(--raccent); font-weight: 700; font-size: 11.5px; text-decoration: underline; text-underline-offset: 2px; }
.item__go { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--raccent); color: var(--raccentInk); font-weight: 800; }

.code { display: grid; width: 100%; gap: 2px; margin-top: 22px; padding: 16px; border-radius: 16px; border: 1.5px dashed var(--raccent); text-align: center; background: color-mix(in srgb, var(--raccent) 10%, transparent); }
.code small { font-size: 10.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--rmuted); font-weight: 700; }
.code b { font-family: var(--serif); font-weight: 400; font-size: 28px; color: var(--raccent); letter-spacing: .04em; }
.code span { font-size: 12px; color: var(--rmuted); }

.doit {
  position: absolute; inset: 0; z-index: 4; padding: 60px 22px 26px; display: flex; flex-direction: column; gap: 10px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--raccent) 35%, var(--rbg)) 0%, var(--rbg) 55%);
  animation: pop .3s ease;
}
.doit[hidden] { display: none; }
.doit__segs { display: flex; gap: 4px; }
.doit__segs i { flex: 1; height: 3px; border-radius: 3px; background: var(--rline); }
.doit__segs i.on { background: var(--raccent); }
.doit__k { margin: 18px 0 0; color: var(--raccent); font-weight: 800; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.doit h4 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 38px; line-height: 1; }
.doit p:not(.doit__k) { margin: 0; color: var(--rmuted); line-height: 1.55; font-size: 14.5px; }
.doit__nav { margin-top: auto; display: flex; gap: 8px; }
.doit__nav .pbtn--ghost { flex: 1; }
.doit__x { position: absolute; top: 50px; right: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--rsurface); color: var(--rink); }

.ptoast {
  position: sticky; bottom: 16px; margin: 0 auto; width: max-content; max-width: 90%; z-index: 6;
  padding: 10px 16px; border-radius: 999px; background: var(--rink); color: var(--rbg); font-weight: 700; font-size: 12.5px;
  opacity: 0; transform: translateY(10px); transition: .25s; pointer-events: none; display: block;
}
.ptoast.is-on { opacity: 1; transform: none; }

/* ---------- How it works ---------- */
.how { padding: 40px 0 140px; }
.how__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.how__step { padding: 32px; border-radius: var(--radius); background: #fff; box-shadow: 0 20px 50px -30px rgba(91,33,96,.35); }
.how__n { font-family: var(--serif); font-size: 3.4rem; line-height: 1; background: var(--sun-grad-deep); -webkit-background-clip: text; background-clip: text; color: transparent; }
.how__step h3 { margin: 14px 0 8px; }
.how__step p { margin: 0; color: var(--muted); line-height: 1.6; }

.links-demo { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.url { padding: 22px 24px; border-radius: var(--radius); background: var(--sand); display: grid; gap: 6px; }
.url__k { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--rose); }
.url code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 1.15rem; color: var(--ink); overflow-wrap: anywhere; }
.url code b { color: var(--rose); }
.url small { color: var(--muted); }

/* the mission block here has no card above it */
.announce .mission { margin-top: 0; }
.announce { padding: 130px 0 120px; }

/* number badges read better a bit bigger */
#fast .badges li { font-family: var(--serif); font-weight: 400; font-size: 2.2rem; line-height: 1; }
#fast .badges small { font-family: var(--sans); margin-top: 6px; font-size: .82rem; padding: 0 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .demo__grid { grid-template-columns: 1fr; justify-items: center; gap: 28px; }
  .callouts { grid-template-columns: 1fr 1fr; width: 100%; max-width: 720px; }
  .callouts--left { order: 2; text-align: left; }
  .callouts--right { order: 3; }
}
@media (max-width: 860px) {
  .how__grid, .links-demo { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .callouts { grid-template-columns: 1fr; }
  .phone { width: min(330px, 100%); height: 620px; }
}

/* ---------- Square corners ---------- */
/* Everything is square. Only true circles (sun, avatars, dots) and the phone mockup stay round. */
*, *::before, *::after { border-radius: 0 !important; }
.sun__core, .sun__core::before, .vid__sun, .av, .pill__dot, .phone__notch, .scale button { border-radius: 50% !important; }
.phone { border-radius: 48px !important; }
.screen { border-radius: 38px !important; }

/* ---------- Logo ---------- */
.logo { gap: 10px; }
.logo__mark { filter: drop-shadow(0 4px 10px rgba(255, 94, 98, .35)); transition: transform .3s ease; }
.logo:hover .logo__mark { transform: rotate(-6deg); }
.logo__word { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; letter-spacing: -.01em; line-height: 1; }
.logo__word em { font-style: italic; color: var(--gold); }

/* ---------- Depth: square, but not flat ---------- */
:root {
  --lift: 0 1px 2px rgba(29,21,48,.06), 0 8px 20px -6px rgba(29,21,48,.12), 0 24px 48px -24px rgba(91,33,96,.28);
  --lift-hi: 0 2px 4px rgba(29,21,48,.08), 0 16px 32px -8px rgba(29,21,48,.18), 0 40px 70px -30px rgba(194,65,107,.4);
}

/* buttons: a top highlight and a coloured glow */
.btn { position: relative; }
.btn--sun { box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -2px 0 rgba(120,20,40,.18), 0 10px 26px -8px rgba(255,94,98,.65); }
.btn--sun:hover { box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -2px 0 rgba(120,20,40,.18), 0 16px 36px -10px rgba(255,94,98,.8); }
.btn--glass { box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 10px 30px -12px rgba(0,0,0,.5); }
.pill { box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 0 8px 24px -12px rgba(0,0,0,.5); }

/* light cards: hairline border, layered shadow, sun line along the top */
.how__step, .url, .security__inner {
  position: relative; background: #fff; border: 1px solid rgba(29,21,48,.08); box-shadow: var(--lift);
  transition: transform .3s ease, box-shadow .3s ease;
}
.how__step::before, .url::before {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--sun-grad);
  transform: scaleX(.18); transform-origin: left; transition: transform .45s ease;
}
.how__step:hover, .url:hover { transform: translateY(-4px); box-shadow: var(--lift-hi); }
.how__step:hover::before, .url:hover::before { transform: scaleX(1); }
.url { background: #fffaf4; }
.security__inner { background: linear-gradient(180deg, #fff 0%, var(--sand) 100%); }

/* dark cards: glassy edge, inner top light, sun line on hover */
.cap, .callouts li {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 20px 40px -24px rgba(0,0,0,.7);
}
.cap::before, .callouts li::before {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 2px; background: var(--sun-grad);
  opacity: 0; transition: opacity .3s;
}
.cap:hover::before, .callouts li.is-lit::before { opacity: 1; }
.cap__icon { box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 8px 20px -6px rgba(255,94,98,.55); }

/* badges: square tiles with a little lift */
.badges li { aspect-ratio: auto; padding: 22px 8px; border: 1px solid rgba(29,21,48,.08); box-shadow: var(--lift); }

/* tab strip */
.demo__tabs { box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 20px 40px -20px rgba(0,0,0,.6); }
.pg__tab.is-active { box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 8px 20px -8px rgba(255,94,98,.6); }

/* film grain on the dark bands, so big colour fields don't look printed-flat */
.demo, .caps, .cta { position: relative; isolation: isolate; }
.demo::after, .caps::after, .cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.caps > .wrap, .demo > .wrap, .cta > .wrap { position: relative; z-index: 1; }

/* ---------- Sunset at the end of the page ---------- */
/* The top stays at golden hour. The sun only fully sets in the closing section,
   reaching the horizon exactly as the page reaches its bottom. */
.hero { height: auto; }
.hero__stage { position: relative; }

.cta { --p: 0; height: 220vh; padding: 0; overflow: clip; background: #140d2b; }
.cta__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate;
  display: grid; place-items: center; padding: 90px 16px 210px;
}
.cta__inner { position: relative; }
.cta__inner::before { /* same soft scrim as the hero, so text holds over the sun */
  content: ""; position: absolute; inset: -60px -80px; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(20,13,43,.5), rgba(20,13,43,.2) 60%, transparent 80%);
}
.cta .scroll-hint { display: none; }

/* the "on screen now" card uses display:grid, which would beat [hidden] */
.onnow[hidden] { display: none; }

/* ---------- Demo reel: photo frames ---------- */
.vid { height: 360px; }
.frames { position: absolute; inset: 0; }
.frame {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04); transition: opacity .7s ease;
}
.frame.is-on { opacity: 1; animation: kenburns 8s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.16) translate(-2%, -3%); } }
.vid__shade { /* keeps the handle, caption and time readable over any photo */
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, transparent 28%, transparent 52%, rgba(0,0,0,.65) 88%, color-mix(in srgb, var(--rbg) 90%, transparent) 100%);
}
.vid__top, .vid__pp, .vid__cap, .onnow, .vid__bar, .vid__time { z-index: 2; }
.vid__cap { bottom: 30px; text-align: left; font-size: 30px; }
.vid__cap small { display: block; font-family: var(--sans); font-size: 10.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--raccent); margin-bottom: 4px; }
.vid__time { position: absolute; right: 14px; bottom: 12px; font-size: 11px; font-weight: 700; color: rgba(255,255,255,.8); font-variant-numeric: tabular-nums; }
.onnow { bottom: 96px; }
.pbody { padding-top: 18px; }
.pnum { font-size: 52px; }

/* active step opens to show what to do */
.step__x { grid-column: 2 / 4; display: none; color: var(--rmuted); font-size: 12.5px; line-height: 1.5; margin-top: 2px; }
.step.is-on .step__x { display: block; animation: pop .3s ease; }

/* product thumbnails (letter stays as a fallback underneath) */
.item__ph { position: relative; overflow: hidden; width: 48px; height: 48px; }
.item__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.item { grid-template-columns: 48px 1fr auto; }

.demo__credit { max-width: 760px; margin: 48px auto 0; text-align: center; font-size: .78rem; line-height: 1.6; color: rgba(255,255,255,.45); }
.demo__credit a { text-decoration: underline; text-underline-offset: 2px; }

/* once the photos are in, the drawn stand-in scene steps aside */
.vid.has-frames .vid__sun, .vid.has-frames .vid__ground { display: none; }
.vid.has-frames { background: var(--rbg); }
/* display rules above would otherwise beat [hidden] */
.scale[hidden], .code[hidden] { display: none; }

/* ---------- Demo: seven tabs, five styles ---------- */
.demo__tabs { width: min(860px, 100%); overflow-x: auto; scrollbar-width: none; }
.demo__tabs::-webkit-scrollbar { display: none; }
.demo__tabs .pg__tab { flex: 1 0 auto; padding: 11px 14px; font-size: .9rem; }
.demo__style { text-align: center; margin: 26px 0 0; color: rgba(255,255,255,.6); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.demo__style b { color: var(--gold); font-weight: 700; }
.screen * { transition-property: background, color, border-color; }

/* Poster: loud condensed capitals, hard edges */
.phone[data-style="poster"] .pnum,
.phone[data-style="poster"] .ptitle,
.phone[data-style="poster"] .psh h4,
.phone[data-style="poster"] .step__n,
.phone[data-style="poster"] .code b,
.phone[data-style="poster"] .doit h4 { font-family: "Anton", "Arial Narrow", Impact, sans-serif; text-transform: uppercase; letter-spacing: .01em; }
.phone[data-style="poster"] .pnum { font-size: 84px; line-height: .85; opacity: 1; -webkit-text-stroke: 1.5px var(--raccent); color: transparent; }
.phone[data-style="poster"] .ptitle { font-size: 38px; line-height: .95; }
.phone[data-style="poster"] .psh h4 { font-size: 24px; }
.phone[data-style="poster"] .pbtn { text-transform: uppercase; letter-spacing: .06em; }
.phone[data-style="poster"] .facts span { background: var(--raccent); color: var(--raccentInk); border-color: var(--raccent); text-transform: uppercase; letter-spacing: .06em; }
.phone[data-style="poster"] .step { border-width: 0 0 1px; padding-inline: 0; }
.phone[data-style="poster"] .step.is-on { background: transparent; }
.phone[data-style="poster"] .step.is-on .step__t { color: var(--raccent); }

/* Editorial: magazine serif on paper, thin rules instead of boxes */
.phone[data-style="editorial"] .screen { font-family: Georgia, "Times New Roman", serif; }
.phone[data-style="editorial"] .pnum { font-style: italic; font-size: 22px; opacity: 1; letter-spacing: .04em; }
.phone[data-style="editorial"] .pnum::before { content: "Issue "; }
.phone[data-style="editorial"] .ptitle { font-size: 40px; font-style: italic; line-height: .98; margin-top: 8px; border-bottom: 1px solid var(--rink); padding-bottom: 12px; }
.phone[data-style="editorial"] .facts span { background: none; border: 0; padding: 0 10px 0 0; font-family: var(--sans); text-transform: uppercase; letter-spacing: .14em; font-size: 10px; color: var(--raccent); }
.phone[data-style="editorial"] .pbtn { font-family: var(--sans); font-weight: 700; }
.phone[data-style="editorial"] .psh { border-top: 2px solid var(--rink); padding-top: 8px; }
.phone[data-style="editorial"] .psh h4 { font-style: italic; }
.phone[data-style="editorial"] .need,
.phone[data-style="editorial"] .item { background: none; border-width: 0 0 1px; padding-inline: 0; }
.phone[data-style="editorial"] .needs { gap: 0 14px; }
.phone[data-style="editorial"] .need b { display: none; }
.phone[data-style="editorial"] .need span::before { content: "· "; color: var(--raccent); }
.phone[data-style="editorial"] .step { border-width: 0 0 1px; padding-inline: 0; }
.phone[data-style="editorial"] .step.is-on { background: none; }
.phone[data-style="editorial"] .step__n { font-style: italic; }
.phone[data-style="editorial"] .step__t { font-weight: 400; font-size: 15px; }
.phone[data-style="editorial"] .vid__cap { font-family: Georgia, serif; font-style: italic; }

/* Soft: rounded, airy, friendly */
.phone[data-style="soft"] .screen * { border-radius: 18px !important; }
.phone[data-style="soft"] .screen .facts span,
.phone[data-style="soft"] .screen .pbtn,
.phone[data-style="soft"] .screen .scale,
.phone[data-style="soft"] .screen .scale button,
.phone[data-style="soft"] .screen .av,
.phone[data-style="soft"] .screen .item__go,
.phone[data-style="soft"] .screen .vid__pp,
.phone[data-style="soft"] .screen .ptoast { border-radius: 999px !important; }
.phone[data-style="soft"] .screen .vid,
.phone[data-style="soft"] .screen .vid *,
.phone[data-style="soft"] .screen .step__fill { border-radius: 0 !important; }
.phone[data-style="soft"] .screen .vid { border-radius: 0 0 28px 28px !important; }
.phone[data-style="soft"] .pnum { font-family: var(--sans); font-weight: 800; font-size: 13px; letter-spacing: .1em; opacity: 1; display: inline-block; background: var(--rsurface); padding: 4px 10px; border-radius: 999px !important; }
.phone[data-style="soft"] .pnum::before { content: "Nº "; }
.phone[data-style="soft"] .ptitle { font-family: var(--sans); font-weight: 800; font-size: 27px; letter-spacing: -.02em; line-height: 1.08; margin-top: 10px; }
.phone[data-style="soft"] .psh h4 { font-family: var(--sans); font-weight: 800; font-size: 17px; }
.phone[data-style="soft"] .step__n { font-family: var(--sans); font-weight: 800; font-size: 13px; width: 26px; height: 26px; display: grid; place-items: center; background: var(--rsurface); border-radius: 50% !important; }
.phone[data-style="soft"] .step.is-on .step__n { background: var(--raccent); color: var(--raccentInk); }
.phone[data-style="soft"] .step { background: var(--rsurface); border-color: transparent; }
.phone[data-style="soft"] .step.is-on { background: color-mix(in srgb, var(--raccent) 14%, var(--rbg)); }
.phone[data-style="soft"] .code b { font-family: var(--sans); font-weight: 800; }

/* Terminal: monospace on a grid, brackets for buttons */
.phone[data-style="terminal"] .screen { font-family: "JetBrains Mono", ui-monospace, Menlo, monospace; font-size: 12.5px;
  background-image: linear-gradient(var(--rline) 1px, transparent 1px), linear-gradient(90deg, var(--rline) 1px, transparent 1px); background-size: 22px 22px; background-position: -1px -1px; }
.phone[data-style="terminal"] .pnum,
.phone[data-style="terminal"] .ptitle,
.phone[data-style="terminal"] .psh h4,
.phone[data-style="terminal"] .step__n,
.phone[data-style="terminal"] .code b,
.phone[data-style="terminal"] .doit h4,
.phone[data-style="terminal"] .vid__cap { font-family: "JetBrains Mono", ui-monospace, monospace; }
.phone[data-style="terminal"] .pnum { font-size: 13px; opacity: 1; }
.phone[data-style="terminal"] .pnum::before { content: "$ open reel/"; color: var(--rmuted); }
.phone[data-style="terminal"] .ptitle { font-size: 22px; font-weight: 700; line-height: 1.2; margin-top: 10px; }
.phone[data-style="terminal"] .ptitle::after { content: "_"; color: var(--raccent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.phone[data-style="terminal"] .facts span { background: var(--rbg); border-color: var(--raccent); color: var(--raccent); font-weight: 400; }
.phone[data-style="terminal"] .facts span::before { content: "#"; opacity: .6; }
.phone[data-style="terminal"] .pbtn { font-family: inherit; font-weight: 700; font-size: 12px; text-transform: lowercase; }
.phone[data-style="terminal"] .pbtn::before { content: "[ "; }
.phone[data-style="terminal"] .pbtn::after { content: " ]"; }
.phone[data-style="terminal"] .psh h4 { font-size: 14px; font-weight: 700; color: var(--raccent); }
.phone[data-style="terminal"] .psh h4::before { content: "> "; }
.phone[data-style="terminal"] .need,
.phone[data-style="terminal"] .step,
.phone[data-style="terminal"] .item { background: var(--rbg); }
.phone[data-style="terminal"] .step__n { font-size: 12px; color: var(--raccent); }
.phone[data-style="terminal"] .step__t { font-weight: 700; font-size: 12.5px; }
.phone[data-style="terminal"] .step.is-on { background: color-mix(in srgb, var(--raccent) 10%, var(--rbg)); }
.phone[data-style="terminal"] .code b { font-size: 22px; font-weight: 700; }

/* ---------- Demo: work with me (book, WhatsApp, sell) ---------- */
.pacts { display: grid; gap: 8px; }
.pact { display: grid; grid-template-columns: 36px minmax(0,1fr) auto; grid-template-areas: "ic tx pr" "go go go"; gap: 8px 10px; align-items: center; padding: 10px; background: var(--rsurface); border: 1px solid var(--rline); color: var(--rink); text-decoration: none; transition: border-color .2s; }
.pact:hover { border-color: var(--raccent); }
.pact__ic { grid-area: ic; width: 36px; height: 36px; display: grid; place-items: center; background: color-mix(in srgb, var(--raccent) 20%, var(--rbg)); color: var(--raccent); }
.pact--whatsapp .pact__ic, .pact--whatsapp .pact__go { background: #25D366; color: #06210f; }
.pact__tx { grid-area: tx; min-width: 0; }
.pact__tx b { display: block; font-size: 13px; line-height: 1.2; }
.pact__tx small { display: block; font-size: 11px; color: var(--rmuted); margin-top: 2px; line-height: 1.3; }
.pact__pr { grid-area: pr; font-family: var(--serif); font-size: 20px; color: var(--raccent); }
.pact__go { grid-area: go; text-align: center; padding: 9px; background: var(--raccent); color: var(--raccentInk); font-weight: 800; font-size: 12.5px; }
.phone[data-style="poster"] .pact__go, .phone[data-style="poster"] .pact__pr { font-family: "Anton", Impact, sans-serif; text-transform: uppercase; letter-spacing: .04em; font-weight: 400; }
.phone[data-style="editorial"] .pact { background: none; border-width: 0 0 1px; padding-inline: 0; }
.phone[data-style="editorial"] .pact__pr { font-family: Georgia, serif; font-style: italic; }
.phone[data-style="terminal"] .pact { background: var(--rbg); }
.phone[data-style="terminal"] .pact__go { font-family: "JetBrains Mono", monospace; text-transform: lowercase; }
.phone[data-style="terminal"] .pact__pr { font-family: "JetBrains Mono", monospace; font-size: 16px; }
.phone[data-style="soft"] .screen .pact { border-radius: 18px !important; }
.phone[data-style="soft"] .screen .pact__go { border-radius: 999px !important; }
.phone[data-style="soft"] .screen .pact__ic { border-radius: 12px !important; }
