/* Nunito (variable, Latin subset) is self-hosted under the SIL Open Font License 1.1. */
@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito-latin-wght.woff2") format("woff2");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fffbf5;
  --tint: #fff3e8;
  --ink: #1d2340;
  --muted: #555b73;
  --line: #eadfd2;
  --card: #ffffff;
  --coral: #ff6b4a;
  --coral-soft: #ffe9dc;
  --teal: #12a594;
  --teal-soft: #dcf5f1;
  --sun: #ffc53d;
  --sun-soft: #fff3cf;
  --lilac: #8e7cf0;
  --lilac-soft: #ebe7ff;
  --sky: #ddebff;
  --ok: #0b7a6d;
  --bad: #b3261e;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(29, 35, 64, .06), 0 12px 32px -12px rgba(29, 35, 64, .18);
  --shadow-lift: 0 2px 4px rgba(29, 35, 64, .08), 0 22px 44px -16px rgba(29, 35, 64, .28);
  --display: "Nunito", ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 1rem; line-height: 1.6; color: var(--ink); background: var(--bg); overflow-x: hidden; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.7rem); font-weight: 900; line-height: 1.2; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 800; }
p { margin: 0 0 1em; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--lilac); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; }
.wrap { width: min(1140px, 100% - 40px); margin-inline: auto; }
.fine { font-size: .82rem; color: var(--muted); }
.center { text-align: center; }
.hint { font-size: .85rem; color: var(--muted); margin: .35em 0 0; }
.loading-note { color: var(--muted); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .85em 1.4em; border-radius: 999px; border: 2px solid transparent; font-family: var(--display); font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s; }
.btn-primary { background: var(--coral); color: var(--ink); box-shadow: 0 6px 0 -2px rgba(29, 35, 64, .9); border-color: var(--ink); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 9px 0 -2px rgba(29, 35, 64, .9); }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 3px 0 -2px rgba(29, 35, 64, .9); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-small { padding: .55em 1.05em; font-size: .92rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn .arrow { display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 251, 245, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -18px rgba(29, 35, 64, .4); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; transition: transform .4s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.15rem; }
.brand-name span { font-weight: 600; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; padding: 6px 0; }
.site-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 2px solid var(--ink); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease); }
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero { position: relative; padding: clamp(36px, 6vw, 80px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .55; pointer-events: none; }
.blob-a { width: 420px; height: 420px; background: var(--sun-soft); top: -140px; left: -120px; animation: drift 18s ease-in-out infinite alternate; }
.blob-b { width: 380px; height: 380px; background: var(--lilac-soft); bottom: -160px; right: -80px; animation: drift 22s ease-in-out infinite alternate-reverse; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 700; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 1em; }
.eyebrow .dot { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 0 rgba(18, 165, 148, .5); animation: pulse 2.6s ease-out infinite; }
.squiggle { position: relative; white-space: nowrap; color: var(--ink); }
.squiggle svg { position: absolute; left: -2%; bottom: -.02em; width: 104%; height: .18em; overflow: visible; }
.squiggle path { fill: none; stroke: var(--coral); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 240; stroke-dashoffset: 240; animation: draw 1.2s .5s var(--ease) forwards; }
.audience { display: inline-flex; padding: 5px; background: #fff; border: 2px solid var(--ink); border-radius: 999px; margin: .4em 0 1.1em; gap: 4px; flex-wrap: wrap; }
.audience-btn { border: 0; background: transparent; padding: .5em 1.05em; border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: .92rem; cursor: pointer; transition: background-color .25s, color .25s; }
.audience-btn.is-active { background: var(--ink); color: #fff; }
.hero-lede { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: var(--muted); max-width: 34em; min-height: 4.8em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.2em 0 1.4em; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .92rem; font-weight: 600; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.7 2.7L13 6.5' fill='none' stroke='%230b7a6d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; flex: none; }
.hero-art { position: relative; }
.hero-scene { width: 100%; height: auto; display: block; }
.scene-globe { transform-origin: 150px 300px; animation: bob 7s ease-in-out infinite; }
.scene-house { transform-origin: 400px 300px; animation: bob 8s ease-in-out -2s infinite; }
.sparkle { transform-box: fill-box; transform-origin: center; animation: twinkle 3.2s ease-in-out infinite; }
.sparkle.s2 { animation-delay: -1.1s; }
.sparkle.s3 { animation-delay: -2.1s; }
.float-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: #fff; border: 2px solid var(--ink); border-radius: 16px; box-shadow: var(--shadow); font-size: .85rem; line-height: 1.25; animation: bob 6s ease-in-out infinite; }
.float-card strong, .float-card small { display: block; }
.float-card small { color: var(--muted); }
.float-profile { left: 0; top: 8%; }
.float-match { right: 0; bottom: 10%; animation-delay: -3s; }
.mini-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: .85rem; }
.mini-check { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; font-weight: 800; }
.tone-coral { background: var(--coral-soft); }
.tone-teal { background: var(--teal-soft); }
.tone-sun { background: var(--sun-soft); }
.tone-lilac { background: var(--lilac-soft); }
.tone-sky { background: var(--sky); }

/* Stats */
.stats { padding: 8px 0 28px; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0 0 10px; padding: 22px; background: var(--ink); color: #fff; border-radius: var(--radius); }
.stat { text-align: center; }
.stat dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.1; color: var(--sun); font-variant-numeric: tabular-nums; }
.stat dt { font-size: .9rem; color: #d8dbea; }

/* Sections */
.section { padding: clamp(52px, 7vw, 96px) 0; }
.section-tint { background: var(--tint); }
.section-ink { background: var(--ink); color: #fff; }
.section-ink .eyebrow, .section-ink .section-head p, .section-ink .section-head p:last-child { color: #c9cde2; }
.section-head { max-width: 46em; margin: 0 auto clamp(26px, 4vw, 44px); text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.section-head p:last-child { color: var(--muted); font-size: 1.05rem; margin: 0; }
.sub-head { margin: 44px 0 18px; font-size: 1.35rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--ink); }

/* Programs */
.program-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.program { position: relative; display: flex; flex-direction: column; padding: 22px; background: #fff; border: 2px solid var(--ink); border-radius: var(--radius); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.program:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.program-tag { align-self: flex-start; padding: 3px 12px; border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: .78rem; border: 1.5px solid var(--ink); margin-bottom: 12px; }
.program h3 { font-size: 1.35rem; margin-bottom: .3em; }
.program-summary { color: var(--muted); font-size: .94rem; min-height: 4.6em; }
.program-price { font-family: var(--display); font-weight: 800; font-size: 1.9rem; line-height: 1; }
.program-price small { display: block; font-family: var(--body); font-weight: 500; font-size: .8rem; line-height: 1.4; color: var(--muted); margin-top: 8px; }
.program-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0; padding: 12px; border-radius: var(--radius-sm); font-size: .82rem; }
.program-meta strong { display: block; font-family: var(--display); font-size: 1.02rem; }
.program ul { display: grid; gap: 8px; margin-bottom: 18px; font-size: .9rem; flex: 1; align-content: start; }
.tick-list li, .program li { position: relative; padding-left: 26px; }
.tick-list li::before, .program li::before { content: ""; position: absolute; left: 0; top: .25em; width: 17px; height: 17px; border-radius: 50%; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.7 2.7L13 6.5' fill='none' stroke='%230b7a6d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.compare-wrap { margin-top: 44px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 10px; }
.compare { width: 100%; min-width: 680px; border-collapse: collapse; font-size: .93rem; }
.compare th, .compare td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--display); background: var(--tint); }
.compare tbody th { font-weight: 600; color: var(--muted); white-space: nowrap; }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; font-weight: 700; color: var(--ink); }
.included-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.included-grid li { padding: 18px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .3s var(--ease), border-color .3s; }
.included-grid li:hover { transform: translateY(-3px); border-color: var(--ink); }
.included-grid strong { display: block; font-family: var(--display); margin-bottom: 4px; }
.included-grid span { color: var(--muted); font-size: .92rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; left: 4%; right: 4%; top: 25px; height: 3px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 12px); opacity: .35; }
.step { position: relative; counter-increment: step; padding-top: 66px; }
.step::before { content: counter(step); position: absolute; top: 0; left: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--ink); font-family: var(--display); font-weight: 800; font-size: 1.2rem; transition: background-color .4s, transform .4s var(--ease); }
.step.is-visible::before { background: var(--sun); transform: rotate(-6deg); }
.step-time { display: inline-block; font-size: .78rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }

/* Au pairs */
.filters { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: .45em 1em; border-radius: 999px; border: 1.5px solid var(--ink); background: #fff; font-weight: 600; font-size: .9rem; cursor: pointer; transition: background-color .2s, color .2s, transform .2s var(--ease); }
.chip:hover { transform: translateY(-2px); }
.chip.is-active { background: var(--ink); color: #fff; }
.chip-small { font-size: .8rem; padding: .35em .8em; }
.filter-language { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .9rem; }
.result-count { color: var(--muted); font-size: .9rem; min-height: 1.6em; }
.aupair-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.aupair { display: flex; flex-direction: column; padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); animation: pop .4s var(--ease) both; }
.aupair:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.aupair-top { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.avatar { width: 58px; height: 58px; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.1rem; flex: none; transition: transform .4s var(--ease); }
.aupair:hover .avatar { transform: rotate(-8deg) scale(1.05); }
.aupair h3 { margin: 0; font-size: 1.15rem; }
.aupair-sub { font-size: .88rem; color: var(--muted); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.badge { font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.aupair-bio { font-size: .92rem; color: var(--muted); flex: 1; }
.aupair-facts { font-size: .84rem; margin-bottom: 14px; display: grid; gap: 2px; }
.shortlist-btn[aria-pressed="true"] { background: var(--teal); border-color: var(--ink); color: #fff; }
.empty-state { text-align: center; padding: 34px 20px; background: #fff; border: 2px dashed var(--line); border-radius: var(--radius); }

/* Add-ons */
.addon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.addon { display: flex; flex-direction: column; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; }
.addon:hover { transform: translateY(-3px); }
.addon.is-selected { border-color: var(--ink); box-shadow: 0 0 0 3px var(--sun); }
.addon h3 { font-size: 1.02rem; margin-bottom: 2px; }
.addon-partner { font-size: .78rem; color: var(--muted); font-weight: 600; }
.addon p { font-size: .88rem; color: var(--muted); margin: 8px 0 14px; flex: 1; }
.addon-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.addon-price { font-family: var(--display); font-weight: 800; font-size: 1.15rem; }
.addon-btn[aria-pressed="true"] { background: var(--ink); color: #fff; }
.addon-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; padding: 14px 20px; background: #fff; border: 2px solid var(--ink); border-radius: 999px; }
.addon-bar p { margin: 0; font-weight: 700; }

/* Forms */
.planner { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.form-card { padding: clamp(18px, 3vw, 28px); display: grid; gap: 16px; }
.form-card h3 { margin: 0; font-size: 1.25rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field legend { padding: 0; margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="number"], select { width: 100%; padding: .7em .85em; border: 1.5px solid #cfc6ba; border-radius: var(--radius-sm); background: #fff; font-weight: 500; transition: border-color .2s, box-shadow .2s; }
input:hover, select:hover { border-color: var(--ink); }
input:focus-visible, select:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px var(--lilac-soft); }
input[type="range"] { width: 100%; accent-color: var(--coral); height: 28px; }
output { font-family: var(--display); font-weight: 800; background: var(--sun); padding: 1px 10px; border-radius: 999px; border: 1.5px solid var(--ink); }
.checks { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.checks legend { width: 100%; }
.check { display: inline-flex; align-items: center; gap: 8px; padding: .5em .9em; border: 1.5px solid #cfc6ba; border-radius: 999px; font-weight: 600; font-size: .88rem; cursor: pointer; background: #fff; transition: border-color .2s, background-color .2s; }
.check:has(input:checked) { border-color: var(--ink); background: var(--teal-soft); }
.check input { accent-color: var(--teal); width: 16px; height: 16px; margin: 0; }
.planner-extras { margin: 0; padding: 10px 14px; background: var(--tint); border-radius: var(--radius-sm); font-size: .88rem; }
.form-error { margin: 0; padding: 10px 14px; border-radius: var(--radius-sm); background: #fde8e6; color: var(--bad); font-weight: 600; font-size: .9rem; border: 1.5px solid #f3b6b0; }
.form-success { margin: 0; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--teal-soft); color: #07564d; font-weight: 600; font-size: .9rem; border: 1.5px solid #9ddcd3; animation: pop .4s var(--ease) both; }
.result-card { padding: clamp(18px, 3vw, 28px); min-height: 420px; position: sticky; top: 92px; }
.result-empty { text-align: center; padding: 40px 10px; color: var(--muted); }
.result-empty h3 { color: var(--ink); }
.result-art { width: 150px; margin-bottom: 12px; animation: bob 6s ease-in-out infinite; }
.result-loading p { color: var(--muted); font-weight: 600; }
.shimmer { height: 16px; margin-bottom: 14px; border-radius: 8px; background: linear-gradient(90deg, #f1e9df 25%, #faf5ee 50%, #f1e9df 75%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.shimmer-title { height: 30px; width: 60%; }
.shimmer-short { width: 40%; }
.result-body { outline: none; animation: pop .45s var(--ease) both; }
.result-top { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.check-badge { width: 44px; height: 44px; flex: none; }
.check-badge circle { fill: var(--teal); }
.check-badge path { fill: none; stroke: #fff; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .5s .25s var(--ease) forwards; }
.result-ref { font-size: .85rem; color: var(--muted); margin: 0; }
.result-program { margin: 14px 0; padding: 14px 16px; background: var(--sun-soft); border: 1.5px solid var(--ink); border-radius: var(--radius-sm); }
.result-program strong { font-family: var(--display); font-size: 1.15rem; }
.result-notes { display: grid; gap: 6px; font-size: .88rem; margin-bottom: 16px; }
.cost-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin-bottom: 6px; }
.cost-table td { padding: 7px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.cost-table td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; padding-left: 12px; }
.cost-table tfoot td { border-bottom: 0; font-family: var(--display); font-weight: 800; font-size: 1.1rem; padding-top: 12px; }
.match-list { display: grid; gap: 10px; margin: 10px 0 16px; }
.match-item { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.match-item .avatar { width: 44px; height: 44px; font-size: .9rem; }
.match-item p { margin: 0; font-size: .82rem; color: var(--muted); }
.match-score { font-family: var(--display); font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--teal-soft); border: 1.5px solid var(--ink); font-size: .9rem; }
.sim-note { padding: 10px 14px; border-radius: var(--radius-sm); background: var(--tint); font-size: .85rem; margin: 0; }
.result-body h4 { font-family: var(--display); font-size: 1rem; margin: 16px 0 6px; }

/* Become an au pair */
.become-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; align-items: start; }
.dest-card { padding: clamp(18px, 3vw, 28px); }
.tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--tint); border-radius: 999px; margin-bottom: 18px; flex-wrap: wrap; }
.tab { border: 0; background: transparent; padding: .5em 1.1em; border-radius: 999px; font-family: var(--display); font-weight: 700; cursor: pointer; transition: background-color .25s, color .25s; }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; }
.dest-panel { outline-offset: 6px; animation: pop .35s var(--ease) both; }
.dest-panel h3 { font-size: 1.4rem; margin-bottom: 2px; }
.dest-visa { color: var(--muted); font-size: .92rem; }
.fact-list { display: grid; gap: 0; margin: 14px 0; }
.fact-list div { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.fact-list dt { font-weight: 700; }
.fact-list dd { margin: 0; color: var(--muted); }
.source-link { font-size: .88rem; font-weight: 600; }
.elig-result { padding: 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--ink); background: #fff; animation: pop .4s var(--ease) both; outline: none; }
.elig-result.is-yes { background: var(--teal-soft); }
.elig-result.is-no { background: var(--sun-soft); }
.elig-result ul { display: grid; gap: 6px; margin: 10px 0; font-size: .9rem; }
.elig-result li { display: grid; grid-template-columns: 22px 1fr; gap: 6px; }
.elig-result .mark { font-weight: 800; }
.benefit-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 24px; margin-top: 34px; }
.benefit-row li { position: relative; padding-left: 30px; color: #e6e8f3; }
.benefit-row li::before { content: "✦"; position: absolute; left: 0; color: var(--sun); animation: twinkle 3s ease-in-out infinite; }

/* Stories, guides, rules */
.story-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.story { margin: 0; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); position: relative; }
.story::before { content: "“"; position: absolute; top: 6px; right: 20px; font-family: Georgia, serif; font-size: 4.5rem; line-height: 1; color: var(--coral-soft); }
.story blockquote { margin: 0 0 14px; font-size: 1.05rem; position: relative; }
.story figcaption { display: flex; align-items: center; gap: 12px; font-size: .88rem; }
.story figcaption .avatar { width: 42px; height: 42px; font-size: .85rem; }
.story figcaption small { display: block; color: var(--muted); }
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; align-items: start; }
.guide { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .25s; }
.guide[open], .guide:hover { border-color: var(--ink); }
.guide summary { list-style: none; cursor: pointer; padding: 20px 22px; display: grid; gap: 6px; }
.guide summary::-webkit-details-marker { display: none; }
.guide-tag { justify-self: start; font-size: .75rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--lilac-soft); }
.guide summary h3 { margin: 0; font-size: 1.15rem; }
.guide-more { font-size: .85rem; font-weight: 700; color: var(--muted); }
.guide[open] .guide-more .open-label, .guide:not([open]) .guide-more .close-label { display: none; }
.guide-body { padding: 0 22px 20px; color: var(--muted); font-size: .95rem; animation: pop .35s var(--ease) both; }
.rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.rule-card { padding: 24px; }
.tick-list { display: grid; gap: 10px; font-size: .95rem; }
.sources { margin-top: 26px; padding: 22px 24px; background: var(--tint); border-radius: var(--radius); }
.sources ul { display: grid; gap: 6px; margin-bottom: 14px; }
.sources a { font-weight: 600; }

/* FAQ and sessions */
.faq-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .25s; }
.faq[open] { border-color: var(--ink); }
.faq summary { list-style: none; cursor: pointer; padding: 15px 48px 15px 18px; font-weight: 700; position: relative; font-family: var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; width: 24px; height: 24px; margin-top: -12px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; font-weight: 800; transition: transform .3s var(--ease); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 18px 16px; margin: 0; color: var(--muted); animation: pop .3s var(--ease) both; }
.session-list { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.session { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 12px; border: 1.5px solid #cfc6ba; border-radius: var(--radius-sm); cursor: pointer; transition: border-color .2s, background-color .2s; }
.session:has(input:checked) { border-color: var(--ink); background: var(--sun-soft); }
.session input { margin-top: 4px; accent-color: var(--coral); }
.session strong { display: block; font-size: .95rem; }
.session small { color: var(--muted); display: block; }
.contact-card { margin-top: 18px; padding: 22px; font-size: .93rem; }
.contact-card dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; }
.contact-card dt { font-weight: 700; }
.contact-card dd { margin: 0; color: var(--muted); }

/* Footer */
.site-footer { background: var(--ink); color: #dfe2f0; padding: 48px 0 110px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; }
.footer-brand { color: #fff; font-size: 1.3rem; margin-bottom: 4px; }
.footer-brand span { color: #b9bed8; }
.site-footer .fine { color: #aab0cc; }
.newsletter label { font-family: var(--display); font-weight: 700; color: #fff; display: block; margin-bottom: 10px; }
.newsletter-row { display: flex; gap: 10px; }
.newsletter-row input { flex: 1; min-width: 0; }
.newsletter-note { min-height: 1.5em; margin: 10px 0 0; font-size: .88rem; color: var(--sun); }
.newsletter-note.is-error { color: #ffb4a6; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 30px); z-index: 70; max-width: min(92vw, 440px); padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: .9rem; opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Chat */
.chat-launcher { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; border: 2px solid var(--ink); background: var(--sun); font-family: var(--display); font-weight: 800; cursor: pointer; box-shadow: var(--shadow-lift); transition: transform .25s var(--ease); }
.chat-launcher::after { content: ""; position: absolute; inset: -2px; border-radius: 999px; border: 2px solid var(--sun); animation: ring 3.2s ease-out infinite; pointer-events: none; }
.chat-launcher:hover { transform: translateY(-3px) rotate(-2deg); }
.chat-launcher svg { width: 20px; height: 20px; }
.chat-panel { position: fixed; right: 20px; bottom: 20px; z-index: 65; width: min(400px, calc(100vw - 24px)); max-height: min(640px, calc(100dvh - 32px)); display: flex; flex-direction: column; background: #fff; border: 2px solid var(--ink); border-radius: 22px; box-shadow: var(--shadow-lift); overflow: hidden; animation: chat-in .3s var(--ease) both; }
.chat-head { position: relative; padding: 14px 16px 12px; background: var(--tint); border-bottom: 1px solid var(--line); }
.chat-head h2 { font-size: 1.15rem; margin: 10px 0 2px; }
.chat-note { font-size: .78rem; color: var(--muted); margin: 0; }
.gateway { border: 0; padding: 4px; margin: 0; display: inline-flex; gap: 4px; background: #fff; border-radius: 999px; border: 1.5px solid var(--ink); }
.gateway label { position: relative; cursor: pointer; }
.gateway input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.gateway span { display: block; padding: 4px 14px; border-radius: 999px; font-family: var(--display); font-weight: 700; font-size: .82rem; transition: background-color .2s, color .2s; }
.gateway input:checked + span { background: var(--ink); color: #fff; }
.gateway input:focus-visible + span { outline: 3px solid var(--lilac); outline-offset: 2px; }
.gateway:disabled { opacity: .55; }
.chat-close { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; font-size: 1.2rem; line-height: 1; cursor: pointer; }
.chat-messages { flex: 1; min-height: 160px; overflow-y: auto; padding: 14px; display: grid; gap: 10px; align-content: start; }
.msg { max-width: 88%; padding: 10px 13px; border-radius: 16px; font-size: .9rem; white-space: pre-wrap; overflow-wrap: anywhere; animation: pop .3s var(--ease) both; }
.msg-user { justify-self: end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.msg-bot { justify-self: start; background: var(--tint); border-bottom-left-radius: 4px; }
.msg-error { justify-self: start; background: #fde8e6; color: var(--bad); border: 1.5px solid #f3b6b0; font-weight: 600; }
.msg-meta { display: block; margin-top: 6px; font-size: .7rem; opacity: .7; font-weight: 600; }
.msg-typing span { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; background: var(--muted); animation: typing 1s ease-in-out infinite; }
.msg-typing span:nth-child(2) { animation-delay: .15s; }
.msg-typing span:nth-child(3) { animation-delay: .3s; }
.chat-suggest { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
.chat-form { display: flex; gap: 8px; padding: 0 14px 10px; }
.chat-form input { flex: 1; min-width: 0; }
.chat-corpus { margin: 0 14px 14px; padding: 8px 12px; border-radius: var(--radius-sm); border: 1.5px dashed var(--ink); background: #fff; font-weight: 700; font-size: .82rem; cursor: pointer; }
.chat-corpus small { font-weight: 500; color: var(--muted); }
.chat-corpus:hover { background: var(--sun-soft); }
.chat-corpus[disabled], .chat-form [disabled] { opacity: .55; cursor: progress; }

/* Motion */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--delay, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, 30px) scale(1.12); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(18, 165, 148, .5); } 70%, 100% { box-shadow: 0 0 0 10px rgba(18, 165, 148, 0); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes ring { 0% { opacity: .8; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.25, 1.5); } }
@keyframes chat-in { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes typing { 0%, 100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(-4px); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1040px) {
  .program-grid, .addon-grid { grid-template-columns: repeat(2, 1fr); }
  .aupair-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .steps::before { left: 25px; right: auto; top: 10px; bottom: 10px; width: 3px; height: auto; background: repeating-linear-gradient(180deg, var(--ink) 0 2px, transparent 2px 12px); }
  .step { padding: 0 0 0 72px; min-height: 56px; }
  .program-summary { min-height: 0; }
}
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px 20px 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(29, 35, 64, .4); display: none; }
  .site-nav.is-open { display: flex; animation: pop .25s var(--ease) both; }
  .site-nav a:not(.btn) { padding: 10px 4px; }
  .site-nav .btn { margin-top: 8px; }
  .hero-grid, .planner, .become-grid, .faq-grid, .footer-grid, .rules-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; margin-inline: auto; width: 100%; }
  .hero-lede { min-height: 0; }
  .result-card { position: static; min-height: 0; }
  .included-grid, .benefit-row { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .program-grid, .addon-grid, .aupair-grid, .story-grid, .guide-grid, .included-grid, .benefit-row { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .addon-bar { border-radius: var(--radius); }
  .float-profile { top: 0; }
  .float-match { bottom: 2%; }
  .fact-list div { grid-template-columns: 1fr; gap: 2px; }
  .chat-panel { right: 12px; bottom: 12px; }
  .chat-launcher { right: 14px; bottom: 14px; }
  .newsletter-row { flex-direction: column; }
  .match-item { grid-template-columns: auto 1fr; }
  .match-score { grid-column: 2; justify-self: start; }
}
.check-inline { justify-self: start; }
