/* ============================================================================
   poblo Unified Storefront Design System
   Shared across poblo Kids (data-line="kids") and poblo Care (data-line="care").
   Strict typography discipline: 2 font families, 3 body font-size steps below
   the hero (--text-h, --text-body, --text-sm), tabular numerals everywhere.
   ============================================================================ */

:root {
  --bg: #ffffff;
  --surface: #f4f7fc;
  --surface-media: #e9eff8;
  --ink: #0e2240;
  --muted: #495d7a;
  --line: rgba(14, 34, 64, 0.11);

  /* Default (Kids) accent palette */
  --accent: #1b5bff;
  --accent-hover: #1046d6;
  --accent-tint: #eef4ff;
  --accent-border: rgba(27, 91, 255, 0.45);
  --hero-grad: linear-gradient(180deg, #eff5ff 0%, #ffffff 62%);
  --pill-dot-a: #ff5c39;
  --pill-dot-b: #60a5fa;
  --urgent: #c83318;
  --mint: #16b889;
  --marigold: #f5b82e;

  /* Strict 3-size body scale below hero */
  --text-h: clamp(1.85rem, 3.2vw, 2.7rem);
  --text-body: 1.05rem;
  --text-sm: 0.875rem;
  --max: 1180px;
}

[data-line="care"] {
  --surface: #f5f5f2;
  --surface-media: #efeee9;
  --muted: #4a596e;
  --accent: #147a63;
  --accent-hover: #0f5f4d;
  --accent-tint: #ebf5f2;
  --accent-border: rgba(20, 122, 99, 0.5);
  --hero-grad: linear-gradient(180deg, #f6f6f2 0%, #ffffff 62%);
  --pill-dot-a: #16b889;
  --pill-dot-b: #ff5c39;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: var(--text-body);
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 3px; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
section[id] { scroll-margin-top: 76px; }

/* ----------------------------------------------------------------------------
   Borderless Single-Line Header
   ---------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0);
  border-bottom: 1px solid transparent;
  transition: background-color 180ms cubic-bezier(0.22, 1, 0.36, 1), border-color 180ms ease-out;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.header-inner {
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand-group {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.brand-word {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.045em;
  line-height: 1;
}
.line-switch {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding-left: 18px;
  border-left: 1px solid var(--line);
}
.line-switch a {
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 150ms ease-out, border-color 150ms ease-out;
}
.line-switch a:hover { color: var(--ink); }
.line-switch a[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
  border-bottom-color: var(--accent);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 600;
  white-space: nowrap;
  transition: color 150ms ease-out;
}
.nav-links a:hover { color: var(--ink); }

.seg {
  display: inline-flex;
  background: var(--surface);
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--line);
  flex-shrink: 0;
  flex-wrap: nowrap;
}
.seg button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 150ms ease-out, color 150ms ease-out;
}
.seg button[aria-pressed="true"] {
  background: var(--ink);
  color: #ffffff;
}

/* ----------------------------------------------------------------------------
   Stage 1: Monumental Opening Hero (bleeds to y = 0, zero KPI strip)
   ---------------------------------------------------------------------------- */
.hero {
  padding: 116px 0 72px;
  background: var(--hero-grad);
}
.hero-head {
  max-width: 860px;
  margin: 0 auto 44px;
  text-align: center;
}
.hero h1 {
  margin: 0 0 18px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: clamp(2.65rem, 5.6vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.038em;
  color: var(--ink);
}
.hero-pill-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  height: 0.66em;
  border-radius: 999px;
  background: var(--ink);
  vertical-align: 0.05em;
}
.hero-pill-dot {
  width: 0.25em;
  height: 0.25em;
  border-radius: 999px;
  background: var(--pill-dot-a);
}
.hero-pill-dot.second { background: var(--pill-dot-b); }
.hero-sub {
  margin: 0 auto 28px;
  max-width: 52ch;
  color: var(--muted);
  font-size: var(--text-body);
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--accent);
  color: #ffffff;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  padding: 15px 30px;
  font-size: var(--text-body);
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
  transition: transform 160ms cubic-bezier(0.22, 1, 0.36, 1), background-color 160ms ease-out;
}
.cta-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #ffffff;
  color: var(--ink);
  text-decoration: none;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 13px 24px;
  font-size: var(--text-body);
  font-weight: 700;
  line-height: 1.1;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 160ms ease-out, background-color 160ms ease-out;
}
.cta-secondary:hover {
  border-color: var(--ink);
  background: var(--surface);
}
.text-link {
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  background: transparent;
  border: 0;
  padding: 4px 0;
  cursor: pointer;
}
.text-link:hover { color: var(--accent); }

.hero-visual {
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--surface-media);
  box-shadow: 0 28px 70px rgba(14, 34, 64, 0.11);
}
.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

