/* ============================================================
   chbnk — independent software studio
   Light "porcelain" minimalism · electric vermilion accent
   Static, dependency-free.
   ============================================================ */

:root {
  --bg:        #eef0f3;   /* cool porcelain — not cream, not navy */
  --bg-2:      #e7eaee;
  --surface:   #ffffff;
  --surface-2: #f7f8fa;
  --line:      rgba(16, 18, 24, 0.09);
  --line-2:    rgba(16, 18, 24, 0.16);

  --ink:       #0d0e12;
  --text:      #16181d;
  --muted:     #565a64;
  --faint:     #9298a3;

  --accent:    #ff4326;   /* electric vermilion — the brand */
  --accent-d:  #e8331a;
  --accent-2:  #6f53ff;   /* violet — animation/aurora only */
  --accent-3:  #ff7a3d;   /* warm coral — aurora only */
  --accent-soft: rgba(255, 67, 38, 0.10);

  --maxw: 1120px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;

  --font-display: "Schibsted Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    "Hanken Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(16,18,24,0.04), 0 4px 14px -6px rgba(16,18,24,0.10);
  --shadow:    0 2px 6px rgba(16,18,24,0.05), 0 18px 40px -16px rgba(16,18,24,0.16);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* ============================================================
   Ambient background: animated aurora + fine grid + grain
   ============================================================ */
.bg-layer { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(16,18,24,0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(16,18,24,0.04) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse 100% 78% at 50% 0%, #000 35%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 100% 78% at 50% 0%, #000 35%, transparent 100%);
}

/* Aurora: three drifting, blurred color blobs */
.aurora { position: absolute; inset: -10% -10% auto -10%; height: 90vh; filter: blur(60px); opacity: 0.85; }
.aurora .blob { position: absolute; border-radius: 50%; mix-blend-mode: multiply; will-change: transform; }
.aurora .b1 {
  width: 52vw; height: 52vw; max-width: 720px; max-height: 720px;
  top: -14vh; left: 6vw;
  background: radial-gradient(circle at 50% 50%, rgba(255,67,38,0.55), rgba(255,67,38,0) 68%);
  animation: float1 26s var(--ease) infinite alternate;
}
.aurora .b2 {
  width: 46vw; height: 46vw; max-width: 640px; max-height: 640px;
  top: -10vh; right: 4vw;
  background: radial-gradient(circle at 50% 50%, rgba(111,83,255,0.45), rgba(111,83,255,0) 68%);
  animation: float2 30s var(--ease) infinite alternate;
}
.aurora .b3 {
  width: 40vw; height: 40vw; max-width: 560px; max-height: 560px;
  top: 6vh; left: 36vw;
  background: radial-gradient(circle at 50% 50%, rgba(255,122,61,0.42), rgba(255,122,61,0) 70%);
  animation: float3 22s var(--ease) infinite alternate;
}
@keyframes float1 {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(8vw, 7vh) scale(1.15); }
}
@keyframes float2 {
  0%   { transform: translate(0,0) scale(1.05); }
  100% { transform: translate(-7vw, 9vh) scale(0.92); }
}
@keyframes float3 {
  0%   { transform: translate(-3vw, 0) scale(0.95); }
  100% { transform: translate(5vw, -5vh) scale(1.18); }
}

.bg-grain {
  position: absolute; inset: 0; opacity: 0.035; mix-blend-mode: multiply;
  background-image: 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='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .aurora .blob { animation: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   Layout primitives
   ============================================================ */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
section { position: relative; }
.section-pad { padding-block: clamp(4.5rem, 10vw, 8rem); }

a { color: inherit; text-decoration: none; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent-d);
  display: inline-flex; align-items: center; gap: 0.6em;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: linear-gradient(90deg, var(--accent), transparent); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.08; color: var(--ink); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(238, 240, 243, 0.55);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(238, 240, 243, 0.85); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand {
  font-family: var(--font-display); font-weight: 600; font-size: 1.22rem;
  letter-spacing: -0.04em; color: var(--ink);
  display: inline-flex; align-items: center; gap: 0.55rem;
}
.brand .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft), 0 0 16px rgba(255,67,38,0.6);
}
.nav-links { display: flex; align-items: center; gap: 2rem; font-size: 0.94rem; }
.nav-links a { color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  font-size: 0.9rem; padding: 0.5rem 1.05rem;
  border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink) !important;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { border-color: var(--accent); background: var(--accent-soft); }
