/* =========================================================================
   QRgen.no — styles.css
   Luftfarts-/cockpit-inspirert design. Selvstendig (ingen Tailwind/CDN),
   fungerer 100% offline. Mørk modus er standard, lys modus via [data-theme].
   ========================================================================= */

/* ----------  Design-tokens  ---------- */
:root,
[data-theme="dark"] {
  --bg:            #0b1322;
  --bg-2:          #0f172a;
  --panel:         #111e36;
  --panel-2:       #16243f;
  --surface:       #1b2c4a;
  --line:          #22344f;
  --line-soft:     #1a2942;
  --text:          #e8eef8;
  --text-dim:      #9fb1c9;
  --text-faint:    #687c98;
  --accent:        #0a84ff;   /* primær blå */
  --accent-2:      #38d6ff;   /* cyan instrument-glød */
  --accent-soft:   rgba(10,132,255,.14);
  --danger:        #ff453a;   /* rød highlight-knapp */
  --danger-2:      #ff6a61;
  --ok:            #30d158;
  --warn:          #ffd60a;
  --shadow:        0 10px 40px rgba(0,0,0,.45);
  --radius:        14px;
  --radius-sm:     10px;
  --grid:          rgba(56,214,255,.05);
  --font:          "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --mono:          "SF Mono", "Cascadia Mono", "Consolas", "Roboto Mono", ui-monospace, monospace;
}

[data-theme="light"] {
  --bg:            #eef2f8;
  --bg-2:          #e6ecf5;
  --panel:         #ffffff;
  --panel-2:       #f4f7fc;
  --surface:       #ffffff;
  --line:          #d3ddec;
  --line-soft:     #e2e9f3;
  --text:          #0d1b2f;
  --text-dim:      #46586f;
  --text-faint:    #7a8aa1;
  --accent:        #0a6fff;
  --accent-2:      #0aa2cf;
  --accent-soft:   rgba(10,111,255,.10);
  --danger:        #e0352b;
  --danger-2:      #c52a21;
  --ok:            #1f9d4d;
  --warn:          #c98a00;
  --shadow:        0 10px 30px rgba(20,40,80,.12);
  --grid:          rgba(10,111,255,.05);
}

/* ----------  Reset  ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(10,132,255,.10), transparent 60%),
    radial-gradient(900px 500px at -10% 10%, rgba(56,214,255,.06), transparent 55%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s ease, color .3s ease;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .4em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

/* subtil instrument-rutenett bak alt */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
  z-index: 0;
}
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }

/* ----------  Topbar / header  ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(10px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .02em; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand .logo { width: 36px; height: 36px; }
.brand .name { font-size: 1.18rem; }
.brand .name b { color: var(--accent); }
.brand .name span { color: var(--text-faint); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav a.link { color: var(--text-dim); font-weight: 600; font-size: .92rem; padding: 8px 10px; border-radius: 8px; }
.nav a.link:hover { color: var(--text); background: var(--accent-soft); text-decoration: none; }

/* control cluster (flagg + tema) */
.controls { display: flex; align-items: center; gap: 6px; }
.icon-btn, .flag-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 38px; min-width: 38px; padding: 0 8px;
  border: 1px solid var(--line); border-radius: 10px;
  background: var(--panel); color: var(--text-dim);
  cursor: pointer; transition: .18s; font-size: .9rem; font-weight: 700;
}
.icon-btn:hover, .flag-btn:hover { border-color: var(--accent); color: var(--text); box-shadow: 0 0 0 3px var(--accent-soft); }
.flag-btn.active { border-color: var(--accent); color: var(--text); background: var(--accent-soft); }
.flag-btn .flag { display: inline-flex; line-height: 0; margin-right: 6px; }
.flag-btn .flag svg { width: 20px; height: 14px; border-radius: 2px; display: block; box-shadow: 0 0 0 1px rgba(0,0,0,.2); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
.theme-toggle .sun { display: block; }
[data-theme="light"] .theme-toggle .moon { display: block; }
[data-theme="light"] .theme-toggle .sun { display: none; }

/* ----------  Buttons  ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font); font-weight: 700; font-size: .95rem;
  padding: 12px 20px; border-radius: var(--radius-sm); border: 1px solid transparent;
  cursor: pointer; transition: .18s; letter-spacing: .01em; white-space: nowrap;
}
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: linear-gradient(180deg, var(--accent), #0668d6); color: #fff; box-shadow: 0 6px 18px rgba(10,132,255,.32); }
.btn-primary:hover:not(:disabled) { filter: brightness(1.07); transform: translateY(-1px); }
.btn-danger { background: linear-gradient(180deg, var(--danger), var(--danger-2)); color: #fff; box-shadow: 0 6px 18px rgba(255,69,58,.30); }
.btn-danger:hover:not(:disabled) { filter: brightness(1.06); transform: translateY(-1px); }
.btn-ghost { background: var(--panel); color: var(--text); border-color: var(--line); }
.btn-ghost:hover:not(:disabled) { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.btn-block { width: 100%; }

/* ----------  Hero  ---------- */
.hero { padding: 54px 0 22px; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--accent-2); border: 1px solid var(--line); background: var(--panel);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 800; }
.hero h1 .grad { background: linear-gradient(90deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: var(--text-dim); font-size: clamp(1rem, 2vw, 1.18rem); max-width: 640px; margin: 0 auto 14px; }
.hero .badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 22px; }
.chip { font-size: .82rem; color: var(--text-dim); border: 1px solid var(--line); background: var(--panel); padding: 7px 13px; border-radius: 999px; display: inline-flex; gap: 7px; align-items: center; }
.chip svg { width: 15px; height: 15px; color: var(--ok); }

/* ----------  Panels  ---------- */
.panel {
  background: linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); position: relative;
}
.panel-pad { padding: 26px; }
.panel-head { display: flex; align-items: center; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.panel-head .tag { font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-2); }
.panel-head h2 { font-size: 1.18rem; margin: 0; }
.corner { position: absolute; width: 12px; height: 12px; border: 2px solid var(--accent); opacity: .5; }
.corner.tl { top: -1px; left: -1px; border-right: 0; border-bottom: 0; border-top-left-radius: var(--radius); }
.corner.tr { top: -1px; right: -1px; border-left: 0; border-bottom: 0; border-top-right-radius: var(--radius); }
.corner.bl { bottom: -1px; left: -1px; border-right: 0; border-top: 0; border-bottom-left-radius: var(--radius); }
.corner.br { bottom: -1px; right: -1px; border-left: 0; border-top: 0; border-bottom-right-radius: var(--radius); }

/* ----------  Wizard layout  ---------- */
.studio { display: grid; grid-template-columns: 1.35fr .9fr; gap: 22px; align-items: start; margin: 18px 0 8px; }

