/* ==========================================================================
   DesignMyBalcony – landing page
   Signature: the Light Dial (day <-> night for the whole page)
   ========================================================================== */

:root {
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --sun: #ffc15a;
  --ok: #1f8a5b;
  --no: #c2453a;

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 64px;
}

/* Day palette (default) */
:root,
[data-theme="day"] {
  --bg: #fbfbfd;
  --bg-alt: #f2f2f5;
  --card: #ffffff;
  --ink: #111114;
  --ink-2: #55555d;
  --ink-3: #8a8a93;
  --line: rgba(17, 17, 20, .1);
  --cta: #111114;
  --cta-ink: #ffffff;
  --shadow: 0 30px 80px -30px rgba(17, 17, 20, .35), 0 8px 24px -12px rgba(17, 17, 20, .18);
  --ph-1: #e6e6ea;
  --ph-2: #d4d4da;
  --ph-ink: #6d6d76;
  color-scheme: light;
}

/* Night palette */
[data-theme="night"] {
  --bg: #0a0b0f;
  --bg-alt: #101218;
  --card: #151821;
  --ink: #f4f4f6;
  --ink-2: #a3a6b1;
  --ink-3: #6f7280;
  --line: rgba(255, 255, 255, .12);
  --cta: #ffffff;
  --cta-ink: #0a0b0f;
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 8px 24px -12px rgba(0, 0, 0, .6);
  --ph-1: #1d2029;
  --ph-2: #14161d;
  --ph-ink: #7d8090;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color .9s var(--ease), color .9s var(--ease);
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.nowrap { white-space: nowrap; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--cta); color: var(--cta-ink); padding: .6rem 1rem; border-radius: 999px; }
.skip:focus { left: 8px; }

.ico { width: 1.15em; height: 1.15em; flex: none; }
.ico--flip { transform: scaleX(-1); }
.ico--lg { width: 30px; height: 30px; }

.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.wrap--wide { width: min(1240px, 100% - 1.5rem); }
.wrap--narrow { width: min(780px, 100% - 2.5rem); }

/* ---------- Type ---------- */
.h2, .h3, .hero__title, .final__title, .modal__title, .tile__big, .fact b, .plan__price b {
  font-family: var(--font-display);
  letter-spacing: -.035em;
}
.h2 { font-size: clamp(2.2rem, 5.4vw, 4.1rem); line-height: 1; font-weight: 620; font-variation-settings: "wdth" 92; text-wrap: balance; }
.h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.1; font-weight: 600; }
.eyebrow { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1.1rem; }
.lead { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--ink-2); max-width: 36em; margin-top: 1.25rem; text-wrap: pretty; }
.lead--sm { font-size: 1.05rem; margin-top: .6rem; }
.center .lead, .light__head .lead { margin-inline: auto; }
.micro { font-size: .86rem; color: var(--ink-3); }
.micro--center { text-align: center; margin-top: .8rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 560; letter-spacing: -.01em; text-decoration: none; white-space: nowrap;
  padding: .8rem 1.4rem; line-height: 1;
  transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .35s var(--ease);
}
.btn .ico { transition: transform .35s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }
.btn--primary { background: var(--cta); color: var(--cta-ink); box-shadow: 0 10px 30px -12px var(--cta); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -14px var(--cta); }
.btn--primary:active { transform: translateY(0) scale(.98); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--bg); }
.btn--ghost { color: var(--ink); }
.btn--ghost:hover { background: var(--line); }
.btn--sm { padding: .62rem 1.05rem; font-size: .94rem; }
.btn--lg { padding: 1.05rem 1.75rem; font-size: 1.08rem; }
.btn--block { width: 100%; }

.tlink { display: inline-flex; align-items: center; gap: .4rem; background: none; border: 0; padding: 0; font-weight: 560; margin-top: .7rem; }
.tlink:hover .ico { transform: translateX(3px); }
.tlink .ico { transition: transform .3s var(--ease); }

