/* Rulla.no — section + component styles */

/* ================== NAV ================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 92px; gap: 32px;
}
.logo-img-nav { height: 56px !important; }
.nav-logo { display: flex; align-items: center; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { font-size: 14px; color: var(--ink-2); transition: color 0.15s; font-weight: 500; }
.nav-links a:hover { color: var(--green); }
.nav-links a.is-active { color: var(--green); }
@media (max-width: 880px) { .nav-links { display: none; } }

/* ================== HERO ================== */
.hero { padding: 80px 0 100px; position: relative; overflow: hidden; }

/* Split */
.hero-split-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(110deg, var(--green) 0%, var(--blue) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
[data-theme="warm"] .hero h1 em {
  font-style: italic; -webkit-text-fill-color: var(--green);
  background: none; color: var(--green);
}
.hero-trust {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  margin-top: 32px; font-size: 13px; color: var(--muted);
}
.hero-trust span:first-child { color: #F4B400; letter-spacing: 1px; }
.hero-bullets { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; font-size: 15px; color: var(--ink-2); }

/* Centered */
.hero-centered { text-align: center; padding: 100px 0 120px; }
.hero-c-inner { max-width: 820px; margin: 0 auto; }
.hero-c-inner .hero-trust { justify-content: center; }
.hero-c-inner h1 { font-size: clamp(48px, 7vw, 96px); }

/* SEO-first hero */
.hero-seo-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}

@media (max-width: 880px) {
  .hero-split-grid, .hero-seo-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Device mock */
.hero-device { position: relative; perspective: 1500px; }
.hero-device-frame {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: rotateY(-6deg) rotateX(2deg);
  transform-origin: 50% 50%;
}
.hero-device-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 12px 14px; background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
}
.hero-device-bar > span:nth-child(-n+3) {
  width: 10px; height: 10px; border-radius: 50%; background: var(--line-2);
}
.hero-device-url {
  margin-left: 12px; font-family: var(--font-mono); font-size: 11px;
  color: var(--muted); background: var(--bg-elev); padding: 4px 10px;
  border-radius: 999px; border: 1px solid var(--line);
}
.hero-device-screen { padding: 26px 24px 30px; }
.hero-device-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.hero-device-nav img.hero-device-logo { height: 56px; }
[data-theme="dark"] .hero-device-nav img.hero-device-logo { filter: brightness(0) invert(1); }
.hero-device-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; padding: 4px 10px; border-radius: 999px;
  background: var(--green-soft); color: var(--green); font-weight: 600;
}
.hero-device-pill .dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--green) 25%, transparent);
  animation: pulse 1.6s infinite;
}
.hero-device-h {
  font-family: var(--font-display); font-size: 22px; font-weight: 600;
  letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 18px;
}
.hero-device-row { display: flex; gap: 10px; margin-bottom: 18px; }
.hero-device-card {
  flex: 1; padding: 12px 14px; border-radius: 12px;
  background: var(--green-soft); display: flex; flex-direction: column; gap: 2px;
}
.hero-device-card.alt { background: color-mix(in oklab, var(--blue) 12%, var(--bg-elev)); }
[data-theme="dark"] .hero-device-card.alt { background: var(--blue-soft); }
.hero-device-card-num { font-size: 22px; font-weight: 600; color: var(--ink); }
.hero-device-card-lbl { font-size: 11px; color: var(--muted); }
.hero-device-graph { height: 80px; border-radius: 10px; overflow: hidden; background: var(--bg-soft); }
.hero-device-graph svg { width: 100%; height: 100%; }
.hero-device-shadow {
  position: absolute; inset: -10% -5% -20% -5%; z-index: -1;
  background: radial-gradient(ellipse at 50% 60%, color-mix(in oklab, var(--green) 25%, transparent) 0%, transparent 60%);
  filter: blur(40px);
}

