/* ============================================================
   Course Backup — Ahamed Ansari
   Ink + paper + one acid accent. Editorial serif / precise sans.
   ============================================================ */
:root {
  --ink: #0c0c0b;
  --ink-2: #141412;
  --ink-3: #1c1c19;
  --line: rgba(236, 232, 222, 0.12);
  --line-2: rgba(236, 232, 222, 0.22);
  --paper: #ece8de;
  --muted: #9a968b;
  --dim: #6c6a63;
  --acid: #d4f250;
  --acid-ink: #151a03;
  --warn: #ff7a59;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  --pad: clamp(20px, 5vw, 72px);
  --max: 1320px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.77, 0, .18, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
::selection { background: var(--acid); color: var(--acid-ink); }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
b { font-weight: 600; color: var(--paper); }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 3px; border-radius: 4px; }

/* ---------- Loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--acid); color: var(--acid-ink);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: var(--pad);
  transition: transform 1s var(--ease-io);
}
.loader__inner { display: flex; justify-content: space-between; align-items: flex-end; }
.loader__label { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.loader__num { font-family: var(--serif); font-size: clamp(90px, 18vw, 260px); line-height: .8; }
.loader__bar { height: 2px; background: rgba(21,26,3,.15); margin-top: 24px; }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--acid-ink); }
body.is-loaded .loader { transform: translateY(-100%); }

/* ---------- Texture + cursor ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06;
  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='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, 1%); }
  80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
.cursor {
  position: fixed; left: 0; top: 0; z-index: 95; pointer-events: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--acid); mix-blend-mode: difference;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), opacity .3s;
  opacity: 0;
}
.cursor.is-on { opacity: 1; }
.cursor.is-big { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--pad);
  transition: transform .5s var(--ease), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(12,12,11,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; letter-spacing: -.01em; }
.mark {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px;
  background: var(--acid); color: var(--acid-ink);
  font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1;
}
.nav__links { display: flex; gap: 30px; font-size: 14px; }
.nav__links a { text-decoration: none; color: var(--muted); position: relative; transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--acid); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover { color: var(--paper); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 900px) { .nav__links { display: none; } }

/* ---------- Buttons / links ---------- */
.btn {
  --bg: var(--acid); --fg: var(--acid-ink);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px; min-height: 52px; border-radius: 999px; border: 1px solid var(--bg);
  background: var(--bg); color: var(--fg);
  font: 500 15px/1 var(--sans); text-decoration: none; cursor: pointer;
  overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), border-color .45s;
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--paper); transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { border-color: var(--paper); color: var(--ink); }
.btn i { font-style: normal; transition: transform .45s var(--ease); }
.btn:hover i { transform: translateX(5px); }
.btn--sm { padding: 11px 18px; min-height: 44px; font-size: 14px; }
.btn--ghost { --bg: transparent; --fg: var(--paper); border-color: var(--line-2); }
.btn--wide { width: 100%; justify-content: center; }
.textlink { color: var(--paper); text-decoration: none; background: linear-gradient(var(--acid), var(--acid)) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .4s var(--ease), color .3s; }
.textlink:hover { color: var(--acid); background-size: 0 1px; background-position: 100% 100%; }

/* ---------- Type ---------- */
.display {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(56px, 9.2vw, 148px); line-height: .9; letter-spacing: -.025em;
}
.display em, .statement em, .h2 em { color: var(--acid); }
.display--md { font-size: clamp(48px, 6.4vw, 104px); }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5vw, 76px); line-height: .98; letter-spacing: -.02em; max-width: 14ch; }
.kicker { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-bottom: 26px; }
.lede { font-size: clamp(17px, 1.35vw, 20px); color: var(--muted); max-width: 46ch; margin-top: 32px; }
.body { color: var(--muted); max-width: 48ch; margin-top: 24px; }
.body--muted { color: var(--dim); font-size: 15px; }

/* split-text word reveal */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 45ms); }
.split.is-in .w > span { transform: none; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal.is-in { opacity: 1; transform: none; }

section { position: relative; padding: clamp(96px, 13vw, 180px) var(--pad); max-width: calc(var(--max) + var(--pad) * 2); margin: 0 auto; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 80px);
  align-items: center; padding-top: 140px; padding-bottom: 80px;
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); margin-bottom: 34px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 0 rgba(212,242,80,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(212,242,80,0); } 100% { box-shadow: 0 0 0 0 rgba(212,242,80,0); } }
.hero__cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; margin-top: 44px; }
.hero__facts { display: grid; grid-template-columns: repeat(3, auto); gap: 32px; margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line); justify-content: start; }
.hero__facts li { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }
.hero__facts b { font-family: var(--serif); font-weight: 400; font-size: 26px; color: var(--paper); letter-spacing: -.01em; }

