/* The front page, redesigned 2026-11 from the "Website redesign" canvas.
 *
 * Loaded after landing.css and auth.css. Those still style the shared pieces
 * this page carries (dialogs, cookie notice, survey, FAQ behaviour, the phone
 * CTA bar), and most of them read colour from custom properties, so the first
 * block below re-points those properties at the light palette and the shared
 * pieces follow. Everything new is prefixed h- so nothing here collides with
 * the older landing classes.
 *
 * Two rules that are the point of this file, not accidents:
 *
 *   Fonts. Headings are Sora, everything else is Inter, the same two families
 *   as every other page. The canvas used Bricolage Grotesque and JetBrains
 *   Mono; neither is loaded. Numbers that the canvas set in mono use Inter
 *   with tabular figures instead.
 *
 *   3D is locked. Every 3D object (the planner card, the parcel, the step
 *   cards, the day tiles, the little box) is a fixed transform. No hover lifts,
 *   no pointer tilt, no spin, no transitions on transform, and buttons do not
 *   travel when pressed: their raised ledge is a shadow, and pressing changes
 *   colour only. Keep it that way. */

body.home-page {
  color-scheme: light;

  --page-bg: #F5F0E6;
  --ink: #1E3B2F;
  --muted: #3D4F43;
  --muted-light: #5B6648;
  --border: #E2D9C5;
  --card-bg: #FBF8F1;
  --header-bg: #F5F0E6;
  --band-bg: #EDE6D6;
  --cta-band-bg: #C8B48A;
  --accent: #1E3B2F;
  --accent-soft: #E3E6D8;
  --accent-soft2: #C9CDB8;
  --accent-dark: #0F2219;
  --on-accent: #F5F0E6;

  /* Page width, sized after oxylabs.io (the user's reference, 2026-11-14):
     at 1920 their header is 1280 wide and the hero panel 1536, with a 48px
     headline and 18px body. Wide enough to use a big screen, text still at
     reading size at 100% zoom. */
  --h-max: 1600px;
  --h-gutter: clamp(20px, 4vw, 64px);

  /* Named for this file. */
  --h-ink: #1E3B2F;
  --h-ink-deep: #0F2219;
  --h-ink-2: #284A3B;
  --h-paper: #F5F0E6;
  --h-card: #FBF8F1;
  --h-sand: #EDE6D6;
  --h-line: #E8E0CE;
  --h-ledge: #D6CCB4;
  --h-tan: #C8B48A;
  --h-tan-dark: #A8956B;
  --h-sage: #7F8C6A;
  --h-sage-dark: #5B6648;
  --h-sage-pale: #E3E6D8;
  --h-text-2: #3D4F43;
  --h-on-dark-2: #D9D2BF;

  font-family: 'Inter', -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background: var(--h-paper);
  color: var(--h-ink);
}

body.home-page a:hover { opacity: 1; }

/* One margin reset for everything this file owns, so spacing comes from the
   flex gaps below rather than from browser defaults. */
.home-page :is(.h-header, .h-hero, .h-band, .h-footer) :is(p, h1, h2, h3, ul, ol, fieldset) {
  margin: 0;
}

.h-wrap {
  max-width: var(--h-max);
  margin: 0 auto;
  padding: 0 var(--h-gutter);
}

/* ---------- Which CTA shows ----------
   Same switch as landing.css (body.ordering-closed, stamped by the server),
   restated here because .h-btn sets its own display and loads later, which
   would otherwise put both buttons on screen at once. */
body.home-page [data-closed-cta] { display: none; }
body.home-page.ordering-closed [data-order-cta] { display: none; }
body.home-page.ordering-closed [data-closed-cta] { display: block; }
body.home-page.ordering-closed :is(a, button)[data-closed-cta] { display: inline-flex; }

/* ---------- Buttons ----------
   The raised look is a solid ledge shadow. Nothing moves on hover or press. */
.h-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-sizing: border-box;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.h-btn svg { flex: none; }
.h-btn-sm { min-height: 44px; padding: 0 18px; }
.h-btn-lg { min-height: 52px; padding: 0 24px; font-size: 16px; }
.h-btn-xl { min-height: 56px; padding: 0 28px; font-size: 17px; }

.h-btn-dark {
  border: 0;
  background: var(--h-ink);
  color: var(--h-paper);
  box-shadow: 0 4px 0 var(--h-ink-deep);
}
.h-btn-lg.h-btn-dark { box-shadow: 0 5px 0 var(--h-ink-deep), 0 16px 24px -12px rgba(15, 34, 25, 0.6); }
.h-btn-xl.h-btn-dark { box-shadow: 0 6px 0 var(--h-ink-deep), 0 18px 26px -12px rgba(15, 34, 25, 0.6); }
.h-btn-dark:hover { background: var(--h-ink-2); color: var(--h-paper); }
.h-btn-dark:active { background: var(--h-ink-deep); }

.h-btn-light {
  border: 1.5px solid var(--h-ink);
  background: var(--h-card);
  color: var(--h-ink);
  box-shadow: 0 5px 0 var(--h-ink);
}
.h-btn-light:hover { background: #FFFFFF; color: var(--h-ink); }
.h-btn-light:active { background: var(--h-sand); }
.h-band-tan .h-btn-light { background: var(--h-paper); }

.h-btn:focus-visible,
.h-key:focus-visible,
.h-day:focus-visible {
  outline: 3px solid var(--h-ink);
  outline-offset: 3px;
}
.h-band-dark .h-btn:focus-visible { outline-color: var(--h-tan); }

/* ---------- Header ---------- */
.h-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--h-paper);
  border-bottom: 1px solid var(--border);
}
.h-nav {
  max-width: var(--h-max);
  margin: 0 auto;
  padding: 16px var(--h-gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
}
.h-nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
}
.h-nav-links > a:not(.h-btn) {
  color: var(--h-ink);
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  padding: 10px 0;
}
.h-nav-links > a:not(.h-btn):hover { color: #3D5C4C; text-decoration: underline; text-underline-offset: 4px; }

.h-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--h-ink);
  text-decoration: none;
}
.h-brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--h-ink);
  color: var(--h-paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 0 var(--h-ink-deep);
}
.h-brand-name {
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  font-size: 21px;
  letter-spacing: -0.02em;
}

