/* ============================================================
   Kursverkstedet — offer design system
   Used by: masterclass/index.html + all legal/contact pages
   ============================================================ */

:root {
  --brand: #16a34a;
  --brand-dark: #0d6b34;
  --deep: #0b3323;
  --mint: #eafbf2;
  --mint-2: #dcf3e6;
  --ink: #0e2119;
  --ink-soft: #3d5749;
  --hairline: #d3e9dc;
  --card: #ffffff;
  --warn: #b45309;
  --amber: #f59e0b;
  --max-w: 1180px;
  --radius: 16px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid #1d4ed8;
  outline-offset: 2px;
}
.wrap { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 16px; }
section { padding: 46px 0; }
@media (min-width: 768px) { section { padding: 68px 0; } }

/* ---- header / nav ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--hairline);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}
.site-header__logo {
  font-weight: 800;
  font-size: 20px;
  color: var(--deep);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.site-header__logo span { color: var(--brand); }
.site-header__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid var(--hairline);
  background: #fff;
  font-size: 20px;
  cursor: pointer;
}
.site-header__nav {
  display: none;
  width: 100%;
}
.site-header__nav.is-open { display: block; }
.site-header__nav ul {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.site-header__nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 4px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
}
.site-header__nav a:hover, .site-header__nav a:focus-visible { color: var(--brand-dark); }
.site-header__cta { display: none; }

@media (min-width: 768px) {
  .site-header__toggle { display: none; }
  .site-header__nav { display: block; width: auto; }
  .site-header__nav ul { flex-direction: row; gap: 22px; margin: 0; }
  .site-header__cta { display: inline-flex; }
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  line-height: 1.2;
}
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover, .btn--primary:focus-visible { background: var(--brand-dark); transform: translateY(-1px); }
.btn--outline { background: #fff; border-color: var(--deep); color: var(--deep); }
.btn--outline:hover, .btn--outline:focus-visible { background: var(--deep); color: #fff; }
.btn--block { width: 100%; }

/* ---- hero ---- */
.hero {
  background: linear-gradient(180deg, var(--mint) 0%, #fff 100%);
  padding: 32px 0 40px;
}
.hero__grid {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media (min-width: 1024px) {
  .hero__grid { flex-direction: row; align-items: center; gap: 48px; }
  .hero__copy { flex: 1 1 0; }
  .hero__media { flex: 1 1 0; }
}
.hero__kicker {
  display: inline-block;
  background: var(--mint-2);
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero__title {
  font-size: clamp(28px, 6.4vw, 46px);
  line-height: 1.1;
  margin: 0 0 16px;
  font-weight: 800;
  color: var(--deep);
  letter-spacing: -0.01em;
}
.hero__sub {
  font-size: clamp(16px, 2.6vw, 19px);
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 0 24px;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero__note { font-size: 13px; color: var(--ink-soft); }

.hero__media-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--mint-2);
}
.hero__media-frame video { width: 100%; height: 100%; object-fit: cover; }
.hero__chip {
  position: absolute;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(11,51,35,0.16);
  padding: 8px 14px 8px 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  max-width: 88%;
}
.hero__chip i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 13px;
  flex: 0 0 auto;
}
.hero__chip--1 { top: 10%; left: 6%; }
.hero__chip--2 { top: 45%; right: 4%; }
.hero__chip--3 { bottom: 8%; left: 10%; }

/* ---- keyword pill strip ---- */
.pill-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--hairline);
}
.pill-strip .pill {
  background: var(--mint);
  color: var(--deep);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13.5px;
  font-weight: 600;
}

/* ---- section heads ---- */
.section-head { text-align: center; max-width: 68ch; margin: 0 auto 36px; }
.section-head__kicker {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand-dark);
  margin: 0 0 10px;
}
.section-head h2 {
  font-size: clamp(24px, 4.6vw, 34px);
  margin: 0 0 12px;
  color: var(--deep);
  font-weight: 800;
}
.section-head p { color: var(--ink-soft); margin: 0; }
.section--tint { background: var(--mint); }

/* ---- step cards ---- */
.step-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) { .step-grid { grid-template-columns: repeat(3, 1fr); } }
.step-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.step-card__num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--deep);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 14px;
}
.step-card h3 { margin: 0 0 8px; font-size: 18px; color: var(--deep); }
.step-card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

