/* Webbplatsen lechatduvin.com: samma uttryck som appen (designsystem E, stilguiden 2026-11-27, src/theme.ts):
   nästan vit bakgrund, flaskgrönt som enda accent, tunna linjer i stället för skuggor, Figtree och Cormorant Garamond. */
@font-face { font-family: "Figtree"; font-weight: 300; font-display: swap; src: url("fonts/Figtree_300Light.ttf") format("truetype"); }
@font-face { font-family: "Figtree"; font-weight: 400; font-display: swap; src: url("fonts/Figtree_400Regular.ttf") format("truetype"); }
@font-face { font-family: "Figtree"; font-weight: 500; font-display: swap; src: url("fonts/Figtree_500Medium.ttf") format("truetype"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 600; font-display: swap; src: url("fonts/CormorantGaramond_600SemiBold.ttf") format("truetype"); }

:root {
  --bg: #FBFBFA; --surface: #FFFFFF; --ink: #1F2421; --soft: #4A514C; --muted: #6F7671;
  --line: #C9CEC9; --hairline: #D3D7D3; --accent: #2F4A3A; --accent-dark: #243A2D; --accent-soft: #E8EEEA;
  --dark: #1F2421; --on-dark: #C9CEC9;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --radius: 12px; --wrap: 1040px; --text: 720px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }

/* Huvudmenyn: grön vänsterspalt i webbläsaren, grön list med Meny-knapp i mobilen. */
header.site { position: sticky; top: 0; z-index: 10; background: var(--accent); color: #fff; }
header.site .bar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 600 23px/1 var(--serif); white-space: nowrap; }
.brand img { width: 38px; height: 38px; }
header.site .brand { color: #fff; font-size: 21px; }
header.site .brand img { width: 30px; height: 30px; }
header.site .menu { margin-left: auto; font: 500 12px/1 "Figtree", sans-serif; letter-spacing: 1.5px; text-transform: uppercase; color: #fff; background: transparent; border: 1px solid rgba(255, 255, 255, .55); border-radius: 8px; padding: 9px 14px; cursor: pointer; }
header.site nav, header.site .side-art { display: none; }
header.site.open nav { display: flex; flex-direction: column; width: 100%; padding: 6px 0 10px; }
header.site .bar { flex-wrap: wrap; }
header.site nav a { color: #D5E0D9; text-decoration: none; font-size: 16px; padding: 10px 12px; border-radius: 8px; }
header.site nav a:hover { color: #fff; background: var(--accent-dark); }
header.site nav a[aria-current="page"] { color: #fff; font-weight: 500; background: var(--accent-dark); }
@media (min-width: 900px) {
  body { padding-left: 232px; }
  header.site { position: fixed; top: 0; left: 0; bottom: 0; width: 232px; overflow-y: auto; }
  header.site .bar { flex-direction: column; align-items: stretch; gap: 28px; padding: 28px 16px; }
  header.site .brand { padding: 0 12px; }
  header.site .menu { display: none; }
  header.site nav { display: flex; flex-direction: column; gap: 2px; }
  header.site .bar { min-height: 100%; box-sizing: border-box; }
  header.site .side-art { display: block; width: 100%; height: auto; border-radius: 10px; }
}

/* Innehåll */
main { max-width: var(--text); margin: 0 auto; padding: 8px 24px 24px; }
main.wide { max-width: var(--wrap); }
h1, h2, h3 { line-height: 1.15; font-weight: 400; text-wrap: balance; }
h1 { font: 600 clamp(38px, 6vw, 58px)/1.05 var(--serif); margin: 44px 0 14px; }
h2 { font: 600 30px/1.1 var(--serif); margin: 40px 0 8px; }
h3 { font-size: 18px; font-weight: 500; margin: 4px 0 8px; }
p, li { color: var(--ink); }
.lead { font-size: 19px; font-weight: 300; color: var(--soft); }
.meta { color: var(--muted); font-size: 14px; font-weight: 300; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; margin: 18px 0; }
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
.tag { font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); border: 1px solid var(--accent); border-radius: 4px; padding: 2px 8px; vertical-align: middle; margin-left: 6px; }
.toc { font-size: 15px; color: var(--soft); margin: 8px 0 4px; line-height: 2; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 500; }
summary::marker { color: var(--accent); }
details p { margin: 10px 0 2px; }
h2[id] { scroll-margin-top: 84px; }
@media (min-width: 900px) { h2[id] { scroll-margin-top: 24px; } }
.price { font-size: 40px; font-weight: 300; letter-spacing: -.01em; margin: 2px 0 10px; }
.price .meta { display: block; font-size: 15px; margin: 2px 0 0; letter-spacing: 0; }
code { font-size: 14px; background: var(--accent-soft); border-radius: 4px; padding: 1px 6px; word-break: break-all; }

/* Knappar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 500; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; border-radius: 10px; padding: 14px 22px; border: 1px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: var(--accent-dark); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }

/* Startsidan */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 32px; padding: 24px 0 8px; }
.hero h1 { margin-top: 14px; }
.eyebrow { display: inline-block; font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art { display: block; padding: 0 28% 0 0; }
.hero-art .cellar-art { width: 100%; margin: 0; }
.hero-art .cat { position: absolute; right: 0; bottom: -6%; width: 40%; height: auto; }
/* Datorn: källaren står i den gröna menyn, katten ensam och större här */
@media (min-width: 900px) {
  .hero-art { padding: 0; display: flex; justify-content: center; }
  .hero-art .cellar-art { display: none; }
  .hero-art .cat { position: static; width: 78%; max-width: 360px; }
}
.statuses { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; margin: 18px 0 0; padding: 0; list-style: none; }
.statuses li { font-size: 14px; font-weight: 400; color: var(--ink); }
.statuses li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--d); margin-right: 8px; vertical-align: 2px; }
.section-head { max-width: var(--text); margin: 80px 0 8px; }
.section-head h2 { font-size: clamp(30px, 4vw, 40px); margin: 10px 0 8px; }
.section-head p { color: var(--soft); font-weight: 300; margin: 0; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 22px; }
.grid .card { margin: 0; }
.feature .icon { width: 40px; height: 40px; border-radius: 20px; border: 1px solid var(--accent); color: var(--accent); display: grid; place-items: center; margin-bottom: 14px; }
.feature .icon svg { width: 20px; height: 20px; stroke-width: 1.5; }
.feature p { color: var(--soft); }
.maturity { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 18px 0 6px; }
.maturity > div { text-align: center; }
.maturity .mfig { width: 100%; max-width: 140px; height: auto; display: block; margin: 0 auto 10px; }
.maturity p { font-size: 15px; color: var(--soft); margin: 4px 0 0; }
.bar-track { position: relative; height: 3px; background: var(--hairline); margin: 0 8px 14px; }
.bar-track .peak { position: absolute; top: 0; height: 3px; background: #16A34A; }
.band { border-radius: 16px; padding: 44px; margin: 80px 0 0; }
.band.dark { background: var(--dark); color: #fff; }
.band.dark p { color: var(--on-dark); }
.band.dark a { color: #fff; }
.band.dark h2 { color: #fff; margin-top: 0; }
.band.accent { background: var(--accent); color: #fff; text-align: center; }
.band.accent h2 { color: #fff; margin: 0 0 8px; font-size: clamp(28px, 3.4vw, 36px); }
.band.accent p { color: #D5E0D9; margin: 0 auto; max-width: 560px; }
.band.accent .actions { justify-content: center; }
.band.accent .btn.primary { background: #fff; color: var(--accent); }
.band.accent .btn.primary:hover { background: var(--accent-soft); }
.band.accent .btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.band.accent .btn.ghost:hover { border-color: #fff; }
.checks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 24px; }
.checks li { color: var(--on-dark); font-size: 15px; padding-left: 26px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.2l3 3 6-6' fill='none' stroke='%23C9CEC9' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* Sidfot */
footer { border-top: 1px solid var(--hairline); margin-top: 80px; }
footer .bar { max-width: var(--wrap); margin: 0 auto; padding: 32px 24px 44px; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-start; justify-content: space-between; }
footer .brand { font-size: 21px; }
footer .brand img { width: 32px; height: 32px; }
footer .tagline { color: var(--muted); font-size: 14px; font-weight: 300; margin: 6px 0 0; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 15px; }
footer nav a { color: var(--soft); text-decoration: none; font-weight: 400; }
footer nav a:hover { color: var(--accent); }
footer .copy { width: 100%; color: var(--muted); font-size: 13px; font-weight: 300; margin: 0; }

@media (max-width: 760px) {
  main { padding: 4px 16px 16px; }
  .hero { grid-template-columns: 1fr; gap: 8px; }
  .hero-art { order: -1; justify-content: flex-start; }
  .hero-art { margin-bottom: 8px; }
  .grid, .maturity, .checks { grid-template-columns: 1fr; }
  .band { padding: 30px 22px; border-radius: 14px; margin-top: 52px; }
  .section-head { margin-top: 56px; }
  .card { padding: 18px 18px; }
  footer .bar { padding: 28px 16px 36px; }
}

/* Priser */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 24px 0 8px; }
.plans .card { margin: 0; }
.plan h2 { margin: 0 0 4px; }
.plan ul { padding-left: 0; list-style: none; margin: 0; }
.plan li { position: relative; padding-left: 26px; margin: 8px 0; font-size: 16px; }
.plan li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.2l3 3 6-6' fill='none' stroke='%232F4A3A' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.plan.featured { border: 1px solid var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.plan.featured .tag { margin: 0 0 10px; display: inline-block; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
main.mid { max-width: 880px; }
.plan li.no { color: var(--muted); }
.plan li.no::before { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 8h6' fill='none' stroke='%236F7671' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat; }
ol.steps { padding-left: 22px; }
ol.steps > li { margin: 12px 0; line-height: 1.55; }
ol.steps ul { margin: 6px 0 0; padding-left: 18px; }
ol.steps ul li { margin: 4px 0; }

/* Illustrationerna (scripts/brand/brand.mjs). */
.cellar-art { display: block; width: min(520px, 100%); height: auto; margin: 20px auto 0; border: 1px solid var(--hairline); border-radius: var(--radius); }
.card-art { display: block; height: 112px; width: auto; max-width: 100%; margin: 0 0 14px; }
.side-art { display: block; width: 100%; max-width: 260px; height: auto; margin: 8px 0 4px; }