@media (max-width: 860px) {
  .h-nav-section { display: none; }
}
/* The phone CTA bar (landing.css, .mobile-cta) carries the same action below
   700px, so the header copy would only be a second one. */
@media (max-width: 700px) {
  .h-header { position: static; }
  .h-nav-links > .h-btn { display: none !important; }
}

/* ---------- Shared type ---------- */
.h-eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--h-sage-dark);
}
.h-band-dark .h-eyebrow { color: var(--h-tan); }

.h-h1,
.h-h2,
.h-h3 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  color: inherit;
}
.h-h1 {
  font-size: clamp(36px, 3.3vw, 62px);
  /* Loose enough that the tan highlight on one line clears the descenders and
     ogoneks (p, y, ą, ų) of the line above: Sora's line box is about 1.26em
     tall and the highlight fills all of it. At 1.08 it covered them. */
  line-height: 1.24;
  letter-spacing: -0.035em;
  text-shadow:
    1px 1px 0 #B9A57B, 2px 2px 0 #B9A57B, 3px 3px 0 #B9A57B, 4px 4px 0 #B9A57B,
    8px 12px 18px rgba(30, 59, 47, 0.22);
}
.h-mark {
  background: var(--h-tan);
  padding: 0 0.14em;
  border-radius: 10px;
  box-shadow: 0 6px 0 var(--h-tan-dark);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  text-shadow: 1px 1px 0 var(--h-tan-dark), 2px 2px 0 var(--h-tan-dark), 3px 3px 0 var(--h-tan-dark);
}
.h-h2 {
  font-size: clamp(28px, 2.5vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.h-h2-tan { text-shadow: 1px 1px 0 var(--h-tan), 2px 2px 0 var(--h-tan), 3px 3px 0 var(--h-tan); }
.h-h2-deep {
  font-size: clamp(30px, 2.9vw, 54px);
  line-height: 1.06;
  text-shadow: 1px 1px 0 var(--h-ink-deep), 2px 2px 0 var(--h-ink-deep), 3px 3px 0 var(--h-ink-deep), 4px 4px 0 var(--h-ink-deep);
}
.h-h2-big {
  font-size: clamp(32px, 3.2vw, 60px);
  line-height: 1.06;
  text-shadow:
    1px 1px 0 var(--h-tan-dark), 2px 2px 0 var(--h-tan-dark), 3px 3px 0 var(--h-tan-dark),
    4px 4px 0 var(--h-tan-dark), 5px 5px 0 var(--h-tan-dark),
    10px 14px 20px rgba(30, 59, 47, 0.25);
}
.h-h3 {
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.h-body {
  max-width: 32em;
  font-size: clamp(16px, 0.95vw, 18px);
  line-height: 1.55;
  color: var(--h-text-2);
}
.h-band-dark .h-body { color: var(--h-on-dark-2); max-width: 38em; }
.h-band-tan .h-body { color: var(--h-ink); }

.h-tick {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--h-sage);
  color: var(--h-paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 0 var(--h-sage-dark);
}

/* ---------- Bands ---------- */
.h-band { padding: clamp(56px, 6vw, 120px) 0; }
.h-band-sand { background: var(--h-sand); }
.h-band-dark { background: var(--h-ink); color: var(--h-paper); }
.h-band-tan { background: var(--h-tan); color: var(--h-ink); }

.h-card {
  box-sizing: border-box;
  background: var(--h-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: clamp(20px, 3vw, 32px);
  box-shadow: 0 12px 0 var(--h-ledge), 0 44px 60px -28px rgba(30, 59, 47, 0.4);
}
.h-card-dark {
  background: var(--h-ink);
  color: var(--h-paper);
  border: 0;
  box-shadow: 0 12px 0 var(--h-ink-deep), 0 40px 50px -26px rgba(15, 34, 25, 0.55);
}

.h-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 48px;
}
.h-head-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.h-head-aside { max-width: 28em; font-size: clamp(16px, 0.9vw, 17px); }

/* ---------- Hero ---------- */
.h-hero {
  max-width: var(--h-max);
  margin: 0 auto;
  padding: clamp(48px, 5vw, 96px) var(--h-gutter) clamp(72px, 7vw, 128px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 88px clamp(48px, 5vw, 120px);
}
.h-hero-copy {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 2vw, 36px);
}
.h-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  border-radius: 999px;
  background: var(--h-sage-pale);
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 3px 0 var(--h-sage-pale), 0 3px 0 #C9CDB8;
}
.h-pill-icon {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--h-ink);
  color: var(--h-paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.h-lead { max-width: 34em; font-size: clamp(17px, 1vw, 19px); line-height: 1.55; color: var(--h-text-2); }
.h-actions { display: flex; flex-wrap: wrap; gap: 14px; padding-bottom: 6px; }
.h-ticks {
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-size: 15px;
  font-weight: 500;
}
.h-ticks li { display: inline-flex; align-items: center; gap: 8px; }

/* The planner. One fixed angle; the stage provides the perspective. */
.h-stage {
  flex: 1 1 520px;
  min-width: 0;
  max-width: clamp(520px, 32vw, 640px);
  position: relative;
  perspective: 1400px;
  perspective-origin: 50% 40%;
  /* Headroom for the parcel, which floats above the card and would otherwise
     sit under the sticky header. */
  padding-top: 56px;
}
.h-stage-shadow {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -46px;
  height: 56px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(30, 59, 47, 0.3), rgba(30, 59, 47, 0) 70%);
}
.h-planner {
  position: relative;
  box-sizing: border-box;
  background: var(--h-card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  transform-style: preserve-3d;
  transform: rotateX(8deg) rotateY(-12deg);
  box-shadow: 0 14px 0 var(--h-ledge), 0 50px 70px -30px rgba(30, 59, 47, 0.45);
}

/* The parcel: a cube at one fixed angle, floating above the card's corner. */
.h-parcel {
  position: absolute;
  top: -70px;
  right: 26px;
  width: 88px;
  height: 88px;
  transform: translateZ(90px);
  transform-style: preserve-3d;
  pointer-events: none;
}
.h-cube {
  position: relative;
  width: 88px;
  height: 88px;
  transform-style: preserve-3d;
  transform: rotateX(-30deg) rotateY(36deg);
}
.h-face { position: absolute; inset: 0; }
.h-face-front { background: var(--h-tan); transform: translateZ(44px); box-shadow: inset 0 0 0 1px rgba(30, 59, 47, 0.14); }
.h-face-back { background: #B9A57B; transform: rotateY(180deg) translateZ(44px); }
.h-face-right { background: #A99568; transform: rotateY(90deg) translateZ(44px); }
.h-face-left { background: #BFAB80; transform: rotateY(-90deg) translateZ(44px); }
.h-face-top { background: #D8C79F; transform: rotateX(90deg) translateZ(44px); }
.h-face-bottom { background: #9C8960; transform: rotateX(-90deg) translateZ(44px); }
.h-tape { position: absolute; left: 38px; top: 0; width: 12px; height: 88px; background: var(--h-sage); }
.h-face-back .h-tape { background: #6E7A5B; }
.h-face-top .h-tape { background: #8E9B78; }
.h-label { position: absolute; left: 10px; bottom: 12px; width: 22px; height: 15px; border-radius: 2px; background: var(--h-paper); }

.h-planner-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
  padding-right: 110px;
}
.h-planner-head h2 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.025em;
}

.h-fieldset { padding: 0; border: 0; min-width: 0; }
.h-fieldset legend { padding: 0; margin-bottom: 10px; font-size: 14px; font-weight: 600; }

.h-freq {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px 6px 9px;
  background: #E6DECB;
  border-radius: 16px;
  box-shadow: inset 0 3px 6px rgba(30, 59, 47, 0.16);
}
.h-key {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 11px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  background: var(--h-card);
  color: var(--h-ink);
  box-shadow: 0 3px 0 #CFC6B0;
}
.h-key[aria-pressed='true'] {
  background: var(--h-ink);
  color: var(--h-paper);
  box-shadow: inset 0 3px 7px rgba(0, 0, 0, 0.4);
}

.h-days {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  padding-bottom: 5px;
}
.h-day {
  min-width: 0;
  min-height: 48px;
  padding: 0 4px;
  border-radius: 12px;
  border: 1.5px solid var(--h-sage);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  background: var(--h-card);
  color: var(--h-ink);
  box-shadow: 0 4px 0 var(--h-sage);
}
.h-day[aria-pressed='true'] {
  background: var(--h-ink);
  color: var(--h-paper);
  border-color: var(--h-ink);
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.4);
}

.h-result {
  background: var(--h-ink);
  color: var(--h-paper);
  border-radius: 20px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transform: translateZ(40px);
  box-shadow: 0 8px 0 var(--h-ink-deep), 0 34px 44px -20px rgba(15, 34, 25, 0.6);
}
.h-result-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px 16px;
}
.h-result-when { min-width: 0; }
.h-result-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--h-tan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.home-page .h-result-date {
  margin-top: 4px;
  font-family: 'Sora', sans-serif;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.home-page .h-result-cadence { margin-top: 6px; font-size: 15px; color: var(--h-on-dark-2); }
.h-result-in {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--h-tan);
  color: var(--h-ink);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 3px 0 var(--h-tan-dark);
}
.h-result-in:empty { display: none; }

.h-steps { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.h-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(245, 240, 230, 0.06);
}
.h-step-icon {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(200, 180, 138, 0.55);
  box-sizing: border-box;
  color: var(--h-tan);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.h-step-text { flex: 1 1 auto; min-width: 0; }
.h-step-title { font-size: 15px; font-weight: 600; }
.h-step-date {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.h-step-final { background: var(--h-paper); color: var(--h-ink); box-shadow: 0 4px 0 var(--h-tan); }
.h-step-final .h-step-icon { border: 0; background: var(--h-ink); color: var(--h-paper); }


.home-page .h-later-label { margin-right: 4px; font-size: 14px; font-weight: 600; }

/* A phone has no room for the perspective to read as depth, only as text that
   leans, so the fixed angle is gentler there. Still fixed. */
@media (max-width: 600px) {
  .h-planner { transform: rotateX(5deg) rotateY(-5deg); }
  .h-parcel { top: -54px; right: 14px; transform: translateZ(60px) scale(0.78); }
  .h-planner-head { padding-right: 84px; }
  .h-key { padding: 0 10px; font-size: 14px; }
  /* Beside the text, the date squeezed the step into a one-word column. */
  .h-step {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 4px;
    align-items: start;
  }
  .h-step-icon { grid-row: span 2; }
  .h-step-date { grid-column: 2; }
}

/* ---------- "Kas pasikeičia" ---------- */
.h-split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px clamp(48px, 5vw, 120px);
}
.h-split-copy {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.h-split-art {
  flex: 1 1 560px;
  min-width: 0;
  perspective: 1600px;
  padding-bottom: 16px;
}
.h-todo { transform: rotateY(-10deg) rotateX(6deg); }
.h-todo-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding-bottom: 10px;
}
.h-todo-head h3 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: clamp(20px, 1.1vw, 22px); letter-spacing: -0.02em; }
.h-todo-list { padding: 0; list-style: none; }
.h-todo-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--h-line);
}
.h-box {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--h-sage);
  color: var(--h-paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 -3px 0 var(--h-sage-dark);
}
.h-todo-text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 17px;
  color: var(--h-sage-dark);
}
.h-auto {
  flex: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--h-sage-pale);
  font-size: 12px;
  font-weight: 500;
}

/* ---------- "Kaip tai veikia" ---------- */
.h-steps-grid {
  margin-top: clamp(40px, 3.5vw, 72px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
  gap: 28px clamp(24px, 2.4vw, 48px);
  perspective: 1800px;
  padding-bottom: 14px;
}
.h-how {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px;
  transform-style: preserve-3d;
  box-shadow: 0 12px 0 var(--h-ledge), 0 40px 50px -26px rgba(30, 59, 47, 0.4);
}
.h-how.h-card-dark { box-shadow: 0 12px 0 var(--h-ink-deep), 0 40px 50px -26px rgba(15, 34, 25, 0.55); }
.h-how-1 { transform: rotateY(12deg); }
.h-how-2 { transform: rotateX(8deg) translateY(-10px); }
.h-how-3 { transform: rotateY(-12deg); }
/* Stacked one per row, the side tilts point every card off the same edge of a
   narrow screen, so they flatten to the gentle forward lean the middle one has. */
@media (max-width: 860px) {
  .h-how-1, .h-how-2, .h-how-3 { transform: rotateX(6deg); }
}
.h-how-top { display: flex; align-items: center; justify-content: space-between; }
.h-how-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--h-sage-pale);
  color: var(--h-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 0 #C9CDB8;
}
.h-card-dark .h-how-icon { background: var(--h-tan); box-shadow: 0 4px 0 var(--h-tan-dark); }
.h-num { font-size: 14px; font-weight: 600; color: var(--h-sage-dark); font-variant-numeric: tabular-nums; }
.h-card-dark .h-num { color: var(--h-tan); }
.home-page .h-how h3 {
  margin-top: 4px;
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: clamp(21px, 1.2vw, 24px);
  letter-spacing: -0.02em;
}
.h-how p { font-size: 16px; color: var(--h-text-2); }
.h-card-dark p { color: var(--h-on-dark-2); }

.h-inset {
  margin-top: auto;
  background: var(--h-paper);
  border: 1px solid var(--h-line);
  border-radius: 16px;
  padding: 14px;
  transform: translateZ(28px);
  box-shadow: 0 6px 0 var(--border);
}
/* Steps one and two: the inset grows to fill the card down to its foot, so the
   three cards end level and there is no empty band above the inset. */
.h-inset-cart,
.h-inset-picker { flex: 1 1 auto; margin-top: 6px; display: flex; flex-direction: column; }
.h-inset-cart { gap: 6px; padding: 16px; }
.h-cart-title { font-size: 13px; font-weight: 600; color: var(--h-sage-dark); }
.h-cart-list {
  flex: 1 1 auto;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}
.h-cart-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--h-ink);
}
.h-cart-list li + li { border-top: 1px solid var(--h-line); }
.h-cart-icon {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--h-card);
  box-shadow: 0 3px 0 var(--h-ledge);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.h-cart-icon svg { display: block; }