.hero__panel { position: relative; }
.term {
  position: relative; border: 1px solid var(--line-2); border-radius: 18px; background: var(--ink-2);
  box-shadow: 0 40px 120px -40px rgba(212,242,80,.18), 0 30px 60px -30px rgba(0,0,0,.8);
  overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(3deg); transition: transform .8s var(--ease);
}
.hero__panel:hover .term { transform: perspective(1400px) rotateY(0) rotateX(0); }
.term__bar { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--ink-3); }
.term__bar i { width: 11px; height: 11px; border-radius: 50%; background: #34332e; }
.term__bar i:first-child { background: var(--warn); }
.term__bar span { margin-left: 10px; font-family: var(--mono); font-size: 12px; color: var(--dim); }
.term__body {
  margin: 0; padding: 22px 22px 26px; min-height: 420px; max-height: 420px; overflow: hidden;
  font: 13px/1.75 var(--mono); color: var(--muted); white-space: pre-wrap;
}
.term__body .ok { color: var(--acid); }
.term__body .hl { color: var(--paper); }
.term__body .dim { color: var(--dim); }
.term__body .cur { display: inline-block; width: 8px; height: 15px; background: var(--acid); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.panel__tag { position: absolute; right: 18px; bottom: -14px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; background: var(--paper); color: var(--ink); padding: 6px 10px; border-radius: 6px; transform: rotate(-3deg); }

/* ---------- Marquee ---------- */
.marquee { max-width: none; padding: 26px 0; border-block: 1px solid var(--line); overflow: hidden; }
.marquee__track { display: flex; gap: 40px; width: max-content; align-items: center; animation: marquee 38s linear infinite; }
.marquee__track span { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 52px); white-space: nowrap; letter-spacing: -.01em; }
.marquee__track b { color: var(--acid); font-weight: 400; font-size: 22px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Why ---------- */
.statement { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.6vw, 72px); line-height: 1.05; letter-spacing: -.02em; max-width: 22ch; }

/* ---------- Deliverable ---------- */
.deliver__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 72px; flex-wrap: wrap; }
.deliver__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.tree {
  position: sticky; top: 110px;
  font-family: var(--mono); font-size: 14px; line-height: 2; color: var(--muted);
  padding: 30px 32px; border: 1px solid var(--line); border-radius: 18px;
  background: radial-gradient(120% 80% at 0% 0%, rgba(212,242,80,.07), transparent 60%), var(--ink-2);
}
.tree__title { color: var(--paper); font-weight: 500; }
.tree ul { padding-left: 22px; border-left: 1px dashed var(--line-2); margin-left: 6px; }
.tree li { position: relative; }
.tree li::before { content: ""; position: absolute; left: -22px; top: 1em; width: 14px; border-top: 1px dashed var(--line-2); }
.tree .d { color: var(--paper); }
.tree .f { color: var(--muted); }
.tree .f::after { margin-left: 10px; font-size: 10px; padding: 2px 6px; border-radius: 4px; letter-spacing: .06em; vertical-align: 1px; }
.tree .v::after { content: "VIDEO"; background: rgba(212,242,80,.14); color: var(--acid); }
.tree .p::after { content: "PDF"; background: rgba(255,122,89,.14); color: var(--warn); }
.tree .n::after { content: "NOTES"; background: rgba(236,232,222,.08); color: var(--muted); }
.tree .x { margin-top: 6px; color: var(--acid); }
.tree em { color: var(--dim); font-style: normal; }

.gets { display: grid; gap: 0; counter-reset: g; }
.gets li { display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 34px 0; border-top: 1px solid var(--line); transition: padding .5s var(--ease); }
.gets li:last-child { border-bottom: 1px solid var(--line); }
.gets li:hover { padding-left: 14px; }
.gets__n { font-family: var(--serif); font-style: italic; font-size: 40px; line-height: 1; color: var(--acid); }
.gets h3 { font-size: 22px; font-weight: 500; letter-spacing: -.015em; margin-bottom: 8px; }
.gets p { color: var(--muted); max-width: 46ch; }

