/* Sweeplight home page: a night valley lit by lanterns (the game's Dusk palette), with light reading sections. */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;1,9..144,500;1,9..144,600&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --night: #0F0D16;
  --night-2: #161221;
  --night-3: #1E1A2B;
  --night-line: rgba(242, 235, 223, .10);
  --moon: #F2EBDF;
  --moon-2: #B7AEC4;
  --moon-3: #7E7690;
  --lamp: #F4A93C;
  --lamp-hi: #FFCF7A;
  --lamp-ink: #1A1420;
  --paper: #F4EEE3;
  --paper-2: #EDE4D4;
  --card: #FFFCF6;
  --ink: #231E2A;
  --ink-2: #5F5769;
  --line: #E4D9C6;
  --amber-text: #9A5410;
  --sage: #2F6E50;
  --ember: #B3402A;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --ui: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --r-lg: 28px;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--moon); font: 500 17px/1.6 var(--ui); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--lamp); outline-offset: 3px; border-radius: 10px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.015em; line-height: 1.08; margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lamp); color: var(--lamp-ink); padding: 8px 14px; border-radius: 10px; z-index: 50; }
.skip:focus { left: 8px; }

/* Navigation */
.nav { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(15, 13, 22, .62); border-bottom: 1px solid var(--night-line); }
.nav .wrap { display: flex; align-items: center; gap: 14px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 22px; font-weight: 600; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav nav { margin-left: auto; display: flex; gap: 26px; font-weight: 700; font-size: 15px; }
.nav nav a { color: var(--moon-2); text-decoration: none; transition: color .2s; }
.nav nav a:hover { color: var(--moon); }
.nav .mini { margin-left: 8px; padding: 9px 16px; border-radius: 12px; background: var(--lamp); color: var(--lamp-ink); font-weight: 800; font-size: 14px; text-decoration: none; white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 0 24px; border-radius: 18px; font-weight: 800; font-size: 16px; text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.play { background: linear-gradient(180deg, var(--lamp-hi), var(--lamp)); color: var(--lamp-ink); box-shadow: 0 18px 40px -16px rgba(244, 169, 60, .8), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn.play svg { width: 26px; height: 26px; }
.btn.play small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .75; line-height: 1; }
.btn.play span { display: grid; line-height: 1.15; text-align: left; }
.btn.ghost { color: var(--moon); border: 1px solid rgba(242, 235, 223, .22); background: rgba(255, 255, 255, .04); }
.btn.ghost:hover { background: rgba(255, 255, 255, .08); }

/* Hero */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: 72px 0 0;
  background: radial-gradient(1200px 520px at 75% 8%, rgba(244, 169, 60, .16), transparent 60%),
              radial-gradient(900px 500px at 10% 0%, rgba(110, 80, 160, .22), transparent 65%),
              linear-gradient(180deg, #120F1C 0%, #1D1630 55%, #2A1F3C 100%); }
.stars { position: absolute; inset: 0; z-index: -2; opacity: .7;
  background-image: radial-gradient(1.4px 1.4px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 28% 32%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 46% 12%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 63% 26%, #fff 50%, transparent 51%),
    radial-gradient(1.6px 1.6px at 82% 14%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 92% 38%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 42%, #fff 50%, transparent 51%), radial-gradient(1.2px 1.2px at 37% 46%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 55% 40%, #fff 50%, transparent 51%), radial-gradient(1.3px 1.3px at 74% 48%, #fff 50%, transparent 51%); }
.hills { position: absolute; left: 0; right: 0; bottom: 0; z-index: -1; width: 100%; height: 300px; }
.hills.front { z-index: 4; pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: end; }
.hero-copy { padding-bottom: 120px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, .06);
  border: 1px solid var(--night-line); color: var(--moon-2); font-size: 14px; font-weight: 700; }
.eyebrow b { background: var(--lamp); color: var(--lamp-ink); border-radius: 999px; padding: 2px 9px; font-size: 12px; letter-spacing: .04em; }
.hero h1 { font-size: clamp(44px, 7vw, 84px); margin: 22px 0 20px; }
.hero h1 em { display: block; font-style: italic; font-weight: 500; color: var(--lamp);
  background: linear-gradient(90deg, var(--lamp-hi), var(--lamp) 60%, #E98A2B); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--moon-2); max-width: 36ch; margin: 0; }
.ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; padding: 0; list-style: none; color: var(--moon-2); font-size: 14px; font-weight: 700; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 12px var(--lamp); }

.stage { position: relative; display: flex; justify-content: center; padding-top: 10px; }
.glow { position: absolute; width: 520px; height: 520px; left: 50%; top: 45%; translate: -50% -50%; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(255, 207, 122, .32), rgba(244, 169, 60, .08) 45%, transparent 70%); }
.phone { position: relative; width: min(330px, 78vw); padding: 11px; border-radius: 52px; background: linear-gradient(160deg, #3A3348, #15121D 60%);
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08), inset 0 0 0 1px rgba(255, 255, 255, .06); }
.phone img { border-radius: 42px; width: 100%; height: auto; }
.hero .phone { margin-bottom: -150px; }
.chip { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; z-index: 3;
  background: rgba(30, 26, 43, .78); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .7); font-size: 14px; font-weight: 700; color: var(--moon); }
.chip .i { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: rgba(244, 169, 60, .16); color: var(--lamp); font-size: 18px; }
.chip small { display: block; color: var(--moon-3); font-weight: 600; font-size: 12px; }
.chip.a { left: -34px; top: 330px; animation: float 7s ease-in-out infinite; }
.chip.b { right: -38px; top: 470px; animation: float 8s ease-in-out -3s infinite; }
.lantern { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--lamp-hi); box-shadow: 0 0 18px 6px rgba(255, 196, 110, .55); z-index: -1; animation: flicker 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes flicker { 0%, 100% { opacity: .95; } 45% { opacity: .55; } 60% { opacity: .85; } }

/* Light sections */
.paper { background: var(--paper); color: var(--ink); position: relative; z-index: 1; }
.section { padding: 120px 0; }
.paper.first { padding-top: 110px; }
.kicker { font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-text); }
.paper h2 { font-size: clamp(34px, 4.6vw, 56px); margin: 14px 0 18px; }
.paper p { color: var(--ink-2); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.big { font-size: 20px; max-width: 46ch; }

/* Proof board */
.proof { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px; box-shadow: 0 30px 60px -36px rgba(110, 80, 40, .45); }
.board { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; max-width: 340px; margin: 0 auto; }
.board i { aspect-ratio: 1; border-radius: 10px; display: grid; place-items: center; font: 800 clamp(18px, 2.4vw, 24px)/1 var(--ui); font-style: normal; }
.board .u { background: linear-gradient(180deg, #EAE0CD, #D6C8AF 40%); box-shadow: 0 3px 0 #B8A88B; }
.board .o { background: #FBF7EF; box-shadow: inset 0 0 0 1px #E9E0D0; }
.board .s { background: #DCE8DE; box-shadow: 0 3px 0 #9DB8A5, 0 0 0 2px var(--sage); animation: pulse-s 2.6s ease-in-out infinite; }
.board .m { background: #F2D9CF; box-shadow: 0 3px 0 #C9A194, 0 0 0 2px var(--ember); animation: pulse-m 2.6s ease-in-out infinite; }
.board .src { box-shadow: inset 0 0 0 2px #E39535; background: #FFF4DF; }
.n1 { color: #2350C8; } .n2 { color: #1F7A45; } .n3 { color: #C8372A; }
@keyframes pulse-s { 50% { box-shadow: 0 3px 0 #9DB8A5, 0 0 0 5px rgba(47, 110, 80, .35); } }
@keyframes pulse-m { 50% { box-shadow: 0 3px 0 #C9A194, 0 0 0 5px rgba(179, 64, 42, .3); } }
.legend { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; margin-top: 22px; font-size: 14px; color: var(--ink-2); font-weight: 700; }
.legend span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 7px; vertical-align: -1px; }
.legend .ls::before { background: var(--sage); } .legend .lm::before { background: var(--ember); } .legend .lq::before { background: #E39535; }
.proof p.note { margin: 18px 0 0; text-align: center; font-size: 15px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); }
.checks li b { color: var(--ink); }
.checks li::before { content: "✓"; flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: #DCE8DE; color: var(--sage); font-weight: 800; }

/* Feature rows */
.features { display: grid; gap: 140px; }
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.feature:nth-child(even) .shotbox { order: -1; }
.shotbox { position: relative; display: flex; justify-content: center; padding: 48px 0; border-radius: 40px;
  background: radial-gradient(circle at 50% 45%, rgba(244, 169, 60, .28), transparent 60%), linear-gradient(160deg, #2A2238, #141019); }
.shotbox.light { background: radial-gradient(circle at 50% 45%, rgba(244, 169, 60, .3), transparent 60%), linear-gradient(160deg, #EFE4D0, #E2D3B8); }
.shotbox .phone { width: min(290px, 70vw); }
.feature h3 { font-size: clamp(30px, 3.4vw, 42px); margin: 12px 0 16px; }
.feature p { font-size: 18px; max-width: 44ch; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding: 0; list-style: none; }
.tags li { padding: 6px 12px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--ink); }

/* Numbers */
.numbers { background: var(--night-2); padding: 90px 0; border-top: 1px solid var(--night-line); border-bottom: 1px solid var(--night-line); }
.numbers ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; text-align: center; }
.numbers b { display: block; font-family: var(--display); font-size: clamp(40px, 5vw, 64px); font-weight: 600; color: var(--lamp); line-height: 1; }
.numbers span { display: block; margin-top: 10px; color: var(--moon-2); font-weight: 700; font-size: 15px; }

/* Promise */
.promise { background: var(--night); padding: 120px 0; }
.promise h2 { font-size: clamp(34px, 4.6vw, 56px); margin: 14px 0 18px; }
.promise .kicker { color: var(--lamp); }
.promise p { color: var(--moon-2); }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.pcard { padding: 28px; border-radius: 24px; background: linear-gradient(180deg, var(--night-3), var(--night-2)); border: 1px solid var(--night-line); }
.pcard .i { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(244, 169, 60, .14); color: var(--lamp); font-size: 22px; margin-bottom: 18px; }
.pcard h3 { font-size: 22px; margin-bottom: 8px; }
.pcard p { margin: 0; font-size: 16px; }

/* FAQ */
.faq { max-width: 820px; margin: 48px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 20px 0; font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--ui); font-weight: 700; font-size: 26px; color: var(--amber-text); transition: rotate .2s; line-height: 1; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { margin: 0 0 22px; font-size: 17px; max-width: 64ch; }
.center { text-align: center; }
.center p.big { margin: 0 auto; }

/* Final CTA */
.final { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: 130px 0 140px;
  background: radial-gradient(700px 360px at 50% 100%, rgba(244, 169, 60, .28), transparent 70%), linear-gradient(180deg, #1A1526, #0F0D16); }
.final h2 { font-size: clamp(40px, 6vw, 72px); }
.final h2 em { font-style: italic; color: var(--lamp); font-weight: 500; }
.final p { color: var(--moon-2); font-size: 19px; margin: 18px auto 34px; max-width: 40ch; }
.final .ctas { justify-content: center; }
.final .icon { width: 96px; height: 96px; margin: 0 auto 28px; border-radius: 26px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 60px -20px rgba(244, 169, 60, .6); }

/* Footer */
footer { background: var(--night); border-top: 1px solid var(--night-line); padding: 40px 0 48px; color: var(--moon-3); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; margin-left: auto; }
footer a { color: var(--moon-2); text-decoration: none; }
footer a:hover { color: var(--moon); }
footer p { margin: 0; width: 100%; }

/* Reveal on scroll */
.rv { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.rv.in { opacity: 1; transform: none; }
.no-js .rv { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}

@media (max-width: 960px) {
  .hero-grid, .split, .feature { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 8px; text-align: center; }
  .hero .lead { margin: 0 auto; }
  .hero .ctas, .hero .facts { justify-content: center; }
  .hero .phone { margin-bottom: -120px; }
  .feature:nth-child(even) .shotbox { order: 0; }
  .feature { gap: 40px; }
  .features { gap: 96px; }
  .split { gap: 48px; }
  .numbers ul { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .grid3 { grid-template-columns: 1fr; }
  .nav nav { display: none; }
  .nav .mini { margin-left: auto; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .hero { padding-top: 40px; }
  .section, .promise { padding: 84px 0; }
  .paper.first { padding-top: 72px; }
  .numbers ul { grid-template-columns: repeat(2, 1fr); }
  .chip.a { left: -4px; top: 70px; }
  .chip.b { right: -4px; top: 250px; }
  .chip { padding: 9px 12px; font-size: 13px; }
  .chip .i { width: 30px; height: 30px; }
  .btn { width: 100%; justify-content: center; }
  .proof { padding: 20px; }
  .faq summary { font-size: 19px; }
}