/* stepper */
.stepper { display: flex; gap: 6px; padding: 16px 22px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.step-pill {
  display: flex; align-items: center; gap: 9px; padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg-2); color: var(--text-faint);
  font-size: .82rem; font-weight: 600; cursor: pointer; transition: .18s;
}
.step-pill .num { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); color: var(--text-dim); font-family: var(--mono); font-size: .76rem; }
.step-pill.active { border-color: var(--accent); color: var(--text); background: var(--accent-soft); }
.step-pill.active .num { background: var(--accent); color: #fff; }
.step-pill.done .num { background: var(--ok); color: #06210f; }
.step-pill.done { color: var(--text-dim); }

.step-body { padding: 24px 22px; }
.step-panel { display: none; animation: fade .35s ease; }
.step-panel.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.step-title { font-size: 1.15rem; margin-bottom: 4px; }
.step-sub { color: var(--text-dim); font-size: .92rem; margin-bottom: 18px; }

/* type grid */
.type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.type-card {
  text-align: left; padding: 15px; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--bg-2); cursor: pointer; transition: .18s; color: var(--text); position: relative; overflow: hidden;
}
.type-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.3); }
.type-card.selected { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent) inset; }
.type-card .ic { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--surface); margin-bottom: 11px; color: var(--accent-2); }
.type-card .ic svg { width: 22px; height: 22px; }
.type-card .t { font-weight: 700; font-size: .96rem; }
.type-card .d { color: var(--text-dim); font-size: .8rem; margin-top: 2px; }
.type-card .pick { position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: #fff; display: none; place-items: center; }
.type-card.selected .pick { display: grid; }
.type-card .pick svg { width: 12px; height: 12px; }

/* forms */
.field { margin-bottom: 16px; }
.field > label { display: block; font-size: .82rem; font-weight: 600; color: var(--text-dim); margin-bottom: 7px; letter-spacing: .01em; }
.field .hint { font-size: .76rem; color: var(--text-faint); margin-top: 6px; }
.input, .textarea, select.input {
  width: 100%; padding: 12px 13px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--bg-2); color: var(--text);
  font-family: var(--font); font-size: .95rem; transition: .18s;
}
.input:focus, .textarea:focus, select.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.input.invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(255,69,58,.18); }
.textarea { min-height: 96px; resize: vertical; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-error { color: var(--danger-2); font-size: .8rem; margin-top: 6px; display: none; }
.field-error.show { display: block; }
.checkbox-row { display: flex; align-items: center; gap: 9px; }
.checkbox-row input { width: 17px; height: 17px; accent-color: var(--accent); }
.checkbox-row label { font-size: .9rem; color: var(--text-dim); }

/* design controls */
.ctl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.color-row { display: flex; align-items: center; gap: 10px; }
.color-row input[type="color"] {
  width: 46px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 9px; background: var(--bg-2); cursor: pointer;
}
.color-row .hexc { font-family: var(--mono); font-size: .85rem; color: var(--text-dim); border: 1px solid var(--line); background: var(--bg-2); border-radius: 8px; padding: 9px 11px; flex: 1; text-transform: uppercase; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--bg-2); }
.seg button { padding: 9px 14px; background: transparent; border: 0; color: var(--text-dim); font-weight: 600; font-size: .86rem; cursor: pointer; transition: .15s; }
.seg button.active { background: var(--accent); color: #fff; }
.range-row { display: flex; align-items: center; gap: 12px; }
.range-row input[type="range"] { flex: 1; accent-color: var(--accent); }
.range-row .val { font-family: var(--mono); font-size: .82rem; color: var(--text-dim); min-width: 52px; text-align: right; }

.logo-drop {
  border: 1.5px dashed var(--line); border-radius: var(--radius-sm); padding: 18px; text-align: center;
  color: var(--text-dim); cursor: pointer; transition: .18s; background: var(--bg-2);
}
.logo-drop:hover, .logo-drop.drag { border-color: var(--accent); color: var(--text); background: var(--accent-soft); }
.logo-drop svg { width: 26px; height: 26px; margin-bottom: 6px; color: var(--accent-2); }
.logo-preview { display: none; align-items: center; gap: 12px; margin-top: 12px; }
.logo-preview.show { display: flex; }
.logo-preview img { width: 46px; height: 46px; object-fit: contain; background: #fff; border-radius: 8px; padding: 4px; border: 1px solid var(--line); }
.logo-preview .rm { color: var(--danger-2); cursor: pointer; font-size: .85rem; font-weight: 600; background: none; border: 0; }

.logo-presets { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 12px; }
.logo-preset { width: 42px; height: 42px; padding: 4px; border: 1px solid var(--line); border-radius: 11px; background: var(--bg-2); cursor: pointer; transition: .15s; }
.logo-preset:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,.3); }
.logo-preset svg { width: 100%; height: 100%; display: block; }

