/* ============================================================
   Gridkast & Co. — Main Stylesheet  (v2 · Premium redesign)
   Aesthetic: light, editorial, restrained. Warm neutrals + brand blue.
   ============================================================ */

:root {
  /* Brand (matched to logo gradient #2E6BFF → #0B3FD6) */
  --brand:        #1E50E6;
  --brand-strong: #0B3FD6;
  --brand-soft:   rgba(30,80,230,.08);
  --brand-tint:   rgba(30,80,230,.12);

  /* Neutrals — warm off-white system */
  --bg:           #FBFAF8;   /* page background      */
  --bg-alt:       #F4F3EF;   /* alternate sections   */
  --surface:      #FFFFFF;   /* cards                */
  --ink:          #15171C;   /* headings (near-black)*/
  --ink-soft:     #565A63;   /* body text            */
  --muted:        #8A8E97;   /* captions / list dash */
  --line:         #E9E7E1;   /* warm hairline border */
  --line-soft:    #F0EEE9;

  /* Icon tints (muted, classy) */
  --t-blue:  #1E50E6;  --tb-blue:  rgba(30,80,230,.10);
  --t-indigo:#5B5BD6;  --tb-indigo:rgba(91,91,214,.10);
  --t-teal:  #0E8C7F;  --tb-teal:  rgba(14,140,127,.10);
  --t-green: #1F9D57;  --tb-green: rgba(31,157,87,.10);
  --t-amber: #C2780C;  --tb-amber: rgba(194,120,12,.12);
  --t-rose:  #D43F63;  --tb-rose:  rgba(212,63,99,.10);
  --t-violet:#7C3AED;  --tb-violet:rgba(124,58,237,.10);

  --radius:    14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(21,23,28,.04), 0 1px 3px rgba(21,23,28,.05);
  --shadow-md: 0 6px 24px -8px rgba(21,23,28,.12);
  --shadow-lg: 0 24px 60px -20px rgba(21,23,28,.22);
  --ease:      cubic-bezier(.4,0,.2,1);
  --t:         .35s var(--ease);

  --maxw: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
button { font-family: inherit; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: 104px 0; }
.section-sm { padding: 72px 0; }
.bg-alt { background: var(--bg-alt); }

/* ---------- Icons ---------- */
.ico { width: 22px; height: 22px; stroke-width: 1.8; }
.ico-sm { width: 18px; height: 18px; }
.ico-lg { width: 26px; height: 26px; }

/* Tinted icon box */
.ico-box {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: var(--t);
}
.ico-box .ico { width: 24px; height: 24px; }
.ico-box.sm { width: 40px; height: 40px; border-radius: 11px; }
.ico-box.sm .ico { width: 20px; height: 20px; }

.tint-blue   { background: var(--tb-blue);   color: var(--t-blue); }
.tint-indigo { background: var(--tb-indigo); color: var(--t-indigo); }
.tint-teal   { background: var(--tb-teal);   color: var(--t-teal); }
.tint-green  { background: var(--tb-green);  color: var(--t-green); }
.tint-amber  { background: var(--tb-amber);  color: var(--t-amber); }
.tint-rose   { background: var(--tb-rose);   color: var(--t-rose); }
.tint-violet { background: var(--tb-violet); color: var(--t-violet); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: ''; width: 26px; height: 1.5px; background: var(--brand); display: inline-block;
}
.eyebrow.center { justify-content: center; }
.eyebrow.center::after {
  content: ''; width: 26px; height: 1.5px; background: var(--brand); display: inline-block;
}

h1, h2, h3, h4 { color: var(--ink); font-weight: 800; line-height: 1.12; letter-spacing: -0.02em; }

.h-title {
  font-size: clamp(30px, 3.6vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
.h-sub {
  font-size: 17px; color: var(--ink-soft); line-height: 1.7;
  max-width: 600px; margin-top: 18px; font-weight: 400;
}
.center { text-align: center; }
.center .h-sub { margin-left: auto; margin-right: auto; }
.head-wrap { margin-bottom: 56px; }
.head-wrap .eyebrow { margin-bottom: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px; border-radius: 11px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; transition: var(--t);
  white-space: nowrap;
}
.btn .ico { width: 18px; height: 18px; }
.btn-primary {
  background: var(--brand); color: #fff;
  box-shadow: 0 6px 18px -6px rgba(30,80,230,.5);
}
.btn-primary:hover { background: var(--brand-strong); transform: translateY(-2px); box-shadow: 0 12px 26px -8px rgba(30,80,230,.55); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.25); }
.btn-light:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--brand); padding-left: 0; padding-right: 0; }
.btn-ghost:hover .ico { transform: translateX(4px); }
.btn-ghost .ico { transition: transform var(--t); }
.btn-lg { padding: 16px 30px; font-size: 16px; }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
#site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  transition: background var(--t), box-shadow var(--t), border-color var(--t);
  border-bottom: 1px solid transparent;
}
#site-header.scrolled {
  background: rgba(251,250,248,.85);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.logo { display: inline-flex; align-items: center; gap: 11px; }
