:root {
  --bg: #0d0e11; --bg2: #14161b; --card: #191c22; --line: #2a2e37;
  --text: #eceae4; --muted: #9da1aa; --gold: #e5a00d; --gold2: #f4c04a; --ink: #15110a;
  --good: #4cc27e; --ok: #6ea8ec; --bad: #ef6f61;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--gold2); }
code { font: 0.86em/1 ui-monospace, "Cascadia Code", Consolas, monospace; background: #262a33;
  color: #f5d58a; padding: 3px 6px; border-radius: 5px; white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 14px 24px; background: rgba(13,14,17,.78); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06); }
.logo { font: 800 22px/1 var(--display); color: var(--text); text-decoration: none; letter-spacing: -.02em; }
.logo span { color: var(--gold); }
.nav nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.nav nav a { color: var(--muted); text-decoration: none; font-size: 14px; padding: 6px 10px; border-radius: 8px; }
.nav nav a:hover { color: var(--text); background: rgba(255,255,255,.06); }
@media (max-width: 620px) { .nav nav a:not([href="#askrift"]) { display: none; } .nav { padding: 12px 16px; } }

/* hero */
.hero { position: relative; overflow: hidden; min-height: 640px; display: flex; align-items: center;
  border-bottom: 1px solid var(--line); }
.wall { position: absolute; inset: -60px -40px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px;
  transform: rotate(-8deg) scale(1.15); opacity: .38; animation: drift 90s linear infinite alternate; }
.wall img { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: 10px; background: var(--card); }
@keyframes drift { to { transform: rotate(-8deg) scale(1.15) translateY(-180px); } }
@media (prefers-reduced-motion: reduce) { .wall { animation: none; } }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 80% at 30% 50%, rgba(13,14,17,.96) 30%, rgba(13,14,17,.7) 65%, rgba(13,14,17,.35)),
              linear-gradient(to bottom, transparent 70%, var(--bg)); }
.hero-in { position: relative; z-index: 1; max-width: 1080px; width: 100%; margin: 0 auto; padding: 80px 20px; }
.eyebrow { margin: 0 0 12px; color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
h1 { font: 800 clamp(44px, 8vw, 84px)/0.98 var(--display); letter-spacing: -.035em; margin: 0 0 22px; }
.lead { max-width: 560px; font-size: 19px; color: #cfccc4; margin: 0 0 28px; }
.lead b { color: var(--text); }
.signup { display: flex; gap: 8px; max-width: 520px; padding: 6px; background: rgba(25,28,34,.9);
  border: 1px solid var(--line); border-radius: 14px; }
.signup input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text); font: inherit; padding: 10px 12px; outline: none; }
button, .signup button { font: 600 16px/1 "Inter", sans-serif; border: 0; border-radius: 10px; cursor: pointer;
  background: var(--gold); color: var(--ink); padding: 14px 22px; transition: background .15s, transform .1s; }
button:hover { background: var(--gold2); }
button:active { transform: scale(.98); }
button:disabled { opacity: .6; cursor: wait; }
.signup:focus-within { border-color: var(--gold); }
.hint { color: var(--muted); font-size: 14px; margin: 10px 0 0; }
.msg { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--card); border: 1px solid var(--line); max-width: 560px; }
.msg.good { border-color: rgba(76,194,126,.5); background: rgba(76,194,126,.09); }
.msg.bad { border-color: rgba(239,111,97,.5); background: rgba(239,111,97,.09); }
@media (max-width: 520px) {
  .signup { flex-direction: column; } .signup button { width: 100%; }
  .hero { min-height: 560px; } .wall { grid-template-columns: repeat(4, 1fr); }
}

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: -56px;
  position: relative; z-index: 2; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.step span { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(229,160,13,.14); color: var(--gold); font-weight: 700; margin-bottom: 10px; }
.step h3 { margin: 0 0 4px; font: 600 18px/1.3 var(--display); }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* guide */
section.wrap { padding-top: 96px; }
h2 { font: 800 clamp(30px, 4.4vw, 44px)/1.08 var(--display); letter-spacing: -.025em; margin: 0 0 16px; }
.intro { max-width: 760px; color: #cfccc4; font-size: 17px; }
.modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 28px 0 36px; }
.mode { padding: 16px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); border-left-width: 4px; }
.mode b { display: block; font-size: 16px; } .mode span { color: var(--muted); font-size: 14.5px; }
.mode.good { border-left-color: var(--good); } .mode.ok { border-left-color: var(--ok); } .mode.bad { border-left-color: var(--bad); }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.tabs button { flex: none; background: transparent; color: var(--muted); border: 1px solid var(--line);
  padding: 11px 16px; font-size: 14.5px; font-weight: 500; }
.tabs button:hover { background: rgba(255,255,255,.05); color: var(--text); }
.tabs button[aria-selected="true"] { background: var(--text); color: var(--ink); border-color: var(--text); }
.panel { margin-top: 14px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; }
.devices { margin: 0 0 14px; color: var(--muted); font-size: 14.5px; }
.panel ol { margin: 0; padding: 0; list-style: none; counter-reset: s; }
.panel li { counter-increment: s; position: relative; padding: 12px 0 12px 46px; border-top: 1px solid var(--line); line-height: 1.9; }
.panel li:first-child { border-top: 0; }
.panel li::before { content: counter(s); position: absolute; left: 0; top: 14px; width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center; background: #262a33; color: var(--gold); font-weight: 700; font-size: 14px; line-height: 1; }
@media (max-width: 520px) { .panel { padding: 18px; } .panel li { padding-left: 40px; } code { white-space: normal; } }
.tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 22px; }
.tips > div { padding: 20px 22px; border-radius: 16px; background: var(--bg2); border: 1px solid var(--line); }
.tips h3 { margin: 0 0 6px; font: 600 17px/1.3 var(--display); }
.tips p { margin: 0; color: #c4c1ba; font-size: 15px; line-height: 1.75; }
.fine { color: var(--muted); font-size: 13.5px; margin-top: 16px; }
.warn { color: var(--gold2); }

/* price */
.price-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(229,160,13,.35);
  background: radial-gradient(circle at 0% 0%, rgba(229,160,13,.16), transparent 55%), var(--card); }
.price-left, .price-right { padding: 36px; }
.price-right { background: rgba(0,0,0,.22); border-left: 1px solid var(--line); }
.price h2 { font-size: clamp(40px, 6vw, 60px); margin-bottom: 6px; }
.price h2 small { font: 500 18px/1 "Inter", sans-serif; color: var(--muted); letter-spacing: 0; }
.per { color: var(--muted); margin: 0 0 20px; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding: 7px 0 7px 30px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 13px; height: 7px;
  border: solid var(--gold); border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.price-right label { display: block; font-weight: 600; margin-bottom: 8px; }
.price-right input { width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; padding: 13px 14px; outline: none; }
.price-right input:focus { border-color: var(--gold); }
#paypal-buttons { margin-top: 18px; min-height: 50px; }
@media (max-width: 820px) { .price-card { grid-template-columns: 1fr; } .price-right { border-left: 0; border-top: 1px solid var(--line); }
  .price-left, .price-right { padding: 26px 22px; } }

/* faq */
.faq details { border-top: 1px solid var(--line); padding: 4px 0; max-width: 820px; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 24px; color: var(--gold); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: #c4c1ba; max-width: 720px; }

.foot { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-top: 72px !important; padding-bottom: 48px; color: var(--muted); font-size: 14px; }
.foot span { font-weight: 700; color: var(--text); margin-right: auto; }
.foot a { color: var(--muted); }
