/* site/assets/site.css — PitchShed. Ét stylesheet til hele sitet; ingen webfont, intet CDN.
   Paletten er produktets egen (ikonet og butiksbillederne): mørk teal og ravgul.
   Klassenavnene .ce-* og .site-* er skabelon/koeb/'s (success.html og recover.html bruger dem);
   .ext-card er fabrikkens fælles navn for udvidelses-kortet. */

:root {
  --bund: #0A3A37;
  --bund-2: #0F5F5A;
  --accent: #F4B942;
  --accent-ink: #0A3A37;
  --ink: #14231F;
  --ink-2: #566A64;
  --line: #D6E0DC;
  --mist: #BFD8D4;
  --paper: #F3F8F6;
  --warm: #B45309;
  --err: #9F1239;
  --maxw: 1120px;
  --narrow: 760px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font: 17px/1.6 var(--font); color: var(--ink); background: #fff;
  -webkit-font-smoothing: antialiased; overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; }
a { color: var(--bund-2); }

/* ★ En klasse, der saetter `display`, goer `hidden` virkningsloes (memory/vera.md). Alle .ce-*-
   knapper og -bokse bruger hidden; denne ene regel daekker dem alle. */
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid #1B7F78; outline-offset: 2px; }
.hero :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible { outline-color: var(--accent); }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 20; background: #fff; color: var(--bund); padding: 10px 14px; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------------- sidehoved og sidefod */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header-inner { max-width: var(--maxw); margin: 0 auto; padding: 10px 20px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.site-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 750; font-size: 20px; letter-spacing: -.01em; color: var(--bund); text-decoration: none; }
.site-logo img { border-radius: 6px; }
.site-nav { display: flex; gap: 20px; margin-left: auto; font-size: 15.5px; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 8px 2px; }
.site-nav a:hover { color: var(--bund-2); text-decoration: underline; text-underline-offset: 4px; }
.site-header-cta { padding: 8px 16px; min-height: 40px; font-size: 15px; }

