/* Saber Wallet website. Same palette as the extension: near-black, orange accent, soft violet. */
:root {
  --bg: #0a0a0c;
  --surface: #131316;
  --surface-2: #1b1b20;
  --line: #ffffff14;
  --line-strong: #ffffff24;
  --text: #f5f5f7;
  --text-2: #a8a8b2;
  --text-3: #6e6e78;
  --accent: #ff7a45;
  --accent-2: #ff5a2a;
  --violet: #8b7bff;
  --up: #2fd17c;
  --radius: 18px;
  --max: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
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: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px); background: #0a0a0ccc; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.brand img { width: 34px; height: 34px; border-radius: 50%; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--text-2); text-decoration: none; font-size: 14.5px; font-weight: 600; }
.nav a:hover { color: var(--text); }
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 12px 20px; border-radius: 14px; font-weight: 700; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; }
.btn-primary { color: #1c0c05; background: linear-gradient(110deg, #ff9a5c, var(--accent-2)); box-shadow: 0 10px 30px #ff5a2a33; }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { color: var(--text); background: var(--surface-2); border: 1px solid var(--line-strong); }
.btn-small { padding: 9px 15px; font-size: 14px; border-radius: 12px; }
.soon { font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 99px; background: #1c0c0533; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 56px 0 32px; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%; background: radial-gradient(closest-side, #ff7a4530, transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: auto auto -30% -10%; width: 60%; height: 90%; background: radial-gradient(closest-side, #8b7bff1f, transparent 70%); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.kicker { display: inline-flex; gap: 10px; align-items: center; color: var(--accent); font-size: 12.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
h1 { margin: 16px 0 18px; font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 800; }
h1 em { font-style: normal; background: linear-gradient(100deg, #ffb07c, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--text-2); font-size: 18.5px; max-width: 540px; margin: 0 0 28px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fine { color: var(--text-3); font-size: 13.5px; margin-top: 14px; }

/* Device frame around an app capture */
.device { position: relative; width: min(340px, 100%); margin: 0 auto; border-radius: 34px; padding: 10px; background: #18181c; border: 1px solid var(--line-strong); box-shadow: 0 40px 90px #000a, 0 0 0 1px #00000080 inset; }
.device img { width: 100%; height: auto; border-radius: 26px; }
.hero .device { width: min(310px, 100%); transform: rotate(-2deg); }
.hero .device img { height: 540px; object-fit: cover; object-position: top; }
.hero .device::after { content: ""; position: absolute; inset: 20% -12% -8% -12%; z-index: -1; background: radial-gradient(closest-side, #ff7a4544, transparent); filter: blur(10px); }

/* Sections */
section { padding: 72px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2 { margin: 10px 0 10px; font-size: clamp(30px, 4vw, 42px); line-height: 1.1; letter-spacing: -0.035em; }
.section-head p { margin: 0; color: var(--text-2); font-size: 17px; }

/* Feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.card { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.card .num { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: 0.12em; }
.card h3 { margin: 10px 0 6px; font-size: 19px; letter-spacing: -0.015em; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; }
.icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: #ff7a451f; color: var(--accent); }
.card:nth-child(even) .icon { background: #8b7bff22; color: var(--violet); }

/* Feature rows */
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
.row:nth-child(even) .row-media { order: -1; }
.row h3 { margin: 10px 0 12px; font-size: clamp(26px, 3.2vw, 34px); line-height: 1.12; letter-spacing: -0.03em; }
.row p { color: var(--text-2); margin: 0 0 14px; font-size: 16.5px; }
.row ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.row li { display: flex; gap: 10px; color: var(--text-2); font-size: 15.5px; }
.row li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 9px; border-radius: 50%; background: var(--accent); }
.row-media .device { width: min(300px, 100%); }

/* Security */
.security { background: linear-gradient(180deg, transparent, #ff7a450a 40%, transparent); }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.check { display: flex; gap: 14px; padding: 18px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.check svg { flex: none; color: var(--up); margin-top: 3px; }
.check strong { display: block; margin-bottom: 3px; }
.check span { color: var(--text-2); font-size: 15px; }

/* FAQ */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 22px; font-weight: 700; font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 22px 18px; color: var(--text-2); }

/* Install */
.install { text-align: center; }
.install .panel { padding: 56px 28px; border-radius: 28px; background: radial-gradient(120% 140% at 0% 0%, #ff7a4526, transparent 55%), radial-gradient(120% 140% at 100% 100%, #8b7bff1c, transparent 55%), var(--surface); border: 1px solid var(--line-strong); }
.install img { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 18px; }
.install h2 { margin: 0 0 10px; font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.035em; }
.install p { color: var(--text-2); margin: 0 auto 26px; max-width: 520px; }
.install .cta-row { justify-content: center; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--text-3); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }
.site-footer nav { display: flex; gap: 20px; margin-left: auto; }
.site-footer a { color: var(--text-2); text-decoration: none; }
.site-footer a:hover { color: var(--text); }

/* Text pages (privacy, terms, support) */
.doc { max-width: 760px; padding: 56px 0 80px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); margin-bottom: 8px; }
.doc .updated { color: var(--text-3); margin: 0 0 36px; }
.doc h2 { margin: 36px 0 10px; font-size: 22px; letter-spacing: -0.02em; }
.doc p, .doc li { color: var(--text-2); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc a { color: var(--accent); }
.doc strong { color: var(--text); }

@media (max-width: 860px) {
  .nav { display: none; }
  .site-header .btn { margin-left: auto; }
  .hero .wrap, .row { grid-template-columns: 1fr; gap: 36px; }
  .row:nth-child(even) .row-media { order: 0; }
  .grid { grid-template-columns: 1fr 1fr; }
  .checks { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 16px; }
  .grid { grid-template-columns: 1fr; }
  .site-header .btn .label-long { display: none; }
  .site-footer nav { margin-left: 0; }
  .hero { padding-top: 44px; }
}
