/* ===== Skyscan — design tokens (v3, matcher Claude Design-kilden) ===== */
:root {
  --bg: #f3f1ea;
  --bg-card: #fffefb;
  --bg-card-alt: #eae6da;
  --line: #e0dccf;
  --line-2: #ddd6c4;
  --line-dashed: #cfc7b3;

  --device-bezel-1: #211d17;
  --device-bezel-2: #17140f;
  --device-screen: #0e0c08;
  --flap-amber: #f5a623;
  --flap-off-white: #f3ede2;

  --amber: #f5a623;
  --amber-soft-bg: #fff4e2;
  --amber-text: #b8650a;
  --amber-text-hover: #96530a;
  --green: #2fa968;

  --text: #211d17;
  --text-muted: #6b6455;
  --text-muted-2: #4a4436;
  --text-faint: #9a9184;

  --shelf-1: #c99a68;
  --shelf-2: #a87848;
  --shelf-light-1: #d8c9a8;
  --shelf-light-2: #c2ae83;
  --wall-1: #c7bfa9;
  --wall-2: #d8d2c1;

  --font-head: "Space Grotesk", sans-serif;
  --font-mono: "IBM Plex Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  margin: 0;
  color: var(--text);
}

a { color: var(--amber-text); text-decoration: none; }
a:hover { color: var(--amber-text-hover); }

.wrap { max-width: 1360px; margin: 0 auto; padding: 0 6vw; }
.wrap-data { max-width: 1200px; margin: 0 auto; padding: 0 6vw; }
.wrap-faq { max-width: 800px; margin: 0 auto; padding: 0 6vw; }
.wrap-narrow { max-width: 640px; margin: 0 auto; padding: 0 6vw; }

.muted { color: var(--text-muted); }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  padding: 15px 26px;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--amber); color: var(--text); }
.btn-primary:hover { background: #ffbf52; color: var(--text); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-dashed); }
.btn-ghost:hover { border-color: var(--amber-text); color: var(--amber-text); }
.btn-nav { padding: 9px 20px; font-size: 14px; }
.btn-sm { padding: 10px 16px; font-size: 13px; }
.btn-block { width: 100%; text-align: center; display: block; }
.btn[disabled] { opacity: 0.6; cursor: default; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 6vw;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { color: var(--text-muted-2); font-size: 14px; }
.main-nav a:hover { color: var(--amber-text); }

/* ===== Flap-tile logo (header/footer + device screens) ===== */
.flap-logo { display: inline-flex; gap: 3px; }
.flap-logo .tile {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #211c14;
  border: 1px solid #332c20;
  border-radius: 3px;
  font-family: var(--font-mono);
  font-weight: 700;
  position: relative;
}
.flap-logo .tile::after {
  content: "";
  position: absolute;
  top: 50%; left: 0; right: 0; height: 1px;
  background: #000; opacity: 0.5;
}
.flap-logo .tile.amber { color: var(--flap-amber); }
.flap-logo .tile.off { color: var(--flap-off-white); }
.flap-logo.size-header .tile { width: 21px; height: 34px; font-size: 16px; }
.flap-logo.size-footer .tile { width: 16px; height: 24px; font-size: 12px; }

/* ===== Hero ===== */
.hero-inner {
  padding: 8vh 0 9vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.status-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-2);
  background: var(--bg-card);
  padding: 6px 14px;
  border-radius: 3px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 28px;
}
.status-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  flex-shrink: 0;
}

.hero-copy h1 {
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 22px;
}
.hero-lead {
  font-family: var(--font-head);
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-muted-2);
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
.trust-points {
  display: flex; gap: 26px; flex-wrap: wrap;
  list-style: none; padding: 0; margin: 0;
  font-size: 12px; color: var(--text-muted); letter-spacing: 0.04em;
}

