/* Community Meeting Kit — "Hääletuskaardid": chalk paper, slate ink, raised voting cards in jade, saffron and poppy. */

@font-face { font-family: "Rubik"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/rubik-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/rubik-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/rubik-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/rubik-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/rubik-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/rubik-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/rubik-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Rubik"; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/rubik-latin-ext-800-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --chalk: #f5f2ea;
  --paper: #ffffff;
  --sunk: #ece7dc;
  --slate: #22303c;
  --slate-2: #3a4855;
  --soft: #55606a;
  --line: #dcd5c7;
  --jade: #0e7c66;
  --jade-dark: #0a5f4e;
  --jade-tint: #dcefe8;
  --saffron: #f1b434;
  --saffron-text: #7a5000;
  --poppy: #e04b2f;
  --poppy-text: #b3341b;
  --radius: 14px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--chalk);
  color: var(--slate);
  font-family: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--jade-dark); text-underline-offset: 3px; }
a:hover { color: var(--jade); }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.6em; overflow-wrap: anywhere; hyphens: auto; -webkit-hyphenate-limit-before: 4; -webkit-hyphenate-limit-after: 4; hyphenate-limit-chars: 12 5 5; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(2.1rem, 6.4vw, 4rem); letter-spacing: -0.02em; }
h2 { font-weight: 800; font-size: clamp(1.6rem, 4.2vw, 2.5rem); letter-spacing: -0.015em; }
h3 { font-weight: 700; font-size: 1.2rem; }
p { margin: 0 0 1em; overflow-wrap: break-word; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }
.kicker { font-weight: 700; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--jade-dark); margin: 0 0 0.8em; }
.lead { font-size: 1.2rem; color: var(--soft); max-width: 40em; }
.small { font-size: 0.9rem; color: var(--soft); }
.text-link { font-weight: 700; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--slate); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.top { border-bottom: 2px solid var(--slate); background: var(--chalk); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 68px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--slate); text-decoration: none; font-weight: 800; font-size: 1.1rem; }
.brand span { overflow-wrap: anywhere; }
.nav { display: flex; gap: 4px 18px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav a { display: inline-block; padding: 8px 2px; color: var(--slate); text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--jade-dark); text-decoration: underline; text-decoration-thickness: 2px; }

/* Store button: a small voting card next to the label */
.play { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px 20px 8px 14px; border-radius: 12px; background: var(--slate); color: #fff; text-decoration: none; border: 2px solid var(--slate); }
.play:hover { background: var(--slate-2); color: #fff; }
.play-card { width: 18px; height: 26px; border-radius: 4px; background: var(--saffron); box-shadow: 6px -4px 0 -1px var(--jade); margin-right: 4px; }
.play-text { display: flex; flex-direction: column; line-height: 1.15; }
.play-small { font-size: 0.78rem; opacity: 0.85; }
.play-big { font-weight: 700; font-size: 1.1rem; }
.play-soon { background: transparent; color: var(--slate); cursor: default; }
.play-soon:hover { background: transparent; color: var(--slate); }

/* Table edge: the slate band the raised cards stand on */
.edge { height: 18px; background: var(--slate); }

/* Hero */
.hero { padding-top: clamp(28px, 6vw, 64px); }
.hero-grid { display: grid; gap: 28px; align-items: end; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin: 26px 0 18px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0 0 28px; padding: 0; }
.facts li { font-weight: 500; font-size: 0.92rem; padding: 4px 12px; border-radius: 8px; background: var(--paper); border: 1.5px solid var(--line); }
.paddles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 2.4vw, 22px); align-items: end; }
.paddle { margin: 0; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.paddle-card { position: relative; width: 100%; background: var(--paper); border: 3px solid var(--slate); border-radius: 16px; padding: 6px; }
.paddle-card img { width: 100%; aspect-ratio: 480 / 820; object-fit: cover; object-position: top; border-radius: 10px; }
.stick { width: 14%; max-width: 20px; min-width: 8px; background: var(--slate); border-radius: 0; }
.paddle-1 .stick { height: 48px; }
.paddle-2 .stick { height: 96px; }
.paddle-3 .stick { height: 64px; }
.tab-jade::before, .tab-saffron::before, .tab-poppy::before, .tab-slate::before { content: ""; position: absolute; top: -10px; left: 18px; width: 30%; max-width: 72px; height: 14px; border-radius: 5px; }
.tab-jade::before { background: var(--jade); }
.tab-saffron::before { background: var(--saffron); }
.tab-poppy::before { background: var(--poppy); }
.tab-slate::before { background: var(--slate); }

/* Agenda of the page */
.agenda { padding: clamp(48px, 8vw, 96px) 0 24px; }
.section-head { max-width: 44em; margin-bottom: 28px; }
.section-head p:last-child { color: var(--soft); }
.agenda-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--slate); }
.agenda-list li { border-bottom: 1px solid var(--line); }
.agenda-list a { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: center; padding: 14px 4px; color: var(--slate); text-decoration: none; }
.agenda-list a:hover .agenda-title { color: var(--jade-dark); text-decoration: underline; }
.agenda-time { font-weight: 700; color: var(--jade-dark); font-variant-numeric: tabular-nums; font-size: 0.95rem; }
.agenda-title { grid-column: 2; font-weight: 700; font-size: 1.15rem; overflow-wrap: anywhere; }
.agenda-kind { grid-column: 2; font-size: 0.9rem; color: var(--soft); }
.agenda-list .num { grid-row: span 3; }
.num { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 48px; border-radius: 8px; font-weight: 800; font-size: 1.2rem; color: #fff; flex-shrink: 0; }
.num-jade { background: var(--jade); }
.num-saffron { background: var(--saffron); color: var(--slate); }
.num-poppy { background: var(--poppy); }

/* Feature items */
.item { padding: clamp(40px, 7vw, 80px) 0; border-bottom: 1px solid var(--line); }
.item:nth-child(even) { background: #efebe1; }
.item-grid { display: grid; gap: 28px; align-items: center; }
.item-meta { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--jade-dark); font-variant-numeric: tabular-nums; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.points li { position: relative; padding-left: 26px; }
.points li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 12px; height: 15px; border-radius: 3px; background: var(--jade); }
.item-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; max-width: 640px; }
.item-shots:has(> :only-child) { grid-template-columns: minmax(0, 300px); justify-content: center; }
.shot-card { position: relative; margin: 0; background: var(--paper); border: 3px solid var(--slate); border-radius: 18px; padding: 7px; }
.shot-card img { width: 100%; border-radius: 11px; aspect-ratio: 480 / 900; object-fit: cover; object-position: top; }
.item-two .shot-card:nth-child(2) { margin-top: 40px; }

