/* Goodeve — early access landing · direction A "Dusk to Dawn" */

/* ---------- Fonts ---------- */
@font-face { font-family: 'Darker Grotesque'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/dg400.woff2) format('woff2'); }
@font-face { font-family: 'Darker Grotesque'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/dg500.woff2) format('woff2'); }
@font-face { font-family: 'Darker Grotesque'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/dg600.woff2) format('woff2'); }
@font-face { font-family: 'Special Gothic Expanded One'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/sg400.woff2) format('woff2'); }

/* ---------- Tokens (McCann brand book 2026) ---------- */
:root {
  --night: #06151c;
  --slate: #464e55;
  --dusk: #b0b8cb;
  --taupe: #bdb3aa;
  --cream: #f8f0e5;
  --cream-logo: #fff5e7;
  --sky: #8fbae2;
  --coral: #f59f7b;
  --cream-80: rgba(248, 240, 229, .8);
  --cream-62: rgba(248, 240, 229, .62);
  --cream-45: rgba(248, 240, 229, .45);
  --hair-dark: rgba(6, 21, 28, .12);
  --font-body: 'Darker Grotesque', 'Helvetica Neue', Arial, sans-serif;
  --font-accent: 'Special Gothic Expanded One', 'Arial Black', Arial, sans-serif;
  --pad-x: clamp(20px, 5.5vw, 80px);
  --radius-card: clamp(24px, 3vw, 32px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 500;
  color: var(--cream);
  background-color: var(--night);
  background-image: linear-gradient(180deg, #06151c 0%, #0c1b26 20%, #2c3a47 42%, #7b899e 57%, #b0b8cb 66%, #e1d9d1 82%, #f8f0e5 100%);
  background-attachment: scroll;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.page-dark { background-image: linear-gradient(180deg, #06151c 0%, #0e1e29 55%, #34424f 100%); }
body.page-dawn { background-image: linear-gradient(180deg, #06151c 0%, #2f3d4a 34%, #8a95a8 60%, #d8c9bf 84%, #f8f0e5 100%); }

a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--sky); }
img { display: block; max-width: 100%; }

.wrap { max-width: 1440px; margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }

/* ---------- Shared bits ---------- */
.label {
  font-family: var(--font-accent);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  line-height: 1.2;
}
.grain {
  position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px 300px;
}
.stars { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.stars span { position: absolute; border-radius: 50%; background: rgba(248, 240, 229, .55); animation: twinkle 6s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { opacity: .55; } 50% { opacity: .2; } }
@media (prefers-reduced-motion: reduce) {
  .stars span { animation: none; }
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--sky); color: var(--night);
  padding: 10px 18px; border-radius: 0 0 12px 0; font-weight: 600; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 2px 30px 0; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font-accent); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn svg { flex: none; }
.btn-primary { background: var(--sky); color: var(--night); box-shadow: 0 14px 34px rgba(6, 21, 28, .35); }
.btn-primary:hover { background: #a4c8ea; color: var(--night); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary[disabled] { opacity: .6; cursor: default; transform: none; }
.btn-night { background: var(--night); color: var(--cream); }
.btn-night:hover { background: #10242f; color: var(--cream); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--cream); border: 1px solid var(--cream-45); }
.btn-ghost:hover { border-color: var(--cream); color: var(--cream); }
.btn:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.btn-block { width: 100%; }

/* ---------- Nav ---------- */
.nav { position: relative; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding-top: 28px; padding-bottom: 28px; }
.nav .logo svg { display: block; height: clamp(22px, 2.6vw, 30px); width: auto; }
.nav-pill {
  border: 1px solid rgba(248, 240, 229, .3); border-radius: 999px; padding: 10px 18px 8px;
  color: var(--cream-80); font-family: var(--font-accent); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap;
}

/* ---------- Hero ---------- */
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(420px, 500px); gap: clamp(40px, 5vw, 64px); align-items: start; padding-top: clamp(16px, 3.5vw, 56px); }
.hero-copy { display: flex; flex-direction: column; gap: clamp(20px, 2.2vw, 28px); padding-top: 16px; }
.eyebrow { color: var(--sky); }
h1.display {
  margin: 0; font-family: var(--font-accent); font-weight: 400; text-transform: uppercase;
  font-size: clamp(34px, 4.4vw, 60px); line-height: 1.0; letter-spacing: 0; color: var(--cream); text-wrap: balance;
}
.lead { margin: 0; font-size: clamp(20px, 1.8vw, 25px); line-height: 1.35; color: var(--cream-80); max-width: 620px; }
.perks { display: flex; flex-direction: column; gap: 14px; margin: 6px 0 0; padding: 0; list-style: none; }
.perks li { display: flex; gap: 14px; align-items: flex-start; font-size: clamp(17px, 1.5vw, 20px); color: var(--cream-80); }
.perks .tick { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--sky); display: flex; align-items: center; justify-content: center; margin-top: -1px; }

/* ---------- Form card ---------- */
.card {
  position: relative; border-radius: var(--radius-card); padding: clamp(24px, 3vw, 40px);
  background: rgba(248, 240, 229, .07); border: 1px solid rgba(248, 240, 229, .16);
  backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px);
  box-shadow: 0 40px 90px rgba(6, 21, 28, .45), inset 0 1px 0 rgba(255, 255, 255, .1);
}

.form-head h2 { margin: 0 0 8px; font-size: clamp(25px, 2vw, 28px); font-weight: 600; line-height: 1.05; color: var(--cream); }
.form-head p { margin: 0; font-size: 19px; color: var(--cream-62); }
form.signup { display: flex; flex-direction: column; gap: 20px; margin-top: 22px; }
.row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-family: var(--font-accent); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(248, 240, 229, .72); }
.field input {
  height: 56px; border-radius: 14px; background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(248, 240, 229, .22); padding: 0 18px; font-family: var(--font-body);
  font-size: 20px; font-weight: 500; color: var(--cream); width: 100%;
}
.field input::placeholder { color: rgba(248, 240, 229, .42); }
.field input:focus { border-color: var(--sky); outline: none; box-shadow: 0 0 0 3px rgba(143, 186, 226, .25); }
.field.invalid input { border-color: var(--coral); }
.field .err { display: none; font-size: 15px; color: var(--coral); }
.field.invalid .err { display: block; }

.consent { display: flex; gap: 14px; align-items: flex-start; }
.consent input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 2px 0 0;
  border-radius: 6px; border: 1.5px solid var(--cream-45); background: transparent; cursor: pointer; display: grid; place-content: center;
}
.consent input[type="checkbox"]::before {
  content: ""; width: 12px; height: 12px; transform: scale(0); transition: transform .12s ease-in-out;
  background: var(--night); clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
.consent input[type="checkbox"]:checked { background: var(--sky); border-color: var(--sky); }
.consent input[type="checkbox"]:checked::before { transform: scale(1); }
.consent label { font-size: 16px; line-height: 1.35; color: rgba(248, 240, 229, .74); cursor: pointer; }
.form-msg { display: none; font-size: 17px; line-height: 1.35; color: var(--coral); }
.form-msg.show { display: block; }
.status-note { margin: 0; font-size: 14px; line-height: 1.4; color: rgba(248, 240, 229, .55); }

/* honeypot — visually hidden, still fillable by naive bots */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Trust strip ---------- */
.trust { margin-top: clamp(56px, 7vw, 88px); position: relative; }
.trust-grid {
  border-radius: 28px; background: rgba(255, 255, 255, .28); border: 1px solid rgba(255, 255, 255, .5);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.trust-cell { padding: clamp(22px, 2.6vw, 34px) clamp(20px, 2.8vw, 40px); display: flex; flex-direction: column; gap: 10px; }
.trust-cell + .trust-cell { border-left: 1px solid var(--hair-dark); }
.trust-cell .label { color: var(--slate); }
.trust-cell strong { font-size: clamp(21px, 1.9vw, 27px); font-weight: 500; line-height: 1.15; color: var(--night); }

/* ---------- Calm section ---------- */
.calm { display: grid; grid-template-columns: minmax(280px, 480px) minmax(0, 1fr); gap: clamp(40px, 5.5vw, 80px); align-items: center; margin-top: clamp(72px, 8vw, 120px); position: relative; }
.calm-icon { display: flex; justify-content: center; }
.calm-icon img { width: clamp(180px, 20vw, 300px); height: auto; filter: drop-shadow(0 40px 50px rgba(6, 21, 28, .25)); }
.calm h2 { margin: 0; font-size: clamp(32px, 3.6vw, 52px); line-height: 1.05; font-weight: 500; letter-spacing: -.01em; color: var(--night); max-width: 640px; text-wrap: balance; }
.calm p { margin: 0; font-size: clamp(19px, 1.6vw, 22px); line-height: 1.4; color: var(--slate); max-width: 600px; }
.calm-inner { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }

/* ---------- Footer ---------- */
.footer { margin-top: clamp(72px, 8vw, 120px); border-top: 1px solid var(--hair-dark); padding-top: 44px; padding-bottom: 52px; color: var(--slate); position: relative; }
.footer .cols { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer .logo svg { height: 26px; width: auto; }
.footer nav { display: flex; gap: clamp(16px, 2.5vw, 32px); flex-wrap: wrap; font-size: 17px; }
.footer nav a { text-decoration: none; color: var(--slate); }
.footer nav a:hover { color: var(--night); }
.footer .legal { margin: 22px 0 0; font-size: 14px; line-height: 1.5; max-width: 920px; }

/* dark footer variant (thanks/error pages) */
.footer.on-dark { border-top-color: rgba(248, 240, 229, .16); color: var(--cream-62); }
.footer.on-dark nav a { color: var(--cream-62); }
.footer.on-dark nav a:hover { color: var(--cream); }

/* ---------- State pages (thanks / error) ---------- */
.state-main { position: relative; display: flex; justify-content: center; padding-top: clamp(24px, 5vh, 60px); padding-bottom: 40px; }
.state-card { width: min(640px, 100%); display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.badge { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.badge-ok { background: var(--sky); }
.badge-err { background: var(--coral); }
.state-card h1 { margin: 0; font-family: var(--font-accent); font-weight: 400; text-transform: uppercase; font-size: clamp(26px, 3vw, 32px); line-height: 1.02; color: var(--cream); }
.state-card .big { margin: 0; font-size: 21px; line-height: 1.4; color: var(--cream-80); }
.steps { display: flex; flex-direction: column; gap: 14px; width: 100%; padding-top: 22px; border-top: 1px solid rgba(248, 240, 229, .16); }
.steps .label { color: rgba(248, 240, 229, .6); }
.steps .step { display: flex; gap: 14px; align-items: center; font-size: 19px; color: var(--cream-80); }
.steps .step svg { flex: none; }
.state-actions { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; padding-top: 6px; }

/* ---------- Privacy / text pages ---------- */
.doc { max-width: 820px; color: var(--cream); padding-bottom: 60px; }
.doc h1 { font-family: var(--font-accent); font-weight: 400; text-transform: uppercase; font-size: clamp(26px, 3vw, 34px); line-height: 1.05; margin: 8px 0 24px; }
.doc h2 { font-size: 26px; font-weight: 600; margin: 36px 0 10px; }
.doc p, .doc li { font-size: 20px; line-height: 1.45; color: var(--cream-80); }
.doc .placeholder { background: rgba(245, 159, 123, .18); border-radius: 6px; padding: 0 6px; color: var(--cream); }

/* ---------- Responsive ---------- */
@media (max-width: 1060px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding-top: 0; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-cell + .trust-cell { border-left: 0; }
  .trust-cell:nth-child(even) { border-left: 1px solid var(--hair-dark); }
  .trust-cell:nth-child(n+3) { border-top: 1px solid var(--hair-dark); }
  .trust-cell:nth-child(odd):last-child { grid-column: 1 / -1; }
  .calm { grid-template-columns: minmax(0, 1fr); }
  .calm-icon { justify-content: flex-start; }
  body { background-image: linear-gradient(180deg, #06151c 0%, #0c1b26 26%, #2c3a47 48%, #7b899e 62%, #b0b8cb 70%, #e1d9d1 84%, #f8f0e5 100%); }
}
@media (max-width: 560px) {
  body { font-size: 19px; }
  .row-2 { grid-template-columns: minmax(0, 1fr); }
  .nav { padding-top: 20px; padding-bottom: 20px; }
  .footer .cols { flex-direction: column; align-items: flex-start; }
  .btn { min-height: 54px; padding: 12px 22px; letter-spacing: .1em; white-space: normal; text-align: center; line-height: 1.3; }
}

/* ======================================================================
   Light theme — "Day" (html[data-theme="light"]) · for evaluation 2026-09-15
   Same layout, brand-book light body: pale sky → cream, night text, sky CTA.
   ====================================================================== */
html[data-theme="light"] { color-scheme: light; }
html[data-theme="light"] body {
  color: var(--night);
  background-color: #e4ebf4;
  background-image: linear-gradient(180deg, #dfe8f3 0%, #e6ecf4 28%, #eeeff1 52%, #f4efe8 74%, #f8f0e5 100%);
}
html[data-theme="light"] body.page-dark,
html[data-theme="light"] body.page-dawn { background-image: linear-gradient(180deg, #dfe8f3 0%, #e9eef4 50%, #f8f0e5 100%); }
html[data-theme="light"] a:hover { color: #4f83b8; }
html[data-theme="light"] .grain { opacity: .05; }

/* day sky: no stars, a soft sunrise glow instead */
html[data-theme="light"] .stars span { display: none; }
html[data-theme="light"] .stars {
  background:
    radial-gradient(720px 420px at 82% 6%, rgba(245, 159, 123, .30), rgba(245, 159, 123, 0) 62%),
    radial-gradient(900px 520px at 12% 0%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 60%);
}

/* nav */
html[data-theme="light"] .nav .logo { color: var(--night) !important; }
html[data-theme="light"] .nav-pill { border-color: rgba(6, 21, 28, .22); color: rgba(6, 21, 28, .75); }

/* hero copy */
html[data-theme="light"] .eyebrow { color: #4f83b8; }
html[data-theme="light"] h1.display { color: var(--night); }
html[data-theme="light"] .lead { color: var(--slate); }
html[data-theme="light"] .perks li { color: var(--slate); }

/* buttons */
html[data-theme="light"] .btn-primary { box-shadow: 0 14px 30px rgba(79, 131, 184, .30); }
html[data-theme="light"] .btn-ghost { color: var(--night); border-color: rgba(6, 21, 28, .3); }
html[data-theme="light"] .btn-ghost:hover { border-color: var(--night); color: var(--night); }

/* form card */
html[data-theme="light"] .card {
  background: rgba(255, 255, 255, .58); border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 30px 70px rgba(6, 21, 28, .14), inset 0 1px 0 rgba(255, 255, 255, .9);
}
html[data-theme="light"] .form-head h2 { color: var(--night); }
html[data-theme="light"] .form-head p { color: var(--slate); }
html[data-theme="light"] .field label { color: var(--slate); }
html[data-theme="light"] .field input { background: #fff; border-color: rgba(6, 21, 28, .18); color: var(--night); }
html[data-theme="light"] .field input::placeholder { color: rgba(6, 21, 28, .38); }
html[data-theme="light"] .field input:focus { border-color: #4f83b8; box-shadow: 0 0 0 3px rgba(143, 186, 226, .35); }
html[data-theme="light"] .field.invalid input { border-color: #d9734b; }
html[data-theme="light"] .field .err, html[data-theme="light"] .form-msg { color: #c8623b; }
html[data-theme="light"] .consent input[type="checkbox"] { border-color: rgba(6, 21, 28, .35); background: #fff; }
html[data-theme="light"] .consent label { color: var(--slate); }
html[data-theme="light"] .status-note { color: rgba(6, 21, 28, .55); }

/* trust strip — a touch whiter on the pale sky */
html[data-theme="light"] .trust-grid { background: rgba(255, 255, 255, .5); border-color: rgba(255, 255, 255, .9); }

/* state pages (thanks / error) and privacy */
html[data-theme="light"] .state-card h1 { color: var(--night); }
html[data-theme="light"] .state-card .big { color: var(--slate); }
html[data-theme="light"] .state-card .big a { color: var(--night); }
html[data-theme="light"] .steps { border-top-color: var(--hair-dark); }
html[data-theme="light"] .steps .label { color: var(--slate); }
html[data-theme="light"] .steps .step { color: var(--night); }
html[data-theme="light"] .doc { color: var(--night); }
html[data-theme="light"] .doc p, html[data-theme="light"] .doc li { color: var(--slate); }
html[data-theme="light"] .doc .placeholder { background: rgba(245, 159, 123, .28); color: var(--night); }
html[data-theme="light"] .footer.on-dark { border-top-color: var(--hair-dark); color: var(--slate); }
html[data-theme="light"] .footer.on-dark nav a { color: var(--slate); }
html[data-theme="light"] .footer.on-dark nav a:hover { color: var(--night); }
html[data-theme="light"] .footer .logo { color: var(--night) !important; }

@media (max-width: 1060px) {
  html[data-theme="light"] body { background-image: linear-gradient(180deg, #dfe8f3 0%, #e6ecf4 32%, #eeeff1 56%, #f4efe8 78%, #f8f0e5 100%); }
}
html[data-theme="light"] .state-card p.big[style] { color: var(--slate) !important; }

/* ---------- Theme toggle ---------- */
.nav-right { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0;
  border-radius: 999px; border: 1px solid rgba(248, 240, 229, .3); background: transparent; color: var(--cream-80); cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.theme-toggle:hover { background: rgba(248, 240, 229, .1); color: var(--cream); }
.theme-toggle:focus { outline: none; }
.theme-toggle:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.theme-toggle svg { display: block; }
.theme-toggle .ic-moon { display: none; }
html[data-theme="light"] .theme-toggle { border-color: rgba(6, 21, 28, .22); color: rgba(6, 21, 28, .75); }
html[data-theme="light"] .theme-toggle:hover { background: rgba(6, 21, 28, .06); color: var(--night); }
html[data-theme="light"] .theme-toggle .ic-sun { display: none; }
html[data-theme="light"] .theme-toggle .ic-moon { display: block; }

/* ---------- Calm section icons (brand 3D icons) ---------- */
.calm-icons { display: flex; align-items: center; justify-content: center; gap: clamp(4px, 1vw, 14px); }
.calm-icons img { width: clamp(88px, 9.5vw, 150px); height: auto; filter: drop-shadow(0 28px 36px rgba(6, 21, 28, .22)); }
.calm-icons img:nth-child(2) { transform: translateY(-22px); }
.calm-icons img:nth-child(3) { transform: translateY(6px); }
@media (max-width: 1060px) { .calm-icons { justify-content: flex-start; } }

/* ---------- Language toggle ---------- */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 2px 14px 0; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(248, 240, 229, .3); background: transparent; color: var(--cream-62);
  font-family: var(--font-accent); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.lang-toggle:hover { background: rgba(248, 240, 229, .1); }
.lang-toggle:focus { outline: none; }
.lang-toggle:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.lang-toggle .lang-sep { opacity: .45; }
.lang-toggle[data-lang="en"] .lang-en, .lang-toggle[data-lang="lv"] .lang-lv { color: var(--cream); }
html[data-theme="light"] .lang-toggle { border-color: rgba(6, 21, 28, .22); color: rgba(6, 21, 28, .5); }
html[data-theme="light"] .lang-toggle:hover { background: rgba(6, 21, 28, .06); }
html[data-theme="light"] .lang-toggle[data-lang="en"] .lang-en,
html[data-theme="light"] .lang-toggle[data-lang="lv"] .lang-lv { color: var(--night); }

/* Latvian: the accent font's diacritics span 1.22em (Š 0.92 above, Ļ 0.30 below) —
   uppercase headings need more line-height than the English 1.0 */
html[lang="lv"] h1.display { line-height: 1.3; }
html[lang="lv"] .state-card h1 { line-height: 1.3; }
html[lang="lv"] .doc h1 { line-height: 1.3; }
html[lang="lv"] .calm h2 { line-height: 1.12; }
html[lang="lv"] .form-head h2 { line-height: 1.12; }

/* ---------- "Did you mean …?" hint under the e-mail field ---------- */
.field .hint { margin: 0; font-size: 16px; line-height: 1.35; color: var(--cream-80); }
.field .hint[hidden] { display: none; }
.field .hint-fix { display: inline-block; background: none; border: 0; padding: 2px 0; margin-left: 4px; font: inherit; font-weight: 700; color: var(--sky); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.field .hint-fix:hover { color: #a4c8ea; }
html[data-theme="light"] .field .hint { color: var(--slate); }
html[data-theme="light"] .field .hint-fix { color: #3f7fb8; }