/* Hero collage (replaces device mock with real imagery) */
.hero-collage { position: relative; }
.hero-collage-main {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  aspect-ratio: 1 / 1;
}
.hero-collage-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-collage-overlay {
  position: absolute; inset: auto 18px 18px 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.hero-collage-pill {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(8px);
  padding: 7px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 600; color: var(--ink);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.hero-collage-pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 0 4px color-mix(in oklab, var(--green) 30%, transparent);
  animation: pulse 1.6s infinite;
}
.hero-collage-stats { display: flex; gap: 10px; }
.hero-collage-stat {
  flex: 1; background: rgba(255,255,255,0.95); backdrop-filter: blur(8px);
  padding: 12px 14px; border-radius: 12px;
  display: flex; flex-direction: column; gap: 2px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border: 1px solid rgba(255,255,255,0.6);
}
.hero-collage-stat strong { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--green); letter-spacing: -0.02em; }
.hero-collage-stat.alt strong { color: var(--blue); }
.hero-collage-stat span { font-size: 11px; color: var(--muted); font-weight: 500; }
.hero-collage-side {
  position: absolute; right: -28px; bottom: -32px;
  width: 38%; aspect-ratio: 9 / 16;
  border-radius: 22px; overflow: hidden;
  border: 6px solid var(--bg);
  box-shadow: 0 30px 60px rgba(0,0,0,0.22);
  transform: rotate(6deg);
  z-index: 2;
}
.hero-collage-side img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-collage-shadow {
  position: absolute; inset: -10% -10% -20% -10%; z-index: -1;
  background: radial-gradient(ellipse at 50% 60%, color-mix(in oklab, var(--green) 22%, transparent) 0%, transparent 60%);
  filter: blur(40px);
}
@media (max-width: 880px) {
  .hero-collage-side { right: -10px; bottom: -20px; width: 42%; }
}

/* Hero background tint */
.hero-split, .hero-centered, .hero-seo {
  background:
    radial-gradient(ellipse at 90% 0%, color-mix(in oklab, var(--green) 8%, transparent) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 100%, color-mix(in oklab, var(--blue) 6%, transparent) 0%, transparent 50%);
}
[data-theme="warm"] .hero-split, [data-theme="warm"] .hero-centered, [data-theme="warm"] .hero-seo {
  background:
    radial-gradient(ellipse at 90% 0%, color-mix(in oklab, var(--green) 12%, transparent) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 100%, color-mix(in oklab, #E8C39E 60%, transparent) 0%, transparent 50%);
}

/* About collage */
.about-visual { position: relative; }
.about-collage { position: relative; aspect-ratio: 4 / 5; }
.about-img-1 {
  position: absolute; top: 0; right: 0; width: 70%; aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg); object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.about-img-2 {
  position: absolute; bottom: 0; left: 0; width: 55%; aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg); object-fit: cover;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  z-index: 2;
}
.about-floating-card {
  position: absolute; top: 60%; right: 8%;
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-elev); border: 1px solid var(--line);
  padding: 12px 16px 12px 12px; border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  z-index: 3;
}
.about-floating-card img { height: 28px; }
[data-theme="dark"] .about-floating-card img { filter: brightness(0) invert(1); }
.about-floating-card strong { display: block; font-size: 14px; color: var(--ink); }
.about-floating-card span { font-size: 12px; color: var(--muted); }

/* Section soft warm variant for visual rhythm */
.section-warm {
  background: linear-gradient(135deg, color-mix(in oklab, var(--green) 4%, var(--bg-soft)) 0%, var(--bg-soft) 100%);
}
.section-soft { background: var(--bg-soft); }
.sec-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  margin-bottom: 56px; align-items: end;
}
.sec-head-center { grid-template-columns: 1fr; text-align: center; max-width: 720px; margin: 0 auto 56px; }
@media (max-width: 880px) { .sec-head { grid-template-columns: 1fr; gap: 16px; } }

/* Services */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--green); }
.svc-card-num {
  font-family: var(--font-mono); font-size: 13px; color: var(--green);
  margin-bottom: 16px; letter-spacing: 0.05em;
}
.svc-card h3 { margin-bottom: 10px; }
.svc-card p { font-size: 15px; line-height: 1.6; }