.h-inset-picker { padding: 16px; gap: 8px; justify-content: space-evenly; }
.h-mini-label { font-size: 13px; font-weight: 600; color: var(--h-sage-dark); }
.h-mini-freq { display: flex; gap: 6px; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.h-mini-freq span {
  flex: 1;
  text-align: center;
  padding: 11px 0;
  border-radius: 10px;
  background: var(--h-card);
  box-shadow: 0 3px 0 var(--h-ledge);
}
.h-mini-freq .is-on { background: var(--h-ink); color: var(--h-paper); box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.35); }
.h-mini-days {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  padding-bottom: 3px;
}
.h-mini-days span {
  padding: 11px 0;
  border-radius: 10px;
  border: 1px solid #CFC6B0;
  background: var(--h-card);
  box-shadow: 0 3px 0 #CFC6B0;
}
.h-mini-days .is-on { border-color: var(--h-ink); background: var(--h-tan); box-shadow: inset 0 2px 5px rgba(30, 59, 47, 0.35); }
.h-inset-auto {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--h-ink-2);
  border-color: rgba(200, 180, 138, 0.35);
  box-shadow: 0 6px 0 var(--h-ink-deep);
  font-size: 14px;
  font-weight: 500;
}
.h-inset-tick {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--h-tan);
  color: var(--h-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- "Užkulisiai" ---------- */
.h-behind-head { display: flex; flex-direction: column; gap: 16px; max-width: 1040px; }
.h-timeline-caption {
  margin-top: 48px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--h-tan);
}
.h-timeline-stage {
  margin-top: 18px;
  perspective: 1800px;
  perspective-origin: 50% 0%;
  padding: 0 12px 28px;
}
.h-timeline {
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 30px 12px;
  transform-style: preserve-3d;
  transform: rotateX(22deg);
  transform-origin: 50% 100%;
}
.h-tile {
  position: relative;
  box-sizing: border-box;
  min-height: 196px;
  padding: 18px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.h-tile-day { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; }
.h-tile-title {
  margin-top: auto;
  font-family: 'Sora', sans-serif;
  font-size: clamp(18px, 1vw, 20px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
}

.h-tile-tan {
  background: var(--h-tan);
  color: var(--h-ink);
  transform: translateZ(18px);
  box-shadow: 0 10px 0 var(--h-tan-dark), 0 30px 34px -14px rgba(0, 0, 0, 0.45);
}
.h-tile-green {
  background: var(--h-ink-2);
  border: 1px solid rgba(200, 180, 138, 0.35);
  transform: translateZ(18px);
  box-shadow: 0 10px 0 #10261C, 0 30px 34px -14px rgba(0, 0, 0, 0.45);
}
.h-tile-green :is(.h-tile-day, svg) { color: var(--h-tan); }
.h-tile-off {
  border: 1px dashed rgba(200, 180, 138, 0.5);
  background: repeating-linear-gradient(135deg, rgba(200, 180, 138, 0.12) 0 2px, rgba(15, 34, 25, 0.35) 2px 12px);
  box-shadow: inset 0 8px 14px rgba(0, 0, 0, 0.45);
}
.h-tile-off :is(.h-tile-day, svg, .h-tile-title) { color: var(--h-tan); }
.h-tile-paper {
  background: var(--h-paper);
  color: var(--h-ink);
  transform-style: preserve-3d;
  transform: translateZ(44px);
  box-shadow: 0 16px 0 var(--h-tan), 0 40px 44px -14px rgba(0, 0, 0, 0.5);
}

/* The small parcel sitting on the arrival day. Fixed, like the big one. */
.h-minibox {
  position: absolute;
  top: 18px;
  right: 22px;
  width: 46px;
  height: 46px;
  transform-style: preserve-3d;
  transform: translateZ(23px) rotateZ(-16deg);
  pointer-events: none;
}
.h-mface { position: absolute; inset: 0; }
.h-mface i { position: absolute; left: 19px; top: 0; width: 8px; height: 46px; }
.h-mface-front { background: #D8C79F; transform: translateZ(23px); }
.h-mface-front i { background: #8E9B78; }
.h-mface-bottom { background: var(--h-tan); transform: rotateX(-90deg) translateZ(23px); }
.h-mface-bottom i { background: var(--h-sage); }
.h-mface-right { background: #A99568; transform: rotateY(90deg) translateZ(23px); }
.h-mface-left { background: #BFAB80; transform: rotateY(-90deg) translateZ(23px); }
.h-mface-top { background: #B9A57B; transform: rotateX(90deg) translateZ(23px); }

.h-facts {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 28px 40px;
}
.h-fact { border-top: 1px solid rgba(200, 180, 138, 0.45); padding-top: 18px; }
.h-fact h3 { font-family: 'Sora', sans-serif; font-size: clamp(20px, 1.1vw, 22px); font-weight: 700; color: var(--h-tan); letter-spacing: -0.015em; }
.home-page .h-fact p { margin-top: 8px; font-size: 16px; color: var(--h-on-dark-2); }

/* ---------- Pricing ---------- */
.h-price-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 32px 28px;
  align-items: start;
}
.h-price { display: flex; flex-direction: column; gap: 16px; }
.h-price > .h-btn { align-self: flex-start; margin-top: 8px; }
.h-price-title { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 18px; letter-spacing: -0.015em; }
.h-price-amount {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-shadow: 1px 1px 0 var(--h-tan), 2px 2px 0 var(--h-tan), 3px 3px 0 var(--h-tan);
}
.h-price-amount span {
  margin-left: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--h-sage-dark);
  text-shadow: none;
}
.h-price-desc { font-size: 15px; color: var(--h-text-2); }
.h-price-list { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.h-price-list li { display: flex; align-items: center; gap: 10px; }
.home-page .h-example-sub { margin: 6px 0 10px; font-size: 14px; color: var(--h-sage-dark); }
.h-example-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid var(--h-line);
  font-size: 15px;
}
.h-example-row span:last-child { font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.h-example-total { border-top: 2px solid var(--h-ink); font-weight: 600; }
.home-page .h-example-note { margin-top: 10px; font-size: 14px; color: var(--h-sage-dark); }

/* ---------- FAQ (behaviour from landing.js, look from here) ---------- */
.home-page .faq-layout { gap: 56px; }
.home-page .faq-aside { display: flex; flex-direction: column; gap: 14px; top: 104px; }
.home-page .faq-aside .h-body { font-size: 17px; }
.home-page .faq-help { margin-top: 14px; padding-top: 22px; border-top: 1px solid var(--h-ledge); }
.home-page .faq-help-text { margin: 0 0 16px; font-size: 15px; color: var(--h-text-2); }
.home-page .faq-list { gap: 14px; }
.home-page .faq-item {
  background: var(--h-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 4px 22px;
  box-shadow: 0 5px 0 var(--h-ledge);
  /* Colour only. Nothing on this page moves. */
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.home-page .faq-item:hover { border-color: var(--h-ledge); }
/* Open: the same dark green as the fee card, with its light text (black on
   this green would not read). Closing fades back to paper. */
.home-page .faq-item.is-open {
  background: var(--h-ink);
  border-color: var(--h-ink);
  box-shadow: 0 5px 0 var(--h-ink-deep);
}
.home-page .faq-question,
.home-page .faq-answer { transition: color 0.3s ease; }
.home-page .faq-item.is-open .faq-question { color: var(--h-paper); }
.home-page .faq-item.is-open .faq-answer { color: var(--h-on-dark-2); }
.home-page .faq-indicator::before,
.home-page .faq-indicator::after { transition: background-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease; }
.home-page .faq-item.is-open .faq-indicator::before { background: var(--h-tan); }
.home-page .faq-item.is-open .faq-question:focus-visible { outline-color: var(--h-tan); }
.home-page .faq-question { font-family: 'Sora', sans-serif; font-weight: 600; font-size: clamp(16px, 0.9vw, 17px); color: var(--h-ink); padding: 18px 0; }
.home-page .faq-indicator::before,
.home-page .faq-indicator::after { background: var(--h-ink); }
.home-page .faq-answer { margin: 0 0 18px; color: var(--h-text-2); font-size: 16px; line-height: 1.65; }

/* ---------- Closing CTA and waitlist ---------- */
.h-start {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 48px;
}
.h-start-copy {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.h-waitlist { flex: 1 1 380px; min-width: 0; }
.home-page .h-waitlist .waitlist-form { max-width: 520px; margin: 0; }
.home-page .h-waitlist .waitlist-row { gap: 12px; padding-bottom: 6px; }
.home-page .h-waitlist .waitlist-row input {
  flex: 1 1 220px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1.5px solid var(--h-ink);
  background: var(--h-paper);
  color: var(--h-ink);
  font: 500 16px 'Inter', sans-serif;
}
.home-page .h-waitlist .waitlist-row input::placeholder { color: var(--h-sage-dark); }
.home-page .h-waitlist .waitlist-row input:focus-visible { outline: 3px solid var(--h-ink); outline-offset: 2px; }
.home-page .h-waitlist .waitlist-note { margin: 12px 0 0; font-size: 13px; color: var(--h-ink); }
.home-page .h-waitlist .waitlist-error { margin: 12px 0 0; font-size: 14px; font-weight: 600; color: #7A1712; }
.home-page .h-waitlist .waitlist-done { font-size: 17px; font-weight: 600; color: var(--h-ink); }

/* ---------- Shops band ---------- */
.h-partner { padding: clamp(48px, 6vw, 72px) 0; }
.h-partner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
}
.h-partner-inner > div { display: flex; flex-direction: column; gap: 12px; max-width: 46em; }
.h-partner .h-body { font-size: 16px; max-width: 40em; }

/* ---------- Footer ---------- */
.h-footer { background: var(--h-ink); color: var(--h-on-dark-2); }
.h-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px 48px;
  padding-top: 44px;
  padding-bottom: 28px;
}
.h-brand-sm { color: var(--h-paper); }
.h-brand-sm .h-brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--h-tan);
  color: var(--h-ink);
  box-shadow: 0 3px 0 var(--h-tan-dark);
}
.h-brand-sm .h-brand-name { font-size: 17px; }
.home-page .h-footer-tag { margin-top: 12px; font-size: 14px; }
.home-page .h-footer-contact { margin-top: 8px; display: flex; flex-direction: column; }
.h-footer-contact a { padding: 4px 0; color: var(--h-paper); font-size: 14px; font-weight: 600; text-decoration: none; }
.h-footer-nav { display: flex; flex-wrap: wrap; gap: 4px 28px; max-width: 680px; }
.h-footer-nav a { padding: 8px 0; color: var(--h-paper); font-size: 14px; text-decoration: none; }
.h-footer a:hover { color: var(--h-tan); text-decoration: underline; text-underline-offset: 4px; }
.h-footer a:focus-visible { outline: 2px solid var(--h-tan); outline-offset: 3px; border-radius: 4px; }
.h-footer-bottom {
  border-top: 1px solid rgba(200, 180, 138, 0.25);
  padding-top: 18px;
  padding-bottom: 28px;
  font-size: 13px;
}
/* Room for the pinned phone CTA bar, so it never sits on the last line. */
@media (max-width: 700px) {
  .h-footer-bottom { padding-bottom: calc(28px + var(--mobile-cta-h, 0px)); }
}

/* ---------- Shared pieces from landing.css / auth.css, re-themed ----------
   Mostly handled by the custom properties at the top. These are the places
   that hard-code something dark, glassy or moving. */
body.home-page .btn-primary {
  background: var(--h-ink);
  color: var(--h-paper);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 4px 0 var(--h-ink-deep);
  transform: none;
  transition: background-color 0.15s ease;
}
body.home-page .btn-primary::before { content: none; }
body.home-page .btn-primary:hover { background: var(--h-ink-2); transform: none; box-shadow: 0 4px 0 var(--h-ink-deep); }
body.home-page .btn-primary:active { background: var(--h-ink-deep); transform: none; box-shadow: 0 4px 0 var(--h-ink-deep); }

body.home-page .btn-outline {
  border-color: var(--h-ink);
  color: var(--h-ink);
  background: var(--h-card);
}

body.home-page .overlay { background: rgba(15, 34, 25, 0.45); }
body.home-page .auth-card {
  background: var(--h-card);
  border: 1px solid var(--border);
  box-shadow: 0 12px 0 var(--h-ledge), 0 40px 60px -20px rgba(15, 34, 25, 0.45);
}
body.home-page .auth-field input,
body.home-page .auth-field textarea {
  background: #FFFFFF;
  border-color: #CFC6B0;
  color: var(--h-ink);
}
body.home-page .auth-error {
  background: rgba(122, 23, 18, 0.08);
  color: #7A1712;
}

body.home-page .cookie-banner {
  background: var(--h-card);
  border: 1px solid var(--border);
  box-shadow: 0 8px 0 var(--h-ledge), 0 24px 40px -16px rgba(15, 34, 25, 0.4);
  animation: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
body.home-page .cookie-banner-text { color: var(--h-text-2); }
body.home-page .cookie-banner-text a { color: var(--h-ink); text-decoration: underline; }
body.home-page .cookie-banner-btn-ghost { border-color: var(--h-ink); color: var(--h-ink); background: transparent; }

body.home-page .survey-tab {
  background: var(--h-card);
  border-color: var(--border);
  box-shadow: 0 6px 0 var(--h-ledge), 0 20px 30px -14px rgba(15, 34, 25, 0.35);
}

body.home-page .mobile-cta {
  background: var(--h-paper);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: none;
}

/* ---------- Photo slots ----------
   public/photo-slots.js marks each image .is-loaded and its host
   [data-has-photo] once the file exists, and removes the slot if it does not.
   Until then nothing here takes space. Files: public/photos/README.md.
   Like everything else on the page, every photo sits at a fixed angle. */
img[data-photo-slot]:not(.is-loaded) { display: none; }
.h-life:has(img:not(.is-loaded)) { display: none; }

/* The hero parcel. The CSS cube is the stand-in until parcel.png exists. */
.h-parcel-photo {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 132px;
  height: auto;
  transform: translate(-50%, -50%);
}
.h-parcel[data-has-photo] .h-cube { display: none; }

/* The arrival-day tile's box, same file, same swap. */
.h-tile-photo {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 76px;
  height: auto;
}
.h-tile-paper[data-has-photo] .h-minibox { display: none; }

/* The example basket under the planner's arithmetic. */
.h-basket { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.h-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--h-card);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 3px 0 var(--h-ledge);
}
.h-item img {
  width: 28px;
  height: 28px;
  margin-left: -6px;
  border-radius: 999px;
  object-fit: cover;
  background: var(--h-sand);
}

/* The lifestyle photo beside the to-do card: a landscape photo top right,
   the card overlapping its lower left corner, both at fixed angles. Landscape
   because the photo is: a tall crop kept only the courier's leg. */
.h-life { margin: 0; }
.h-life img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.h-split-art[data-has-photo] .h-life {
  width: 72%;
  margin-left: auto;
  border-radius: 22px;
  overflow: hidden;
  transform: rotateY(-8deg) rotateX(4deg);
  box-shadow: 0 12px 0 var(--h-ledge), 0 44px 60px -28px rgba(30, 59, 47, 0.4);
}
.h-split-art[data-has-photo] .h-todo {
  position: relative;
  z-index: 1;
  width: 78%;
  margin-top: -120px;
}
@media (max-width: 700px) {
  .h-split-art[data-has-photo] .h-life { width: 88%; transform: none; }
  .h-split-art[data-has-photo] .h-todo { width: auto; margin-top: -56px; }
}

/* The picture in step three: at the foot of the card and running to its
   edges, as in the mockup. The negative margins undo the card's 28px padding.
   The doorstep drawing shows until delivered.webp exists. */
.h-how-pic {
  margin: auto -28px -28px;
  border-radius: 0 0 24px 24px;
  overflow: hidden;
  aspect-ratio: 16 / 6.5;
  border-top: 1px solid rgba(200, 180, 138, 0.35);
}
.h-how-art,
.h-how-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.h-how-pic[data-has-photo] .h-how-art { display: none; }



/* ---------- Hero fits one desktop screen ----------
   The planner has to fit in a 1920x1080 window with the browser chrome on top
   (about 911px of page) without scrolling. Desktop only: phones keep the
   bigger touch targets above. */
@media (min-width: 1000px) {
  .h-hero { padding-top: clamp(32px, 3vw, 56px); padding-bottom: clamp(56px, 5vw, 96px); }
  .h-planner { gap: 16px; }
  .h-fieldset legend { margin-bottom: 8px; }
  .h-key { min-height: 40px; }
  .h-day { min-height: 44px; }
  .h-result { padding: 18px; gap: 14px; }
  .h-steps { gap: 5px; }
  .h-step { padding: 8px 12px; }
}

/* ---------- The fee card, in green ---------- */
.h-price.h-card-dark .h-price-title { color: var(--h-tan); }
.h-price.h-card-dark .h-price-amount {
  color: var(--h-paper);
  text-shadow: 1px 1px 0 var(--h-ink-deep), 2px 2px 0 var(--h-ink-deep), 3px 3px 0 var(--h-ink-deep);
}
.h-price.h-card-dark .h-price-amount span { color: var(--h-tan); }
.h-price.h-card-dark .h-price-desc { color: var(--h-on-dark-2); }
.h-price.h-card-dark .h-price-list { color: var(--h-paper); }
.h-price.h-card-dark .h-tick { background: var(--h-tan); color: var(--h-ink); box-shadow: 0 2px 0 var(--h-tan-dark); }
/* A dark button would vanish on the green, so it turns tan here. */
.h-price.h-card-dark .h-btn-dark {
  background: var(--h-tan);
  color: var(--h-ink);
  box-shadow: 0 5px 0 var(--h-tan-dark), 0 16px 24px -12px rgba(0, 0, 0, 0.5);
}
.h-price.h-card-dark .h-btn-dark:hover { background: #D8C79F; }
.h-price.h-card-dark .h-btn:focus-visible { outline-color: var(--h-tan); }

/* ---------- Hero on the mesh gradient ----------
   The canvas is drawn by public/mesh-bg.js (the 21st.dev "Static Mesh
   Gradient", ported without React). It is static: no animation, no cursor.
   The gradient is mostly deep green, so the hero's text turns light on it, and
   a shade from the left keeps the paragraph readable where the mint patch is
   brightest. The band's own colour is the fallback without WebGL. */
.h-hero-band {
  position: relative;
  isolation: isolate;
  background: #081C15;
}
.h-mesh {
  position: absolute;
  inset: 0;
  z-index: -2;
  display: block;
  width: 100%;
  height: 100%;
}
.h-hero-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 28, 21, 0.62) 0%, rgba(8, 28, 21, 0.4) 42%, rgba(8, 28, 21, 0) 70%);
}
@media (max-width: 900px) {
  .h-hero-band::before { background: rgba(8, 28, 21, 0.5); }
}

.h-hero-band .h-h1 {
  color: var(--h-paper);
  text-shadow:
    1px 1px 0 var(--h-ink-deep), 2px 2px 0 var(--h-ink-deep), 3px 3px 0 var(--h-ink-deep), 4px 4px 0 var(--h-ink-deep),
    8px 12px 18px rgba(0, 0, 0, 0.35);
}
.h-hero-band .h-mark { color: var(--h-ink); }
.h-hero-band .h-lead { color: #EEE8DA; }
.h-hero-band .h-ticks { color: var(--h-paper); }
.h-hero-band .h-tick { background: var(--h-tan); color: var(--h-ink); box-shadow: 0 2px 0 var(--h-tan-dark); }
/* A dark button would sink into the gradient, so it turns tan here. */
.h-hero-band .h-btn-dark {
  background: var(--h-tan);
  color: var(--h-ink);
  box-shadow: 0 5px 0 var(--h-tan-dark), 0 16px 24px -12px rgba(0, 0, 0, 0.6);
}
.h-hero-band .h-btn-dark:hover { background: #D8C79F; }
.h-hero-band .h-btn:focus-visible { outline-color: var(--h-tan); }
.h-hero-band .h-stage-shadow { background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0) 70%); }

/* ---------- Paste a product link (in the hero) ----------
   Sits on the mesh gradient, so the label is light and the field is a white
   pill with the button inside its right end. */
.h-link-form { display: flex; flex-direction: column; gap: 10px; max-width: 600px; }
.h-link-label { font-size: 15px; font-weight: 600; color: var(--h-paper); }
.h-link-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: #FFFFFF;
  box-shadow: 0 5px 0 var(--h-ink-deep), 0 16px 24px -12px rgba(0, 0, 0, 0.5);
}
.h-link-row input {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 46px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--h-ink);
  font: 500 16px Inter, sans-serif;
}
.h-link-row input::placeholder { color: var(--h-sage-dark); }
.h-link-row input:focus-visible { outline: 2px solid var(--h-ink); outline-offset: 0; }
.h-link-row .h-btn {
  flex: none;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  background: var(--h-ink);
  color: var(--h-paper);
  box-shadow: none;
}
.h-link-row .h-btn:hover { background: var(--h-ink-2); color: var(--h-paper); }
.home-page .h-link-form .try-error {
  margin: 4px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: #FFD9C7;
}

/* The hero carries one more row now, so on desktop the text column packs a
   little tighter to keep everything on the first screen. */
@media (min-width: 1000px) {
  .h-hero-copy { gap: 22px; }
}

/* ---------- The to-do card, in green ----------
   Same dark green as the fee card and an open FAQ question. */
.h-todo.h-card-dark .h-todo-head h3 { color: var(--h-paper); }
.h-todo.h-card-dark .h-todo-list li { border-top-color: rgba(200, 180, 138, 0.22); }
.h-todo.h-card-dark .h-box { background: var(--h-tan); color: var(--h-ink); box-shadow: inset 0 -3px 0 var(--h-tan-dark); }
.h-todo.h-card-dark .h-todo-text { color: var(--h-paper); }
.h-todo.h-card-dark .h-auto { background: var(--h-ink-2); color: var(--h-tan); }

/* The link field shares the hero's button row with the main CTA, in the spot
   the "Išbandyti planuoklę" button used to hold. */
.h-actions { align-items: center; }
.h-actions .h-link-form { flex: 1 1 360px; min-width: 0; max-width: 520px; }
@media (max-width: 600px) {
  .h-actions .h-link-form { flex-basis: 100%; }
}

/* ---------- Mesh gradient on the other green sections ----------
   Same canvas and script as the hero. These sections carry light and tan text
   across their whole width, not just on the left, so the shade is even and a
   little heavier than the hero's, enough to keep the tan headings readable
   where the gradient's butter-yellow patch is brightest. */
.h-mesh-band {
  position: relative;
  isolation: isolate;
}
.h-mesh-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: rgba(8, 28, 21, 0.5);
}
.h-timeline-caption { justify-content: flex-end; }

/* ---------- Trustpilot counter (header, centre) ----------
   Filled by public/trustpilot-badge.js from two hand-set numbers. Star boxes
   fill left to right by --fill in Trustpilot's green; empty ones are grey, so
   at zero reviews the row reads as "not rated yet", not as a bad rating.
   Hidden where the header has no room for it. */
.h-tp {
  margin: 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--h-card);
  color: var(--h-ink);
  text-decoration: none;
  box-shadow: 0 3px 0 var(--h-ledge);
  transition: border-color 0.2s ease;
}
.h-tp:hover { border-color: #00B67A; color: var(--h-ink); }
.h-tp:focus-visible { outline: 3px solid var(--h-ink); outline-offset: 3px; }
.h-tp-brand {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.h-tp-logo { width: 18px; height: 18px; fill: #00B67A; }
.h-tp-stars { display: inline-flex; gap: 2px; }
.h-tp-stars i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 2px;
  background: linear-gradient(90deg, #00B67A var(--fill, 0%), #D6CCB4 var(--fill, 0%));
}
.h-tp-stars svg { width: 12px; height: 12px; fill: #FFFFFF; }
.h-tp-text {
  padding-left: 10px;
  border-left: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--h-text-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
@media (max-width: 1199px) {
  .h-tp { display: none; }
}

/* ---------- Product-link result dialog ----------
   The main button and "Bandyti kitą prekę" under it share one width, height
   and shape, so the two read as a pair. Applies to both dialog states. */
body.home-page .try-card :is(.auth-submit, .try-secondary) {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}
body.home-page .try-card .try-secondary { margin-top: 12px; }

/* ---------- Language switch (LT / EN) ----------
   Two links in a recessed pill; the current language is the raised dark one.
   Changes colour only, like every other control on the page. */
.h-lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: #E6DECB;
  box-shadow: inset 0 2px 4px rgba(30, 59, 47, 0.16);
}
.h-nav-links > .h-lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--h-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.h-nav-links > .h-lang a:hover { background: rgba(255, 255, 255, 0.6); color: var(--h-ink); text-decoration: none; }
.h-nav-links > .h-lang a[aria-current='true'] {
  background: var(--h-ink);
  color: var(--h-paper);
  box-shadow: 0 2px 0 var(--h-ink-deep);
}
.h-nav-links > .h-lang a:focus-visible { outline: 3px solid var(--h-ink); outline-offset: 2px; }

/* ---------- Photos: no casual saving ----------
   Takes away the easy ways to save a photo: right-click "Save image as"
   (the click lands on the frame, not the image), dragging it to the
   desktop, and the long-press menu on phones. It cannot stop a screenshot
   or someone pulling the file from developer tools; nothing on a public page
   can. Drawn images (the SVG scenes) are not affected. */
img[data-photo-slot] {
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

/* ---------- "Išbandyk!" hint on the planner ----------
   Built by public/planner.js: a bubble beside the planner and an arrow that
   walks across the weekday buttons. The first day the visitor picks swallows
   the bubble; it comes back only on a page refresh. Purely decorative and
   never in the way of a click. */
.h-hero { position: relative; }
.h-hint { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.h-hint-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  opacity: 0;
  transition: opacity 400ms ease;
}
.h-hint.is-on .h-hint-svg { opacity: 1; }
.h-hint.is-leaving .h-hint-svg { opacity: 0; transition-duration: 200ms; }
.h-hint-svg path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.h-hint-back { stroke: var(--h-ink-deep); stroke-width: 7; }
.h-hint-front { stroke: var(--h-tan); stroke-width: 3; }
.h-hint-bubble {
  position: absolute;
  left: 0;
  top: 0;
  box-sizing: border-box;
  width: max-content;
  max-width: 210px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--h-paper);
  color: var(--h-ink);
  box-shadow: 0 5px 0 var(--h-tan), 0 18px 30px -12px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  line-height: 1.35;
  opacity: 0;
  transform-origin: 50% 50%;
  transition: opacity 400ms ease;
}
.h-hint-bubble strong { font-family: 'Sora', sans-serif; font-size: 17px; letter-spacing: -0.01em; }
.h-hint.is-on .h-hint-bubble { opacity: 1; }
.h-hint.is-leaving .h-hint-bubble {
  opacity: 0;
  transition: transform 650ms cubic-bezier(0.55, 0, 0.3, 1), opacity 220ms ease 430ms;
}
.h-day.is-hint { outline: 3px solid var(--h-tan); outline-offset: 3px; }
.h-day.h-day-caught { animation: h-day-catch 450ms ease 420ms; }
@keyframes h-day-catch {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .h-hint-svg, .h-hint-bubble, .h-hint.is-leaving .h-hint-bubble { transition: opacity 200ms ease; }
}
