/* SolarIQ marketing site — public, no-auth.
   Tokens lifted from the design system (mirrors dashboard/style.css's
   :root block) so this file is self-contained and never depends on the
   platform CSS shipping first. */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary:        #f54e00;
  --primary-active: #d04200;
  --on-primary:     #ffffff;

  --canvas:        #f7f7f4;
  --canvas-soft:   #fafaf7;
  --surface-card:  #ffffff;
  --surface-strong:#e6e5e0;

  --hairline:        #e6e5e0;
  --hairline-soft:   #efeee8;
  --hairline-strong: #cfcdc4;

  --ink:         #26251e;
  --body:        #5a5852;
  --muted:       #807d72;
  --muted-soft:  #a09c92;

  --action-charge:       #dfa88f;
  --action-solar-charge: #9fc9a2;
  --action-discharge:    #c0a8dd;
  --action-solar-sell:   #e9c668;
  --action-reduce-power: #9fbbe0;

  --semantic-success: #1f8a65;

  --rounded-xs:   4px;
  --rounded-sm:   6px;
  --rounded-md:   8px;
  --rounded-lg:   12px;
  --rounded-pill: 9999px;

  --t-fast: 0.15s;

  --font-sans: 'Inter', system-ui, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --ls-display-mega:  -2.16px;
  --ls-display-lg:    -0.72px;
  --ls-display-md:    -0.325px;
  --ls-display-sm:    -0.11px;
  --ls-caption-upper:  0.88px;

  /* Marketing-specific layout */
  --mk-shell-max: 1120px;
}

html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--font-sans);
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

/* ── Top nav ─────────────────────────────────────────────────── */
.mk-nav {
  max-width: var(--mk-shell-max);
  margin: 0 auto;
  padding: 22px max(32px, env(safe-area-inset-right))
           22px max(32px, env(safe-area-inset-left));
  display: flex;
  align-items: center;
  gap: 18px;
}
.mk-nav .mk-brand { margin-right: auto; }
.mk-brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink);
  transition: color var(--t-fast);
}
.mk-brand:hover { color: var(--ink); }
.mk-brand-word {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: var(--ls-display-sm);
  color: var(--ink);
  line-height: 1;
}
.mk-brand-iq { color: var(--primary); }

.mk-nav-links {
  display: flex; align-items: center; gap: 10px;
}
.mk-nav-util {
  display: flex; align-items: center; gap: 10px;
}
.mk-nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  padding: 8px 12px;
  border-radius: var(--rounded-md);
  transition: color var(--t-fast), background var(--t-fast);
}
.mk-nav-link:hover { color: var(--ink); background: var(--canvas-soft); }

/* ── Buttons ─────────────────────────────────────────────────── */
.mk-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 18px;
  border-radius: var(--rounded-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: filter var(--t-fast), border-color var(--t-fast),
              background var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}
.mk-btn-primary,
.mk-cta-primary {
  background: var(--primary);
  color: var(--on-primary);
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: var(--rounded-md);
  border: 1px solid transparent;
  transition: filter var(--t-fast), background var(--t-fast);
}
.mk-btn-primary:hover,
.mk-cta-primary:hover { filter: brightness(0.97); }
.mk-btn-primary:active,
.mk-cta-primary:active { background: var(--primary-active); }
.mk-btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--hairline-strong);
}
.mk-btn-ghost:hover { border-color: var(--ink); }

/* ── Hero ────────────────────────────────────────────────────── */
.mk-hero {
  max-width: var(--mk-shell-max);
  margin: 0 auto;
  padding: 56px 32px 56px;
  text-align: left;
}
.mk-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--ls-caption-upper);
  color: var(--muted);
  display: inline-block;
  margin-bottom: 18px;
}
.mk-hero-title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -1.12px;
  color: var(--ink);
  margin-bottom: 20px;
  max-width: 800px;
}
.mk-hero-accent { color: var(--muted); }
.mk-hero-accent-primary { color: var(--primary); }
.mk-hero-sub {
  font-size: 18px;
  color: var(--body);
  line-height: 1.55;
  max-width: 640px;
  margin-bottom: 28px;
}
.mk-hero-cta {
  display: flex; gap: 12px; flex-wrap: wrap;
  align-items: center;
  margin-bottom: 18px;
}
.mk-hero-note {
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-mono);
}