/* Process */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 880px) { .process-grid { grid-template-columns: 1fr 1fr; } }
.process-step {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px; position: relative;
}
.process-num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; margin-bottom: 18px; font-size: 14px;
}
.process-step h4 { margin-bottom: 8px; }
.process-step p { font-size: 14px; line-height: 1.6; }

/* Pricing */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
@media (max-width: 880px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 36px 32px;
  position: relative; display: flex; flex-direction: column;
}
.price-card.popular { border-color: var(--green); background: var(--bg-elev); box-shadow: var(--shadow); }
[data-theme="dark"] .price-card.popular { background: color-mix(in oklab, var(--green) 8%, var(--bg-elev)); }
.price-badge {
  position: absolute; top: -12px; left: 32px;
  background: var(--green); color: #fff;
  padding: 5px 12px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
}
.price-card h3 { margin-bottom: 16px; }
.price-amount { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.price-amount strong { font-family: var(--font-display); font-size: 36px; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); }
.price-amount span { font-size: 13px; color: var(--muted); }
.price-desc { font-size: 14px; line-height: 1.6; min-height: 44px; }
.price-features { list-style: none; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.price-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.price-features .check {
  width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; margin-top: 1px;
}

/* About */
.stat-mini { background: var(--bg-elev); border: 1px solid var(--line); padding: 18px 20px; border-radius: var(--radius); }
.stat-mini strong { display: block; font-family: var(--font-display); font-size: 32px; font-weight: 600; letter-spacing: -0.02em; color: var(--green); }
.stat-mini span { font-size: 13px; color: var(--muted); }
.about-card {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
  background: var(--bg-elev);
}
.about-card video { width: 100%; height: auto; display: block; }

/* FAQ */
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color 0.15s; }
.faq-item.open { border-color: var(--green); }
.faq-q {
  width: 100%; background: none; border: none; padding: 22px 26px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 16px; font-weight: 500; text-align: left; color: var(--ink);
}
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-soft); color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-item.open .faq-a { max-height: 320px; }
.faq-a p { padding: 0 26px 22px; font-size: 15px; line-height: 1.7; color: var(--muted); }

/* CTA strip */
.cta-strip { background: var(--green); color: var(--accent-on); }
[data-theme="dark"] .cta-strip { background: var(--bg-soft); }
.cta-strip h2 { color: var(--accent-on); }
.cta-strip-inner { text-align: center; max-width: 720px; margin: 0 auto; }

/* Footer */
.footer { background: var(--bg-soft); padding: 64px 0 32px; border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1.4fr 2fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--line); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols h4 { font-size: 13px; font-weight: 600; margin-bottom: 14px; color: var(--ink); letter-spacing: 0.02em; }
.footer-cols a, .footer-cols span { display: block; font-size: 14px; color: var(--muted); margin-bottom: 8px; transition: color 0.15s; }
.footer-cols a:hover { color: var(--green); }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--green); }
@media (max-width: 880px) { .footer-top { grid-template-columns: 1fr; } .footer-cols { grid-template-columns: 1fr 1fr; } }

/* ================== CALCULATOR ================== */
.calc {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.calc-head { padding: 28px 32px 0; border-bottom: 1px solid var(--line); }
.calc-head-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; padding-bottom: 24px; }
.calc-est {
  background: var(--green-soft); border: 1px solid color-mix(in oklab, var(--green) 25%, transparent);
  padding: 14px 20px; border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 2px; min-width: 240px;
}
.calc-est-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 500; }
.calc-est-amount { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--ink); letter-spacing: -0.015em; }
.calc-est-mnd { font-size: 12px; color: var(--muted); }

