/* Vitpeppar – marknadssajten (www). Inga beroenden, inget byggsteg. */

:root {
  --bg: #fbfbfa;
  --paper: #ffffff;
  --bone: #f4f2ee;
  --bone-2: #efece6;
  --ink: #1a1a18;
  --ink-2: #2f3437;
  --muted: #74736e;
  --line: #eaeaea;
  --line-2: #e0ded9;
  --accent: #c8574d;
  --accent-soft: #fbece9;
  --green: #346538;
  --green-soft: #edf3ec;
  --blue: #1f6c9f;
  --blue-soft: #e1f3fe;
  --yellow: #956400;
  --yellow-soft: #fbf3db;
  --serif: "Instrument Serif", "Newsreader", Georgia, serif;
  --sans: "Geist", "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", "SF Mono", ui-monospace, monospace;
  --radius: 12px;
  --wrap: 1160px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--accent-soft); color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

/* ---------- Typografi ---------- */
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 400; }
.display, h1 {
  font-family: var(--serif);
  font-size: clamp(44px, 7.2vw, 86px);
  line-height: 1.02;
  letter-spacing: -0.025em;
}
h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.02em;
}
h3 { font-family: var(--sans); font-size: 19px; font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
h4 { font-family: var(--sans); font-size: 15px; font-weight: 600; }
em.serif, .serif-i { font-family: var(--serif); font-style: italic; font-weight: 400; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(18px, 2vw, 21px); line-height: 1.55; color: var(--muted); max-width: 640px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 12px/1 var(--mono);
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hl { background: linear-gradient(transparent 62%, var(--accent-soft) 62%); }

/* ---------- Knappar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 6px; border: 1px solid var(--ink);
  background: var(--ink); color: #fff; text-decoration: none;
  font: 500 16px/1 var(--sans); cursor: pointer;
  transition: background .2s, transform .15s var(--ease), border-color .2s;
  white-space: nowrap;
}
.btn:hover { background: #333; border-color: #333; }
.btn:active { transform: scale(0.98); }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { background: var(--paper); border-color: var(--ink); }
.btn.big { padding: 18px 28px; font-size: 17px; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.textlink { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.textlink:hover { text-decoration-color: var(--ink); }

/* ---------- Kampanjrad + header ---------- */
.promo {
  background: var(--ink); color: #eceae5; font-size: 14px; text-align: center;
  padding: 10px 16px; line-height: 1.4;
}
.promo a { color: #fff; font-weight: 500; }
.promo strong { color: #fff; font-weight: 600; }
.promo .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #e0786d; margin-right: 8px; vertical-align: 1px; animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 251, 250, 0.86);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 18px; letter-spacing: -0.01em; }
.brand img { height: 22px; width: auto; }
.nav-links { display: flex; gap: 24px; margin-left: 12px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color .15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.nav-cta .btn { padding: 11px 16px; font-size: 15px; }
.nav-cta .login { color: var(--muted); text-decoration: none; font-size: 15px; margin-right: 6px; }
.nav-cta .login:hover { color: var(--ink); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); border-radius: 6px; width: 42px; height: 42px; cursor: pointer; }
.menu-toggle span { display: block; width: 18px; height: 1.5px; background: var(--ink); margin: 4px auto; transition: transform .2s; }
.mobile-nav { display: none; }

@media (max-width: 920px) {
  .nav-links, .nav-cta .login { display: none; }
  .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav { border-top: 1px solid var(--line); background: var(--bg); padding: 12px 24px 24px; }
  .mobile-nav.open { display: block; }
  .mobile-nav a:not(.btn) { display: block; padding: 14px 0; text-decoration: none; color: var(--ink); font-size: 18px; border-bottom: 1px solid var(--line); }
  .mobile-nav .btn { width: 100%; margin-top: 18px; }
}

/* ---------- Sektioner ---------- */
section { position: relative; }
.sec { padding: 120px 0; }
.sec.tight { padding: 80px 0; }
.sec.bone { background: var(--bone); }
.sec.ink { background: var(--ink); color: #d9d7d1; }
.sec.ink h2, .sec.ink h3 { color: #fff; }
.sec.ink .muted, .sec.ink .lead { color: #a8a69f; }
.sec-head { margin-bottom: 56px; max-width: 760px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head.center .lead { margin-left: auto; margin-right: auto; }
.sec-head h2 + .lead { margin-top: 18px; }
@media (max-width: 720px) { .sec { padding: 80px 0; } .sec.tight { padding: 56px 0; } .sec-head { margin-bottom: 40px; } }

/* Hero */
.hero { padding: 88px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(224, 120, 109, 0.09), transparent 62%);
  pointer-events: none; animation: drift 26s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: translate(0, 0) } to { transform: translate(-8%, 6%) } }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 26px; }
.hero .lead { margin-bottom: 34px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-note span::before { content: "✓"; color: var(--green); margin-right: 6px; font-weight: 600; }
.hero-visual { position: relative; min-height: 460px; }
.hero-visual .window { position: absolute; top: 0; left: 0; width: 118%; }
.hero-visual .phone { position: absolute; right: 2%; bottom: -24px; width: 34%; min-width: 150px; }
@media (max-width: 980px) {
  .hero { padding-top: 56px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { min-height: 0; padding-bottom: 60px; }
  .hero-visual .window { position: relative; width: 100%; }
  .hero-visual .phone { width: 30%; right: 4%; bottom: 0; }
}

/* Personlig hälsning (?r=Restaurangnamn) */
.greeting { display: none; margin-bottom: 20px; padding: 10px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; font-size: 15px; width: fit-content; }
.greeting.show { display: inline-flex; gap: 8px; align-items: center; }

/* ---------- Mockups ---------- */
.window {
  background: var(--paper); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,.02), 0 24px 60px -24px rgba(26, 26, 24, 0.18);
}
.window-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #fff; }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e4e2de; }
.window-bar .url { margin-left: 14px; font: 12px var(--mono); color: var(--muted); background: var(--bone); padding: 4px 10px; border-radius: 5px; }
.window img { width: 100%; height: auto; }
.phone {
  border-radius: 38px; overflow: hidden; background: #000; border: 7px solid #111;
  box-shadow: 0 30px 60px -20px rgba(26,26,24,.35);
  aspect-ratio: 358 / 740;
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.shot { border-radius: 12px; border: 1px solid var(--line); overflow: hidden; background: #fff; }

/* ---------- Kort / bento ---------- */
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: box-shadow .2s, transform .2s var(--ease);
}
.card:hover { box-shadow: 0 2px 10px rgba(0,0,0,.04); }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 16px; margin: 0; }
.card .icon { margin-bottom: 20px; }
.icon {
  width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center;
  background: var(--bone); color: var(--ink);
}
.icon svg { width: 22px; height: 22px; }
.icon.red { background: var(--accent-soft); color: var(--accent); }
.icon.green { background: var(--green-soft); color: var(--green); }
.icon.blue { background: var(--blue-soft); color: var(--blue); }
.icon.yellow { background: var(--yellow-soft); color: var(--yellow); }

.pain .card { padding: 26px; }
.pain .quote-line { font-family: var(--serif); font-size: 24px; line-height: 1.2; color: var(--ink); margin-bottom: 10px; letter-spacing: -0.01em; }

.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.bento .card { overflow: hidden; display: flex; flex-direction: column; }
.bento .span-4 { grid-column: span 4; }
.bento .span-3 { grid-column: span 3; }
.bento .span-2 { grid-column: span 2; }
.bento .media { margin: 26px -30px -30px; border-top: 1px solid var(--line); background: var(--bone); }
.bento .media img { width: 100%; height: 100%; object-fit: cover; object-position: top left; max-height: 360px; }
.bento .media.pad { padding: 24px 24px 0; display: flex; justify-content: center; gap: 16px; }
.bento .media.pad .phone { width: 46%; max-width: 200px; border-width: 5px; border-radius: 28px; margin-bottom: -60px; }
@media (max-width: 960px) { .bento .span-4, .bento .span-3, .bento .span-2 { grid-column: span 6; } }

.tag {
  display: inline-block; padding: 4px 10px; border-radius: 999px; font: 500 11px/1.4 var(--mono);
  letter-spacing: 0.06em; text-transform: uppercase; background: var(--bone); color: var(--ink-2);
}
.tag.red { background: var(--accent-soft); color: #9f2f2d; }
.tag.green { background: var(--green-soft); color: var(--green); }
.tag.blue { background: var(--blue-soft); color: var(--blue); }
.tag.yellow { background: var(--yellow-soft); color: var(--yellow); }

/* Split-rader (text + bild) */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; }
.split.rev > :first-child { order: 2; }
.split + .split { margin-top: 120px; }
.split h2 { font-size: clamp(32px, 3.8vw, 46px); margin-bottom: 18px; }
.split .phones { display: flex; gap: 20px; justify-content: center; }
.split .phones .phone { width: 44%; max-width: 250px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } .split.rev > :first-child { order: 0; } .split + .split { margin-top: 88px; } }

.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink-2); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23346538' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat;
}
.checks.small li { font-size: 15px; }
.checks li.soon::after { content: "Kommer snart"; margin-left: 8px; font: 500 10px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; background: var(--yellow-soft); color: var(--yellow); padding: 3px 7px; border-radius: 999px; vertical-align: 2px; }

/* ---------- Siffror ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 34px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--serif); font-size: clamp(44px, 5vw, 64px); line-height: 1; color: var(--ink); letter-spacing: -0.02em; }
.stat .lbl { margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.45; }
.sec.ink .stats, .sec.ink .stat { border-color: #34332f; }
.sec.ink .stat .num { color: #fff; }
@media (max-width: 860px) { .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* ---------- Citat ---------- */
.quote { max-width: 900px; margin: 0 auto; text-align: center; }
.quote blockquote { margin: 0; font-family: var(--serif); font-size: clamp(28px, 3.6vw, 44px); line-height: 1.18; color: var(--ink); letter-spacing: -0.015em; }
.quote blockquote::before { content: "“"; display: block; font-size: 1.8em; line-height: .6; color: var(--accent); margin-bottom: 12px; }
.quote .who { margin-top: 30px; display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.quote .who img, .avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--bone-2); display: grid; place-items: center; font-weight: 600; color: var(--ink); flex: none; }
.quote .who strong { display: block; color: var(--ink); font-weight: 600; }
.quote .who span { color: var(--muted); font-size: 15px; }
.sec.ink .quote blockquote { color: #fff; }

/* ---------- Steg ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; position: relative; }
.step .n { font: 500 12px var(--mono); color: var(--muted); letter-spacing: .08em; }
.step h3 { margin: 14px 0 8px; font-size: 21px; }
.step p { color: var(--muted); margin: 0; font-size: 16px; }
.step .time { margin-top: 18px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Priser ---------- */
.billing-toggle { display: inline-flex; background: var(--bone); border: 1px solid var(--line); border-radius: 8px; padding: 4px; margin: 0 auto 36px; }
.billing-toggle button { border: 0; background: transparent; padding: 10px 16px; border-radius: 6px; font: 500 15px var(--sans); color: var(--muted); cursor: pointer; }
.billing-toggle button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.billing-toggle .save { font: 500 11px var(--mono); color: var(--green); margin-left: 6px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border-color: var(--ink); box-shadow: 0 24px 60px -30px rgba(26,26,24,.25); }
.plan .badge { position: absolute; top: -12px; left: 32px; }
.plan h3 { font-size: 22px; }
.plan .for { color: var(--muted); font-size: 15px; margin: 6px 0 24px; min-height: 48px; }
.plan .price { display: flex; align-items: baseline; gap: 6px; }
.plan .price .amount { font-family: var(--serif); font-size: 60px; line-height: 1; color: var(--ink); letter-spacing: -0.02em; }
.plan .price .per { color: var(--muted); font-size: 15px; }
.plan .vat { color: var(--muted); font-size: 13px; margin: 6px 0 22px; }
.plan .bonus { background: var(--green-soft); color: var(--green); border-radius: 8px; padding: 10px 12px; font-size: 14px; margin-bottom: 22px; line-height: 1.4; display: none; }
.plans.yearly .plan .bonus { display: block; }
.plan .btn { width: 100%; margin-bottom: 26px; }
.plan .checks { margin: 0; }
.plan .everything { font-weight: 600; color: var(--ink); font-size: 15px; margin-bottom: 2px; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

.included { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); overflow: hidden; }
.included > div { padding: 24px; border-right: 1px solid var(--line); }
.included > div:last-child { border-right: 0; }
.included h4 { margin: 12px 0 4px; }
.included p { margin: 0; font-size: 14px; color: var(--muted); }
@media (max-width: 860px) { .included { grid-template-columns: 1fr 1fr; } .included > div:nth-child(2) { border-right: 0; } .included > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* Jämförelsetabell */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.compare th, .compare td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--bg); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare td:first-child { color: var(--ink); font-weight: 500; }
.compare .us { background: #fdfaf6; }
.compare .yes { color: var(--green); font-weight: 600; }
.compare .no { color: var(--muted); }

/* ---------- Erbjudanden ---------- */
.offer {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--paper);
}
.offer .txt { padding: 56px; }
.offer .txt h2 { font-size: clamp(32px, 3.6vw, 48px); margin-bottom: 16px; }
.offer .img { background: var(--bone); position: relative; min-height: 360px; }
.offer .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (max-width: 900px) { .offer { grid-template-columns: 1fr; } .offer .txt { padding: 36px 28px; } .offer .img { min-height: 260px; } }

.spots { display: flex; gap: 6px; margin: 22px 0 10px; flex-wrap: wrap; }
.spots i { width: 22px; height: 22px; border-radius: 6px; background: var(--bone-2); border: 1px solid var(--line-2); }
.spots i.taken { background: var(--ink); border-color: var(--ink); }
.sec.ink .spots i { background: #2c2b28; border-color: #3a3935; }
.sec.ink .spots i.taken { background: #e0786d; border-color: #e0786d; }

/* ---------- Grundare ---------- */
.founder { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.founder .portrait { aspect-ratio: 4/5; border-radius: var(--radius); background: var(--bone-2); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; }
.founder .portrait .mono { font-family: var(--serif); font-size: 120px; color: var(--ink); opacity: .85; }
.founder .portrait img { width: 100%; height: 100%; object-fit: cover; }
.founder blockquote { margin: 0 0 24px; font-family: var(--serif); font-size: clamp(26px, 3vw, 36px); line-height: 1.2; color: var(--ink); }
.contact-lines { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.contact-lines a { display: inline-flex; gap: 8px; align-items: center; padding: 10px 14px; border: 1px solid var(--line-2); border-radius: 6px; text-decoration: none; color: var(--ink); font-size: 15px; background: var(--paper); }
.contact-lines a:hover { border-color: var(--ink); }
.contact-lines svg { width: 16px; height: 16px; }
@media (max-width: 820px) { .founder { grid-template-columns: 1fr; gap: 32px; } .founder .portrait { max-width: 260px; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-size: 18px; font-weight: 500; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font: 300 28px/1 var(--sans); color: var(--muted); transition: transform .2s; }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 44px 24px 0; color: var(--muted); }
.faq .a p:last-child { margin: 0; }

/* ---------- Formulär ---------- */
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 40px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 6px; background: var(--bg);
  font: 400 16px var(--sans); color: var(--ink); transition: border-color .15s, background .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); background: #fff; outline: none; }
.field textarea { min-height: 110px; resize: vertical; }
.choice { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice label { border: 1px solid var(--line-2); border-radius: 8px; padding: 14px; cursor: pointer; display: block; background: var(--bg); transition: border-color .15s; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label strong { display: block; color: var(--ink); font-weight: 600; }
.choice label span { font-size: 13px; color: var(--muted); }
.choice input:checked + label { border-color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.choice input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.check-row input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--ink); }
.form-status { margin-top: 16px; font-size: 15px; }
.form-done { display: none; text-align: center; padding: 40px 10px; }
.form-done.show { display: block; }
@media (max-width: 640px) { .form-card { padding: 26px 20px; } .form-grid { grid-template-columns: 1fr; } .choice { grid-template-columns: 1fr; } }

/* ---------- Tidslinje (byt system) ---------- */
.timeline { position: relative; max-width: 820px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 1px; background: var(--line-2); }
.tl-item { position: relative; padding: 0 0 44px 64px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item .dot { position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line-2); display: grid; place-items: center; font: 500 13px var(--mono); color: var(--ink); }
.tl-item h3 { font-size: 20px; margin-bottom: 6px; padding-top: 7px; }
.tl-item p { color: var(--muted); margin: 0; }
.tl-item .who { margin-top: 10px; }

.logos-row { display: flex; flex-wrap: wrap; gap: 10px; }
.logos-row span { padding: 10px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); font-weight: 500; color: var(--ink-2); font-size: 15px; }

/* ---------- Case ---------- */
.case-hero img { border-radius: 16px; border: 1px solid var(--line); }
.prose { max-width: 700px; }
.prose p { font-size: 18px; line-height: 1.7; }
.prose h2 { font-size: clamp(30px, 3.4vw, 40px); margin: 56px 0 18px; }
.prose h3 { margin: 32px 0 10px; }
.figure-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 40px 0; }
.figure-row img { border-radius: 12px; border: 1px solid var(--line); width: 100%; height: 100%; object-fit: cover; }
figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
@media (max-width: 640px) { .figure-row { grid-template-columns: 1fr; } }

/* ---------- CTA-block ---------- */
.cta-final { text-align: center; }
.cta-final h2 { max-width: 820px; margin: 0 auto 20px; }
.cta-final .lead { margin: 0 auto 34px; }
.cta-final .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 40px; font-size: 15px; background: var(--bg); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.foot-grid a { display: block; text-decoration: none; color: var(--ink-2); padding: 4px 0; }
.foot-grid a:hover { color: var(--ink); text-decoration: underline; }
.foot-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* Mobil: fast knapp längst ner */
.sticky-cta { display: none; }
@media (max-width: 720px) {
  .sticky-cta {
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; display: flex; gap: 8px;
    transform: translateY(140%); transition: transform .35s var(--ease);
  }
  .sticky-cta.show { transform: none; }
  .sticky-cta .btn { flex: 1; box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); }
  .sticky-cta .btn.ghost { flex: 0 0 auto; background: #fff; }
}

/* ---------- Scrollanimation ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero::before, .promo .dot { animation: none; }
  html { scroll-behavior: auto; }
}
.no-js .reveal { opacity: 1; transform: none; }

.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.mb-0 { margin-bottom: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Rättningar efter första genomgången */
.foot-grid a.brand { display: inline-flex; padding: 0; }
.foot-grid a.brand:hover { text-decoration: none; }
.sec.ink .quote .who strong { color: #fff; }
.sec.ink .quote .who span { color: #a8a69f; }
.sec.ink .avatar { background: #2c2b28; color: #fff; }
.offer .img img { object-position: left top; }
.sec.ink .checks li { color: #e9e7e2; }
.stack { position: relative; padding-bottom: 48px; }
.stack .window { width: 88%; }
.stack .phone { position: absolute; right: 0; bottom: 0; width: 30%; min-width: 120px; border-width: 5px; border-radius: 28px; }
.stack .shot.overlay { position: absolute; right: 0; bottom: 0; width: 34%; box-shadow: 0 24px 50px -20px rgba(26,26,24,.3); }
