/* HetiPaku landing — warm cream 12-section marketplace layout.
   System fonts, soft shadows, photographic placeholder.
   Hero embeds the progressive order form (single source of truth
   for the order taxonomy on /). */

:root {
  --hp-orange: #ff5a1f;
  --hp-orange-deep: #d4421a;
  --hp-orange-soft: #fff4ec;
  --hp-text: #15171a;
  --hp-muted: #6b7280;
  --hp-bg: #fdfbf7;
  --hp-bg-card: #ffffff;
  --hp-border: #e8e3d8;
  --hp-border-soft: #f0ebe1;
  --hp-shadow-card: 0 1px 2px rgba(15, 17, 26, 0.04),
                    0 12px 30px -12px rgba(15, 17, 26, 0.12);
  --hp-section-pad: 72px 22px;
}

* { box-sizing: border-box; }

body.lp {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  color: var(--hp-text);
  background: var(--hp-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.lp-container {
  max-width: 1180px;
  margin: 0 auto;
}

/* ─────────────── 1. nav ─────────────── */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 251, 247, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hp-border-soft);
}
.lp-nav__row {
  max-width: 1180px;
  margin: 0 auto;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--hp-text);
  text-decoration: none;
  letter-spacing: -0.3px;
}
.lp-brand__mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--hp-orange);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 18px;
}
.lp-brand__badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  background: var(--hp-orange-soft);
  color: var(--hp-orange);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-left: 4px;
  white-space: nowrap;
}
.lp-nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
}
.lp-nav__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--hp-muted);
  text-decoration: none;
}
.lp-nav__link:hover { color: var(--hp-text); }
.lp-nav__cta {
  background: var(--hp-text);
  color: #fff;
  border-radius: 999px;
  padding: 9px 16px;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  transition: background 0.15s;
}
.lp-nav__cta:hover { background: #000; }
.lp-nav__links--mobile-hide { display: none; }

/* Mobile-only account chip next to the Aloita CTA. Without it a phone
   visitor sees no login affordance because the full link row is hidden
   above; see renderLanding() comment for context. */
.lp-nav__account {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--hp-soft, #fff7ed);
  color: var(--hp-text);
  border: 1px solid var(--hp-line, #fed7aa);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  margin-right: 6px;
  white-space: nowrap;
  transition: background 0.15s, border-color 0.15s;
}
.lp-nav__account:hover { background: #ffead2; border-color: #fbb774; }

/* Two-link group: Kirjaudu | Rekisteröidy. The Rekisteröidy slot is
   primary because most first-time mobile visitors are signing up; the
   Kirjaudu slot is a quieter secondary chip next to it. */
.lp-nav__account-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--hp-soft, #fff7ed);
  border: 1px solid var(--hp-line, #fed7aa);
  border-radius: 999px;
  padding: 5px 10px;
  margin-right: 6px;
  white-space: nowrap;
}
.lp-nav__account-pair {
  color: var(--hp-muted, #6b7280);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.lp-nav__account-pair--primary { color: var(--hp-orange, #ff5a1f); font-weight: 700; }
.lp-nav__account-pair:hover { color: var(--hp-text, #15171a); }
.lp-nav__account-sep { color: #d1d5db; font-size: 13px; }

@media (min-width: 720px) {
  .lp-nav__links--mobile-hide { display: flex; }
  .lp-nav__account--mobile-only { display: none; }
}

/* Mobile nav de-crowding. Guest mode previously overflowed the row:
   brand + "Vasta avattu" badge + Kirjaudu/Rekisteröidy group + Aloita
   CTA together were wider than a phone. The badge is decorative and
   the nav CTA is redundant (every page carries its primary action in
   the hero body), so both drop below 720px; padding + gaps tighten so
   the brand and the auth chips always fit. */
@media (max-width: 719px) {
  .lp-nav__row { padding: 13px 14px; gap: 10px; }
  .lp-brand { font-size: 17px; gap: 8px; }
  .lp-brand__badge { display: none; }
  .lp-nav__cta { display: none; }
  .lp-nav__account,
  .lp-nav__account-group { margin-right: 0; }
  .lp-nav__account-group { padding: 5px 10px; gap: 5px; }
  .lp-nav__account-pair,
  .lp-nav__account-sep { font-size: 12.5px; }
  .lp-nav__account { padding: 6px 11px; font-size: 12.5px; }
}

/* ─────────────── 2. hero ─────────────── */
.lp-hero {
  padding: 36px 22px 56px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  max-width: 1180px;
  margin: 0 auto;
}
.lp-hero__copy { padding-top: 8px; }
.lp-hero__h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 6vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.lp-hero__h1 .accent { color: var(--hp-orange); }
.lp-hero__sub {
  margin: 0 0 22px;
  font-size: clamp(16px, 2vw, 18px);
  color: var(--hp-muted);
  max-width: 480px;
}

/* form card (Uber pattern, two inputs) */
.lp-card {
  background: var(--hp-bg-card);
  border: 1px solid var(--hp-border);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--hp-shadow-card);
  max-width: 520px;
}
.lp-field { display: flex; align-items: center; gap: 12px; padding: 12px 4px; }
.lp-field + .lp-field { border-top: 1px solid var(--hp-border-soft); }
.lp-field { position: relative; }
.lp-field + .lp-field::before {
  content: "";
  position: absolute;
  left: 9px;
  top: -10px;
  height: 18px;
  border-left: 2.5px dotted var(--hp-orange);
  opacity: 0.55;
}
.lp-field__dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}
.lp-field__dot--from {
  background: var(--hp-orange);
  box-shadow: 0 0 0 3.5px rgba(255, 90, 31, 0.18);
}
.lp-field__dot--to {
  background: #fff;
  border: 2.5px solid var(--hp-orange);
  box-shadow: 0 0 0 3.5px rgba(255, 90, 31, 0.10);
}
.lp-field__label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--hp-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 1px;
}
.lp-field__col { flex: 1; min-width: 0; }
.lp-field__input {
  width: 100%;
  border: 0;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
  color: var(--hp-text);
  outline: none;
  padding: 0;
  font-family: inherit;
}
.lp-field__input::placeholder { color: var(--hp-muted); opacity: 0.75; }
.lp-card__cta {
  margin-top: 14px;
  width: 100%;
  background: var(--hp-text);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.lp-card__cta:hover { background: #000; }
.lp-card__hint { margin: 12px 4px 0; font-size: 12.5px; color: var(--hp-muted); }

/* hero CTA row (driver landing) */
.lp-hero__cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.lp-hero__primary {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 12px;
  font-weight: 700;
  background: var(--hp-text);
  color: #fff;
  margin: 0;
  width: auto;
}
.lp-hero__primary:hover { background: #000; }
.lp-hero__ghost {
  color: var(--hp-text);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  font-size: 14px;
  font-weight: 600;
}

/* autocomplete dropdown for the hero inputs */
.lp-suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--hp-bg-card);
  border: 1px solid var(--hp-border);
  border-radius: 12px;
  box-shadow: 0 14px 32px -12px rgba(15, 17, 26, 0.18);
  overflow: hidden;
  z-index: 20;
}
.lp-suggest__item {
  padding: 11px 14px;
  cursor: pointer;
  font-size: 14px;
  border-bottom: 1px solid var(--hp-border-soft);
}
.lp-suggest__item:last-child { border-bottom: 0; }
.lp-suggest__item:hover { background: var(--hp-orange-soft); }
.lp-suggest__main { font-weight: 600; color: var(--hp-text); }
.lp-suggest__sub { font-size: 12px; color: var(--hp-muted); margin-top: 2px; }

/* hero photo placeholder */
.lp-hero__photo {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 30% 20%, #fff6ec 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 80%, #ffe7d4 0%, transparent 60%),
    linear-gradient(165deg, #faeede 0%, #f0e1c8 100%);
  box-shadow: var(--hp-shadow-card);
}
.lp-hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 65% 35%, rgba(255, 168, 100, 0.20), transparent 45%);
}
.lp-hero__photo__tag {
  position: absolute;
  left: 16px;
  bottom: 16px;
  font-size: 11px;
  font-weight: 700;
  color: var(--hp-orange-deep);
  background: rgba(255, 255, 255, 0.85);
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

@media (min-width: 880px) {
  .lp-hero {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    padding: 56px 22px 88px;
    align-items: center;
  }
  .lp-hero__copy { padding-top: 16px; }
}

/* ─────────────── shared section header ─────────────── */
.lp-sec {
  padding: var(--hp-section-pad);
}
.lp-sec--soft  { background: var(--hp-bg); }
.lp-sec--white { background: #fff; border-top: 1px solid var(--hp-border-soft); border-bottom: 1px solid var(--hp-border-soft); }
.lp-sec--dark  { background: var(--hp-text); color: #fff; }
.lp-sec--orange { background: var(--hp-orange-soft); }

.lp-sec__eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--hp-orange);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0 0 8px;
}
.lp-sec__h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.lp-sec__sub {
  margin: 0 auto 36px;
  font-size: 16px;
  color: var(--hp-muted);
  max-width: 640px;
}
.lp-sec--centered { text-align: center; }

/* ─────────────── 3. services grid ─────────────── */
.lp-services {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
.lp-svc {
  background: var(--hp-bg-card);
  border: 1px solid var(--hp-border);
  border-radius: 14px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.lp-svc:hover {
  transform: translateY(-2px);
  border-color: var(--hp-orange);
  box-shadow: var(--hp-shadow-card);
}
.lp-svc__icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--hp-orange-soft);
  color: var(--hp-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 4px;
}
.lp-svc__name { font-size: 16px; font-weight: 700; margin: 0; }
.lp-svc__desc { font-size: 13.5px; color: var(--hp-muted); margin: 0; line-height: 1.45; }
.lp-svc__more {
  margin-top: auto;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--hp-orange);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
@media (min-width: 720px) { .lp-services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .lp-services { grid-template-columns: repeat(4, 1fr); } }

/* ─────────────── 4. about ─────────────── */
.lp-about {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.lp-about__btn {
  display: inline-block;
  margin-top: 18px;
  background: var(--hp-text);
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  padding: 13px 22px;
  font-weight: 700;
  font-size: 14.5px;
}
.lp-about__btn:hover { background: #000; }

/* ─────────────── 5. value props ─────────────── */
.lp-values {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
.lp-value {
  text-align: center;
  padding: 8px;
}
.lp-value__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: var(--hp-orange-soft);
  color: var(--hp-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.lp-value__title { font-size: 18px; font-weight: 700; margin: 0 0 6px; }
.lp-value__desc { font-size: 14px; color: var(--hp-muted); margin: 0; max-width: 280px; margin-left: auto; margin-right: auto; }
@media (min-width: 720px) { .lp-values { grid-template-columns: repeat(3, 1fr); gap: 36px; } }

/* ─────────────── 6. stats ─────────────── */
.lp-stats {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  text-align: center;
}
.lp-stat__value {
  font-size: clamp(32px, 5vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--hp-orange);
  margin: 0;
  line-height: 1;
}
.lp-stat__label {
  font-size: 13px;
  color: var(--hp-muted);
  margin: 6px 0 0;
}
@media (min-width: 720px) { .lp-stats { grid-template-columns: repeat(3, 1fr); gap: 36px; } }

/* ─────────────── 7. testimonials ─────────────── */
.lp-testimonials {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
.lp-quote {
  background: var(--hp-bg-card);
  border: 1px solid var(--hp-border);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lp-quote__stars {
  color: var(--hp-orange);
  font-size: 16px;
  letter-spacing: 2px;
}
.lp-quote__text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--hp-text);
  margin: 0;
  flex: 1;
}
.lp-quote__author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lp-quote__avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--hp-orange-soft);
  color: var(--hp-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
}
.lp-quote__name { font-size: 13.5px; font-weight: 700; margin: 0; }
.lp-quote__meta { font-size: 12px; color: var(--hp-muted); margin: 0; }
.lp-quote--placeholder {
  background: var(--hp-orange-soft);
  border-color: rgba(255, 90, 31, 0.18);
}
@media (min-width: 880px) { .lp-testimonials { grid-template-columns: repeat(3, 1fr); } }

/* ─────────────── 8. mission ─────────────── */
.lp-mission {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}
.lp-mission__h2 {
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 18px;
}
.lp-mission__sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

/* ─────────────── 9. how it works ─────────────── */
.lp-steps {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  counter-reset: step;
}
.lp-step {
  background: var(--hp-bg-card);
  border: 1px solid var(--hp-border);
  border-radius: 16px;
  padding: 24px;
  position: relative;
}
.lp-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -16px;
  left: 24px;
  background: var(--hp-orange);
  color: #fff;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}
.lp-step__title { margin: 8px 0 8px; font-size: 18px; font-weight: 700; }
.lp-step__desc { margin: 0; font-size: 14px; color: var(--hp-muted); line-height: 1.55; }
@media (min-width: 880px) { .lp-steps { grid-template-columns: repeat(3, 1fr); gap: 28px; } }

/* ─────────────── 10. locations directory ─────────────── */
.lp-locations {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
.lp-loc {
  background: var(--hp-bg-card);
  border: 1px solid var(--hp-border);
  border-radius: 14px;
  padding: 18px 20px;
}
.lp-loc__name { margin: 0 0 6px; font-size: 15px; font-weight: 700; }
.lp-loc__status { font-size: 12.5px; color: var(--hp-muted); margin: 0; }
.lp-loc__status--live { color: #047857; font-weight: 700; }
@media (min-width: 720px) { .lp-locations { grid-template-columns: repeat(3, 1fr); } }

/* ─────────────── 11. final cta ─────────────── */
.lp-final {
  background: linear-gradient(135deg, var(--hp-orange) 0%, var(--hp-orange-deep) 100%);
  color: #fff;
  border-radius: 22px;
  padding: 48px 28px;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}
.lp-final__h2 {
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 12px;
}
.lp-final__sub {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 auto 24px;
  max-width: 520px;
}
.lp-final__btn {
  display: inline-block;
  background: #fff;
  color: var(--hp-orange-deep);
  text-decoration: none;
  border-radius: 12px;
  padding: 14px 26px;
  font-weight: 800;
  font-size: 15px;
}

/* ─────────────── embedded form host on landing ─────────────── */
.lp-hero-narrow { background: var(--hp-bg); }
/* Hero showcase photo, framed + rounded, between the headline and the
   embedded order form.
   Mobile: show the WHOLE near-square scene (1180x1086) uncropped, just
   scaled down and centered, so the customer + boxes + arriving van are
   all visible. Desktop: crop to a cinematic 21:9 banner (there is
   plenty of horizontal room there and the tall square would dominate).
   width+height attrs on the img give the natural ratio so mobile has
   no layout shift; the desktop aspect-ratio override also avoids CLS. */
.lp-hero__shot {
  margin: 0 auto 6px;
  max-width: 460px;
  padding: 0 14px;
}
.lp-hero__shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid var(--hp-border);
  box-shadow: var(--hp-shadow-card);
  background: var(--hp-bg-card);
}
@media (min-width: 720px) {
  .lp-hero__shot { max-width: 940px; }
  .lp-hero__shot img {
    aspect-ratio: 21 / 9;
    object-fit: cover;
    object-position: 60% 45%;
  }
}
.lp-formhost {
  background: var(--hp-bg);
  padding: 0 14px 56px;
}
.lp-formhost__inner {
  max-width: 720px;
  margin: 0 auto;
  background: var(--hp-bg-card);
  border: 1px solid var(--hp-border);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--hp-shadow-card);
}
@media (min-width: 720px) {
  .lp-formhost__inner { padding: 30px; }
}

/* ─────────────── cart (review) page ─────────────── */
.cart-dl {
  margin: 24px 0 0;
  display: grid;
  gap: 4px;
}
.cart-dl > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hp-border-soft);
  font-size: 14.5px;
}
.cart-dl dt {
  color: var(--hp-muted);
  font-weight: 600;
  margin: 0;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  padding-top: 2px;
}
.cart-dl dd {
  margin: 0;
  word-break: break-word;
}

.cart-cta,
a.cart-cta,
.art__body a.cart-cta {
  width: 100%;
  background: var(--hp-orange);
  color: #fff;
  border: 0;
  padding: 16px 20px;
  font-weight: 800;
  font-size: 15.5px;
  border-radius: 12px;
  cursor: pointer;
  font-family: inherit;
  text-decoration: none;
  display: block;
  text-align: center;
  box-sizing: border-box;
  transition: background 0.15s;
}
.cart-cta:hover,
a.cart-cta:hover,
.art__body a.cart-cta:hover {
  background: var(--hp-orange-deep);
  color: #fff;
  text-decoration: none;
}

/* ─────────────── auth (login, signup, account) ─────────────── */
.auth-wrap {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 22px 80px;
  background: var(--hp-bg);
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--hp-bg-card);
  border: 1px solid var(--hp-border);
  border-radius: 18px;
  padding: 36px 30px 30px;
  box-shadow: var(--hp-shadow-card);
  text-align: center;
}
.auth-card__eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--hp-orange);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0 0 8px;
}
.auth-card__title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 8px;
}
.auth-card__sub {
  margin: 0 0 26px;
  font-size: 15px;
  color: var(--hp-muted);
}
.auth-card__err {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13.5px;
  margin: 0 0 18px;
  text-align: left;
}

.auth-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--hp-border);
  border-radius: 12px;
  background: #fff;
  color: var(--hp-text);
  font-weight: 700;
  font-size: 14.5px;
  text-decoration: none;
  margin-bottom: 18px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.auth-google:hover {
  border-color: var(--hp-text);
  box-shadow: 0 6px 14px -8px rgba(15, 17, 26, 0.18);
}
.auth-google svg { flex-shrink: 0; }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
  font-size: 12px;
  color: var(--hp-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hp-border);
}

.auth-form {
  display: grid;
  gap: 14px;
  margin: 0 0 20px;
  text-align: left;
}
.auth-field {
  display: grid;
  gap: 6px;
}
.auth-field__label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--hp-muted);
}
.auth-field input {
  padding: 11px 14px;
  border: 1.5px solid var(--hp-border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: var(--hp-bg);
  transition: border-color 0.15s, background 0.15s;
}
.auth-field input:focus {
  outline: none;
  border-color: var(--hp-orange);
  background: #fff;
}

.auth-submit {
  width: 100%;
  background: var(--hp-text);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.auth-submit:hover { background: #000; }

/* Outlined orange "Luo uusi tili" CTA on /login. Distinct shape from
   the dark primary submit button so the visitor sees signup as a
   parallel path, not the main one on this page. */
.auth-secondary {
  display: block;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  background: #fff;
  color: var(--hp-orange);
  border: 1.5px solid var(--hp-orange);
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.auth-secondary:hover { background: var(--hp-orange); color: #fff; }

.auth-foot-note {
  font-size: 13px;
  color: var(--hp-muted);
  margin: 22px 0 0;
}
.auth-foot-note a {
  color: var(--hp-orange);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
}

/* ─────────────── article pages (legal/contact) ─────────────── */
.art {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 22px 80px;
}
.art__eyebrow {
  font-size: 12px;
  font-weight: 700;
  color: var(--hp-orange);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0 0 8px;
}
.art__h1 {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 0 28px;
}
.art__body {
  font-size: 16px;
  line-height: 1.65;
  color: var(--hp-text);
}
.art__body h3 {
  margin: 32px 0 10px;
  font-size: 18px;
  font-weight: 700;
}
.art__body p { margin: 0 0 14px; }
.art__body a { color: var(--hp-orange); text-decoration: underline; text-decoration-thickness: 1.5px; }
.art__body ul {
  margin: 0 0 14px;
  padding-left: 22px;
}
.art__body li { margin: 0 0 6px; }
.art__updated {
  font-size: 13px;
  color: var(--hp-muted);
  border-left: 3px solid var(--hp-orange);
  padding-left: 12px;
  margin-bottom: 24px;
  background: var(--hp-orange-soft);
  padding: 12px 14px;
  border-radius: 0 8px 8px 0;
}
.art__note {
  font-size: 13.5px;
  color: var(--hp-muted);
  border-top: 1px solid var(--hp-border);
  padding-top: 16px;
  margin-top: 28px;
  font-style: italic;
}
.art__intro {
  font-size: 17px;
  line-height: 1.6;
  color: var(--hp-text);
  margin: 0 0 24px;
  padding: 14px 18px;
  background: var(--hp-orange-soft);
  border-left: 3px solid var(--hp-orange);
  border-radius: 0 8px 8px 0;
}
.art__version {
  font-size: 12.5px;
  color: var(--hp-muted);
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--hp-border);
  text-align: right;
}
.art__body section { margin-top: 30px; }
.art__body section:first-of-type { margin-top: 24px; }
.art__body h4 {
  margin: 22px 0 8px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--hp-text);
}
.art-toc {
  background: var(--hp-bg-card);
  border: 1px solid var(--hp-border);
  border-radius: 12px;
  padding: 18px 22px 14px;
  margin: 0 0 28px;
}
.art-toc strong {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--hp-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.art-toc ol {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 4px;
}
.art-toc li { font-size: 13.5px; }
.art-toc a {
  text-decoration: none;
  border-bottom: 1px dotted var(--hp-orange);
}
.art-toc a:hover { background: var(--hp-orange-soft); }

/* ─────────────── 12. footer ─────────────── */
.lp-foot {
  background: var(--hp-text);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 22px 30px;
}
.lp-foot__grid {
  max-width: 1180px;
  margin: 0 auto 32px;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
.lp-foot__col h4 {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 0 0 12px;
}
.lp-foot__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.lp-foot__col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 13.5px;
}
.lp-foot__col a:hover { color: #fff; }
.lp-foot__bot {
  max-width: 1180px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  flex-wrap: wrap;
  gap: 10px;
}
@media (min-width: 720px) { .lp-foot__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
