@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Schibsted+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --paper: #e8ebe6;
  --paper-rgb: 232, 235, 230;
  --ink: #1c1915;
  --muted: #5f5a52;
  --accent: #0d6b63;
  --accent-soft: #d5ebe7;
  --accent-2: #c45c26;
  --panel: #f7f8f4;
  --line: rgba(28, 25, 21, 0.12);
  --radius: 14px;
  --font-display: "Instrument Serif", Georgia, serif;
  --font-body: "Schibsted Grotesk", system-ui, sans-serif;
  --shadow: 0 20px 48px rgba(28, 25, 21, 0.1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(ellipse at 8% 0%, rgba(13, 107, 99, 0.09), transparent 48%),
    radial-gradient(ellipse at 92% 18%, rgba(196, 92, 38, 0.07), transparent 42%),
    var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 2.5rem)); margin-inline: auto; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0; gap: 1rem;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.85rem; font-style: italic; letter-spacing: -0.02em;
  text-decoration: none;
  display: inline-flex; align-items: center;
}
.logo img { height: 2rem; width: auto; display: block; }
.nav-links { display: flex; gap: 1.25rem; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  text-decoration: none; font-size: 0.9rem; font-weight: 500; color: var(--muted);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-cta {
  display: inline-flex; align-items: center; padding: 0.55rem 1.05rem;
  background: var(--accent); color: #fff !important; border-radius: 999px;
  font-size: 0.85rem !important; font-weight: 600 !important;
}
.nav-toggle {
  display: none; border: 1px solid var(--line); background: var(--panel);
  border-radius: 10px; padding: 0.45rem 0.65rem; cursor: pointer; font: inherit;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.9rem 1.4rem; border-radius: 999px; font-weight: 600;
  font-size: 0.95rem; text-decoration: none; border: none; cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px rgba(13, 107, 99, 0.28); }
.btn-primary:hover { background: #0a5550; }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--panel); }
.btn-ghost.btn-ghost-on-dark {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-ghost.btn-ghost-on-dark:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Hero */
.hero {
  position: relative; min-height: min(90vh, 780px); overflow: hidden;
  display: grid; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(var(--paper-rgb), 0.92) 0%, rgba(var(--paper-rgb), 0.55) 42%, rgba(var(--paper-rgb), 0.15) 70%),
    url("https://images.unsplash.com/photo-1497215728101-856f4ea42174?auto=format&fit=crop&w=1800&q=80") center / cover no-repeat;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -12deg, transparent, transparent 12px, rgba(28, 25, 21, 0.015) 12px, rgba(28, 25, 21, 0.015) 13px
  );
  animation: grain 12s linear infinite;
  pointer-events: none;
}
@keyframes grain {
  from { transform: translateY(0); }
  to { transform: translateY(-24px); }
}
.hero-inner { position: relative; z-index: 1; padding: 4.5rem 0 3.5rem; max-width: 34rem; }
.hero-brand {
  font-family: var(--font-display); font-size: clamp(3.4rem, 10vw, 6rem);
  line-height: 0.9; margin: 0 0 1rem; font-style: italic;
  opacity: 0; animation: fadeup 0.9s ease forwards 0.05s;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.55rem, 3.5vw, 2.15rem); line-height: 1.2;
  margin: 0 0 1rem; opacity: 0; animation: fadeup 0.9s ease forwards 0.2s;
}
.hero p {
  margin: 0 0 1.6rem; color: var(--muted); max-width: 28rem;
  opacity: 0; animation: fadeup 0.9s ease forwards 0.35s;
}
.hero .btn-row { opacity: 0; animation: fadeup 0.9s ease forwards 0.5s; }
@keyframes fadeup {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

/* Sections */
.section { padding: 5rem 0; }
.section-band { background: color-mix(in srgb, var(--paper) 70%, #dfe4dc); }
.section-head { max-width: 36rem; margin-bottom: 2.5rem; }
.eyebrow {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); margin: 0 0 0.55rem;
}
.eyebrow.muted { color: #8a867e; }
.section-head h2,
.section h2.display {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  margin: 0 0 0.75rem; line-height: 1.15;
}
.section-head p { margin: 0; color: var(--muted); }

.pack {
  display: grid; gap: 1.5rem;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: stretch;
}
.pack-main {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem;
}
.pack-main h3 {
  font-family: var(--font-display); font-weight: 400;
  margin: 0 0 0.5rem; font-size: 1.55rem;
}
.pack-main ul { margin: 1.25rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.75rem; }
.pack-main li {
  display: flex; gap: 0.65rem; align-items: flex-start;
  color: var(--muted);
}
.pack-main li::before {
  content: ""; width: 0.55rem; height: 0.55rem; margin-top: 0.5rem;
  border-radius: 50%; background: var(--accent); flex-shrink: 0;
}
.pack-price {
  background: var(--accent); color: #fff; border-radius: var(--radius);
  padding: 2rem; display: flex; flex-direction: column; justify-content: space-between;
}
.pack-price .label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.8; margin: 0; }
.pack-price .amount {
  font-family: var(--font-display); font-size: 2.7rem;
  letter-spacing: -0.02em; margin: 0.45rem 0;
}
.pack-price .month { margin: 0; opacity: 0.9; }
.pack-price .btn { margin-top: 1.5rem; background: #fff; color: var(--accent); }

.demo-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}
.demo-item {
  text-decoration: none; display: block;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--panel);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.demo-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.demo-item.is-static { cursor: default; }
.demo-item.is-static:hover { transform: none; box-shadow: none; }
.demo-thumb {
  aspect-ratio: 16 / 10;
  background: #c5cbc2 center / cover no-repeat;
}
.demo-thumb.classic {
  background-image: url("https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=900&q=80");
}
.demo-thumb.modern {
  background-image: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 45%, white));
}
.demo-thumb.bold {
  background-image: linear-gradient(135deg, var(--ink), var(--accent-2));
}
.demo-meta { padding: 1.05rem 1.15rem 1.25rem; }
.demo-meta h3 {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.35rem; margin: 0 0 0.25rem;
}
.demo-meta p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.badge {
  display: inline-block; margin-top: 0.7rem; font-size: 0.68rem;
  font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.28rem 0.6rem; border-radius: 999px; background: var(--accent-soft); color: var(--accent);
}
.badge.soon { background: #e4e2db; color: var(--muted); }

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.split h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.7rem, 3vw, 2.35rem); margin: 0 0 0.75rem; line-height: 1.15;
}
.split .body { color: var(--muted); margin: 0 0 1.25rem; }
.split-visual {
  border-radius: var(--radius); overflow: hidden; min-height: 320px;
  background: url("https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&w=1000&q=80") center / cover;
  box-shadow: var(--shadow);
}

