/* ========================================
   Landing — Flabbergasted theme.
   Off-white + near-black, lila primary, yellow accent.
   Bricolage Grotesque throughout (loaded globally).
   Signature: 2px black borders + flat offset shadows + rounded-3xl.
   ======================================== */

.landing {
  /* Flabbergasted palette */
  --land-cream: #f5f5f5;
  --land-cream-deep: #F2F7F8;
  --land-ink: #141520;
  --land-ink-soft: #3a3b47;
  --land-ink-mute: #5a5b67;
  --land-rule: #141520;
  --land-rule-soft: #141520;
  --land-surface: #ffffff;

  /* Primary: lila-900. Warm: yellow-800. */
  --land-accent: #5534F9;
  --land-accent-hover: #836BFA;
  --land-accent-tint: #F7F5FF;
  --land-warm: #EC7C04;
  --land-warm-tint: #FFF5EB;

  /* Signature flat offset shadows */
  --land-shadow-sm: 2px 2px 0 0 var(--land-ink);
  --land-shadow: 4px 4px 0 0 var(--land-ink);
  --land-shadow-lg: 8px 8px 0 0 var(--land-ink);

  --font-display: "Bricolage Grotesque", system-ui, -apple-system, sans-serif;

  min-height: 100vh;
  min-height: 100dvh;
  background: var(--land-cream);
  color: var(--land-ink);
  line-height: 1.6;
  overflow-x: hidden;
  font-family: var(--font-display);
}


.landing-loading {
  min-height: 100vh;
  background: var(--land-cream);
}

/* --- Skip link --- */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--land-accent);
  color: #fff;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.875rem;
}
.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  outline: 2px solid var(--land-ink);
  outline-offset: 2px;
}

/* --- Container widths --- */
.landing-wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding-inline: 1.5rem;
}
.landing-wrap-narrow {
  max-width: 48rem;
  margin: 0 auto;
  padding-inline: 1.5rem;
}

/* --- Nav --- */
.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.25rem;
}
.landing-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
}
.landing-logo-img {
  width: 1.75rem;
  height: 1.75rem;
}
.landing-logo-text {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.landing-nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

/* --- Buttons --- */
.landing-btn-primary,
.landing-btn-outline,
.landing-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  border: 2px solid var(--land-ink);
  white-space: nowrap;
  border-radius: 9999px;
}
.landing-btn-primary {
  padding: 0.625rem 1.25rem;
  background: var(--land-accent);
  color: #ffffff;
  box-shadow: var(--land-shadow-sm);
}
.landing-btn-primary:hover {
  background: var(--land-accent-hover);
  transform: translate(-1px, -1px);
  box-shadow: var(--land-shadow);
}
.landing-btn-primary:active {
  transform: translate(0, 0);
  box-shadow: var(--land-shadow-sm);
}
.landing-btn-outline {
  padding: 0.625rem 1.25rem;
  background: var(--land-surface);
  color: var(--land-ink);
  box-shadow: var(--land-shadow-sm);
}
.landing-btn-outline:hover {
  background: var(--land-warm-tint);
  transform: translate(-1px, -1px);
  box-shadow: var(--land-shadow);
}
.landing-btn-outline:active {
  transform: translate(0, 0);
  box-shadow: var(--land-shadow-sm);
}
.landing-btn-ghost {
  padding: 0.5rem 0.875rem;
  background: transparent;
  color: var(--land-ink-soft);
  border-color: transparent;
  box-shadow: none;
}
.landing-btn-ghost:hover {
  color: var(--land-ink);
  background: var(--land-accent-tint);
}
.landing-btn-primary:focus-visible,
.landing-btn-outline:focus-visible,
.landing-btn-ghost:focus-visible {
  outline: 2px solid var(--land-accent);
  outline-offset: 3px;
}
.landing-btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}
.landing-btn-block {
  display: flex;
  width: fit-content;
}
.landing-hide-sm {
  display: none;
}


/* --- Typography scale --- */
.landing-h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 1.25rem;
  color: var(--land-ink);
}
.landing-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 3.5vw, 2.25rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--land-ink);
}
.landing-h3 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
  color: var(--land-ink);
}
.landing-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--land-accent);
  margin-bottom: 1rem;
}
.landing-lead {
  font-size: 1.0625rem;
  color: var(--land-ink-soft);
  line-height: 1.6;
  max-width: 36rem;
}
.landing-body {
  font-size: 0.9375rem;
  color: var(--land-ink-soft);
  line-height: 1.65;
  margin: 0;
  max-width: 36rem;
}

