/* PitchSun — light, clean, 3D-first. One warm accent: the sun. */
:root {
  --bg: #faf8f4;
  --bg-2: #f3efe8;
  --card: #fffdf9;
  --card-2: #f3efe8;
  --line: #e8e2d8;
  --line-2: #d9d1c4;
  --ink: #111113;
  --ink-2: #3b3a40;
  --mute: #6f6a63;
  --mute-2: #a19a90;
  --slate: #1d2b3a;
  --sand: #f6d7a7;
  --studio: #eceef2;
  --sun: #ffb020;
  --sun-2: #ff6a1f;
  --sun-grad: linear-gradient(120deg, #f6d7a7 0%, #f2a54a 45%, #f2711c 100%);
  --green: #0f9f58;
  --radius: 22px;
  --display: "General Sans", system-ui, sans-serif;
  --body: "Satoshi", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Gambetta", Georgia, serif;
  --mono: "Satoshi", system-ui, sans-serif;
  --wrap: 1280px;
  --ease: cubic-bezier(.2,.7,.1,1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* Film grain over everything — keeps big black areas from looking flat. */
body::after {
  display: none; content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .045; 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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, video, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); margin: 0; letter-spacing: -0.035em; line-height: 1; font-weight: 700; }
p { margin: 0; }
::selection { background: var(--sun); color: #000; }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 200; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--mute); }
.label { display: inline-flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.label::before { content: ""; width: 18px; height: 1px; background: var(--sun); }
.grad { background: var(--sun-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.dim { color: var(--mute-2); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; white-space: nowrap; cursor: pointer;
  overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s var(--ease), color .25s;
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--sun-grad); transform: translateY(101%); transition: transform .45s var(--ease); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 18px 40px -16px rgba(255,138,31,.6); color: #1a0d00; }
.btn:hover::after { transform: none; }
.btn .arr { transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--ghost { background: rgba(255,255,255,.75); color: var(--ink); border-color: var(--line-2); backdrop-filter: blur(10px); }
.btn--ghost::after { background: var(--ink); }
.btn--ghost:hover { color: #fff; box-shadow: none; }
.btn--sun { background: var(--sun-grad); color: #1a0d00; }
.btn--sun::after { background: var(--ink); }
.btn--sun:hover { color: #fff; }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
/* Outlined: the second button beside a solid one. */
.btn--line { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn--line::after { background: var(--ink); }
.btn--line:hover { color: #fff; box-shadow: none; }
.btn--lg { height: 56px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.link .arr { transition: transform .3s var(--ease); }
.link:hover .arr { transform: translateX(4px); }
.link:hover { color: var(--sun); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 60; padding: 16px 0; transition: padding .3s var(--ease); }
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(150%) blur(18px); border-bottom: 1px solid var(--line); opacity: 0; transition: opacity .3s; }
.nav.is-scrolled { padding: 10px 0; }
.nav.is-scrolled::before { opacity: 1; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 21px/1 var(--display); letter-spacing: -0.03em; }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-size: 14px; font-weight: 500; color: var(--mute); transition: color .2s; }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__cta { display: flex; align-items: center; gap: 6px; }
.nav__signin { font-size: 14px; font-weight: 600; padding: 8px 12px; color: var(--ink-2); }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__toggle span:first-child { top: 18px; }
.nav__toggle span:last-child { top: 25px; }
.nav.is-open .nav__toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:last-child { top: 21px; transform: rotate(-45deg); }
.nav__sheet { display: none; }
@media (max-width: 960px) {
  .nav__links, .nav__signin { display: none; }
  .nav__toggle { display: block; }
  .nav__sheet {
    display: grid; gap: 2px; position: fixed; inset: 74px 16px auto; padding: 12px; background: var(--card); border: 1px solid var(--line-2);
    border-radius: 22px; box-shadow: 0 30px 80px rgba(10,11,13,.18); opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none; transition: opacity .25s, transform .3s var(--ease);
  }
  .nav__sheet a { padding: 14px 16px; border-radius: 14px; font-weight: 600; font-size: 17px; }
  .nav__sheet a:hover { background: var(--card-2); }
  .nav__sheet .btn { margin-top: 8px; }
  .nav.is-open .nav__sheet { opacity: 1; transform: none; pointer-events: auto; }
}
@media (max-width: 520px) { .nav__cta .nav__demo { display: none; } .nav__cta .btn--sm .arr { display: none; } }
@media (max-width: 380px) { .nav__cta .btn--sm { padding: 0 12px; font-size: 13px; } .nav .logo span { font-size: 18px; } }

/* ---------- Hero: pinned orbit of a real 1.47 MW design ---------- */
.orbit { position: relative; height: 230vh; }
.orbit__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; background: linear-gradient(180deg, #f6f7f9 0%, #eceef2 60%, #e9ecf0 100%); }
.orbit__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.orbit__shade { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(246,247,249,.92) 0%, rgba(246,247,249,.6) 30%, rgba(246,247,249,0) 52%),
    linear-gradient(180deg, rgba(246,247,249,.7) 0%, rgba(246,247,249,0) 18%, rgba(255,255,255,0) 80%, #fff 100%); }
.orbit__head { position: absolute; left: 0; right: 0; top: 0; padding-top: 128px; z-index: 2; }
.orbit__head h1 { font-size: clamp(46px, 6.6vw, 100px); line-height: .94; letter-spacing: -0.05em; max-width: 9.5ch; }
.orbit__head p { margin-top: 22px; color: var(--ink-2); font-size: 18px; max-width: 440px; }
.orbit__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.orbit__fade { transition: opacity .2s linear; will-change: opacity, transform; }
.orbit__side { position: absolute; z-index: 2; left: max(16px, calc((100vw - var(--wrap)) / 2)); top: 50%; transform: translateY(-40%); width: min(420px, calc(100vw - 32px)); display: grid; gap: 18px; pointer-events: none; }
.orbit__tag { display: grid; gap: 12px; opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.orbit__tag.on { opacity: 1; transform: none; }
.orbit__tag h2 { font-size: clamp(28px, 3vw, 42px); letter-spacing: -0.03em; }
.orbit__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.spec { display: grid; gap: 8px; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.82); box-shadow: 0 10px 30px -18px rgba(10,11,13,.3); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.spec.on { opacity: 1; transform: none; }
.spec span { font: 500 10.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.spec b { font: 700 24px/1 var(--display); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.orbit__progress { position: absolute; z-index: 2; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; color: var(--mute); font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.orbit__progress i { width: 120px; height: 2px; border-radius: 2px; background: var(--line-2); position: relative; overflow: hidden; }
.orbit__progress i::after { content: ""; position: absolute; inset: 0; background: var(--sun-grad); transform-origin: left; transform: scaleX(var(--p, 0)); }
@media (max-width: 960px) {
  .orbit { height: 200vh; }
  .orbit__shade { background: linear-gradient(180deg, rgba(246,247,249,.96) 0%, rgba(246,247,249,.7) 38%, rgba(246,247,249,0) 55%, rgba(255,255,255,0) 82%, #fff 100%); }
  .orbit__head { padding-top: 100px; }
  .orbit__head p { font-size: 16px; }
  .orbit__actions .btn { flex: 1; height: 50px; padding: 0 12px; font-size: 15px; }
  .orbit__side { top: auto; bottom: 64px; transform: none; }
  .orbit__tag h2 { font-size: 22px; }
  .orbit__tag .label { display: none; }
  .spec { padding: 10px 12px; }
  .spec:nth-child(n+5) { display: none; }
  .spec b { font-size: 18px; }
}

/* ---------- Ticker ---------- */
.ticker { position: relative; overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; background: var(--bg); }
.ticker__track { display: flex; width: max-content; animation: tick 46s linear infinite; }
.ticker span { display: inline-flex; align-items: center; gap: 30px; padding-right: 30px; font: 500 13px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); white-space: nowrap; }
.ticker span::after { content: "✦"; color: var(--sun); font-size: 10px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(88px, 12vw, 160px) 0; position: relative; }
.section--tight { padding-top: 0; }
.head { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 24px 64px; margin-bottom: clamp(40px, 6vw, 72px); }
.head h2 { font-size: clamp(38px, 5.6vw, 76px); line-height: .98; }
.head p { color: var(--mute); font-size: 17px; max-width: 460px; }
.head .label { grid-column: 1 / -1; margin-bottom: -6px; }
.head--center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.head--center p { margin-inline: auto; }
@media (max-width: 860px) { .head { grid-template-columns: 1fr; } }

.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split .w > span { display: inline-block; transform: translateY(108%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 40ms); }
.split.in .w > span { transform: none; }

/* ---------- Segments: homes / commercial / factories ---------- */
.seg-tabs { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); position: relative; }
.seg-tabs button { position: relative; z-index: 1; height: 42px; padding: 0 20px; border: 0; background: none; border-radius: 999px; color: var(--mute); font-weight: 600; font-size: 14px; cursor: pointer; transition: color .3s; }
.seg-tabs button.on { color: #fff; }
.seg-tabs .pill-bg { position: absolute; top: 5px; bottom: 5px; border-radius: 999px; background: var(--ink); transition: left .5s var(--ease), width .5s var(--ease); }
.segs { margin-top: 28px; display: grid; grid-template-columns: 1fr 360px; gap: 16px; }
.segs__view { position: relative; aspect-ratio: 16 / 9.4; border-radius: var(--radius); overflow: hidden; background: var(--studio); border: 1px solid var(--line); }
.segs__view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity .8s var(--ease), transform 1.4s var(--ease); }
.segs__view img.on { opacity: 1; transform: none; }
.segs__view::after { content: none; }
.segs__info { border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; }
.segs__info [data-pane] { display: none; flex-direction: column; height: 100%; animation: paneIn .6s var(--ease); }
.segs__info [data-pane].on { display: flex; }
@keyframes paneIn { from { opacity: 0; transform: translateY(10px); } }
.segs__info h3 { font-size: 30px; margin: 14px 0 10px; }
.segs__info p { color: var(--mute); font-size: 15px; }
.kv { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.kv div { background: #fff; padding: 14px; }
.kv small { display: block; font: 500 10.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-bottom: 6px; }
.kv b { font: 700 20px/1 var(--display); letter-spacing: -0.02em; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 22px; }
.chips span { padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12px; color: var(--ink-2); }
@media (max-width: 960px) { .segs { grid-template-columns: 1fr; } .kv { margin-top: 20px; } }
@media (max-width: 520px) { .seg-tabs button { padding: 0 14px; font-size: 13px; } }

/* ---------- 3D gallery (drag to scroll) ---------- */
.gallery { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px max(16px, calc((100vw - var(--wrap)) / 2)) 24px; scrollbar-width: none; cursor: grab; }
.gallery::-webkit-scrollbar { display: none; }
.gallery.dragging { cursor: grabbing; scroll-snap-type: none; }
.shot { flex: 0 0 min(760px, 84vw); scroll-snap-align: center; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--studio); border: 1px solid var(--line); margin: 0; }
.shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; pointer-events: none; transition: transform 1.2s var(--ease); }
.shot:hover img { transform: scale(1.03); }
.shot figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 20px; background: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,.95) 60%); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.shot figcaption b { font: 700 22px/1.1 var(--display); letter-spacing: -0.02em; display: block; }
.shot figcaption small { color: var(--mute); font-size: 13px; }
.shot figcaption .mono { white-space: nowrap; color: var(--ink-2); }
.gallery__nav { display: flex; gap: 8px; }
.gallery__nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: #fff; cursor: pointer; transition: background .2s, color .2s; }
.gallery__nav button:hover { background: var(--ink); color: #fff; }

/* ---------- Commercial ---------- */
.ci { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; }
.ci__pic { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 520px; background: var(--studio); }
.ci__pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ci__pic .badge { position: absolute; left: 18px; top: 18px; }
.badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(255,255,255,.85); border: 1px solid var(--line-2); font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); backdrop-filter: blur(10px); }
.badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(74,222,128,.15); }
.ci__list { display: grid; gap: 10px; align-content: start; }
.ci__item { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); transition: border-color .3s, background .3s; }
.ci__item:hover { border-color: var(--line-2); background: #fff; box-shadow: 0 16px 40px -24px rgba(10,11,13,.25); }
.ci__item .n { font: 500 12px/40px var(--mono); color: #c25e00; text-align: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,176,32,.12); border: 1px solid rgba(255,176,32,.35); }
.ci__item h3 { font-size: 18px; letter-spacing: -0.015em; margin-bottom: 4px; }
.ci__item p { color: var(--mute); font-size: 14px; }
@media (max-width: 960px) { .ci { grid-template-columns: 1fr; } .ci__pic { min-height: 320px; } }

/* ---------- Flow (5 steps) ---------- */
.flow { display: grid; grid-template-columns: 340px 1fr; gap: 16px; }
.flow__steps { display: grid; gap: 6px; align-content: start; }
.flow__steps button { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; text-align: left; padding: 16px; border-radius: 16px; border: 1px solid transparent; background: none; cursor: pointer; color: var(--mute); transition: background .3s, border-color .3s, color .3s; position: relative; overflow: hidden; }
.flow__steps button .n { font: 500 12px/1 var(--mono); }
.flow__steps button b { font: 600 17px/1.2 var(--display); letter-spacing: -0.01em; }
.flow__steps button small { font: 500 11px/1 var(--mono); color: var(--mute-2); }
.flow__steps button.on { background: var(--bg-2); border-color: var(--line-2); color: var(--ink); }
.flow__steps button.on .n { color: #c25e00; }
.flow__steps button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--sun-grad); transform: scaleX(0); transform-origin: left; }
.flow__steps button.on::after { animation: fill var(--dur, 5s) linear forwards; }
.flow.paused .flow__steps button.on::after { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.flow__view { position: relative; border-radius: var(--radius); background: var(--studio); border: 1px solid var(--line); overflow: hidden; aspect-ratio: 16 / 10; }
.flow__view figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .7s var(--ease); display: grid; }
.flow__view figure.on { opacity: 1; }
.flow__view img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.flow__view figure.ui { padding: 28px; background: radial-gradient(80% 80% at 50% 0%, #f7f8fa, #e6e9ee); }
.flow__view figure.ui img { border-radius: 12px; border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(10,11,13,.35); object-fit: cover; }
.flow__view figure.phone { place-items: center; background: radial-gradient(70% 70% at 50% 40%, #f7f8fa, #e3e6eb); }
.flow__view figure.phone img { width: auto; height: 90%; object-fit: contain; border-radius: 26px; box-shadow: 0 0 0 7px #17181c, 0 0 0 8px #2b2e35, 0 30px 60px -20px rgba(10,11,13,.45); }
.flow__text { margin-top: 14px; color: var(--mute); font-size: 15px; max-width: 640px; min-height: 48px; }
@media (max-width: 960px) {
  .flow { grid-template-columns: 1fr; }
  .flow__steps { grid-template-columns: repeat(5, 1fr); gap: 4px; }
  .flow__steps button { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 12px 4px; gap: 6px; }
  .flow__steps button b { font-size: 12px; }
  .flow__steps button small { display: none; }
  .flow__view figure.ui { padding: 12px; }
}

/* ---------- Sun simulator ---------- */
.sim { display: grid; grid-template-columns: 1.35fr .65fr; gap: 16px; }
.sim__stage { position: relative; min-height: 560px; border-radius: var(--radius); overflow: hidden; cursor: grab; touch-action: pan-y; background: radial-gradient(70% 70% at 50% 35%, #f3f4f6 0%, #e3e6ea 60%, #d8dce2 100%); border: 1px solid var(--line); }
.sim__stage:active { cursor: grabbing; }
.sim__scene { position: absolute; inset: 0; perspective: 1500px; perspective-origin: 50% 30%; }
.sim__world { position: absolute; left: 50%; top: 52%; width: 0; height: 0; transform-style: preserve-3d; }
.sim__floor { position: absolute; transform-style: preserve-3d; }
.sim__ground { position: absolute; inset: -400px; background: radial-gradient(closest-side, rgba(120,126,138,.35), rgba(120,126,138,0)); transform: translateZ(-2px); }
.sim__slab { position: absolute; inset: 0; background: linear-gradient(135deg, #e9e7e2, #d6d3cc); }
.sim__slab::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(0,0,0,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(0,0,0,.035) 1px, transparent 1px); background-size: 36px 36px; }
.sim__shadows { position: absolute; inset: 0; transform: translateZ(.6px); overflow: visible; }
.box { position: absolute; transform-style: preserve-3d; }
.box > i { position: absolute; display: block; }
.box .t { inset: 0; }
.box .n, .box .s { left: 0; width: 100%; transform-origin: 0 0; }
.box .w, .box .e { top: 0; height: 100%; transform-origin: 0 0; }
.tbl { position: absolute; transform-style: preserve-3d; }
.tbl__deck { position: absolute; left: 0; bottom: 0; width: 100%; transform-origin: 50% 100%; display: grid; gap: 2px; padding: 2px; background: #c9ccd4; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.mod { position: relative; background: linear-gradient(160deg, #3157c9 0%, #1a2f86 55%, #142362 100%); border-radius: 1px; overflow: hidden; transition: filter .35s; }
.mod::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 100% 16.6%, 50% 100%; }
.mod::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255,255,255,.18), transparent 45%); }
.mod.shaded { filter: brightness(.38) saturate(.6); }
.mod.part { filter: brightness(.66); }
.leg { position: absolute; width: 4px; background: #a8adb7; transform-origin: 50% 100%; }
.sim__hud { position: absolute; left: 16px; top: 16px; right: 16px; display: flex; justify-content: space-between; gap: 12px; pointer-events: none; }
.sim__hint { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); color: var(--mute); font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; pointer-events: none; transition: opacity .5s; white-space: nowrap; }
.sim__panel { border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); padding: 26px; display: flex; flex-direction: column; gap: 22px; }
.seg3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; background: #fff; border-radius: 999px; border: 1px solid var(--line); }
.seg3 button { height: 36px; border-radius: 999px; border: 0; background: none; color: var(--mute); font-weight: 600; font-size: 13px; cursor: pointer; transition: background .25s, color .25s; }
.seg3 button.on { background: var(--ink); color: #fff; }
.sim__time { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.sim__time b { font: 700 44px/1 var(--display); letter-spacing: -0.04em; }
.sim__time span { color: var(--mute); font: 500 11px/1.3 var(--mono); text-align: right; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--sun) var(--p, 50%), var(--line-2) var(--p, 50%)); outline: none; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 5px solid var(--sun-2); cursor: pointer; box-shadow: 0 4px 12px rgba(10,11,13,.25); }
.range::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 5px solid var(--sun-2); cursor: pointer; }
.readout { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.readout div { background: #fff; padding: 14px 16px; }
.readout small { display: block; font: 500 10.5px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }
.readout b { font: 700 22px/1 var(--display); letter-spacing: -0.02em; }
.readout b.warn { color: #d97706; }
.readout b.ok { color: var(--green); }
.sim__note { font-size: 12px; color: var(--mute-2); margin-top: auto; }
@media (max-width: 960px) { .sim { grid-template-columns: 1fr; } .sim__stage { min-height: 420px; } }

/* ---------- Cards ---------- */
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cell { --mx: 50%; --my: 50%; position: relative; background: #fff; padding: 32px 28px; min-height: 240px; display: flex; flex-direction: column; isolation: isolate; }
.cell::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(255,176,32,.12), transparent 50%); }
.cell:hover::before { opacity: 1; }
.cell .ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,176,32,.12); border: 1px solid rgba(255,176,32,.35); color: #c25e00; margin-bottom: auto; }
.cell h3 { font-size: 21px; letter-spacing: -0.02em; margin: 40px 0 8px; }
.cell p { color: var(--mute); font-size: 14.5px; }
@media (max-width: 960px) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .grid3 { grid-template-columns: 1fr; } }

/* ---------- Stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
.stat { padding: 40px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 700 clamp(48px, 6vw, 84px)/1 var(--display); letter-spacing: -0.05em; }
.stat b sup { font-size: .38em; vertical-align: top; margin-left: 4px; color: var(--sun-2); }
.stat > span { display: block; margin-top: 14px; font: 500 11px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: .85fr 1.15fr; gap: 16px; }
.calc__form, .calc__out { border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); }
.calc__form { background: var(--bg-2); display: grid; gap: 22px; align-content: start; }
.calc__out { background: #fff; box-shadow: 0 30px 60px -40px rgba(10,11,13,.3); display: flex; flex-direction: column; gap: 22px; }
.field label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 10px; }
.field label output { font: 600 14px/1 var(--mono); color: var(--ink); }
.field select { width: 100%; height: 48px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; padding: 0 14px; font: 500 15px var(--body); color: var(--ink); }
.field small { display: block; color: var(--mute-2); font-size: 12px; margin-top: 8px; }
.calc__big small { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.calc__big b { display: block; font: 800 clamp(56px, 7vw, 96px)/1 var(--display); letter-spacing: -0.055em; margin: 10px 0 4px; }
.calc__big span { color: var(--mute); font-size: 14px; }
.calc__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.calc__grid div { background: #fff; padding: 14px 16px; }
.calc__grid small { display: block; font: 500 10.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }
.calc__grid b { font: 700 20px/1 var(--display); letter-spacing: -0.02em; }
.calc__grid .pos b { color: var(--green); }
.calc__chart small { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.calc__chart b { float: right; font: 700 18px/1 var(--display); }
.calc__chart svg { width: 100%; height: 150px; display: block; margin-top: 12px; }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } .calc__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Pricing ---------- */
.billing { display: inline-flex; align-items: center; gap: 10px; padding: 5px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); position: relative; }
.billing button { position: relative; z-index: 1; height: 40px; padding: 0 20px; border: 0; background: none; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--mute); cursor: pointer; transition: color .3s; }
.billing button.on { color: #fff; }
.billing .pill-bg { position: absolute; top: 5px; bottom: 5px; border-radius: 999px; background: var(--ink); transition: left .45s var(--ease), width .45s var(--ease); }
.billing .save { padding: 6px 10px; margin-right: 6px; border-radius: 999px; background: rgba(15,159,88,.1); color: var(--green); font: 600 11px/1 var(--mono); letter-spacing: .04em; }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; }
.plan { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); padding: 28px 24px; transition: transform .5s var(--ease), border-color .3s; }
.plan:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 24px 50px -30px rgba(10,11,13,.3); }
.plan__cap { display: inline-flex; align-self: flex-start; padding: 7px 10px; border-radius: 999px; border: 1px solid var(--line-2); font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 20px; }
.plan h3 { font-size: 26px; letter-spacing: -0.03em; }
.plan__for { color: var(--mute); font-size: 14px; margin: 6px 0 24px; min-height: 44px; }
.plan__price { display: flex; align-items: baseline; gap: 6px; }
.plan__price b { font: 800 42px/1 var(--display); letter-spacing: -0.045em; font-variant-numeric: tabular-nums; }
.plan__price span { color: var(--mute); font-size: 14px; }
.plan__bill { color: var(--mute); font-size: 13px; margin-top: 8px; min-height: 20px; }
.plan .btn { margin: 22px 0 24px; }
.plan ul { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 14px; color: var(--ink-2); }
.plan li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; line-height: 1.45; }
.plan li::before { content: ""; width: 16px; height: 16px; margin-top: 2px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.3l2.8 2.7L12.5 5' fill='none' stroke='%23e07a00' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
.plan li.all { font-weight: 600; color: var(--ink); }
.plan--pop { background: linear-gradient(180deg, #fff6e5 0%, #ffffff 45%); border-color: rgba(255,150,32,.55); box-shadow: 0 0 0 1px rgba(255,176,32,.18), 0 40px 80px -40px rgba(255,138,31,.45); }
.plan__badge { position: absolute; top: -12px; right: 20px; padding: 7px 12px; border-radius: 999px; background: var(--sun-grad); color: #1a0d00; font: 700 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.price-anim { display: inline-block; transition: opacity .25s, transform .35s var(--ease); }
.price-anim.out { opacity: 0; transform: translateY(-10px); }
.plans__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 22px; color: var(--mute); font-size: 13px; }
@media (max-width: 1080px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .plans { grid-template-columns: 1fr; } .plan__for { min-height: 0; } }
.trial { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-top: 12px; padding: 20px 24px; border-radius: var(--radius); background: var(--card); border: 1px dashed var(--line-2); font-size: 15px; color: var(--ink-2); }
.trial b { color: var(--ink); }
.trial .btn { flex-shrink: 0; }
.sky__fine { margin-top: 14px; font-size: 13px; color: var(--ink-2); }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.compare th, .compare td { padding: 15px 18px; text-align: center; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { background: #fff; font: 700 16px/1.2 var(--display); color: var(--ink); }
.compare thead th small { display: block; font: 500 10.5px/1.6 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.compare tr.grp td { background: var(--bg-2); font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.compare .y { display: inline-block; width: 18px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.3l2.8 2.7L12.5 5' fill='none' stroke='%23e07a00' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.compare .n { color: var(--mute-2); }
.compare .hl { background: rgba(255,176,32,.07); }
.compare tr:last-child td { border-bottom: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.faq h2 { font-size: clamp(40px, 5.4vw, 72px); line-height: .98; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font: 600 19px/1.3 var(--display); letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; transition: background .3s, border-color .3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.faq summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq details[open] summary i { background: var(--sun); border-color: var(--sun); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: #000; }
.faq details[open] summary i::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .ans { color: var(--mute); padding: 0 48px 24px 0; max-width: 680px; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; border-radius: 32px; border: 1px solid var(--line); min-height: 540px; display: flex; align-items: flex-end; padding: clamp(28px, 6vw, 72px); isolation: isolate; }
.cta > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); transition: transform 2s var(--ease); }
.cta:hover > img { transform: scale(1); }
.cta { background: var(--studio); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(246,247,249,.97) 0%, rgba(246,247,249,.75) 45%, rgba(246,247,249,0) 100%); }
.cta h2 { font-size: clamp(42px, 6vw, 92px); line-height: .95; max-width: 11ch; }
.cta p { color: var(--ink-2); font-size: 18px; max-width: 440px; margin: 20px 0 30px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { .cta::before { background: linear-gradient(0deg, rgba(246,247,249,.98) 35%, rgba(246,247,249,.4) 100%); } }

/* ---------- Footer ---------- */
.foot { padding: 80px 0 36px; border-top: 1px solid var(--line); margin-top: 40px; }
.foot__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.foot__grid h4 { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 18px; }
.foot__grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); }
.foot__grid a:hover { color: var(--sun); }
.foot__grid p { color: var(--mute); max-width: 300px; margin-top: 14px; font-size: 15px; }
.foot__word { margin-top: 72px; font: 800 clamp(72px, 19.5vw, 300px)/.8 var(--display); letter-spacing: -0.07em; white-space: nowrap; user-select: none;
  background: linear-gradient(180deg, #e4e4e0 0%, #ffffff 92%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.foot__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--mute-2); font-size: 13px; }
@media (max-width: 760px) { .foot__grid { grid-template-columns: 1fr 1fr; } .foot__grid > div:first-child { grid-column: 1 / -1; } }

/* ---------- Inner-page hero ---------- */
.phero { padding: 160px 0 30px; text-align: center; position: relative; isolation: isolate; }
.phero::before { content: ""; position: absolute; left: 50%; top: -200px; width: min(900px, 100vw); height: 600px; transform: translateX(-50%); z-index: -1; background: radial-gradient(closest-side, rgba(255,176,32,.22), transparent); }
.phero h1 { font-size: clamp(54px, 9vw, 128px); letter-spacing: -0.06em; line-height: .9; }
.phero p { color: var(--mute); font-size: 19px; max-width: 560px; margin: 22px auto 34px; }

.wa { position: fixed; right: 20px; bottom: 20px; z-index: 50; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #25d366; box-shadow: 0 14px 30px -10px rgba(37,211,102,.6); transition: transform .4s var(--ease); }
.wa:hover { transform: scale(1.08) rotate(-6deg); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv, .split .w > span { opacity: 1; transform: none; }
}

/* =====================================================================
   Sky hero — the sky, the sun and the light follow the designer's clock
   ===================================================================== */
.sky {
  --top: #9cc7ef; --mid: #d9ecfb; --low: #fff3dc; --glow: rgba(255,190,90,.55);
  --sx: 18%; --sy: 70%;
  position: relative; overflow: hidden; padding: 116px 0 64px; isolation: isolate;
  background: linear-gradient(180deg, var(--top) 0%, var(--mid) 48%, var(--low) 100%);
  transition: background 1.2s linear;
}
.sky__sun { position: absolute; z-index: -1; left: var(--sx); top: var(--sy); width: 180px; height: 180px; margin: -90px 0 0 -90px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, #fffdf3 0 18%, #ffe39a 30%, rgba(255,196,84,.55) 46%, rgba(255,170,60,0) 70%);
  filter: blur(.5px); transition: left 1.2s linear, top 1.2s linear, opacity .8s; }
.sky__glow { position: absolute; z-index: -2; left: var(--sx); top: var(--sy); width: 1100px; height: 1100px; margin: -550px 0 0 -550px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, var(--glow), transparent 70%); transition: left 1.2s linear, top 1.2s linear, background 1.2s linear; }
.sky__haze { position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(255,255,255,.9)); pointer-events: none; }
.sky__head { text-align: center; position: relative; }
.sky__head h1 { font-size: clamp(40px, 5.4vw, 80px); line-height: .98; letter-spacing: -0.05em; max-width: 16ch; margin: 16px auto 0; }
.sky__head p { color: var(--ink-2); font-size: 18px; max-width: 560px; margin: 20px auto 0; }
.sky__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.sky .label { color: var(--ink-2); }

/* ---------- Designer preview window (Graphite theme) ---------- */
.dp-wrap { position: relative; margin-top: 44px; }
.dp {
  --g-side: #111114; --g-slate: #1e293b; --g-canvas: #f0f0f2; --g-line: #e4e4e8; --g-ink: #141418; --g-mute: #6e6e7a;
  position: relative; border-radius: 18px; overflow: hidden; background: #fff; color: var(--g-ink);
  box-shadow: 0 1px 0 rgba(255,255,255,.8) inset, 0 50px 100px -30px rgba(15,23,42,.45), 0 0 0 1px rgba(15,23,42,.08);
  font-family: var(--body); font-size: 13px; user-select: none;
}
.dp__bar { display: flex; align-items: center; gap: 14px; height: 52px; padding: 0 14px; border-bottom: 1px solid var(--g-line); background: #fff; }
.dp__dots { display: flex; gap: 6px; }
.dp__dots i { width: 11px; height: 11px; border-radius: 50%; background: #e4e4e8; }
.dp__title { font-weight: 600; font-size: 13px; line-height: 1.2; white-space: nowrap; }
.dp__title small { display: block; font-weight: 400; color: var(--g-mute); font-size: 11.5px; }
.dp__tabs { display: flex; gap: 2px; padding: 3px; margin: 0 auto; background: var(--g-canvas); border-radius: 10px; }
.dp__tabs span { padding: 6px 12px; border-radius: 8px; color: var(--g-mute); font-weight: 500; font-size: 12.5px; transition: background .3s, color .3s, box-shadow .3s; white-space: nowrap; }
.dp__tabs span.on { background: #fff; color: var(--g-ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.dp__cta { padding: 8px 14px; border-radius: 9px; background: var(--g-slate); color: #fff; font-weight: 600; font-size: 12.5px; white-space: nowrap; transition: transform .3s var(--ease), box-shadow .3s; }
.dp__cta.pulse { animation: pulse 1.2s var(--ease) 2; }
@keyframes pulse { 50% { transform: scale(1.06); box-shadow: 0 0 0 6px rgba(30,41,59,.15); } }
.dp__body { display: grid; grid-template-columns: 62px 236px 1fr 228px; height: 560px; }
.dp__rail { background: var(--g-side); display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 0; }
.dp__rail i { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: #8d8d99; position: relative; transition: background .3s, color .3s; }
.dp__rail i.on { background: #e4e4e7; color: #111114; }
.dp__rail i b { position: absolute; top: -3px; right: -3px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: #fff; color: #111; font: 700 9.5px/16px var(--body); text-align: center; box-shadow: 0 0 0 2px var(--g-side); }
.dp__panel { border-right: 1px solid var(--g-line); padding: 16px; display: flex; flex-direction: column; gap: 12px; background: #fff; }
.dp__panel h4 { font: 600 14px/1.2 var(--body); letter-spacing: 0; }
.dp__btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border-radius: 10px; background: var(--g-slate); color: #fff; font-weight: 600; font-size: 13px; transition: transform .25s var(--ease), box-shadow .25s; }
.dp__btn.ghost { background: #fff; color: var(--g-ink); border: 1px solid var(--g-line); }
.dp__btn.press { transform: scale(.96); box-shadow: 0 0 0 5px rgba(30,41,59,.15); }
.dp__card { border: 1px solid var(--g-line); border-radius: 12px; padding: 10px 12px; display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center; }
.dp__card .wp { width: 44px; height: 44px; border-radius: 9px; background: var(--g-slate); color: #fff; display: grid; place-items: center; font: 700 13px/1 var(--body); text-align: center; }
.dp__card .wp small { display: block; font-size: 9px; font-weight: 500; opacity: .8; }
.dp__card b { font-size: 12.5px; display: block; }
.dp__card span { color: var(--g-mute); font-size: 11px; }
.dp__tag { display: inline-flex; padding: 2px 6px; border-radius: 6px; background: var(--g-canvas); font-size: 10.5px; color: var(--g-ink); margin-right: 4px; }
.dp__kv { display: grid; gap: 8px; font-size: 12px; color: var(--g-mute); }
.dp__kv div { display: flex; justify-content: space-between; }
.dp__kv b { color: var(--g-ink); font-weight: 600; }
.dp__hint { margin-top: auto; padding: 10px 12px; border-radius: 10px; background: var(--g-canvas); color: var(--g-mute); font-size: 11.5px; line-height: 1.45; min-height: 52px; transition: opacity .3s; }
.dp__stage { position: relative; overflow: hidden; background: #d8d4cb; cursor: grab; touch-action: pan-y; }
.dp__stage:active { cursor: grabbing; }
.dp__map { position: absolute; inset: -20%; opacity: 1; transition: opacity 1s; pointer-events: none;
  background:
    radial-gradient(60px 40px at 18% 30%, rgba(80,110,70,.55), transparent 70%),
    radial-gradient(80px 50px at 82% 78%, rgba(80,110,70,.5), transparent 70%),
    radial-gradient(50px 50px at 70% 20%, rgba(80,110,70,.45), transparent 70%),
    linear-gradient(90deg, transparent 47%, rgba(120,120,120,.35) 47% 53%, transparent 53%),
    repeating-linear-gradient(0deg, #cfc9bd 0 120px, #c7c1b4 120px 122px),
    #cdc7ba; filter: blur(.4px) saturate(.9); }
.dp__stage.is3d .dp__map { opacity: 0; }
.dp__sky3d { position: absolute; inset: 0; opacity: 0; transition: opacity 1s; background: linear-gradient(180deg, var(--top, #cfe3f6), #eef2f5 60%, #e3e5e8); pointer-events: none; }
.dp__stage.is3d .dp__sky3d { opacity: 1; }
.dp__scene { position: absolute; inset: 0; perspective: 1400px; perspective-origin: 50% 35%; }
.dp__world { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transition: transform 1.6s cubic-bezier(.65,0,.35,1); }
.dp__world.free { transition: none; }
.dp__floor { position: absolute; transform-style: preserve-3d; }
.dp__ground { position: absolute; inset: -500px; background: radial-gradient(closest-side, rgba(120,126,138,.28), rgba(120,126,138,0)); transform: translateZ(-2px); opacity: 0; transition: opacity 1s; }
.dp__stage.is3d .dp__ground { opacity: 1; }
.dp__slab { position: absolute; inset: 0; background: linear-gradient(135deg, #efede8, #dedad2); opacity: 0; transition: opacity .6s; }
.dp__slab.on { opacity: 1; }
.dp__overlay { position: absolute; inset: 0; overflow: visible; transform: translateZ(1px); }
.dp .box { opacity: 0; transition: opacity .5s; }
.dp .box.on { opacity: 1; }
.dp .tbl__deck { transition: transform 1.2s var(--ease); }
.dp .mod { opacity: 0; transform: scale(.4); transition: opacity .35s, transform .45s var(--ease), filter .35s; }
.dp .mod.in { opacity: 1; transform: none; }
.dp .leg { opacity: 0; transition: opacity .6s; }
.dp__stage.is3d .leg { opacity: 1; }
.dp__sunbar { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.92); box-shadow: 0 8px 24px -10px rgba(0,0,0,.3); transform: translateY(140%); transition: transform .6s var(--ease); }
.dp__stage.is3d .dp__sunbar { transform: none; }
.dp__sunbar b { font-weight: 600; white-space: nowrap; }
.dp__sunbar select, .dp__sunbar .pill { border: 1px solid var(--g-line); border-radius: 8px; padding: 4px 8px; font-size: 12px; background: #fff; color: var(--g-ink); }
.dp__sunbar input { flex: 1; accent-color: var(--g-slate); }
.dp__sunbar .t { font-weight: 600; min-width: 64px; text-align: right; font-variant-numeric: tabular-nums; }
.dp__toolchip { position: absolute; left: 12px; top: 12px; z-index: 3; display: flex; gap: 2px; padding: 3px; border-radius: 10px; background: rgba(255,255,255,.92); box-shadow: 0 4px 14px -6px rgba(0,0,0,.3); }
.dp__toolchip span { padding: 5px 10px; border-radius: 7px; font-size: 12px; color: var(--g-mute); }
.dp__toolchip span.on { background: var(--g-side); color: #fff; }
.dp__toast { position: absolute; left: 50%; top: 14px; z-index: 4; transform: translate(-50%, -160%); padding: 9px 14px; border-radius: 10px; background: var(--g-side); color: #fff; font-size: 12.5px; font-weight: 500; white-space: nowrap; transition: transform .5s var(--ease); display: flex; align-items: center; gap: 8px; }
.dp__toast.on { transform: translate(-50%, 0); }
.dp__toast i { width: 16px; height: 16px; border-radius: 50%; background: #22c55e; display: grid; place-items: center; font-size: 10px; font-style: normal; }
.dp__cursor { position: absolute; z-index: 6; left: 0; top: 0; width: 22px; height: 22px; pointer-events: none; transition: transform .9s cubic-bezier(.65,0,.35,1), opacity .3s; opacity: 0; }
.dp__cursor.on { opacity: 1; }
.dp__cursor::after { content: ""; position: absolute; left: -9px; top: -9px; width: 40px; height: 40px; border-radius: 50%; background: rgba(30,41,59,.25); transform: scale(0); opacity: 0; }
.dp__cursor.click::after { animation: ripple .5s ease-out; }
@keyframes ripple { from { transform: scale(.2); opacity: 1; } to { transform: scale(1); opacity: 0; } }
.dp__sum { border-left: 1px solid var(--g-line); padding: 16px; display: flex; flex-direction: column; gap: 14px; background: #fff; }
.dp__big { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 10px; }
.dp__big small { display: block; color: var(--g-mute); font-size: 11px; margin-bottom: 3px; }
.dp__big b { font: 700 20px/1 var(--body); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.dp__money { border: 1px solid var(--g-line); border-radius: 12px; padding: 10px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.dp__money small { display: block; color: var(--g-mute); font-size: 10px; }
.dp__money b { font-size: 13px; font-variant-numeric: tabular-nums; }
.dp__money b.g { color: #15803d; }
.dp__money .sub { grid-column: 1 / -1; padding: 6px 8px; border-radius: 8px; background: #f0fdf4; color: #15803d; font-size: 11px; font-weight: 500; }
.dp__checks { display: grid; gap: 7px; font-size: 12px; color: var(--g-mute); }
.dp__checks div { display: flex; align-items: center; gap: 8px; transition: color .3s; }
.dp__checks i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid #cfcfd5; display: grid; place-items: center; font-size: 9px; font-style: normal; color: #fff; transition: background .3s, border-color .3s; }
.dp__checks .ok { color: var(--g-ink); }
.dp__checks .ok i { background: #22c55e; border-color: #22c55e; }
.dp__phone { position: absolute; right: -28px; bottom: -36px; z-index: 5; width: 230px; border-radius: 34px; padding: 9px; background: #111114; box-shadow: 0 40px 80px -24px rgba(15,23,42,.6); transform: translateY(40px) rotate(4deg); opacity: 0; transition: transform .9s var(--ease), opacity .6s; pointer-events: none; }
.dp__phone.on { transform: none; opacity: 1; }
.dp__phone img { border-radius: 26px; width: 100%; aspect-ratio: 390 / 760; object-fit: cover; object-position: top; }
.dp__wa { position: absolute; left: -150px; top: 70px; width: 200px; padding: 10px 12px; border-radius: 14px 14px 4px 14px; background: #dcf8c6; color: #111; font-size: 12px; box-shadow: 0 16px 30px -12px rgba(0,0,0,.35); }
.dp__wa small { display: block; color: #4b5563; text-align: right; font-size: 10px; margin-top: 4px; }
.dp__steps { display: flex; justify-content: center; gap: 6px; margin-top: 22px; flex-wrap: wrap; }
.dp__steps button { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255,255,255,.8); backdrop-filter: blur(8px); color: var(--mute); font-weight: 600; font-size: 13.5px; cursor: pointer; transition: color .3s, border-color .3s, background .3s; }
.dp__steps button .n { font: 500 11px/1 var(--mono); }
.dp__steps button.on { color: var(--ink); border-color: var(--ink); background: #fff; }
.dp__steps button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--sun-grad); transform: scaleX(var(--p, 0)); transform-origin: left; }
.dp__note { text-align: center; color: var(--mute); font-size: 12.5px; margin-top: 12px; }
@media (max-width: 1100px) { .dp__body { grid-template-columns: 54px 1fr 210px; } .dp__panel { display: none; } }
@media (max-width: 760px) {
  .sky { padding-top: 104px; }
  .dp__body { grid-template-columns: 1fr; height: auto; }
  .dp__rail, .dp__sum { display: none; }
  .dp__stage { height: 380px; }
  .dp__tabs, .dp__title small, .dp__dots { display: none; }
  .dp__bar { justify-content: space-between; }
  .dp__title { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .dp__cta { padding: 7px 10px; font-size: 11.5px; }
  .dp__phone { width: 150px; right: 8px; bottom: -24px; border-radius: 24px; padding: 6px; }
  .dp__phone img { border-radius: 19px; }
  .dp__wa { display: none; }
  .dp__steps button { padding: 0 12px; font-size: 12.5px; }
}

/* ---------- Showcase: real Graphite screens, auto-advancing ---------- */
.show { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: center; }
.show__tabs { display: grid; gap: 4px; }
.show__tabs button { text-align: left; padding: 16px 18px; border-radius: 16px; border: 1px solid transparent; background: none; cursor: pointer; position: relative; overflow: hidden; transition: background .3s, border-color .3s; }
.show__tabs button b { display: block; font: 600 17px/1.2 var(--display); letter-spacing: -0.01em; color: var(--mute); transition: color .3s; }
.show__tabs button span { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); color: var(--mute); font-size: 14px; }
.show__tabs button span > span { overflow: hidden; }
.show__tabs button.on { background: var(--bg-2); border-color: var(--line); }
.show__tabs button.on b { color: var(--ink); }
.show__tabs button.on span { grid-template-rows: 1fr; padding-top: 6px; }
.show__tabs button::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--sun-grad); transform: scaleX(0); transform-origin: left; }
.show__tabs button.on::after { animation: fill var(--dur, 6s) linear forwards; }
.show.paused .show__tabs button.on::after { animation-play-state: paused; }
.show__frame { position: relative; border-radius: 16px; overflow: hidden; background: #f0f0f2; box-shadow: 0 50px 100px -40px rgba(15,23,42,.45), 0 0 0 1px rgba(15,23,42,.08); }
.show__chrome { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; background: #fff; border-bottom: 1px solid #e4e4e8; }
.show__chrome i { width: 10px; height: 10px; border-radius: 50%; background: #e4e4e8; }
.show__chrome span { margin-left: 12px; padding: 4px 12px; border-radius: 7px; background: #f0f0f2; color: #6e6e7a; font-size: 11.5px; }
.show__view { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.show__view figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .8s var(--ease); }
.show__view figure.on { opacity: 1; }
.show__view figure img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 0); transform: scale(1.08); transform-origin: var(--o, 50% 50%); transition: transform 7s linear; }
.show__view figure.on img { transform: scale(1); }
.show__view .callout { position: absolute; left: var(--x); top: var(--y); z-index: 2; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: #111114; color: #fff; font-size: 12.5px; font-weight: 500; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .5s var(--ease), transform .6s var(--ease); transition-delay: var(--d, .6s); white-space: nowrap; }
.show__view .callout::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(255,176,32,.3); }
.show__view figure.on .callout { opacity: 1; transform: none; }
@media (max-width: 960px) { .show { grid-template-columns: 1fr; } .show__tabs { grid-template-columns: repeat(3, 1fr); } .show__tabs button { padding: 12px; } .show__tabs button b { font-size: 14px; } .show__tabs button span { display: none; } .show__view .callout { display: none; } }

/* ---------- Turntable (drag to turn a real design) ---------- */
.turn { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: linear-gradient(180deg, #f6f7f9, #e9ecf0); min-height: 520px; cursor: ew-resize; touch-action: pan-y; }
.turn canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.turn .badge { position: absolute; left: 18px; top: 18px; z-index: 2; }
.turn__hint { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 2; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.88); border: 1px solid var(--line); font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); transition: opacity .4s; }
@media (max-width: 960px) { .turn { min-height: 340px; } }

/* ---------- Sunset CTA ---------- */
.sunset { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(56px, 8vw, 110px) clamp(24px, 6vw, 80px) clamp(150px, 16vw, 220px); text-align: center; isolation: isolate;
  background: linear-gradient(180deg, #2b3a67 0%, #6a5a8e 30%, #e1828a 58%, #ffb36b 78%, #ffd9a0 100%); color: #fff; }
.sunset::before { content: ""; position: absolute; left: 50%; bottom: -120px; width: 340px; height: 340px; margin-left: -170px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, #fff7e0 0 30%, #ffd27a 45%, rgba(255,150,60,.6) 60%, rgba(255,120,60,0) 72%); animation: set 9s ease-in-out infinite alternate; }
.sunset::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; z-index: -1; background: linear-gradient(180deg, rgba(43,35,60,0), rgba(43,35,60,.55)); }
@keyframes set { from { transform: translateY(-40px); } to { transform: translateY(30px); } }
.sunset h2 { font-size: clamp(42px, 6.4vw, 96px); line-height: .95; max-width: 14ch; margin: 0 auto; color: #fff; }
.sunset p { color: rgba(255,255,255,.85); font-size: 18px; max-width: 520px; margin: 20px auto 30px; }
.sunset .label { color: rgba(255,255,255,.8); }
.sunset .label::before { background: #fff; }
.sunset .btn--ghost { background: rgba(255,255,255,.15); color: #fff; border-color: rgba(255,255,255,.4); }

/* =====================================================================
   Inner pages — landing pages, guides, tools, legal
   ===================================================================== */
.phead { --top: #a9cdf0; --low: #fff4e0; position: relative; overflow: hidden; isolation: isolate; padding: 150px 0 72px; background: linear-gradient(180deg, var(--top) 0%, #e6f1fb 55%, var(--low) 100%); }
.phead::before { content: ""; position: absolute; z-index: -1; right: 12%; top: 46%; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, #fffdf3 0 18%, #ffe39a 32%, rgba(255,196,84,.5) 48%, rgba(255,170,60,0) 70%); animation: rise 14s ease-in-out infinite alternate; }
.phead::after { content: ""; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(180deg, transparent, #fff); }
@keyframes rise { from { transform: translateY(40px); } to { transform: translateY(-50px); } }
.phead--dusk { --top: #8e9bd0; --low: #ffd9b8; }
.phead--noon { --top: #8fc0ee; --low: #f7fbff; }
.phead .crumbs { display: flex; flex-wrap: wrap; gap: 8px; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.phead .crumbs a:hover { color: var(--sun-2); }
.phead h1 { font-size: clamp(38px, 5.4vw, 76px); line-height: .98; letter-spacing: -0.045em; max-width: 18ch; margin-top: 18px; }
.phead .lead { font-size: 19px; color: var(--ink-2); max-width: 680px; margin-top: 20px; }
.phead .meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; color: var(--ink-2); font-size: 14px; }
.phead .meta span { display: inline-flex; align-items: center; gap: 8px; }
.phead .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }

.page { display: grid; grid-template-columns: 240px minmax(0, 720px) 1fr; gap: 56px; padding: 56px 0 40px; }
.page--wide { grid-template-columns: minmax(0, 860px); justify-content: center; }
.toc { position: sticky; top: 100px; align-self: start; font-size: 14px; }
.toc b { display: block; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.toc a { display: block; padding: 7px 0 7px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--mute); line-height: 1.35; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); }
.toc a.on { color: var(--ink); border-left-color: var(--sun-2); }
.toc__cta { margin-top: 26px; padding: 18px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); }
.toc__cta p { font-size: 13.5px; color: var(--ink-2); margin-bottom: 12px; }
@media (max-width: 1080px) { .page { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin-inline: auto; } .toc { display: none; } }

/* Article typography */
.prose { font-size: 17.5px; line-height: 1.75; color: var(--ink-2); min-width: 0; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(28px, 3vw, 36px); line-height: 1.12; letter-spacing: -0.03em; color: var(--ink); margin-top: 2.2em; scroll-margin-top: 96px; }
.prose h3 { font-size: 21px; line-height: 1.25; letter-spacing: -0.015em; color: var(--ink); margin-top: 1.8em; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(255,138,31,.6); text-decoration-thickness: 2px; text-underline-offset: 3px; transition: text-decoration-color .2s; }
.prose a:hover { text-decoration-color: var(--sun-2); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--sun-2); }
.prose .lede { font-size: 20px; line-height: 1.6; color: var(--ink); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--sun); font: 500 20px/1.5 var(--display); color: var(--ink); }
.prose .callout { padding: 18px 20px 18px 52px; border-radius: 16px; background: #fff8eb; border: 1px solid rgba(255,176,32,.35); position: relative; color: var(--ink-2); }
.prose .callout::before { content: ""; position: absolute; left: 20px; top: 22px; width: 16px; height: 16px; border-radius: 50%; background: var(--sun-grad); box-shadow: 0 0 0 5px rgba(255,176,32,.18); }
.prose .table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--bg-2); color: var(--ink); font-weight: 600; font-size: 13.5px; }
.prose tr:last-child td { border-bottom: 0; }
.prose figure { margin: 2em 0 .6em; }
.prose figcaption { font-size: 14px; color: var(--mute); margin-top: .6em; }
.prose .frame { border-radius: 16px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(15,23,42,.45), 0 0 0 1px rgba(15,23,42,.08); background: #f0f0f2; }
.prose .frame__bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #fff; border-bottom: 1px solid #e4e4e8; }
.prose .frame__bar i { width: 10px; height: 10px; border-radius: 50%; background: #e4e4e8; }
.prose .frame__url { margin-left: 10px; padding: 3px 10px; border-radius: 6px; background: #f0f0f2; color: #6e6e7a; font-size: 11.5px; }
.prose .frame img { width: 100%; height: auto; }
.prose .phone { width: min(300px, 80%); margin: 2em auto .6em; padding: 9px; border-radius: 36px; background: #111114; box-shadow: 0 40px 80px -30px rgba(15,23,42,.5); }
.prose .phone__screen, .prose .phone img { border-radius: 28px; overflow: hidden; }
.prose .feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 1.6em 0; }
.prose .feature { padding: 20px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); transition: border-color .3s, background .3s, transform .4s var(--ease); }
.prose .feature:hover { background: #fff; border-color: var(--line-2); transform: translateY(-2px); }
.prose .feature h3 { margin: 0 0 6px; font-size: 17px; }
.prose .feature p { font-size: 15px; line-height: 1.6; margin: 0; }
.prose .sources { font-size: 14px; }
.prose .sources li { color: var(--mute); }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
@media (max-width: 620px) { .prose { font-size: 16.5px; } .prose .feature-grid { grid-template-columns: 1fr; } }

.post-cta { margin: 2.6em 0 0; padding: 28px; border-radius: 22px; position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(135deg, #fff7e6, #fff 60%); border: 1px solid rgba(255,176,32,.35); }
.post-cta::before { content: ""; position: absolute; right: -40px; top: -40px; width: 200px; height: 200px; border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(255,210,122,.9), rgba(255,176,32,0) 70%); }
.post-cta h3 { font-size: 24px; margin: 0 0 8px; color: var(--ink); }
.post-cta p { color: var(--ink-2); margin: 0 0 18px; max-width: 46ch; }
.post-cta .actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Post cards with generated sun art */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pcard { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(15,23,42,.35); border-color: var(--line-2); }
.pcard__art { aspect-ratio: 400 / 220; overflow: hidden; }
.pcard__art svg { width: 100%; height: 100%; display: block; transition: transform 1.2s var(--ease); }
.pcard:hover .pcard__art svg { transform: scale(1.04); }
.pcard__body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard__body .tag { align-self: flex-start; font: 500 10.5px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #b45309; padding: 6px 8px; border-radius: 6px; background: #fff3dd; }
.pcard__body h3 { font-size: 19px; line-height: 1.25; letter-spacing: -0.015em; }
.pcard__body p { color: var(--mute); font-size: 14.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__body small { margin-top: auto; padding-top: 6px; color: var(--mute-2); font-size: 12.5px; }
.pcard--feature { grid-column: span 3; flex-direction: row; }
.pcard--feature .pcard__art { flex: 1.3; aspect-ratio: auto; min-height: 320px; }
.pcard--feature .pcard__body { flex: 1; padding: 36px; justify-content: center; }
.pcard--feature h3 { font-size: clamp(26px, 2.6vw, 34px); }
.pcard--feature p { -webkit-line-clamp: 4; font-size: 16px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filters button { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-weight: 600; font-size: 13.5px; color: var(--ink-2); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.filters button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.pcard.hide { display: none; }
@media (max-width: 1000px) { .posts { grid-template-columns: 1fr 1fr; } .pcard--feature { grid-column: span 2; } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } .pcard--feature { grid-column: span 1; flex-direction: column; } .pcard--feature .pcard__art { min-height: 0; aspect-ratio: 400 / 220; } .pcard--feature .pcard__body { padding: 22px; } }

/* Legal and plain pages */
.legal { max-width: 760px; margin-inline: auto; padding: 48px 0 80px; }
.legal h1 { display: none; }
.legal > p:first-of-type { color: var(--mute); font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }

.phead.center { text-align: center; }
.phead.center h1, .phead.center .lead { margin-inline: auto; }
.phead.center .billing { margin-top: 30px; }
.phead.center::before { right: 8%; }

/* ---------- Product composition: a real canvas with real panels floating over it ---------- */
.comp { --px: 0; --py: 0; position: relative; aspect-ratio: 1 / .82; isolation: isolate; }
.comp__glow { position: absolute; inset: 4% 0 0 6%; z-index: -1; border-radius: 32px; background: radial-gradient(70% 60% at 70% 20%, #ffe9c2 0%, rgba(255,233,194,0) 60%), linear-gradient(160deg, #eef3fa, #f6f4ef); }
.comp__base { position: absolute; left: 6%; top: 9%; width: 84%; margin: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(15,23,42,.5), 0 0 0 1px rgba(15,23,42,.08);
  transform: translate3d(calc(var(--px) * -6px), calc(var(--py) * -6px), 0); transition: transform .6s var(--ease); }
.comp__base img { width: 100%; height: auto; transform: scale(1.06); transition: transform 8s ease-out; }
.comp.in .comp__base img { transform: none; }
.comp__card { position: absolute; left: var(--l); top: var(--t); width: var(--w); height: auto; border-radius: 14px; background: #fff;
  box-shadow: 0 30px 60px -24px rgba(15,23,42,.45), 0 0 0 1px rgba(15,23,42,.08);
  opacity: 0; transform: translate3d(0, 26px, 0) scale(.96);
  transition: opacity .8s var(--ease), transform 1s var(--ease); transition-delay: calc(.25s + var(--i) * .14s); }
.comp.in .comp__card { opacity: 1; transform: translate3d(calc(var(--px) * var(--z) * 14px), calc(var(--py) * var(--z) * 14px), 0); animation: bob 6s ease-in-out calc(1.6s + var(--i) * .7s) infinite; }
@keyframes bob { 50% { translate: 0 -5px; } }
.comp__note { position: absolute; left: var(--l); top: var(--t); z-index: 2; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); padding: 7px 10px; border-radius: 999px; background: rgba(255,255,255,.9); border: 1px solid var(--line); opacity: 0; transition: opacity .6s 1.4s; white-space: nowrap; }
.comp.in .comp__note { opacity: 1; }
@media (max-width: 960px) { .comp { aspect-ratio: 1 / .95; } .comp__note { display: none; } }
@media (prefers-reduced-motion: reduce) { .comp__card { opacity: 1; transform: none; } }

/* ---------- Play: the real 3D engine in a frame ---------- */
.play__tabs { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.play__tabs button { display: grid; text-align: left; gap: 2px; padding: 12px 18px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; transition: border-color .25s, box-shadow .25s, background .25s; }
.play__tabs button b { font: 600 15px/1.2 var(--display); }
.play__tabs button small { font: 500 11px/1.3 var(--mono); letter-spacing: .04em; color: var(--mute); text-transform: uppercase; }
.play__tabs button.on { border-color: var(--ink); box-shadow: 0 10px 30px -18px rgba(15,23,42,.5); }
.play__frame { border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 50px 100px -40px rgba(15,23,42,.45), 0 0 0 1px rgba(15,23,42,.08); }
.play__bar { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 14px; border-bottom: 1px solid #e4e4e8; }
.play__bar .dp__dots i { background: #e4e4e8; }
.play__url { padding: 4px 12px; border-radius: 7px; background: #f0f0f2; color: #6e6e7a; font-size: 12px; }
.play__open { margin-left: auto; font-size: 12.5px; font-weight: 600; color: var(--ink-2); cursor: pointer; }
.play__open:hover { color: var(--sun-2); }
.play__stage { position: relative; height: min(72vh, 640px); background: linear-gradient(#eef1f5, #d3d9e0); }
.play__stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.play__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); transition: opacity .6s; }
.play__load { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 6px; padding: 22px 30px; border-radius: 20px; border: 0; background: rgba(255,255,255,.9); backdrop-filter: blur(10px); box-shadow: 0 30px 60px -24px rgba(15,23,42,.45); cursor: pointer; transition: transform .4s var(--ease); }
.play__load:hover { transform: translate(-50%, -52%); }
.play__load b { font: 600 16px/1 var(--display); }
.play__load small { font: 500 11px/1 var(--mono); color: var(--mute); }
.play__icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--sun-grad); color: #1a0d00; font-size: 20px; padding-left: 4px; box-shadow: 0 0 0 10px rgba(255,176,32,.18); animation: halo 2.4s ease-in-out infinite; }
@keyframes halo { 50% { box-shadow: 0 0 0 18px rgba(255,176,32,.06); } }
.play__shield { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: transparent; cursor: pointer; }
.play__shield span { padding: 10px 16px; border-radius: 999px; background: rgba(17,17,20,.82); color: #fff; font-size: 13px; font-weight: 500; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.play__stage:hover .play__shield span { opacity: 1; transform: none; }
.play__hints { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.play__hints span { padding: 8px 12px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-size: 13px; color: var(--ink-2); }
@media (max-width: 760px) { .play__stage { height: 72vh; } .play__open { display: none; } }


/* =====================================================================
   Premium layer — Fontshare type (General Sans · Satoshi · Gambetta),
   warm paper, graphite slate, sun used sparingly
   ===================================================================== */
body { font-size: 16.5px; letter-spacing: -0.005em; background: var(--bg); }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -0.032em; }
h1 em, h2 em, h3 em, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
h1 em, h2 em { color: #d0590c; padding-right: .04em; }
.label, .mono, .label::before { font-family: var(--body); }
.label { font-size: 12px; font-weight: 600; letter-spacing: .16em; color: var(--mute); }
.label::before { width: 22px; background: var(--sun-grad); height: 2px; border-radius: 2px; }
.mono { font-size: 12px; font-weight: 600; letter-spacing: .1em; }
.head h2 { font-size: clamp(36px, 5vw, 68px); line-height: 1.02; }
.head p { color: var(--mute); font-size: 18px; line-height: 1.6; }
.btn { background: var(--slate); color: #fff; font-weight: 600; letter-spacing: -0.005em; box-shadow: 0 1px 0 rgba(255,255,255,.12) inset, 0 10px 24px -12px rgba(29,43,58,.6); }
.btn:hover { color: #fff; box-shadow: 0 16px 34px -14px rgba(29,43,58,.7); }
.btn::after { background: linear-gradient(120deg, #2a3d52, #1d2b3a); }
.btn--ghost { background: rgba(255,253,249,.8); color: var(--ink); border-color: var(--line-2); box-shadow: none; }
.btn--ghost::after { background: #fff; }
.btn--ghost:hover { color: var(--ink); border-color: var(--ink-2); }
.btn--sun { background: var(--sun-grad); color: #2a1300; }
.btn--sun::after { background: linear-gradient(120deg, #f2a54a, #f2711c); }
.btn--sun:hover { color: #2a1300; }
.btn--line { background: transparent; color: var(--slate); border: 1.5px solid var(--slate); box-shadow: none; }
.btn--line::after { background: var(--slate); }
.btn--line:hover { color: #fff; box-shadow: 0 16px 34px -14px rgba(29,43,58,.5); }
.nav::before { background: rgba(250,248,244,.82); border-bottom-color: var(--line); }
.nav__links a { color: var(--ink-2); font-weight: 500; }
.logo { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; }
.card, .cell, .ci__item, .plan, .segs__info, .calc__form, .pcard, .sim__panel, .show__tabs button.on, .flow__steps button.on { background: var(--card); border-color: var(--line); }
.grid3 { background: var(--line); border-color: var(--line); }
.cell { background: var(--card); }
.ci__item:hover, .plan:hover, .pcard:hover { box-shadow: 0 30px 60px -36px rgba(29,43,58,.35); }
.plan--pop { background: linear-gradient(180deg, #fff3df 0%, var(--card) 50%); border-color: rgba(242,113,28,.45); }
.stat b, .calc__big b, .plan__price b { font-family: var(--display); font-weight: 600; letter-spacing: -0.04em; }
.foot { background: var(--bg); }
.foot__word { font-family: var(--display); font-weight: 600; background: linear-gradient(180deg, #e9e2d6 0%, rgba(250,248,244,0) 92%); -webkit-background-clip: text; background-clip: text; }
.prose { font-size: 18px; }
.prose h2, .prose h3 { font-weight: 600; }
.faq summary { font-family: var(--display); font-weight: 500; }
.ticker span { font-family: var(--body); font-weight: 600; letter-spacing: .14em; }
.ticker span::after { content: "✺"; color: #f2711c; }

/* Haikei-style backgrounds */
.sky { padding-bottom: 0; }
.sky::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 34%; z-index: -1; background: url("bg/peaks.svg") bottom / 100% 100% no-repeat; pointer-events: none; }
.sky__haze { display: none; }
.phead::after { background: url("bg/peaks.svg") bottom / 100% 70% no-repeat, linear-gradient(180deg, transparent, var(--bg)); }
.sunset { padding-bottom: clamp(170px, 18vw, 240px); }
.sunset::after { height: 160px; background: url("bg/waves.svg") bottom / 100% 100% no-repeat; }
#play, #commercial, #inside { background: url("bg/blobs.svg") center / cover no-repeat; }

/* Live hero: the real designer, with the live 3D engine over its 3D area */
.live { position: relative; margin: 52px auto 0; max-width: 1180px; padding-bottom: 72px; }
.live__frame { position: relative; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.9) inset, 0 60px 120px -40px rgba(29,43,58,.55), 0 0 0 1px rgba(29,43,58,.1); transform: perspective(1800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .8s var(--ease); }
.live__shot { width: 100%; height: auto; }
.live__view { position: absolute; overflow: hidden; }
.live__view iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity 1.2s var(--ease); }
.live__view.on iframe { opacity: 1; }
.live__badge { position: absolute; left: 22px; top: -15px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(17,17,20,.82); color: #fff; font: 600 11.5px/1 var(--body); letter-spacing: .02em; opacity: 0; transition: opacity .6s .4s; pointer-events: none; }
.live.is-live .live__badge { opacity: 1; }
.live__badge i { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.25); animation: halo 2s infinite; }
.live__note { text-align: center; color: var(--ink-2); font-size: 14.5px; margin-top: 18px; }
@media (max-width: 900px) { .live__badge { display: none; } }

/* Motion primitives (driven by assets/motion.js) */
.shimmer { background: linear-gradient(90deg, var(--mute) 0%, var(--mute) 40%, #f2711c 50%, var(--mute) 60%, var(--mute) 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shim 4s linear infinite; }
@keyframes shim { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.motion .rv, .motion .split .w > span { transition: none; }
.motion .rv { opacity: 0; transform: none; }
.motion .split .w > span { transform: none; opacity: 0; }
.show__frame { transform: perspective(1800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .8s var(--ease); }
.plan--pop::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none;
  background: conic-gradient(from var(--a, 0deg), transparent 0 70%, #f2711c 80%, #f6d7a7 88%, transparent 96%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: trail 6s linear infinite; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes trail { to { --a: 360deg; } }

/* Hero phone: the customer's real proposal, scrolling on its own */
.live__phone { position: absolute; right: -3%; bottom: 36px; width: 21%; min-width: 210px; z-index: 4; }
.phone { position: relative; padding: 9px; border-radius: 44px; background: linear-gradient(145deg, #2a2b30, #0d0d10 40%, #1c1d22); box-shadow: 0 0 0 1px #3a3b42 inset, 0 50px 90px -30px rgba(17,17,19,.6), 0 18px 36px -18px rgba(17,17,19,.5); transform: rotate(2.5deg); }
.phone::before { content: ""; position: absolute; right: -2px; top: 22%; width: 3px; height: 12%; border-radius: 3px; background: #2a2b30; }
.phone__island { position: absolute; left: 50%; top: 18px; z-index: 2; width: 30%; height: 20px; margin-left: -15%; border-radius: 20px; background: #050506; }
.phone__screen { position: relative; aspect-ratio: 390 / 844; border-radius: 36px; overflow: hidden; background: #fff; }
.phone__screen img { width: 100%; height: auto; animation: scrollProposal 26s cubic-bezier(.6,0,.3,1) infinite; will-change: transform; }
@keyframes scrollProposal {
  0%, 9% { transform: translateY(0); }
  17%, 27% { transform: translateY(-23%); }
  35%, 45% { transform: translateY(-30.5%); }
  53%, 63% { transform: translateY(-49.4%); }
  71%, 86% { transform: translateY(-68.3%); }
  96%, 100% { transform: translateY(0); }
}
.wa-bubble { position: absolute; right: 92%; top: 14%; width: 250px; padding: 10px 12px 8px; border-radius: 14px 14px 4px 14px; background: #dcf8c6; color: #111; box-shadow: 0 24px 40px -20px rgba(17,17,19,.45); transform-origin: 100% 100%; animation: waIn 26s ease infinite; }
.wa-bubble b { display: block; font-size: 12px; color: #0b7a45; margin-bottom: 3px; }
.wa-bubble p { font-size: 13px; line-height: 1.45; color: #1b1b1b; }
.wa-bubble__link { display: block; margin-top: 6px; font-size: 12px; color: #0a66c2; text-decoration: underline; }
.wa-bubble small { display: block; text-align: right; color: #667781; font-size: 10.5px; margin-top: 2px; }
@keyframes waIn { 0%, 2% { opacity: 0; transform: scale(.6) translateY(10px); } 6%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: scale(.9); } }
@media (max-width: 900px) {
  .live { padding-bottom: 40px; }
  .live__phone { position: relative; right: auto; bottom: auto; width: 62%; margin: -60px auto 0; }
  .wa-bubble { right: auto; left: -18%; top: auto; bottom: 8%; width: 200px; }
}
@media (prefers-reduced-motion: reduce) { .phone__screen img, .wa-bubble { animation: none; } }

/* =====================================================================
   Inside PitchSun — a guided tour: pill tabs, one staged scene per step,
   real Graphite UI pieces floating over a real canvas
   ===================================================================== */
.tour { --dur: 6500ms; }
.tour__tabs { display: flex; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto; padding: 6px; border-radius: 999px; background: rgba(255,253,249,.78); border: 1px solid var(--line); box-shadow: 0 18px 40px -28px rgba(29,43,58,.45); backdrop-filter: blur(12px); overflow-x: auto; scrollbar-width: none; }
.tour__tabs::-webkit-scrollbar { display: none; }
.tour__tabs button { position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 600 14px/1 var(--body); cursor: pointer; overflow: hidden; transition: background .35s var(--ease), color .35s var(--ease); }
.tour__tabs button:hover { color: var(--ink); background: rgba(29,43,58,.05); }
.tour__tabs svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tour__tabs button.on { background: var(--slate); color: #fff; box-shadow: 0 10px 22px -12px rgba(29,43,58,.7); }
.tour__tabs button.on svg { stroke: #f6d7a7; }
.tour__tabs button::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 5px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #f6d7a7, #f2711c); transform: scaleX(0); transform-origin: left; opacity: 0; }
.tour__tabs button.on::after { opacity: 1; animation: fill var(--dur) linear forwards; }
.tour.paused .tour__tabs button.on::after, .tour.stopped .tour__tabs button.on::after { animation-play-state: paused; }
.tour.stopped .tour__tabs button.on::after { animation: none; transform: scaleX(1); }

.tour__stage { --gx: 78%; --gy: 18%; position: relative; isolation: isolate; display: grid; margin-top: 26px; padding: clamp(24px, 4vw, 56px); border-radius: 34px; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(42% 52% at var(--gx) var(--gy), rgba(246,215,167,.75), rgba(246,215,167,0) 70%), linear-gradient(165deg, #fffdf8 0%, #f6f1e8 100%);
  transition: --gx 1.2s var(--ease), --gy 1.2s var(--ease); box-shadow: 0 60px 120px -70px rgba(29,43,58,.45); }
@property --gx { syntax: "<percentage>"; inherits: false; initial-value: 78%; }
@property --gy { syntax: "<percentage>"; inherits: false; initial-value: 18%; }
.tour__stage::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(29,43,58,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(29,43,58,.06) 1px, transparent 1px); background-size: 44px 44px;
  -webkit-mask: radial-gradient(70% 80% at 70% 50%, #000 20%, transparent 75%); mask: radial-gradient(70% 80% at 70% 50%, #000 20%, transparent 75%); }

.tour__scene { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, .74fr) minmax(0, 1.6fr); gap: clamp(28px, 4vw, 64px); align-items: center; visibility: hidden; opacity: 0; transition: opacity .5s var(--ease), visibility 0s .5s; }
.tour__scene.on { visibility: visible; opacity: 1; transition: opacity .5s var(--ease); }

.tour__copy > * { opacity: 0; transform: translateY(14px); filter: blur(6px); transition: opacity .6s var(--ease), transform .8s var(--ease), filter .6s var(--ease); }
.tour__scene.on .tour__copy > * { opacity: 1; transform: none; filter: none; }
.tour__scene.on .tour__copy > :nth-child(2) { transition-delay: .06s; }
.tour__scene.on .tour__copy > :nth-child(3) { transition-delay: .12s; }
.tour__scene.on .tour__copy > :nth-child(4) { transition-delay: .18s; }
.tour__n { display: inline-block; font: 600 12px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: #b4560f; }
.tour__copy h3 { font-size: clamp(28px, 3vw, 42px); line-height: 1.04; margin-top: 16px; }
.tour__copy h3 em { color: #d0590c; }
.tour__copy p { color: var(--mute); font-size: 16.5px; line-height: 1.6; margin-top: 16px; }
.tour__copy ul { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.tour__copy li { position: relative; padding-left: 30px; color: var(--ink-2); font-size: 15px; line-height: 1.45; }
.tour__copy li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.6 2.6L14 7.6' fill='none' stroke='%23d0590c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; box-shadow: 0 0 0 1px rgba(208,89,12,.25); }

.tour__art { --px: 0; --py: 0; position: relative; aspect-ratio: 1 / .7; }
.tour__base, .tour__card { position: absolute; left: var(--l); top: var(--t); width: var(--w); height: auto; }
.tour__base { border-radius: 18px; box-shadow: 0 50px 90px -40px rgba(29,43,58,.55), 0 0 0 1px rgba(29,43,58,.1); opacity: 0; transform: translate3d(0, 18px, 0) scale(.96); transition: opacity .7s var(--ease), transform 1.1s var(--ease); }
.tour__base--paper { background: #fff; }
.tour__scene.on .tour__base { opacity: 1; transform: translate3d(calc(var(--px) * -6px), calc(var(--py) * -6px), 0); }
.tour__card { z-index: 2; border-radius: 14px; background: #fff; box-shadow: 0 30px 60px -24px rgba(29,43,58,.5), 0 0 0 1px rgba(29,43,58,.08); opacity: 0; transform: translate3d(0, 28px, 0) scale(.94); filter: blur(4px);
  transition: opacity .7s var(--ease), transform 1s var(--ease), filter .7s var(--ease); }
.tour__scene.on .tour__card { opacity: 1; filter: none; transform: translate3d(calc(var(--px) * var(--z) * 16px), calc(var(--py) * var(--z) * 16px), 0); transition-delay: calc(.3s + var(--i) * .16s); animation: bob 6s ease-in-out calc(1.4s + var(--i) * .8s) infinite; }
.tour__card--pill { border-radius: 12px; }
.tour__card--flat { box-shadow: 0 18px 40px -26px rgba(29,43,58,.4), 0 0 0 1px rgba(29,43,58,.08); }
.tour__card--hero { box-shadow: 0 40px 80px -24px rgba(29,43,58,.55), 0 0 0 1px rgba(29,43,58,.08), 0 0 0 8px rgba(255,255,255,.55); }
.tour__card--ping::after { content: none; }
.tour__scene.on .tour__card--ping { box-shadow: 0 30px 60px -24px rgba(29,43,58,.5), 0 0 0 1px rgba(29,43,58,.08), 0 0 0 0 rgba(34,197,94,.4); animation: bob 6s ease-in-out 1.8s infinite, ping 2.4s ease-out 1.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 30px 60px -24px rgba(29,43,58,.5), 0 0 0 1px rgba(29,43,58,.08), 0 0 0 0 rgba(34,197,94,.45); } 80%, 100% { box-shadow: 0 30px 60px -24px rgba(29,43,58,.5), 0 0 0 1px rgba(29,43,58,.08), 0 0 0 16px rgba(34,197,94,0); } }
.tour__tag { position: absolute; left: var(--l); top: var(--t); z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: var(--slate); color: #fff; font: 600 12.5px/1 var(--body); white-space: nowrap; box-shadow: 0 16px 30px -14px rgba(29,43,58,.6); opacity: 0; transform: translateY(8px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.tour__tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #f2711c; box-shadow: 0 0 0 4px rgba(242,113,28,.3); }
.tour__scene.on .tour__tag { opacity: 1; transform: none; transition-delay: 1.1s; }

/* 3D scene: a sun arcs across the top of the view */
.tour__sun { position: absolute; z-index: 1; left: 12%; top: 20%; width: 46px; height: 46px; margin: -23px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, #fffbea 0 26%, #ffd27a 42%, rgba(255,170,60,.45) 60%, rgba(255,170,60,0) 72%); opacity: 0; transition: opacity .8s .6s; }
.tour__scene.on .tour__sun { opacity: 1; animation: sunX 9s linear infinite, sunY 9s ease-in-out infinite; }
@keyframes sunX { from { left: 14%; } to { left: 74%; } }
@keyframes sunY { 0%, 100% { top: 22%; } 50% { top: 1%; } }

/* Proposal scene: the phone, the WhatsApp message and the EPC's send panel */
.tour__phone { position: absolute; left: 35%; top: -2%; width: 27%; z-index: 1; opacity: 0; transform: translate3d(0, 40px, 0) rotate(-4deg); transition: opacity .7s var(--ease), transform 1.1s var(--ease); }
.tour__scene.on .tour__phone { opacity: 1; transform: translate3d(calc(var(--px) * -8px), calc(var(--py) * -8px), 0) rotate(-2deg); }
.tour__phone .phone { transform: none; }
.tour__art--phone { aspect-ratio: 1 / .66; }
.tour__wa { padding: 12px 14px 9px; border-radius: 16px 16px 4px 16px; background: #dcf8c6; color: #111; }
.tour__wa b { display: block; font-size: 12.5px; color: #0b7a45; margin-bottom: 4px; }
.tour__wa p { font-size: 14px; line-height: 1.45; color: #1b1b1b; }
.tour__wa span { display: block; margin-top: 6px; font-size: 12.5px; color: #0a66c2; text-decoration: underline; }
.tour__wa small { display: block; text-align: right; color: #667781; font-size: 11px; margin-top: 2px; }

@media (max-width: 960px) {
  .tour__tabs { width: auto; margin-inline: -4px; border-radius: 18px; }
  .tour__tabs button { height: 40px; padding: 0 14px; font-size: 13.5px; }
  .tour__stage { border-radius: 26px; padding: 22px 18px 26px; }
  .tour__scene { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 20px; align-items: start; }
  .tour__art { align-self: center; }
  .tour__copy ul { display: none; }
  .tour__copy h3 { margin-top: 10px; }
  .tour__copy p { font-size: 15.5px; margin-top: 10px; }
  .tour__art { aspect-ratio: 1 / .68; }
  .tour__art--phone { aspect-ratio: 1 / .9; }
  .tour__phone { left: 30%; width: 40%; }
  .tour__wa { --w: 42% !important; --t: 50% !important; padding: 8px 10px 6px; }
  .tour__wa span { display: none !important; }
  .tour__wa p { font-size: 11px; } .tour__wa b, .tour__wa span, .tour__wa small { font-size: 10px; }
  .tour__card { border-radius: 10px; }
  .tour__tag, .tour__sun { display: none; }
}
@media (prefers-reduced-motion: reduce) { .tour__card, .tour__base, .tour__copy > *, .tour__phone { transition: none; animation: none !important; } }

/* Calculator controls: a proper select, aligned labels and a cleaner slider */
.calc__form { gap: 26px; }
.field label { align-items: baseline; gap: 12px; font: 600 14px/1.3 var(--body); color: var(--ink-2); margin-bottom: 14px; }
.field label output { font: 600 17px/1 var(--display); letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.field select { -webkit-appearance: none; -moz-appearance: none; appearance: none; height: 52px; padding: 0 52px 0 18px; border-radius: 14px; border: 1px solid var(--line-2); font: 500 16px var(--body); cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 8 4 4 4-4' fill='none' stroke='%231d2b3a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 20px center / 18px no-repeat;
  box-shadow: 0 1px 2px rgba(29,43,58,.06); transition: border-color .2s, box-shadow .2s; }
.field select:hover { border-color: rgba(29,43,58,.3); }
.field select:focus-visible, .range:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(242,113,28,.18); border-color: #f2711c; }
.range { height: 6px; margin: 8px 0; border-radius: 6px; background: linear-gradient(90deg, #f6b25c 0, #f2711c var(--p, 50%), #e6e1d8 var(--p, 50%)); cursor: pointer; }
.range::-webkit-slider-thumb { width: 24px; height: 24px; border: 0; background: #fff; box-shadow: 0 0 0 1px rgba(29,43,58,.12), 0 4px 10px -2px rgba(29,43,58,.35), inset 0 0 0 7px #f2711c; transition: transform .2s var(--ease); }
.range::-moz-range-thumb { width: 24px; height: 24px; border: 0; background: #fff; box-shadow: 0 0 0 1px rgba(29,43,58,.12), 0 4px 10px -2px rgba(29,43,58,.35), inset 0 0 0 7px #f2711c; }
.range:hover::-webkit-slider-thumb, .range:active::-webkit-slider-thumb { transform: scale(1.12); }
.field small { font-size: 12.5px; margin-top: 12px; color: var(--mute); }
.calc__form { grid-template-rows: repeat(4, auto) 1fr; }
.calc__note { align-self: end; display: grid; gap: 14px; justify-items: start; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.calc__note p { font-size: 14px; line-height: 1.55; color: var(--mute); }
.calc__note b { color: var(--ink); font-weight: 600; }
.field select::-ms-expand { display: none; }

/* Hero: the phone and its WhatsApp message get their own column, so nothing covers the designer */
@media (min-width: 901px) {
  .live { display: grid; grid-template-columns: minmax(0, 1fr) clamp(200px, 19%, 240px); column-gap: clamp(24px, 3vw, 40px); align-items: center; max-width: 1280px; }
  .live__frame { grid-column: 1; grid-row: 1; }
  .live__phone { position: relative; right: auto; bottom: auto; width: auto; min-width: 0; grid-column: 2; grid-row: 1; display: flex; flex-direction: column; gap: 16px; }
  .live__phone .wa-bubble { position: relative; right: auto; top: auto; width: auto; order: -1; margin-left: -8%; }
  .live__note { grid-column: 1 / -1; }
}
/* Phones: just the designer — no phone mock-up, and the static shot instead of the live 3D */
@media (max-width: 900px) {
  .live__phone, .live__view { display: none; }
}

/* Tour tabs on phones: a full-width scroller with room at both ends and soft edges, no sticky hover */
@media (max-width: 960px) {
  .tour__tabs { width: 100%; margin-inline: 0; padding: 5px 12px; border-radius: 999px; gap: 2px; scroll-padding-inline: 12px;
    -webkit-mask: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%); mask: linear-gradient(90deg, transparent 0, #000 12px, #000 calc(100% - 12px), transparent 100%); }
  .tour__tabs::after { content: ""; flex: 0 0 1px; }
}
@media (hover: none) { .tour__tabs button:hover:not(.on) { background: transparent; color: var(--ink-2); } }
.tour__tabs { position: relative; }

/* =====================================================================
   Phone pass — fixes from a full mobile audit
   ===================================================================== */
.foot__grid { grid-template-columns: 1.4fr repeat(3, 1fr); }
.prose a.btn { color: #fff; text-decoration: none; }
.prose a.btn--ghost { color: var(--ink); }
.compare th:first-child, .compare td:first-child { position: sticky; left: 0; z-index: 1; background: #fff; }
.compare tr.grp td:first-child { background: var(--bg-2); }
.compare-hint { display: none; }
@media (max-width: 760px) {
  /* footer: brand on top, then two columns, guides across the full width */
  .foot { padding-top: 56px; }
  .foot__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .foot__grid > div:first-child { grid-column: 1 / -1; }
  .foot__grid > div:nth-child(3) { grid-column: 1 / -1; order: 3; }
  .foot__grid > div:nth-child(3) ul { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .foot__grid ul { font-size: 14.5px; }
  .foot__word { margin-top: 48px; }
  /* hero label on one line */
  .sky .label { font-size: 10.5px; letter-spacing: .12em; }
  /* inner-page headers: the sun sits up in the corner, not behind the text; dunes clear the heading */
  .phead { padding-bottom: 96px; }
  .phead::before { right: -60px; top: 70px; width: 170px; height: 170px; }
  .phead::after { height: 34%; }
  /* sunset CTA: the ghost button sits on the bright sun, so give it a darker glass */
  .sunset .btn--ghost { background: rgba(43,35,60,.32); border-color: rgba(255,255,255,.55); backdrop-filter: blur(6px); }
  /* pricing table: first column pinned, a hint that it scrolls */
  .compare th, .compare td { padding: 13px 14px; }
  .compare th:first-child, .compare td:first-child { min-width: 168px !important; max-width: 190px; box-shadow: 1px 0 0 var(--line); }
  .compare-hint { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 13px; color: var(--mute); }
  /* floating WhatsApp: smaller, tucked into the corner */
  .wa { width: 48px; height: 48px; right: 14px; bottom: 14px; }
  .wa svg { width: 23px; height: 23px; }
}
@media (max-width: 380px) { .sky .label { font-size: 9.5px; letter-spacing: .1em; } }

/* Desktop pass */
h1, h2, .tour__copy h3 { text-wrap: balance; }
.toc a.btn { display: inline-flex; padding: 0 16px; margin: 0; border: 0; color: #fff; }
.toc a.btn:hover { color: #fff; }
.sunset .btn--ghost { background: rgba(43,35,60,.32); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.sunset .btn--ghost::after { background: rgba(43,35,60,.5); }
.sunset .btn--ghost:hover { color: #fff; }

/* =====================================================================
   Book a demo — the form every demo button opens
   ===================================================================== */
.demo { width: min(640px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 28px; background: transparent; color: var(--ink); overflow: visible; }
.demo::backdrop { background: rgba(17,17,19,.42); backdrop-filter: blur(6px); }
.demo[open] { animation: demoIn .5s var(--ease); }
.demo[open]::backdrop { animation: fadeIn .4s ease; }
@keyframes demoIn { from { opacity: 0; transform: translateY(18px) scale(.97); } }
@keyframes fadeIn { from { opacity: 0; } }
.demo__form { position: relative; max-height: calc(100dvh - 24px); overflow: auto; padding: clamp(24px, 4vw, 40px); border-radius: 28px; isolation: isolate;
  background: radial-gradient(60% 50% at 100% 0%, rgba(246,215,167,.7), rgba(246,215,167,0) 70%), var(--card, #fffdf8);
  box-shadow: 0 60px 120px -40px rgba(17,17,19,.55), 0 0 0 1px rgba(29,43,58,.08); }
.demo__x { position: absolute; right: 16px; top: 16px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.8); font-size: 22px; line-height: 1; color: var(--ink-2); cursor: pointer; transition: background .2s, transform .3s var(--ease); }
.demo__x:hover { background: #fff; transform: rotate(90deg); }
.demo__head h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.05; margin-top: 12px; padding-right: 40px; }
.demo__head h2 em { color: #d0590c; }
.demo__head p { color: var(--mute); font-size: 15.5px; line-height: 1.55; margin-top: 10px; max-width: 46ch; }
.demo__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 14px; margin-top: 24px; }
.demo__f { display: grid; gap: 6px; }
.demo__f--wide { grid-column: 1 / -1; }
.demo__f span { font: 600 13px/1.2 var(--body); color: var(--ink-2); }
.demo__f input, .demo__f select, .demo__f textarea { width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #fff; font: 500 15.5px var(--body); color: var(--ink); box-shadow: 0 1px 2px rgba(29,43,58,.05); transition: border-color .2s, box-shadow .2s; }
.demo__f textarea { height: auto; min-height: 64px; padding: 12px 14px; resize: vertical; line-height: 1.45; }
.demo__f select { -webkit-appearance: none; appearance: none; padding-right: 40px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 8 4 4 4-4' fill='none' stroke='%231d2b3a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 16px no-repeat; }
.demo__f input::placeholder, .demo__f textarea::placeholder { color: var(--mute-2); }
.demo__f :is(input, select, textarea):focus { outline: none; border-color: #f2711c; box-shadow: 0 0 0 4px rgba(242,113,28,.16); }
.demo__f [aria-invalid="true"] { border-color: #d93a2b; box-shadow: 0 0 0 4px rgba(217,58,43,.12); }
.demo__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.demo__msg { min-height: 20px; margin-top: 14px; font-size: 14px; }
.demo__msg.err { color: #c0321f; }
.demo__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 6px; }
.demo__foot small { color: var(--mute); font-size: 13.5px; }
.demo__foot small a { color: var(--ink); text-decoration: underline; text-decoration-color: rgba(242,113,28,.6); text-underline-offset: 3px; }
.demo__foot .btn[disabled] { opacity: .7; cursor: progress; }
.demo__done { text-align: center; padding: 18px 0 6px; }
.demo__done h2 { font-size: clamp(28px, 3.6vw, 38px); margin-top: 18px; }
.demo__done p { color: var(--mute); max-width: 40ch; margin: 10px auto 22px; line-height: 1.55; }
.demo__sun { display: block; width: 76px; height: 76px; margin: 0 auto; border-radius: 50%; background: radial-gradient(circle, #fffbea 0 30%, #ffd27a 50%, rgba(255,170,60,.4) 66%, rgba(255,170,60,0) 72%); animation: halo 2.4s ease-in-out infinite; }
@media (max-width: 560px) {
  .demo { width: 100vw; max-width: 100vw; max-height: 100dvh; margin: auto 0 0; border-radius: 24px 24px 0 0; }
  .demo[open] { animation: demoUp .45s var(--ease); }
  @keyframes demoUp { from { transform: translateY(40px); opacity: 0; } }
  .demo__form { border-radius: 24px 24px 0 0; max-height: 92dvh; padding: 24px 18px calc(20px + env(safe-area-inset-bottom)); }
  .demo__grid { grid-template-columns: 1fr; gap: 12px; }
  .demo__foot .btn { width: 100%; justify-content: center; }
  .demo__foot small { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { .demo[open], .demo[open]::backdrop { animation: none; } }
.demo [hidden] { display: none !important; }
@media (max-width: 560px) {
  .demo__grid { grid-template-columns: 1fr 1fr; gap: 12px 10px; }
  .demo__grid > .demo__f:nth-child(-n+2) { grid-column: 1 / -1; }
  .demo__head h2 { font-size: 26px; }
  .demo__head p { font-size: 14.5px; }
}

/* An element marked hidden stays hidden, whatever display rule it has (the 3D view's click shield had display:grid,
   so it sat over the "Load" button and swallowed the click). */
[hidden] { display: none !important; }
