/* ==========================================================================
   Snaveo — landningssida
   Scandinavian, minimal, mobile-first
   ========================================================================== */

:root {
  --bg: #FAF9F6;
  --bg-alt: #F1EEE7;
  --surface: #FFFFFF;
  --ink: #1A1D1B;
  --ink-muted: #5B6059;
  --ink-soft: #83887F;
  --line: #E6E2D8;
  --brand: #12463A;
  --brand-dark: #0C3128;
  --brand-tint: #E8F0EC;
  --accent: #C97A3B;
  --accent-tint: #FBEEE1;
  --good: #2E7D4F;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(20, 22, 20, 0.05), 0 1px 1px rgba(20, 22, 20, 0.03);
  --shadow-md: 0 8px 24px rgba(20, 30, 25, 0.08), 0 2px 6px rgba(20, 30, 25, 0.04);
  --shadow-lg: 0 20px 48px rgba(20, 30, 25, 0.12), 0 4px 12px rgba(20, 30, 25, 0.05);
  --container: 1120px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 72px 0;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
}

p {
  margin: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brand);
  background: var(--brand-tint);
  border-radius: 999px;
  padding: 7px 14px;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(26px, 4vw, 34px);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--ink-muted);
  font-size: 17px;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 600;
  border-radius: 999px;
  padding: 14px 26px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--brand-dark);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink-soft);
}

.btn-block {
  width: 100%;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 246, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  color: var(--ink);
}

.brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.main-nav {
  display: none;
  align-items: center;
  gap: 28px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-muted);
}

.main-nav a {
  text-decoration: none;
  color: inherit;
}

.main-nav a:hover {
  color: var(--ink);
}

.header-cta {
  display: none;
}

@media (min-width: 860px) {
  .main-nav { display: flex; }
  .header-cta { display: inline-flex; }
}

/* ---------- Hero ---------- */

.hero {
  padding: 56px 0 64px;
}

.hero-inner {
  display: grid;
  gap: 40px;
  align-items: start;
}

@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
  }
}

.hero-copy h1 {
  font-size: clamp(34px, 6vw, 54px);
  line-height: 1.08;
  margin: 18px 0 20px;
}

.hero-copy .lede {
  font-size: 18px;
  color: var(--ink-muted);
  max-width: 52ch;
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.hero-note {
  font-size: 14px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-note::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--good);
  flex: none;
}

.hero-visual {
  position: relative;
}

/* ---------- Mockup deal card (hero + example section share the style) ---------- */

.deal-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.deal-card .example-flag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 6px 10px;
  border-radius: 999px;
}

.deal-card-top {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
}

.deal-card-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.deal-card-thumb svg {
  width: 30px;
  height: 30px;
  color: var(--brand);
}

.deal-card-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}

.deal-card-sub {
  font-size: 13px;
  color: var(--ink-soft);
}

.deal-card-prices {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.price-old {
  font-size: 15px;
  color: var(--ink-soft);
  text-decoration: line-through;
}

.price-new {
  font-size: 28px;
  font-weight: 750;
  color: var(--brand);
}

.price-diff {
  font-size: 13px;
  font-weight: 700;
  color: var(--good);
  background: #E6F3EA;
  border-radius: 999px;
  padding: 3px 10px;
}

.deal-score-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 14px;
}

.deal-score-badge {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 750;
  font-size: 15px;
  flex: none;
}

.deal-score-text .label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}

.deal-score-text .value {
  font-size: 13.5px;
  color: var(--ink-muted);
}

.deal-card-explainer {
  font-size: 13.5px;
  color: var(--ink-muted);
  font-style: italic;
  border-left: 3px solid var(--accent);
  padding-left: 12px;
}

.example-disclaimer {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--ink-soft);
  text-align: center;
}

/* ---------- Dev status banner ---------- */

.dev-banner {
  background: var(--brand);
  color: #EFEAE0;
}

.dev-banner .container {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  font-size: 13.5px;
  text-align: center;
  justify-content: center;
  flex-wrap: wrap;
}

.dev-banner strong {
  color: #fff;
}

/* ---------- How it works ---------- */

.steps {
  display: grid;
  gap: 20px;
}

@media (min-width: 780px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}

