/* chillboyzclub — welcome page
   Same palette and mood as the original; refined type, spacing and layout.
   Fonts are self-hosted (assets/fonts), so nothing is requested from third parties. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 500 800; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("fonts/inter.woff2") format("woff2");
  font-weight: 400 700; font-display: swap;
}

:root {
  color-scheme: dark;
  /* Palette (unchanged from the original) */
  --bg: #101114;
  --panel: #16181C;
  --card: #1B1D22;
  --line: #2A2D34;
  --line-soft: #22252B;
  --text: #F2F0EA;
  --muted: #A3A6AE;
  --subtle: #7D818A;
  --accent: #C6F26B;
  --accent-rgb: 198, 242, 107;
  --ink: #101114;
  --warn: #FF9E6B;
  --violet-bg: #1F1B2E;
  --violet-line: #3A3260;
  --violet-text: #D9CFFF;
  --violet-muted: #C9C3E6;

  /* Type */
  --display: "Bricolage Grotesque", "Inter", ui-sans-serif, system-ui, sans-serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing scale (4px base) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 24px;
  --shadow: 0 1px 0 rgba(255,255,255,0.03) inset, 0 20px 40px -24px rgba(0,0,0,0.6);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --wrap: 1180px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-family: var(--display); color: var(--text); text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.ic { width: 18px; height: 18px; flex: none; }
.accent-text { color: var(--accent); }

.skip { position: absolute; left: 16px; top: -48px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: var(--accent); color: var(--ink); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 12px;
  font: 600 16px/1 var(--sans); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s var(--ease), box-shadow .18s ease;
}
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 16px; border-radius: 14px; }
.btn-primary { background: var(--accent); color: var(--ink); box-shadow: 0 8px 24px -10px rgba(var(--accent-rgb), 0.55); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(var(--accent-rgb), 0.7); filter: brightness(1.04); }
.btn-ghost { background: rgba(255,255,255,0.02); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--card); border-color: #3a3e47; }
.btn-support { background: transparent; color: #FF9E6B; border-color: #FF9E6B; }
.btn-support:hover { background: rgba(255, 158, 107, 0.12); }
.support-box { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 28px; max-width: 640px; }
.support-box p { margin: 0; color: var(--muted); }
.crypto { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.crypto-row { display: flex; align-items: center; gap: 10px; }
.crypto-row span { font-weight: 700; width: 3.2em; }
.crypto-row code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: var(--muted); font-size: 13px; }
.btn:active { transform: translateY(0); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16,17,20,0.72);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
.nav.scrolled { border-bottom-color: var(--line-soft); background: rgba(16,17,20,0.86); }
.nav-inner { display: flex; align-items: center; gap: var(--s6); height: 72px; }
.brand { display: inline-flex; align-items: center; color: var(--text); flex: none; }
.brand .logo { height: 30px; width: auto; }
.nav-links { display: flex; gap: var(--s1); margin-left: auto; }
.nav-links a, .nav-login {
  padding: 8px 12px; border-radius: 8px;
  color: var(--muted); font-size: 14px; font-weight: 500; text-decoration: none;
  transition: color .15s ease, background-color .15s ease;
}
.nav-links a:hover, .nav-login:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.nav-auth { display: flex; align-items: center; gap: var(--s2); padding-left: var(--s4); border-left: 1px solid var(--line); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: var(--s8) 0 var(--s9); overflow: hidden; }
.hero::before { /* faint halftone field, the original's signature texture */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, rgba(var(--accent-rgb), 0.5) 1.2px, transparent 1.6px);
  background-size: 9px 9px;
  -webkit-mask-image: radial-gradient(60% 70% at 85% 40%, rgba(0,0,0,.55), transparent 70%);
          mask-image: radial-gradient(60% 70% at 85% 40%, rgba(0,0,0,.55), transparent 70%);
  opacity: .35;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: var(--s8); }
