:root {
  color-scheme: light;
  font-family: "Segoe UI", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #182d2b;
  --muted: #586d68;
  --quiet: #7c8d87;
  --green: #176b55;
  --green-dark: #0e4c40;
  --mint: #dcedde;
  --paper: #fffefa;
  --canvas: #f4f6f2;
  --line: #dce4dc;
  --soft: #eff3ed;
  --amber: #8e5815;
  --red: #9f4036;
  --shadow: 0 18px 48px rgb(21 54 44 / 7%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; min-width: 320px; min-height: 100vh; color: var(--ink); background: var(--canvas); }
a { color: inherit; }
button, select, textarea { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #1a8b6f; outline-offset: 3px; }

.topbar { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1200px; margin: auto; padding: 0 32px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 760; letter-spacing: -.025em; }
.brand-symbol { width: 33px; height: 33px; display: grid; place-items: center; border: 1px solid #c5ddc9; border-radius: 11px 11px 11px 4px; color: var(--green-dark); background: #e2efe2; font: 800 16px/1 Georgia, serif; }
.topnav { display: flex; align-items: center; gap: 26px; color: #526760; font-size: 12px; font-weight: 650; }
.topnav > a:not(.privacy-chip) { text-decoration: none; }
.topnav > a:not(.privacy-chip):hover, .footer nav a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.privacy-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid #cadfce; border-radius: 99px; color: #2c654c; background: #f5faf3; text-decoration: none; font-size: 11px; }
.privacy-dot { width: 7px; height: 7px; border-radius: 50%; background: #408865; box-shadow: 0 0 0 3px #dcefe0; }

main { max-width: 1100px; margin: auto; padding: 30px 32px 64px; }
.hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr); align-items: end; gap: 44px; min-height: 260px; padding: 28px 12px 34px; }
.eyebrow, .step-label { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; color: #668078; font-size: 10px; line-height: 1.4; font-weight: 800; letter-spacing: .15em; }
.eyebrow-rule { width: 22px; height: 1px; background: #77a08a; }
.hero h1 { max-width: 650px; margin: 0; font: 760 clamp(44px, 7vw, 70px)/.99 "Segoe UI", Inter, system-ui, sans-serif; letter-spacing: -.067em; }
.hero h1 em { color: #258166; font-style: normal; }
.hero-lede { max-width: 590px; margin: 17px 0 17px; color: #536861; font-size: 16px; line-height: 1.65; }
.hero-points { display: flex; flex-wrap: wrap; gap: 16px; color: #5b7169; font-size: 11px; font-weight: 650; }
.hero-points span { display: inline-flex; align-items: center; gap: 6px; }
.hero-points b { color: var(--green); font-size: 14px; }
.hero-note { display: flex; align-items: flex-start; gap: 13px; max-width: 344px; margin: 0 0 6px auto; padding: 17px; border: 1px solid #d9e1d8; border-radius: 14px; background: rgb(255 255 251 / 72%); }
.note-icon { width: 24px; height: 24px; display: grid; flex: 0 0 24px; place-items: center; border-radius: 50%; color: #356951; background: #e5efe3; font: 700 13px Georgia, serif; }
.hero-note strong { display: block; margin: 1px 0 4px; color: #334b41; font-size: 12px; }
.hero-note p { margin: 0; color: #687972; font-size: 11px; line-height: 1.55; }

.work-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(250px, .82fr); align-items: start; gap: 18px; }
.panel { border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); }
.checker { padding: 26px 28px 23px; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.panel-heading .step-label { margin-bottom: 5px; }
.step-label { margin-bottom: 9px; font-size: 9px; letter-spacing: .13em; }
.step-label span { color: #9aa9a2; }
.panel-heading h2, .how-card h2 { margin: 0; color: var(--ink); font-size: 21px; line-height: 1.2; letter-spacing: -.04em; }
.step-mark { color: #d7e1d9; font: 700 35px/1 Georgia, serif; }
.field-intro { margin: 0 0 17px; color: #70817a; font-size: 11px; line-height: 1.55; }
label { display: block; margin: 16px 0 7px; color: #32483f; font-size: 11px; font-weight: 750; }
.optional { margin-left: 5px; color: #87958e; font-size: 10px; font-weight: 450; }
select, textarea { width: 100%; border: 1px solid #d5dfd6; border-radius: 10px; color: #223a32; background: #fff; }
select { min-height: 41px; padding: 0 12px; font-size: 12px; }
textarea { display: block; min-height: 174px; padding: 12px 13px; resize: vertical; font-size: 12px; line-height: 1.6; }
textarea::placeholder { color: #94a19a; opacity: 1; }
select:focus, textarea:focus { border-color: #4c9976; outline: 0; box-shadow: 0 0 0 3px rgb(57 138 101 / 14%); }
.input-meta { display: flex; align-items: center; justify-content: space-between; margin: 5px 1px 9px; color: #8a9891; font-size: 10px; }
.quiet-button { padding: 4px 0; border: 0; color: #45735d; background: transparent; cursor: pointer; font-size: 10px; font-weight: 700; }
.quiet-button:hover { color: #174c3b; text-decoration: underline; text-underline-offset: 3px; }
.select-help { margin: 5px 1px 0; color: #82918a; font-size: 10px; line-height: 1.45; }
.button-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.primary-button, .secondary-button { min-height: 44px; border: 1px solid transparent; border-radius: 10px; cursor: pointer; font-size: 11px; font-weight: 750; transition: background .15s ease, transform .15s ease, box-shadow .15s ease; }
.primary-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; padding: 0 16px; color: white; background: var(--green); box-shadow: 0 5px 14px rgb(20 102 78 / 18%); }
.primary-button:hover { transform: translateY(-1px); background: var(--green-dark); box-shadow: 0 8px 18px rgb(20 102 78 / 22%); }
.primary-button span { font-size: 15px; font-weight: 450; }
.secondary-button { padding: 0 14px; border-color: #d9e3d9; color: #365847; background: #f6f8f3; }
.secondary-button:hover { background: #eaf1e9; }
.examples-box { margin-top: 14px; padding: 13px; border: 1px solid #dfe7dc; border-radius: 11px; background: #f5f7f2; }
.examples-box label { margin-top: 0; }
.example-controls { display: flex; gap: 8px; }
.example-controls select { flex: 1; }
.examples-box p { margin: 8px 0 0; color: #7d8a83; font-size: 9px; line-height: 1.45; }
.privacy-callout { display: flex; align-items: flex-start; gap: 10px; margin-top: 19px; padding: 13px 14px; border: 1px solid #d5e5d5; border-radius: 11px; background: #f1f7ee; }
.privacy-lock { display: grid; width: 22px; height: 22px; flex: 0 0 22px; place-items: center; border-radius: 7px; color: #26724f; background: #dfeddd; font-size: 12px; }
.privacy-callout p { margin: 0; color: #63756b; font-size: 10px; line-height: 1.55; }
.privacy-callout strong { color: #315b43; }
.aside-column { display: grid; gap: 14px; }
.how-card { padding: 20px 20px 19px; box-shadow: 0 12px 32px rgb(21 54 44 / 5%); }
.how-card h2 { max-width: 210px; margin: 0 0 16px; font-size: 17px; }
.signal-list { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.signal-list li { display: flex; align-items: center; gap: 10px; color: #526760; font-size: 10px; line-height: 1.35; }
.signal-icon { display: grid; width: 25px; height: 25px; flex: 0 0 25px; place-items: center; border: 1px solid #e0e8de; border-radius: 8px; color: #357657; background: #f2f7ef; font-size: 12px; font-weight: 800; }
.inline-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; color: #286a50; text-decoration: none; font-size: 10px; font-weight: 750; }
.inline-link:hover, .calm-card a:hover, .guides-heading > a:hover, .source-band a:hover { text-decoration: underline; text-underline-offset: 3px; }
.calm-card { display: flex; gap: 11px; padding: 17px; border: 1px solid #e6dcc4; border-radius: 14px; background: #f5f0e4; }
.calm-spark { color: #957133; font-size: 17px; line-height: 1; }
.calm-card h2 { margin: 0 0 5px; color: #554729; font-size: 12px; }
.calm-card p { margin: 0 0 9px; color: #75674a; font-size: 10px; line-height: 1.55; }
.calm-card a { color: #795b19; text-decoration: none; font-size: 10px; font-weight: 750; }

.result { margin-top: 18px; overflow: hidden; scroll-margin-top: 12px; }
.result[hidden] { display: none; }
.result-heading { display: grid; grid-template-columns: 43px minmax(0, 1fr) auto; align-items: start; gap: 14px; padding: 21px 24px; }
.result-heading.high { background: #f8e5e0; }
.result-heading.suspicious { background: #f7eedb; }
.result-heading.clear { background: #e8f1e6; }
.result-symbol { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgb(255 255 255 / 75%); border-radius: 13px; color: #315d47; background: #fffefb; font: 800 20px/1 Georgia, serif; }
.result-heading.high .result-symbol { color: var(--red); }
.result-heading.suspicious .result-symbol { color: var(--amber); }
.result-heading h2 { margin: 0; font-size: 19px; letter-spacing: -.035em; }
.result-heading p:not(.step-label) { max-width: 620px; margin: 5px 0 0; color: #5c6d65; font-size: 11px; line-height: 1.5; }
.result-heading .step-label { margin-bottom: 4px; }
.score-total { display: flex; flex-direction: column; align-items: center; padding: 6px 10px; border: 1px solid rgb(70 91 77 / 12%); border-radius: 9px; background: rgb(255 255 255 / 56%); }
.score-total strong { font: 750 19px/1.15 Georgia, serif; }
.score-total span { color: #77857c; font-size: 8px; }
.context-pill { display: inline-flex; margin-top: 7px; padding: 4px 7px; border-radius: 99px; color: #576b60; background: rgb(255 255 255 / 55%); font-size: 9px; font-weight: 650; }
.result-body { padding: 21px 24px 24px; }
.result-subheading { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.result-subheading h3, .url-review h3 { margin: 0; color: #2c433a; font-size: 12px; }
.result-subheading > span { color: #84928b; font-size: 9px; }
.findings-list { border-top: 1px solid #ecf0eb; }
.finding { display: grid; grid-template-columns: 23px minmax(0, 1fr); gap: 11px; padding: 13px 0; border-bottom: 1px solid #edf0ec; }
.finding-index { color: #91a097; font: 700 10px/1.5 Georgia, serif; }
.finding-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 9px; }
.finding h3 { margin: 0; color: #354c42; font-size: 11px; line-height: 1.4; }
.weight-pill { flex: 0 0 auto; padding: 3px 6px; border-radius: 99px; color: #758279; background: #f0f2ed; font-size: 8px; white-space: nowrap; }
.weight-pill.vahva { color: #8a4035; background: #f7e8e4; }
.weight-pill.kohtalainen { color: #87601f; background: #f8f0dd; }
.finding-copy > p { margin: 5px 0 0; color: #6c7b73; font-size: 10px; line-height: 1.55; }
.finding-copy .finding-quote { color: #52635a; }
mark { border-radius: 3px; padding: 1px 2px; color: #563b09; background: #ffe8a9; overflow-wrap: anywhere; }
.message-preview { margin: 16px 0 0; padding: 13px 15px; border: 1px solid #e2e9e1; border-radius: 11px; color: #52645b; background: #f7f8f5; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 11px; line-height: 1.7; }
.message-preview .step-label { margin-bottom: 7px; color: #82948b; font-size: 8px; }
.no-findings { margin-top: 10px; padding: 13px; border-radius: 10px; color: #476453; background: #f2f6ef; font-size: 11px; }
.no-findings p { margin: 4px 0 0; color: #738178; font-size: 10px; line-height: 1.5; }
.url-review { margin-top: 15px; padding: 13px 14px; border: 1px solid #e1e8e0; border-radius: 10px; background: #fafbf8; }
.url-review h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.url-review h3 span { color: #84918a; font-size: 8px; font-weight: 500; }
.url-review ul { display: grid; gap: 5px; margin: 9px 0 0; padding-left: 16px; }
.url-review li { color: #627369; font-size: 10px; }
.url-host { display: block; margin: 3px 0 0; color: #75847b; font-size: 9px; }
.input-error { margin: 18px; padding: 18px 20px; border: 1px solid #e3c0b7; border-radius: 12px; color: #713f37; background: #fbefec; }
.input-error h2 { margin: 0; font-size: 16px; }
.input-error p { margin: 7px 0 0; font-size: 11px; line-height: 1.55; }
.over-limit { color: #9e4337; font-weight: 750; }
.url-review code { overflow-wrap: anywhere; color: #3a5549; font: 10px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace; }
.url-review p { margin: 7px 0 0; color: #84918a; font-size: 9px; line-height: 1.45; }
.next-steps { margin-top: 16px; padding: 16px; border-radius: 12px; background: #f0f6ed; }
.next-steps .step-label { margin-bottom: 9px; color: #63806e; }
.next-steps ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.next-steps li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 8px; color: #53685b; font-size: 10px; line-height: 1.55; }
.next-steps li > span { color: #39805c; font-weight: 800; }
.next-steps a { display: inline-flex; gap: 7px; margin-top: 12px; color: #236849; text-decoration: none; font-size: 10px; font-weight: 750; }
.result-limit { margin: 12px 1px 0; color: #87938b; font-size: 9px; line-height: 1.55; }
.empty-result { display: flex; align-items: center; gap: 12px; padding: 18px 20px; }
.empty-result > span { color: #54836b; font-size: 22px; }
.empty-result h2 { margin: 0; font-size: 14px; }
.empty-result p { margin: 4px 0 0; color: #77867d; font-size: 10px; }

.guides-section { margin-top: 55px; }
.guides-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 0 4px 18px; }
.guides-heading .eyebrow { margin-bottom: 9px; }
.guides-heading h2 { max-width: 600px; margin: 0; font-size: clamp(23px, 4vw, 31px); line-height: 1.1; letter-spacing: -.05em; }
.guides-heading > a, .source-band a { display: inline-flex; flex: 0 0 auto; gap: 8px; align-items: center; color: #286a50; text-decoration: none; font-size: 10px; font-weight: 750; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.guide-card { min-height: 76px; display: grid; grid-template-columns: 35px minmax(0, 1fr) 14px; align-items: center; gap: 10px; padding: 13px; border: 1px solid #dfe6dc; border-radius: 12px; color: inherit; background: #fbfcf8; text-decoration: none; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.guide-card:hover { transform: translateY(-2px); border-color: #b5d0b9; box-shadow: 0 8px 20px rgb(21 54 44 / 7%); }
.guide-icon { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid #dfebdc; border-radius: 10px; color: #327150; background: #f0f6ed; font-size: 15px; }
.guide-card small { display: block; margin-bottom: 4px; color: #819086; font-size: 7px; font-weight: 800; letter-spacing: .12em; }
.guide-card strong { display: block; color: #364e42; font-size: 10px; line-height: 1.35; }
.guide-arrow { color: #8aa496; font-size: 12px; }
.source-band { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 17px; padding: 14px 16px; border: 1px solid #e1e6de; border-radius: 11px; background: #edf1e9; }
.source-band p { margin: 0; color: #65756b; font-size: 10px; }

.footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 8px 20px; max-width: 1100px; margin: 0 auto; padding: 21px 32px 26px; border-top: 1px solid #e0e6de; }
.footer-brand { font-size: 12px; }
.footer-brand .brand-symbol { width: 27px; height: 27px; border-radius: 9px 9px 9px 3px; font-size: 13px; }
.footer > p { margin: 0; color: #819087; font-size: 10px; }
.footer nav { display: flex; gap: 15px; color: #66776d; font-size: 9px; }
.footer nav a { text-decoration: none; }
.footer > small { grid-column: 1 / -1; color: #929d95; font-size: 8px; }

/* Source-backed guide pages */
.article-wrap { max-width: 800px; margin: auto; padding: 34px 28px 64px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 24px; color: #829187; font-size: 10px; }
.breadcrumbs a { color: #3c7559; text-decoration: none; }
.article-hero { padding: 29px 32px; border: 1px solid #dce5db; border-radius: 18px; background: linear-gradient(135deg, #eff5ec, #fffefa 72%); box-shadow: var(--shadow); }
.article-hero h1 { max-width: 680px; margin: 0; font-size: clamp(31px, 6vw, 44px); line-height: 1.04; letter-spacing: -.055em; }
.article-hero .article-lede { max-width: 640px; margin: 13px 0 0; color: #60736a; font-size: 14px; line-height: 1.7; }
.article-meta { margin: 17px 0 0; color: #839188; font-size: 9px; }
.article-body { padding: 8px 5px; }
.article-body h2 { margin: 30px 0 10px; color: #263e34; font-size: 20px; letter-spacing: -.035em; }
.article-body p, .article-body li { color: #5f7167; font-size: 13px; line-height: 1.75; }
.article-body p { margin: 10px 0; }
.article-body ul, .article-body ol { display: grid; gap: 7px; padding-left: 21px; }
.article-callout { margin: 22px 0; padding: 17px 18px; border-left: 3px solid #3e8760; border-radius: 0 11px 11px 0; background: #eef5ec; }
.article-callout strong { display: block; margin-bottom: 5px; color: #31583f; font-size: 12px; }
.article-callout p { margin: 0; }
.article-sources { margin-top: 28px; padding: 18px; border: 1px solid #dfe7dc; border-radius: 12px; background: #fbfcf8; }
.article-sources h2 { margin: 0 0 10px; font-size: 15px; }
.article-sources ul { display: grid; gap: 8px; margin: 0; padding-left: 18px; }
.article-sources li { font-size: 11px; line-height: 1.5; }
.article-sources a { color: #27674a; font-weight: 700; text-underline-offset: 3px; }
.article-source-date { color: #86938b; font-size: 9px; }
.article-cta { display: inline-flex; gap: 8px; align-items: center; margin-top: 20px; padding: 11px 14px; border-radius: 9px; color: white; background: #176b55; text-decoration: none; font-size: 11px; font-weight: 750; }
.article-cta:hover { background: #0e4c40; }
.guide-index-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 22px 0; }
.guide-index-grid a { display: block; padding: 15px; border: 1px solid #dfe6dc; border-radius: 11px; background: #fbfcf8; text-decoration: none; }
.guide-index-grid a:hover { border-color: #b5d0b9; }
.guide-index-grid strong { display: block; color: #304a3c; font-size: 12px; }
.guide-index-grid span { display: block; margin-top: 5px; color: #77867c; font-size: 10px; line-height: 1.5; }

@media (max-width: 760px) {
  .topbar { height: 64px; padding: 0 20px; }
  .topnav { gap: 15px; }
  .topnav > a:not(.privacy-chip) { display: none; }
  main { padding: 22px 20px 50px; }
  .hero { grid-template-columns: 1fr; gap: 19px; min-height: 0; padding: 19px 5px 24px; }
  .hero-note { max-width: 420px; margin: 0; }
  .work-grid { grid-template-columns: 1fr; }
  .aside-column { grid-template-columns: 1fr 1fr; }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .footer { padding-right: 20px; padding-left: 20px; }
}
@media (max-width: 520px) {
  .topbar { padding: 0 15px; }
  .brand { font-size: 13px; }
  .privacy-chip { padding: 8px 10px; font-size: 9px; }
  main { padding: 16px 14px 42px; }
  .hero { gap: 15px; padding: 17px 3px 19px; }
  .hero h1 { font-size: clamp(45px, 14vw, 60px); }
  .hero-lede { margin: 13px 0; font-size: 13px; }
  .hero-points { gap: 11px; font-size: 9px; }
  .hero-note { padding: 13px; }
  .checker { padding: 21px 17px 17px; }
  .panel-heading h2 { font-size: 19px; }
  .aside-column { grid-template-columns: 1fr; }
  .how-card { padding: 17px; }
  .calm-card { padding: 14px; }
  .example-controls { flex-direction: column; }
  .result-heading { grid-template-columns: 37px minmax(0, 1fr) auto; gap: 10px; padding: 17px 14px; }
  .result-symbol { width: 36px; height: 36px; }
  .result-heading h2 { font-size: 15px; }
  .result-heading p:not(.step-label) { font-size: 10px; }
  .result-body { padding: 16px 14px 17px; }
  .finding-title-row { display: block; }
  .weight-pill { display: inline-block; margin-top: 5px; }
  .url-review h3 { display: block; }
  .url-review h3 span { display: block; margin-top: 4px; }
  .guides-section { margin-top: 39px; }
  .guides-heading { align-items: start; margin-right: 1px; margin-left: 1px; }
  .guides-heading h2 { font-size: 24px; }
  .guides-heading > a { margin-top: 24px; font-size: 9px; }
  .guide-grid { grid-template-columns: 1fr; gap: 7px; }
  .guide-card { min-height: 66px; }
  .source-band { align-items: flex-start; flex-direction: column; }
  .footer { grid-template-columns: 1fr auto; gap: 9px; padding: 17px 15px 21px; }
  .footer > p { display: none; }
  .footer nav { gap: 11px; }
  .footer > small { font-size: 8px; }
  .article-wrap { padding: 24px 15px 45px; }
  .article-hero { padding: 23px 19px; }
  .article-hero .article-lede { font-size: 13px; }
  .article-body h2 { font-size: 18px; }
  .article-body p, .article-body li { font-size: 12px; }
  .guide-index-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