.logo .gk-mark { flex-shrink: 0; }
.logo-text { font-size: 20px; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.logo-text .co { color: var(--muted); font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  padding: 9px 15px; font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  border-radius: 9px; transition: var(--t);
}
.main-nav a:hover, .main-nav a.active { color: var(--ink); background: rgba(21,23,28,.05); }

.header-cta { display: flex; align-items: center; gap: 10px; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 42px; height: 42px; align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--line); border-radius: 11px; cursor: pointer;
}
.hamburger span { width: 18px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: var(--t); }
.hamburger.open span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

.mobile-nav {
  display: none; position: fixed; inset: 76px 0 auto 0; z-index: 999;
  background: var(--bg); border-top: 1px solid var(--line);
  padding: 20px 28px 28px; box-shadow: var(--shadow-lg);
}
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 13px 0; font-size: 16px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.mobile-nav .btn { margin-top: 16px; }
.mobile-nav .btn:first-of-type { margin-top: 22px; }

/* ---------- Hero ---------- */
#hero { position: relative; padding: 158px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }

.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 100px;
  padding: 6px 14px 6px 6px; font-size: 13px; font-weight: 600; color: var(--ink-soft);
  box-shadow: var(--shadow-sm); margin-bottom: 26px;
}
.hero-pill .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; }
.hero-pill .dot .ico { width: 13px; height: 13px; }

.hero-h1 {
  font-size: clamp(36px, 5vw, 60px); font-weight: 800; color: var(--ink);
  letter-spacing: -0.035em; line-height: 1.04;
}
.hero-h1 em { font-style: normal; color: var(--brand); }
.hero-lead { font-size: 18px; color: var(--ink-soft); line-height: 1.7; max-width: 500px; margin-top: 24px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }

.hero-trust { display: flex; align-items: center; gap: 26px; margin-top: 44px; padding-top: 30px; border-top: 1px solid var(--line); }
.hero-stat .n { font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; }
.hero-stat .l { font-size: 13px; color: var(--muted); margin-top: 1px; }
.hero-divider { width: 1px; height: 38px; background: var(--line); }

/* Hero visual — calm "everything under one roof" panel */
.hero-visual { position: relative; }
.roof {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: 22px 24px; box-shadow: var(--shadow-lg);
}
.roof-head { display: flex; align-items: center; gap: 11px; padding-bottom: 16px; border-bottom: 1px solid var(--line-soft); }
.roof-head .gk-mark { flex-shrink: 0; }
.roof-title { font-size: 14px; font-weight: 700; color: var(--ink); }
.roof-tag { margin-left: auto; font-size: 11px; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 4px 10px; border-radius: 100px; }
.roof-list li { display: flex; align-items: center; gap: 13px; padding: 11px 0; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.roof-list li + li { border-top: 1px solid var(--line-soft); }
.roof-foot { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line-soft); font-size: 12.5px; color: var(--muted); text-align: center; }

/* ---------- Logo marquee / trust strip ---------- */
.trust-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-row { display: flex; align-items: stretch; justify-content: space-between; flex-wrap: wrap; }
.trust-cell {
  display: flex; align-items: center; gap: 12px; padding: 26px 22px; flex: 1;
  border-right: 1px solid var(--line-soft);
}
.trust-cell:last-child { border-right: none; }
.trust-cell .ico-box { width: 40px; height: 40px; border-radius: 11px; }
.trust-cell .ico-box .ico { width: 20px; height: 20px; }
.trust-cell span { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.3; }

/* ---------- Generic card grids ---------- */
.grid { display: grid; gap: 22px; }
.cols-2 { grid-template-columns: repeat(2,1fr); }
.cols-3 { grid-template-columns: repeat(3,1fr); }
.cols-4 { grid-template-columns: repeat(4,1fr); }
.cols-5 { grid-template-columns: repeat(5,1fr); }

/* Card base */
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; transition: var(--t);
}
.card:hover { border-color: var(--line); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card h3 { font-size: 18px; font-weight: 700; margin: 18px 0 9px; }
.card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; }