/* Shared Section Headings */
.section-head {
  max-width: 720px;
  margin-bottom: 36px;
}
.section-head h2,
.story-copy h2,
.app-stage h2,
.fleet-band h2 {
  margin: 0 0 12px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: var(--text-h);
  font-weight: 800;
  line-height: 1.07;
  letter-spacing: -0.03em;
}
.section-head p,
.story-copy p,
.fleet-band p {
  margin: 0;
  color: var(--muted);
  max-width: 58ch;
  font-size: var(--text-body);
}

/* ----------------------------------------------------------------------------
   Stage 2: Interactive App Stage (Dark Contrast Band)
   ---------------------------------------------------------------------------- */
.app-stage {
  background: var(--ink);
  color: #ffffff;
  padding: 96px 0;
}
.app-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 56px;
  align-items: center;
}
.app-lead {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 50ch;
  font-size: var(--text-body);
}
.app-tabs-list {
  display: grid;
  gap: 10px;
}
.app-tab-btn {
  text-align: left;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 16px 20px;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 160ms ease-out, border-color 160ms ease-out;
}
.app-tab-btn:hover { background: rgba(255, 255, 255, 0.09); }
.app-tab-btn[aria-pressed="true"] {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
}
.app-tab-btn strong {
  display: block;
  font-size: var(--text-body);
  font-weight: 700;
  margin-bottom: 3px;
}
.app-tab-btn span {
  display: block;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.74);
}
.notif-bar {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.notif-bar-lbl {
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 10px;
  font-weight: 600;
}
.notif-seg {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.notif-btn {
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: background-color 150ms ease-out, color 150ms ease-out, border-color 150ms ease-out;
}
.notif-btn:hover { background: rgba(255, 255, 255, 0.16); }
.notif-btn[aria-pressed="true"] {
  background: #ffffff;
  color: var(--ink);
  border-color: #ffffff;
}
.app-footnote {
  margin: 18px 0 0;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.56);
  max-width: 56ch;
}

/* Phone Mockup */
.phone-shell {
  width: min(352px, 100%);
  margin: 0 auto;
  background: #07111f;
  border-radius: 46px;
  padding: 12px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.45);
}
.phone-screen {
  background: #f5f7f9;
  color: var(--ink);
  border-radius: 36px;
  height: 620px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 22px 8px;
  font-size: 0.78rem;
  font-weight: 700;
}
.phone-notch {
  width: 84px;
  height: 20px;
  border-radius: 999px;
  background: #07111f;
}
.push-toast {
  position: absolute;
  top: 44px;
  left: 12px;
  right: 12px;
  z-index: 8;
  background: rgba(14, 34, 64, 0.96);
  color: #ffffff;
  border-radius: 18px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  gap: 11px;
  box-shadow: 0 12px 28px rgba(7, 17, 31, 0.28);
  font-size: 0.78rem;
  line-height: 1.35;
}
.push-toast.urgent { background: var(--urgent); }
.push-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
  font-size: 0.85rem;
}
.push-toast.urgent .push-icon { background: #ffffff; color: var(--urgent); }
.phone-viewport {
  flex: 1;
  padding: 10px 14px 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.p-block {
  background: #ffffff;
  border-radius: 16px;
  padding: 12px 13px;
}
.p-block h4 {
  margin: 0 0 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
}
.p-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 10px;
  background: #f4f6f8;
  font-size: 0.76rem;
  margin-bottom: 6px;
}
.p-row:last-child { margin-bottom: 0; }
.p-val {
  font-weight: 700;
  font-size: 0.74rem;
  white-space: nowrap;
  color: var(--accent);
}
.p-val.urgent { color: var(--urgent); }
.p-val.mint { color: #0f7a5c; }
.p-map-box {
  position: relative;
  height: 164px;
  border-radius: 14px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f1ec 0%, #edf2fa 100%);
}
.p-map-box svg { width: 100%; height: 100%; }
.p-vitals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.p-vital {
  background: #f4f6f8;
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
}
.p-vital strong {
  display: block;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: 1.15rem;
  line-height: 1.1;
}
.p-vital span {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 2px;
}
.phone-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #ffffff;
  border-top: 1px solid rgba(14, 34, 64, 0.08);
  padding: 8px 6px 12px;
}
.phone-nav button {
  border: 0;
  background: transparent;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--muted);
  padding: 6px 2px;
  border-radius: 10px;
  cursor: pointer;
}
.phone-nav button[aria-pressed="true"] {
  color: var(--accent);
  background: var(--accent-tint);
}