.pill {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .45rem .95rem; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); font-size: .88rem; font-weight: 500; color: var(--ink-2);
}
.pill--sm { font-size: .8rem; padding: .35rem .8rem; }
.pill__dot, .bar__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 0 rgba(255, 193, 90, .7); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(255, 193, 90, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 193, 90, 0); } }

/* ---------- Announcement bar ---------- */
.bar {
  display: flex; align-items: center; justify-content: center; gap: 1.2rem; flex-wrap: wrap;
  padding: .6rem 1rem; font-size: .9rem;
  background: var(--cta); color: var(--cta-ink);
  transition: background-color .9s var(--ease), color .9s var(--ease);
}
.bar__text { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; justify-content: center; }
.bar__count { font-family: var(--font-mono); font-variant-numeric: tabular-nums; font-size: .86rem; }
.bar__link { background: none; border: 0; padding: 0; display: inline-flex; align-items: center; gap: .3rem; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.bar__link:hover .ico { transform: translateX(3px); }
.bar__link .ico { transition: transform .3s var(--ease); }
.bar[hidden] { display: none; }
@media (max-width: 640px) { .bar__hide-sm { display: none; } .bar { gap: .3rem 1rem; padding: .55rem .8rem; font-size: .84rem; } }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background-color .9s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__in { height: 100%; width: min(1240px, 100% - 2rem); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--font-display); font-weight: 650; letter-spacing: -.03em; font-size: 1.15rem; }
.logo__mark { width: 30px; height: 30px; display: grid; place-items: center; }
.logo__mark svg { width: 100%; height: 100%; }
.logo__sun { fill: var(--sun); }
.nav__links { display: none; gap: 2rem; }
.nav__links a { text-decoration: none; font-size: .94rem; color: var(--ink-2); transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__end { display: flex; align-items: center; gap: .6rem; }
.theme { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; transition: background-color .2s, transform .3s var(--ease); }
.theme:hover { background: var(--line); transform: rotate(20deg); }
.theme .ico { width: 18px; height: 18px; grid-area: 1 / 1; transition: opacity .4s, transform .6s var(--ease); }
[data-theme="day"] .theme__moon, [data-theme="night"] .theme__sun { opacity: 0; transform: rotate(-90deg) scale(.5); }

@media (min-width: 900px) { .nav__links { display: flex; } }
@media (max-width: 420px) { .logo__word { font-size: 1rem; } .btn--sm { padding: .55rem .85rem; } }

/* ---------- Placeholders (image stubs) ---------- */
.ph {
  position: relative; overflow: hidden; border-radius: var(--r-md);
  background: linear-gradient(140deg, var(--ph-1), var(--ph-2));
  display: grid; place-items: center;
  color: var(--ph-ink);
  transition: background .9s var(--ease);
}
.ph::before {
  content: ""; position: absolute; width: 42px; height: 42px; opacity: .35;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='3'/%3E%3Ccircle cx='9' cy='10' r='1.8'/%3E%3Cpath d='M4 18l5-5 4 4 3-3 4 4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='16' rx='3'/%3E%3Ccircle cx='9' cy='10' r='1.8'/%3E%3Cpath d='M4 18l5-5 4 4 3-3 4 4'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ph__meta { position: absolute; left: 14px; bottom: 12px; right: 14px; font-family: var(--font-mono); font-size: .68rem; line-height: 1.4; letter-spacing: .02em; opacity: .85; pointer-events: none; }
.ph__meta b { display: block; font-weight: 500; font-size: .74rem; }
.ph__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: fadein .6s var(--ease); }
.ph.has-img::before, .ph.has-img .ph__meta { display: none; }
@keyframes fadein { from { opacity: 0; } }
.ar-16-9 { aspect-ratio: 16 / 9; }
.ar-4-5 { aspect-ratio: 4 / 5; }
.ar-fill { aspect-ratio: auto; height: 100%; }

/* ---------- Reveal ---------- */
.js .rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.hero__head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__title {
  margin-top: 1.6rem;
  font-size: clamp(2.7rem, 8.4vw, 6.6rem); line-height: .94; font-weight: 640; font-variation-settings: "wdth" 90;
  text-wrap: balance;
}
.hero__sub { margin-top: 1.6rem; max-width: 34em; font-size: clamp(1.1rem, 2.2vw, 1.4rem); color: var(--ink-2); text-wrap: balance; }
.hero__cta { margin-top: 2.2rem; display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; }
.hero__head .micro { margin-top: 1.1rem; }

/* Before / after */
.ba {
  --pos: 42;
  position: relative; margin-top: clamp(2.5rem, 6vw, 4rem);
  border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow);
  aspect-ratio: 16 / 9; isolation: isolate; user-select: none;
}
.ba .ph { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; }
.ba__before { --ph-1: #d9d9de; --ph-2: #c8c8ce; }
.ba__after { clip-path: inset(0 0 0 calc(var(--pos) * 1%)); --ph-1: #ececef; --ph-2: #dcdce1; }
[data-theme="night"] .ba__before { --ph-1: #23262f; --ph-2: #1a1c24; }
[data-theme="night"] .ba__after { --ph-1: #2c303b; --ph-2: #20232c; }
.ba__tag {
  position: absolute; top: 16px; z-index: 3; padding: .4rem .8rem; border-radius: 999px;
  font-size: .78rem; font-weight: 560; letter-spacing: .01em;
  background: rgba(17, 17, 20, .62); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.ba__tag--l { left: 16px; }
.ba__tag--r { right: 16px; }
.ba__range { position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; -webkit-appearance: none; appearance: none; }
.ba__handle { position: absolute; z-index: 4; top: 0; bottom: 0; left: calc(var(--pos) * 1%); width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 0 30px rgba(0,0,0,.35); transform: translateX(-1px); pointer-events: none; }
.ba__knob { position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: #fff; color: #111114; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.ba__knob .ico { width: 22px; height: 22px; }
.ba__range:focus-visible + .ba__handle .ba__knob { outline: 3px solid var(--sun); outline-offset: 3px; }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; margin-top: 1.4rem; }
.chip {
  border: 1px solid var(--line); background: var(--card); color: var(--ink);
  padding: .6rem 1.1rem; border-radius: 999px; font-size: .95rem; font-weight: 500;
  transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--ease);
}
.chip:hover { transform: translateY(-2px); border-color: var(--ink-3); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip--more { border-style: dashed; color: var(--ink-2); }

/* ---------- Facts ---------- */
.facts { padding: 1rem 0 clamp(3rem, 7vw, 5.5rem); }
.facts__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.fact { background: var(--bg); padding: 1.6rem 1rem; text-align: center; transition: background-color .9s var(--ease); }
.fact b { display: block; font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 620; line-height: 1.05; }
.fact span { display: block; margin-top: .3rem; font-size: .92rem; color: var(--ink-2); }
.facts__for { margin-top: 1.6rem; text-align: center; color: var(--ink-3); font-size: .95rem; max-width: 42em; }
@media (min-width: 760px) { .facts__grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 11vw, 9rem) 0; transition: background-color .9s var(--ease); }
.section--alt { background: var(--bg-alt); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.arrows { display: none; gap: .5rem; }
.arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; transition: background-color .2s, transform .3s var(--ease); }
.arrow:hover { background: var(--ink); color: var(--bg); transform: scale(1.06); }
@media (min-width: 900px) { .arrows { display: flex; } }

/* Style rail */
.rail {
  display: flex; gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: clamp(2rem, 5vw, 3.5rem) max(1.25rem, calc((100vw - 1120px) / 2));
  scroll-padding-inline: max(1.25rem, calc((100vw - 1120px) / 2));
  -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { display: none; }
.scard { flex: 0 0 min(78vw, 340px); scroll-snap-align: start; }
.scard .ph { border-radius: var(--r-md); transition: transform .7s var(--ease); }
.scard:hover .ph { transform: scale(.985); }
.scard h3 { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -.025em; font-weight: 600; margin-top: 1rem; }
.scard p { color: var(--ink-2); font-size: .98rem; }

/* Versus */
.vs { display: grid; gap: 1rem; margin-top: clamp(2.5rem, 6vw, 4rem); }
.vs__card { border-radius: var(--r-md); padding: clamp(1.6rem, 4vw, 2.4rem); border: 1px solid var(--line); background: var(--card); }
.vs__card h3 { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -.03em; margin-bottom: 1.2rem; font-weight: 600; }
.vs__card li { display: flex; gap: .8rem; align-items: flex-start; padding: .7rem 0; border-top: 1px solid var(--line); }
.vs__card li .ico { margin-top: .2rem; padding: 3px; border-radius: 50%; width: 1.5em; height: 1.5em; }
.vs__card--old { background: transparent; }
.vs__card--old li { color: var(--ink-2); }
.vs__card--old li .ico { background: color-mix(in srgb, var(--no) 16%, transparent); color: var(--no); }
.vs__card--new li .ico { background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); }
.vs__card--new { border-color: color-mix(in srgb, var(--ok) 40%, var(--line)); }
@media (min-width: 800px) { .vs { grid-template-columns: 1fr 1fr; } }

.budget { margin-top: 1.25rem; display: grid; gap: 1.8rem; padding: clamp(1.6rem, 4vw, 2.6rem); border-radius: var(--r-md); background: var(--ink); color: var(--bg); transition: background-color .9s var(--ease), color .9s var(--ease); }
.budget h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.03em; line-height: 1.1; font-weight: 600; }
.budget p { opacity: .72; margin-top: .5rem; }
.budget__val { display: flex; justify-content: space-between; font-size: .92rem; opacity: .8; margin-bottom: .8rem; }
.budget__val output { font-family: var(--font-mono); font-weight: 500; opacity: 1; }
.budget__result { font-size: 1.25rem; opacity: 1; font-family: var(--font-display); letter-spacing: -.02em; }
.budget__result b { color: var(--sun); font-weight: 650; }
[data-theme="night"] .budget__result b { color: #b8791a; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: rgba(128,128,128,.4); outline-offset: 6px; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--bg); border: 0; box-shadow: 0 4px 14px rgba(0,0,0,.4); cursor: grab; }
.range::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: var(--bg); border: 0; box-shadow: 0 4px 14px rgba(0,0,0,.4); cursor: grab; }
@media (min-width: 860px) { .budget { grid-template-columns: 1fr 1.1fr; align-items: center; gap: 3rem; } }

/* ---------- Light dial (signature) ---------- */
.light__head { text-align: center; }
.stage { position: relative; margin-top: clamp(2.5rem, 6vw, 4rem); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 9; background: #15171d; isolation: isolate; }
.stage__layer { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; opacity: 0; transition: none; }
.stage__layer[data-layer="morning"] { opacity: 1; }
.stage__layer .ph__meta { color: rgba(0,0,0,.55); }
.stage__layer[data-layer="golden"] .ph__meta, .stage__layer[data-layer="night"] .ph__meta { color: rgba(255,255,255,.7); }
.stage__scrim { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.45)); pointer-events: none; }
.stage__hud { position: absolute; z-index: 3; left: clamp(1rem, 3vw, 2rem); bottom: clamp(.9rem, 2.6vw, 1.8rem); color: #fff; display: flex; flex-direction: column; text-shadow: 0 2px 20px rgba(0,0,0,.4); }
.stage__time { font-family: var(--font-display); font-weight: 600; letter-spacing: -.04em; font-size: clamp(2rem, 7vw, 4.6rem); line-height: 1; font-variant-numeric: tabular-nums; }
.stage__name { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; margin-top: .4rem; }

.dial { position: relative; margin: 2rem auto 0; max-width: 780px; }
.dial__range {
  -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 14px; margin: 0; border-radius: 99px; cursor: grab; touch-action: pan-y;
  background: linear-gradient(90deg, #ffe7ad 0%, #ffd27a 30%, #ff9f5b 62%, #6a4a7a 80%, #1a1c2a 100%);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
}
.dial__range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4.4' fill='%23FFB020'/%3E%3Cpath d='M12 2.5v2.2M12 19.3v2.2M2.5 12h2.2M19.3 12h2.2M5.3 5.3l1.6 1.6M17.1 17.1l1.6 1.6M18.7 5.3l-1.6 1.6M6.9 17.1l-1.6 1.6' stroke='%23FFB020' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 26px no-repeat;
  box-shadow: 0 10px 30px -6px rgba(0,0,0,.5), 0 0 0 6px rgba(255,255,255,.4);
  transition: transform .25s var(--ease);
}
.dial__range::-moz-range-thumb {
  width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4.4' fill='%23FFB020'/%3E%3Cpath d='M12 2.5v2.2M12 19.3v2.2M2.5 12h2.2M19.3 12h2.2M5.3 5.3l1.6 1.6M17.1 17.1l1.6 1.6M18.7 5.3l-1.6 1.6M6.9 17.1l-1.6 1.6' stroke='%23FFB020' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / 26px no-repeat;
  box-shadow: 0 10px 30px -6px rgba(0,0,0,.5), 0 0 0 6px rgba(255,255,255,.4);
}
.dial__range[data-moon="true"]::-webkit-slider-thumb {
  background: #1a1c2a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 14.5A8.5 8.5 0 019.5 4 8.5 8.5 0 1020 14.5z' fill='%23F4F4F6'/%3E%3C/svg%3E") center / 24px no-repeat;
}
.dial__range[data-moon="true"]::-moz-range-thumb {
  background: #1a1c2a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 14.5A8.5 8.5 0 019.5 4 8.5 8.5 0 1020 14.5z' fill='%23F4F4F6'/%3E%3C/svg%3E") center / 24px no-repeat;
}
.dial__range:active::-webkit-slider-thumb { transform: scale(1.1); cursor: grabbing; }
.dial__range:focus-visible { outline-offset: 10px; }
.dial__labels { display: flex; justify-content: space-between; margin-top: 1.1rem; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 520px) { .dial__labels { font-size: .62rem; letter-spacing: .04em; } }

.seasons-head { margin-top: clamp(4rem, 9vw, 7rem); text-align: center; }
.seasons { display: flex; gap: .8rem; height: clamp(360px, 52vw, 560px); margin-top: 2.2rem; }
.season { position: relative; flex: 1; min-width: 0; border-radius: var(--r-md); overflow: hidden; cursor: pointer; transition: flex .8s var(--ease); }
.season.is-active { flex: 4; }
.season .ph { position: absolute; inset: 0; border-radius: 0; }
.season__cap { position: absolute; z-index: 2; left: 1.1rem; right: 1.1rem; bottom: 1.1rem; color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.45); }
.season__cap h4 { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -.03em; font-weight: 600; white-space: nowrap; }
.season__cap p { opacity: 0; transform: translateY(8px); transition: opacity .5s .1s, transform .6s .1s var(--ease); font-size: .95rem; }
.season.is-active .season__cap p { opacity: .95; transform: none; }
.season::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.5)); pointer-events: none; }
.season .ph__meta { z-index: 0; }
.seasons + .center { margin-top: clamp(2.5rem, 6vw, 4rem); }
@media (max-width: 720px) {
  .seasons { height: 440px; }
  .season.is-active { flex: 3.2; }
  .season__cap h4 { font-size: 1.05rem; writing-mode: vertical-rl; transform: rotate(180deg); }
  .season.is-active .season__cap h4 { writing-mode: horizontal-tb; transform: none; font-size: 1.4rem; }
  .season__cap { left: .8rem; bottom: .9rem; }
}