/* Problem card variant */
.card-line { position: relative; overflow: hidden; }
.card-line::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--brand); transform: scaleY(0); transform-origin: top; transition: transform var(--t);
}
.card-line:hover::before { transform: scaleY(1); }

/* ---------- Services (em-dash list, reference style) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.svc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; transition: var(--t); display: flex; flex-direction: column;
}
.svc:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.svc-top { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.svc-top h3 { font-size: 18px; font-weight: 700; }
.svc-list { display: grid; gap: 1px; margin-bottom: 22px; }
.svc-list li { display: flex; gap: 10px; align-items: baseline; font-size: 14.5px; color: var(--ink-soft); padding: 4px 0; }
.svc-list li::before { content: '—'; color: var(--muted); flex-shrink: 0; }
.svc-foot { margin-top: auto; }
.svc-foot a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--brand); }
.svc-foot a .ico { width: 16px; height: 16px; transition: transform var(--t); }
.svc-foot a:hover .ico { transform: translateX(4px); }

/* ---------- Why us ---------- */
.why { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; transition: var(--t); }
.why:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.why h3 { font-size: 17px; font-weight: 700; margin: 18px 0 8px; }
.why p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Process ---------- */
.process { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; position: relative; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step-n {
  width: 46px; height: 46px; border-radius: 13px; background: var(--surface); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--brand);
  font-weight: 800; font-size: 16px; margin-bottom: 20px; transition: var(--t); box-shadow: var(--shadow-sm);
}
.step:hover .step-n { background: var(--brand); color: #fff; border-color: var(--brand); }
.step .ico-box { width: 38px; height: 38px; border-radius: 10px; margin-bottom: 14px; }
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 7px; }
.step p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; }
.step::before {
  content: ''; position: absolute; top: 31px; left: 58px; right: -6px; height: 1px;
  background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px);
}
.step:last-child::before { display: none; }

/* ---------- Packages ---------- */
.pkg-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.pkg {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; transition: var(--t); display: flex; flex-direction: column; position: relative;
}
.pkg:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.pkg.feat { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow-md); }
.pkg.dark { background: var(--ink); border-color: var(--ink); }
.pkg.dark h3 { color: #fff; }
.pkg.dark p { color: rgba(255,255,255,.62); }
.pkg-badge { position: absolute; top: 22px; right: 22px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 5px 11px; border-radius: 100px; }
.pkg h3 { font-size: 19px; font-weight: 700; margin: 18px 0 9px; }
.pkg p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 22px; }
.pkg-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 26px; }
.pkg-tags span { font-size: 12.5px; font-weight: 500; color: var(--ink-soft); background: var(--bg-alt); border: 1px solid var(--line); padding: 4px 11px; border-radius: 100px; }
.pkg.dark .pkg-tags span { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: rgba(255,255,255,.8); }
.pkg .btn { margin-top: auto; }

