
    :root {
      --bg: #f5f7fa;
      --surface: #ffffff;
      --text: #0f172a;
      --muted: #64748b;
      --border: #e2e8f0;
      --accent: #0b3d2e;
      --accent-soft: #e8f5ef;
      --accent-mid: #1a6b4a;
      --blue: #1e3a5f;
      --blue-soft: #eef3f9;
      --warn-bg: #fff8e6;
      --warn-border: #f0d78c;
      --warn-text: #7a5c00;
      --radius: 14px;
      --shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.06);
      --max: 1120px;
    }

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

    body {
      font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
      background: var(--bg);
      color: var(--text);
      line-height: 1.55;
      -webkit-font-smoothing: antialiased;
      -webkit-text-size-adjust: 100%;
      text-size-adjust: 100%;
    }

    a { color: var(--accent-mid); text-decoration: none; }
    a:hover { text-decoration: underline; }

    .mockup-banner {
      background: #1e3a5f;
      color: #fff;
      text-align: center;
      font-size: 0.8rem;
      font-weight: 500;
      padding: 0.45rem 1rem;
      letter-spacing: 0.02em;
    }

    /* Header */
    .site-header {
      background: var(--surface);
      border-bottom: 1px solid var(--border);
      position: sticky;
      top: 0;
      z-index: 50;
      padding-top: env(safe-area-inset-top, 0px);
    }
    .header-inner {
      max-width: var(--max);
      margin: 0 auto;
      padding: 0.85rem max(1.25rem, env(safe-area-inset-right, 0px)) 0.85rem max(1.25rem, env(safe-area-inset-left, 0px));
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 0.55rem;
      font-weight: 700;
      font-size: 1.15rem;
      color: var(--text);
      text-decoration: none;
      flex-shrink: 0;
    }
    .logo:hover { text-decoration: none; }
    .logo-mark {
      width: 32px;
      height: 32px;
      border-radius: 9px;
      background: linear-gradient(145deg, var(--accent-mid), var(--accent));
      display: grid;
      place-items: center;
    }
    .logo-mark svg { width: 18px; height: 18px; }
    .logo span.domain { color: var(--accent-mid); }
    .logo .mock-tag {
      font-size: 0.65rem;
      font-weight: 600;
      background: var(--blue-soft);
      color: var(--blue);
      padding: 0.15rem 0.4rem;
      border-radius: 4px;
      margin-left: 0.25rem;
      letter-spacing: 0.03em;
    }

    .nav {
      display: flex;
      align-items: center;
      gap: 0.15rem;
      flex-wrap: wrap;
      justify-content: flex-end;
    }
    .nav a {
      color: var(--text);
      font-size: 0.875rem;
      font-weight: 500;
      padding: 0.4rem 0.65rem;
      border-radius: 8px;
      text-decoration: none;
      white-space:nowrap;
    }
    .nav a:hover {
      background: var(--accent-soft);
      color: var(--accent);
      text-decoration: none;
    }

    .menu-toggle {
      display: none;
      background: none;
      border: 1px solid var(--border);
      border-radius: 8px;
      padding: 0.55rem 0.7rem;
      min-width: 44px;
      min-height: 44px;
      cursor: pointer;
      color: var(--text);
    }

    /* Hero */
    .hero {
      background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
      padding: 3rem 1.25rem 2.5rem;
    }
    .hero-inner {
      max-width: var(--max);
      margin: 0 auto;
      width: 100%;
      display: grid;
      grid-template-columns: 1.15fr 0.85fr;
      gap: 2.5rem;
      align-items: center;
    }
    .hero-inner > * { min-width: 0; } /* prevent grid min-content overflow on narrow phones */
    .hero h1 {
      font-size: clamp(1.75rem, 3.5vw, 2.35rem);
      line-height: 1.2;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 1rem;
      overflow-wrap: anywhere;
    }
    .hero h1 em {
      font-style: normal;
      color: var(--accent-mid);
    }
    .hero-lead {
      color: var(--muted);
      font-size: 1.05rem;
      margin-bottom: 1.5rem;
      max-width: 36rem;
    }
    .search-box {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 0.35rem;
      display: flex;
      gap: 0.35rem;
      box-shadow: var(--shadow);
      margin-bottom: 1.25rem;
      min-width: 0;
      max-width: 100%;
    }
    .search-box select {
      flex: 1;
      border: none;
      background: transparent;
      padding: 0.75rem 0.9rem;
      font: inherit;
      font-size: 1rem; /* >=16px: avoid iOS input zoom */

      color: var(--text);
      outline: none;
      cursor: pointer;
      appearance: none;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: right 0.9rem center;
      padding-right: 2rem;
    }
    .search-box button {
      background: var(--accent);
      color: #fff;
      border: none;
      border-radius: 9px;
      padding: 0.75rem 1.35rem;
      font: inherit;
      font-weight: 600;
      font-size: 0.9rem;
      cursor: pointer;
      white-space: nowrap;
    }
    .search-box button:hover { background: var(--accent-mid); }

    .trust-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem 1.25rem;
    }
    .trust-item {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      font-size: 0.85rem;
      color: var(--muted);
      font-weight: 500;
    }
    .trust-item svg {
      width: 18px;
      height: 18px;
      flex-shrink: 0;
      color: var(--accent-mid);
    }

    .hero-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.5rem;
      box-shadow: var(--shadow);
    }
    .hero-card h2 {
      font-size: 0.95rem;
      font-weight: 600;
      margin-bottom: 1rem;
      color: var(--text);
    }
    .hero-stat {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      padding: 0.65rem 0;
      border-bottom: 1px solid var(--border);
      font-size: 0.9rem;
    }
    .hero-stat:last-child { border-bottom: none; }
    .hero-stat .label { color: var(--muted); }
    .hero-stat .val { font-weight: 700; color: var(--accent); }

    /* Sections */
    section {
      padding: 2.75rem 1.25rem;
    }
    .section-inner {
      max-width: var(--max);
      margin: 0 auto;
    }
    .section-head {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: 1.5rem;
      flex-wrap: wrap;
    }
    .section-head h2 {
      font-size: 1.45rem;
      font-weight: 700;
      letter-spacing: -0.015em;
    }
    .section-head p {
      color: var(--muted);
      font-size: 0.95rem;
      max-width: 36rem;
      margin-top: 0.35rem;
    }
    .section-link {
      font-size: 0.875rem;
      font-weight: 600;
      white-space: nowrap;
    }

    /* Category cards */
    .cat-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
    }
    .cat-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.35rem 1.25rem;
      transition: border-color 0.15s, box-shadow 0.15s;
      text-decoration: none;
      color: inherit;
      display: flex;
      flex-direction: column;
      gap: 0.65rem;
    }
    .cat-card:hover {
      border-color: #b8d4c8;
      box-shadow: var(--shadow);
      text-decoration: none;
    }
    .cat-icon {
      width: 42px;
      height: 42px;
      border-radius: 11px;
      background: var(--accent-soft);
      display: grid;
      place-items: center;
      color: var(--accent);
    }
    .cat-icon svg { width: 22px; height: 22px; }
    .cat-card h3 {
      font-size: 1.05rem;
      font-weight: 600;
    }
    .cat-card p {
      font-size: 0.875rem;
      color: var(--muted);
      flex: 1;
    }
    .cat-card .more {
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--accent-mid);
    }

    /* Comparison tables */
    .tables-wrap {
      display: grid;
      gap: 1.75rem;
    }
    .table-block {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      box-shadow: var(--shadow);
    }
    .table-block-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      padding: 1rem 1.25rem;
      border-bottom: 1px solid var(--border);
      flex-wrap: wrap;
    }
    .table-block-head h3 {
      font-size: 1.05rem;
      font-weight: 600;
    }
    .badge-example {
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
      background: var(--warn-bg);
      color: var(--warn-text);
      border: 1px solid var(--warn-border);
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      padding: 0.3rem 0.55rem;
      border-radius: 6px;
    }
    .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.9rem;
      min-width: 520px;
    }
    th, td {
      text-align: left;
      padding: 0.85rem 1.15rem;
      border-bottom: 1px solid var(--border);
    }
    th {
      background: #f8fafc;
      font-weight: 600;
      font-size: 0.78rem;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      color: var(--muted);
    }
    tr:last-child td { border-bottom: none; }
    td.score {
      font-weight: 700;
      color: var(--accent);
    }
    .btn-ghost {
      display: inline-block;
      font-size: 0.8rem;
      font-weight: 600;
      color: var(--accent-mid);
      border: 1px solid #c5ddd2;
      background: var(--accent-soft);
      padding: 0.4rem 0.75rem;
      border-radius: 7px;
      text-decoration: none;
      white-space: nowrap;
    }
    .btn-ghost:hover { background: #d5ebe0; text-decoration: none; }
    .table-note {
      padding: 0.75rem 1.25rem;
      font-size: 0.8rem;
      color: var(--muted);
      background: #fafbfc;
      border-top: 1px solid var(--border);
    }

    /* Methodology */
    .method-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
    }
    .method-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.35rem;
    }
    .method-num {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: var(--accent);
      color: #fff;
      font-size: 0.8rem;
      font-weight: 700;
      display: grid;
      place-items: center;
      margin-bottom: 0.85rem;
    }
    .method-card h3 {
      font-size: 1rem;
      font-weight: 600;
      margin-bottom: 0.4rem;
    }
    .method-card p {
      font-size: 0.875rem;
      color: var(--muted);
    }

    /* Guides */
    .guides-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
    }
    .guide-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      overflow: hidden;
      text-decoration: none;
      color: inherit;
      display: flex;
      flex-direction: column;
      transition: box-shadow 0.15s;
    }
    .guide-card:hover {
      box-shadow: var(--shadow);
      text-decoration: none;
    }
    .guide-thumb {
      height: 110px;
      background: linear-gradient(135deg, var(--blue-soft), var(--accent-soft));
      display: grid;
      place-items: center;
      color: var(--blue);
    }
    .guide-thumb svg { width: 36px; height: 36px; opacity: 0.7; }
    .guide-body {
      padding: 1.15rem 1.2rem 1.35rem;
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      flex: 1;
    }
    .guide-meta {
      font-size: 0.75rem;
      font-weight: 600;
      color: var(--accent-mid);
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }
    .guide-body h3 {
      font-size: 1rem;
      font-weight: 600;
      line-height: 1.35;
      flex: 1;
    }
    .guide-body .read {
      font-size: 0.85rem;
      font-weight: 600;
      color: var(--muted);
    }

    /* Disclosure */
    .disclosure {
      background: var(--blue-soft);
      border: 1px solid #d0dcec;
      border-radius: var(--radius);
      padding: 1.25rem 1.4rem;
      display: flex;
      gap: 1rem;
      align-items: flex-start;
    }
    .disclosure svg {
      width: 22px;
      height: 22px;
      flex-shrink: 0;
      color: var(--blue);
      margin-top: 2px;
    }
    .disclosure h3 {
      font-size: 0.95rem;
      font-weight: 600;
      margin-bottom: 0.35rem;
      color: var(--blue);
    }
    .disclosure p {
      font-size: 0.875rem;
      color: #3d5168;
    }

    /* Newsletter */
    .newsletter {
      background: var(--accent);
      color: #fff;
      border-radius: var(--radius);
      padding: 2rem 1.75rem;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
      align-items: center;
    }
    .newsletter h2 {
      font-size: 1.35rem;
      font-weight: 700;
      margin-bottom: 0.4rem;
    }
    .newsletter p {
      font-size: 0.9rem;
      opacity: 0.85;
    }
    .newsletter-form {
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
    }
    .newsletter-form .fields {
      display: flex;
      gap: 0.5rem;
      flex-wrap: wrap;
    }
    .newsletter-form input {
      flex: 1;
      min-width: 0;
      height: 48px;
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 0 1rem;
      font: inherit;
      font-size: 1rem; /* >=16px: avoid iOS input zoom */

      background: #fff;
      transition: border-color 0.15s ease, box-shadow 0.15s ease;
    }
    .newsletter-form input:focus {
      outline: none;
      border-color: var(--accent-mid);
      box-shadow: 0 0 0 3px rgba(26, 107, 74, 0.18);
    }
    /* Footer */
    .site-footer { background: var(--accent); color: rgba(255,255,255,0.78); margin-top: 4rem; font-size: 0.9rem; padding-bottom: env(safe-area-inset-bottom, 0px); }
    .footer-inner { max-width: var(--max); margin: 0 auto; padding: 3rem max(1.25rem, env(safe-area-inset-right, 0px)) 1.5rem max(1.25rem, env(safe-area-inset-left, 0px)); }
    .footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
    .site-footer .logo { color: #fff; }
    .site-footer .logo span.domain { color: #8fd8b4; }
    .footer-brand p { margin-top: 0.85rem; line-height: 1.6; max-width: 30ch; }
    .footer-col h4 { color: #fff; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.85rem; }
    .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
    .site-footer a { color: rgba(255,255,255,0.78); }
    .site-footer a:hover { color: #fff; text-decoration: underline; }
    .footer-risk { margin-top: 2.5rem; padding: 1rem 1.15rem; border: 1px solid rgba(255,255,255,0.15); border-radius: 12px; background: rgba(255,255,255,0.05); font-size: 0.82rem; line-height: 1.55; }
    .footer-risk strong { color: #fff; }
    .footer-bottom { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,0.15); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.8rem; color: rgba(255,255,255,0.6); }
    @media (max-width: 600px) { .footer-inner { padding: 2.25rem 1.25rem 1.25rem; } .footer-bottom { flex-direction: column; } }

    /* Responsive */
    @media (max-width: 960px) {
      .hero-inner { grid-template-columns: 1fr; gap: 1.75rem; }
      .cat-grid { grid-template-columns: repeat(2, 1fr); }
      .method-grid, .guides-grid { grid-template-columns: 1fr 1fr; }
      .newsletter { grid-template-columns: 1fr; }
      .footer-top { grid-template-columns: 1fr 1fr; }
    }
    html { overflow-x: hidden; }
    body { overflow-x: hidden; }

    @media (max-width: 1080px) {
      .nav a { padding: 0.35rem 0.45rem; font-size: 0.8rem; }
      .logo { font-size: 1.05rem; }
    }

    @media (max-width: 900px) {
      .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: stretch;
        padding: 0.75rem;
        gap: 0.15rem;
        box-shadow: var(--shadow);
      }
      .nav.open { display: flex; }
      .nav a { padding: 0.7rem 0.85rem; font-size: 0.9rem; }
      .menu-toggle { display: block; }
      .header-inner { position: relative; }
      .cat-grid, .method-grid, .guides-grid { grid-template-columns: 1fr; }
      .footer-top { grid-template-columns: 1fr; gap: 1.5rem; }
      .hero { padding-top: 2rem; }
      .search-box { flex-direction: column; }
      .search-box button { width: 100%; white-space: normal; }
      .section-inner, .page-hero-inner, .footer-inner { min-width: 0; max-width: 100%; }
      .newsletter-form .fields { flex-direction: column; }
      .newsletter-form button { width: 100%; }
      .logo .mock-tag { display: none; }
      .section-head { flex-direction: column; align-items: flex-start; }
      .trust-row { flex-direction: column; gap: 0.5rem; }
      .table-block-head { align-items: flex-start; }
    }
  

    /* Article / prose */
    .prose { max-width: 42rem; }
    .prose h2 { font-size: 1.35rem; margin: 2rem 0 0.75rem; letter-spacing: -0.015em; }
    .prose h3 { font-size: 1.1rem; margin: 1.5rem 0 0.5rem; }
    .prose p { margin-bottom: 1rem; color: var(--text); }
    .prose ul, .prose ol { margin: 0 0 1rem 1.25rem; color: var(--text); }
    .prose li { margin-bottom: 0.35rem; }
    .prose a { font-weight: 500; }
    .prose .callout {
      background: var(--blue-soft);
      border: 1px solid #d0dcec;
      border-radius: 12px;
      padding: 1rem 1.15rem;
      margin: 1.25rem 0;
      font-size: 0.95rem;
    }
    .prose .risk-callout {
      background: #fff1f0;
      border: 1px solid #f5c2c0;
      border-radius: 12px;
      padding: 1rem 1.15rem;
      margin: 1.25rem 0;
      font-size: 0.95rem;
      color: #7a1f1a;
    }
    .prose .sources {
      font-size: 0.85rem;
      color: var(--muted);
      border-top: 1px solid var(--border);
      padding-top: 1rem;
      margin-top: 2rem;
    }
    .breadcrumb {
      max-width: var(--max);
      margin: 0 auto;
      padding: 1rem 1.25rem 0;
      font-size: 0.85rem;
      color: var(--muted);
    }
    .breadcrumb a { color: var(--muted); }
    .page-hero {
      padding: 1.75rem 1.25rem 1rem;
    }
    .page-hero-inner { max-width: var(--max); margin: 0 auto; }
    .page-hero h1 {
      font-size: clamp(1.6rem, 3vw, 2.1rem);
      letter-spacing: -0.02em;
      margin-bottom: 0.65rem;
    }
    .page-hero .lead { color: var(--muted); max-width: 40rem; font-size: 1.05rem; }
    .draft-banner {
      background: var(--warn-bg);
      border: 1px solid var(--warn-border);
      color: var(--warn-text);
      border-radius: 10px;
      padding: 0.85rem 1rem;
      font-size: 0.9rem;
      font-weight: 600;
      margin-bottom: 1.25rem;
    }
    .meta-row {
      display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem;
      font-size: 0.85rem; color: var(--muted); margin: 0.75rem 0 1.5rem;
    }
    .verified-yes { color: var(--accent-mid); font-weight: 600; font-size: 0.78rem; }
    .verified-no { color: var(--warn-text); font-weight: 700; font-size: 0.72rem;
      background: var(--warn-bg); border: 1px solid var(--warn-border);
      padding: 0.15rem 0.4rem; border-radius: 4px; text-transform: uppercase; letter-spacing: 0.03em; }
    .btn-primary {
      display: inline-block; background: var(--accent); color: #fff !important;
      font-weight: 600; font-size: 0.9rem; padding: 0.7rem 1.2rem;
      border-radius: 9px; text-decoration: none !important;
    }
    .btn-primary:hover { background: var(--accent-mid); }
    .faq details {
      background: var(--surface); border: 1px solid var(--border);
      border-radius: 10px; padding: 0.85rem 1rem; margin-bottom: 0.6rem;
    }
    .faq summary { font-weight: 600; cursor: pointer; }
    .faq details p { margin-top: 0.6rem; color: var(--muted); font-size: 0.925rem; }
    .sr-only {
      position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
      overflow: hidden; clip: rect(0,0,0,0); border: 0;
    }
    .hub-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }
    .source-link { font-size: 0.75rem; color: var(--muted); }

    /* —— Shared refined form controls —— */
    .dv-field { margin-bottom: 1.15rem; }
    .dv-label {
      display: block;
      font-size: 0.8125rem;
      font-weight: 600;
      letter-spacing: 0.01em;
      color: var(--text);
      margin-bottom: 0.45rem;
    }
    .dv-hint {
      display: block;
      font-size: 0.75rem;
      color: var(--muted);
      font-weight: 400;
      margin-top: 0.4rem;
      line-height: 1.45;
    }
    .dv-input-wrap {
      position: relative;
      display: flex;
      align-items: stretch;
    }
    .dv-input {
      width: 100%;
      height: 48px;
      box-sizing: border-box;
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 0 3.4rem 0 0.95rem;
      font: inherit;
      font-size: 1rem;
      font-variant-numeric: tabular-nums;
      background: #fff;
      color: var(--text);
      transition: border-color 0.15s ease, box-shadow 0.15s ease;
      -moz-appearance: textfield;
    }
    .dv-input::-webkit-outer-spin-button,
    .dv-input::-webkit-inner-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }
    .dv-input:hover { border-color: #cbd5e1; }
    .dv-input:focus {
      outline: none;
      border-color: var(--accent-mid);
      box-shadow: 0 0 0 3px rgba(26, 107, 74, 0.2);
    }
    .dv-input-suffix {
      position: absolute;
      right: 0.85rem;
      top: 50%;
      transform: translateY(-50%);
      font-size: 0.8125rem;
      font-weight: 600;
      color: var(--muted);
      pointer-events: none;
      letter-spacing: 0.01em;
    }
    .dv-range {
      width: 100%;
      margin-top: 0.65rem;
      -webkit-appearance: none;
      appearance: none;
      font-size: 1rem; /* avoid iOS zoom on focus */
      height: 6px;
      border-radius: 999px;
      background: linear-gradient(90deg, var(--accent-soft), #d5ebe0);
      outline: none;
    }
    .dv-range::-webkit-slider-thumb {
      -webkit-appearance: none;
      appearance: none;
      width: 20px; height: 20px;
      border-radius: 50%;
      background: var(--accent);
      border: 3px solid #fff;
      box-shadow: 0 1px 4px rgba(15,23,42,0.2);
      cursor: pointer;
      transition: transform 0.12s ease;
    }
    .dv-range::-webkit-slider-thumb:hover { transform: scale(1.08); }
    .dv-range::-moz-range-thumb {
      width: 20px; height: 20px;
      border-radius: 50%;
      background: var(--accent);
      border: 3px solid #fff;
      box-shadow: 0 1px 4px rgba(15,23,42,0.2);
      cursor: pointer;
    }
    .dv-range:focus-visible::-webkit-slider-thumb {
      box-shadow: 0 0 0 3px rgba(26, 107, 74, 0.25);
    }

    /* Segmented pills */
    .dv-seg {
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
      padding: 0.3rem;
      background: #f1f5f9;
      border-radius: 12px;
      border: 1px solid var(--border);
    }
    .dv-seg label {
      flex: 1 1 auto;
      min-width: 4.5rem;
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      gap: 0.35rem;
      border-radius: 9px;
      padding: 0.65rem 0.7rem;
      font-size: 0.8125rem;
      font-weight: 550;
      color: var(--muted);
      cursor: pointer;
      background: transparent;
      border: 1px solid transparent;
      transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
      user-select: none;
    }
    .dv-seg input {
      position: absolute;
      opacity: 0;
      width: 1px; height: 1px;
      pointer-events: none;
    }
    .dv-seg label:hover { color: var(--text); background: rgba(255,255,255,0.55); }
    .dv-seg label:has(input:checked) {
      background: #fff;
      color: var(--accent);
      font-weight: 650;
      border-color: #d5ebe0;
      box-shadow: 0 1px 2px rgba(15,23,42,0.05), 0 2px 8px rgba(15,23,42,0.04);
    }
    .dv-seg label:has(input:focus-visible) {
      outline: 2px solid var(--accent-mid);
      outline-offset: 2px;
    }

    /* Preset cards */
    .dv-preset-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.55rem;
    }
    @media (max-width: 340px) {
      .dv-preset-grid { grid-template-columns: 1fr; }
    }
    .dv-preset {
      position: relative;
      display: flex;
      flex-direction: column;
      gap: 0.2rem;
      align-items: flex-start;
      text-align: left;
      padding: 0.85rem 0.85rem 0.8rem;
      border: 1.5px solid var(--border);
      border-radius: 12px;
      background: #fff;
      cursor: pointer;
      transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
      box-shadow: 0 1px 2px rgba(15,23,42,0.03);
      min-height: 4.5rem;
    }
    .dv-preset input {
      position: absolute;
      opacity: 0;
      width: 1px; height: 1px;
      pointer-events: none;
    }
    .dv-preset:hover {
      border-color: #b8d4c8;
      box-shadow: 0 2px 8px rgba(15,23,42,0.06);
    }
    .dv-preset:has(input:checked) {
      border-color: var(--accent-mid);
      background: var(--accent-soft);
      box-shadow: 0 0 0 1px var(--accent-mid), 0 4px 14px rgba(11, 61, 46, 0.08);
    }
    .dv-preset:has(input:focus-visible) {
      outline: 2px solid var(--accent-mid);
      outline-offset: 2px;
    }
    .dv-preset-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      gap: 0.4rem;
    }
    .dv-preset-icon {
      width: 28px; height: 28px;
      border-radius: 8px;
      background: #f1f5f9;
      color: var(--accent);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .dv-preset:has(input:checked) .dv-preset-icon {
      background: #fff;
      color: var(--accent-mid);
    }
    .dv-preset-icon svg { width: 16px; height: 16px; }
    .dv-preset-check {
      width: 18px; height: 18px;
      border-radius: 50%;
      border: 1.5px solid #cbd5e1;
      background: #fff;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      opacity: 0;
      transform: scale(0.8);
      transition: opacity 0.15s ease, transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
    }
    .dv-preset:has(input:checked) .dv-preset-check {
      opacity: 1;
      transform: scale(1);
      background: var(--accent);
      border-color: var(--accent);
      color: #fff;
    }
    .dv-preset-check svg { width: 11px; height: 11px; }
    .dv-preset-title {
      font-size: 0.8125rem;
      font-weight: 650;
      color: var(--text);
      line-height: 1.3;
      margin-top: 0.35rem;
    }
    .dv-preset-kwh {
      font-size: 0.72rem;
      color: var(--muted);
      font-variant-numeric: tabular-nums;
    }

    /* Addon chips / toggles */
    .dv-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
    }
    .dv-chip {
      position: relative;
      display: inline-flex;
      align-items: center;
      gap: 0.55rem;
      padding: 0.55rem 0.85rem 0.55rem 0.65rem;
      border-radius: 999px;
      border: 1.5px solid var(--border);
      background: #fff;
      cursor: pointer;
      font-size: 0.8125rem;
      font-weight: 550;
      color: var(--text);
      transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
      user-select: none;
    }
    .dv-chip input {
      position: absolute;
      opacity: 0;
      width: 1px; height: 1px;
      pointer-events: none;
    }
    .dv-chip:hover { border-color: #b8d4c8; }
    .dv-chip:has(input:checked) {
      border-color: var(--accent-mid);
      background: var(--accent-soft);
      color: var(--accent);
      box-shadow: 0 1px 3px rgba(11,61,46,0.08);
    }
    .dv-chip:has(input:focus-visible) {
      outline: 2px solid var(--accent-mid);
      outline-offset: 2px;
    }
    .dv-toggle {
      width: 36px; height: 20px;
      border-radius: 999px;
      background: #cbd5e1;
      position: relative;
      flex-shrink: 0;
      transition: background 0.15s ease;
    }
    .dv-toggle::after {
      content: "";
      position: absolute;
      top: 2px; left: 2px;
      width: 16px; height: 16px;
      border-radius: 50%;
      background: #fff;
      box-shadow: 0 1px 3px rgba(15,23,42,0.2);
      transition: transform 0.15s ease;
    }
    .dv-chip:has(input:checked) .dv-toggle { background: var(--accent-mid); }
    .dv-chip:has(input:checked) .dv-toggle::after { transform: translateX(16px); }
    .dv-chip-meta { font-size: 0.7rem; color: var(--muted); font-weight: 500; }

    /* Buttons */
    .dv-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.4rem;
      height: 48px;
      padding: 0 1.25rem;
      border-radius: 12px;
      font: inherit;
      font-size: 0.9375rem;
      font-weight: 600;
      cursor: pointer;
      border: 0;
      text-decoration: none !important;
      transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease, color 0.15s ease;
    }
    .dv-btn:active { transform: translateY(1px); }
    .dv-btn-primary {
      background: linear-gradient(180deg, #1a6b4a 0%, #0b3d2e 100%);
      color: #fff !important;
      box-shadow: 0 1px 2px rgba(11,61,46,0.2), 0 4px 12px rgba(11,61,46,0.18);
    }
    .dv-btn-primary:hover {
      background: linear-gradient(180deg, #1f7a55 0%, #0e4a37 100%);
    }
    .dv-btn-primary:focus-visible {
      outline: 2px solid var(--accent-mid);
      outline-offset: 2px;
    }
    .dv-btn-secondary {
      background: #fff;
      color: var(--accent) !important;
      border: 1px solid var(--border);
      box-shadow: 0 1px 2px rgba(15,23,42,0.04);
    }
    .dv-btn-secondary:hover {
      background: var(--accent-soft);
      border-color: #b8d4c8;
    }
    .dv-btn-secondary:focus-visible {
      outline: 2px solid var(--accent-mid);
      outline-offset: 2px;
    }
    .dv-btn-ghost {
      background: transparent;
      color: var(--muted) !important;
      border: 1px solid transparent;
      height: 40px;
      font-size: 0.875rem;
      font-weight: 550;
    }
    .dv-btn-ghost:hover {
      color: var(--accent) !important;
      background: var(--accent-soft);
    }
    .dv-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.55rem;
      margin-top: 0.35rem;
    }
    @media (max-width: 560px) {
      .dv-actions .dv-btn { width: 100%; }
    }

    /* Sähkölaskuri layout */
    .calc-wrap {
      display: grid;
      gap: 1.5rem;
      grid-template-columns: 1fr;
    }
    @media (min-width: 960px) {
      .calc-wrap {
        grid-template-columns: minmax(300px, 400px) 1fr;
        align-items: start;
        gap: 1.75rem;
      }
    }
    .calc-panel {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 1.25rem 1.3rem 1.35rem;
      box-shadow: var(--shadow);
    }
    @media (min-width: 960px) {
      .calc-panel {
        position: sticky;
        top: 4.5rem;
      }
    }
    .calc-panel h2 {
      font-size: 1.05rem;
      margin: 0 0 1rem;
      letter-spacing: -0.01em;
    }
    .calc-spot-box {
      background: linear-gradient(180deg, #f6faf8 0%, #f8faf9 100%);
      border: 1px solid #d5ebe0;
      border-radius: 12px;
      padding: 0.85rem 0.95rem;
      margin-bottom: 1.05rem;
      font-size: 0.8rem;
      color: var(--muted);
      line-height: 1.5;
    }
    .calc-spot-box strong { color: var(--text); font-weight: 650; }
    .calc-spot-box a { color: var(--accent-mid); font-weight: 550; }

    .calc-results-col { min-width: 0; }
    .calc-rec {
      border: 1.5px solid #b8d4c8;
      background: linear-gradient(165deg, #f3faf6 0%, #ffffff 42%);
      border-radius: 16px;
      padding: 1.25rem 1.35rem 1.35rem;
      margin-bottom: 1rem;
      box-shadow: 0 4px 20px rgba(11, 61, 46, 0.07);
      animation: calcFadeIn 0.28s ease;
    }
    @keyframes calcFadeIn {
      from { opacity: 0; transform: translateY(6px); }
      to { opacity: 1; transform: none; }
    }
    .calc-rec .badge {
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
      font-size: 0.7rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.045em;
      color: var(--accent);
      background: #fff;
      border: 1px solid #b8d4c8;
      border-radius: 999px;
      padding: 0.28rem 0.65rem;
      margin-bottom: 0.7rem;
      box-shadow: 0 1px 2px rgba(15,23,42,0.04);
    }
    .calc-rec h3 {
      margin: 0 0 0.2rem;
      font-size: 1.2rem;
      letter-spacing: -0.015em;
      line-height: 1.3;
    }
    .calc-rec .price {
      font-size: 1.75rem;
      font-weight: 750;
      color: var(--accent);
      margin: 0.45rem 0 0.15rem;
      font-variant-numeric: tabular-nums;
      letter-spacing: -0.02em;
      line-height: 1.15;
    }
    .calc-rec .price span {
      display: block;
      font-size: 0.9rem;
      font-weight: 500;
      color: var(--muted);
      margin-top: 0.2rem;
      letter-spacing: 0;
    }
    .calc-rec .reason {
      color: var(--muted);
      font-size: 0.9rem;
      margin: 0.65rem 0 0.55rem;
      line-height: 1.5;
    }
    .calc-rec .meta {
      font-size: 0.78rem;
      color: var(--muted);
      margin-bottom: 1rem;
      line-height: 1.4;
    }
    .calc-rec .dv-btn { margin-top: 0.15rem; }
    @media (max-width: 560px) {
      .calc-rec .dv-btn { width: 100%; }
    }

    .calc-list-head {
      font-size: 0.95rem;
      font-weight: 650;
      margin: 1.35rem 0 0.7rem;
      letter-spacing: -0.01em;
    }
    .calc-list {
      display: flex;
      flex-direction: column;
      gap: 0.55rem;
    }
    .calc-card {
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 0.95rem 1.05rem;
      display: grid;
      gap: 0.3rem 1rem;
      grid-template-columns: 1fr auto;
      align-items: center;
      transition: box-shadow 0.15s ease, border-color 0.15s ease;
      animation: calcFadeIn 0.28s ease;
    }
    .calc-card:hover {
      border-color: #cbd5e1;
      box-shadow: 0 2px 10px rgba(15,23,42,0.05);
    }
    .calc-card.alt {
      border-style: dashed;
      background: #fafbfc;
    }
    .calc-card h4 {
      margin: 0;
      font-size: 0.95rem;
      letter-spacing: -0.01em;
    }
    .calc-card .type {
      font-size: 0.75rem;
      color: var(--muted);
      line-height: 1.35;
    }
    .calc-card .cost {
      text-align: right;
      font-variant-numeric: tabular-nums;
    }
    .calc-card .cost strong {
      display: block;
      font-size: 1.05rem;
      color: var(--accent);
      letter-spacing: -0.01em;
    }
    .calc-card .cost small {
      color: var(--muted);
      font-size: 0.75rem;
    }
    .calc-card .row-actions {
      grid-column: 1 / -1;
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      align-items: center;
      margin-top: 0.35rem;
      padding-top: 0.55rem;
      border-top: 1px solid #f1f5f9;
    }
    .calc-card .row-actions .dv-btn {
      height: 36px;
      font-size: 0.8125rem;
      padding: 0 0.9rem;
      border-radius: 10px;
    }
    .calc-disclaimer {
      margin-top: 1.35rem;
      font-size: 0.8rem;
      color: var(--muted);
      line-height: 1.55;
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 12px;
      padding: 0.95rem 1.05rem;
    }
    .calc-empty {
      color: var(--muted);
      padding: 2rem 1rem;
      text-align: center;
      background: var(--surface);
      border: 1px dashed var(--border);
      border-radius: 16px;
      font-size: 0.92rem;
    }
    .calc-compare-label {
      font-size: 0.8rem;
      color: var(--muted);
      margin: 0 0 0.5rem;
      font-weight: 550;
    }
    .calc-foot-note {
      font-size: 0.78rem;
      color: var(--muted);
      margin-top: 0.9rem;
      line-height: 1.45;
    }


    .calc-card .row-actions .dv-btn-secondary {
      background: transparent;
      border-color: transparent;
      color: var(--accent-mid) !important;
      box-shadow: none;
      height: 32px;
      padding: 0 0.35rem;
      font-weight: 600;
    }
    .calc-card .row-actions .dv-btn-secondary:hover {
      background: var(--accent-soft);
      border-color: transparent;
    }

    /* Legacy aliases kept for any leftover markup */
    .calc-field { margin-bottom: 1.15rem; }
    .calc-field label.dv-label, .calc-field > .dv-label { margin-bottom: 0.45rem; }

/* Language switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  margin-left: 0.75rem;
  padding: 0.15rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
}
.lang-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 1.75rem;
  padding: 0 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-decoration: none;
}
.lang-switcher a:hover { color: var(--text); background: var(--accent-soft); }
.lang-switcher a[aria-current="true"] {
  background: var(--accent);
  color: #fff;
}
.header-inner { flex-wrap: wrap; }
.header-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}
.answer-intro {
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--text);
  max-width: 46rem;
  margin: 0 0 1rem;
}
.last-checked {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0.5rem 0 0;
}
.faq details {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  background: #fff;
  margin-bottom: 0.65rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 650;
}
.faq details p { margin: 0.65rem 0 0; color: var(--muted); }
@media (max-width: 860px) {
  .lang-switcher { margin-left: 0; }
  .header-tools { width: 100%; justify-content: flex-end; order: 3; }
}