/* --- Hero --- */
.landing-hero {
  padding-block: 2.5rem 3rem;
}
.landing-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.landing-hero-copy {
  max-width: 36rem;
}
.landing-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.landing-hero-shot {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 2px solid var(--land-ink);
  box-shadow: var(--land-shadow-lg);
  background: var(--land-surface);
}
.landing-hero-shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* --- Trust row --- */
.landing-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid var(--land-ink);
  font-size: 0.8125rem;
  color: var(--land-ink-soft);

}
.landing-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.landing-trust-icon {
  color: var(--land-accent);
}

/* --- Section rhythm --- */
.landing-section {
  padding-block: 4rem;
  border-top: 2px solid var(--land-ink);
}
.landing-section-tight {
  padding-block: 3rem;
}
.landing-section-header {
  margin-bottom: 2.5rem;
  max-width: 42rem;
}

/* --- How it works: 3-step row --- */
.landing-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.landing-step {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.landing-step-label {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--land-accent);
  letter-spacing: 0.02em;
}
.landing-step-img {
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  border: 2px solid var(--land-ink);
  box-shadow: var(--land-shadow);
  display: block;
}

/* --- How it works: For Schools callout --- */
.landing-schools-cta {
  margin-top: 2.5rem;
  padding: 1.5rem 1.75rem;
  border: 2px solid var(--land-ink);
  border-radius: 1.5rem;
  background: var(--land-warm-tint);
  box-shadow: var(--land-shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  .landing-btn-ghost {
    background-color: var(--land-surface);
    color: var(--land-ink);
    border: 2px solid var(--land-ink);
    box-shadow: var(--land-shadow-sm);
    &:focus-within, &:hover {
      background-color: var(--land-accent);
      color: #ffffff;
    }
  }
}
.landing-schools-cta-hook {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--land-ink);
  margin: 0 0 0.25rem;
}
.landing-schools-cta-body {
  color: var(--land-ink-soft);
  font-size: 0.9375rem;
  margin: 0;
}
@media (min-width: 640px) {
  .landing-schools-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}

/* --- USPs: prose band, not cards --- */
.landing-usps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.landing-usp h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
  color: var(--land-ink);
}
.landing-usp-rule {
  width: 2rem;
  height: 2px;
  background: var(--land-accent);
  margin-bottom: 1rem;
  border: none;
}

/* --- Pull quote (one decorative moment on the page) --- */
.landing-pullquote {
  margin: 3rem 0 0;
  padding: 2rem 2rem 1.75rem;
  border: 2px solid var(--land-ink);
  border-radius: 1.5rem;
  background: var(--land-warm-tint);
  box-shadow: var(--land-shadow);
  max-width: 44rem;
}
.landing-pullquote p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--land-ink);
  margin: 0 0 0.75rem;
}
.landing-pullquote cite {
  font-style: normal;
  font-size: 0.875rem;
  color: var(--land-ink-soft);
}


/* --- Pricing --- */
.landing-pricing-header {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}
.landing-billing-toggle {
  display: inline-flex;
  padding: 0.25rem;
  border: 2px solid var(--land-ink);
  border-radius: 9999px;
  background: var(--land-surface);
  box-shadow: var(--land-shadow-sm);
  width: fit-content;
}
.landing-billing-option {
  position: relative;
  padding: 0.4375rem 1rem;
  border: none;
  border-radius: 9999px;
  background: transparent;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--land-ink-soft);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
  font-family: inherit;
}
.landing-billing-option:hover {
  color: var(--land-ink);
}
.landing-billing-active {
  background: var(--land-accent);
  color: #fff;
}
.landing-billing-active:hover {
  color: #fff;
}
.landing-billing-save {
  display: inline-block;
  margin-left: 0.375rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  opacity: 0.85;
  text-transform: uppercase;
}