/* ---------- Bento ---------- */
.bento { display: grid; gap: 1rem; margin-top: clamp(2.5rem, 6vw, 4rem); grid-template-columns: 1fr; }
.tile { border-radius: var(--r-md); padding: clamp(1.6rem, 3vw, 2.2rem); background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; min-height: 230px; transition: transform .5s var(--ease), background-color .9s var(--ease); }
.tile:hover { transform: translateY(-4px); }
.tile h3 { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -.03em; font-weight: 600; }
.tile p { color: var(--ink-2); margin-top: .5rem; max-width: 30em; }
.tile__big { font-size: clamp(3.6rem, 8vw, 5.4rem); font-weight: 600; line-height: .9; margin-bottom: auto; color: var(--ink); }
.tile--ink { background: var(--ink); color: var(--bg); border-color: transparent; }
.tile--ink p { color: inherit; opacity: .72; }
@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .tile { grid-column: span 2; }
  .tile--wide { grid-column: span 3; }
}

/* ---------- Steps ---------- */
.steps { display: grid; gap: 1.2rem; margin: clamp(2.5rem, 6vw, 4rem) 0; }
.step { padding-top: 1.4rem; }
.step__art { height: 190px; border-radius: var(--r-md); background: var(--bg-alt); border: 1px solid var(--line); display: grid; place-items: center; position: relative; overflow: hidden; margin-bottom: 1.4rem; transition: background-color .9s var(--ease); }
.step__n { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.step h3 { font-family: var(--font-display); font-size: 1.55rem; letter-spacing: -.03em; font-weight: 600; margin: .35rem 0 .5rem; }
.step p:last-child { color: var(--ink-2); }
.step__art--upload span { width: 110px; height: 110px; border: 2px dashed var(--ink-3); border-radius: 24px; display: grid; place-items: center; color: var(--ink-2); transition: transform .5s var(--ease); }
.step__art--upload span .ico { width: 34px; height: 34px; }
.step:hover .step__art--upload span { transform: scale(1.08) rotate(-3deg); }
.step__art--pick { grid-template-columns: repeat(2, auto); gap: .6rem; align-content: center; justify-content: center; }
.step__art--pick i { display: block; width: 84px; height: 34px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); }
.step__art--pick i:nth-child(1), .step__art--pick i:nth-child(4) { background: var(--ink); border-color: var(--ink); }
.step__art--result { display: flex; align-items: center; justify-content: center; }
.step__art--result i { width: 74px; height: 104px; border-radius: 14px; background: linear-gradient(140deg, var(--ph-1), var(--ph-2)); border: 1px solid var(--line); margin-inline: -12px; box-shadow: 0 10px 24px -10px rgba(0,0,0,.4); transition: transform .6s var(--ease); }
.step__art--result i:nth-child(1) { transform: rotate(-9deg); }
.step__art--result i:nth-child(3) { transform: rotate(9deg); }
.step:hover .step__art--result i:nth-child(1) { transform: rotate(-14deg) translateX(-8px); }
.step:hover .step__art--result i:nth-child(3) { transform: rotate(14deg) translateX(8px); }
.step__art--result i:nth-child(2) { z-index: 1; height: 120px; width: 86px; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 1.6rem; } }

