:root {
  color-scheme: light;
  --forest: #173e32;
  --forest-dark: #102e26;
  --lake: #285b70;
  --ivory: #f7f6ef;
  --paper: #fffef9;
  --ink: #243c33;
  --muted: #54645c;
  --line: #ccd4c9;
  --blue-wash: #e7eff1;
  --green-wash: #eaf0e5;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.7; }
img { display: block; max-width: 100%; }
a { color: var(--forest); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--lake); outline-offset: 5px; }
.site-header :focus-visible, .hero :focus-visible { outline-color: #ffe19a; }
#main:focus { outline: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.14; margin: 0 0 1rem; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.8rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 3.3vw, 3rem); letter-spacing: -.035em; }
h3 { font-size: 1.55rem; letter-spacing: -.02em; }
p { margin: 0 0 1.2rem; }
p:last-child { margin-bottom: 0; }
.container { width: min(1200px, calc(100% - 4rem)); margin-inline: auto; }
.section { padding-block: 5rem; }
.section-topless { padding-top: 0; }
.section-small { padding-block: 2rem; }
.eyebrow, .card-label { font-size: .74rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow { margin-bottom: 1.25rem; color: var(--lake); }
.lead { max-width: 720px; color: var(--muted); font-size: 1.15rem; line-height: 1.8; }
.small { font-size: .87rem; }
.muted { color: var(--muted); }
.skip-link { position: absolute; top: -100px; left: 1rem; padding: .8rem 1.2rem; z-index: 10; background: var(--paper); }
.skip-link:focus { top: 1rem; }
.site-header { background: var(--forest); color: var(--paper); }
.header-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem 2rem; padding-block: 1.2rem; }
.site-header a { color: inherit; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; flex-shrink: 0; font-family: var(--serif); font-size: 1.8rem; line-height: 1.1; }
.brand small { display: block; margin-top: .4rem; font: .62rem var(--sans); letter-spacing: .11em; text-transform: uppercase; }
.brand-mark { display: grid; place-items: center; width: 43px; height: 48px; border: 1px solid #9db6a4; border-radius: 22px 22px 3px 3px; font-size: 1.85rem; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem 1.25rem; margin-left: auto; }
.main-nav a, .account-nav a, .text-button { display: inline-flex; align-items: center; min-height: 44px; font-size: .85rem; text-decoration: none; }
.main-nav a:hover, .account-nav a:hover, .text-button:hover { text-decoration: underline; }
.site-header [aria-current='page'] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .5em; }
.account-nav { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.account-nav form { margin: 0; }
.login-link { gap: 1rem; border: 1px solid #809d8d; border-radius: 4px; padding: .35rem .9rem; }
.text-button { border: 0; padding: 0; background: transparent; color: inherit; }
.hero { position: relative; isolation: isolate; min-height: 620px; overflow: hidden; background: var(--forest-dark); color: #fff; }
.hero-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 33, 28, .94), rgba(10, 33, 28, .76) 48%, rgba(10, 33, 28, .18)); }
.hero-content { padding-block: 5.5rem 6rem; }
.hero .eyebrow { color: #d5e6d6; }
.hero h1 { max-width: 740px; font-size: clamp(2.8rem, 5.2vw, 4.8rem); }
.hero-content > p:not(.eyebrow) { max-width: 510px; font-size: 1.05rem; color: #f2f5ee; }
.actions { display: flex; flex-wrap: wrap; gap: 1.1rem 1.8rem; align-items: center; margin-top: 2rem; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 1.5rem; min-height: 48px; padding: .8rem 1.3rem; background: var(--forest); border: 1px solid var(--forest); border-radius: 4px; color: #fff; text-decoration: none; font-size: .9rem; font-weight: 650; line-height: 1.5; text-align: center; }
.button:hover { background: var(--forest-dark); color: #fff; text-decoration: underline; }
.button-light { background: var(--ivory); color: var(--forest); border-color: var(--ivory); }
.button-light:hover { background: #e7eddf; color: var(--forest); }
.button-outline { color: var(--forest); background: transparent; }
.hero-link { display: inline-flex; align-items: center; min-height: 48px; gap: 1rem; color: #fff; font-size: .9rem; }
.hero-caption { position: absolute; bottom: 1.5rem; right: 2rem; padding: .3rem .7rem; background: rgba(10, 33, 28, .75); font-size: .7rem; letter-spacing: .08em; }
.intro-strip { border-bottom: 1px solid var(--line); background: var(--green-wash); }
.strip-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; padding-block: 1.15rem; font-size: .85rem; }
.strip-inner > span { color: var(--muted); }
.strip-inner > span > span { padding-inline: .7rem; color: var(--lake); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 420px; color: var(--muted); }
.section-heading.compact { margin-block: 2.5rem 1.5rem; align-items: center; }
.compact h2 { font-size: clamp(1.8rem, 3vw, 2.35rem); }
.card-grid { display: grid; gap: 1.25rem; }
.three-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; padding: 2rem; border: 1px solid var(--line); background: var(--paper); border-radius: 5px; min-width: 0; overflow-wrap: anywhere; }
.card-label { display: block; color: var(--lake); margin-bottom: 1.8rem; }
.card p { color: var(--muted); font-size: .95rem; }
.card-link { display: flex; justify-content: space-between; align-items: center; gap: .6rem; min-height: 44px; margin-top: auto; padding-top: .8rem; font-size: .88rem; font-weight: 650; }
.community-panel { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem; background: var(--green-wash); padding: 3rem; border-radius: 5px; border-top: 3px solid var(--forest); }
.community-panel h2 { margin: 0; }
.community-panel p:not(.eyebrow) { color: var(--muted); }
.page-header { padding-block: 4.5rem 3rem; }
.page-header h1 { max-width: 950px; }
.page-hero { position: relative; isolation: isolate; min-height: 390px; overflow: hidden; background: var(--forest-dark); color: #fff; }
.page-hero-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 33, 28, .92), rgba(10, 33, 28, .7) 52%, rgba(10, 33, 28, .24)); }
.page-hero-content { padding-block: 5rem 3.5rem; }
.page-hero .eyebrow { color: #d5e6d6; }
.page-hero h1 { max-width: 850px; }
.page-hero .lead { color: #f2f5ee; }
.page-hero--preparedness .page-hero-image { object-position: center 52%; }
.page-hero--villages .page-hero-image { object-position: center 48%; }
.page-hero--resources .page-hero-image { object-position: center 48%; }
.page-hero--radio .page-hero-image { object-position: center 46%; }
.page-hero--dashboard .page-hero-image { object-position: center 45%; }
.notice { padding: 1.5rem 1.75rem; background: var(--green-wash); border-left: 3px solid var(--forest); border-radius: 0 4px 4px 0; }
.notice-blue { background: var(--blue-wash); border-color: var(--lake); }
.notice p { margin-top: .5rem; font-size: .95rem; }
.notice h3 { font-size: 1.5rem; }
.tag, .status { display: inline-block; width: fit-content; font-size: .75rem; line-height: 1.5; padding: .35rem .7rem; color: var(--forest); background: var(--green-wash); border-radius: 3px; }
.tag { flex-shrink: 0; border: 1px solid var(--line); }
.village-card { border-top: 3px solid #779282; }
.village-card .status, .resource-card .status { margin-top: auto; }
.inline-callout { display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--line); margin-top: 3rem; padding-top: 2rem; }
.inline-callout p { max-width: 750px; color: var(--muted); }
.inline-callout .button { flex-shrink: 0; }
.resource-details { margin: 0 0 1.4rem; font-size: .9rem; }
.resource-details > div { display: flex; justify-content: space-between; gap: 1rem; padding-block: .6rem; border-bottom: 1px solid var(--line); }
.resource-details dt { color: var(--muted); }
.resource-details dd { text-align: right; margin: 0; font-weight: 600; }
.resource-note { padding-bottom: .5rem; }
.formatted-text p, .resource-note p { margin-bottom: 1rem; }
.formatted-text p:last-child, .resource-note p:last-child { margin-bottom: 0; }
.radio-addition { margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.radio-addition h4 { margin: 0 0 .45rem; color: var(--forest); font-size: .9rem; font-weight: 700; line-height: 1.45; }
.radio-addition p { margin: 0; font-size: .88rem; }
.empty-state { grid-column: 1 / -1; padding: 2.5rem; border: 1px dashed var(--line); border-radius: 5px; }
.empty-state p { max-width: 650px; }
.guide-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 4rem; align-items: start; }
.guide-sidebar { position: sticky; top: 2rem; padding: 1.5rem; background: var(--green-wash); border-radius: 4px; }
.guide-sidebar nav { display: grid; margin-bottom: 1.5rem; }
.guide-sidebar nav a { display: flex; align-items: center; min-height: 44px; padding-block: .5rem; font-size: .9rem; border-bottom: 1px solid var(--line); }
.guide-section { padding-block: 2.5rem; border-bottom: 1px solid var(--line); scroll-margin-top: 1.5rem; }
.guide-section:first-child { padding-top: 0; }
.guide-section:last-child { border: 0; padding-bottom: 0; }
.guide-section .eyebrow { margin-bottom: .7rem; }
.guide-section h2 { font-size: 2.2rem; }
.guide-section h3 { margin-top: 2rem; }
.guide-steps { counter-reset: guide-step; display: grid; gap: 1rem; padding: 0; margin: 1.6rem 0; list-style: none; }
.guide-steps li { position: relative; min-height: 3rem; padding: .8rem 1rem .8rem 4rem; background: var(--paper); border-left: 2px solid var(--lake); border-radius: 0 4px 4px 0; }
.guide-steps li::before { counter-increment: guide-step; content: counter(guide-step); position: absolute; top: .75rem; left: 1rem; display: grid; place-items: center; width: 2rem; height: 2rem; color: #fff; background: var(--lake); border-radius: 50%; font-weight: 700; font-size: .85rem; }
.tupaohje-downloads { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(220px, .6fr); gap: 2rem; align-items: center; margin-bottom: 3rem; padding: 2rem; background: var(--green-wash); border-top: 3px solid var(--forest); border-radius: 5px; }
.tupaohje-downloads h2 { margin-bottom: .75rem; }
.tupaohje-downloads p { max-width: 680px; }
.tupaohje-actions { display: grid; gap: .75rem; }
.tupaohje-actions .button { justify-content: center; text-align: center; }
.invite-code { overflow-wrap: anywhere; padding: 1rem 1.25rem; background: var(--paper); border: 1px dashed var(--forest); font-size: 1.1rem; }
.check-list { padding-left: 1.4rem; margin: 1.5rem 0; }
.check-list li { padding-left: .4rem; margin-bottom: .9rem; }
.check-list li::marker { color: var(--lake); }
.radio-panel { display: grid; grid-template-columns: 1fr 2fr; align-items: center; gap: 3rem; padding: 3.5rem; border-radius: 5px; background: var(--forest); color: var(--ivory); }
.radio-panel .eyebrow { color: #cfdfd2; }
.radio-panel .muted { color: #d5e6d6; }
.radio-panel p:last-child { max-width: 610px; }
.radio-symbol { color: #c4d8c8; font-family: var(--serif); text-align: center; font-size: clamp(2rem, 4vw, 4rem); letter-spacing: .08em; }
.session-panel { display: flex; align-items: center; justify-content: space-between; gap: 2rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.session-panel p { margin: 0; color: var(--muted); }
.login-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: start; min-height: 70vh; }
.login-intro { padding-top: 1rem; }
.login-intro h1 { font-size: clamp(2.5rem, 4vw, 3.8rem); }
.login-intro > a { display: inline-block; padding-block: .7rem; }
.login-note { margin-top: 2rem; max-width: 500px; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .9rem; }
.login-note p { margin-top: .5rem; color: var(--muted); }
.login-card { padding: 2.5rem; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--forest); border-radius: 5px; }
.login-card h2 { font-size: 2rem; }
.login-form { margin-block: 1.5rem; }
.login-form label { display: block; margin-bottom: .45rem; font-weight: 600; font-size: .9rem; }
.login-form input:not([type='hidden']):not([type='checkbox']) { width: 100%; min-height: 48px; border: 1px solid #819588; background: #fff; color: var(--ink); padding: .7rem .9rem; border-radius: 3px; }
.login-form input[aria-invalid='true'] { border: 2px solid #a43c30; }
.login-form .button { width: 100%; margin-top: .5rem; }
.login-form .helptext { display: block; color: var(--muted); font-size: .8rem; margin-top: .4rem; }
.errorlist { color: #8b2f25; font-size: .9rem; padding-left: 1.3rem; }
.form-error { border-left: 3px solid #a43c30; padding: 1rem; background: #f9eae5; color: #77291f; font-size: .9rem; margin-top: 1.5rem; }
.form-error p { margin-top: .3rem; }
.messages { padding-top: 1.5rem; }
.messages .notice { margin: 0; }
.workspace-header { padding-block: 4.5rem 2.5rem; border-bottom: 1px solid var(--line); }
.workspace-header h1 { max-width: 760px; }
.workspace-header .lead { max-width: 700px; }
.workspace-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.workspace-actions .button { gap: .7rem; }
.content-list { margin-top: 2rem; }
.content-list .card { gap: .75rem; }
.content-list .card h3 { margin-bottom: 0; }
.content-list .card .card-link { margin-top: .5rem; }
.content-form { max-width: 760px; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line); border-top: 3px solid var(--forest); background: var(--paper); border-radius: 5px; }
.content-form .field { margin-bottom: 1.35rem; }
.content-form label { display: block; margin-bottom: .45rem; font-size: .9rem; font-weight: 650; }
.content-form input:not([type='hidden']):not([type='checkbox']), .content-form select, .content-form textarea { width: 100%; min-height: 48px; padding: .7rem .9rem; color: var(--ink); background: #fff; border: 1px solid #819588; border-radius: 3px; }
.content-form textarea { min-height: 130px; resize: vertical; }
.content-form input[type='checkbox'] { width: 1.15rem; height: 1.15rem; accent-color: var(--forest); }
.content-form .helptext { display: block; margin-top: .4rem; color: var(--muted); font-size: .82rem; }
.character-count { margin: .4rem 0 0; color: var(--muted); font-size: .82rem; text-align: right; }
.content-form .actions { margin-top: 2rem; }
.content-form .button { gap: .7rem; }
.site-footer { border-top: 1px solid var(--line); background: var(--green-wash); padding-block: 2.5rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: start; gap: 2rem; flex-wrap: wrap; }
.footer-brand { font-family: var(--serif); font-size: 1.75rem; text-decoration: none; }
.footer-inner p, .footer-inner > a { font-size: .8rem; color: var(--muted); }
.footer-inner > a { display: inline-flex; align-items: center; min-height: 44px; color: var(--forest); }
@media (min-width: 1500px) { .hero { min-height: 690px; } .hero-content { padding-top: 7rem; } }
@media (max-width: 1100px) {
  .header-inner { gap: .75rem 1.5rem; }
  .main-nav { order: 3; width: 100%; margin: 0; border-top: 1px solid #557263; padding-top: .4rem; }
  .account-nav { margin-left: auto; }
  .three-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-layout { grid-template-columns: 210px minmax(0, 1fr); gap: 2rem; }
  .card { padding: 1.5rem; }
}
@media (max-width: 700px) {
  .container { width: calc(100% - 2.5rem); }
  .section { padding-block: 3rem; }
  .section-topless { padding-top: 0; }
  .brand { font-size: 1.55rem; }
  .brand small { font-size: .55rem; }
  .brand-mark { width: 35px; height: 41px; }
  .header-inner { gap: .8rem; padding-block: 1rem .5rem; }
  .account-nav { gap: .3rem .8rem; }
  .account-nav a, .text-button { font-size: .78rem; }
  .main-nav { gap: 0 1.1rem; }
  .main-nav a { font-size: .8rem; }
  .hero { min-height: 580px; }
  .hero-content { padding-block: 3.5rem 5rem; }
  .hero::before { background: linear-gradient(90deg, rgba(10, 33, 28, .91), rgba(10, 33, 28, .69)); }
  .hero-image { object-position: 62% center; }
  .hero h1 { font-size: clamp(2.6rem, 9vw, 3.7rem); }
  .hero-caption { right: 1.25rem; font-size: .63rem; }
  .section-heading { display: block; margin-bottom: 1.7rem; }
  .section-heading > p { margin-top: 1.2rem; }
  .section-heading .tag { margin-top: 1rem; }
  .three-columns, .two-columns, .community-panel, .guide-layout, .radio-panel, .login-layout, .tupaohje-downloads { grid-template-columns: 1fr; }
  .community-panel { padding: 2rem; gap: 1.5rem; }
  .page-header { padding-block: 3rem 2rem; }
  .page-hero { min-height: 360px; }
  .page-hero-content { padding-block: 3.5rem 2.5rem; }
  .page-hero::before { background: linear-gradient(90deg, rgba(10, 33, 28, .91), rgba(10, 33, 28, .68)); }
  .lead { font-size: 1.05rem; }
  .notice { padding: 1.25rem; }
  .guide-sidebar { position: static; }
  .guide-layout { gap: 2.5rem; }
  .guide-section h2 { font-size: 1.9rem; }
  .guide-steps li { padding-left: 3.75rem; }
  .inline-callout, .session-panel { align-items: start; flex-direction: column; gap: 1rem; }
  .radio-panel { padding: 2rem; gap: 1.5rem; }
  .radio-symbol { text-align: left; font-size: 2.5rem; }
  .login-card { padding: 1.5rem; }
  .footer-inner { flex-direction: column; gap: 1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  @page { margin: 18mm; }
  body { background: #fff; color: #000; font-size: 11pt; line-height: 1.5; }
  .site-header, .site-footer, .skip-link, .guide-sidebar, .actions, .session-panel, .hero-caption { display: none !important; }
  .container { width: 100%; max-width: none; }
  .section, .page-header { padding: 0; }
  .page-header { margin-bottom: 1.5rem; }
  .guide-layout { display: block; }
  h1 { font-size: 28pt; } h2, .guide-section h2 { font-size: 20pt; } h3 { font-size: 15pt; }
  h1, h2, h3, .eyebrow { break-after: avoid; }
  p, li { orphans: 3; widows: 3; }
  a, .muted, .lead, .eyebrow { color: #000; }
  .guide-section { padding-block: 1.3rem; }
  .notice, .card { background: #fff; border: 1px solid #777; break-inside: avoid; }
  .notice { margin-block: 1rem; }
  .hero-image, .page-hero-image { display: none; }
  .hero, .page-hero, .radio-panel { background: #fff; color: #000; min-height: 0; }
  .hero::before, .page-hero::before { display: none; }
  .hero-content, .page-hero-content { padding: 1rem 0; }
  .hero-content > p:not(.eyebrow), .hero .eyebrow, .page-hero .lead, .page-hero .eyebrow { color: #000; }
}
