@font-face {
  font-family: "Schibsted";
  src: url("../fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Spline Mono";
  src: url("../fonts/spline-sans-mono.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --ink: #0b0806;
  --ink-2: #17110c;
  --panel: #1c150f;
  --ember: #ff6424;
  --ember-2: #ff8a4b;
  --paper: #f6f0e5;
  --paper-2: #e9ddca;
  --smoke: #b8aa95;
  --line: #433225;
  --green: #9dc76c;
}

* { box-sizing: border-box; }

html { background: var(--ink); color-scheme: dark; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--paper);
  background:
    radial-gradient(circle at 82% -8%, rgba(255, 100, 36, 0.17), transparent 34rem),
    radial-gradient(circle at 12% 56%, rgba(255, 100, 36, 0.07), transparent 28rem),
    var(--ink);
  font-family: "Schibsted", system-ui, sans-serif;
}

button, a { font: inherit; }
button { color: inherit; }
.hidden { display: none !important; }

button:focus-visible, a:focus-visible {
  outline: 3px solid var(--ember-2);
  outline-offset: 3px;
}

.page-shell {
  width: min(1560px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 36px;
}

.site-header {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(246, 240, 229, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--paper);
  text-decoration: none;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -0.6px;
}

.brand img { width: 31px; height: 31px; }
.brand strong { color: var(--ember); }

.header-status, .overline, .demo-badge, .proof, .demo-footer, .site-footer {
  font-family: "Spline Mono", ui-monospace, monospace;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}

.header-status {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 10px;
  color: var(--smoke);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
  align-items: end;
  gap: 70px;
  padding: 54px 8px 42px;
}

.overline {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--paper-2);
}

.overline::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 3px;
  margin: 0 12px 3px 0;
  background: var(--ember);
}

h1 {
  margin: 0;
  max-width: 900px;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(52px, 7vw, 108px);
  font-weight: 540;
  line-height: 0.88;
  letter-spacing: -0.055em;
}

h1 em { color: var(--ember); font-weight: 520; }

.hero-copy {
  max-width: 590px;
  margin: 0 0 4px;
  color: var(--paper-2);
  font-size: clamp(16px, 1.6vw, 21px);
  line-height: 1.5;
}

.demo-shell {
  overflow: hidden;
  border: 1px solid rgba(246, 240, 229, 0.2);
  border-radius: 18px;
  background: #080604;
  box-shadow: 0 44px 120px rgba(0, 0, 0, 0.58), inset 0 1px rgba(255, 255, 255, 0.05);
}

.window-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 15px;
  color: var(--smoke);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #2c221a, #211912);
  font-family: "Spline Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.window-dots { display: flex; gap: 6px; }