/* ----------------------------------------------------------------------------
   Stage 3: Interactive 3-Way Hardware Showcase (Segmented Tab Stage)
   ---------------------------------------------------------------------------- */
.showcase-section {
  padding: 100px 0;
  background: var(--bg);
}
.tab-switcher {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  margin-bottom: 40px;
}
.tab-switcher button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 11px 20px;
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 160ms ease-out, color 160ms ease-out;
}
.tab-switcher button[aria-selected="true"] {
  background: var(--ink);
  color: #ffffff;
}
.showcase-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 56px;
  align-items: center;
}
.showcase-photo {
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-media);
}
.showcase-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.showcase-detail h3 {
  margin: 0 0 8px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: var(--text-h);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.showcase-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 16px;
}
.showcase-price {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: var(--text-h);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}
.showcase-sub {
  font-size: var(--text-sm);
  color: var(--muted);
  font-weight: 600;
}
.showcase-lead {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: var(--text-body);
}
.spec-list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-body);
}
.spec-list span { color: var(--muted); }
.spec-list strong { color: var(--ink); text-align: right; }

/* ----------------------------------------------------------------------------
   Stage 4: Focused Editorial Story Pairs (Consistent body scale on lists!)
   ---------------------------------------------------------------------------- */
.story-section {
  padding: 96px 0;
  border-top: 1px solid var(--line);
}
.story-pair {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 60px;
  align-items: center;
}
.story-pair + .story-pair { margin-top: 96px; }
.story-pair.reverse { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
.story-media {
  border-radius: 26px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-media);
}
.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story-copy p { margin: 0 0 22px; }
.story-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}
.story-list li {
  padding-left: 20px;
  position: relative;
  font-size: var(--text-body);
  color: var(--ink);
  font-weight: 500;
}
.story-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

/* Optional Fleet Band (Care Homes) */
.fleet-band {
  background: var(--surface);
  padding: 88px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fleet-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 56px;
  align-items: start;
}
.fleet-band p { margin: 0 0 26px; }
.fleet-note {
  margin-top: 14px;
  font-size: var(--text-sm);
  color: var(--muted);
}
.fleet-points {
  display: grid;
  border-top: 1px solid var(--line);
}
.fleet-point {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.fleet-point strong {
  display: block;
  font-size: var(--text-body);
  margin-bottom: 4px;
}
.fleet-point span {
  display: block;
  font-size: var(--text-body);
  color: var(--muted);
}

/* ----------------------------------------------------------------------------
   Stage 5: Unified 2-Column Simple Checkout
   ---------------------------------------------------------------------------- */
.shop-band {
  padding: 96px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.shop-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.shop-top .section-head { margin-bottom: 0; }
.batch-meter {
  min-width: 240px;
  flex: 0 1 300px;
}
.batch-meter-top {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  font-weight: 700;
  margin-bottom: 8px;
}
.batch-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(14, 34, 64, 0.1);
  overflow: hidden;
}
.batch-fill {
  height: 100%;
  width: 8%;
  border-radius: 999px;
  background: var(--accent);
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 44px;
  align-items: start;
}
.order-preview {
  background: #ffffff;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.order-preview-img {
  aspect-ratio: 4 / 3;
  background: var(--surface-media);
}
.order-preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.order-preview-body {
  padding: 24px 26px;
}
.order-preview-body h3 {
  margin: 0 0 12px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: var(--text-body);
  font-weight: 800;
}
.order-preview-body ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  font-size: var(--text-body);
  color: var(--muted);
}
.order-preview-body strong { color: var(--ink); }