/* ===== Device mockup ===== */
.device-stage { display: flex; justify-content: center; }
.device-wrap { position: relative; width: min(420px, 100%); }
.device-shadow {
  position: absolute; left: 8%; right: 8%; bottom: -26px; height: 22px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(40,35,25,0.20), transparent 70%);
}
.device-bezel {
  background: linear-gradient(180deg, var(--device-bezel-1), var(--device-bezel-2));
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 30px 60px -22px rgba(33,29,23,0.45);
}
.device-screen {
  background: var(--device-screen);
  border-radius: 8px;
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.device-flap-row { display: flex; gap: 4px; flex-wrap: wrap; }
.device-flap {
  width: 34px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: #211c14;
  font-weight: 700; font-size: 22px;
  border-radius: 3px; border: 1px solid #332c20;
  position: relative;
}
.device-flap::after {
  content: ""; position: absolute; top: 50%; left: 0; right: 0; height: 1px;
  background: #000; opacity: 0.5;
}
.device-flap.amber { color: var(--flap-amber); }
.device-flap.off { color: var(--flap-off-white); }

.device-board {
  border-top: 1px solid #2a251c;
  padding-top: 14px;
}
.device-board-head {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr 0.8fr;
  font-size: 10px; color: #8a8272; letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.device-board-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr 0.8fr;
  align-items: center;
  transition: opacity 0.3s ease;
}
.device-board-row .d-fnum { color: var(--flap-amber); font-weight: 700; font-size: 16px; }
.device-board-row span:not(.d-fnum) { font-size: 13px; color: var(--flap-off-white); }
.device-home-indicator { display: flex; justify-content: center; margin-top: 12px; }
.device-home-indicator span { width: 44px; height: 4px; border-radius: 2px; background: #332c20; }

.shelf-bar {
  height: 16px;
  margin: 0 6%;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(180deg, var(--shelf-1), var(--shelf-2));
  box-shadow: 0 10px 16px -6px rgba(70,50,25,0.35);
}

/* ===== Sections (white banded / plain-bg alternation, per source) ===== */
.section-white {
  padding: 9vh 0;
  background: #ffffff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section-plain { padding: 9vh 0; }
.section-title {
  font-size: clamp(26px, 2.6vw, 34px);
  margin-bottom: 12px;
  text-align: center;
}
.section-lead {
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  margin: 0 0 52px;
}

/* ===== Numbered steps ===== */
.gate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}
.gate-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--amber-soft-bg);
  border: 1px solid var(--amber);
  color: var(--amber-text);
  font-weight: 700; font-size: 13px;
  margin-bottom: 16px;
}
.gate-step h3 { font-size: 19px; margin-bottom: 10px; font-weight: 600; }
.gate-step p { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin: 0; }

/* ===== Hjemme hos deg ===== */
.home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}
.home-card {
  background: var(--bg-card-alt);
  border-radius: 8px;
  padding: 48px 32px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.home-card-inner { position: relative; width: min(300px, 80%); }
.home-card-inner.wall { width: min(280px, 80%); display: flex; flex-direction: column; align-items: center; }
.home-card .device-bezel { border-radius: 12px; padding: 11px; box-shadow: 0 20px 40px -16px rgba(33,29,23,0.4); }
.home-card .device-screen { border-radius: 6px; padding: 16px; gap: 10px; }
.home-card .device-board-head,
.home-card .device-board-row { grid-template-columns: 1.3fr 1fr 0.8fr; }
.home-card .device-board-head { font-size: 8px; }
.home-card .device-board-row .d-fnum { font-size: 14px; }
.home-card .device-board-row span:not(.d-fnum) { font-size: 11px; }

.shelf-block {
  height: 120px;
  width: 70%;
  margin: 0 auto;
  background: linear-gradient(180deg, var(--shelf-light-1), var(--shelf-light-2));
  border-radius: 0 0 4px 4px;
  box-shadow: 0 16px 24px -12px rgba(70,58,25,0.3);
}

.wall-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--wall-1); margin-bottom: 6px; }
.home-card .wall .device-bezel { border-radius: 10px; padding: 10px; width: 100%; box-shadow: 0 20px 40px -16px rgba(33,29,23,0.4); }
.home-card .wall .device-screen { border-radius: 5px; padding: 14px; gap: 9px; }
.home-card .wall .device-board-head { font-size: 8px; }
.home-card .wall .device-board-row .d-fnum { font-size: 13px; }
.home-card .wall .device-board-row span:not(.d-fnum) { font-size: 10px; }
.wall-wire { width: 1px; height: 70px; background: var(--wall-1); margin-top: 2px; }
.wall-outlet { width: 26px; height: 16px; border-radius: 2px; background: var(--wall-2); border: 1px solid var(--wall-1); margin-top: -1px; }

.home-card-label { margin-top: 20px; padding-bottom: 22px; text-align: center; }
.home-card-label.wall-label { margin-top: 18px; }
.home-card-label .title { font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.home-card-label .sub { color: var(--text-muted); font-size: 13px; margin-top: 4px; }

/* ===== Data table ===== */
.data-table {
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-card);
}
.data-row {
  display: flex;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
}
.data-row span:first-child { color: var(--text-muted); font-size: 13px; letter-spacing: 0.04em; }
.data-row span:last-child { color: var(--text); font-size: 14px; font-weight: 600; }