/* Audiences */
.audiences { padding: clamp(48px, 8vw, 96px) 0; }
.who { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 22px 16px; }
.who-card { position: relative; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 24px 18px 16px; }
.who-card p { margin: 0; color: var(--soft); }

/* Privacy as a decision */
.privacy-decision { background: var(--slate); color: #eef1f3; padding: clamp(48px, 8vw, 88px) 0; }
.privacy-decision .kicker { color: var(--saffron); }
.privacy-decision h2 { color: #fff; }
.privacy-decision a { color: #fff; }
.decision-grid { display: grid; gap: 28px; align-items: start; }
.decision-text { font-size: 1.25rem; font-weight: 500; border-left: 5px solid var(--jade); background: rgba(255, 255, 255, 0.06); padding: 14px 16px; border-radius: 0 10px 10px 0; }
.decision-text span { font-weight: 800; color: var(--saffron); text-transform: uppercase; font-size: 0.85em; letter-spacing: 0.06em; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding: 12px 14px 12px 50px; background: rgba(255, 255, 255, 0.06); border-radius: 10px; }
.checks li::before { content: ""; position: absolute; left: 16px; top: 14px; width: 18px; height: 22px; border-radius: 4px; background: var(--jade); }
.checks li::after { content: ""; position: absolute; left: 21px; top: 19px; width: 7px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

/* FAQ */
.faq { padding: clamp(48px, 8vw, 88px) 0; }
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
details:first-of-type { border-top: 2px solid var(--slate); }
summary { cursor: pointer; font-weight: 700; padding: 12px 0; min-height: 44px; list-style-position: outside; }
details p { color: var(--soft); }
.faq-more { margin-top: 20px; color: var(--soft); }

/* Closing CTA */
.closing { padding: 0 0 clamp(48px, 8vw, 80px); }
.closing-inner { display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; background: var(--paper); border: 3px solid var(--slate); border-radius: 20px; padding: clamp(22px, 4vw, 40px); position: relative; }
.closing-inner > div { flex: 1 1 320px; min-width: 0; }
.closing-inner p { margin: 0; color: var(--soft); }

/* Footer */
.foot { background: var(--slate); color: #d7dde2; }
.foot .edge { background: var(--saffron); height: 6px; }
.foot-inner { display: flex; flex-wrap: wrap; gap: 20px 32px; justify-content: space-between; align-items: center; padding-top: 28px; padding-bottom: 32px; }
.foot-brand { display: flex; gap: 12px; align-items: center; }
.foot-brand img { border-radius: 10px; }
.foot-name { margin: 0; font-weight: 800; color: #fff; }
.foot-small { margin: 0; font-size: 0.9rem; }
.foot-links { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; }
.foot-links a { color: #fff; display: inline-block; padding: 6px 0; overflow-wrap: anywhere; }

/* Inner pages */
.page { padding: clamp(32px, 6vw, 72px) 0 clamp(48px, 8vw, 88px); }
.page h2 { margin-top: 1.6em; }
.steps { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 18px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps h3 { margin: 4px 0 4px; }
.steps p { margin: 0; color: var(--soft); }
.topics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.topic { background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px; }
.topic p { margin: 0; color: var(--soft); }
.legal h2 { font-size: 1.35rem; }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
  .hero-text { padding-bottom: 36px; }
  .item-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
  .item:nth-child(even) .item-text { order: 2; }
  .decision-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
  .agenda-list a { grid-template-columns: auto 130px 1fr auto; padding: 16px 8px; }
  .agenda-list .num { grid-row: auto; }
  .agenda-title, .agenda-kind { grid-column: auto; }
}

@media (max-width: 420px) {
  body { font-size: 1rem; }
  .lead { font-size: 1.08rem; }
  .nav { gap: 2px 14px; }
  .paddle-card { border-width: 2px; border-radius: 12px; padding: 4px; }
  .paddle-card img { border-radius: 8px; }
  .tab-jade::before, .tab-saffron::before, .tab-poppy::before { height: 10px; top: -7px; left: 10px; }
  .item-shots { gap: 10px; }
  .item-two .shot-card:nth-child(2) { margin-top: 24px; }
  .shot-card { border-width: 2px; padding: 4px; border-radius: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
