:root {
  color-scheme: dark;
  --bg: #0B0D12;
  --panel: #11151d;
  --panel-raised: #151b24;
  --text: #f3f7f5;
  --muted: #9ba8a5;
  --subtle: #687572;
  --mint: #3DDC97;
  --mint-dark: #153c30;
  --line: rgba(206, 228, 218, .12);
  --danger: #ff8f91;
  --success: #63e9ac;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--bg); }
a { color: inherit; }
button, input { font: inherit; }
.shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.site-header { height: 82px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; font-size: 15px; font-weight: 700; letter-spacing: -.025em; }
.brand-mark { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; color: var(--bg); background: var(--mint); font-size: 17px; font-weight: 900; }
.header-note { color: var(--muted); font-size: 13px; }
.hero { min-height: 600px; display: grid; grid-template-columns: 1.04fr .96fr; align-items: center; gap: 48px; padding-block: 76px 92px; position: relative; }
.hero::before { content: ""; position: absolute; z-index: -1; width: 600px; height: 460px; right: 0; top: 76px; background: radial-gradient(ellipse, rgba(61,220,151,.11), transparent 70%); filter: blur(18px); pointer-events: none; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--mint); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 750; }
.eyebrow::before { content: ""; width: 20px; height: 1px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { max-width: 610px; margin: 19px 0 19px; font-size: clamp(52px, 7vw, 82px); line-height: .99; letter-spacing: -.075em; font-weight: 680; }
.hero h1 span { color: var(--mint); }
.hero-copy { max-width: 470px; margin-bottom: 30px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 0 21px; border: 1px solid transparent; border-radius: 12px; background: var(--mint); color: #07140f; font-size: 14px; font-weight: 750; text-decoration: none; transition: transform .18s ease, background .18s ease, border-color .18s ease; }
.button:hover { transform: translateY(-2px); background: #62e7ac; }
.button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid rgba(61,220,151,.5); outline-offset: 3px; }
.button[aria-disabled="true"] { cursor: pointer; }
.button svg { width: 18px; height: 18px; }
.button-ios { background: #fff; color: #07140f; }
.button-ios:hover { background: #e8f0eb; }
.button[aria-disabled="true"] { opacity: .72; }
.soft-link { color: var(--muted); font-size: 13px; text-decoration: none; }
.soft-link:hover { color: var(--mint); }
.platform-note { margin: 13px 0 0; color: var(--subtle); font-size: 12px; }
.hero-art { min-height: 390px; display: grid; place-items: center; position: relative; }
.halo { position: absolute; width: 380px; height: 380px; border: 1px solid rgba(61,220,151,.12); border-radius: 50%; box-shadow: 0 0 100px rgba(61,220,151,.06), inset 0 0 60px rgba(61,220,151,.04); }
.device-card { width: min(100%, 365px); padding: 22px; border: 1px solid rgba(197,225,214,.16); border-radius: 22px; background: linear-gradient(145deg, rgba(25,33,42,.98), rgba(15,20,27,.97)); box-shadow: 0 30px 100px rgba(0,0,0,.42); transform: rotate(2deg); position: relative; }
.device-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 25px; }
.device-label { color: var(--muted); font-size: 11px; }
.device-month { margin-top: 5px; font-size: 15px; font-weight: 650; }
.device-dots { color: var(--muted); letter-spacing: 3px; }
.balance { color: var(--muted); font-size: 11px; }
.balance strong { display: block; margin-top: 8px; color: var(--text); font-size: 30px; font-weight: 650; letter-spacing: -.05em; }
.meter { height: 6px; margin: 18px 0 21px; overflow: hidden; border-radius: 6px; background: #263039; }
.meter span { display: block; width: 58%; height: 100%; background: var(--mint); border-radius: inherit; }
.mini-list { display: grid; gap: 11px; }
.mini-row { display: flex; align-items: center; gap: 11px; padding: 11px; border: 1px solid rgba(197,225,214,.08); border-radius: 12px; background: rgba(255,255,255,.025); }
.mini-icon { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 10px; background: rgba(61,220,151,.11); color: var(--mint); font-size: 15px; }
.mini-details { flex: 1; min-width: 0; }
.mini-details strong, .mini-details span { display: block; }
.mini-details strong { font-size: 12px; font-weight: 620; }
.mini-details span { margin-top: 4px; color: var(--subtle); font-size: 10px; }
.mini-amount { font-size: 12px; font-weight: 650; }
.float-chip { position: absolute; right: -30px; bottom: 30px; display: flex; align-items: center; gap: 10px; padding: 13px 15px; border: 1px solid rgba(61,220,151,.18); border-radius: 14px; background: #171f24; box-shadow: 0 18px 48px rgba(0,0,0,.35); transform: rotate(-3deg); }
.float-check { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: var(--mint); background: var(--mint-dark); }
.float-chip strong, .float-chip span { display: block; }
.float-chip strong { font-size: 11px; }
.float-chip span { margin-top: 4px; color: var(--muted); font-size: 10px; }
.features { padding-block: 62px 82px; border-top: 1px solid var(--line); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-head h2 { max-width: 480px; margin: 12px 0 0; font-size: clamp(29px, 4vw, 42px); line-height: 1.1; letter-spacing: -.055em; font-weight: 620; }
.section-head p { max-width: 310px; margin: 0 0 3px; color: var(--muted); font-size: 13px; line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature { min-height: 195px; padding: 23px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(160deg, rgba(255,255,255,.035), rgba(255,255,255,.012)); }
.feature-icon { width: 40px; height: 40px; display: grid; place-items: center; margin-bottom: 25px; border: 1px solid rgba(61,220,151,.18); border-radius: 12px; background: rgba(61,220,151,.08); color: var(--mint); font-size: 18px; }
.feature h3 { margin-bottom: 9px; font-size: 16px; letter-spacing: -.02em; }
.feature p { margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }
.closing { display: flex; align-items: center; justify-content: space-between; gap: 28px; margin-bottom: 70px; padding: 27px 30px; border: 1px solid rgba(61,220,151,.2); border-radius: 18px; background: linear-gradient(110deg, rgba(61,220,151,.09), rgba(61,220,151,.02)); }
.closing h2 { margin: 0; font-size: 21px; letter-spacing: -.035em; }
.closing p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
.closing .button { min-height: 46px; white-space: nowrap; }
.site-footer { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: var(--subtle); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 19px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--mint); }
.made-by { margin-left: auto; color: var(--muted); text-decoration: none; }
.made-by:hover { color: var(--mint); }

/* Utility pages */
.utility-main { min-height: calc(100vh - 168px); display: grid; place-items: center; padding-block: 64px; }
.utility-card { width: min(100%, 560px); padding: clamp(26px, 6vw, 48px); border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(155deg, rgba(23,30,38,.96), rgba(15,19,26,.96)); box-shadow: 0 32px 100px rgba(0,0,0,.3); }
.status-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 24px; border: 1px solid rgba(61,220,151,.28); border-radius: 17px; background: rgba(61,220,151,.12); color: var(--mint); font-size: 24px; }
.utility-card h1 { margin: 12px 0 12px; font-size: clamp(35px, 7vw, 48px); line-height: 1.05; letter-spacing: -.06em; }
.utility-card > p { color: var(--muted); font-size: 15px; line-height: 1.7; }
.utility-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 25px; }
.button-secondary { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 0 17px; border: 1px solid var(--line); border-radius: 12px; color: var(--text); font-size: 13px; font-weight: 650; text-decoration: none; }
.button-secondary:hover { border-color: rgba(61,220,151,.35); color: var(--mint); }
.fine-print { margin: 19px 0 0 !important; color: var(--subtle) !important; font-size: 12px !important; }
.form-field { display: grid; gap: 8px; margin-top: 18px; }
.form-field label { color: var(--text); font-size: 13px; font-weight: 620; }
.form-field input { width: 100%; min-height: 49px; padding: 0 13px; border: 1px solid var(--line); border-radius: 11px; background: #0b0f15; color: var(--text); }
.form-field input::placeholder { color: #5d6967; }
.form-help { margin: 7px 0 0; color: var(--subtle); font-size: 11px; line-height: 1.5; }
.form-submit { margin-top: 24px; cursor: pointer; }
.form-submit:disabled { opacity: .6; cursor: wait; transform: none; }
.form-status { min-height: 21px; margin: 16px 0 0 !important; font-size: 13px !important; }
.form-status[data-kind="error"] { color: var(--danger) !important; }
.form-status[data-kind="success"] { color: var(--success) !important; }
.hidden { display: none !important; }

/* Legal pages */
.legal-main { width: min(820px, calc(100% - 48px)); min-height: calc(100vh - 168px); margin: 0 auto; padding: 70px 0 90px; }
.legal-main h1 { margin: 12px 0 10px; font-size: clamp(38px, 7vw, 56px); letter-spacing: -.065em; line-height: 1.05; }
.legal-main .legal-updated { color: var(--muted); font-size: 13px; }
.legal-body { margin-top: 35px; color: #c3ccca; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.legal-body h2 { margin: 43px 0 14px; padding-top: 23px; border-top: 1px solid var(--line); color: var(--text); font-size: 23px; letter-spacing: -.04em; line-height: 1.25; }
.legal-body h3 { margin: 26px 0 10px; color: var(--text); font-size: 17px; letter-spacing: -.025em; }
.legal-body p { margin-bottom: 16px; }
.legal-body ul, .legal-body ol { padding-left: 24px; margin: 0 0 20px; }
.legal-body li { padding-left: 4px; margin: 6px 0; }
.legal-body strong { color: #edf5f1; font-weight: 650; }
.legal-body a { color: var(--mint); text-decoration-color: rgba(61,220,151,.4); text-underline-offset: 3px; }
.legal-body a:hover { text-decoration-color: var(--mint); }
.legal-body table { display: block; width: 100%; margin: 20px 0 25px; overflow-x: auto; border-collapse: collapse; border-spacing: 0; font-size: 12px; line-height: 1.55; }
.legal-body th, .legal-body td { min-width: 120px; padding: 11px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-body th { color: var(--text); background: var(--panel-raised); font-weight: 650; }
.legal-body td { color: var(--muted); }
.legal-body hr { height: 1px; margin: 30px 0; border: 0; background: var(--line); }

@media (max-width: 800px) {
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 18px; padding-block: 67px 65px; }
  .hero h1 { max-width: 560px; }
  .hero-art { min-height: 385px; margin-top: 4px; }
  .hero::before { top: 400px; right: -100px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 0; }
  .feature-icon { margin-bottom: 17px; }
  .section-head { align-items: flex-start; flex-direction: column; }
  .section-head p { max-width: 450px; }
}
@media (max-width: 560px) {
  .shell { width: min(100% - 36px, 1120px); }
  .site-header { height: 70px; }
  .header-note { max-width: 125px; text-align: right; font-size: 11px; }
  .hero { padding-top: 53px; }
  .hero h1 { font-size: clamp(49px, 14vw, 67px); }
  .hero-copy { font-size: 16px; }
  .actions { align-items: flex-start; flex-direction: column; }
  .button { width: 100%; }
  .hero-art { min-height: 320px; }
  .halo { width: 290px; height: 290px; }
  .device-card { width: min(100% - 12px, 340px); padding: 18px; }
  .float-chip { right: -5px; bottom: 8px; }
  .features { padding-block: 47px 60px; }
  .closing { align-items: stretch; flex-direction: column; padding: 23px; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 22px; }
  .made-by { margin-left: 0; }
  .utility-main { min-height: calc(100vh - 150px); padding-block: 36px; }
  .utility-card { border-radius: 18px; }
  .utility-actions { flex-direction: column; }
  .utility-actions .button, .utility-actions .button-secondary { width: 100%; }
  .legal-main { width: calc(100% - 36px); padding-top: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