.calc-steps { display: flex; align-items: center; gap: 0; padding: 18px 0 22px; overflow-x: auto; }
.calc-step { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.calc-step-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg-soft); color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 600; flex-shrink: 0;
  border: 1px solid var(--line);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.calc-step.active .calc-step-num { background: var(--green); color: #fff; border-color: var(--green); }
.calc-step.done .calc-step-num { background: var(--green); color: #fff; border-color: var(--green); }
.calc-step-label { font-size: 13px; color: var(--muted); white-space: nowrap; font-weight: 500; }
.calc-step.active .calc-step-label { color: var(--ink); }
.calc-step.done .calc-step-label { color: var(--ink-2); }
.calc-step-line {
  flex: 1; height: 1px; background: var(--line); min-width: 18px;
  margin: 0 10px;
}
.calc-step.done .calc-step-line { background: var(--green); }

.calc-body { padding: 32px; }
.calc-step-head { margin-bottom: 22px; }
.calc-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 720px) { .calc-options { grid-template-columns: 1fr; } }

.opt {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-elev); border: 1.5px solid var(--line);
  border-radius: var(--radius); padding: 14px 16px;
  text-align: left; transition: border-color 0.15s, background 0.15s, transform 0.1s;
  width: 100%;
}
.opt:hover { border-color: var(--ink-2); }
.opt.selected { border-color: var(--green); background: var(--green-soft); }
.opt:active { transform: scale(0.995); }

.opt-check {
  width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid var(--line-2); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  color: #fff;
}
.opt-check.square { border-radius: 5px; }
.opt.selected .opt-check { background: var(--green); border-color: var(--green); }
.opt-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; }

.opt-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.opt-title { font-size: 15px; font-weight: 600; color: var(--ink); }
.opt-desc { font-size: 13px; color: var(--muted); line-height: 1.45; }
.opt-price { font-family: var(--font-mono); font-size: 12px; color: var(--green); font-weight: 600; flex-shrink: 0; white-space: nowrap; }
.opt.selected .opt-price { color: var(--green-2); }

.calc-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 32px; border-top: 1px solid var(--line); background: var(--bg-soft);
}
.calc-footer .btn-ghost:disabled { opacity: 0.4; cursor: not-allowed; }