.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line);
  color: var(--text); font-size: 13.5px; font-weight: 500;
}
.chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .15); }
.hero h1 {
  margin-top: var(--s5);
  font-size: clamp(40px, 5.3vw, 66px); line-height: 1.04; font-weight: 800; letter-spacing: -0.035em;
}
.lead { margin-top: var(--s5); max-width: 34ch; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.hero-note { margin-top: var(--s4); font-size: 14px; color: var(--subtle); }
.hero-note a { color: var(--text); font-weight: 500; }
.hero-note a:hover { color: var(--accent); }

/* Hero composition */
.hero-art { position: relative; aspect-ratio: 1 / .92; max-width: 520px; width: 100%; justify-self: end; }
.hero-glow { position: absolute; inset: 10% 5% 5% 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--accent-rgb), .16), transparent); filter: blur(10px); }
.win {
  position: absolute; left: 0; right: 8%; top: 12%;
  border-radius: 16px; overflow: hidden;
  background: #0d0e11; border: 1px solid var(--line);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02) inset;
  transform: rotate(-2deg);
}
.win-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: var(--panel); border-bottom: 1px solid var(--line); }
.win-bar b { width: 9px; height: 9px; border-radius: 50%; background: #3a3d45; }
.win-bar span { margin-left: 8px; font: 600 11px/1 var(--sans); color: var(--muted); letter-spacing: .02em; }
.win-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; padding: 12px; }
.win-grid.small { gap: 6px; padding: 10px; }
.win-grid i {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 3 / 4; border-radius: 9px;
  /* duotone: silhouette tones are deep shades of the tile color */
  --sa: color-mix(in srgb, var(--c) 34%, #0c0d10);
  --sb: color-mix(in srgb, var(--c) 16%, #0a0b0d);
  --sc: color-mix(in srgb, var(--c) 46%, #0c0d10);
  background:
    radial-gradient(52% 38% at 50% 36%, rgba(255,255,255,.34), transparent 72%),
    linear-gradient(165deg, color-mix(in srgb, var(--c) 88%, #fff), var(--c) 45%, color-mix(in srgb, var(--c) 62%, #101114));
}
/* subtle film grain */
.win-grid i > svg + b, .win-grid i::after { pointer-events: none; }
.win-grid i > svg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.win-grid i > svg.flip { transform: scaleX(-1); }
.win-grid i::after {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit;
  background:
    linear-gradient(transparent 62%, rgba(10,11,13,.55)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 100% 100%, 120px 120px;
  mix-blend-mode: soft-light; opacity: .9;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}
/* name bar */
.win-grid i > em {
  position: absolute; left: 8px; bottom: 8px; z-index: 2; width: 46%; height: 4px; border-radius: 2px;
  background: rgba(242,240,234,.62);
}
.win-grid i > em::after { content: ""; position: absolute; left: 0; top: 7px; width: 60%; height: 3px; border-radius: 2px; background: rgba(242,240,234,.3); }
.win-grid.small i > em { left: 6px; bottom: 8px; height: 3px; }
.win-grid.small i > em::after { top: 5px; height: 2px; }
.win-grid i.on::before { content: ""; position: absolute; top: 7px; right: 7px; z-index: 2; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px rgba(16,17,20,.5); }
.float-chat {
  position: absolute; left: -4%; bottom: 4%; width: 58%;
  display: flex; flex-direction: column; gap: 8px; padding: 14px;
  border-radius: 18px; background: rgba(22,24,28,.92); border: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.75);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.float-chat p, .phone-chat p { max-width: 86%; padding: 8px 12px; border-radius: 14px; font-size: 13px; line-height: 1.35; }
.card .them, .them { align-self: flex-start; background: #23262D; color: var(--text); border-bottom-left-radius: 4px; }
.card .me, .me { align-self: flex-end; background: var(--accent); color: var(--ink); border-bottom-right-radius: 4px; font-weight: 500; }
.float-pin { position: absolute; right: 0; top: 0; width: 26%; height: auto; aspect-ratio: 112 / 162; color: var(--accent); filter: drop-shadow(0 18px 30px rgba(var(--accent-rgb), .28)); transform: rotate(8deg); }

/* ---------- Sections ---------- */
.section { padding: var(--s9) 0 0; }
.section-head { margin-bottom: var(--s6); max-width: 720px; }
.eyebrow { font: 600 13px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--s3); }
.eyebrow-warn { color: var(--warn); }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; font-weight: 750; letter-spacing: -0.03em; }
h3 { font-size: 19px; line-height: 1.3; font-weight: 700; letter-spacing: -0.015em; }

.card {
  position: relative; isolation: isolate;
  background: linear-gradient(180deg, rgba(255,255,255,.018), rgba(255,255,255,0)) , var(--card);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.card p { color: var(--muted); }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); counter-reset: s; }
.step { padding: var(--s6) var(--s6) var(--s6); }
.step-num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: rgba(var(--accent-rgb), .12); color: var(--accent); border: 1px solid rgba(var(--accent-rgb), .28);
  font: 700 17px/1 var(--display); margin-bottom: var(--s5);
}
.step h3 { margin-bottom: var(--s2); }
.step p { font-size: 15.5px; line-height: 1.6; }

.callout {
  display: flex; gap: var(--s5); align-items: flex-start;
  margin-top: var(--s5); padding: var(--s6);
  background: var(--violet-bg); border: 1px solid var(--violet-line); border-radius: var(--radius-lg);
}
.callout-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(217,207,255,.1); color: var(--violet-text); }
.callout-icon svg { width: 24px; height: 24px; }
.callout h3 { color: var(--violet-text); font-size: 20px; }
.callout p { margin-top: var(--s2); color: var(--violet-muted); font-size: 16px; line-height: 1.6; max-width: 78ch; }

/* Features bento */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--s5); }
.feature { grid-column: span 4; padding: var(--s6) var(--s6) var(--s6); overflow: hidden; transition: border-color .2s ease, transform .25s var(--ease); }
.feature:hover { border-color: #3a3e47; transform: translateY(-2px); }
.feature.wide { grid-column: span 8; display: grid; grid-template-columns: minmax(0, 1fr) auto; justify-items: start; align-items: center; gap: var(--s6); padding-right: var(--s6); }
.f-icon {
  display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: var(--s5);
  border-radius: 12px; background: rgba(var(--accent-rgb), .1); color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), .2);
}
.f-icon svg { width: 22px; height: 22px; }
.feature h3 { margin-bottom: var(--s2); }
.feature p { font-size: 15.5px; line-height: 1.6; }
.feature.wide p { max-width: 38ch; }
.paid {
  display: inline-block; margin-left: 4px; padding: 2px 8px; border-radius: 999px; vertical-align: 1px;
  background: rgba(var(--accent-rgb), .12); color: var(--accent); font-size: 12px; font-weight: 600; line-height: 1.5; letter-spacing: .02em;
}
/* halftone corner on wide cards only (kept from the original, toned down) */
.feature.wide::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, rgba(var(--accent-rgb), .9) 1.3px, transparent 1.7px);
  background-size: 8px 8px;
  -webkit-mask-image: radial-gradient(55% 80% at 100% 100%, #000, transparent 70%);
          mask-image: radial-gradient(55% 80% at 100% 100%, #000, transparent 70%);
  opacity: .28;
}
.feature.wide .mock { justify-self: end; }
.mock { position: relative; overflow: hidden; background: #0d0e11; border: 1px solid var(--line); box-shadow: 0 24px 50px -20px rgba(0,0,0,.75); }
.mock-browser { width: 330px; border-radius: 14px; }
.mock-browser .win-bar { padding: 8px 10px; }
.mock-phone { width: 140px; height: 244px; border-radius: 28px; border: 3px solid #2f323a; }
.phone-notch { position: absolute; top: 7px; left: 50%; width: 48px; height: 13px; margin-left: -24px; border-radius: 8px; background: #000; z-index: 2; }
.phone-chat { position: absolute; inset: 28px 9px 12px; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; }
.phone-chat p { font-size: 10.5px; padding: 6px 9px; border-radius: 12px; }
.phone-map { position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 45%, #161a1f, #0f1114); }
.phone-map .roads { position: absolute; inset: 0; width: 100%; height: 100%; }
.phone-map .roads path { fill: none; stroke: rgba(var(--accent-rgb), .3); stroke-width: 2.2; }
.map-ring { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: radial-gradient(closest-side, rgba(var(--accent-rgb), .22), rgba(var(--accent-rgb), 0)); border: 1px solid rgba(var(--accent-rgb), .25); }
.map-pin { position: absolute; left: 50%; top: 50%; width: 44px; height: 64px; transform: translate(-50%, -100%); color: var(--accent); filter: drop-shadow(0 8px 14px rgba(var(--accent-rgb), .35)); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); align-items: stretch; }
.plan { padding: var(--s6); display: flex; flex-direction: column; }
.plan h3 { font-size: 18px; color: var(--muted); font-weight: 600; font-family: var(--sans); letter-spacing: 0; }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s3); }
.tag { padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.price { margin-top: var(--s4); display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price strong { font: 800 44px/1 var(--display); letter-spacing: -0.03em; color: var(--text); }
.price span { color: var(--muted); font-size: 15px; font-weight: 500; }
.price-alt { margin-top: var(--s2); color: var(--muted); font-size: 15px; }
.price-alt strong { color: var(--text); font-weight: 700; }
.checks { list-style: none; margin: var(--s5) 0 0; padding: var(--s5) 0 0; border-top: 1px solid var(--line); display: grid; gap: var(--s3); }
.checks li { position: relative; padding-left: 28px; color: #D6D5D0; font-size: 15px; line-height: 1.5; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(var(--accent-rgb), .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%23C6F26B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.plan.featured { border-color: rgba(var(--accent-rgb), .55); background: linear-gradient(180deg, rgba(var(--accent-rgb), .07), rgba(var(--accent-rgb), 0) 55%), var(--card); box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .12), 0 30px 60px -30px rgba(var(--accent-rgb), .25); }
.plan.featured h3 { color: var(--accent); }
.note {
  display: flex; gap: var(--s4); align-items: flex-start;
  margin-top: var(--s5); padding: var(--s5) var(--s6);
  border: 1px dashed var(--line); border-radius: var(--radius);
  color: var(--muted); font-size: 15px; line-height: 1.6;
}
.note-icon { flex: none; width: 22px; height: 22px; color: var(--accent); margin-top: 1px; }

/* Downloads */
.downloads { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
.dl { display: flex; flex-direction: column; padding: var(--s6) var(--s5) var(--s5); color: inherit; text-decoration: none; transition: border-color .2s ease, transform .25s var(--ease), background-color .2s ease; }
.dl:hover { border-color: rgba(var(--accent-rgb), .6); transform: translateY(-2px); }
.dl-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); color: var(--text); margin-bottom: var(--s5); }
.dl-icon svg { width: 22px; height: 22px; }
.dl h3 { font-size: 18px; }
.dl p { margin-top: 4px; font-size: 14.5px; }
.dl-file {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 10px; margin-top: var(--s5);
  border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--text);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.dl-file .ic { width: 16px; height: 16px; }
.dl:hover .dl-file { border-color: rgba(var(--accent-rgb), .6); }
.dl.mine { border-color: rgba(var(--accent-rgb), .7); background: linear-gradient(180deg, rgba(var(--accent-rgb), .07), rgba(var(--accent-rgb), 0) 60%), var(--card); }
.dl.mine .dl-file { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.dl.mine::before { content: "For this computer"; position: absolute; top: 18px; right: 18px; padding: 3px 9px; border-radius: 999px; background: rgba(var(--accent-rgb), .14); color: var(--accent); font-size: 11.5px; font-weight: 600; }
.install {
  display: grid; grid-template-columns: 1fr; gap: var(--s4);
  margin-top: var(--s5); padding: var(--s6);
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.install-lead { color: var(--text); font-weight: 500; }
.install-steps { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.install-steps div { padding-top: var(--s4); border-top: 1px solid var(--line); }
.install-steps dt { font: 700 13px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--s2); }
.install-steps dd { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.text-link { display: inline-flex; align-items: center; gap: 6px; justify-self: start; font-weight: 600; font-size: 15px; text-decoration: none; }
.text-link .ic { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.text-link:hover { text-decoration: underline; }
.text-link:hover .ic { transform: translateX(3px); }

/* Things to know */
.know { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s3) var(--s5); }
.know li {
  display: flex; gap: var(--s4); align-items: flex-start;
  padding: var(--s5); border-radius: var(--radius);
  background: var(--panel); border: 1px solid var(--line);
  color: #E4E2DC; font-size: 15.5px; line-height: 1.55;
}
.know svg { flex: none; width: 20px; height: 20px; color: var(--warn); margin-top: 1px; }

/* CTA */
.section-cta { padding-bottom: var(--s9); }
.cta {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s6);
  padding: var(--s8) var(--s8);
  background: radial-gradient(80% 140% at 0% 0%, rgba(var(--accent-rgb), .12), transparent 60%), var(--card);
  border: 1px solid var(--line); border-radius: 28px;
}
.cta::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle, rgba(var(--accent-rgb), .9) 1.4px, transparent 1.8px);
  background-size: 8px 8px;
  -webkit-mask-image: radial-gradient(45% 90% at 100% 100%, #000, transparent 70%);
          mask-image: radial-gradient(45% 90% at 100% 100%, #000, transparent 70%);
  opacity: .35;
}
.cta h2 { font-size: clamp(30px, 3.4vw, 40px); }
.cta p { margin-top: var(--s3); color: var(--muted); font-size: 17px; max-width: 46ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* Footer */
.foot { border-top: 1px solid var(--line-soft); padding: var(--s7) 0 var(--s7); color: var(--muted); font-size: 14px; }
.foot-inner { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: var(--s5); }
.foot .logo { height: 24px; width: auto; color: var(--text); }
.foot-note { margin-top: var(--s3); color: var(--subtle); }
.foot-nav { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); padding-top: 4px; }
.foot-nav a { color: var(--muted); text-decoration: none; }
.foot-nav a:hover { color: var(--accent); }

/* Reveal on scroll (subtle) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .7s var(--ease); transition-delay: var(--delay, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-auth { margin-left: auto; border-left: 0; padding-left: 0; }
  .feature { grid-column: span 6; }
  .feature.wide, .bento > .feature:last-child { grid-column: span 12; }
  .downloads { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hero { padding: var(--s7) 0 var(--s8); }
  .hero-grid { grid-template-columns: 1fr; gap: var(--s7); }
  .hero-art { justify-self: center; max-width: 460px; }
  .plans { grid-template-columns: 1fr; }
  .step { padding: var(--s5); }
  .know { grid-template-columns: 1fr; }
  .install-steps { grid-template-columns: 1fr; gap: var(--s4); }
  .cta { padding: var(--s7) var(--s6); }
}
@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .section { padding-top: var(--s8); }
  .section-head { margin-bottom: var(--s5); }
  .nav-inner { height: 64px; gap: var(--s3); }
  .brand .logo { height: 24px; }
  .nav-login { padding: 8px 8px; }
  .lead { max-width: none; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-art { max-width: 360px; }
  .feature, .feature.wide { grid-column: span 12; }
  .feature.wide { grid-template-columns: 1fr; padding-bottom: 0; }
  .feature.wide .mock { justify-self: center; margin-bottom: -40px; }
  .feature.wide .mock-browser { width: 100%; margin-bottom: var(--s6); }
  .steps { grid-template-columns: 1fr; }
  .downloads { grid-template-columns: 1fr; gap: var(--s3); }
  .dl { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; column-gap: var(--s4); align-items: center; padding: 16px 16px 16px 18px; }
  .dl-icon { width: 40px; height: 40px; margin: 0; grid-row: span 2; }
  .dl h3 { font-size: 16.5px; align-self: end; }
  .dl p { margin: 0; font-size: 13.5px; grid-column: 2; align-self: start; }
  .dl-file { grid-column: 3; grid-row: 1 / span 2; margin: 0; align-self: center; padding: 8px 12px; font-size: 13px; }
  .dl.mine::before { position: static; grid-column: 2 / span 2; grid-row: 3; justify-self: start; margin-top: 10px; }
  .know { gap: var(--s2); }
  .know li { padding: 16px 18px; font-size: 15px; gap: var(--s3); }
  .feature:not(.wide) { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: var(--s4); }
  .feature:not(.wide) .f-text { display: contents; }
  .feature:not(.wide) .f-icon { grid-row: span 2; width: 40px; height: 40px; margin: 0; }
  .feature:not(.wide) h3 { margin-bottom: 4px; align-self: center; }
  .feature:not(.wide) p { font-size: 15px; }
  .step { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: var(--s4); }
  .step .step-num { grid-row: span 2; margin: 0; }
  .step h3 { margin-bottom: 4px; align-self: center; }
  .step, .feature, .plan, .install, .callout { padding: var(--s5); }
  .feature:not(.wide), .step { padding: 20px; }
  .callout { flex-direction: column; gap: var(--s4); }
  .note { padding: var(--s4) var(--s5); }
  .cta { padding: var(--s6) var(--s5); }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .foot-inner { flex-direction: column; }
}
@media (max-width: 380px) {
  .brand .logo { height: 21px; }
  .btn-sm { padding: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