.step-num {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 750;
  font-size: 15px;
  margin-bottom: 18px;
}

.step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.step p {
  color: var(--ink-muted);
  font-size: 15px;
}

/* ---------- Features ---------- */

.features-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--brand-tint);
  color: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14.5px;
  color: var(--ink-muted);
}

/* ---------- Example deal section ---------- */

.example-section {
  background: var(--bg-alt);
}

.example-inner {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .example-inner {
    grid-template-columns: 0.95fr 1.05fr;
  }
}

.example-copy ul {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.example-copy li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-muted);
  align-items: flex-start;
}

.example-copy li svg {
  width: 18px;
  height: 18px;
  color: var(--good);
  flex: none;
  margin-top: 3px;
}

/* ---------- Why section ---------- */

.why-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.why-problem, .why-solution {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
}

.why-problem h3, .why-solution h3 {
  font-size: 18px;
  margin-bottom: 14px;
}

.why-problem p {
  color: var(--ink-muted);
  font-size: 15px;
  margin-bottom: 12px;
}

.why-solution ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.why-solution li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: var(--ink);
  align-items: flex-start;
}

.why-solution .q-mark {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--accent-tint);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 750;
  font-size: 14px;
}

/* ---------- Coming soon / signup ---------- */

.signup-section {
  background: var(--brand);
  color: #F4F1EA;
  border-radius: var(--radius-lg);
  margin: 0 20px;
  padding: 56px 28px;
  text-align: center;
}

@media (min-width: 780px) {
  .signup-section { padding: 72px 60px; }
}

.signup-inner {
  max-width: 560px;
  margin: 0 auto;
}

.signup-section .eyebrow {
  background: rgba(255,255,255,0.1);
  color: #F4F1EA;
}

.signup-section h2 {
  color: #fff;
  font-size: clamp(26px, 4vw, 34px);
  margin: 16px 0 12px;
}

.signup-section p.lede {
  color: #D9D4C6;
  font-size: 16px;
  margin-bottom: 30px;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto;
}

@media (min-width: 560px) {
  .signup-form {
    flex-direction: row;
  }
}

.signup-form input[type="email"] {
  flex: 1;
  font-family: inherit;
  font-size: 15px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: #fff;
  outline: none;
}

.signup-form input[type="email"]::placeholder {
  color: #B9C4BC;
}

.signup-form input[type="email"]:focus {
  border-color: rgba(255,255,255,0.6);
}

.signup-form .btn-primary {
  background: var(--accent);
}

.signup-form .btn-primary:hover {
  background: #B3672E;
}

.signup-note {
  margin-top: 16px;
  font-size: 12.5px;
  color: #C7C2B4;
}

.form-status {
  margin-top: 14px;
  font-size: 14px;
  min-height: 20px;
}

.form-status.success { color: #B9E4C7; }
.form-status.error { color: #F2B8A6; }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 56px 0 40px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-muted);
}

.footer-top {
  display: grid;
  gap: 32px;
  margin-bottom: 32px;
}

@media (min-width: 780px) {
  .footer-top {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}

.footer-brand .brand {
  margin-bottom: 12px;
}

.footer-brand p {
  max-width: 42ch;
  color: var(--ink-muted);
}

.footer-col h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  text-decoration: none;
  color: var(--ink-muted);
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-disclosure {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.footer-disclosure strong {
  color: var(--ink-muted);
}

.footer-bottom {
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: space-between;
}

/* ---------- Simple placeholder pages (privacy / affiliate / about) ---------- */

.legal-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 20px 80px;
}

.legal-page h1 {
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 8px;
}

.legal-page .updated {
  color: var(--ink-soft);
  font-size: 13.5px;
  margin-bottom: 36px;
}

.legal-page h2 {
  font-size: 19px;
  margin: 32px 0 10px;
}

.legal-page p, .legal-page li {
  color: var(--ink-muted);
  font-size: 15.5px;
  margin-bottom: 12px;
}

.legal-page ul {
  padding-left: 20px;
}

.legal-note {
  background: var(--brand-tint);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  font-size: 14.5px;
  color: var(--brand-dark);
  margin-bottom: 28px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  margin-bottom: 28px;
}

/* ---------- Utility ---------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
