/* Selvhostede fonter (Fontsource, SIL OFL) – ingen tredjepartskall */
@font-face { font-family: "Fraunces"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("assets/fonts/fraunces-latin-opsz-normal.woff2") format("woff2-variations"), url("assets/fonts/fraunces-latin-opsz-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-display: swap; font-weight: 400; src: url("assets/fonts/fraunces-latin-opsz-italic.woff2") format("woff2-variations"), url("assets/fonts/fraunces-latin-opsz-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2-variations"), url("assets/fonts/inter-latin-wght-normal.woff2") format("woff2"); }
:root {
  --ink: #161513; --paper: #efe8da; --paper-2: #e8e2d4; --card: #fffcf7; --white: #fffcf7;
  --muted: #4a453d; --muted-2: #6b665c; --line: rgba(22, 21, 19, .12); --line-2: rgba(22, 21, 19, .22);
  --red: #c81e2a; --red-deep: #9a1520; --green: #2f6b3f; --green-bright: #3d8c52; --green-leaf: #4fa05f;
  --black: #1c1a17; --black-2: #221f1b;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", "IBM Plex Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(1.25rem, 4vw, 3.5rem); --max: 72rem; --nav-h: 4.5rem;
  --chip-bg: rgba(255, 252, 247, .72);
  --st-fro: #a07a4f; --st-spire: #9ccc6b; --st-vekst: #3d8c52; --st-blomst: #e9b630; --st-frukt: #d9443b; --st-host: #6b2fa0;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--ink); color: var(--white); padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 8px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -.03em; margin: 0; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--red); }
.eyebrow, .label { margin: 0 0 .8rem; font-size: 10.88px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--green); }
.lede { margin: 1rem 0 0; font-size: 17.6px; line-height: 1.5; color: var(--muted); max-width: 36rem; }
.src { margin: 1.2rem 0 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); max-width: 44rem; }
.tag { display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 1px 8px; border-radius: 999px; background: var(--paper-2); color: var(--muted); vertical-align: 1px; }

/* buttons & chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; padding: 13.6px 21.6px; border: 1px solid rgba(22,21,19,.46); background: #fffdf8; font-size: 15.2px; font-weight: 600; letter-spacing: .01em; line-height: 1.2; white-space: nowrap; text-decoration: none; transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s; }
.btn:hover { transform: translateY(-1px); border-color: var(--ink); }
.btn:active { transform: scale(.98); }
.btn--red { background: var(--red); color: #fffcf7; border-color: var(--red); }
.btn--red:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn--sm { min-height: 44px; padding: 10px 16px; font-size: 14px; }
.btn--lg { min-height: 54px; padding: 16px 28px; font-size: 16px; }
.btn--ghost { background: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--chip-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 13px; font-weight: 600; line-height: 1.2; transition: background .2s, color .2s, box-shadow .2s; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.chip .sw { width: 18px; height: 18px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(128,120,110,.5); }
.link-arrow { display: inline-flex; align-items: center; min-height: 44px; margin-top: .4rem; font-size: 14px; font-weight: 600; color: var(--green); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }

/* nav */
.nav { position: fixed; inset: 0 0 auto; height: var(--nav-h); z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0 var(--gutter); transition: background .3s, box-shadow .3s; }
.nav.is-scrolled { background: rgba(239,232,218,.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav__brand { font-family: var(--serif); font-size: 18.4px; font-weight: 500; letter-spacing: -.02em; text-decoration: none; }
.nav__links { display: none; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav__links a { font-size: 14px; font-weight: 500; letter-spacing: .01em; color: var(--muted); text-decoration: none; }
.nav__links a:hover { color: var(--ink); }
.nav__cta { min-height: 44px; padding: 8px 16px; font-size: 13.5px; }

/* hero — mobile first */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); padding-top: calc(var(--nav-h) + 8px);
  background: radial-gradient(60% 50% at 70% 40%, rgba(255,252,247,.85), transparent 70%), radial-gradient(50% 40% at 20% 90%, rgba(79,160,95,.10), transparent 70%), var(--paper); }
.hero__copy { padding: 1rem var(--gutter) 0; }
h1 { font-size: clamp(2.3rem, 9.6vw, 66.4px); line-height: .98; letter-spacing: -.04em; font-variation-settings: "opsz" 144; }
h1 em { display: block; }
.hero__stage-wrap { position: relative; height: 62svh; min-height: 400px; max-height: 640px; margin-top: .25rem; }
.hero__stage { position: absolute; inset: 0; }
.hero__stage canvas { display: block; width: 100%; height: 100%; cursor: grab; outline: none; }
.hero__stage canvas:active { cursor: grabbing; }
.loading { position: absolute; left: 50%; top: 45%; transform: translate(-50%, -50%); margin: 0; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hint { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); margin: 0; font-size: 10.88px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); pointer-events: none; }
.hero__panel { padding: .5rem var(--gutter) 0; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.stepper { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.stepper .label { width: 100%; margin: 0; }
.step { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--chip-bg); font-size: 20px; font-weight: 600; line-height: 1; transition: transform .2s var(--ease); }
.step:hover:not(:disabled) { transform: scale(1.06); }
.step:disabled { opacity: .35; cursor: default; }
.readout { margin: 0; display: flex; flex-direction: column; min-width: min(200px, calc(100% - 136px)); }
.readout strong { font-family: var(--serif); font-size: 26px; font-weight: 500; letter-spacing: -.03em; line-height: 1.2; }
.readout span { font-size: 14px; color: var(--muted); }
.hero__panel .chips { justify-content: center; }
.note { margin: 0; max-width: 24rem; font-size: 14px; line-height: 1.45; color: var(--muted); }
.hero__buy { padding: 1.4rem var(--gutter) 2.6rem; }
.price { margin: 0 0 1rem; font-family: var(--serif); font-size: 32px; font-weight: 500; letter-spacing: -.03em; line-height: 1.1; display: flex; flex-direction: column; }
.price small { font-family: var(--sans); font-size: 14px; letter-spacing: 0; color: var(--muted); margin-top: 4px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.facts { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 1.2rem; margin: 1.6rem 0 0; padding: 0; list-style: none; }
.facts li { display: flex; flex-direction: column; font-size: 12.5px; color: var(--muted); line-height: 1.3; }
.facts strong { font-family: var(--serif); font-size: 22px; font-weight: 500; color: var(--ink); letter-spacing: -.02em; }

/* sections */
.section { padding: clamp(3.5rem, 9vw, 7rem) var(--gutter); }
.section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section__head { margin-bottom: 2rem; }
.section h2 { font-size: clamp(2rem, 6.4vw, 3.4rem); line-height: 1.02; letter-spacing: -.035em; max-width: 20ch; }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--black); color: var(--white); }
.section--dark .lede, .section--dark .fine { color: #c9c3b6; }
.section--dark .eyebrow, .section--dark .label { color: #7fbf8a; }
.section--dark h2 em { color: #e45a4c; }

/* planner */
.planner { display: grid; gap: 1.5rem; }
.chips--filter { margin-bottom: 1rem; }
.crops { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.crop { display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-areas: "icon head" "icon reason" "foot foot"; column-gap: 12px; row-gap: 4px; align-items: start; padding: 14px 14px 12px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.crop.is-on { border-color: rgba(47,107,63,.55); box-shadow: inset 0 0 0 1px rgba(47,107,63,.35); }
.crop__icon { grid-area: icon; width: 40px; height: 40px; color: var(--ink); --plant-accent: var(--green-bright); }
.crop--lite_egnet { background: rgba(255,252,247,.55); }
.crop--lite_egnet .crop__icon { opacity: .6; }
.crop__head { grid-area: head; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 8px; }
.crop h3 { margin: 0; font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: 0; line-height: 1.25; }
.badge { display: inline-block; margin: 0; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge--godt_egnet { background: #dfeee0; color: #23552f; }
.badge--egnet { background: var(--paper-2); color: var(--muted); }
.badge--lite_egnet { background: #fbe3cf; color: #7a3d0c; }
.crop__reason { grid-area: reason; margin: 0; font-size: 13.5px; line-height: 1.4; color: var(--muted); }
.crop__foot { grid-area: foot; display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.crop__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 5px; min-width: 0; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--paper-2); font-size: 12px; line-height: 1.5; color: var(--muted); white-space: nowrap; }
.pill--xl { background: #e4ecf3; color: #2c4a63; }
.qty { flex: none; display: flex; align-items: center; gap: 4px; }
.qty__b { width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line-2); background: #fffdf8; font-size: 18px; font-weight: 600; line-height: 1; }
.qty__b:disabled { opacity: .3; cursor: default; }
.qty__b[data-d="1"]:not(:disabled) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.qty output { font-family: var(--serif); font-size: 19px; font-weight: 500; min-width: 2.2ch; text-align: center; font-variant-numeric: tabular-nums; }
.tmap-card { position: sticky; top: calc(var(--nav-h) + 12px); padding: 20px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 18px 40px -24px rgba(22,21,19,.25); }
.tmap-card__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .25rem 1rem; margin-bottom: 14px; }
.tmap-card h3 { font-size: 22px; }
.tmap-count { margin: 0; white-space: nowrap; font-size: 14px; color: var(--muted); }
.tmap-count strong { font-family: var(--serif); font-size: 22px; color: var(--ink); }
.tmap { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.tmap__row { display: flex; align-items: center; gap: 6px; transform: translateX(var(--tw)); }
.tmap__n { width: 18px; font-size: 11px; color: var(--muted-2); text-align: right; margin-right: 4px; font-variant-numeric: tabular-nums; }
.pot { width: 38px; height: 38px; border-radius: 50% 50% 46% 46%; border: 1.5px dashed var(--line-2); display: grid; place-items: center; background: var(--paper); transition: background .3s, border-color .3s; }
.pot img { width: 24px; height: 24px; }
.pot--blad { background: #e3f0de; border: 1.5px solid #9dc79a; --plant-accent: #3d8c52; }
.pot--urt { background: #dce9dc; border: 1.5px solid #7fae86; --plant-accent: #2f6b3f; }
.pot--frukt { background: #fbe1df; border: 1.5px solid #e59a93; --plant-accent: #c81e2a; }
.tmap__base { margin-top: 6px; width: 196px; padding: 6px 0; text-align: center; border-radius: 10px 10px 18px 18px; background: var(--paper-2); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.tmap-actions { display: flex; gap: 8px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.tmap-free { margin: 6px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.tmap-free:empty { display: none; }
.tmap-first { margin: 14px 0 0; font-size: 14.5px; line-height: 1.45; text-align: center; }

/* calendar */
.cal-card { padding: clamp(16px, 3vw, 28px); border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.cal-controls { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.field > label { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.chips--presets { margin-top: 6px; gap: 6px; }
.chip--sm { min-height: 44px; padding: 4px 11px; font-size: 12.5px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; list-style: none; margin: 16px 0 10px; padding: 0; font-size: 12.5px; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.st { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.st--fro { background: var(--st-fro); } .st--spire { background: var(--st-spire); } .st--vekst { background: var(--st-vekst); } .st--blomst { background: var(--st-blomst); } .st--frukt { background: var(--st-frukt); }
.st--host { background: var(--st-host); transform: rotate(45deg) scale(.85); }
.cal { --name: 0px; position: relative; }
.cal__empty { margin: 0 0 8px; font-size: 13.5px; color: var(--muted); }
.cal__axis { position: relative; height: 34px; margin-left: var(--name); border-bottom: 1px solid var(--line); }
.cal__ticks, .cal__weeks { position: absolute; inset: 0; }
.cal__tick { position: absolute; top: 0; font-size: 12px; font-weight: 700; padding-left: 4px; border-left: 1px solid var(--line-2); height: 34px; }
.cal__wk { position: absolute; bottom: 2px; font-size: 10.5px; color: var(--muted-2); transform: translateX(-50%); white-space: nowrap; }
.cal__wk:first-child { display: none; }
.cal__row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cal__name { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; --plant-accent: var(--green-bright); }
.cal__track { position: relative; height: 22px; background: var(--grid, none); border-radius: 6px; }
.seg { position: absolute; top: 2px; height: 18px; border: 0; padding: 0; border-radius: 5px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); transition: filter .2s, transform .2s; min-width: 9px; }
.seg:hover, .seg:focus-visible { filter: brightness(1.08); transform: scaleY(1.2); }
.seg--fro { background: var(--st-fro); } .seg--spire { background: var(--st-spire); } .seg--vekst { background: var(--st-vekst); } .seg--blomst { background: var(--st-blomst); } .seg--frukt { background: var(--st-frukt); }
.harvest { position: absolute; top: 3px; width: 16px; height: 16px; margin-left: -8px; background: var(--st-host); transform: rotate(45deg); border: 2px solid #fff; border-radius: 3px; pointer-events: none; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.cal__sum { margin: 0; font-size: 13px; color: var(--muted); }
.cal-detail { min-height: 3em; margin: 14px 0 0; font-size: 14.5px; line-height: 1.5; }
.cal-detail em { color: var(--muted); }

/* app */
.phones { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 4px 18px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: thin; }
.phone { flex: 0 0 min(68vw, 250px); margin: 0; scroll-snap-align: center; }
.phone__frame { border-radius: 30px; padding: 8px; background: var(--black); box-shadow: 0 24px 50px -24px rgba(22,21,19,.5); }
.phone__frame img { border-radius: 23px; width: 100%; height: auto; aspect-ratio: 600 / 1150; object-fit: cover; object-position: top; background: #f3efe6; }
.phone figcaption { margin-top: 12px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.phone figcaption strong { display: block; font-family: var(--serif); font-size: 19px; font-weight: 500; color: var(--ink); }
.app-points { list-style: none; padding: 0; margin: 2rem auto 0; display: grid; gap: 14px; }
.app-points li { padding: 16px 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--line); font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.app-points strong { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 2px; }

/* price */
.price-grid { display: grid; gap: 16px; }
.price-card { padding: clamp(18px, 3vw, 30px); border-radius: 24px; background: var(--black-2); border: 1px solid rgba(255,252,247,.12); }

#towers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 22px; }
#towers button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 6px; border-radius: 16px; border: 1px solid rgba(255,252,247,.2); background: transparent; color: var(--white); text-align: center; min-height: 64px; }
#towers button strong { font-family: var(--serif); font-size: 18px; font-weight: 500; }
#towers button span { font-size: 11.5px; color: #c9c3b6; }
#towers button[aria-checked="true"] { background: var(--white); color: var(--ink); border-color: var(--white); }
#towers button[aria-checked="true"] span { color: var(--muted); }
.stepper--light { justify-content: flex-start; }
.stepper--light .step { background: transparent; border-color: rgba(255,252,247,.35); color: var(--white); }
.stepper--light .readout span { color: #c9c3b6; }
.container-note { margin: 16px 0 0; font-size: 14px; color: #c9c3b6; }
.sum { margin: 0; display: grid; gap: 10px; }
.sum div { display: flex; justify-content: space-between; gap: 1rem; font-size: 15px; color: #c9c3b6; }
.sum dd { margin: 0; color: var(--white); font-variant-numeric: tabular-nums; }
.sum__total { padding-top: 12px; border-top: 1px solid rgba(255,252,247,.18); }
.sum__total dt { color: var(--white); font-weight: 600; }
.sum__total dd { font-family: var(--serif); font-size: 34px; letter-spacing: -.03em; line-height: 1; }
.sum__slots { margin: 12px 0 20px; font-size: 14px; color: #c9c3b6; }
.sum__slots strong { color: var(--white); }
.price-card--sum .btn--lg { width: 100%; }
.link-arrow--light { color: #9fd4a8; }
.fine { margin: 14px 0 0; font-size: 13px; line-height: 1.5; }

/* specs + faq */
.spec-faq { display: grid; gap: 3rem; }
.spec-faq h2 { margin-bottom: 1.4rem; }
.specs { margin: 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr); gap: 1rem; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 500; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 36px 16px 0; position: relative; font-weight: 600; font-size: 16px; line-height: 1.35; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 22px; font-weight: 400; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 18px; color: var(--muted); font-size: 15.5px; line-height: 1.55; }

.final { text-align: center; padding: clamp(4rem, 10vw, 7rem) var(--gutter); background: radial-gradient(60% 70% at 50% 100%, rgba(79,160,95,.16), transparent 70%), var(--paper); }
.final h2 { font-size: clamp(2.2rem, 7vw, 4rem); line-height: 1; }
.final p { color: var(--muted); margin: 1rem auto 1.6rem; max-width: 30rem; }
.foot { padding: 2rem var(--gutter) 3rem; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); text-align: center; }
.foot p { margin: .3rem auto; max-width: 48rem; }

@media (min-width: 640px) {
  .app-points { grid-template-columns: repeat(3, 1fr); }
  .cal { --name: 150px; }
  .cal__row { grid-template-columns: var(--name) minmax(0, 1fr); align-items: center; }
  .cal__sum { grid-column: 2; }
}
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .planner { grid-template-columns: minmax(0, 1fr) 340px; gap: 2rem; align-items: start; }
  .crops { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .phones { overflow: visible; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .phone { flex: none; }
  .price-grid { grid-template-columns: 1.2fr 1fr; align-items: stretch; }
  .spec-faq { grid-template-columns: 1fr 1.25fr; gap: 4rem; }
}
@media (min-width: 1024px) {
  .hero { min-height: 100svh; max-height: 980px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); grid-template-rows: 1fr auto auto 1fr; padding: var(--nav-h) var(--gutter) 2rem; column-gap: 2rem; }
  .hero__copy { grid-column: 1; grid-row: 2; padding: 0; align-self: end; }
  .hero__buy { grid-column: 1; grid-row: 3; padding: 1.4rem 0 0; }
  .hero__stage-wrap { grid-column: 2; grid-row: 1 / 5; height: auto; max-height: none; min-height: 0; margin: 0; }
  .hero__panel { position: absolute; right: var(--gutter); bottom: 2rem; width: 300px; padding: 0; align-items: flex-end; text-align: right; z-index: 2; }
  .hero__panel .chips, .hero__panel .stepper { justify-content: flex-end; }
  .hero__panel .readout { min-width: 0; text-align: center; }
  .note { text-align: right; }
  .hint { left: 4%; top: calc(var(--nav-h) + 1rem); bottom: auto; transform: none; }
  .lede { font-size: 18px; }
}
@media (max-width: 380px) {
  .facts { grid-template-columns: repeat(2, auto); }
  .crop { grid-template-columns: 32px minmax(0, 1fr); padding: 12px; column-gap: 10px; }
  .qty__b { width: 38px; height: 38px; }
  .crop__icon { width: 32px; height: 32px; }
  .nav__cta { padding: 8px 12px; font-size: 12.5px; }
  .nav__brand { font-size: 16px; }
  .nav { gap: .5rem; }
  #towers button span { font-size: 10.5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.specs dd, .faq p, .note { overflow-wrap: anywhere; }

.crops-more { margin: 14px 0 0; width: 100%; }
@media (max-width: 899px) { .crops.is-collapsed > li:nth-child(n+7) { display: none; } }
@media (min-width: 900px) { .crops-more { display: none; } }

.cal__tick--start { border-left: 0; padding-left: 0; }
@media (max-width: 639px) {
  .cal__axis { height: 22px; }
  .cal__tick { height: 22px; font-size: 11.5px; }
  .cal__weeks { display: none; }
}
@media (min-width: 900px) {
  .crops { gap: 12px; }
  .crop { padding: 16px 16px 12px; }
}
.hero__panel .stepper { flex-wrap: nowrap; }
.hero__panel .stepper .label { display: none; }
.hero__panel .readout { flex: 1 1 auto; min-width: 0; }
.readout span { white-space: nowrap; }
@media (min-width: 1024px) { .hero__panel { width: 330px; } }
[hidden] { display: none !important; }

/* v3: stabile kontroller, trykkflater, kalendervarsel */
.seg::before { content: ""; position: absolute; inset: -13px 0; }
.hero__panel .readout { flex: 0 0 13.5rem; width: 13.5rem; height: 3.4rem; justify-content: center; }
.hero__panel .readout strong { white-space: nowrap; }
.hero__panel .note { min-height: calc(3 * 1.45em); }
.hero__link { margin-top: 0; font-size: 13.5px; white-space: nowrap; }
.tag--dark { background: rgba(255,255,255,.14); color: inherit; }
.sum__extra { display: flex; justify-content: space-between; gap: 1rem; font-size: 14px; }
.sum__extra dt, .sum__extra dd { margin: 0; }
@media (max-width: 360px) { .hero__panel .readout { flex-basis: 11.5rem; width: 11.5rem; } .hero__link { white-space: normal; text-align: center; } }
.chips--light { gap: 8px; margin-bottom: .4rem; }
.chips--light .chip { background: transparent; color: var(--white); border-color: rgba(255,252,247,.32); backdrop-filter: none; }
.chips--light .chip[aria-checked="true"] { background: var(--white); color: var(--ink); border-color: var(--white); }
.qty__b { position: relative; }
.qty__b::before { content: ""; position: absolute; inset: -3px; border-radius: 999px; }
.skip, .nav__brand, .nav__links a { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 640px) { .cal__axis { margin-left: calc(var(--name) + 4px); } }
.chip { white-space: nowrap; }
@media (min-width: 1024px) {
  .hero__panel { width: 330px; }
  .hero__panel .chips { gap: 6px; }
  .hero__panel .chip { padding: 6px 11px; font-size: 13.5px; }
}
@media (min-width: 1240px) { .hero__panel { width: 384px; } .hero__panel .chips { flex-wrap: nowrap; } .hero__panel .note { min-height: calc(2 * 1.45em); } }
@media (min-width: 1024px) { .hero__panel .readout { border-radius: 16px; background: rgba(239,232,218,.82); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); } .hero__panel .note, .hero__link { background: rgba(239,232,218,.7); border-radius: 10px; } }
#nut-lbl { margin-top: 1.1rem; }

/* v4: datofelt (synlig tekstfelt + kalenderknapp), kalendervarsel, fokus på mørk bunn, scroll */
html { overflow-anchor: none; } /* samme oppførsel som Safari; prisstepperen kompenserer selv i setN() */
.datefield { position: relative; display: flex; align-items: center; width: 12.5rem; max-width: 100%; }
.datefield__input { flex: 1 1 auto; min-width: 0; min-height: 44px; padding: 8px 48px 8px 14px; border-radius: 12px; border: 1px solid var(--line-2); background: #fffdf8; font: inherit; font-size: 16px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.datefield__input::placeholder { color: var(--muted); font-weight: 500; }
.datefield__input[aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.datefield__btn { position: absolute; right: 0; top: 0; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 0 12px 12px 0; background: transparent; color: var(--ink); cursor: pointer; }
.datefield__btn:hover { background: rgba(22,21,19,.05); }
.datefield__native { position: absolute; right: 0; bottom: 0; width: 44px; height: 1px; opacity: 0; pointer-events: none; border: 0; padding: 0; }
.field__hint { margin: 2px 0 0; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.field__err { margin: 2px 0 0; font-size: 13px; font-weight: 600; color: #a3151f; }
.cal-warn { margin: 0 0 .6rem; padding: 8px 12px; border-radius: 12px; background: #f6e7c8; color: #5b3e0d; font-size: 14px; line-height: 1.45; }
.cal-help { margin: 0 0 .4rem; font-size: 12.5px; color: var(--muted); }
@media (hover: none) { .cal-help { display: none; } }
.seg:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; transform: scaleY(1.2); }
.section--dark :focus-visible { outline-color: var(--white); }
/* v4: mellom 1024 og 1239 px er det ikke plass til panelet ved siden av tanken; legg det under scenen i stedet for over den. */
@media (min-width: 1024px) and (max-width: 1239.98px) {
  .hero__stage-wrap { grid-row: 1 / 4; min-height: 360px; }
  .hero__panel { position: static; grid-column: 2; grid-row: 4; align-self: start; justify-self: center; align-items: center; text-align: center; width: 100%; max-width: 440px; padding-top: .5rem; }
  .hero__panel .chips, .hero__panel .stepper { justify-content: center; }
  .hero__panel .note { text-align: center; min-height: 0; }
}
@media (min-width: 1240px) { .hint { left: auto; right: 4%; } } /* v4: tårnet står til venstre for panelet her, så hintet flyttes til høyre */

/* v5: prisstepperen må ikke bryte linja ved «10 moduler» på 320 – da flyttet «+» seg ned under «−». */
.stepper--light { flex-wrap: nowrap; justify-content: flex-start; }
.stepper--light .readout { flex: 1 1 0; max-width: 11.5rem; min-width: 0; }
.stepper--light .readout strong { white-space: nowrap; }

/* v6: fakta ligger etter panelet i DOM-en (lesefølge = visuell følge på mobil), og på desktop plasseres de med grid. */
.fine--short { display: none; }
.facts { padding: 0 var(--gutter) 2.4rem; }
@media (min-width: 1024px) {
  .facts { grid-column: 1; grid-row: 4; align-self: start; padding: 0; margin-top: 1.6rem; }
}
/* v6: mobil under 720 px – lavt 3D-lerret rett under overskriften, så pris + ett «Bygg ditt tårn» (synlig på 320×568).
   DOM: copy → buy → stage → panel → facts. Visuelt: copy → stage → buy → panel → facts. Lerretet er ikke fokuserbart,
   så tab-rekkefølgen (copy → kjøp → kontroller) er den samme som den visuelle. Ingen display: contents. */
@media (max-width: 719.98px) {
  .hero { padding-top: calc(var(--nav-h) + 2px); }
  .hero__copy { order: 1; padding-top: .25rem; }
  .hero__copy .eyebrow { margin-bottom: .5rem; }
  .hero__copy .lede { margin-top: .5rem; font-size: 15.5px; line-height: 1.4; }
  .lede__more { display: none; }
  .hero__stage-wrap { order: 2; height: clamp(200px, 30svh, 280px); min-height: 200px; max-height: 280px; margin-top: 0; }
  .hero__stage-wrap .hint { left: auto; right: var(--gutter); top: auto; bottom: 2px; transform: none; }
  .hero__buy { order: 3; padding: .15rem var(--gutter) 0; }
  .hero__buy .price { margin: 0 0 .4rem; font-size: 28px; }
  .hero__buy .price small { margin-top: 2px; font-size: 13.5px; white-space: nowrap; }
  .fine--long { display: none; }
  .fine--short { display: inline; }
  .hero__second { display: none; }
  .hero__panel { order: 4; padding-top: 1.2rem; }
  .facts { order: 5; margin-top: 1.6rem; }
}