.swatches { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.swatch { width: 26px; height: 26px; border-radius: 7px; cursor: pointer; border: 2px solid var(--line); }
.swatch:hover { transform: scale(1.08); }

/* nav buttons */
.step-nav { display: flex; justify-content: space-between; gap: 12px; padding: 18px 22px; border-top: 1px solid var(--line); }

/* ----------  Preview / instrument side  ---------- */
.preview-col { position: sticky; top: 84px; }
.readout { display: flex; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .72rem; color: var(--text-faint); letter-spacing: .08em; text-transform: uppercase; justify-content: space-between; }
.readout b { color: var(--accent-2); }
.qr-stage { padding: 26px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.qr-frame {
  background: #fff; border-radius: 16px; padding: 18px; box-shadow: 0 12px 36px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.05);
  position: relative; transition: transform .25s ease;
}
.qr-frame.pulse { animation: pulse .4s ease; }
@keyframes pulse { 0% { transform: scale(.96); } 60% { transform: scale(1.03); } 100% { transform: scale(1); } }
.qr-frame canvas, .qr-frame svg { display: block; width: 248px; height: 248px; image-rendering: pixelated; }
.qr-empty { color: var(--text-faint); font-size: .88rem; text-align: center; padding: 40px 10px; }

/* phone simulation */
.phone-sim { width: 100%; max-width: 280px; }
.phone {
  border: 9px solid #0a1322; background: #060b15; border-radius: 30px; padding: 0; overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,.5), inset 0 0 0 1px var(--line);
}
.phone .notch { height: 22px; background: #0a1322; border-radius: 0 0 12px 12px; width: 120px; margin: 0 auto; }
.phone .screen { padding: 14px; }
.phone .cam-line { display: flex; align-items: center; gap: 8px; color: var(--text-faint); font-size: .72rem; font-family: var(--mono); margin-bottom: 10px; }
.phone .cam-line .rec { width: 8px; height: 8px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 8px var(--danger); }
.scan-card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.scan-card .scan-label { font-size: .68rem; color: var(--text-faint); text-transform: uppercase; letter-spacing: .12em; }
.scan-card .scan-val { font-size: .86rem; color: var(--text); word-break: break-all; margin-top: 3px; font-weight: 600; }
.scan-card .scan-action { margin-top: 10px; font-size: .8rem; color: var(--accent); font-weight: 700; }

.dl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 22px 22px; }
.dl-row .full { grid-column: 1 / -1; }

/* ----------  Sections (use-cases, faq)  ---------- */
.section { padding: 56px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 34px; }
.section-head .tag { font-family: var(--mono); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-2); }
.section-head h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 800; margin-top: 8px; }
.section-head p { color: var(--text-dim); }

.use-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.use-card { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel), var(--panel-2)); transition: .2s; }
.use-card:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow); }
a.use-card { text-decoration: none; color: inherit; display: block; }
a.use-card:hover { text-decoration: none; }
.use-card .ic { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-2); margin-bottom: 12px; }
.use-card .ic svg { width: 23px; height: 23px; }
.use-card h3 { font-size: 1.04rem; }
.use-card p { color: var(--text-dim); font-size: .9rem; margin: 0; }

/* faq */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); overflow: hidden; }
.faq-q { width: 100%; text-align: left; padding: 16px 18px; background: none; border: 0; color: var(--text); font-weight: 700; font-size: 1rem; cursor: pointer; display: flex; justify-content: space-between; gap: 14px; align-items: center; }
.faq-q .pm { color: var(--accent); font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; padding: 0 18px; color: var(--text-dim); }
.faq-item.open .faq-a { max-height: 320px; padding: 0 18px 16px; }

/* ----------  Ads  ---------- */
.ad-slot {
  /* Skjult som standard slik at tomme plassholdere ikke vises før ekte annonser er på plass.
     Ekte AdSense-enheter (<ins class="adsbygoogle">) påvirkes IKKE av dette og vises normalt.
     Vil du forhåndsvise plassholderne under utvikling: legg klassen "show-ad-placeholders" på <body>. */
  display: none;
  align-items: center; justify-content: center; margin: 18px auto;
  border: 1px dashed var(--line); border-radius: 10px; background: var(--panel);
  color: var(--text-faint); font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
}
.show-ad-placeholders .ad-slot { display: flex; }
.ad-leaderboard { width: 100%; max-width: 728px; min-height: 90px; }
.ad-rectangle { width: 300px; height: 250px; max-width: 100%; }
.ad-mobile { width: 100%; min-height: 60px; }
.ad-note { font-size: .62rem; color: var(--text-faint); opacity: .7; }