/* ---- feature / deliverables grid ---- */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 480px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } }
.feature-card {
  background: var(--mint);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.feature-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 14px;
}
.feature-card h3 { margin: 0 0 8px; font-size: 16.5px; color: var(--deep); }
.feature-card p { margin: 0; font-size: 14px; color: var(--ink-soft); }

/* ---- AI leverage panel ---- */
.leverage-panel {
  background: var(--deep);
  border-radius: 24px;
  padding: 34px 24px;
  color: #eaf6ee;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
@media (min-width: 900px) {
  .leverage-panel { flex-direction: row; align-items: center; padding: 40px; gap: 40px; }
  .leverage-panel__media { flex: 0 0 42%; }
  .leverage-panel__copy { flex: 1 1 0; }
}
.leverage-panel__media {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.leverage-panel__media img { width: 100%; height: 100%; object-fit: cover; }
.leverage-panel h2 { color: #fff; font-size: clamp(22px,4.4vw,30px); margin: 0 0 14px; font-weight: 800; }
.leverage-panel p { color: #cfe9d9; margin: 0 0 14px; max-width: 56ch; }
.leverage-panel ul { margin: 0; padding-left: 20px; color: #cfe9d9; }
.leverage-panel li { margin-bottom: 8px; }

/* ---- pull quote ---- */
.pull-quote {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  padding: 8px 0;
}
.pull-quote p {
  font-size: clamp(21px, 4vw, 28px);
  line-height: 1.4;
  color: var(--deep);
  font-weight: 700;
  margin: 0 0 14px;
}
.pull-quote span { display: block; font-size: 14px; font-weight: 400; color: var(--ink-soft); }

/* ---- deliverables fee checklist ---- */
.fee-list { list-style: none; margin: 0; padding: 0; max-width: 760px; margin-inline: auto; }
.fee-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: baseline;
  padding: 16px 4px;
  border-bottom: 1px solid var(--hairline);
  font-size: 15.5px;
}
.fee-list li:first-child { border-top: 1px solid var(--hairline); }
.fee-list b { color: var(--brand-dark); white-space: nowrap; font-variant-numeric: tabular-nums; }

.arith-box {
  max-width: 760px;
  margin: 28px auto 0;
  background: var(--mint);
  border-radius: var(--radius);
  padding: 22px 24px;
  font-size: 15px;
  color: var(--ink-soft);
}
.arith-box strong { color: var(--deep); }

/* ---- pricing ---- */
.pricing-grid {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: stretch;
}
@media (min-width: 900px) {
  .pricing-grid { flex-direction: row; align-items: flex-start; }
  .pricing-grid__spotlight { flex: 1.2 1 0; }
  .pricing-grid__aside { flex: 1 1 0; display: flex; flex-direction: column; gap: 20px; }
}
.price-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 28px 24px;
}
.price-card--spotlight {
  background: var(--deep);
  color: #fff;
  border: none;
  position: relative;
  box-shadow: 0 18px 40px rgba(11,51,35,0.22);
}
.price-card--spotlight .price-card__badge {
  position: absolute;
  top: -14px;
  left: 24px;
  background: var(--amber);
  color: #241800;
  font-size: 12.5px;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.price-card__name { font-size: 22px; font-weight: 800; margin: 8px 0 4px; }
.price-card--spotlight .price-card__name { color: #fff; }
.price-card__hours { font-size: 14px; color: var(--ink-soft); margin: 0 0 14px; }
.price-card--spotlight .price-card__hours { color: #cfe9d9; }
.price-card__price { font-size: clamp(28px, 5vw, 36px); font-weight: 800; margin: 0 0 16px; }
.price-card ul { list-style: none; margin: 0 0 20px; padding: 0; }
.price-card li {
  padding: 8px 0 8px 24px;
  position: relative;
  font-size: 14.5px;
  border-top: 1px solid var(--hairline);
}
.price-card--spotlight li { border-top: 1px solid rgba(255,255,255,0.16); }
.price-card li:first-child { border-top: none; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.price-card--spotlight li::before { color: #7be3a8; }

.price-card--compact {
  padding: 22px 20px;
}
.price-card--compact .price-card__name { font-size: 18px; }
.price-card--compact .price-card__price { font-size: 24px; margin-bottom: 10px; }

.addon-list { list-style: none; margin: 0; padding: 0; }
.addon-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--hairline);
  font-size: 14.5px;
  align-items: baseline;
}
.addon-list li:first-child { border-top: none; }
.addon-list b { color: var(--brand-dark); white-space: nowrap; }
.addon-list p { margin: 4px 0 0; color: var(--ink-soft); font-size: 13px; flex-basis: 100%; }
.addon-card { background: var(--mint); border-radius: var(--radius); padding: 22px 20px; }
.addon-card h3 { margin: 0 0 10px; font-size: 17px; color: var(--deep); }

/* ---- perks stack ---- */
.perk-stack { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 768px) { .perk-stack { grid-template-columns: 1fr 1fr; } }
.perk-stack li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 14.5px;
}
.perk-stack li::before { content: "★"; color: var(--amber); flex: 0 0 auto; }

/* ---- limits block ---- */
.limits-box {
  background: #fff7ed;
  border: 1px solid #fbd9a5;
  border-radius: var(--radius);
  padding: 24px 22px;
  max-width: 800px;
  margin: 0 auto;
}
.limits-box h2 { margin-top: 0; color: var(--warn); font-size: 20px; }
.limits-box ul { margin: 0; padding-left: 20px; color: var(--ink-soft); }
.limits-box li { margin-bottom: 8px; }

/* ---- FAQ (accent borrow) ---- */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--hairline); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 4px;
  font-weight: 700;
  color: var(--deep);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 22px;
  color: var(--brand-dark);
  flex: 0 0 auto;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 18px; color: var(--ink-soft); }

/* ---- lead form ---- */
.lead-form {
  background: var(--mint);
  border-radius: 24px;
  padding: 30px 22px;
  max-width: 640px;
  margin: 0 auto;
}
.lead-form__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 560px) { .lead-form__grid { grid-template-columns: 1fr 1fr; } }
.lead-form__grid .field--full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--deep); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 16px;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
}
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid #1d4ed8; outline-offset: 1px; }
.consent-row { display: flex; gap: 10px; align-items: flex-start; margin: 6px 0 18px; }
.consent-row input { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 2px; }
.consent-row label { font-size: 13.5px; color: var(--ink-soft); }
.consent-row.has-error label { color: #b91c1c; }
.consent-row.has-error input { outline: 2px solid #b91c1c; }
.form-error {
  font-size: 13px;
  color: #b91c1c;
  margin-top: 6px;
  display: none;
}
.field.has-error input, .field.has-error textarea { border-color: #b91c1c; }
.field.has-error .form-error { display: block; }
.form-success {
  display: none;
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #14532d;
  padding: 16px 18px;
  border-radius: 10px;
  margin-top: 18px;
  font-weight: 600;
}
.form-success.is-visible { display: block; }
.lead-form.is-submitted form { display: none; }

/* ---- hero-style mini form card (used inside hero) ---- */
.quick-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(11,51,35,0.12);
  padding: 22px;
  margin-top: 10px;
}
.quick-card p { margin: 0 0 4px; font-size: 13.5px; color: var(--ink-soft); }

/* ---- disclaimer & footer ---- */
.site-disclaimer {
  display: block;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 16px 8px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.site-disclaimer a { color: var(--brand-dark); font-weight: 600; }

.site-footer {
  background: var(--deep);
  color: #cfe9d9;
  padding: 28px 0 100px;
  margin-top: 8px;
  font-size: 14px;
}
.site-footer__company { white-space: pre-line; line-height: 1.7; margin-bottom: 18px; }
.site-footer__company a { color: #eaf6ee; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.site-footer__links a {
  color: #eaf6ee;
  text-decoration: none;
  font-size: 14px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.site-footer__links a:hover, .site-footer__links a:focus-visible { text-decoration: underline; }
@media (min-width: 768px) { .site-footer { padding-bottom: 40px; } }

/* ---- legal / contact simple pages ---- */
.legal-page { padding: 40px 0 56px; max-width: 78ch; margin: 0 auto; }
.legal-page h1 { font-size: clamp(28px, 6vw, 38px); color: var(--deep); margin: 0 0 20px; }
.legal-page h2 { font-size: clamp(19px, 3.6vw, 22px); color: var(--deep); margin: 30px 0 10px; }
.legal-page p { margin: 0 0 16px; color: var(--ink-soft); }
.legal-page ul { padding-left: 22px; color: var(--ink-soft); }
.legal-page li { margin-bottom: 8px; }
.legal-page a { color: var(--brand-dark); }
.contact-card {
  background: var(--mint);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin: 24px 0;
}
.contact-card p { margin: 0 0 8px; color: var(--ink); }
.contact-card a { font-weight: 600; }