.window-dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--ember); }
.window-dots i:nth-child(2) { background: #d2a15b; }
.window-dots i:nth-child(3) { background: #76916c; }
.demo-badge { margin-left: auto; color: var(--ember-2); font-size: 9px; font-weight: 700; }

.chapter-nav {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  padding: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #0d0907;
}

.chapter-nav button {
  min-height: 39px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--smoke);
  background: transparent;
  cursor: pointer;
  font-family: "Spline Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.chapter-nav button:hover { color: var(--paper); background: rgba(255, 255, 255, 0.04); }
.chapter-nav button.active { color: var(--paper); border-color: rgba(255, 100, 36, 0.55); background: rgba(255, 100, 36, 0.12); }

.screen-stage { position: relative; background: #080604; }
.screen-media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: #090705; }

.product-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.full-dim { position: absolute; inset: 0; z-index: 1; background: rgba(7, 5, 3, 0.7); backdrop-filter: blur(1.5px); }

.spotlight {
  position: absolute;
  z-index: 2;
  padding: 0;
  border: 2px solid var(--ember);
  border-radius: 8px;
  background: transparent;
  box-shadow: 0 0 0 9999px rgba(7, 5, 3, 0.66), 0 0 0 7px rgba(255, 100, 36, 0.15), 0 0 28px rgba(255, 100, 36, 0.45);
  cursor: pointer;
  animation: spotlight-pulse 2s ease-in-out infinite;
}

@keyframes spotlight-pulse {
  0%, 100% { border-color: var(--ember); }
  50% { border-color: #ffb08a; }
}

.tour-card {
  position: absolute;
  z-index: 4;
  width: min(390px, 34%);
  padding: 24px;
  border: 1px solid rgba(67, 50, 37, 0.28);
  border-radius: 13px;
  color: var(--ink);
  background: rgba(246, 240, 229, 0.98);
  box-shadow: 0 24px 75px rgba(0, 0, 0, 0.46);
}

.card-center { left: 50%; top: 50%; transform: translate(-50%, -50%); }
.card-bottom-right { right: 2.1%; bottom: 3.8%; }
.card-top-left { left: 2.1%; top: 4%; }
.card-top-right { right: 2.1%; top: 4%; }
.card-bottom-left { left: 2.1%; bottom: 3.8%; }

.feature-card { width: min(510px, calc(100% - 40px)); padding: 32px; }

.progress-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px;
  color: #766859;
  font-family: "Spline Mono", ui-monospace, monospace;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.progress-track { height: 3px; flex: 1; overflow: hidden; border-radius: 9px; background: rgba(23, 17, 12, 0.13); }
.progress-track i { display: block; height: 100%; background: var(--ember); transition: width 250ms ease; }

.card-eyebrow {
  margin: 0 0 10px;
  color: #6d5f51;
  font-family: "Spline Mono", ui-monospace, monospace;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.card-eyebrow::before { content: ""; display: inline-block; width: 25px; height: 3px; margin: 0 9px 2px 0; background: var(--ember); }

.tour-card h2 {
  margin: 0;
  font-family: "Newsreader", Georgia, serif;
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 590;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.feature-card h2 { font-size: clamp(38px, 4vw, 60px); }
.card-copy { margin: 16px 0 0; color: #493d32; font-size: 14px; line-height: 1.45; }

.proof {
  margin: 18px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(67, 50, 37, 0.18);
  color: #766859;
  font-size: 9px;
  font-weight: 700;
}

.card-actions { display: flex; gap: 9px; margin-top: 21px; }
.card-actions button, .card-actions a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-radius: 7px;
  padding: 0 16px;
  cursor: pointer;
  text-decoration: none;
  font-family: "Spline Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.primary { border: 1px solid var(--ember); color: white; background: var(--ember); }
.primary:hover { background: #e95013; }
.secondary { border: 1px solid rgba(23, 17, 12, 0.25); color: var(--ink); background: transparent; }
.secondary:hover { background: rgba(23, 17, 12, 0.06); }
.icon-button { width: 42px; padding: 0 !important; }

.demo-footer {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #8f806d;
  font-size: 8px;
  font-weight: 700;
}

kbd { padding: 2px 5px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 4px; color: var(--paper-2); background: rgba(255, 255, 255, 0.04); font-family: inherit; }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 4px 0;
  color: #8f806d;
  font-size: 9px;
  font-weight: 700;
}

.site-footer a { color: var(--paper-2); text-decoration: none; }
.site-footer a:hover { color: var(--ember-2); }

@media (max-width: 980px) {
  .page-shell { width: min(100% - 28px, 920px); }
  .hero { grid-template-columns: 1fr; gap: 22px; padding-top: 42px; }
  .hero-copy { max-width: 720px; }
  .tour-card { width: min(360px, 42%); padding: 19px; }
  .tour-card h2 { font-size: 32px; }
  .card-copy { font-size: 12px; }
  .feature-card { width: min(470px, calc(100% - 30px)); }
}

@media (max-width: 720px) {
  .page-shell { width: min(100% - 20px, 680px); padding-top: 12px; }
  .site-header { min-height: 48px; }
  .header-status { font-size: 7px; letter-spacing: 0.07em; }
  .brand { font-size: 17px; }
  .brand img { width: 27px; height: 27px; }
  .hero { padding: 36px 3px 28px; }
  h1 { font-size: clamp(50px, 16vw, 78px); }
  .hero-copy { font-size: 16px; }
  .address { display: none; }
  .chapter-nav { grid-template-columns: repeat(3, 1fr); }
  .chapter-nav button { min-height: 34px; font-size: 8px; }
  .screen-stage { background: #0d0907; }
  .tour-card, .feature-card {
    position: relative;
    inset: auto;
    width: auto;
    transform: none;
    margin: 12px;
    padding: 22px;
  }
  .tour-card h2, .feature-card h2 { font-size: 38px; }
  .card-copy { font-size: 14px; }
  .screen-media { border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .full-dim { background: rgba(7, 5, 3, 0.48); }
  .demo-footer span:first-child { display: none; }
  .demo-footer { justify-content: center; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
