:root {
  --color-ink: #17213a;
  --color-ink-soft: #3a4468;
  --color-paper: #fbf6ee;
  --color-paper-alt: #f3ecdd;
  --color-card: #ffffff;
  --color-accent: #d9682f;
  --color-accent-dark: #b34f1f;
  --color-accent-soft: #fbe3d0;
  --color-teal: #2f6f62;
  --color-teal-soft: #e0efeb;
  --color-text: #2b2a28;
  --color-text-muted: #6b6558;
  --color-border: #e6ddc9;
  --color-white: #ffffff;

  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.5rem;
  --space-6: 4rem;
  --space-7: 6rem;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 4px 14px -6px rgba(23, 33, 58, 0.14);
  --shadow-md: 0 18px 40px -16px rgba(23, 33, 58, 0.22);

  --container-max: 1160px;
  --header-height: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-paper);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--color-ink);
  line-height: 1.15;
  margin: 0 0 var(--space-3);
}

h1 {
  font-size: clamp(2.1rem, 5vw + 1rem, 3.4rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(1.7rem, 3vw + 1rem, 2.5rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.25rem, 1.5vw + 1rem, 1.6rem);
  font-weight: 600;
}

p {
  margin: 0 0 var(--space-3);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-4);
}

.section {
  padding: var(--space-6) 0;
}

.section--alt {
  background: var(--color-paper-alt);
}

.section-head {
  max-width: 760px;
  margin: 0 auto var(--space-5);
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  background: var(--color-accent-soft);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-3);
}

.lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
  min-height: 48px;
  line-height: 1;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--color-accent-dark);
}

.btn-outline {
  background: transparent;
  border-color: var(--color-ink);
  color: var(--color-ink);
}

.btn-outline:hover {
  background: var(--color-ink);
  color: var(--color-white);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 0.6rem 1.1rem;
  min-height: 40px;
  font-size: 0.9rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 246, 238, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand img {
  height: 34px;
  width: auto;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--color-ink);
}

.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-ink-soft);
}

.nav-desktop a:hover {
  color: var(--color-accent-dark);
}

.header-cta {
  display: none;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-card);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.nav-mobile {
  display: none;
  border-top: 1px solid var(--color-border);
  background: var(--color-paper);
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile ul {
  list-style: none;
  margin: 0;
  padding: var(--space-3) var(--space-4) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.nav-mobile a {
  display: block;
  padding: 0.7rem 0.2rem;
  text-decoration: none;
  font-weight: 600;
  color: var(--color-ink);
  border-bottom: 1px solid var(--color-border);
}

.nav-mobile .nav-mobile-cta {
  margin-top: var(--space-3);
}

/* Mobile sticky action bar */

.mobile-actionbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--color-border);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -8px 20px -12px rgba(23, 33, 58, 0.25);
}

.mobile-actionbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.9rem 0.5rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  background: var(--color-card);
  color: var(--color-ink);
}

.mobile-actionbar a.is-primary {
  background: var(--color-accent);
  color: var(--color-white);
}

body.has-mobile-actionbar {
  padding-bottom: 64px;
}

/* Hero */

.hero {
  padding: var(--space-2) 0 var(--space-5);
}

.hero-grid {
  display: grid;
  gap: var(--space-3);
}

.hero-copy .eyebrow {
  margin-bottom: var(--space-3);
}

.hero-copy h1 {
  text-align: center;
}

.hero-tagline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2vw + 0.7rem, 1.6rem);
  color: var(--color-ink-soft);
  margin: 0 0 var(--space-3);
  text-align: center;
  white-space: nowrap;
}

.hero-lede {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.hero--flag-left {
  position: relative;
  overflow: hidden;
}

.hero--flag-left > .container {
  position: relative;
  z-index: 1;
}

.hero-flag {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(40vw, 460px);
  pointer-events: none;
  transform: translate(-8px, 0);
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 30%, transparent 82%);
  mask-image: linear-gradient(to right, #000 0%, #000 30%, transparent 82%);
}

.hero-flag--mirror {
  display: none;
  transform: none;
}

.hero-flag.hero-flag--solo {
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 30%, transparent 68%);
  mask-image: linear-gradient(to right, #000 0%, #000 30%, transparent 68%);
}

.hero-flag--es,
.hero-flag--en {
  opacity: 0.65;
}

/* Flag is a fixed 460px wide with its mask fading out at 68% of that —
   i.e. always exactly 313px from the left edge, regardless of viewport.
   Pin the hero copy to that same fixed distance so it never overlaps the
   flag, instead of letting it float with container auto-centering. */
@media (min-width: 860px) {
  .hero-copy-shift {
    margin-left: 0;
    padding-left: 313px;
  }

  /* Zerówka's flag uses the base .hero-flag mask (transparent at 82%, not
     the tighter --solo 68%), so its fixed fade point is 460 * 0.82 ≈ 377px. */
  .hero-copy-shift-zerowka {
    margin-left: 0;
    padding-left: 377px;
  }
}

.hero--flag-left h1,
.hero--flag-left .hero-lede {
  color: #000;
}

.hero-flag svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}