.checkout-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 30px;
}
.ctrl-group { margin-bottom: 22px; }
.ctrl-group h3 {
  margin: 0 0 10px;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink);
}
.pack-list {
  display: grid;
  gap: 8px;
}
.pack-opt {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  transition: border-color 150ms ease-out, background-color 150ms ease-out;
}
.pack-opt[aria-checked="true"] {
  border-color: var(--accent);
  background: var(--accent-tint);
}
.pack-opt strong {
  display: block;
  font-size: var(--text-body);
  font-weight: 700;
  color: var(--ink);
}
.pack-opt span {
  display: block;
  font-size: var(--text-sm);
  color: var(--muted);
}
.pack-price {
  font-family: "Bricolage Grotesque", sans-serif;
  font-weight: 800;
  font-size: var(--text-body);
  color: var(--ink);
  white-space: nowrap;
  text-align: right;
}
.pack-price del {
  display: block;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--muted);
}

.swatch-row { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch-radio {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 150ms ease-out, background-color 150ms ease-out;
}
.swatch-radio[aria-checked="true"] {
  border-color: var(--accent);
  background: var(--accent-tint);
}
.swatch-circle {
  width: 15px;
  height: 15px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.16);
}

.seg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  padding: 5px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.seg-grid button {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: var(--text-sm);
  font-weight: 700;
  padding: 10px 8px;
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  transition: background-color 150ms ease-out, color 150ms ease-out;
}
.seg-grid button[aria-pressed="true"] {
  background: var(--ink);
  color: #ffffff;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}
.field { display: flex; flex-direction: column; gap: 5px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--ink);
}
.field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  font-size: var(--text-body);
  color: var(--ink);
}
.field input:focus {
  border-color: var(--accent);
  background: #ffffff;
  outline: none;
}

.pay-footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.pay-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.pay-total-lbl {
  font-size: var(--text-body);
  font-weight: 700;
}
.pay-total-val {
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: var(--text-h);
  font-weight: 800;
  color: var(--ink);
  line-height: 1;
}
.pay-guarantee {
  margin: 12px 0 0;
  font-size: var(--text-sm);
  color: var(--muted);
}
.share-inline {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: var(--text-sm);
  color: var(--muted);
}
.share-inline-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Order Confirmation + Optional Printable Gift Card */
.order-result {
  display: none;
  margin-top: 28px;
  background: #ffffff;
  border: 2px solid var(--accent);
  border-radius: 24px;
  padding: 28px;
}
.order-result.visible { display: block; }
.result-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}
.order-lines {
  margin-top: 14px;
  display: grid;
  gap: 5px;
  font-size: var(--text-sm);
}
.upn-qr-wrap {
  width: 196px;
  height: 196px;
  background: #ffffff;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid var(--line);
  margin: 14px 0;
}
.upn-qr-wrap svg { width: 100%; height: 100%; display: block; }
.gift-voucher {
  background: var(--ink);
  color: #ffffff;
  border-radius: 20px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}
.gift-voucher h3 {
  margin: 12px 0 8px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: var(--text-h);
  line-height: 1.08;
}
.gift-voucher p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--text-body);
}
.gift-meta {
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: var(--text-sm);
  color: var(--marigold);
  font-weight: 700;
}

