/* ============================================
   Koala Landing Page — styles.css
   Mobile-first responsive design
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-primary: #7C9A82;
  --color-bg: #F5F0E8;
  --color-text: #2D3B2D;
  --color-cta: #E8A849;
  --color-cta-hover: #D4962E;
  --color-white: #FFFFFF;
  --color-footer-bg: #2D3B2D;
  --color-footer-text: #F5F0E8;
  --color-muted: #6B7B6B;
  --color-border: #D4CCBE;
  --color-error: #D64545;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --shadow-card: 0 2px 8px rgba(45, 59, 45, 0.08);
  --shadow-card-hover: 0 4px 16px rgba(45, 59, 45, 0.12);
  --shadow-sticky: 0 -2px 8px rgba(45, 59, 45, 0.12);

  --radius-card: 12px;
  --radius-input: 8px;
  --radius-modal: 16px;

  --max-width: 1200px;
  --max-width-narrow: 800px;
  --max-width-parent: 720px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul, ol {
  list-style: none;
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 200;
  padding: 12px 24px;
  background: var(--color-cta);
  color: var(--color-text);
  font-weight: 600;
  border-radius: var(--radius-card);
  transition: top 150ms ease;
}

.skip-link:focus {
  top: 16px;
}

/* --- Typography --- */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
}

h1 {
  font-size: 36px;
  line-height: 1.15;
}

h2 {
  font-size: 28px;
  line-height: 1.2;
}

h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
}

.body-small {
  font-size: 14px;
  line-height: 1.5;
}

/* --- Layout Utilities --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 48px 0;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 14px 24px;
  background: var(--color-cta);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  border: none;
  border-radius: var(--radius-card);
  cursor: pointer;
  transition: background 150ms ease, transform 150ms ease;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--color-cta-hover);
  transform: scale(1.02);
  text-decoration: none;
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-primary:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 2px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: transparent;
  color: var(--color-white);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  border: 2px solid currentColor;
  border-radius: var(--radius-card);
  cursor: pointer;
  transition: background 150ms ease;
  text-decoration: none;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.btn-secondary:focus-visible {
  outline: 3px solid var(--color-white);
  outline-offset: 2px;
}

.btn-secondary--light {
  color: var(--color-text);
}

.btn-secondary--light:hover {
  background: rgba(0, 0, 0, 0.05);
}

/* --- Nav Bar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: transparent;
  transition: background 200ms ease, box-shadow 200ms ease;
}

.navbar.scrolled {
  background: var(--color-white);
  box-shadow: var(--shadow-card);
}

.navbar__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: var(--color-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar__logo-img {
  height: 36px;
  width: auto;
  border-radius: 6px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--color-text);
}

.lang-toggle__btn {
  background: none;
  border: none;
  padding: 4px 8px;
  font-family: inherit;
  font-weight: 500;
  font-size: 14px;
  color: var(--color-muted);
  cursor: pointer;
  border-radius: 4px;
  transition: color 150ms ease;
}

.lang-toggle__btn:hover {
  color: var(--color-text);
}

.lang-toggle__btn.active {
  color: var(--color-text);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lang-toggle__btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}

.lang-toggle__sep {
  color: var(--color-border);
  user-select: none;
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 48px;
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 154, 130, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 168, 73, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.hero__headline {
  max-width: 600px;
}

.hero__sub {
  font-size: 18px;
  color: var(--color-muted);
  max-width: 480px;
}

/* #116 profit-share sub-headline — values-framing commitment line.
   Sits below the primary hero__sub, above the CTA. */
.hero__sub-commitment {
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-muted);
  max-width: 520px;
  margin-top: 12px;
}

.hero__scarcity {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

.hero__illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 240px;
  padding: 40px;
}

.hero__logo-img {
  width: 220px;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(45, 59, 45, 0.12));
}

/* --- Why Koala Section --- */
.why-koala {
  background: var(--color-white);
}

.why-koala__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}

.value-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 200ms ease, transform 200ms ease;
  text-align: center;
}

.value-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.value-card__icon {
  width: 48px;
  height: 48px;
  color: var(--color-primary);
  margin: 0 auto;
}