/* Calc step 5 */
.calc-form { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; }
@media (max-width: 880px) { .calc-form { grid-template-columns: 1fr; } }
.calc-summary {
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.calc-summary-row { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.calc-summary-row:last-of-type { border-bottom: none; }
.calc-summary-row span { color: var(--muted); }
.calc-summary-row strong { color: var(--ink); text-align: right; max-width: 60%; font-weight: 500; }
.calc-summary-total { display: flex; justify-content: space-between; padding: 14px 0 0; margin-top: 8px; border-top: 1px solid var(--line); font-size: 14px; }
.calc-summary-total strong { font-family: var(--font-display); font-size: 18px; color: var(--green); font-weight: 600; }

.calc-fields { display: flex; flex-direction: column; gap: 14px; }
.calc-field { display: block; }

.calc-success { text-align: center; padding: 40px 20px; display: flex; flex-direction: column; align-items: center; }
.calc-success-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; margin-bottom: 24px;
}

/* ================== SEO CHECK ================== */
.seo-card {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow);
}
.seo-card.compact { padding: 28px; }
.seo-card-result { padding: 36px; }
.seo-fields { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.seo-text-input {
  width: 100%; background: var(--bg); border: 1.5px solid var(--line);
  border-radius: 12px; padding: 14px 16px; font-size: 15px; color: var(--ink);
  font-family: inherit; outline: none; transition: border-color 0.15s, box-shadow 0.15s;
}
.seo-text-input:focus { border-color: var(--green); box-shadow: 0 0 0 3px color-mix(in oklab, var(--green) 18%, transparent); }
.seo-domain-pill {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--bg-soft); border: 1px solid var(--line);
  padding: 10px 14px; border-radius: 10px; font-size: 13px; color: var(--muted);
}
.seo-domain-pill strong { color: var(--ink); font-family: var(--font-mono); }
.seo-edit-btn { margin-left: auto; background: none; border: none; color: var(--green); font-size: 12px; cursor: pointer; font-weight: 600; text-decoration: underline; }
.seo-score-ring { position: relative; width: 160px; height: 160px; flex-shrink: 0; }
.seo-score-num {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0;
}
.seo-score-num strong {
  font-family: var(--font-display); font-size: 56px; font-weight: 700;
  letter-spacing: -0.03em; line-height: 1;
}
.seo-score-num span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }
.seo-result-head { display: flex; gap: 28px; align-items: center; margin-bottom: 28px; flex-wrap: wrap; }
.seo-result-text { flex: 1; min-width: 200px; }
.seo-result-h { font-family: var(--font-mono); font-size: 14px; color: var(--ink-2); margin-bottom: 8px; font-weight: 500; }
.seo-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-soft); color: var(--green);
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
  border: 1px solid color-mix(in oklab, var(--green) 25%, transparent);
}
.seo-badge span {
  width: 6px; height: 6px; border-radius: 50%; background: var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse { 50% { opacity: 0.4; transform: scale(0.8); } }
.seo-title { font-size: 26px; margin-bottom: 8px; }
.seo-title em { font-style: italic; color: var(--green); }
.seo-sub { font-size: 14px; color: var(--muted); margin-bottom: 20px; }

.seo-input {
  display: flex; align-items: center; gap: 6px;
  background: var(--bg); border: 1.5px solid var(--line);
  border-radius: 12px; padding: 6px 6px 6px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.seo-input:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px color-mix(in oklab, var(--green) 18%, transparent); }
.seo-input-prefix { font-family: var(--font-mono); font-size: 13px; color: var(--subtle); }
.seo-input input {
  flex: 1; min-width: 0; background: none; border: none; outline: none;
  font-size: 15px; color: var(--ink); padding: 8px 0;
}
.seo-err { color: #C53030; font-size: 13px; margin-top: 8px; }
.seo-foot { font-size: 12px; color: var(--subtle); margin-top: 14px; }

.seo-loader { text-align: center; padding: 24px 0; }
.seo-scanner {
  width: 200px; height: 110px; margin: 0 auto 20px;
  position: relative; overflow: hidden;
  border-radius: 10px; border: 1px solid var(--line);
  background: var(--bg-soft);
}
.seo-scan-bars { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.seo-scan-bars > div { height: 8px; border-radius: 4px; background: var(--line); }
.seo-scan-line {
  position: absolute; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  box-shadow: 0 0 12px var(--green);
  animation: scanline 1.6s ease-in-out infinite;
}
@keyframes scanline { 0%, 100% { top: 8px; } 50% { top: 96px; } }
.seo-load-msg { font-size: 14px; color: var(--ink-2); font-weight: 500; }
.seo-load-domain { font-family: var(--font-mono); font-size: 12px; color: var(--subtle); margin-top: 4px; }

.seo-grade { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
.seo-summary { font-size: 14px; color: var(--muted); line-height: 1.55; }
.seo-checks { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.seo-check {
  display: flex; gap: 12px; padding: 12px 14px;
  background: var(--bg-soft); border-radius: 10px;
  border: 1px solid var(--line);
}
.seo-check-icon {
  width: 22px; height: 22px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff;
}
.seo-check.pass .seo-check-icon { background: #34A853; }
.seo-check.warn .seo-check-icon { background: #F4B400; }
.seo-check.fail .seo-check-icon { background: #EA4335; }
.seo-check strong { font-size: 14px; color: var(--ink); display: block; margin-bottom: 2px; }
.seo-check p { font-size: 13px; color: var(--muted); line-height: 1.5; }
.seo-cta-box {
  background: var(--green-soft); border: 1px solid color-mix(in oklab, var(--green) 25%, transparent);
  padding: 18px 20px; border-radius: var(--radius);
}
.seo-cta-box strong { display: block; font-size: 15px; color: var(--green); margin-bottom: 6px; }
.seo-cta-box p { font-size: 13px; color: var(--ink-2); line-height: 1.55; }

/* ================== KALKULATOR SECTION ================== */
.calc-section { background: var(--bg-soft); }
.calc-section-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
@media (max-width: 980px) { .calc-section-inner { grid-template-columns: 1fr; } }

/* SEO check section wrapper */
.sjekk-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
@media (max-width: 880px) { .sjekk-grid { grid-template-columns: 1fr; } }
