:root {
  --navy: #1B2838;
  --navy-deep: #16202D;
  --cream: #F6F2EE;
  --cream-alt: #EDEAE5;
  --cream-text: #EFEAE1;
  --ink: #18181B;
  --espresso: #2A2018;
  --orange: #FB5200;
  --muted-dark: rgba(24, 24, 27, 0.65);
  --muted-light: rgba(246, 242, 238, 0.75);
  --line-cream: #DDD9D3;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Geist", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; text-wrap: balance; }
h1 em, h2 em { font-style: italic; color: var(--orange); }

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

.mono { font-family: var(--mono); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.14em; }
.serif { font-family: var(--serif); }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--orange);
  margin-bottom: 18px;
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border: none;
  cursor: pointer;
  transition: background 200ms ease, border-color 200ms ease, opacity 200ms ease;
}
.btn-primary { background: var(--orange); color: #ffffff; }
.btn-primary:hover { background: #d94700; }
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; }
.btn-secondary { border: 1px solid rgba(246, 242, 238, 0.45); color: var(--cream-text); padding: 15px 32px; }
.btn-secondary:hover { border-color: var(--cream-text); }

/* Announcement + nav */
.announcement {
  background: var(--navy);
  color: var(--cream-text);
  text-align: center;
  padding: 10px 16px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.nav {
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  height: 72px;
  padding: 0 64px;
  border-bottom: 1px solid var(--line-cream);
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav-links { display: flex; gap: 32px; font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(42, 32, 24, 0.62); }
.nav-right { justify-content: flex-end; }
.nav-links a:hover { color: var(--ink); }
.nav-logo { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 500; font-size: 19px; letter-spacing: 0.28em; }

/* Hero */
.hero {
  background: radial-gradient(1100px 600px at 82% 0%, rgba(122, 72, 42, 0.28), rgba(27, 40, 56, 0)) var(--navy);
  color: var(--cream-text);
  padding: 96px 64px;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}
.hero-text { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
h1 { font-size: clamp(42px, 5vw, 72px); line-height: 1.05; color: var(--cream-text); }
.hero .lead { font-size: 18px; font-weight: 300; line-height: 1.65; color: var(--muted-light); max-width: 480px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-visual img { border: 1px solid rgba(246, 242, 238, 0.14); }

/* Sektioner */
.section-inner { max-width: 1200px; margin: 0 auto; }
.how, .products, .quotes { padding: 104px 64px; }
.how h2, .products h2, .quotes h2 { font-size: clamp(28px, 3vw, 44px); color: var(--espresso); margin-bottom: 56px; }
.how { background: var(--cream); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.step { border-top: 2px solid var(--orange); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.step-number { color: var(--orange); font-size: 12px; }
.step h3 { font-size: 24px; font-weight: 500; color: var(--espresso); }
.step p { color: var(--muted-dark); }

/* Produktgrid */
.products { background: var(--cream-alt); }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.product-card { background: var(--cream); display: flex; flex-direction: column; transition: transform 300ms ease; }
.product-card:hover { transform: translateY(-4px); }
.product-card img { aspect-ratio: 1; object-fit: cover; }
.product-card-text { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.product-card h3 { font-size: 19px; font-weight: 500; color: var(--espresso); }
.product-card .mono { color: var(--muted-dark); }
.custom-banner {
  margin-top: 48px;
  background: var(--navy);
  color: var(--cream-text);
  padding: 40px 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.custom-banner h3 { font-size: 26px; margin-bottom: 6px; }
.custom-banner p { color: var(--muted-light); font-weight: 300; }

/* Citater */
.quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.quote-grid figure { background: var(--cream-alt); padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.quote-grid blockquote { font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.6; color: var(--espresso); }
.quote-grid figcaption { display: flex; flex-direction: column; gap: 4px; }
.quote-grid figcaption b { font-weight: 500; }
.quote-grid figcaption .mono { color: var(--orange); }

/* Produktside */
.product-page { padding: 72px 64px 104px; }
.product-layout { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }
.product-images { display: flex; flex-direction: column; gap: 16px; }
.product-images img { border: 1px solid var(--line-cream); }
.product-info { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; position: sticky; top: 96px; }
.product-info h1 { color: var(--espresso); font-size: clamp(34px, 3.6vw, 52px); }
.price { font-size: 28px; color: var(--espresso); }
.product-description { color: var(--muted-dark); display: flex; flex-direction: column; gap: 12px; }
.variants { display: flex; flex-direction: column; gap: 10px; }
.variants-label { color: var(--muted-dark); }
.variant-list { display: flex; flex-wrap: wrap; gap: 8px; }
.variant {
  border: 1px solid var(--line-cream);
  background: transparent;
  padding: 11px 16px;
  color: var(--espresso);
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}
.variant:hover { border-color: var(--espresso); }
.variant.selected { border-color: var(--orange); background: rgba(251, 82, 0, 0.08); color: var(--orange); }
.trust-note { font-size: 13px; color: var(--muted-dark); }
.tak-inner { text-align: left; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.tak-mark { color: var(--espresso); }
.tak-inner h1 { margin-bottom: 0; }
.staging-note { color: var(--muted-dark); font-weight: 400; }
.config-placeholder {
  border: 1px dashed var(--line-cream);
  background: var(--cream-alt);
  min-height: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  padding: 32px;
  color: var(--muted-dark);
}
.config-placeholder .mono { color: var(--orange); }

/* Tekstsider */
.text-page { padding: 72px 64px 104px; background: var(--cream); }
.text-inner { max-width: 720px; margin: 0 auto; }
.text-inner h1 { color: var(--espresso); font-size: clamp(32px, 3.4vw, 48px); margin-bottom: 32px; }
.prose { color: var(--muted-dark); display: flex; flex-direction: column; gap: 14px; }
.prose h2, .prose h3, .prose h4 { color: var(--espresso); margin-top: 18px; }
.prose a { color: var(--orange); }
.prose ul, .prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }

/* Footer */
.footer {
  background: var(--navy-deep);
  color: var(--muted-light);
  padding: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}
.footer-logo { display: flex; align-items: center; gap: 10px; color: var(--cream-text); font-weight: 500; letter-spacing: 0.28em; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; font-weight: 400; }
.footer-links a:hover { color: var(--cream-text); }
.footer p { font-weight: 300; font-size: 14px; }

/* Mobil */
@media (max-width: 900px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-logo { grid-column: 2; }
  .hero, .how, .products, .quotes, .product-page, .text-page { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 56px; padding-bottom: 64px; }
  .hero-inner, .product-layout { grid-template-columns: 1fr; gap: 40px; }
  .steps, .quote-grid { grid-template-columns: 1fr; gap: 28px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .how, .products, .quotes { padding-top: 64px; padding-bottom: 64px; }
  .product-info { position: static; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