.value-card__icon svg {
  width: 100%;
  height: 100%;
}

.value-card__title {
  margin-top: 16px;
}

.value-card__body {
  margin-top: 8px;
  color: var(--color-muted);
}

.why-koala__cta {
  text-align: center;
  margin-top: 32px;
}

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

/* --- How It Works --- */
.how-it-works {
  background: var(--color-white);
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 40px;
  position: relative;
  padding-left: 40px;
}

/* Vertical connecting line (mobile) */
.how-steps::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: var(--color-border);
}

.how-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  position: relative;
}

.how-step__number {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  position: absolute;
  left: -40px;
  z-index: 1;
}

.how-step__content {
  flex: 1;
}

.how-step__title {
  margin-bottom: 4px;
}

.how-step__body {
  color: var(--color-muted);
  font-size: 14px;
}

/* --- Founding Sitter Section --- */
.founding {
  background: var(--color-bg);
}

.founding__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.founding__top {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.founding__badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(232, 168, 73, 0.15);
  color: var(--color-cta-hover);
  font-weight: 600;
  font-size: 14px;
  border-radius: 20px;
}

.founding__body {
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.7;
  margin-top: 16px;
}

.founding__bullets {
  color: var(--color-muted);
  font-size: 16px;
  line-height: 1.7;
  list-style-type: disc;
  padding-left: 24px;
  margin: 0 0 24px;
}

.founding__bullets li {
  margin-bottom: 12px;
}

.founding__body-outro {
  font-weight: 500;
}

.founding__quote-card {
  background: var(--color-white);
  border-left: 4px solid var(--color-primary);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  padding: 24px;
  margin: 8px 0;
}

.founding__quote-text {
  font-style: italic;
  color: var(--color-text);
  line-height: 1.6;
}

.founding__quote-author {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-muted);
}

.founding__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  margin-top: 20px;
}

.founding__contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-weight: 500;
  font-size: 14px;
}

.founding__contact svg {
  width: 20px;
  height: 20px;
}

.founding__contact:hover {
  color: var(--color-text);
}

.founding__cta-micro {
  display: block;
  font-size: 13px;
  color: var(--color-muted);
  margin-top: 4px;
  margin-top: 8px;
}

.founding__meta {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.founding__kvk,
.founding__scarcity {
  font-size: 13px;
  color: var(--color-muted);
}

.founding__scarcity {
  font-weight: 500;
  color: var(--color-primary);
}

/* --- Parent Section --- */
.for-parents {
  background: var(--color-primary);
  color: var(--color-white);
}

.for-parents .section-heading {
  color: var(--color-white);
}

.parent__transition {
  text-align: center;
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 16px;
}

.parent__headline {
  text-align: center;
  color: var(--color-white);
  max-width: var(--max-width-parent);
  margin: 0 auto;
}

.parent__body {
  text-align: center;
  max-width: var(--max-width-parent);
  margin: 20px auto 0;
  opacity: 0.9;
  line-height: 1.7;
}

.parent__vps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 32px auto 0;
  max-width: var(--max-width-parent);
}

.parent__vp {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.parent__vp-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  color: var(--color-cta);
}

.parent__vp-icon svg {
  width: 100%;
  height: 100%;
}

.parent__form-wrapper {
  max-width: 480px;
  margin: 32px auto 0;
}

.parent__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.parent__form .form-field label {
  color: var(--color-white);
}

.parent__form .form-field input,
.parent__form .form-field select {
  background: rgba(255, 255, 255, 0.95);
}

.parent__success {
  text-align: center;
  padding: 24px;
  font-weight: 500;
}

/* --- Parent Section (compact / demoted — ticket #127) ---
   Renders BELOW the sitter closing CTA. Visually lightweight: neutral
   background, smaller headline, form constrained to a single centered column
   so it doesn't compete with the sitter pitch for vertical real-estate. */