/* Centered hero variant — emblem + headline + chip-pills + CTAs.
   Opts into a centered axis without affecting other .mk-hero usages. */
.mk-hero-centered { text-align: center; }
.mk-hero-centered .mk-hero-title,
.mk-hero-centered .mk-hero-sub {
  margin-left: auto;
  margin-right: auto;
}
.mk-hero-centered .mk-hero-cta { justify-content: center; }
.mk-hero-centered .mk-eyebrow { margin-bottom: 14px; }

/* Iconographic emblem — sun → panel → battery — sized fluidly */
.mk-hero-emblem {
  display: flex; justify-content: center;
  margin-bottom: 18px;
}
.mk-hero-emblem svg {
  width: clamp(280px, 38vw, 460px);
  height: auto;
  max-width: 100%;
  display: block;
}

/* Chip pills row under the sub-headline */
.mk-hero-chips {
  display: flex; flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 26px;
}
.mk-chip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--hairline);
  background: var(--canvas-soft);
  border-radius: var(--rounded-pill);
  padding: 4px 12px 4px 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--body);
  letter-spacing: 0.3px;
}
.mk-chip-dot {
  width: 8px; height: 8px; border-radius: 50%;
  flex-shrink: 0;
}

/* ── Section base ────────────────────────────────────────────── */
.mk-section {
  max-width: var(--mk-shell-max);
  margin: 0 auto;
  padding: 56px 32px;
}

/* Centered section header — opts a section's eyebrow + h2 + lead onto
   a centered axis (matching the hero) without affecting the cards,
   grids, or forms below the heading. */
.mk-section-head-centered { text-align: center; }
.mk-section-head-centered > .mk-h2,
.mk-section-head-centered > .mk-lead,
.mk-section-head-centered > .mk-sim-period {
  margin-left: auto;
  margin-right: auto;
}
.mk-section-head-centered > .mk-grid,
.mk-section-head-centered > .mk-sim,
.mk-section-head-centered > .mk-tiers,
.mk-section-head-centered > .mk-contact-form { text-align: left; }
.mk-section-alt {
  max-width: 100%;
  background: var(--canvas-soft);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 0;
}
.mk-section-alt > * {
  max-width: var(--mk-shell-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 32px;
  padding-right: 32px;
}
.mk-section-alt > .mk-eyebrow { padding-top: 56px; }
.mk-section-alt > :last-child { padding-bottom: 56px; }

.mk-h2 {
  font-size: clamp(28px, 3.4vw, 36px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.72px;
  color: var(--ink);
  margin-bottom: 16px;
}
.mk-lead {
  font-size: 17px;
  color: var(--body);
  line-height: 1.55;
  margin-bottom: 32px;
}

/* ── Card grid (how it works) ────────────────────────────────── */
.mk-grid {
  display: grid;
  gap: 16px;
}
.mk-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mk-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mk-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.mk-card {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-lg);
  padding: 24px 22px 22px;
  transition: border-color var(--t-fast);
}
.mk-card:hover { border-color: var(--hairline-strong); }
.mk-card-icon {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--canvas-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-md);
  color: var(--ink);
  margin-bottom: 14px;
}
.mk-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.16px;
}
.mk-card-body {
  font-size: 14.5px;
  color: var(--body);
  line-height: 1.55;
}

/* ── Benefits ────────────────────────────────────────────────── */
/* 5 benefit cards arranged 3 on row 1, 2 centered on row 2.
   The 6-track scaffold gives each card two columns; the 4th/5th
   shift to columns 2-3 / 4-5 so row 2 is centered with no orphan. */