/* ---------- Pricing ---------- */
.founding { margin: clamp(2rem, 5vw, 3rem) auto 0; max-width: 640px; padding: 1rem 1.3rem; border-radius: var(--r-md); border: 1px dashed color-mix(in srgb, var(--sun) 80%, var(--ink-3)); background: color-mix(in srgb, var(--sun) 10%, var(--card)); display: grid; gap: .9rem; text-align: center; }
.founding__row { display: flex; align-items: center; justify-content: center; gap: .8rem; flex-wrap: wrap; }
.founding__badge { background: var(--sun); color: #111114; font-weight: 650; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 99px; }
.founding__txt { color: var(--ink-2); font-size: .95rem; }
.founding__spots { font-size: .92rem; color: var(--ink-2); }
.meter { height: 8px; border-radius: 99px; background: rgba(128,128,128,.25); overflow: hidden; margin-top: .6rem; }
.meter[hidden] { display: none; }
.meter i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--sun); transition: width 1.2s var(--ease); }

.cd-box { display: inline-flex; gap: .55rem; }
.cd-box .u { min-width: 56px; padding: .4rem .5rem; border-radius: 12px; background: var(--card); border: 1px solid var(--line); text-align: center; }
.cd-box .u b { display: block; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.1; font-weight: 620; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.cd-box .u small { font-family: var(--font-mono); font-size: .6rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); }