.landing-pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.landing-pricing-card {
  position: relative;
  background: var(--land-surface);
  border: 2px solid var(--land-ink);
  border-radius: 1.5rem;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--land-shadow);
}
.landing-pricing-featured {
  background: var(--land-accent-tint);
  box-shadow: var(--land-shadow-lg);
}
.landing-pricing-badge {
  position: absolute;
  top: -0.75rem;
  right: 1.25rem;
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--land-ink);
  background: var(--land-warm);
  border: 2px solid var(--land-ink);
  border-radius: 9999px;
}

.landing-pricing-plan-name {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--land-ink-mute);
  margin: 0 0 0.75rem;
}
.landing-pricing-desc {
  font-size: 0.9375rem;
  color: var(--land-ink-soft);
  line-height: 1.55;
  margin: 0 0 1.5rem;
}
.landing-price {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
  margin-bottom: 0.25rem;
}
.landing-price-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--land-ink);
  line-height: 1;
}
.landing-price-period {
  font-size: 0.875rem;
  color: var(--land-ink-mute);
}
.landing-price-note {
  font-size: 0.8125rem;
  color: var(--land-ink-mute);
  margin: 0 0 1.5rem;
}
.landing-price-saving {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--land-accent);
  margin-bottom: 1rem;
}
.landing-price-saving[hidden] {
  display: none !important;
}
.landing-pricing-features {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--land-ink-soft);
  flex: 1;
}
.landing-pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.5;
}
.landing-check-icon {
  color: var(--land-accent);
  flex-shrink: 0;
  margin-top: 0.1875rem;
}
.landing-features-heading {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--land-ink-mute);
  margin: 0 0 0.25rem;
}

.landing-pricing-footer {
  margin-top: 2rem;
  font-size: 0.8125rem;
  color: var(--land-ink-mute);
}

/* --- FAQ --- */
.landing-faq-list {
  display: flex;
  flex-direction: column;
}
.landing-faq {
  border-bottom: 2px solid var(--land-ink);
}
.landing-faq:first-child {
  border-top: 2px solid var(--land-ink);
}
.landing-faq-summary {
  cursor: pointer;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  color: var(--land-ink);
}
.landing-faq-summary::-webkit-details-marker {
  display: none;
}
.landing-faq-summary::marker {
  display: none;
  content: "";
}
.landing-faq-chevron {
  flex-shrink: 0;
  color: var(--land-ink-mute);
  transition: transform 0.2s ease;
}
.landing-faq[open] .landing-faq-chevron {
  transform: rotate(180deg);
}
.landing-faq-answer {
  padding: 0 0 1.5rem;
  font-size: 0.9375rem;
  color: var(--land-ink-soft);
  line-height: 1.65;
  margin: 0;
  max-width: 42rem;
}

/* --- Final CTA --- */
.landing-final {
  padding-block: 5rem;
  border-top: 2px solid var(--land-ink);
}
.landing-final-inner {
  max-width: 40rem;
}