.nav-toggle { display: none; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.98rem;
  padding: 0.85rem 1.4rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.3s, background 0.3s, border-color 0.3s;
}
.btn svg { width: 16px; height: 16px; }
.btn-primary {
  background: linear-gradient(180deg, #ff5a40, var(--accent));
  color: #fff;
  box-shadow: 0 10px 26px -8px rgba(255,67,38,0.55), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -8px rgba(255,67,38,0.6), inset 0 1px 0 rgba(255,255,255,0.3); }
.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

/* ============================================================
   Hero
   ============================================================ */
.hero { padding-block: clamp(4.5rem, 12vw, 8.5rem) clamp(3rem, 7vw, 5rem); text-align: center; }
.hero-chip {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted);
  padding: 0.4rem 0.85rem; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,0.6); box-shadow: var(--shadow-sm); margin-bottom: 2rem;
}
.hero-chip .pulse {
  width: 7px; height: 7px; border-radius: 50%; background: #1fb96a;
  box-shadow: 0 0 0 0 rgba(31,185,106,0.5); animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(31,185,106,0.5); }
  70% { box-shadow: 0 0 0 7px rgba(31,185,106,0); }
  100% { box-shadow: 0 0 0 0 rgba(31,185,106,0); }
}

.logo-mark {
  font-family: var(--font-display); font-weight: 600; letter-spacing: -0.05em;
  font-size: clamp(3.4rem, 11vw, 6.6rem); line-height: 1;
  color: var(--ink); margin-bottom: 1.6rem; display: inline-block;
  position: relative;
}
.logo-mark .blink {
  color: var(--accent);
  animation: blink 1.4s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); max-width: 16ch; margin-inline: auto; }
.hero h1 .grad {
  background: linear-gradient(100deg, var(--accent), var(--accent-3) 55%, var(--accent-2) 110%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 8s ease-in-out infinite;
}
@keyframes sheen { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.hero p.sub { color: var(--muted); font-size: clamp(1.05rem, 2.2vw, 1.28rem); max-width: 56ch; margin: 1.6rem auto 0; }
.hero-actions { display: flex; gap: 0.85rem; justify-content: center; flex-wrap: wrap; margin-top: 2.5rem; }
.hero-domain { font-family: var(--font-mono); font-size: 0.82rem; color: var(--faint); margin-top: 2.6rem; letter-spacing: 0.04em; }

/* ============================================================
   Section heading block
   ============================================================ */
.section-head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); margin-top: 1rem; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin-top: 1.1rem; }

/* ============================================================
   Cards / glass
   ============================================================ */
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: 1.7rem; box-shadow: var(--shadow-sm);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s var(--ease);
  overflow: hidden;
}
.card:hover { border-color: var(--line-2); transform: translateY(-4px); box-shadow: var(--shadow); }