.plans { display: grid; gap: 1rem; margin-top: clamp(2rem, 5vw, 3rem); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: clamp(1.6rem, 3vw, 2.2rem); border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); transition: transform .5s var(--ease), background-color .9s var(--ease); }
.plan:hover { transform: translateY(-4px); }
.plan h3 { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: -.03em; font-weight: 600; }
.plan__for { color: var(--ink-2); font-size: .98rem; margin-top: .2rem; }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem .7rem; margin: 1.4rem 0 1.2rem; }
.plan__price b { font-size: 3.6rem; font-weight: 620; line-height: 1; }
.plan__price s { color: var(--ink-3); font-size: 1.2rem; text-decoration-thickness: 2px; }
.save { font-size: .74rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase; padding: .28rem .6rem; border-radius: 99px; background: var(--sun); color: #111114; align-self: center; }
.plan ul { display: grid; gap: .7rem; margin-bottom: 1.8rem; flex: 1; }
.plan li { display: flex; gap: .6rem; align-items: flex-start; }
.plan li .ico { margin-top: .25rem; color: var(--ok); }
.plan--pop { border: 2px solid var(--ink); box-shadow: var(--shadow); }
.plan__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--ink); color: var(--bg); font-size: .76rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; padding: .4rem .9rem; border-radius: 99px; white-space: nowrap; }
.plan .micro--center { margin-top: .8rem; }
@media (min-width: 900px) {
  .plans { grid-template-columns: repeat(3, 1fr); }
  .plan--pop { transform: translateY(-14px); padding-block: clamp(2rem, 4vw, 2.8rem); }
  .plan--pop:hover { transform: translateY(-18px); }
}
.guarantee { display: flex; gap: 1rem; align-items: center; justify-content: center; margin: clamp(2rem, 5vw, 3rem) auto 0; max-width: 720px; color: var(--ink-2); font-size: .98rem; }
.guarantee b { color: var(--ink); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { margin-top: clamp(2rem, 5vw, 3rem); border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.4rem 0; font-family: var(--font-display); font-size: clamp(1.15rem, 2.4vw, 1.4rem); letter-spacing: -.02em; font-weight: 550; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--line); background:
  linear-gradient(var(--ink), var(--ink)) center / 10px 1.5px no-repeat,
  linear-gradient(var(--ink), var(--ink)) center / 1.5px 10px no-repeat;
  transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding: 0 2.5rem 1.5rem 0; max-width: 40em; }