.for-parents-compact {
  background: var(--color-bg-alt, #f7f5f0);
  padding-top: 40px;
  padding-bottom: 40px;
}

.for-parents-compact__inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.for-parents-compact__blurb {
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 20px;
  color: var(--color-text, #1a1a1a);
  opacity: 0.85;
}

.for-parents-compact__headline {
  font-size: 20px;
  line-height: 1.3;
  margin: 0 0 12px;
  color: var(--color-text, #1a1a1a);
  font-weight: 600;
}

.for-parents-compact__body {
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 20px;
  color: var(--color-text, #1a1a1a);
  opacity: 0.85;
}

.parent__form--compact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.parent__form--compact .form-field label {
  color: var(--color-text, #1a1a1a);
}

.parent__form--compact .form-field input,
.parent__form--compact .form-field select {
  background: var(--color-white);
}

/* --- FAQ Section --- */
.faq {
  background: var(--color-white);
}

.faq__list {
  max-width: var(--max-width-narrow);
  margin: 32px auto 0;
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  transition: color 150ms ease;
}

.faq__question:hover {
  color: var(--color-primary);
}

.faq__question:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

.faq__chevron {
  width: 20px;
  height: 20px;
  min-width: 20px;
  color: var(--color-muted);
  transition: transform 200ms ease;
}

.faq__chevron svg {
  width: 100%;
  height: 100%;
}

.faq__item[data-open="true"] .faq__chevron {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 300ms ease;
}

.faq__answer-inner {
  padding: 0 0 20px;
  color: var(--color-muted);
  line-height: 1.6;
}

/* --- Closing CTA --- */
.closing-cta {
  background: var(--color-bg);
  text-align: center;
}

.closing-cta__scarcity {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
}

.closing-cta .btn-primary {
  margin-top: 24px;
}

/* --- Footer --- */
.footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 48px 0 32px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer__logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-footer-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer__logo-img {
  height: 32px;
  width: auto;
  border-radius: 6px;
}

.footer__legal {
  font-size: 13px;
  opacity: 0.7;
}

.footer__links {
  display: flex;
  gap: 24px;
  font-size: 14px;
}

.footer__links a {
  opacity: 0.8;
  transition: opacity 150ms ease;
}

.footer__links a:hover {
  opacity: 1;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer__social a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  opacity: 0.8;
  transition: opacity 150ms ease;
}

.footer__social a:hover {
  opacity: 1;
}

.footer__social svg {
  width: 20px;
  height: 20px;
}

.footer__lang {
  margin-top: 8px;
}

/* Version marker — Legolas evidential trail. Intentionally small but findable
   (not an HTML comment, since minifiers can strip comments). */
.footer__version {
  font-size: 10px;
  line-height: 1.4;
  color: var(--color-text-muted, #888);
  margin: 4px 0 0;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}

/* Commitment disclaimer — Legolas evidential trail (#9, 2026-04-11).
   MUST render as visible text, not an HTML comment (minifiers strip comments).
   Same wording as faq_a_commitment_disclaimer so the disclaimer is co-located
   on the same page as the #116 / #118 profit-share statements (BW 6:194). */
.footer__commitment-disclaimer {
  font-size: 10px;
  line-height: 1.45;
  color: var(--color-text-muted, #888);
  margin: 8px 0 0;
  max-width: 520px;
  font-family: var(--font-body);
}

/* --- Sticky CTA Bar (mobile only) --- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: var(--color-white);
  box-shadow: var(--shadow-sticky);
  padding: 12px 20px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  transform: translateY(100%);
  transition: transform 200ms ease;
  display: none;
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta[aria-hidden="true"] {
  pointer-events: none;
}

.sticky-cta .btn-primary {
  width: 100%;
}

/* --- Form Shared Styles --- */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--color-text);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-input);
  transition: border-color 150ms ease, box-shadow 150ms ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(124, 154, 130, 0.2);
}

.form-field input.error,
.form-field select.error,
.form-field textarea.error {
  border-color: var(--color-error);
}

.form-field textarea {
  resize: vertical;
  min-height: 80px;
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B7B6B' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-error {
  font-size: 13px;
  color: var(--color-error);
  display: none;
}

.form-error.visible {
  display: block;
}

.form-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

/* Neighborhood multi-select: 9 districts wrap to a 2-column grid on
   narrow viewports, 3-column on wider screens, to keep vertical scroll
   reasonable inside the modal/inline form. Added in #123/#124. */
.form-neighborhood-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 12px;
  row-gap: 10px;
}

@media (min-width: 520px) {
  .form-neighborhood-group {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 15px;
}

.form-checkbox input[type="checkbox"] {
  appearance: auto;
  -webkit-appearance: auto;
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 1.5px solid var(--color-border);
  border-radius: 4px;
  cursor: pointer;
  accent-color: var(--color-primary);
}

/* Research opt-in — stands out from regular checkboxes */
.form-research-optin {
  background: linear-gradient(135deg, rgba(232, 168, 73, 0.08), rgba(232, 168, 73, 0.15));
  border: 1.5px solid rgba(232, 168, 73, 0.3);
  border-radius: var(--radius-card, 12px);
  padding: 16px;
  margin-top: 8px;
}

.form-research-optin .form-checkbox {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
}

/* Honeypot */
.form-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
}

/* --- Modal Overlay --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(45, 59, 45, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: var(--color-white);
  border-radius: var(--radius-modal);
  max-width: 520px;
  width: 100%;
  margin: auto;
  padding: 32px;
  position: relative;
  transform: translateY(20px);
  transition: transform 200ms ease;
}

.modal-overlay.open .modal {
  transform: translateY(0);
}

.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.modal__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
}

.modal__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-muted);
  border-radius: 50%;
  transition: background 150ms ease;
}

.modal__close:hover {
  background: rgba(0, 0, 0, 0.05);
}

.modal__close:focus-visible {
  outline: 2px solid var(--color-primary);
}

.modal__close svg {
  width: 20px;
  height: 20px;
}

.sitter-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-row .form-field {
  flex: 1;
}

/* --- Sitter Inline Form (mobile) --- */
.sitter-form-inline {
  background: var(--color-white);
  padding: 48px 0 64px;
  display: none;
}

.sitter-form-inline .container {
  max-width: 520px;
}

.sitter-form-inline__heading {
  margin-bottom: 24px;
  text-align: center;
}

/* Form Success State */
.form-success {
  text-align: center;
  padding: 32px 0;
}

.form-success__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  color: var(--color-primary);
}

.form-success__icon svg {
  width: 100%;
  height: 100%;
}

.form-success__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 8px;
}

.form-success__body {
  color: var(--color-muted);
  margin-bottom: 24px;
}

.form-success__share {
  font-size: 14px;
  color: var(--color-muted);
  margin-bottom: 12px;
}

/* --- Referral block in form success state (#128) --- */
.form-success__referral {
  margin: 8px 0 20px;
  padding: 20px;
  border: 1px solid var(--color-border, #e5e5e5);
  border-radius: var(--radius-card, 12px);
  background: var(--color-bg-alt, #f7f5f0);
  text-align: left;
}

.form-success__referral-headline {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text, #1a1a1a);
}

.form-success__referral-body {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text, #1a1a1a);
}

.form-success__referral-kicker {
  margin: 0 0 16px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-muted, #666);
  font-style: italic;
}

.form-success__referral-url {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.form-success__referral-url code {
  flex: 1 1 60%;
  min-width: 0;
  padding: 8px 10px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  background: var(--color-white, #fff);
  border: 1px solid var(--color-border, #e5e5e5);
  border-radius: 6px;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.btn-copy {
  flex: 0 0 auto;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--color-primary, #1a1a1a);
  background: var(--color-primary, #1a1a1a);
  color: var(--color-white, #fff);
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 150ms ease;
}

.btn-copy:hover {
  opacity: 0.85;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #25D366;
  color: var(--color-white);
  font-weight: 600;
  font-size: 14px;
  border: none;
  border-radius: var(--radius-card);
  cursor: pointer;
  transition: background 150ms ease;
  text-decoration: none;
}

.btn-whatsapp:hover {
  background: #1da851;
  text-decoration: none;
}

.btn-whatsapp svg {
  width: 20px;
  height: 20px;
}

/* --- Desktop Breakpoint (768px+) --- */
@media (min-width: 768px) {
  h1 {
    font-size: 56px;
  }

  h2 {
    font-size: 40px;
  }

  h3 {
    font-size: 20px;
  }

  .section {
    padding: 80px 0;
  }

  .btn-primary {
    padding: 16px 32px;
    font-size: 18px;
  }

  .container {
    padding: 0 40px;
  }

  /* Hero desktop: two columns */
  .hero {
    min-height: 90vh;
    padding-bottom: 80px;
  }

  .hero__inner {
    flex-direction: row;
    align-items: center;
    gap: 48px;
  }

  .hero__content {
    flex: 0 0 60%;
    align-items: flex-start;
    text-align: left;
  }

  .hero__sub {
    font-size: 20px;
  }

  .hero__illustration {
    flex: 1;
    min-height: 360px;
  }

  .hero__logo-img {
    width: 320px;
  }

  /* Value props: 4-column grid */
  .why-koala__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
  }

  .value-card {
    padding: 32px 24px;
  }

  /* How It Works: horizontal */
  .how-steps {
    flex-direction: row;
    gap: 0;
    padding-left: 0;
    justify-content: center;
  }

  .how-steps::before {
    /* Horizontal line */
    left: calc(16.67% + 20px);
    right: calc(16.67% + 20px);
    top: 20px;
    bottom: auto;
    width: auto;
    height: 2px;
  }

  .how-step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    max-width: 280px;
    gap: 16px;
  }

  .how-step__number {
    position: relative;
    left: auto;
  }

  /* Founding: intro + quote side by side, rest full width below */
  .founding__top {
    flex-direction: row;
    gap: 48px;
    align-items: flex-start;
  }

  .founding__content {
    flex: 1;
  }

  .founding__aside {
    flex: 0 0 340px;
  }

  .founding__bullets {
    columns: 2;
    column-gap: 40px;
  }

  .founding__bullets li {
    break-inside: avoid;
  }

  /* Parent section */
  .parent__vps {
    flex-direction: row;
    justify-content: center;
    gap: 32px;
  }

  /* FAQ */
  .faq__question {
    font-size: 18px;
  }

  /* Footer: 3-column */
  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
  }

  /* Sticky CTA: hidden on desktop */
  .sticky-cta {
    display: none !important;
  }

  /* Value prop cards: 2x2 on tablet before going 4-col */
  .why-koala__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Tablet: 2x2 grid for value cards */
@media (min-width: 480px) and (max-width: 767px) {
  .why-koala__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: show sticky CTA and inline form */
@media (max-width: 767px) {
  .sticky-cta {
    display: block;
  }

  .sitter-form-inline.active {
    display: block;
  }

  .form-row {
    flex-direction: column;
    gap: 20px;
  }

  /* 7a: Left-align text on mobile */
  .hero__content {
    align-items: flex-start;
    text-align: left;
  }

  .section-heading {
    text-align: left;
  }

  .why__card {
    text-align: left;
  }

  .closing-cta {
    text-align: left;
  }

  .closing-cta .section-heading {
    text-align: left;
  }

  /* 7b: More space between numbered circles and text in how-it-works */
  .how-steps {
    padding-left: 64px;
  }

  .how-step__number {
    left: -56px;
  }

  .how-steps::before {
    left: 28px;
  }

  /* 7c: Founding bullets as horizontal swipe cards */
  .founding__bullets {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    list-style: none;
    padding-left: 0;
    margin: 20px -20px 12px;
    padding: 0 20px 8px;
    gap: 12px;
    align-items: stretch;
  }

  .founding__bullets li {
    scroll-snap-align: center;
    min-width: 75vw;
    width: 75vw;
    flex-shrink: 0;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card, 12px);
    padding: 20px;
    margin-bottom: 0;
    box-sizing: border-box;
  }

  .founding__bullets li strong {
    display: block;
    margin-bottom: 8px;
    color: var(--color-text);
  }
}

/* Swipe cards dot indicator */
.founding__dots {
  display: none;
}

@media (max-width: 767px) {
  .founding__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
  }

  .founding__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-border);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 150ms ease;
  }

  .founding__dot.active {
    background: var(--color-primary);
  }
}

/* --- Print --- */
@media print {
  .navbar,
  .sticky-cta,
  .modal-overlay {
    display: none !important;
  }
}