/* --- Footer --- */
.landing-footer {
  border-top: 2px solid var(--land-ink);
  padding-block: 2rem;
  font-size: 0.8125rem;
  color: var(--land-ink-mute);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.landing-footer p {
  margin: 0;
}
.landing-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.landing-footer-nav a {
  color: var(--land-ink-soft);
  text-decoration: none;
}
.landing-footer-nav a:hover {
  color: var(--land-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.landing-footer-nav a:focus-visible {
  outline: 2px solid var(--land-accent);
  outline-offset: 2px;
}

/* ========================================
   Responsive breakpoints
   ======================================== */

@media (min-width: 30em) {
  .landing-hide-sm {
    display: inline-flex;
  }
  .landing-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 48em) {
  .landing-hero {
    padding-block: 4rem 5rem;
  }
  .landing-hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 4rem;
  }
  .landing-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  .landing-usps {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
  .landing-section {
    padding-block: 5rem;
  }
  .landing-pricing-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-faq-chevron,
  .landing-btn-primary,
  .landing-btn-outline,
  .landing-btn-ghost,
  .landing-billing-option {
    transition: none;
  }
}

/* ============================================================
 * Landing appearance / theme switcher
 * ============================================================ */
.landing-theme-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 640px) {
  .landing-theme-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}
.landing-theme-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  text-align: left;
  background: hsl(var(--card));
  color: hsl(var(--card-foreground));
  border: 2px solid hsl(var(--foreground));
  border-radius: 1.25rem;
  box-shadow: 4px 4px 0 0 hsl(var(--foreground));
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease;
}
.landing-theme-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 0 hsl(var(--foreground));
}
.landing-theme-card:focus-visible {
  outline: 3px solid hsl(var(--ring));
  outline-offset: 3px;
}
.landing-theme-card--selected {
  background: hsl(var(--primary) / 0.08);
}
.landing-theme-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  border: 2px solid hsl(var(--foreground));
  border-radius: 1rem;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-display);
}
.landing-theme-preview-heading {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}
.landing-theme-preview-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: 2px solid hsl(var(--foreground));
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
}
.landing-theme-card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: hsl(var(--foreground));
}
.landing-theme-card-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-radius: 999px;
}
.landing-theme-card-desc {
  margin: 0.25rem 0 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Preview swatches use the theme they represent so both styles are visible
   at once regardless of the page's active theme. */
.landing-theme-preview[data-ui-theme='classic'] {
  font-family: "Lexend", system-ui, -apple-system, sans-serif;
  background: hsl(40 33% 97%);
  color: hsl(220 25% 15%);
  border-color: hsl(220 15% 86%);
  border-width: 1px;
  border-radius: 0.5rem;
}
.landing-theme-preview[data-ui-theme='classic'] .landing-theme-preview-btn {
  background: hsl(210 65% 38%);
  color: #fff;
  border-color: hsl(210 65% 38%);
  border-width: 1px;
  border-radius: 0.375rem;
  font-family: "Lexend", system-ui, -apple-system, sans-serif;
}
.landing-theme-preview[data-ui-theme='punchy'] {
  font-family: "Bricolage Grotesque", sans-serif;
  background: hsl(0 0% 96%);
  color: hsl(235 19% 10%);
  border-color: hsl(235 19% 10%);
}
.landing-theme-preview[data-ui-theme='punchy'] .landing-theme-preview-btn {
  background: hsl(251 95% 59%);
  color: hsl(0 0% 96%);
  border-color: hsl(235 19% 10%);
  font-family: "Bricolage Grotesque", sans-serif;
}
.landing-theme-preview[data-ui-theme='kawaii'] {
  font-family: "Lexend", system-ui, -apple-system, sans-serif;
  background: hsl(340 45% 97%);
  color: hsl(280 25% 22%);
  border-color: hsl(320 25% 86%);
  border-width: 2px;
  border-radius: 1.25rem;
}
.landing-theme-preview[data-ui-theme='kawaii'] .landing-theme-preview-btn {
  background: hsl(330 70% 58%);
  color: #fff;
  border-color: hsl(330 70% 50%);
  border-radius: 9999px;
  font-family: "Lexend", system-ui, -apple-system, sans-serif;
}
.landing-theme-preview[data-ui-theme='clay'] {
  font-family: "Lexend", system-ui, -apple-system, sans-serif;
  background: hsl(35 22% 90%);
  color: hsl(214 40% 18%);
  border: none;
  border-radius: 2rem;
  box-shadow:
    10px 12px 24px hsl(30 16% 52% / 0.3),
    -9px -9px 20px hsl(40 32% 96% / 0.58),
    inset 3px 3px 6px hsl(40 40% 100% / 0.32),
    inset -4px -4px 8px hsl(30 16% 52% / 0.12);
}
.landing-theme-preview[data-ui-theme='clay'] .landing-theme-preview-btn {
  background: hsl(214 52% 28%);
  color: hsl(40 35% 96%);
  border: none;
  border-radius: 9999px;
  box-shadow:
    6px 8px 16px hsl(214 40% 20% / 0.35),
    -4px -4px 12px hsl(40 30% 95% / 0.2),
    inset 2px 2px 4px hsl(214 50% 45% / 0.35),
    inset -2px -2px 5px hsl(214 50% 12% / 0.25);
  font-family: "Lexend", system-ui, -apple-system, sans-serif;
}

/* ========================================
   Classic theme overrides for the landing page.
   Triggered by <html data-ui-theme="classic"> set by useUiTheme().
   ======================================== */
[data-ui-theme='classic'] .landing {
  /* Softer than Punchy default: warm cream + deep forest green single accent */
  --land-cream: oklch(98% 0.008 90);
  --land-cream-deep: oklch(95% 0.012 90);
  --land-surface: oklch(100% 0 0);

  --land-ink: oklch(22% 0.02 160);
  --land-ink-soft: oklch(42% 0.02 160);
  --land-ink-mute: oklch(45% 0.015 160);
  --land-rule: oklch(90% 0.012 150);
  --land-rule-soft: oklch(94% 0.01 150);

  --land-accent: oklch(38% 0.08 155);
  --land-accent-hover: oklch(33% 0.08 155);
  --land-accent-tint: oklch(95% 0.02 155);

  /* Warm tokens aren't distinct in Classic — reuse the single forest accent */
  --land-warm: oklch(38% 0.08 155);
  --land-warm-tint: oklch(95% 0.02 155);

  /* Soft drop shadows instead of Punchy hard offset */
  --land-shadow-sm: 0 1px 2px rgba(20, 30, 25, 0.06);
  --land-shadow:    0 2px 8px rgba(20, 30, 25, 0.08);
  --land-shadow-lg: 0 10px 28px rgba(20, 30, 25, 0.10);

  --font-display: "Besley", Georgia, serif;
}


/* Thinner borders in classic mode — only applied to elements that
   actually declare a Punchy 2px border, never a wildcard match. */
[data-ui-theme='classic'] .landing :is(
  .landing-cta,
  .landing-hero-card,
  .landing-hero-card-top,
  .landing-hero-card-bottom,
  .landing-feature-card,
  .landing-step-card,
  .landing-testimonial-card,
  .landing-pricing-card,
  .landing-tab-group,
  .landing-tab,
  .landing-faq-item,
  .landing-final-cta,
  .landing-footer-nav,
  .landing-footer-bottom,
  .landing-back-to-top
) {
  border-width: 1px;
}

/* Remove the Punchy hover-lift */
[data-ui-theme='classic'] .landing *:hover {
  transform: none !important;
}
[data-ui-theme='classic'] .landing .landing-back-to-top:hover {
  /* keep the rotate icon behaviour */
  transform: none !important;
}

/* Softer rounded corners */
[data-ui-theme='classic'] .landing .rounded-3xl {
  border-radius: 0.75rem;
}
[data-ui-theme='classic'] .landing .rounded-full {
  border-radius: 0.5rem;
}

/* ========================================
   Kawaii theme overrides for the landing page.
   Triggered by <html data-ui-theme="kawaii"> set by useUiTheme().
   Soft candy — blush accent, cream surfaces, pink-tinted shadows.
   ======================================== */
[data-ui-theme='kawaii'] .landing {
  --land-cream: hsl(340 45% 97%);
  --land-cream-deep: hsl(320 30% 94%);
  --land-surface: hsl(0 0% 100%);

  --land-ink: hsl(280 25% 22%);
  --land-ink-soft: hsl(280 12% 38%);
  --land-ink-mute: hsl(280 10% 48%);
  --land-rule: hsl(320 25% 86%);
  --land-rule-soft: hsl(320 20% 90%);

  --land-accent: hsl(330 70% 58%);
  --land-accent-hover: hsl(330 70% 50%);
  --land-accent-tint: hsl(330 70% 95%);

  --land-warm: hsl(25 90% 62%);
  --land-warm-tint: hsl(25 90% 95%);

  /* Soft pink-tinted shadows instead of Punchy hard offset */
  --land-shadow-sm: 0 2px 0 0 hsl(330 70% 58% / 0.35), 0 4px 12px hsl(300 40% 40% / 0.12);
  --land-shadow:    0 3px 0 0 hsl(330 70% 58% / 0.4), 0 8px 20px hsl(300 40% 40% / 0.14);
  --land-shadow-lg: 0 4px 0 0 hsl(330 70% 58% / 0.45), 0 14px 32px hsl(300 40% 40% / 0.16);

  --font-display: "Bricolage Grotesque", system-ui, -apple-system, sans-serif;
}

/* Neutralize Punchy hover-lift for candy calm */
[data-ui-theme='kawaii'] .landing *:hover {
  transform: none !important;
}
[data-ui-theme='kawaii'] .landing .landing-back-to-top:hover {
  transform: none !important;
}

/* Bubblier rounded corners */
[data-ui-theme='kawaii'] .landing .rounded-3xl {
  border-radius: 1.5rem;
}
[data-ui-theme='kawaii'] .landing .rounded-full {
  border-radius: 9999px;
}

/* ========================================
   Clay theme overrides for the landing page.
   Triggered by <html data-ui-theme="clay"> set by useUiTheme().
   Warm cream / navy — soft dual clay shadows, pill radius.
   ======================================== */
[data-ui-theme='clay'] .landing {
  --land-cream: hsl(35 20% 87%);
  --land-cream-deep: hsl(35 18% 83%);
  --land-surface: hsl(35 22% 90%);

  --land-ink: hsl(214 40% 18%);
  --land-ink-soft: hsl(214 18% 32%);
  --land-ink-mute: hsl(214 12% 42%);
  --land-rule: transparent;
  --land-rule-soft: transparent;

  --land-accent: hsl(214 52% 28%);
  --land-accent-hover: hsl(214 52% 22%);
  --land-accent-tint: hsl(214 30% 92%);

  --land-warm: hsl(42 55% 48%);
  --land-warm-tint: hsl(42 40% 90%);

  /* Same-material dual extrusion — cream light, taupe dark, soft inset volume */
  --land-shadow-sm:
    6px 6px 14px hsl(30 16% 52% / 0.28),
    -5px -5px 12px hsl(40 32% 96% / 0.55),
    inset 2px 2px 4px hsl(40 40% 100% / 0.28),
    inset -2px -2px 5px hsl(30 16% 52% / 0.1);
  --land-shadow:
    10px 12px 24px hsl(30 16% 52% / 0.3),
    -9px -9px 20px hsl(40 32% 96% / 0.58),
    inset 3px 3px 6px hsl(40 40% 100% / 0.32),
    inset -4px -4px 8px hsl(30 16% 52% / 0.12);
  --land-shadow-lg:
    14px 16px 32px hsl(30 16% 52% / 0.32),
    -12px -12px 28px hsl(40 32% 96% / 0.6),
    inset 4px 4px 8px hsl(40 40% 100% / 0.35),
    inset -5px -5px 10px hsl(30 16% 52% / 0.14);

  --font-display: "Besley", Georgia, serif;
}

/* Soft borders instead of Punchy ink outlines — dissolve into clay */
[data-ui-theme='clay'] .landing :is(
  .landing-cta,
  .landing-hero-card,
  .landing-hero-card-top,
  .landing-hero-card-bottom,
  .landing-feature-card,
  .landing-step-card,
  .landing-testimonial-card,
  .landing-pricing-card,
  .landing-tab-group,
  .landing-tab,
  .landing-faq-item,
  .landing-final-cta,
  .landing-footer-nav,
  .landing-footer-bottom,
  .landing-back-to-top,
  .landing-theme-card,
  .landing-cookie-inner
) {
  border-width: 0;
  border-color: transparent;
}

/* Neutralize Punchy hover-lift for clay calm */
[data-ui-theme='clay'] .landing *:hover {
  transform: none !important;
}
[data-ui-theme='clay'] .landing .landing-back-to-top:hover {
  transform: none !important;
}

/* Soft pill / clay rounded corners */
[data-ui-theme='clay'] .landing .rounded-3xl {
  border-radius: 2rem;
}
[data-ui-theme='clay'] .landing .rounded-full {
  border-radius: 9999px;
}

/* --- Cookie consent (static landing) --- */
.landing-cookie {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 50;
  padding: 1rem;
}
.landing-cookie-inner {
  max-width: 56rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--land-surface);
  border: 2px solid var(--land-ink);
  border-radius: 0.75rem;
  box-shadow: var(--land-shadow);
}
@media (min-width: 640px) {
  .landing-cookie-inner {
    flex-direction: row;
    align-items: center;
  }
}
.landing-cookie-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.landing-cookie-actions button {
  font: inherit;
  cursor: pointer;
  padding: 0.375rem 0.75rem;
  border-radius: 0.375rem;
  border: 2px solid var(--land-ink);
}
.landing-cookie-accept {
  background: var(--land-accent);
  color: #fff;
  font-weight: 600;
}
.landing-cookie-decline {
  background: transparent;
}