.faq summary:hover { color: var(--ink-2); }

/* ---------- Final CTA ---------- */
.final { padding: clamp(5rem, 12vw, 10rem) 0; text-align: center; background: var(--ink); color: var(--bg); transition: background-color .9s var(--ease), color .9s var(--ease); position: relative; overflow: hidden; }
.final::before { content: ""; position: absolute; left: 50%; top: -30%; width: 900px; height: 900px; max-width: 160vw; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--sun) 32%, transparent), transparent 62%); pointer-events: none; }
.final__in { position: relative; display: flex; flex-direction: column; align-items: center; }
.final__title { font-size: clamp(2.6rem, 8vw, 6rem); line-height: .95; font-weight: 640; font-variation-settings: "wdth" 90; text-wrap: balance; }
.final__sub { margin: 1.5rem 0 2.2rem; font-size: 1.2rem; opacity: .75; max-width: 30em; }
.final .btn--primary { background: var(--bg); color: var(--ink); box-shadow: none; }
.final .btn--primary:hover { box-shadow: 0 18px 40px -14px rgba(255, 193, 90, .6); }
.final .micro { color: inherit; opacity: .6; }

/* ---------- Footer ---------- */
.footer { padding: 3rem 0 4rem; border-top: 1px solid var(--line); }
.footer__in { display: grid; gap: 1.6rem; justify-items: start; }
.footer__links { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; }
.footer__links a { text-decoration: none; color: var(--ink-2); font-size: .95rem; }
.footer__links a:hover { color: var(--ink); }
.footer__copy { color: var(--ink-3); font-size: .86rem; }
@media (min-width: 800px) { .footer__in { grid-template-columns: auto 1fr auto; align-items: center; justify-items: stretch; } .footer__links { justify-content: center; } }