/* ===== Launch progress / countdown (project addition, matched to design tokens) ===== */
.launch-panel {
  max-width: 760px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px;
}
.launch-top { margin-bottom: 24px; }
.launch-caption {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.countdown { display: flex; gap: 14px; }
.countdown-unit { text-align: center; min-width: 56px; }
.countdown-num {
  font-family: var(--font-head); font-weight: 700; font-size: 1.6rem;
  color: var(--amber-text); display: block;
}
.countdown-label { font-size: 0.65rem; letter-spacing: 0.08em; color: var(--text-muted); }
.progress-track {
  height: 10px; background: var(--bg-card-alt); border: 1px solid var(--line);
  border-radius: 6px; overflow: hidden; margin-bottom: 10px;
}
.progress-fill { height: 100%; background: var(--amber); border-radius: 6px 0 0 6px; }
.progress-percent { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 24px; }
.milestone-list {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 24px; font-size: 0.85rem;
}
.milestone-list li { display: flex; align-items: center; gap: 10px; }
.m-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--line-dashed); flex-shrink: 0; }
.milestone-list li.done .m-dot { background: var(--green); border-color: var(--green); }
.milestone-list li.done { color: var(--text); }
.milestone-list li:not(.done) { color: var(--text-muted); }

/* ===== Pricing / boarding passes ===== */
.presale-note {
  display: block;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--amber-text);
  margin: 0 0 20px;
}
.pricing-grid {
  display: flex; gap: 32px; justify-content: center; flex-wrap: wrap;
  max-width: 960px; margin: 0 auto;
}
.boarding-pass {
  flex: 1 1 400px; max-width: 440px;
  display: flex;
  background: var(--bg-card);
  border-radius: 6px;
  overflow: hidden;
}
.boarding-pass.featured {
  border: 1px solid var(--amber);
  box-shadow: 0 20px 40px -28px rgba(33,29,23,0.3);
}
.boarding-pass.plain { border: 1px solid var(--line-2); }

.pass-main { flex: 1; padding: 32px; }
.pass-eyebrow {
  display: block; font-size: 12px; letter-spacing: 0.1em; font-weight: 700; margin-bottom: 16px;
}
.pass-eyebrow.featured { color: var(--amber-text); }
.pass-eyebrow.plain { color: var(--text-muted); }
.pass-list {
  list-style: none; padding: 0; margin: 0 0 20px;
  display: flex; flex-direction: column; gap: 12px;
  font-size: 14px; color: var(--text-muted-2);
}

.pass-stub {
  width: 150px;
  border-left: 1px dashed var(--line-dashed);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; padding: 20px; position: relative;
}
.pass-hole {
  position: absolute; left: -8px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg);
}
.pass-hole.top { top: -8px; }
.pass-hole.bottom { bottom: -8px; }
.stub-price { font-family: var(--font-head); font-size: 30px; font-weight: 700; color: var(--amber-text); text-align: center; }
.stub-price.plain { font-size: 26px; color: var(--text); }
.stub-price .unit { font-size: 13px; color: var(--text-muted); }

/* ===== Order / contact forms (project addition) ===== */
.forms-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 960px; margin: 0 auto 32px; }
.order-card {
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  padding: 28px;
}
.order-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.order-card .muted { font-size: 0.85rem; margin-bottom: 20px; }

.field { margin-bottom: 16px; }
.field label {
  display: block; font-size: 0.72rem; letter-spacing: 0.06em;
  color: var(--text-muted-2); margin-bottom: 6px;
}
.field input, .field textarea {
  width: 100%; font-family: var(--font-mono); font-size: 0.88rem; color: var(--text);
  background: var(--bg-card-alt); border: 1px solid var(--line-2); border-radius: 4px; padding: 10px 12px;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--amber-text); }
.field textarea { resize: vertical; min-height: 90px; }
.field-inline { display: flex; align-items: center; gap: 8px; }
.field-inline input { width: auto; }
.field-inline label { margin: 0; font-size: 0.82rem; color: var(--text); }

.form-status { margin-top: 14px; font-size: 0.82rem; display: none; }
.form-status.ok { display: block; color: #1f7a4c; }
.form-status.err { display: block; color: #b03a2e; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-item summary {
  cursor: pointer;
  display: flex; gap: 16px; align-items: center;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { color: var(--amber-text); font-size: 13px; font-weight: 700; flex-shrink: 0; }
.faq-q-text { flex: 1; font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--text); }
.faq-icon { color: var(--text-muted); font-size: 18px; }
.faq-item p { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin: 14px 0 0 44px; }

/* Discreet contact section */
.section-tight { padding: 8vh 0; }
.section-title-sm { font-size: 1.3rem; margin-bottom: 8px; text-align: center; }
.section-tight .section-lead { margin-bottom: 24px; }

/* ===== Footer ===== */
.site-footer {
  padding: 6vh 6vw;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.footer-tag { color: var(--text-faint); font-size: 12px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .forms-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .milestone-list { grid-template-columns: 1fr; }
  .boarding-pass { flex-direction: column; }
  .pass-stub { width: 100%; border-left: none; border-top: 1px dashed var(--line-dashed); flex-direction: row; padding: 16px 20px; }
  .pass-hole { display: none; }
}