.mk-benefits {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.mk-benefits .mk-benefit { grid-column: span 2; }
.mk-benefits .mk-benefit:nth-child(4) { grid-column: 2 / span 2; }
.mk-benefits .mk-benefit:nth-child(5) { grid-column: 4 / span 2; }
.mk-benefits .mk-benefit {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-lg);
  padding: 22px 22px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: border-color var(--t-fast);
}
.mk-benefits .mk-benefit:hover { border-color: var(--hairline-strong); }
.mk-benefit-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}
.mk-benefit-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
  letter-spacing: -0.16px;
}
.mk-benefit-body {
  font-size: 14.5px;
  color: var(--body);
  line-height: 1.55;
}

/* ── Devices ─────────────────────────────────────────────────── */
.mk-devices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.mk-device-card {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-lg);
  padding: 26px 26px 24px;
  transition: border-color var(--t-fast);
}
.mk-device-card-soft { background: var(--canvas-soft); }
.mk-device-card:hover { border-color: var(--hairline-strong); }
.mk-device-name {
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin: 12px 0 10px;
  letter-spacing: -0.2px;
}
.mk-device-body {
  font-size: 15px;
  color: var(--body);
  line-height: 1.55;
  margin-bottom: 12px;
}
.mk-device-meta {
  font-size: 13px;
  color: var(--muted);
  font-family: var(--font-mono);
  line-height: 1.5;
}

.mk-tag {
  display: inline-flex; align-items: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--ls-caption-upper);
  padding: 4px 9px;
  border-radius: var(--rounded-pill);
  background: var(--surface-strong);
  color: var(--ink);
}
.mk-tag-success {
  background: rgba(31, 138, 101, 0.12);
  color: var(--semantic-success);
}

/* ── Pricing ─────────────────────────────────────────────────── */
.mk-pricing { gap: 18px; }
.mk-tier {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-lg);
  padding: 28px 24px 24px;
  display: flex; flex-direction: column;
  gap: 18px;
  transition: border-color var(--t-fast);
}
.mk-tier:hover { border-color: var(--hairline-strong); }
.mk-tier-featured {
  background: var(--ink);
  color: var(--canvas);
  border-color: var(--ink);
}
.mk-tier-featured:hover { border-color: var(--ink); }

.mk-tier header { display: flex; flex-direction: column; gap: 6px; }
.mk-tier-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: var(--ls-caption-upper);
  color: var(--muted);
}
.mk-tier-featured .mk-tier-label { color: var(--muted-soft); }
.mk-tier-price {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.72px;
  line-height: 1.1;
  color: var(--ink);
  display: flex; align-items: baseline; gap: 10px;
  flex-wrap: wrap;
}
.mk-tier-featured .mk-tier-price { color: var(--canvas); }
.mk-tier-amount {
  font-variant-numeric: tabular-nums;
}
.mk-tier-cadence {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}
.mk-tier-featured .mk-tier-cadence { color: var(--muted-soft); }
.mk-tier-tag {
  font-size: 14px;
  color: var(--body);
  line-height: 1.45;
}
.mk-tier-featured .mk-tier-tag { color: var(--muted-soft); }