.hero-flag--mirror img {
  object-position: right center;
}

.hero-flag-panel {
  position: absolute;
  inset: 0;
}

.hero-flag-panel--gb {
  clip-path: polygon(0 0, 100% 0, 100% 55%, 0 45%);
}

.hero-flag-panel--kid {
  clip-path: polygon(0 45%, 100% 55%, 100% 100%, 0 100%);
}

@media (max-width: 859px) {
  .hero-flag {
    width: min(28vw, 310px);
    -webkit-mask-image: linear-gradient(to right, #000 0%, #000 25%, transparent 62%);
    mask-image: linear-gradient(to right, #000 0%, #000 25%, transparent 62%);
  }

  .hero--flag-left h1 {
    text-align: center;
  }

  .hero-flag.hero-flag--mirror {
    display: block;
    left: auto;
    right: 0;
    -webkit-mask-image: linear-gradient(to left, #000 0%, #000 25%, transparent 62%);
    mask-image: linear-gradient(to left, #000 0%, #000 25%, transparent 62%);
  }

  .hero-flag--mirror .hero-flag-panel--kid {
    clip-path: polygon(0 0, 100% 0, 100% 65%, 0 55%);
  }

  .hero-flag--mirror .hero-flag-panel--gb {
    clip-path: polygon(0 55%, 100% 65%, 100% 100%, 0 100%);
  }

  .hero-flag.hero-flag--solo {
    width: min(30vw, 330px);
    -webkit-mask-image: linear-gradient(to right, #000 0%, rgba(0,0,0,0.85) 11%, transparent 45%);
    mask-image: linear-gradient(to right, #000 0%, rgba(0,0,0,0.85) 11%, transparent 45%);
  }

  .hero-flag.hero-flag--solo.hero-flag--mirror {
    -webkit-mask-image: linear-gradient(to left, #000 0%, rgba(0,0,0,0.85) 11%, transparent 45%);
    mask-image: linear-gradient(to left, #000 0%, rgba(0,0,0,0.85) 11%, transparent 45%);
  }
}

.hero-facts {
  list-style: none;
  margin: var(--space-5) 0 0;
  padding: 0;
  display: grid;
  row-gap: var(--space-3);
  column-gap: 2.5rem;
  grid-template-columns: repeat(2, 1fr);
}

.hero-fact {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-ink-soft);
}

.hero-fact .icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-sm);
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-fact-text {
  flex: 1;
  text-align: left;
}

.hero-fact small {
  display: block;
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 0.15rem;
}

@media (max-width: 859px) {
  .hero-copy .eyebrow {
    display: table;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-copy h1 {
    font-family: 'Zen Antique', serif;
    font-weight: 400;
  }

  .hero-tagline {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: clamp(1.4rem, 5vw + 0.5rem, 1.9rem);
    white-space: normal;
  }

  .hero--split .hero-lede {
    margin-top: 12vh;
  }

  .hero-lede {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-fact {
    gap: 0.85rem;
  }
}

.hero-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero-media img {
  width: 100%;
  height: 100%;
  max-height: 48vh;
  object-fit: cover;
  display: block;
}

.hero-panel {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-md);
}

.hero-panel h2 {
  font-size: 1.25rem;
  margin-bottom: var(--space-2);
}

.hero-panel-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
  padding: 0.65rem 0;
  border-bottom: 1px dashed var(--color-border);
  font-size: 0.95rem;
}

.hero-panel-row:last-of-type {
  border-bottom: none;
}

.hero-panel-row dt {
  color: var(--color-text-muted);
  font-weight: 600;
}

.hero-panel-row dd {
  margin: 0;
  font-weight: 700;
  color: var(--color-ink);
  text-align: right;
}

.hero-panel-row dd small {
  display: block;
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 0.15rem;
  text-align: center;
}

.form-field {
  margin-bottom: var(--space-3);
}

.form-control {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-soft);
}

.form-alert {
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  margin-bottom: var(--space-3);
  font-size: 0.9rem;
  font-weight: 600;
}

.form-alert--success {
  background: var(--color-teal-soft);
  color: var(--color-teal);
}

.form-alert--danger {
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
}

.signup-grid {
  display: grid;
  gap: var(--space-5);
}

.signup-info p {
  margin-bottom: var(--space-3);
}

.picker-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.picker-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem 2rem;
}

.picker-row h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.picker-row p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

@media (max-width: 639px) {
  .picker-row .btn {
    width: 100%;
  }
}

@media (min-width: 860px) {
  .signup-grid {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: center;
  }
}

/* Cards */

.card-grid {
  display: grid;
  gap: var(--space-4);
}

.offer-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.offer-card.is-featured {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-md);
  position: relative;
}

.offer-card .tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--color-teal-soft);
  color: var(--color-teal);
}

.offer-card.is-featured .tag {
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
}

.offer-card ul {
  margin: var(--space-2) 0;
  padding-left: 1.1rem;
  color: var(--color-text-muted);
}

.offer-card li {
  margin-bottom: 0.35rem;
}

.offer-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.callout-highlight {
  background: var(--color-accent-soft);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  margin-bottom: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
}

.callout-highlight .tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--color-card);
  color: var(--color-accent-dark);
}