/* ----------  Footer  ---------- */
.footer { border-top: 1px solid var(--line); margin-top: 40px; padding: 40px 0 28px; background: color-mix(in srgb, var(--bg) 70%, #000 8%); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; }
.footer .brand { margin-bottom: 12px; }
.footer p { color: var(--text-dim); font-size: .9rem; }
.footer h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--text-faint); margin-bottom: 12px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer ul a { color: var(--text-dim); font-size: .9rem; }
.footer ul a:hover { color: var(--text); }
.footer-bottom { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--text-faint); font-size: .84rem; }
.footer-bottom a { color: var(--accent); }

/* ----------  Toast / notifications  ---------- */
.toast-wrap { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast { background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--accent); color: var(--text); padding: 12px 16px; border-radius: 10px; box-shadow: var(--shadow); font-size: .9rem; animation: toastin .3s ease; max-width: 92vw; }
.toast.ok { border-left-color: var(--ok); }
.toast.err { border-left-color: var(--danger); }
@keyframes toastin { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ----------  Cookie banner  ---------- */
.cookie {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
  background: color-mix(in srgb, var(--panel) 96%, transparent);
  backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  padding: 16px 20px; transform: translateY(110%); transition: transform .4s ease;
}
.cookie.show { transform: none; }
.cookie-inner { max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: space-between; }
.cookie p { margin: 0; color: var(--text-dim); font-size: .88rem; max-width: 640px; }
.cookie p b { color: var(--text); }
.cookie .cookie-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie .btn { padding: 9px 16px; font-size: .86rem; }
.cookie-settings { display: none; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.cookie-settings.show { display: block; }
.cookie-opt { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-size: .86rem; color: var(--text-dim); }
.cookie-opt input { accent-color: var(--accent); width: 16px; height: 16px; }
.cookie-opt input:disabled { opacity: .6; }

/* ----------  About page  ---------- */
.about-hero { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: center; padding: 40px 0; }
.about-portrait { aspect-ratio: 1; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel), var(--surface)); display: grid; place-items: center; color: var(--text-faint); overflow: hidden; position: relative; }
.about-portrait svg { width: 80px; height: 80px; opacity: .5; }
.about-portrait .ph-label { position: absolute; bottom: 12px; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.about-prose { max-width: 720px; margin: 0 auto; }
.about-prose p { color: var(--text-dim); font-size: 1.04rem; }
.about-prose .lead-q { font-size: 1.25rem; color: var(--text); font-weight: 600; border-left: 3px solid var(--accent); padding-left: 16px; margin: 18px 0; }
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 16px; margin-top: 8px; }
.value-card { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--panel); }
.value-card .ic { color: var(--accent-2); margin-bottom: 8px; }
.value-card h3 { font-size: 1rem; }
.value-card p { font-size: .9rem; margin: 0; }

.contact-card { display: grid; grid-template-columns: 1fr; gap: 14px; max-width: 560px; margin: 0 auto; }

/* ----------  Utilities  ---------- */
.text-center { text-align: center; }
.muted { color: var(--text-dim); }
.mono { font-family: var(--mono); }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 18px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ----------  Responsive  ---------- */
@media (max-width: 920px) {
  .studio { grid-template-columns: 1fr; }
  .preview-col { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-hero { grid-template-columns: 1fr; text-align: center; }
  .about-portrait { max-width: 240px; margin: 0 auto; }
}
@media (max-width: 620px) {
  .nav a.link { display: none; }
  .ctl-grid, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 36px 0 12px; }
  .panel-pad { padding: 18px; }
  .step-body { padding: 18px 16px; }
  .dl-row { grid-template-columns: 1fr; }
  .brand .name span { display: none; }
}

/* reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