.mk-tier-list {
  list-style: none;
  display: flex; flex-direction: column;
  gap: 9px;
  font-size: 14px;
  color: var(--body);
  padding: 18px 0 8px;
  border-top: 1px solid var(--hairline-soft);
  flex: 1;
}
.mk-tier-featured .mk-tier-list {
  color: rgba(247, 247, 244, 0.85);
  border-top-color: rgba(247, 247, 244, 0.12);
}
.mk-tier-list li {
  position: relative;
  padding-left: 22px;
}
.mk-tier-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 7px;
  width: 12px; height: 9px;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 4.5L4.5 8L11 1' stroke='%231f8a65' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
}
.mk-tier-list-muted {
  color: var(--muted-soft);
  text-decoration: line-through;
}
.mk-tier-list-muted::before {
  background-image: url("data:image/svg+xml,%3Csvg width='10' height='10' viewBox='0 0 10 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cline x1='1.5' y1='1.5' x2='8.5' y2='8.5' stroke='%23a09c92' stroke-width='1.5' stroke-linecap='round'/%3E%3Cline x1='1.5' y1='8.5' x2='8.5' y2='1.5' stroke='%23a09c92' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  top: 8px;
}
.mk-tier-featured .mk-tier-list-muted { color: var(--muted-soft); }

.mk-tier-cta {
  width: 100%;
  justify-content: center;
}
.mk-tier-featured .mk-btn-primary {
  background: var(--primary);
  color: var(--on-primary);
}
.mk-tier-foot {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  font-family: var(--font-mono);
  margin-top: -8px;
}
.mk-tier-featured .mk-tier-foot { color: var(--muted-soft); }

/* ── Closing CTA ─────────────────────────────────────────────── */
.mk-closer {
  text-align: center;
  padding: 56px 32px 64px;
}
.mk-closer-title {
  max-width: 680px;
  margin-left: auto; margin-right: auto;
  margin-bottom: 14px;
}
.mk-closer-lead {
  max-width: 580px;
  margin-left: auto; margin-right: auto;
  margin-bottom: 32px;
}
.mk-closer .mk-hero-cta { justify-content: center; }

/* ── Footer ──────────────────────────────────────────────────── */
.mk-footer {
  border-top: 1px solid var(--hairline);
  background: var(--canvas-soft);
}
.mk-footer-inner {
  max-width: var(--mk-shell-max);
  margin: 0 auto;
  padding: 32px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.mk-brand-foot { color: var(--ink); }
.mk-footer-links {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  flex-wrap: wrap;
}
.mk-footer-fine {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  line-height: 1.55;
  text-align: right;
  max-width: 360px;
  justify-self: end;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 920px) {
  .mk-grid-3 { grid-template-columns: 1fr; }
  .mk-grid-2 { grid-template-columns: 1fr; }
  .mk-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-benefits { grid-template-columns: 1fr; }
  .mk-benefits .mk-benefit,
  .mk-benefits .mk-benefit:nth-child(4),
  .mk-benefits .mk-benefit:nth-child(5) { grid-column: auto; }
  .mk-devices { grid-template-columns: 1fr; }
  .mk-footer-inner {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .mk-footer-links { justify-content: flex-start; }
  .mk-footer-fine { text-align: left; justify-self: start; max-width: none; }
}

/* ── Mobile polish — review pass ─────────────────────────────
   Tightens the small-screen layout: a real two-row nav (brand +
   utilities up top, section links on a horizontal-scroll rail
   below the brand), full-width hero CTAs, fluid pricing card,
   and a properly-stacked cookie banner. */

@media (max-width: 720px) {
  /* Hero CTAs: stack & fill so the primary action is unmistakable */
  .mk-hero-cta { flex-direction: column; align-items: stretch; gap: 10px; }
  .mk-hero-cta > .mk-btn { width: 100%; justify-content: center; padding: 14px 18px; }
}

@media (max-width: 600px) {
  .mk-grid-4 { grid-template-columns: 1fr; }
  /* Two-row nav: brand + utilities on top, horizontal-scroll links below.
     Side paddings respect iOS safe-area so the cluster clears curved
     edges; top padding stays compact — the notch sits in the OS chrome,
     not over our nav. */
  .mk-nav {
    padding-top: 14px;
    padding-right: max(20px, env(safe-area-inset-right));
    padding-bottom: 0;
    padding-left: max(20px, env(safe-area-inset-left));
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 12px;
    row-gap: 10px;
  }
  .mk-nav .mk-brand { margin-right: 0; grid-row: 1; grid-column: 1; }
  .mk-nav-util { grid-row: 1; grid-column: 3; justify-self: end; gap: 8px; }
  .mk-nav-util .mk-cta-primary { padding: 8px 12px; font-size: 13px; }
  .mk-nav-util .mk-cta-primary svg { display: none; }
  .mk-nav-util .mk-lang { margin: 0; }

  .mk-nav-links {
    grid-row: 2;
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 2px;
    /* Bleed to viewport edge, matching the parent safe-area padding */
    margin-left:  calc(-1 * max(20px, env(safe-area-inset-left)));
    margin-right: calc(-1 * max(20px, env(safe-area-inset-right)));
    padding: 0 max(20px, env(safe-area-inset-right)) 12px max(20px, env(safe-area-inset-left));
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    border-bottom: 1px solid var(--hairline);
  }
  .mk-nav-links::-webkit-scrollbar { display: none; }
  .mk-nav-link {
    padding: 6px 10px;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .mk-section, .mk-hero, .mk-closer { padding-left: 20px; padding-right: 20px; }
  .mk-section-alt > * { padding-left: 20px; padding-right: 20px; }
  .mk-hero { padding-top: 36px; padding-bottom: 40px; }
  .mk-hero-title { letter-spacing: -0.8px; }
  .mk-hero-sub { font-size: 16.5px; margin-bottom: 22px; }
  .mk-hero-emblem { margin-bottom: 14px; }
  .mk-hero-emblem svg { width: clamp(240px, 86vw, 360px); }
  .mk-hero-chips { gap: 4px; margin-bottom: 22px; }
  .mk-chip { font-size: 10.5px; padding: 3px 10px 3px 5px; }
  .mk-section { padding-top: 40px; padding-bottom: 40px; }
  .mk-section-alt > .mk-eyebrow { padding-top: 40px; }
  .mk-section-alt > :last-child { padding-bottom: 40px; }
  .mk-h2 { font-size: 26px; letter-spacing: -0.4px; }
  .mk-lead { font-size: 15.5px; margin-bottom: 24px; }

  /* Cards: a touch tighter, less wasted padding */
  .mk-card { padding: 20px 18px 18px; }
  .mk-benefits .mk-benefit { padding: 18px 18px 16px; }
  .mk-device-card { padding: 22px 20px 20px; }

  /* Pricing tier: keep amount + cadence on one tidy row */
  .mk-tier { padding: 24px 20px 22px; gap: 16px; }
  .mk-tier-price { font-size: 28px; gap: 8px; align-items: baseline; }
  .mk-tier-cadence { font-size: 12px; }
  .mk-tier-list { padding-top: 14px; gap: 8px; }

  /* FAQ: tighter padding, bigger tap target on chev */
  .mk-faq-item summary { padding: 18px 4px; gap: 16px; }
  .mk-faq-q { font-size: 15.5px; line-height: 1.4; }
  .mk-faq-a { font-size: 14.5px; padding-bottom: 18px; }

  /* Footer: tighten and let the fine print breathe */
  .mk-footer-inner { padding: 28px 20px; gap: 18px; }
  .mk-footer-links { gap: 4px; }
  .mk-footer-fine { font-size: 11.5px; line-height: 1.5; }

  /* Closing CTA: tighten verticals */
  .mk-closer { padding-top: 44px; padding-bottom: 52px; }

  /* Cookie banner: full-width Accept */
  .mk-cookie { left: 12px; right: 12px; bottom: 12px; padding: 14px 16px; }
  .mk-cookie-actions { width: 100%; }
  .mk-cookie .mk-btn { width: 100%; justify-content: center; padding: 12px 16px; font-size: 14px; }

  /* Anchor scroll buffer so #pricing etc. don't land flush with top */
  html { scroll-padding-top: 20px; }
}

/* Stack hero CTAs as soon as room runs out, not only at the breakpoint */
@media (max-width: 420px) {
  .mk-hero-title { font-size: 32px; }
  .mk-nav-link { font-size: 12.5px; padding: 6px 8px; }
}

/* ── Language picker ────────────────────────────────────────── */
.mk-lang {
  display: inline-flex;
  align-items: center;
  background: var(--canvas-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-md);
  padding: 2px;
  margin: 0 4px;
}
.mk-lang-btn {
  background: transparent;
  border: 0;
  padding: 5px 10px;
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: var(--muted);
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast);
}
.mk-lang-btn:hover { color: var(--ink); }
.mk-lang-btn.is-active {
  background: var(--surface-card);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(38, 37, 30, 0.06);
}

/* ── FAQ ─────────────────────────────────────────────────────── */
.mk-faq {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--hairline);
  margin-top: 8px;
}
.mk-faq-item {
  border-bottom: 1px solid var(--hairline);
  background: transparent;
}
.mk-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 4px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  transition: color var(--t-fast);
}
.mk-faq-item summary::-webkit-details-marker { display: none; }
.mk-faq-item summary:hover { color: var(--ink); }
.mk-faq-q {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.2px;
  line-height: 1.4;
}
.mk-faq-chev {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--canvas-soft);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-pill);
  color: var(--body);
  transition: transform 0.2s ease, background var(--t-fast), border-color var(--t-fast);
}
.mk-faq-item[open] .mk-faq-chev {
  transform: rotate(180deg);
  background: var(--ink);
  border-color: var(--ink);
  color: var(--canvas);
}
.mk-faq-a {
  padding: 0 4px 22px;
  font-size: 15px;
  color: var(--body);
  line-height: 1.6;
  max-width: 760px;
}
.mk-faq-mail {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--hairline-strong);
  text-underline-offset: 3px;
  transition: text-decoration-color var(--t-fast);
}
.mk-faq-mail:hover { text-decoration-color: var(--primary); }