/* ---------- Process ---------- */
.how { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.how__sticky { position: sticky; top: 120px; }
.how__progress { margin-top: 48px; width: 100%; max-width: 320px; height: 2px; background: var(--line); }
.how__progress span { display: block; height: 100%; width: 0; background: var(--acid); transition: width .2s linear; }
.steps { display: grid; gap: 18px; }
.step {
  display: grid; grid-template-columns: 76px 1fr; gap: 18px; padding: 34px 32px; border-radius: 18px;
  border: 1px solid var(--line); background: var(--ink-2);
  opacity: .35; transform: scale(.97); transition: opacity .6s var(--ease), transform .6s var(--ease), border-color .6s;
}
.step.is-active { opacity: 1; transform: none; border-color: var(--line-2); }
.step__n { font-family: var(--mono); font-size: 13px; color: var(--acid); padding-top: 6px; }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.05; letter-spacing: -.015em; margin-bottom: 12px; }
.step p { color: var(--muted); }
.step__who { display: inline-block; margin-top: 18px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); }

/* ---------- Pricing ---------- */
.pricing__head { margin-bottom: 64px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 26px;
  padding: 34px 30px 30px; border-radius: 22px; border: 1px solid var(--line); background: var(--ink-2);
  transform-style: preserve-3d; transition: border-color .4s, transform .5s var(--ease), opacity 1s var(--ease);
}
.plan:hover { border-color: var(--line-2); }
.plan h3 { font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.plan header p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.plan__price { font-family: var(--serif); font-size: 96px; line-height: .85; letter-spacing: -.03em; }
.plan__price sup { font-size: 34px; vertical-align: top; position: relative; top: .25em; margin-right: 4px; color: var(--muted); }
.plan ul { display: grid; gap: 12px; flex: 1; font-size: 15px; color: var(--muted); }
.plan li { padding-left: 24px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: .6em; width: 12px; height: 6px; border-left: 1.5px solid var(--acid); border-bottom: 1.5px solid var(--acid); transform: rotate(-45deg) translateY(-3px); }
.plan .btn { justify-content: center; }
.plan--hot { background: var(--acid); color: var(--acid-ink); border-color: var(--acid); }
.plan--hot header p, .plan--hot ul, .plan--hot .plan__price sup { color: rgba(21,26,3,.7); }
.plan--hot li::before { border-color: var(--acid-ink); }
.plan--hot .btn { --bg: var(--acid-ink); --fg: var(--acid); }
.plan__flag { position: absolute; top: 22px; right: 22px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; padding: 5px 10px; border-radius: 999px; background: var(--acid-ink); color: var(--acid); }
.pricing__note { margin-top: 36px; color: var(--muted); }

/* ---------- Payment ---------- */
.pay { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.wallets { border: 1px solid var(--line-2); border-radius: 22px; padding: 26px; background: var(--ink-2); }
.coins { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--ink); border: 1px solid var(--line); position: relative; margin-bottom: 22px; }
.coin { position: relative; z-index: 1; border: 0; background: none; color: var(--muted); font: 500 14px var(--mono); padding: 10px 22px; border-radius: 999px; cursor: pointer; min-height: 44px; transition: color .3s, background .4s var(--ease); }
.coin.is-active { background: var(--acid); color: var(--acid-ink); }
.nets { display: grid; gap: 10px; }
.net {
  display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center;
  padding: 18px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--ink);
  animation: netIn .6s var(--ease) both; animation-delay: calc(var(--i) * 70ms);
}
@keyframes netIn { from { opacity: 0; transform: translateY(12px); } }
.net__name { font-weight: 500; }
.net__name small { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-left: 8px; letter-spacing: .04em; }
.net__fee { font-family: var(--mono); font-size: 12px; color: var(--dim); text-align: right; }
.net__addr { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; }
.net__addr code { flex: 1; min-width: 0; font: 12px var(--mono); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 10px 12px; border-radius: 8px; background: var(--ink-3); }
.copy { flex: none; border: 1px solid var(--line-2); background: none; color: var(--paper); font: 500 12px var(--mono); padding: 0 14px; height: 38px; border-radius: 8px; cursor: pointer; transition: background .3s, color .3s; }
.copy:hover { background: var(--paper); color: var(--ink); }
.copy.is-done { background: var(--acid); color: var(--acid-ink); border-color: var(--acid); }
.copy[disabled] { opacity: .4; cursor: not-allowed; }
.wallets__warn { margin-top: 18px; font-size: 13px; color: var(--warn); }