.callout-highlight h3 {
  margin-bottom: 0;
}

.callout-highlight p {
  max-width: 62ch;
  margin-bottom: 0;
}

.callout-highlight .btn {
  margin-top: var(--space-2);
}

/* Trust / convenience strip */

.trust-grid {
  display: grid;
  gap: var(--space-4);
}

.trust-item {
  background: var(--color-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: var(--space-4);
}

.trust-item .icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
}

/* FAQ accordion */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.faq-item {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0 var(--space-4);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  font-weight: 700;
  color: var(--color-ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .chevron {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease;
}

.faq-item[open] summary .chevron {
  transform: rotate(180deg);
}

.faq-item .faq-answer {
  padding-bottom: var(--space-3);
  color: var(--color-text-muted);
}

.faq-item .faq-answer p:last-child {
  margin-bottom: 0;
}

/* Locations */

.location-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
}

.location-card h3 {
  margin-bottom: var(--space-1);
}

.location-card .location-meta {
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.location-card .location-meta strong {
  color: var(--color-ink);
}

/* Footer */

.site-footer {
  background: var(--color-ink);
  color: #dfe3ee;
  padding: var(--space-6) 0 var(--space-4);
}

.site-footer a {
  color: #dfe3ee;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-white);
}

.site-footer .brand img {
  filter: invert(1);
  height: 58px;
}

.footer-grid {
  display: grid;
  gap: var(--space-5);
  margin-bottom: var(--space-5);
}

.footer-grid h4 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-3);
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: var(--space-3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: space-between;
  font-size: 0.85rem;
  color: #aab0c4;
}

.footer-bottom ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin: 0;
  padding: 0;
}

/* Legal content */

.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.3rem;
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  color: var(--color-text-muted);
}

.legal-content ul,
.legal-content ol {
  padding-left: 1.3rem;
  margin-bottom: var(--space-3);
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content .legal-note {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin: var(--space-4) 0;
}

.legal-content .legal-note p:last-child {
  margin-bottom: 0;
}

.legal-content .legal-updated {
  font-size: 0.9rem;
  font-style: italic;
}

/* Utility */

.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  padding: var(--space-3) 0 0;
}

.breadcrumbs a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-weight: 600;
}

.breadcrumbs a:hover {
  color: var(--color-accent-dark);
}

.age-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.age-table th,
.age-table td {
  text-align: left;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.age-table th {
  background: var(--color-paper-alt);
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-ink);
}

.age-table tr:last-child td {
  border-bottom: none;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.age-table td strong {
  color: var(--color-ink);
}

.size-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
}

.size-tab {
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--color-border);
  background: var(--color-card);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-ink-soft);
  cursor: pointer;
  transition: all 0.15s ease;
}

.size-tab:hover {
  border-color: var(--color-accent);
}

.size-tab.is-active {
  border-color: var(--color-accent);
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
}

.pricing-table-group {
  display: none;
}

.pricing-table-group.is-active {
  display: block;
}

.pricing-notes {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin-top: var(--space-4);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.pricing-notes p {
  margin-bottom: 0.4rem;
}

.pricing-notes p:last-child {
  margin-bottom: 0;
}

@media (min-width: 640px) {
  .hero-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid.cols-3,
  .card-grid.cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 860px) {
  .nav-desktop {
    display: block;
  }

  .header-cta {
    display: inline-flex;
  }

  .nav-toggle {
    display: none;
  }

  .mobile-actionbar {
    display: none;
  }

  body.has-mobile-actionbar {
    padding-bottom: 0;
  }

  .hero {
    padding: var(--space-5) 0;
  }

  .hero--split > .container {
    max-width: 1680px;
  }

  .hero--split .hero-grid {
    grid-template-columns: minmax(260px, 380px) 1fr minmax(260px, 380px);
    gap: var(--space-5);
    align-items: stretch;
  }

  .hero--split .hero-copy {
    text-align: center;
  }

  .hero--split .hero-lede {
    margin-left: auto;
    margin-right: auto;
  }

  .hero--split .hero-actions {
    justify-content: center;
  }

  .hero--split .hero-facts {
    max-width: 700px;
    margin: var(--space-5) auto 0;
  }

  .hero--split .hero-media {
    height: 100%;
  }

  .hero--split .hero-media img {
    max-height: none;
  }

  .hero--split .hero-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .hero--split .hero-panel dl {
    flex: 1;
  }

  .hero--split .hero-panel .hero-panel-row {
    font-size: 0.85rem;
  }

  .card-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .trust-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .trust-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .location-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .hero-facts {
    grid-template-columns: repeat(2, 1fr);
  }
}