/* ── Cookie banner ─────────────────────────────────────────── */
.mk-cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  background: var(--surface-card, #ffffff);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-md);
  box-shadow: 0 12px 32px rgba(38, 37, 30, 0.10);
  padding: 14px 18px;
  display: none;
  align-items: center;
  gap: 16px;
  max-width: 880px;
  margin: 0 auto;
}
.mk-cookie.is-visible { display: flex; }
.mk-cookie-text {
  flex: 1;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--body);
}
.mk-cookie-text a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--hairline-strong);
  text-underline-offset: 3px;
}
.mk-cookie-text a:hover { text-decoration-color: var(--primary); }
.mk-cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.mk-cookie .mk-btn { padding: 8px 18px; font-size: 13px; }

@media (max-width: 600px) {
  .mk-cookie {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    padding: 14px 16px;
  }
  .mk-cookie-actions { justify-content: flex-end; }
}

/* ── Contact us form ───────────────────────────────────────── */
.mk-contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 760px;
  margin-top: 28px;
}
.mk-contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.mk-contact-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mk-contact-label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: 0.4px;
  text-transform: uppercase;
}
.mk-contact-req  { color: var(--primary); margin-left: 2px; }
.mk-contact-opt  {
  color: var(--muted);
  text-transform: none;
  font-weight: 400;
  letter-spacing: 0;
  margin-left: 2px;
}
.mk-contact-input {
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--surface-card, #ffffff);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--rounded-sm);
  padding: 11px 14px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.mk-contact-input::placeholder { color: var(--muted-soft); }
.mk-contact-input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(38, 37, 30, 0.10);
}
.mk-contact-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
}
.mk-contact-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.mk-contact-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.mk-contact-status {
  font-size: 13.5px;
  color: var(--body);
  min-height: 18px;
}
.mk-contact-status.is-error   { color: #cf2d56; }
.mk-contact-status.is-success { color: var(--semantic-success); }

@media (max-width: 600px) {
  .mk-contact-row { grid-template-columns: 1fr; }
}
