/* ============================================================
   Krypta — site styles. Premium-security: off-white canvas,
   deep-blue gradient, Manrope display + JetBrains Mono detail.
   ============================================================ */

:root {
  --bg: #fcf8fb;
  --bg-2: #f4f1f6;
  --surface: #ffffff;
  --ink: #14181f;
  --ink-2: #444b58;
  --muted: #7a828f;
  --line: #e8e4ea;
  --line-2: #dfe3ec;

  --blue: #0058bc;
  --blue-deep: #0e47a1;
  --blue-bright: #1f7be0;
  --blue-ink: #06245c;
  --tint: #e9f0fb;
  --tint-2: #d8e4f8;
  --green: #1e8e3e;
  --amber: #b26a00;

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(8, 22, 48, 0.05), 0 4px 16px rgba(8, 22, 48, 0.04);
  --shadow: 0 2px 6px rgba(8, 22, 48, 0.06), 0 20px 50px -20px rgba(8, 22, 48, 0.18);
  --shadow-blue: 0 24px 60px -22px rgba(14, 71, 161, 0.55);
  --maxw: 1140px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Manrope", ui-sans-serif, system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--tint-2); color: var(--blue-deep); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.mono { font-family: "JetBrains Mono", ui-monospace, monospace; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -0.02em; font-size: 19px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: var(--shadow-sm); }
.brand b { color: var(--blue); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--ink-2); font-weight: 600; font-size: 15px; transition: color 0.2s; }
.nav-links a:hover { color: var(--blue); }
.nav-cta { display: inline-flex; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s; }
.nav-toggle span + span { margin-top: 5px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 700; font-size: 15px; letter-spacing: -0.01em;
  padding: 13px 22px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.18s var(--ease), box-shadow 0.2s, background 0.2s;
  white-space: nowrap;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -10px rgba(0, 88, 188, 0.7); }
.btn-primary:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(0, 88, 188, 0.8); }
.btn-ghost { background: var(--surface); color: var(--blue); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--blue); transform: translateY(-2px); }
.btn-light { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: rgba(255, 255, 255, 0.28); backdrop-filter: blur(6px); }
.btn-light:hover { background: rgba(255, 255, 255, 0.22); transform: translateY(-2px); }
.btn-sm { padding: 9px 16px; font-size: 14px; }

.playbtn {
  display: inline-flex; align-items: center; gap: 12px; background: #0b1320; color: #fff;
  padding: 11px 20px 11px 18px; border-radius: 14px; transition: transform 0.18s var(--ease), box-shadow 0.2s;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.5);
}
.playbtn:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.55); }
.playbtn svg { width: 26px; height: 26px; }
.playbtn .pb-txt { text-align: left; line-height: 1.1; }
.playbtn .pb-txt small { display: block; font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; opacity: 0.72; }
.playbtn .pb-txt strong { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }

/* ---------- hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(120% 90% at 12% 8%, #2b86e6 0%, transparent 46%),
    radial-gradient(120% 120% at 95% 100%, #062456 0%, transparent 55%),
    linear-gradient(150deg, #0e5ac8 0%, #0a3f96 48%, #07286c 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 46px 46px; mask-image: radial-gradient(120% 90% at 60% 0%, #000 30%, transparent 78%);
  opacity: 0.55;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding: 84px 0 110px; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 7px 14px; border-radius: 100px; backdrop-filter: blur(6px); margin-bottom: 26px;
}
.hero-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.25); }
.hero h1 { font-size: clamp(38px, 6vw, 62px); line-height: 1.02; letter-spacing: -0.035em; font-weight: 800; }
.hero h1 .accent { background: linear-gradient(90deg, #bfe0ff, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lede { margin-top: 22px; font-size: clamp(17px, 2vw, 20px); line-height: 1.55; color: rgba(255, 255, 255, 0.82); max-width: 30em; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.hero-trust { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 13.5px; color: rgba(255, 255, 255, 0.78); }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: #8fd0ff; }

/* phone mock */
.phone-wrap { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: 290px; aspect-ratio: 290 / 600; background: #fcf8fb; border-radius: 42px;
  padding: 13px; box-shadow: var(--shadow-blue), 0 0 0 11px #0a1730, 0 0 0 13px #1b2c4d;
  transform: rotate(2.5deg); animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 0%, 100% { transform: rotate(2.5deg) translateY(0); } 50% { transform: rotate(2.5deg) translateY(-12px); } }
.phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 96px; height: 6px; border-radius: 100px; background: #0a1730; z-index: 3; }
.screen { width: 100%; height: 100%; background: var(--bg); border-radius: 30px; overflow: hidden; display: flex; flex-direction: column; padding: 26px 16px 12px; }
.screen-top { display: flex; align-items: center; gap: 8px; }
.screen-top img { width: 20px; height: 20px; border-radius: 5px; }
.screen-top b { font-size: 14px; color: var(--blue); font-weight: 800; }
.screen h3 { font-size: 21px; letter-spacing: -0.03em; margin-top: 14px; }
.screen .sub { font-size: 10px; color: var(--muted); margin-top: 2px; }
.cardgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 14px; }
.mini-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.mini-ico { width: 30px; height: 30px; border-radius: 50%; background: var(--tint); display: flex; align-items: center; justify-content: center; color: var(--blue); }
.mini-ico svg { width: 16px; height: 16px; }
.mini-card .mc-t { font-size: 12px; font-weight: 700; margin-top: 9px; }
.mini-card .mc-n { font-size: 9px; color: var(--muted); font-family: "JetBrains Mono", monospace; margin-top: 1px; display: flex; justify-content: space-between; align-items: center; }
.mini-card .mc-n svg { width: 9px; height: 9px; color: var(--blue); }
.screen-nav { margin-top: auto; display: flex; justify-content: space-around; padding-top: 10px; border-top: 1px solid var(--line); color: var(--muted); }
.screen-nav svg { width: 17px; height: 17px; }
.screen-nav .on { color: var(--blue); }
.phone-fab { position: absolute; right: 28px; bottom: 78px; width: 42px; height: 42px; border-radius: 13px; background: var(--blue); display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: 0 10px 20px -8px rgba(0, 88, 188, 0.8); }
.phone-fab svg { width: 22px; height: 22px; }

/* ---------- sections ---------- */
section { position: relative; }
.section { padding: 92px 0; }
.section-head { max-width: 660px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--blue); font-weight: 600; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--blue); opacity: 0.5; }
.section-head.center .eyebrow::before { display: none; }
h2.title { font-size: clamp(28px, 4vw, 42px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; margin-top: 16px; }
.section-head p { margin-top: 16px; font-size: 18px; color: var(--ink-2); line-height: 1.6; }

/* promise band */
.promise { text-align: center; padding: 8px 0 0; }
.promise .big { font-size: clamp(26px, 4.4vw, 46px); line-height: 1.12; letter-spacing: -0.035em; font-weight: 800; max-width: 16em; margin-inline: auto; }
.promise .big em { font-style: normal; color: var(--blue); position: relative; }
.promise .big em::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.36em; background: var(--tint-2); z-index: -1; border-radius: 3px; }
.promise p { margin-top: 22px; color: var(--ink-2); font-size: 18px; max-width: 36em; margin-inline: auto; }

/* feature grid */
.grid { display: grid; gap: 18px; margin-top: 52px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.card .ico { width: 48px; height: 48px; border-radius: 13px; background: var(--tint); display: flex; align-items: center; justify-content: center; color: var(--blue); margin-bottom: 18px; }
.card .ico svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; letter-spacing: -0.02em; font-weight: 700; }
.card p { margin-top: 9px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }

/* security section */
.security { background: var(--bg-2); border-block: 1px solid var(--line); }
.sec-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 56px; align-items: center; }
.chain { display: flex; flex-direction: column; gap: 0; }
.chain .step { display: grid; grid-template-columns: auto 1fr; gap: 16px; }
.chain .rail { display: flex; flex-direction: column; align-items: center; }
.chain .node { width: 42px; height: 42px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: center; color: var(--blue); flex-shrink: 0; box-shadow: var(--shadow-sm); z-index: 2; }
.chain .node svg { width: 20px; height: 20px; }
.chain .line { width: 2px; flex: 1; background: linear-gradient(var(--tint-2), var(--tint-2)); min-height: 26px; }
.chain .step:last-child .line { display: none; }
.chain .body { padding-bottom: 26px; }
.chain .body b { font-size: 16px; letter-spacing: -0.01em; }
.chain .body .k { font-family: "JetBrains Mono", monospace; font-size: 11.5px; color: var(--blue); background: var(--tint); padding: 1px 7px; border-radius: 6px; margin-left: 6px; }
.chain .body p { font-size: 14px; color: var(--ink-2); margin-top: 4px; }
.crypto-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow); }
.crypto-card .lead { display: flex; align-items: center; gap: 13px; }
.crypto-card .lead .lock { width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(140deg, var(--blue-bright), var(--blue-deep)); display: flex; align-items: center; justify-content: center; color: #fff; box-shadow: var(--shadow-blue); }
.crypto-card .lead .lock svg { width: 24px; height: 24px; }
.crypto-card .lead b { font-size: 18px; letter-spacing: -0.02em; }
.crypto-card .lead .tag { font-family: "JetBrains Mono", monospace; font-size: 11px; color: var(--green); background: #e7f4eb; padding: 2px 8px; border-radius: 6px; margin-left: auto; }
.crypto-card > p { margin-top: 16px; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.specs { margin-top: 20px; display: flex; flex-direction: column; gap: 1px; background: var(--line); border-radius: 12px; overflow: hidden; }
.specs .row { background: var(--surface); display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 13px 16px; }
.specs .row span { font-size: 13.5px; color: var(--muted); }
.specs .row b { font-family: "JetBrains Mono", monospace; font-size: 12.5px; color: var(--ink); font-weight: 500; text-align: right; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; counter-reset: s; }
.stepcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; position: relative; }
.stepcard::before { counter-increment: s; content: "0" counter(s); font-family: "JetBrains Mono", monospace; font-size: 13px; color: var(--blue); font-weight: 600; letter-spacing: 0.1em; }
.stepcard h3 { font-size: 18px; margin-top: 14px; letter-spacing: -0.02em; }
.stepcard p { color: var(--ink-2); font-size: 15px; margin-top: 8px; line-height: 1.6; }

/* backup tiers */
.tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 52px; }
.tier { border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); background: var(--surface); }
.tier.featured { background: linear-gradient(160deg, #0e5ac8, #0a3f96); color: #fff; border-color: transparent; box-shadow: var(--shadow-blue); }
.tier .badge { font-family: "JetBrains Mono", monospace; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 10px; border-radius: 100px; display: inline-block; }
.tier .badge { background: var(--tint); color: var(--blue); }
.tier.featured .badge { background: rgba(255, 255, 255, 0.18); color: #fff; }
.tier h3 { font-size: 22px; margin-top: 16px; letter-spacing: -0.02em; }
.tier > p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }
.tier.featured > p { color: rgba(255, 255, 255, 0.85); }
.tier ul { list-style: none; margin-top: 18px; display: flex; flex-direction: column; gap: 11px; }
.tier li { display: flex; gap: 10px; font-size: 14.5px; align-items: flex-start; }
.tier li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: var(--green); }
.tier.featured li svg { color: #7fe8a3; }

/* faq */
.faq { max-width: 800px; margin: 52px auto 0; display: flex; flex-direction: column; gap: 12px; }
.qa { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color 0.2s; }
.qa[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.qa summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 18px; font-weight: 700; font-size: 16.5px; letter-spacing: -0.01em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .plus { width: 22px; height: 22px; flex-shrink: 0; position: relative; }
.qa summary .plus::before, .qa summary .plus::after { content: ""; position: absolute; background: var(--blue); border-radius: 2px; transition: transform 0.3s var(--ease); }
.qa summary .plus::before { top: 10px; left: 3px; right: 3px; height: 2px; }
.qa summary .plus::after { left: 10px; top: 3px; bottom: 3px; width: 2px; }
.qa[open] summary .plus::after { transform: rotate(90deg); opacity: 0; }
.qa .ans { padding: 0 22px 22px; color: var(--ink-2); font-size: 15.5px; line-height: 1.65; }

/* cta band */
.cta-band { position: relative; overflow: hidden; color: #fff; border-radius: var(--radius-lg); padding: 64px 40px; text-align: center;
  background: radial-gradient(110% 130% at 20% 0%, #2b86e6 0%, transparent 50%), linear-gradient(150deg, #0e5ac8, #07286c); box-shadow: var(--shadow-blue); }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px); background-size: 40px 40px; mask-image: radial-gradient(80% 100% at 50% 0%, #000, transparent 75%); }
.cta-band > * { position: relative; }
.cta-band img { width: 72px; height: 72px; border-radius: 18px; margin: 0 auto 22px; box-shadow: 0 16px 40px -12px rgba(0,0,0,0.5); }
.cta-band h2 { font-size: clamp(26px, 4vw, 40px); letter-spacing: -0.03em; font-weight: 800; line-height: 1.1; }
.cta-band p { margin-top: 14px; color: rgba(255,255,255,0.84); font-size: 18px; max-width: 34em; margin-inline: auto; }
.cta-band .acts { margin-top: 30px; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; margin-top: 92px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.foot-brand .brand { font-size: 20px; }
.foot-brand p { color: var(--ink-2); font-size: 14.5px; margin-top: 14px; max-width: 30em; line-height: 1.6; }
.foot-col h4 { font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.foot-col a { display: block; color: var(--ink-2); font-size: 15px; padding: 6px 0; transition: color 0.2s; }
.foot-col a:hover { color: var(--blue); }
.foot-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 13.5px; }
.foot-bottom .mono { font-size: 12px; }

/* ---------- legal / prose pages ---------- */
.page-hero { background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 64px 0 48px; }
.page-hero .eyebrow { justify-content: flex-start; }
.page-hero h1 { font-size: clamp(32px, 5vw, 48px); letter-spacing: -0.03em; font-weight: 800; margin-top: 14px; }
.page-hero .meta { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: "JetBrains Mono", monospace; font-size: 13px; color: var(--ink-2); }
.page-hero .meta b { color: var(--ink); font-weight: 500; }
.prose { max-width: 760px; margin: 56px auto 40px; }
.prose .note { background: var(--tint); border: 1px solid var(--tint-2); border-radius: 12px; padding: 14px 18px; color: var(--blue-deep); font-size: 14.5px; margin-bottom: 36px; }
.prose h2 { font-size: 23px; letter-spacing: -0.02em; font-weight: 800; margin: 40px 0 12px; scroll-margin-top: 90px; }
.prose h3 { font-size: 18px; font-weight: 700; margin: 26px 0 8px; }
.prose p { color: var(--ink-2); font-size: 16.5px; line-height: 1.72; margin: 12px 0; }
.prose ul { margin: 12px 0 12px 4px; padding-left: 22px; color: var(--ink-2); font-size: 16.5px; line-height: 1.7; }
.prose li { margin: 8px 0; }
.prose strong { color: var(--ink); }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose .ph { font-family: "JetBrains Mono", monospace; background: #fdf3e6; color: var(--amber); padding: 1px 6px; border-radius: 5px; font-size: 0.92em; }
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: "JetBrains Mono", monospace; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.prose td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }

/* contact cards */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 44px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.contact-card .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--tint); color: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.contact-card .ico svg { width: 23px; height: 23px; }
.contact-card h3 { font-size: 18px; letter-spacing: -0.01em; }
.contact-card p { color: var(--ink-2); font-size: 15px; margin-top: 8px; line-height: 1.6; }
.contact-card a.link { color: var(--blue); font-weight: 700; display: inline-block; margin-top: 12px; }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.hero .reveal { transition-duration: 0.8s; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 10px; padding: 64px 0 96px; text-align: center; }
  .hero p.lede { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .phone-wrap { margin-top: 44px; }
  .sec-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid.cols-3, .steps { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .site-header.open .nav-links { display: flex; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; }
  .site-header.open .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); width: 100%; }
  .section { padding: 68px 0; }
  .grid.cols-3, .steps, .tiers, .contact-grid { grid-template-columns: 1fr; }
  .tier.featured { order: -1; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-band { padding: 48px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- donate ---------- */
.donate-badge { width: 64px; height: 64px; border-radius: 18px; display: flex; align-items: center; justify-content: center; background: linear-gradient(140deg, var(--blue-bright), var(--blue-deep)); color: #fff; box-shadow: var(--shadow-blue); margin-bottom: 22px; }
.donate-badge svg { width: 32px; height: 32px; }

.give-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 48px; }
.give-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s; }
.give-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.give-card.featured { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), var(--shadow); }
.give-card .gc-top { display: flex; align-items: center; gap: 13px; }
.give-card .gc-ico { width: 48px; height: 48px; border-radius: 13px; background: var(--tint); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.give-card .gc-ico svg { width: 25px; height: 25px; }
.give-card h3 { font-size: 19px; letter-spacing: -0.02em; }
.give-card .pop { margin-left: auto; font-family: "JetBrains Mono", monospace; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--blue); background: var(--tint); padding: 3px 9px; border-radius: 100px; }
.give-card > p { color: var(--ink-2); font-size: 14.5px; line-height: 1.6; margin-top: 14px; flex: 1; }
.give-card .gc-act { margin-top: 20px; }
.give-card .gc-act .btn { width: 100%; }

.copy-chip { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--bg-2); border: 1px dashed var(--line-2); border-radius: 12px; padding: 11px 12px 11px 14px; }
.copy-chip code { font-family: "JetBrains Mono", monospace; font-size: 14px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-chip button { border: 0; background: var(--blue); color: #fff; font-family: inherit; font-weight: 700; font-size: 13px; padding: 8px 14px; border-radius: 9px; cursor: pointer; transition: background 0.2s; white-space: nowrap; }
.copy-chip button:hover { background: var(--blue-deep); }
.copy-chip button.copied { background: var(--green); }

/* home support band */
.support-band { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px 48px; display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; box-shadow: var(--shadow-sm); }
.support-band::before { content: ""; position: absolute; right: -70px; top: -70px; width: 240px; height: 240px; background: radial-gradient(circle, var(--tint), transparent 70%); }
.support-band .sb-ico { position: relative; width: 72px; height: 72px; border-radius: 20px; background: linear-gradient(140deg, var(--blue-bright), var(--blue-deep)); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-blue); flex-shrink: 0; }
.support-band .sb-ico svg { width: 36px; height: 36px; }
.support-band .sb-copy { position: relative; }
.support-band h2 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.03em; font-weight: 800; line-height: 1.12; }
.support-band p { color: var(--ink-2); font-size: 16px; margin-top: 8px; max-width: 44em; line-height: 1.6; }
.support-band .sb-act { position: relative; display: flex; flex-direction: column; gap: 10px; }
.support-band .sb-act .btn { white-space: nowrap; }

@media (max-width: 860px) {
  .support-band { grid-template-columns: 1fr; text-align: center; gap: 22px; }
  .support-band .sb-ico { margin-inline: auto; }
  .support-band p { margin-inline: auto; }
  .support-band .sb-act { max-width: 320px; margin-inline: auto; width: 100%; }
}
@media (max-width: 720px) { .give-grid { grid-template-columns: 1fr; } }