.site-footer { background: #082E2C; color: var(--mist); padding: 38px 0 42px; font-size: 15px; }
.site-footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 16px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer-note { margin: 0; max-width: 62em; color: #8FB3AE; }

/* ---------------------------------------------------------------- knapper */
.ce-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px;
  padding: 11px 22px; border: 2px solid transparent; border-radius: 10px; font: inherit; font-weight: 650; line-height: 1.2;
  text-align: center; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.ce-btn--accent { background: var(--bund-2); color: #fff; }
.ce-btn--accent:hover { background: var(--bund); }
.ce-btn--ghost { background: transparent; color: var(--bund-2); border-color: var(--bund-2); }
.ce-btn--ghost:hover { background: #E4F1EE; }
/* Venteliste-tilstanden (butikslistingen findes ikke endnu): skal LAESES, og maa ikke ligne en knap, der virker. */
.ce-btn[aria-disabled="true"] { background: #fff; color: var(--ink-2); border: 2px dashed #9DB3AD; cursor: not-allowed; pointer-events: none; }
.ce-btn:disabled { opacity: .6; cursor: not-allowed; }

.hero .ce-btn--accent, .cta-band .ce-btn--accent { background: var(--accent); color: var(--accent-ink); }
.hero .ce-btn--accent:hover, .cta-band .ce-btn--accent:hover { background: #FFCB66; }
.hero .ce-btn--ghost, .cta-band .ce-btn--ghost { color: #fff; border-color: rgba(255, 255, 255, .55); }
.hero .ce-btn--ghost:hover, .cta-band .ce-btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.hero .ce-btn[aria-disabled="true"], .cta-band .ce-btn[aria-disabled="true"] { background: transparent; color: var(--mist); border: 2px dashed rgba(255, 255, 255, .42); }

/* ---------------------------------------------------------------- tekst og sider */
.site-main { min-height: 50vh; }
.site-container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.site-container--narrow, .site-container--how { max-width: var(--narrow); }

.page-head { background: var(--paper); border-bottom: 1px solid var(--line); padding: 40px 0 34px; }
.page-head-inner { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.page-head--narrow .page-head-inner { max-width: var(--narrow); }
.page-head h1 { margin: 0 0 12px; font-size: clamp(28px, 4vw, 40px); line-height: 1.14; letter-spacing: -.015em; color: var(--bund); }
.dek { margin: 0; max-width: 44em; font-size: 19px; line-height: 1.5; color: var(--ink-2); }

.section { padding: 64px 0; }
.section--paper { background: var(--paper); }
.section h2 { margin: 0 0 14px; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.16; letter-spacing: -.012em; color: var(--bund); }
.lede { margin: 0 0 8px; max-width: 42em; font-size: 19px; color: var(--ink-2); }

.article-body { font-size: 17.5px; line-height: 1.7; }
.article-body h2 { margin: 34px 0 8px; font-size: 23px; line-height: 1.25; color: var(--bund); }
.article-body p { margin: 0 0 14px; }
.article-body ul, .article-body ol { margin: 0 0 16px; padding-left: 24px; }
.article-body li { margin: 6px 0; }
.article-body a { text-underline-offset: 3px; }
.article-body code { background: #EEF4F2; padding: 1px 6px; border-radius: 5px; font-size: .92em; }
.site-container--narrow > .article-body { padding: 28px 0 40px; }
.site-container--how > .article-body { padding: 0 0 8px; }

.shot { margin: 22px 0; }
.shot img { display: block; width: min(100%, 520px); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 26px rgba(10, 58, 55, .1); background: #fff; }
.shot figcaption { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }

.table-wrap { overflow-x: auto; margin: 16px 0 18px; }
.table { border-collapse: collapse; min-width: 100%; font-size: 16px; }
.table th, .table td { border: 1px solid var(--line); padding: 9px 14px; text-align: left; }
.table th { background: var(--paper); color: var(--bund); }

.related { margin: 34px 0 40px; padding-top: 20px; border-top: 1px solid var(--line); }
.related h2 { margin: 0 0 8px; font-size: 19px; color: var(--bund); }
.related ul { margin: 0 0 10px; padding-left: 20px; }
.related li { margin: 5px 0; }
.related-home { margin: 0; font-size: 15px; color: var(--ink-2); }

/* ---------------------------------------------------------------- udvidelses-kortet (.ext-card) */
.ext-card {
  margin: 28px 0 26px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--accent);
  border-radius: 14px; box-shadow: 0 8px 24px rgba(10, 58, 55, .08);
}
.ext-card-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.ext-card-head img { flex: none; border-radius: 10px; }
.ext-card-title { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--bund); }
.ext-card-sub { margin: 3px 0 0; font-size: 14.5px; color: var(--ink-2); }
.ext-steps { list-style: none; counter-reset: es; margin: 0 0 16px; padding: 0; display: grid; gap: 9px; }
.ext-steps li { counter-increment: es; position: relative; min-height: 26px; padding-left: 38px; }
.ext-steps li::before {
  content: counter(es); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center; background: var(--bund-2); color: #fff; font-size: 14px; font-weight: 700;
}
.ext-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------------------------------------------------------------- forsiden */
.hero {
  padding: 64px 0 56px; color: #fff;
  background: radial-gradient(900px 600px at 100% 100%, rgba(40, 140, 130, .40), transparent 70%), radial-gradient(700px 500px at 0% 0%, var(--bund-2), transparent 70%), var(--bund);
}
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; }
.eyebrow { margin: 0 0 12px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.hero h1 { margin: 0 0 18px; font-size: clamp(34px, 5vw, 56px); line-height: 1.06; letter-spacing: -.022em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-lede { margin: 0; max-width: 34em; font-size: 19px; line-height: 1.55; color: var(--mist); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 14px; }
.hero-fine { margin: 0 0 8px; font-size: 15px; color: var(--mist); }
.hero-fine a { color: #fff; }
.hero .ce-note { color: var(--mist); margin: 0; }
.hero-shot { margin: 0; }
.hero-shot img { display: block; width: 100%; border-radius: 18px; background: #fff; box-shadow: 0 30px 70px rgba(5, 12, 30, .45), 0 0 0 1px rgba(255, 255, 255, .14); }
.hero-shot figcaption { margin-top: 14px; font-size: 15px; color: var(--mist); }

.steps3 { list-style: none; counter-reset: s; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps3 li { counter-increment: s; padding: 22px 22px 20px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.steps3 li::before {
  content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 10px; border-radius: 50%;
  background: var(--bund-2); color: #fff; font-weight: 700;
}
.steps3 h3 { margin: 0 0 6px; font-size: 19px; color: var(--bund); }
.steps3 p { margin: 0; }

.cards4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 26px; }
.card { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.card h3 { margin: 0 0 8px; font-size: 20px; color: var(--bund); }
.card p { margin: 0; }
.badge { display: inline-block; margin: 0 0 10px !important; padding: 2px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; }
.badge--pro { background: #FFF1CC; color: #6B4200; }
.badge--free { background: #E4F1EE; color: var(--bund-2); }

.price-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px; align-items: start; margin-top: 26px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.plan { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.plan--pro { border: 2px solid var(--bund-2); box-shadow: 0 12px 30px rgba(15, 95, 90, .12); }
.plan h3 { margin: 0 0 6px; font-size: 20px; color: var(--bund); }
.plan-price { margin: 0 0 4px; font-size: 26px; font-weight: 750; color: var(--bund); }
.plan-alt { margin: 0 0 14px; color: var(--ink-2); }
.ticks { list-style: none; margin: 0 0 18px; padding: 0; }
.ticks li { position: relative; margin: 8px 0; padding-left: 26px; }
.ticks li::before { content: "\2713"; position: absolute; left: 0; font-weight: 700; color: var(--bund-2); }
.plan-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.price-shot { margin: 0; }
.price-shot img { display: block; width: 100%; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 26px rgba(10, 58, 55, .1); background: #fff; }
.price-shot figcaption { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }
.price-start { margin: 30px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

.limits { list-style: none; margin: 18px 0 0; padding: 0; }
.limits li { margin: 10px 0; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--warm); border-radius: 10px; }

.faq { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 15px 34px 15px 0; font-weight: 650; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 11px; font-size: 24px; line-height: 1; color: var(--bund-2); }
.faq[open] summary::after { content: "\2212"; }
.faq p { margin: 0 0 16px; }

.hub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 24px; }
.hub-group h3 { margin: 0 0 8px; font-size: 17px; color: var(--bund); }
.hub-group ul { list-style: none; margin: 0; padding: 0; }
.hub-group li { margin: 7px 0; line-height: 1.4; }
.hub-group a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.hub-group a:hover { color: var(--bund-2); border-bottom-color: var(--bund-2); }

.cta-band { padding: 58px 0; text-align: center; color: #fff; background: var(--bund); }
.cta-band h2 { margin: 0 0 8px; font-size: clamp(26px, 3.4vw, 34px); color: #fff; }
.cta-band p { margin: 0; color: var(--mist); }
.cta-band .hero-actions { justify-content: center; }

/* ---------------------------------------------------------------- /extension og systemsiderne */
.store-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 30px 0 10px; }
.store-card { display: flex; flex-direction: column; align-items: center; padding: 22px; text-align: center; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.store-card .ce-btn { margin-top: auto; }
.store-card h2 { margin: 0 0 4px; font-size: 21px; color: var(--bund); }
.store-card p { margin: 0 0 16px; color: var(--ink-2); }

.ce-panel { margin: 28px 0 24px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.ce-field { margin: 0 0 14px; }
.ce-field label, .ce-field-label { display: block; margin: 0 0 6px; font-weight: 650; }
.ce-field input[type="email"], .ce-field input[type="text"] { width: 100%; padding: 11px 12px; font: inherit; border: 1.5px solid #9DB3AD; border-radius: 9px; }
.ce-status { margin: 0 0 16px; padding: 12px 14px; background: #E9F4F1; border-left: 5px solid var(--bund-2); border-radius: 8px; }
.ce-note { font-size: 15px; color: var(--ink-2); }
.ce-error { margin: 0 0 12px; padding: 10px 12px; background: #FDECEF; border-left: 5px solid var(--err); border-radius: 8px; color: #6B0F26; }
.tool-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------------------------------------------------------------- smaa skaerme */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-shot { max-width: 520px; }
  .price-layout { grid-template-columns: 1fr; }
  .price-shot { max-width: 520px; }
  .hub { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .section { padding: 44px 0; }
  .hero { padding: 44px 0 40px; }
  .steps3, .cards4, .store-cards { grid-template-columns: 1fr; }
  .page-head { padding: 30px 0 26px; }
}
@media (max-width: 640px) {
  .plans { grid-template-columns: 1fr; }
  .hub { grid-template-columns: 1fr; }
  .site-header-inner { gap: 12px; }
  .site-nav { gap: 14px; }
  .site-nav a:not([href="/pricing"]) { display: none; }
  .ext-card { padding: 16px 16px 18px; }
  .ext-actions .ce-btn { flex: 1 1 100%; }
  .hero-actions .ce-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