/* ---------- Industries ---------- */
.ind-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.ind {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 16px;
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; transition: var(--t);
}
.ind:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.ind:hover .ico-box { background: var(--brand); color: #fff; }
.ind .ico-box { background: var(--bg-alt); color: var(--ink); }
.ind span { font-size: 13.5px; font-weight: 600; color: var(--ink); }

/* ---------- Capabilities ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.cap { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; transition: var(--t); }
.cap:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.cap h3 { font-size: 15.5px; font-weight: 700; margin-bottom: 4px; }
.cap p { font-size: 13.5px; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 0 auto; }
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; transition: var(--t); }
.faq.open { border-color: var(--brand); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 24px; cursor: pointer; font-size: 16px; font-weight: 600; color: var(--ink); }
.faq-q .pm { width: 26px; height: 26px; flex-shrink: 0; border-radius: 8px; background: var(--bg-alt); color: var(--brand); display: flex; align-items: center; justify-content: center; transition: var(--t); }
.faq-q .pm .ico { width: 16px; height: 16px; }
.faq.open .pm { background: var(--brand); color: #fff; transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease), padding .3s var(--ease); padding: 0 24px; }
.faq-a p { font-size: 15px; color: var(--ink-soft); line-height: 1.7; }
.faq.open .faq-a { max-height: 240px; padding: 0 24px 22px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: 26px; margin-bottom: 14px; }
.contact-info > p { font-size: 15.5px; color: var(--ink-soft); margin-bottom: 30px; }
.contact-rows { display: grid; gap: 16px; }
.crow { display: flex; align-items: center; gap: 14px; }
.crow .ico-box { width: 44px; height: 44px; }
.crow .k { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.crow .v { font-size: 14.5px; color: var(--ink); font-weight: 500; }
.crow .v a { color: var(--brand); }

.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-sm); }
.form-card h3 { font-size: 20px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fg { margin-bottom: 16px; }
.fg label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.fg input, .fg select, .fg textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 11px;
  font-size: 14.5px; font-family: inherit; color: var(--ink); background: var(--bg); transition: var(--t); outline: none;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); background: var(--surface); }
.fg textarea { min-height: 120px; resize: vertical; }
.fg select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%238A8E97' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; }
.form-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 14px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; border-radius: var(--radius-xl); padding: 64px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; top: -160px; left: 50%; transform: translateX(-50%); width: 560px; height: 360px; background: radial-gradient(circle, rgba(30,80,230,.28), transparent 68%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); }
.cta-band p { color: rgba(255,255,255,.7); font-size: 17px; max-width: 540px; margin: 16px auto 32px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Page hero (inner) ---------- */
.page-hero { padding: 150px 0 64px; text-align: center; position: relative; }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero .h-sub { margin: 18px auto 0; }

/* ---------- Footer ---------- */
#site-footer { background: var(--ink); color: rgba(255,255,255,.62); padding: 80px 0 0; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1.4fr 1.4fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-brand .logo-text { color: #fff; }
.foot-brand .logo-text .co { color: rgba(255,255,255,.5); }
.foot-desc { font-size: 14px; line-height: 1.7; max-width: 300px; margin-top: 18px; }
.foot-social { display: flex; gap: 9px; margin-top: 24px; }
.foot-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.7); transition: var(--t); }
.foot-social a .ico { width: 18px; height: 18px; }
.foot-social a:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); }
.foot-col h4 { font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 20px; }
.foot-col ul { display: grid; gap: 11px; }
.foot-col a { font-size: 14px; color: rgba(255,255,255,.6); transition: var(--t); }
.foot-col a:hover { color: #fff; }
.foot-contact { display: grid; gap: 14px; }
.foot-contact .ci { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; }
.foot-contact .ci .ico { width: 17px; height: 17px; color: rgba(255,255,255,.45); margin-top: 2px; flex-shrink: 0; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 24px 0; }
.foot-bottom p { font-size: 13px; color: rgba(255,255,255,.55); }
.foot-legal { display: flex; gap: 22px; }
.foot-legal a { font-size: 13px; color: rgba(255,255,255,.6); transition: var(--t); }
.foot-legal a:hover { color: rgba(255,255,255,.8); }

/* ---------- Back to top ---------- */
#back-top {
  position: fixed; bottom: 26px; right: 26px; width: 46px; height: 46px; border-radius: 13px;
  background: var(--ink); color: #fff; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: var(--t); z-index: 900;
}
#back-top .ico { transform: rotate(-90deg); }
#back-top.show { opacity: 1; pointer-events: all; }
#back-top:hover { transform: translateY(-3px); background: var(--brand); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .06s; } .d2 { transition-delay: .12s; } .d3 { transition-delay: .18s; }
.d4 { transition-delay: .24s; } .d5 { transition-delay: .3s; } .d6 { transition-delay: .36s; }

/* ---------- Legal / prose pages ---------- */
.legal { max-width: 768px; margin: 0 auto; }
.legal-meta { font-size: 14px; color: var(--muted); margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.legal-intro { font-size: 16.5px; color: var(--ink-soft); line-height: 1.75; margin-bottom: 8px; }
.legal h2 { font-size: 22px; font-weight: 800; margin: 42px 0 14px; letter-spacing: -0.02em; }
.legal h3 { font-size: 17px; font-weight: 700; margin: 26px 0 10px; }
.legal p { font-size: 15.5px; color: var(--ink-soft); line-height: 1.75; margin-bottom: 14px; }
.legal ul { margin: 0 0 16px; }
.legal li { position: relative; font-size: 15.5px; color: var(--ink-soft); line-height: 1.7; padding-left: 22px; margin-bottom: 9px; }
.legal li::before { content: ''; position: absolute; left: 4px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
.legal a { color: var(--brand); font-weight: 500; }
.legal strong { color: var(--ink); font-weight: 700; }
.legal .callout { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 8px 0 32px; font-size: 14.5px; color: var(--ink-soft); }

/* ---------- Misc ---------- */
.stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; text-align: center; }
.stat-card .n { font-size: 38px; font-weight: 800; color: var(--brand); letter-spacing: -0.03em; }
.stat-card .l { font-size: 14px; color: var(--ink-soft); margin-top: 6px; }