.cta-band {
  margin: 0 0 4rem;
  background: var(--ink); color: #fff; border-radius: calc(var(--radius) + 4px);
  padding: 2.5rem; display: flex; flex-wrap: wrap; gap: 1.5rem;
  align-items: center; justify-content: space-between;
}
.cta-band h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0 0 0.4rem;
}
.cta-band p { margin: 0; color: rgba(255, 255, 255, 0.75); max-width: 28rem; }

.page-hero { padding: 3.5rem 0 2rem; }
.page-hero h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.4rem); margin: 0 0 0.75rem; line-height: 1.05;
}
.page-hero p { margin: 0; color: var(--muted); max-width: 36rem; }

.about-sub {
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.75rem; margin: 0 0 1rem;
}
.about-sub + p { color: var(--muted); }
.about-sub.spaced { margin-top: 2rem; }

.form-shell {
  position: relative;
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 2rem;
}
.field { display: grid; gap: 0.4rem; margin-bottom: 1rem; }
.field label { font-size: 0.85rem; font-weight: 600; }
.field input, .field textarea {
  font: inherit; padding: 0.75rem 0.9rem; border-radius: 10px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--muted); margin: 0.75rem 0 0; }
.form-success {
  display: none; padding: 1rem; border-radius: 10px; background: var(--accent-soft); color: var(--accent);
  font-weight: 600; margin-bottom: 1rem;
}
.form-success.is-visible { display: block; }

.wa-card {
  background: var(--accent); color: #fff; border-radius: var(--radius); padding: 2rem;
}
.wa-card h2 {
  font-family: var(--font-display); font-weight: 400;
  margin: 0 0 0.75rem; font-size: 1.7rem;
}
.wa-card p { margin: 0 0 1.25rem; opacity: 0.92; }
.wa-card .btn { background: #fff; color: var(--accent); }
.wa-card .meta { margin: 2rem 0 0; font-size: 0.9rem; opacity: 0.75; }
.wa-card .meta + .meta { margin-top: 0.4rem; }
.wa-card .meta a { color: #fff; text-decoration: underline; }

.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1.1fr 0.9fr; align-items: start; }

.footer {
  border-top: 1px solid var(--line); padding: 2rem 0 2.5rem;
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  color: var(--muted); font-size: 0.9rem;
}
.footer a { color: var(--ink); text-decoration: none; font-weight: 600; }

.reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .pack, .split, .demo-grid, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none; position: absolute; left: 1.25rem; right: 1.25rem; top: calc(100% + 0.35rem);
    flex-direction: column; align-items: stretch; gap: 0.25rem;
    background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 0.75rem; box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .nav-cta { justify-content: center; }
  .hero { min-height: 78vh; }
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.field-error { margin: 0; font-size: 0.8rem; color: #a33b24; }
.field-check .check-label {
  display: flex; gap: 0.65rem; align-items: flex-start;
  font-size: 0.85rem; font-weight: 400; color: var(--muted); cursor: pointer;
}
.field-check input { margin-top: 0.2rem; flex-shrink: 0; }
.field-check a { color: var(--accent); font-weight: 600; text-decoration: none; }
.legal-body { max-width: 42rem; color: var(--muted); }
.legal-body p { margin: 0 0 1rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; }
.footer-links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.85rem; }

.cookie-banner {
  position: fixed; z-index: 50; left: 1rem; right: 1rem; bottom: 1rem;
  max-width: 42rem; margin-inline: auto;
  background: var(--ink); color: #fff;
  border-radius: var(--radius); padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow);
}
.cookie-banner-inner { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.cookie-banner-title { margin: 0 0 0.35rem; font-weight: 700; }
.cookie-banner-text { margin: 0; color: rgba(255,255,255,.78); font-size: 0.9rem; max-width: 28rem; }
.cookie-banner-text a { color: #fff; font-weight: 600; }
.cookie-banner-actions { display: flex; gap: 0.5rem; }

.demo-card-wrap { display: flex; flex-direction: column; gap: 0.5rem; }
.demo-panel-link { margin: 0; font-size: 0.85rem; }
.demo-panel-link a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.demo-panel-link a:hover { text-decoration: underline; }