/* ---------- Mobile sticky bar ---------- */
.mbar { position: fixed; z-index: 40; left: .6rem; right: .6rem; bottom: calc(.6rem + env(safe-area-inset-bottom)); display: none; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem .8rem .7rem 1.1rem; border-radius: 999px; background: color-mix(in srgb, var(--bg) 82%, transparent); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border: 1px solid var(--line); box-shadow: var(--shadow); transform: translateY(160%); transition: transform .6s var(--ease); }
.mbar p { display: flex; flex-direction: column; line-height: 1.2; font-size: .8rem; color: var(--ink-2); }
.mbar p b { color: var(--ink); font-size: .92rem; }
.mbar.is-on { transform: none; }
@media (max-width: 720px) { .mbar { display: flex; } body { padding-bottom: 80px; } }

/* ---------- Modal ---------- */
.modal { border: 0; padding: clamp(1.6rem, 4vw, 2.6rem); width: min(520px, calc(100% - 1.5rem)); max-height: calc(100dvh - 1.5rem); overflow: auto; border-radius: var(--r-lg); background: var(--card); color: var(--ink); box-shadow: 0 60px 140px -30px rgba(0,0,0,.6); margin: auto; text-align: center; }
.modal[open] { animation: pop .5s var(--ease); }
.modal::backdrop { background: rgba(10, 11, 15, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.modal[open]::backdrop { animation: fadein .4s; }
@keyframes pop { from { opacity: 0; transform: translateY(24px) scale(.96); } }
.modal__x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--bg-alt); display: grid; place-items: center; transition: transform .3s var(--ease); }
.modal__x:hover { transform: rotate(90deg); }
.modal__title { margin-top: 1.1rem; font-size: clamp(1.9rem, 5vw, 2.5rem); line-height: 1.02; font-weight: 640; text-wrap: balance; }
.modal__plan { margin: .9rem auto 0; display: inline-block; padding: .35rem .8rem; border-radius: 99px; background: var(--bg-alt); font-size: .9rem; font-weight: 550; }
.modal__plan[hidden] { display: none; }
.modal__sub { margin-top: .9rem; color: var(--ink-2); }
.modal__cd { margin: 1.5rem 0 1.2rem; }
.modal__cd .cd-box .u { background: var(--bg-alt); border-color: transparent; }
.modal__perks { display: grid; gap: .55rem; text-align: left; max-width: 320px; margin: 0 auto 1.3rem; }
.modal__perks li { display: flex; gap: .6rem; align-items: center; }
.modal__perks .ico { color: var(--ok); }
.modal__spots { font-size: .9rem; color: var(--ink-2); }
.modal .meter { margin: .6rem 0 1.4rem; }
.modal__spots + .btn { margin-top: 1.4rem; }
.modal .meter:not([hidden]) + .btn { margin-top: 0; }

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