/* ---------- Rules ---------- */
.rules__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rules__col { padding: 38px 34px; border-radius: 22px; border: 1px solid var(--line); }
.rules__col h3 { font-family: var(--serif); font-weight: 400; font-size: 52px; line-height: 1; margin-bottom: 26px; color: var(--acid); }
.rules__col--no h3 { color: var(--warn); }
.rules__col ul { display: grid; gap: 14px; }
.rules__col li { padding: 0 0 14px 30px; border-bottom: 1px solid var(--line); position: relative; color: var(--muted); }
.rules__col li:last-child { border-bottom: 0; padding-bottom: 0; }
.rules__col li::before { content: "+"; position: absolute; left: 0; top: -1px; font-family: var(--mono); color: var(--acid); }
.rules__col--no li::before { content: "×"; color: var(--warn); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: 120px; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 28px 0; font-size: clamp(18px, 1.6vw, 22px); font-weight: 500; letter-spacing: -.01em; transition: color .3s;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+"; flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-2); font: 400 20px var(--mono); transition: transform .5s var(--ease), background .3s, color .3s;
}
.faq__list summary:hover { color: var(--acid); }
.faq__list details[open] summary::after { transform: rotate(135deg); background: var(--acid); color: var(--acid-ink); border-color: var(--acid); }
.faq__list details > div { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq__list details[open] > div { grid-template-rows: 1fr; }
.faq__list details > div > p { overflow: hidden; color: var(--muted); max-width: 60ch; }
.faq__list details[open] > div > p { padding-bottom: 28px; }

/* ---------- Order ---------- */
.order { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.order__alt { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 44px; font-size: 15px; align-items: baseline; }
.order__alt span { width: 100%; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); }
.form { display: grid; gap: 14px; padding: 30px; border-radius: 22px; border: 1px solid var(--line-2); background: var(--ink-2); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; padding: 26px 16px 10px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--ink); color: var(--paper); font: 400 16px var(--sans); resize: vertical;
  transition: border-color .3s, box-shadow .3s; appearance: none; -webkit-appearance: none;
}
.field--select select { cursor: pointer; padding-right: 40px; }
.field--select::after { content: "▾"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; font-size: 12px; }
.field select option { background: var(--ink-2); color: var(--paper); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--acid); box-shadow: 0 0 0 4px rgba(212,242,80,.12); }
.field label { position: absolute; left: 17px; top: 18px; color: var(--muted); font-size: 16px; pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field.is-filled select + label { transform: translateY(-10px) scale(.72); color: var(--acid); }
.field.is-error input, .field.is-error textarea, .field.is-error select { border-color: var(--warn); }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; padding: 14px 4px 6px; cursor: pointer; font-size: 14px; color: var(--muted); }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { width: 24px; height: 24px; border-radius: 7px; border: 1px solid var(--line-2); position: relative; transition: background .3s, border-color .3s; }
.check__box::after { content: ""; position: absolute; left: 8px; top: 4px; width: 6px; height: 11px; border: solid var(--acid-ink); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .3s var(--ease); }
.check input:checked + .check__box { background: var(--acid); border-color: var(--acid); }
.check input:checked + .check__box::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + .check__box { outline: 2px solid var(--acid); outline-offset: 3px; }
.check.is-error .check__box { border-color: var(--warn); }
.form__status { min-height: 1.4em; font-size: 14px; color: var(--muted); }
.form__status.ok { color: var(--acid); }
.form__status.err { color: var(--warn); }

/* ---------- Footer ---------- */
.foot { padding: 80px var(--pad) 40px; border-top: 1px solid var(--line); overflow: hidden; }
.foot__word { font-family: var(--serif); font-size: clamp(64px, 15.5vw, 260px); line-height: .82; letter-spacing: -.04em; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px var(--line-2); transition: color .8s var(--ease); }
.foot:hover .foot__word { color: var(--paper); -webkit-text-stroke-color: transparent; }
.foot__row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 40px; font-size: 13px; color: var(--dim); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero, .deliver__grid, .how, .pay, .faq, .order { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 130px; }
  .term { transform: none; }
  .tree, .how__sticky, .faq__head { position: static; }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .rules__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero__facts { grid-template-columns: 1fr; gap: 18px; }
  .field-row { grid-template-columns: 1fr; }
  .step { grid-template-columns: 1fr; padding: 26px 22px; }
  .gets li { grid-template-columns: 48px 1fr; }
  .term__body { min-height: 340px; max-height: 340px; font-size: 12px; }
  .form, .wallets { padding: 20px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal, .split .w > span { opacity: 1 !important; transform: none !important; }
  .marquee__track { animation: none; }
  .step { opacity: 1; transform: none; }
}