/* ----------------------------------------------------------------------------
   Stage 6: Comparison, FAQ, Cross-Line Bridge & Unified Footer
   ---------------------------------------------------------------------------- */
.compare-section {
  padding: 88px 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.table-wrap { overflow-x: auto; margin-top: 28px; }
table.cmp { width: 100%; border-collapse: collapse; text-align: left; }
table.cmp th, table.cmp td {
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
  font-size: var(--text-body);
  vertical-align: top;
}
table.cmp th {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--muted);
}
table.cmp th.poblo-col, table.cmp td.poblo-col {
  background: var(--accent-tint);
  color: var(--ink);
  font-weight: 700;
}

.faq-band {
  background: var(--surface);
  padding: 84px 0;
  border-top: 1px solid var(--line);
}
.faq-list {
  border-top: 1px solid var(--line);
  max-width: 780px;
  margin-top: 28px;
}
.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq-list summary {
  cursor: pointer;
  font-size: var(--text-body);
  font-weight: 700;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--accent); font-weight: 800; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: var(--text-body);
}

.cross-band {
  padding: 56px 0;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.cross-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cross-row h3 {
  margin: 0 0 6px;
  font-family: "Bricolage Grotesque", sans-serif;
  font-size: var(--text-h);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.cross-row p {
  margin: 0;
  color: var(--muted);
  font-size: var(--text-body);
  max-width: 56ch;
}

footer.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--line);
  font-size: var(--text-sm);
  color: var(--muted);
  background: var(--bg);
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.footer-row a { color: var(--ink); font-weight: 600; text-decoration: none; }

/* Cookie Consent Bar */
.cookie-bar {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 95;
  max-width: 390px;
  background: #ffffff;
  color: var(--ink);
  border: 1px solid rgba(14, 34, 64, 0.14);
  border-radius: 20px;
  padding: 16px 18px;
  box-shadow: 0 18px 44px rgba(14, 34, 64, 0.16);
  display: none;
  gap: 12px;
  flex-direction: column;
  font-size: var(--text-sm);
  line-height: 1.5;
}
.cookie-bar.visible { display: flex; }
.cookie-bar p { margin: 0; color: var(--muted); }
.cookie-bar a { color: var(--accent); font-weight: 600; }
.cookie-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.cookie-btn {
  border: 1px solid rgba(14, 34, 64, 0.16);
  background: #ffffff;
  color: var(--ink);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: var(--text-sm);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.cookie-btn.primary {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

/* ----------------------------------------------------------------------------
   Responsive & Accessibility
   ---------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .app-grid,
  .showcase-stage,
  .story-pair,
  .story-pair.reverse,
  .fleet-grid,
  .checkout-layout,
  .result-grid,
  .form-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .story-pair.reverse .story-media { order: -1; }
  .hero { padding: 96px 0 52px; }
  .app-stage, .showcase-section, .story-section, .fleet-band, .shop-band, .compare-section, .faq-band {
    padding: 60px 0;
  }
  .story-pair + .story-pair { margin-top: 60px; }
  .app-tabs-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-tab-btn { padding: 12px 14px; }
  .app-tab-btn strong { margin-bottom: 0; }
  .app-tab-btn span { display: none; }
  .seg-grid { grid-template-columns: 1fr; }
  .tab-switcher { width: 100%; border-radius: 20px; }
  .tab-switcher button { flex: 1; text-align: center; padding: 10px 12px; }
}
@media (max-width: 540px) {
  .header-inner { gap: 10px; }
  .brand-group { gap: 12px; }
  .brand-word { font-size: 1.4rem; }
  .line-switch { gap: 10px; padding-left: 12px; }
  .seg button { padding: 6px 10px; }
  .checkout-panel { padding: 20px; }
  .cookie-bar { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  body * { visibility: hidden; }
  #giftVoucherPrint, #giftVoucherPrint * { visibility: visible; }
  #giftVoucherPrint {
    position: fixed;
    inset: 24mm 18mm auto 18mm;
    border: 2px solid #0e2240;
    color: #ffffff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .cookie-bar { display: none !important; }
}