.grid { display: grid; gap: 1.1rem; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.feature .ic {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px;
  background: var(--accent-soft); border: 1px solid rgba(255,67,38,0.22);
  margin-bottom: 1.1rem; color: var(--accent-d);
}
.feature .ic svg { width: 21px; height: 21px; }
.feature h3 { font-size: 1.16rem; }
.feature p { color: var(--muted); font-size: 0.97rem; margin-top: 0.55rem; }
.feature .num { position: absolute; top: 1.2rem; right: 1.3rem; font-family: var(--font-mono); font-size: 0.72rem; color: var(--faint); }

/* ============================================================
   About
   ============================================================ */
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-copy p { color: var(--muted); font-size: 1.12rem; }
.about-copy p + p { margin-top: 1.1rem; }
.about-copy strong { color: var(--ink); font-weight: 600; }
.pill-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.8rem; }
.pill {
  font-family: var(--font-mono); font-size: 0.76rem; color: var(--muted);
  padding: 0.42rem 0.85rem; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); box-shadow: var(--shadow-sm);
}
.about-panel {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface); box-shadow: var(--shadow);
  padding: 1.8rem; display: grid; gap: 1.4rem;
}
.stat .k { font-family: var(--font-display); font-size: 1.9rem; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.stat .k .grad { background: linear-gradient(100deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .v { color: var(--muted); font-size: 0.92rem; margin-top: 0.15rem; }
.about-panel hr { border: none; border-top: 1px solid var(--line); }

/* ============================================================
   Products
   ============================================================ */
.product { display: flex; flex-direction: column; gap: 1rem; min-height: 220px; }
.product .top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.product .glyph {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: #fff;
  background: linear-gradient(160deg, #2a2c33, #0d0e12); box-shadow: var(--shadow-sm);
}
.product:nth-child(1) .glyph { background: linear-gradient(160deg, #ff6a4d, #e8331a); }
.product:nth-child(2) .glyph { background: linear-gradient(160deg, #8a72ff, #6f53ff); }
.product:nth-child(3) .glyph { background: linear-gradient(160deg, #2bd47e, #12a866); }
.product:nth-child(4) .glyph { background: linear-gradient(160deg, #ff9d57, #ff7a3d); }
.badge {
  font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.32rem 0.6rem; border-radius: 999px; border: 1px solid var(--line); color: var(--muted);
  white-space: nowrap; background: var(--surface-2);
}
.badge.dev { color: #b5701a; border-color: rgba(181,112,26,0.3); background: rgba(255,180,80,0.12); }
.badge.concept { color: #2079c4; border-color: rgba(32,121,196,0.3); background: rgba(80,170,255,0.12); }
.product h3 { font-size: 1.3rem; }
.product .kind { font-family: var(--font-mono); font-size: 0.74rem; color: var(--accent-d); margin-top: -0.4rem; }
.product p { color: var(--muted); font-size: 0.96rem; margin-top: auto; }

/* ============================================================
   Business / legal block
   ============================================================ */
.biz {
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow);
  background:
    radial-gradient(120% 140% at 0% 0%, var(--accent-soft), transparent 42%),
    var(--surface);
  padding: clamp(1.8rem, 4vw, 3rem);
}
.biz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.biz h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
.biz p { color: var(--muted); margin-top: 1rem; font-size: 1.06rem; }
.code-card {
  font-family: var(--font-mono); font-size: 0.86rem; line-height: 1.7;
  background: #0e1014; border: 1px solid rgba(255,255,255,0.08); border-radius: var(--r);
  padding: 1.4rem; color: #b7bcc7; box-shadow: var(--shadow);
}
.code-card .ttl { color: #6b7280; display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.9rem; }
.code-card .dots { display: inline-flex; gap: 5px; }
.code-card .dots i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.code-card .dots i:nth-child(1){ background:#ff5f57; }
.code-card .dots i:nth-child(2){ background:#febc2e; }
.code-card .dots i:nth-child(3){ background:#28c840; }
.code-card .key { color: #ff7a5c; }
.code-card .str { color: #9be8ae; }

/* ============================================================
   Values
   ============================================================ */
.value { display: flex; gap: 1rem; align-items: flex-start; }
.value .vn { font-family: var(--font-mono); font-size: 0.78rem; color: var(--accent-d); padding-top: 0.2rem; }
.value h3 { font-size: 1.12rem; }
.value p { color: var(--muted); font-size: 0.95rem; margin-top: 0.4rem; }

/* ============================================================
   Contact
   ============================================================ */
.contact {
  text-align: center; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(2.5rem, 6vw, 4.5rem); box-shadow: var(--shadow);
  background:
    radial-gradient(90% 120% at 50% 0%, var(--accent-soft), transparent 52%),
    var(--surface);
  position: relative; overflow: hidden;
}
.contact h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.contact p { color: var(--muted); font-size: 1.12rem; margin: 1.1rem auto 0; max-width: 48ch; }
.contact .mail {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: clamp(1rem, 2.6vw, 1.35rem); color: var(--ink);
  margin-top: 2rem; padding: 0.9rem 1.5rem; border: 1px solid var(--line-2); border-radius: 999px;
  background: var(--surface-2); transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.contact .mail:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-2px); }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { border-top: 1px solid var(--line); padding-block: 3.5rem 2.5rem; margin-top: 2rem; }
.footer-grid { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; align-items: flex-start; }
.footer-brand .brand { font-size: 1.4rem; margin-bottom: 0.7rem; }
.footer-brand p { color: var(--faint); font-size: 0.9rem; max-width: 34ch; }
.footer-cols { display: flex; gap: clamp(2.5rem, 7vw, 5rem); flex-wrap: wrap; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 1rem; font-weight: 500; }
.footer-col a { display: block; color: var(--muted); font-size: 0.94rem; padding: 0.28rem 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid var(--line); color: var(--faint); font-size: 0.85rem; font-family: var(--font-mono); }

/* ============================================================
   Reveal on scroll
   ============================================================ */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

/* ============================================================
   Legal pages
   ============================================================ */
.legal { padding-block: clamp(7rem, 12vw, 9rem) 4rem; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3rem); margin-bottom: 0.5rem; }
.legal .updated { font-family: var(--font-mono); font-size: 0.8rem; color: var(--faint); margin-bottom: 2.5rem; }
.legal h2 { font-size: 1.4rem; margin: 2.5rem 0 0.8rem; }
.legal p, .legal li { color: var(--muted); font-size: 1.02rem; }
.legal p { margin-bottom: 1rem; }
.legal ul { padding-left: 1.3rem; margin-bottom: 1rem; }
.legal li { margin-bottom: 0.4rem; }
.legal a.inline { color: var(--accent-d); }
.legal a.inline:hover { text-decoration: underline; }
.legal .addr {
  font-family: var(--font-mono); font-size: 0.92rem; line-height: 1.9; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: 1.4rem 1.6rem; margin-bottom: 1rem; box-shadow: var(--shadow-sm);
}
.legal .back { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--font-mono); font-size: 0.85rem; color: var(--muted); margin-bottom: 2rem; }
.legal .back:hover { color: var(--ink); }

/* ============================================================
   Cookie consent
   ============================================================ */
.cookie-banner {
  position: fixed; z-index: 90; left: 50%; bottom: clamp(0.75rem, 2vw, 1.5rem);
  width: min(760px, calc(100% - 1.5rem));
  transform: translate(-50%, 140%);
  opacity: 0; transition: transform 0.45s var(--ease), opacity 0.45s var(--ease);
}
.cookie-banner.show { transform: translate(-50%, 0); opacity: 1; }
.cookie-inner {
  display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: 0 12px 50px -12px rgba(16,18,24,0.30);
  padding: 1.1rem 1.3rem;
}
.cookie-text { flex: 1 1 320px; }
.cookie-text strong { font-family: var(--font-display); font-size: 1rem; color: var(--ink); display: block; margin-bottom: 0.25rem; }
.cookie-text p { color: var(--muted); font-size: 0.88rem; line-height: 1.5; margin: 0; }
.cookie-text a { color: var(--accent-d); text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; }
.btn-c {
  font-family: var(--font-body); font-weight: 600; font-size: 0.86rem; cursor: pointer;
  padding: 0.6rem 1.05rem; border-radius: 999px; border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn-c.ghost { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-c.ghost:hover { background: var(--surface-2); border-color: var(--ink); }
.btn-c.primary {
  background: linear-gradient(180deg, #ff5a40, var(--accent)); color: #fff;
  box-shadow: 0 8px 20px -8px rgba(255,67,38,0.55), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-c.primary:hover { transform: translateY(-1px); }

/* Preferences modal */
.cookie-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1.25rem; }
.cookie-modal-backdrop { position: absolute; inset: 0; background: rgba(16,18,24,0.4); opacity: 0; transition: opacity 0.25s; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.cookie-modal.show .cookie-modal-backdrop { opacity: 1; }
.cookie-modal-card {
  position: relative; width: min(480px, 100%);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow); padding: clamp(1.5rem, 4vw, 2rem);
  transform: translateY(16px) scale(0.98); opacity: 0;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.cookie-modal.show .cookie-modal-card { transform: none; opacity: 1; }
.cookie-modal-card h3 { font-size: 1.35rem; }
.cookie-modal-card > p { color: var(--muted); font-size: 0.95rem; margin: 0.6rem 0 1.4rem; }
.cookie-cat {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 0; border-top: 1px solid var(--line);
}
.cookie-cat div strong { font-size: 0.98rem; color: var(--ink); display: block; }
.cookie-cat div span { font-size: 0.83rem; color: var(--muted); display: block; margin-top: 0.15rem; }
.switch {
  flex: none; width: 44px; height: 26px; border-radius: 999px; border: none;
  background: #cfd3da; position: relative; cursor: pointer; padding: 0;
  transition: background 0.25s var(--ease);
}
.switch .knob {
  position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.25); transition: transform 0.25s var(--ease);
}
.switch.on { background: var(--accent); }
.switch.on .knob { transform: translateX(18px); }
.switch.disabled { background: var(--accent); opacity: 0.55; cursor: not-allowed; }
.switch.disabled.on .knob { transform: translateX(18px); }
.cookie-modal-actions { display: flex; gap: 0.6rem; justify-content: flex-end; margin-top: 1.6rem; flex-wrap: wrap; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 920px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .biz-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .grid-2 { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 0.5rem var(--pad) 1.2rem;
    background: rgba(238,240,243,0.97);
    backdrop-filter: blur(14px); border-bottom: 1px solid var(--line);
  }
  .nav-links.open a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); color: var(--ink); }
  .nav-links.open .nav-cta { text-align: center; margin-top: 0.8rem; border-bottom: none; }
  .nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
  .nav-toggle span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 540px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .footer-bottom { flex-direction: column; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn-c { flex: 1 1 auto; text-align: center; }
}
