/* Fontit omalta palvelimelta (OFL): kävijän tiedot eivät mene Googlelle. */
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 500 900; font-stretch: 62% 125%; font-display: swap; src: url(fontit/archivo-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 500 900; font-stretch: 62% 125%; font-display: swap; src: url(fontit/archivo-latin.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: 'Public Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fontit/publicsans-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fontit/publicsans-latin.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: 'Public Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url(fontit/publicsans-italic-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Public Sans'; font-style: italic; font-weight: 400; font-display: swap; src: url(fontit/publicsans-italic-latin.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; }

:root {
  --keltainen: #FFD400;
  --musta: #111111;
  --paperi: #FFFFFF;
  --harmaa: #3D3A2E;
  --otsikko: "Archivo", "Arial Narrow", sans-serif;
  --teksti: "Public Sans", Verdana, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--keltainen); }
body {
  margin: 0;
  background: var(--keltainen);
  color: var(--musta);
  font-family: var(--teksti);
  font-size: 21px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--musta); outline-offset: 4px; }
p { margin: 0; }
p + p { margin-top: 0.9em; }

.bar, main > section, .foot { width: 100%; max-width: 1240px; margin: 0 auto; padding-left: 28px; padding-right: 28px; }

/* Ylärivi */
.bar { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; padding-bottom: 26px; }
.logo { font-family: var(--otsikko); font-weight: 900; font-stretch: 100%; font-size: 34px; letter-spacing: -0.04em; text-decoration: none; line-height: 1; }
.bar-link { font-weight: 700; font-size: 18px; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Avaus */
.intro { padding-top: 9vh; padding-bottom: 14vh; }
.statement {
  font-family: var(--otsikko);
  font-weight: 800;
  font-stretch: 85%;
  font-size: clamp(40px, 6.2vw, 92px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  max-width: 1120px;
}
.intro-act { margin-top: 48px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; font-size: 19px; }
.button {
  display: inline-block;
  background: var(--musta);
  color: var(--keltainen);
  font-family: var(--otsikko);
  font-weight: 800;
  font-stretch: 110%;
  font-size: 22px;
  text-decoration: none;
  padding: 20px 30px 21px;
  transition: transform .15s ease;
}
.button:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--musta); background: var(--musta); }
.button:focus-visible { outline-color: var(--musta); }
.also { margin-top: 20px; font-size: 18px; }
.also a { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Kysymys ja vastaus */
.qa, .price { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 64px; padding-top: 0; padding-bottom: 120px; align-items: start; }
h2 {
  margin: 0;
  font-family: var(--otsikko);
  font-weight: 800;
  font-stretch: 85%;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.a { max-width: 640px; padding-top: 6px; }
.plain { margin: 18px 0 0; padding: 0; list-style: none; }
.plain li { padding: 4px 0 4px 28px; position: relative; }
.plain li::before { content: ""; position: absolute; left: 0; top: 0.72em; width: 12px; height: 12px; background: var(--musta); }
.big-fact { margin-top: 1.1em; font-family: var(--otsikko); font-weight: 700; font-stretch: 90%; font-size: clamp(26px, 2.4vw, 34px); line-height: 1.15; letter-spacing: -0.01em; }
.note { font-size: 16px; color: var(--harmaa); }

/* Esimerkkiarkki */
.sheet-wrap { padding-bottom: 140px; }
.sheet {
  margin: 0 0 0 auto;
  max-width: 760px;
  background: var(--paperi);
  padding: 44px 52px 48px;
  transform: rotate(-1.2deg);
  box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 26px 50px -24px rgba(60, 45, 0, .45);
  font-size: 20px;
}
.sheet figcaption { font-size: 15px; color: #5A5A5A; margin-bottom: 22px; }
.sheet p + p { margin-top: 16px; }
.sheet h3 { margin: 0; font-family: var(--otsikko); font-weight: 800; font-stretch: 90%; font-size: 24px; line-height: 1.1; }
.sheet .plain { margin: 10px 0 0; }
.sheet .plain + h3 { margin-top: 28px; }
.sheet .plain li::before { width: 10px; height: 10px; top: 0.7em; }

/* Hinta: musta kaista */
.price {
  max-width: none;
  background: var(--musta);
  color: var(--keltainen);
  padding: 96px max(28px, calc((100% - 1184px) / 2)) 104px;
  margin-bottom: 120px;
  grid-template-areas: "q big" "q a";
}
.price h2 { grid-area: q; }
.price-big { grid-area: big; font-family: var(--otsikko); font-weight: 900; font-stretch: 75%; font-size: clamp(96px, 16vw, 240px); line-height: .82; letter-spacing: -0.04em; }
.price-big span { font-stretch: 100%; font-weight: 800; font-size: 0.24em; letter-spacing: 0; margin-left: 0.2em; }
.price .a { grid-area: a; color: #FFF6C2; }

/* Loppu */
.end { padding-bottom: 120px; }
.button-dark { font-size: 26px; padding: 26px 38px 27px; }

.foot { display: flex; flex-wrap: wrap; gap: 10px 32px; align-items: baseline; padding-top: 40px; padding-bottom: 56px; font-size: 16px; }
.logo-foot { font-size: 26px; }

@media (max-width: 820px) {
  body { font-size: 19px; }
  .qa, .price { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-bottom: 88px; }
  .price { grid-template-areas: "q" "big" "a"; padding-top: 72px; padding-bottom: 80px; margin-bottom: 88px; }
  .intro { padding-top: 6vh; padding-bottom: 96px; }
  .sheet { padding: 30px 26px 34px; transform: rotate(-0.8deg); font-size: 18px; }
  .sheet-wrap { padding-bottom: 96px; }
  .field input { font-size: 20px; letter-spacing: 0.03em; }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
}

/* Ostolomake */
.buy { padding-top: 9vh; }
.buy form { margin-top: 32px; }
.field { display: block; font-weight: 700; font-size: 18px; }
.field input {
  display: block; width: 100%; max-width: 420px; margin-top: 8px;
  font: 700 26px/1.2 var(--teksti); letter-spacing: 0.06em;
  padding: 14px 16px; border: 3px solid var(--musta); border-radius: 0; background: var(--paperi); color: var(--musta);
}
.field input:focus-visible { outline: 3px solid var(--musta); outline-offset: 3px; }
.packs { margin: 28px 0 0; padding: 0; border: 0; }
.packs legend { font-weight: 700; font-size: 18px; padding: 0; margin-bottom: 8px; }
.packs label { display: block; padding: 6px 0; font-size: 20px; cursor: pointer; }
.packs input { width: 20px; height: 20px; accent-color: var(--musta); vertical-align: -3px; margin-right: 10px; }
.msg { min-height: 1.5em; margin: 20px 0 16px; font-weight: 700; }
.buy .note { margin-top: 28px; }
button.button { border: 0; cursor: pointer; }
button.button:disabled { opacity: .6; cursor: progress; }

/* Ehdot ja tietosuoja */
.doc { max-width: 1240px; margin: 0 auto; padding: 6vh 28px 96px; }
.doc > * { max-width: 760px; }
.doc h1 { margin: 0; font-family: var(--otsikko); font-weight: 800; font-stretch: 85%; font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -0.02em; }
.doc h2 { margin: 48px 0 12px; font-size: clamp(24px, 2.4vw, 30px); }
.doc ul { margin: 12px 0 0; padding-left: 1.2em; }
.doc li + li { margin-top: 8px; }
.draft { margin-top: 18px; display: inline-block; background: var(--musta); color: var(--keltainen); font-weight: 700; padding: 6px 12px; }
