:root {
  color-scheme: light;
  --paper: #fff8ef;
  --card: #fffefa;
  --ink: #171717;
  --muted: #414141;
  --green: #c6383d;
  --green-dark: #a1262e;
  --green-soft: #fbe4e2;
  --red: #b52531;
  --red-soft: #fbe4e2;
  --gold: #d3a855;
  --line: #e9e5da;
  --shadow: 0 16px 46px rgba(34, 55, 42, .07);
  font-family: "DM Sans", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

.analytics-consent { position: fixed; z-index: 1000; inset: auto 16px 16px; max-width: 760px; max-height: 80vh; overflow-y: auto; margin-inline: auto; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); box-shadow: 0 8px 40px #17171730; }
.analytics-consent h2 { font-family: inherit; font-size: 20px; }
.analytics-consent p { font-size: 14px; margin-bottom: 16px; }
.analytics-consent a { color: var(--red); }
.analytics-consent-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.analytics-consent-actions .button { min-height: 44px; }
.site-share-fallback { flex-basis: 100%; min-width: 0; }

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.55;
  background:
    radial-gradient(ellipse at 92% 3%, rgba(213, 227, 208, .48), transparent 25rem),
    var(--paper);
}

button, input, textarea { font: inherit; }
button { cursor: pointer; }
.ascii-arrow { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-variant-ligatures: none; font-style: normal; line-height: 1; white-space: nowrap; }

.shell { max-width: 1120px; margin: 0 auto; padding: 0 28px 64px; }
.topbar { height: 82px; display: flex; align-items: center; gap: 16px; border-bottom: 1px solid rgba(32, 58, 50, .1); }
.topbar > .language-switch { margin-left: auto; }
.site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-details { width: 100%; min-width: 0; }
.footer-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 16px; list-style: none; }
.footer-summary::-webkit-details-marker { display: none; }
.footer-links { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; }
.footer-summary:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 3px; }
@media (max-width: 720px) {
  .footer-summary { min-height: 44px; flex-wrap: nowrap; justify-content: space-between; cursor: pointer; }
  .footer-summary .footer-note { display: none; }
  .footer-summary::after { content: ""; width: 8px; height: 8px; margin: 0 4px 4px 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
  .footer-details[open] > .footer-summary::after { margin-bottom: 0; transform: rotate(225deg); }
  .footer-links { padding-top: 8px; border-top: 1px solid var(--line); }
}
.footer-link { min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.footer-link:hover { color: var(--red); }
a.footer-link { display: inline-flex; align-items: center; overflow-wrap: anywhere; }
.footer-link:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 3px; }
.legal-notice h3 { margin: 22px 0 8px; font-family: inherit; font-size: 16px; }
.legal-notice p { line-height: 1.65; }
.legal-operator { margin: 22px 0; padding: 16px; background: var(--paper); border-radius: 10px; font-size: 14px; }
.legal-operator > div + div { margin-top: 10px; }
.legal-operator dt { font-weight: 700; }
.legal-operator dd { margin: 2px 0 0; overflow-wrap: anywhere; white-space: pre-line; }
.legal-operator a { color: var(--red); text-underline-offset: 3px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: -.04em; font-size: 20px; }
.brand-mark { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 13px 13px 13px 5px; background: var(--green); color: #fff9e9; }
.brand-logo { display: block; width: 42px; height: 44px; object-fit: contain; border-radius: 8px; mix-blend-mode: multiply; }
.ns-icon { display: block; flex-shrink: 0; width: 24px; height: 24px; object-fit: contain; mix-blend-mode: multiply; }
.brand-mark .ns-icon { width: 31px; height: 31px; }
.eyebrow .ns-icon { display: inline-block; width: 22px; height: 22px; vertical-align: -5px; }
.top-note { margin-left: auto; color: var(--muted); font-size: 12px; }
.language-switch { display: flex; gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255, 254, 250, .85); }
.language-option { display: flex; width: 37px; min-height: 31px; align-items: center; justify-content: center; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #69756d; font-size: 19px; line-height: 1; }
.flag-icon { display: block; width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 1px 3px #18352b24; }
.language-option.selected { background: #fbe4e2; color: #69756d; box-shadow: inset 0 0 0 1px #b5253159; }
.language-option:focus-visible { outline: 2px solid #769a79; outline-offset: 2px; }
.main { padding-top: 40px; }
.about-shell { max-width: 900px; }
.about-content { max-width: 720px; margin-inline: auto; padding-bottom: 12px; }
.about-content h1 { font-size: clamp(32px, 6vw, 48px); line-height: 1.15; }
.about-content h2 { margin-top: 32px; font-size: clamp(23px, 4vw, 28px); line-height: 1.25; }
.about-content p { line-height: 1.7; overflow-wrap: anywhere; }
.about-content a:not(.button) { color: var(--red); text-underline-offset: 3px; }
.about-content .button { margin-top: 16px; }

.eyebrow { color: var(--red); text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 700; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; }
h1 { margin-bottom: 12px; font-size: clamp(36px, 5vw, 54px); line-height: 1.08; letter-spacing: -.035em; font-weight: 600; }
h2 { font-size: 30px; letter-spacing: -.025em; margin-bottom: 8px; }
h3 { font-size: 20px; margin-bottom: 6px; }
.lead { max-width: 620px; color: #64726a; line-height: 1.7; font-size: 16px; }
.hero { position: relative; overflow: hidden; padding: 54px 58px; border-radius: 24px; background: #fbe8e2; }
.hero:after { content: none; }
.hero-content { position: relative; z-index: 1; max-width: 560px; }
.hero-art { position: absolute; top: 42px; right: 32px; width: 370px; height: 250px; overflow: hidden; border-radius: 16px; box-shadow: 0 12px 30px rgba(34, 20, 32, .16); }
.hero-art .ns-icon { width: 225px; height: 190px; stroke-width: 1.55; }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero h1 span { color: var(--green); }
.hero .lead { max-width: 530px; margin-bottom: 25px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.button { min-height: 44px; display: inline-flex; justify-content: center; align-items: center; gap: 9px; border: 0; border-radius: 10px; padding: 0 17px; font-weight: 700; font-size: 13px; text-decoration: none; transition: background .15s, transform .15s; }
.button:hover { transform: translateY(-1px); }
.button-primary { background: var(--green); color: white; }
.button-primary .ns-icon { padding: 2px; border-radius: 5px; background: #fff; mix-blend-mode: normal; }
.button-primary:hover {
  background-color: var(--green-dark);
}
.button-secondary { border: 1px solid var(--line); background: white; color: var(--ink); }
.button-quiet { min-height: 38px; background: transparent; color: var(--green); padding: 0 10px; }
.button-danger { background: var(--red-soft); color: #a63e32; }
.button-small { min-height: 34px; padding: 0 12px; font-size: 12px; }

.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.feature { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 254, 250, .72); }
.feature-icon { width: 38px; height: 38px; display: grid; place-items: center; margin-bottom: 13px; border-radius: 12px; background: var(--green-soft); color: var(--green); }
.feature-icon .ns-icon { width: 30px; height: 30px; }
.feature p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.6; }
.feature h3 { font-family: "DM Sans", sans-serif; font-size: 14px; font-weight: 700; }

.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.page-heading .lead { margin-bottom: 0; font-size: 14px; }
.card { border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--shadow); }
.form-card { max-width: 780px; margin: 0 auto; padding: 34px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; min-width: 0; gap: 7px; }
.field-wide { grid-column: 1 / -1; }
.field label { color: #45554b; font-size: 12px; font-weight: 700; }
.field input, .field textarea, .field select, .participant-contact-fields input {
  width: 100%; min-height: 44px; border: 1px solid #e4e3d9; border-radius: 9px; outline: 0;
  background: #fff; padding: 10px 12px; color: var(--ink); font-size: 14px;
}
.field select { appearance: auto; }
.field input[type="date"] { display: block; min-width: 0; max-width: 100%; -webkit-appearance: none; appearance: none; }
.field input[type="date"]::-webkit-date-and-time-value { min-width: 0; text-align: left; }
.field input[type="date"]::-webkit-datetime-edit { min-width: 0; padding: 0; }
.budget-controls { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 8px; }
.budget-controls > * { min-width: 0; }
.field textarea { min-height: 86px; resize: vertical; }
.optional-group-note > summary { width: fit-content; padding: 3px 0; color: #65464a; cursor: pointer; font-size: 13px; line-height: 1.5; text-decoration: underline; text-underline-offset: 3px; }
.optional-group-note > summary:hover { color: var(--red); }
.optional-group-note > summary:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 3px; }
.optional-group-note[open] > summary { margin-bottom: 10px; }
.field input:focus, .field textarea:focus, .field select:focus, .participant-contact-fields input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(198, 56, 61, .16); }
.field[hidden], .participant-contact-fields input[hidden] { display: none; }
.helper { color: var(--muted); font-size: 11px; line-height: 1.5; }
.participants-editor { margin-top: 25px; padding-top: 22px; border-top: 1px solid var(--line); }
.section-label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 11px; }
.section-label strong { font-size: 13px; }
.participant-inputs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; }
.add-person-input-button, .add-family-button { border-radius: 999px; }
.add-person-input-button, .add-family-button { background: var(--red-soft); color: #57171c; }
.add-person-input-button:hover, .add-family-button:hover { background: #f4cecb; color: #451116; }
.add-person-input-button:focus-visible, .add-family-button:focus-visible { outline: 3px solid #8e1c25; outline-offset: 3px; }
.add-person-input-button { min-height: 48px; margin-top: 12px; padding-inline: 22px; }
.add-family-button { flex: 0 0 auto; }
.participant-input-row { position: relative; min-width: 0; padding-right: 52px; }
.age-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ink); font-size: 14px; cursor: pointer; }
.age-toggle[hidden] { display: none; }
.age-toggle input { appearance: none; flex: 0 0 38px; width: 38px; height: 22px; margin: 0; border: 1px solid #68766e; border-radius: 999px; background: #e4e9e5; cursor: pointer; }
.age-toggle input::before { content: ""; display: block; width: 16px; height: 16px; margin: 2px; border-radius: 50%; background: #526159; transition: transform .15s; }
.age-toggle input:checked { background: var(--green); }
.age-toggle input:checked::before { transform: translateX(16px); background: white; }
.age-toggle input:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.member-chip:has(> .age-toggle:not([hidden])) { display: grid; grid-template-columns: 28px minmax(0, 1fr) 28px; column-gap: 5px; row-gap: 0; }
.member-chip > .age-toggle { grid-column: 1 / -1; width: 100%; user-select: none; }
[data-draw-warnings] .warning { margin: 12px 0; }
.participant-contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.participant-contact-fields input { min-width: 0; min-height: 42px; padding: 9px 10px; font-size: 12px; }
.participant-input-row[data-contact-mode="email"] .participant-contact-fields { grid-template-columns: 1fr; }
.participant-input-row[data-contact-mode="name"] .participant-contact-fields { grid-template-columns: 1fr; }
.remove-input { position: absolute; top: 0; right: 0; width: 44px; height: 44px; border: 0; border-radius: 7px; background: transparent; color: #9a9e97; font-size: 17px; touch-action: manipulation; }
.remove-input:hover { color: var(--red); background: var(--red-soft); }
.remove-input:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.email-import { margin-top: 14px; }
.email-import summary { width: fit-content; color: #65464a; cursor: pointer; font-size: 12px; font-weight: 600; }
.email-import summary:hover { color: var(--red); }
.email-import summary:focus-visible { outline: 2px solid #8e1c25; outline-offset: 3px; border-radius: 3px; }
.email-import-zone { display: grid; gap: 5px; padding: 12px; margin-top: 9px; border: 1px dashed #c9b9b3; border-radius: 10px; background: #fffaf7; text-align: center; }
.email-import-zone.file-over { border-color: var(--red); background: var(--red-soft); }
.email-import-zone label { color: var(--ink); font-size: 13px; font-weight: 700; cursor: pointer; }
.email-import-zone p { margin: 0; color: var(--muted); font-size: 12px; }
.email-import-zone span { color: var(--red); font-size: 15px; font-weight: 700; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.email-import-zone:focus-within { outline: 3px solid #8e1c25; outline-offset: 3px; }
.form-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.draw-style { min-width: 0; padding: 22px 0 0; margin: 24px 0 0; border: 0; border-top: 1px solid var(--line); }
.draw-style legend { padding: 0; color: var(--ink); font-size: 15px; font-weight: 700; }
.draw-style > .helper { margin: 4px 0 13px; }
.draw-mode-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.draw-mode-option { display: flex; align-items: flex-start; gap: 10px; min-height: 78px; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.draw-mode-option:has(input:checked) { border-color: var(--green); background: var(--green-soft); box-shadow: 0 0 0 2px rgba(198, 56, 61, .12); }
.draw-mode-option input, .exclude-option input { flex: 0 0 auto; margin: 3px 0 0; accent-color: var(--green); }
.draw-mode-option span, .exclude-option span { display: flex; flex-direction: column; gap: 4px; }
.draw-mode-option strong, .exclude-option strong { color: var(--ink); font-size: 12px; }
.draw-mode-option small, .exclude-option small { color: var(--muted); font-size: 11px; line-height: 1.45; }
.draw-group-settings { margin-top: 12px; padding: 14px; border: 1px solid #e8e8dd; border-radius: 13px; background: #fbfaf6; }
.draw-group-settings[hidden] { display: none; }
.exclude-option { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.draw-rule-option { position: relative; min-width: 0; }
.draw-rule-option[hidden], .setup-households[hidden] { display: none; }
.draw-rule-option + .draw-rule-option:not([hidden]) { border-top: 1px solid var(--line); }
.draw-rule-option[hidden] + .draw-rule-option { border-top: 0; }
.draw-rule-option > .exclude-option { min-height: 44px; align-items: center; padding: 8px 48px 8px 0; }
.draw-rule-option > .exclude-option input { margin: 0; }
.draw-rule-help > summary { position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 44px; min-height: 44px; padding: 0; border-radius: 8px; color: var(--ink); cursor: pointer; list-style: none; }
.draw-rule-help > summary::-webkit-details-marker { display: none; }
.draw-rule-help > summary:hover { background: var(--red-soft); }
.draw-rule-help > summary:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.draw-rule-help[open] > summary svg { transform: rotate(180deg); }
.draw-rule-help > p { margin: 0; padding: 0 0 12px 24px; color: var(--muted); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.setup-households { margin-top: 18px; padding-top: 17px; border-top: 1px solid var(--line); }
.setup-households .families-header { margin-bottom: 12px; }
.setup-households .families-header h3 { font-family: "DM Sans", sans-serif; font-size: 14px; font-weight: 700; }
.setup-households .families-header p { max-width: 440px; line-height: 1.5; }
.setup-member-chip { min-height: 40px; }
.draw-rule-note { margin: 9px 0 0; color: #68766d; font-size: 12px; line-height: 1.5; }

.event-summary { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.summary-chip { display: inline-flex; align-items: center; gap: 6px; color: #303030; background: var(--green-soft); border-radius: 7px; padding: 7px 10px; font-size: 12px; }
.summary-chip .ns-icon { width: 14px; height: 14px; }
.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, .75fr); gap: 18px; }
.dashboard-grid > * { min-width: 0; }
.panel { padding: 23px; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 17px; }
.panel-heading > div { min-width: 0; }
.panel-heading h3 { margin: 0; font-size: 19px; }
.panel-heading p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 20px 0; }
.stat { min-width: 0; padding: 13px 15px; border-radius: 12px; background: #f5f4ed; }
.stat b { display: block; font-size: 20px; letter-spacing: -.04em; }
.stat span { color: var(--muted); font-size: 11px; }
.progress-track { height: 5px; overflow: hidden; margin-top: 13px; border-radius: 10px; background: #ecece4; }
.progress-bar { height: 100%; border-radius: inherit; background: var(--green); transition: width .2s; }
.participant-list { display: flex; flex-direction: column; }
.participant-line { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; min-height: 48px; border-bottom: 1px solid #f0eee7; }
.participant-line:last-child { border-bottom: 0; }
.participant-line.has-group { grid-template-columns: minmax(0, 1fr) auto auto; }
.group-pill { justify-self: end; max-width: 150px; overflow: hidden; padding: 5px 10px; border: 1px solid var(--group-border); border-radius: 999px; background: var(--group-bg); color: var(--group-ink); font-size: 12px; font-weight: 600; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.participant-actions { display: flex; align-items: center; gap: 6px; }
.person-name { display: flex; align-items: center; min-width: 0; gap: 10px; font-size: 13px; font-weight: 600; }
.person-label { display: flex; min-width: 0; flex-direction: column; gap: 2px; }
.person-label strong { overflow: hidden; color: var(--ink); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.person-label small { overflow: hidden; color: var(--muted); font-size: 10px; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.avatar { flex: 0 0 30px; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--green-soft); color: var(--green-dark); font-size: 11px; font-weight: 700; }
.hint-state { color: #66836a; font-size: 11px; white-space: nowrap; }
.hint-state.pending { color: #9b9c92; }
.event-actions { display: flex; flex-wrap: wrap; gap: 9px; padding-top: 19px; margin-top: 13px; border-top: 1px solid var(--line); }
.status-banner { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 18px; padding: 13px; border-radius: 11px; background: var(--green-soft); color: #5b161c; font-size: 12px; line-height: 1.55; }
.status-banner.warning { color: #5c3b0a; background: #fff2d6; }
.status-banner strong { display: block; margin-bottom: 2px; font-size: 13px; }
.empty-state { padding: 26px 12px; color: var(--muted); text-align: center; font-size: 13px; line-height: 1.6; }
.divider { height: 1px; background: var(--line); margin: 19px 0; }

.families-panel { margin-top: 18px; padding: 24px; }
.families-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.families-header h3 { margin: 0; }
.families-header p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.family-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.family-card { min-height: 156px; padding: 14px; border: 1px solid var(--group-border, var(--line)); border-radius: 14px; background: var(--group-bg, #fbfaf5); transition: border-color .15s, background .15s; }
.family-card.drag-over { outline: 2px dashed var(--group-ink, var(--green)); outline-offset: 2px; background: var(--group-bg, var(--green-soft)); }
.family-card.independent { border-color: var(--group-border, #dcd9cf); background: var(--group-bg, #f2f1ec); }
.family-card.independent.drag-over { border-color: var(--group-ink, #666151); background: var(--group-bg, #f2f1ec); }
.family-card.independent .family-emoji { color: var(--group-ink, #666151); }
.family-card.independent .drop-hint { border-color: var(--group-border, #dcd9cf); color: var(--group-ink, #666151); }
.family-title-row { display: flex; align-items: center; gap: 8px; margin-bottom: 11px; }
.family-emoji { display: inline-grid; flex: 0 0 30px; place-items: center; color: var(--group-ink, var(--green)); }
.family-emoji .ns-icon { width: 30px; height: 30px; }
.family-name { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; font-weight: 700; }
.family-name:focus { border-bottom: 1px solid #87a68a; }
.family-count { color: var(--muted); font-size: 10px; white-space: nowrap; }
.family-members { min-height: 70px; display: flex; flex-direction: column; gap: 6px; }
.member-chip { display: flex; align-items: center; justify-content: space-between; gap: 5px; min-height: 31px; padding: 3px 7px 3px 9px; border: 1px solid #ebe8dd; border-radius: 8px; background: white; color: #405248; cursor: grab; font-size: 12px; }
.member-chip:active { cursor: grabbing; }
.member-chip.dragging { opacity: .42; }
.member-name { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.member-drag-handle { display: grid; place-items: center; flex: 0 0 28px; min-height: 32px; padding: 0; border: 0; border-radius: 5px; background: transparent; color: #69776e; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.member-drag-handle svg { pointer-events: none; }
.member-drag-handle:focus-visible, .move-member:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.member-chip .move-member { flex-shrink: 0; }
.group-drag-active { user-select: none; -webkit-user-select: none; cursor: grabbing; }
.member-drag-preview { position: fixed; left: 0; top: 0; z-index: 1001; margin: 0; pointer-events: none; opacity: .95; box-shadow: 0 8px 24px #203a3240; }
@media (pointer: coarse) {
  .member-chip:has(> .age-toggle:not([hidden])) { grid-template-columns: 44px minmax(0, 1fr) 44px; }
  .member-chip { min-height: 48px; padding: 2px 3px; }
  .member-drag-handle { flex-basis: 44px; min-height: 44px; }
  .member-chip .move-member { width: 44px; height: 44px; }
}
.move-member { width: 20px; height: 20px; padding: 0; border: 0; border-radius: 5px; background: transparent; color: #859087; font-size: 14px; }
.move-member:hover { background: #f0f1e9; color: var(--green); }
.drop-hint { display: flex; min-height: 66px; align-items: center; justify-content: center; border: 1px dashed #e2dfd4; border-radius: 8px; color: #a1a39a; font-size: 11px; }
.loose-people { margin-top: 17px; padding: 15px; border: 1px dashed #d7d6ca; border-radius: 12px; background: #f9f8f3; }
.loose-heading { margin-bottom: 9px; color: #6f786f; font-size: 11px; font-weight: 700; }
.loose-members { display: flex; flex-wrap: wrap; gap: 7px; min-height: 32px; }
.loose-members .member-chip { min-width: 130px; }
.remove-family { border: 0; background: none; color: #a19f96; font-size: 11px; }
.remove-family:hover { color: var(--red); }

.invite-list { display: flex; flex-direction: column; gap: 8px; }
.invite-item { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 9px 10px; border: 1px solid #efede5; border-radius: 10px; }
.invite-person { min-width: 0; display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; }
.invite-person .avatar { width: 26px; height: 26px; flex-basis: 26px; font-size: 10px; }
.invite-item .button { min-height: 30px; padding: 0 9px; font-size: 11px; }
.event-link-box { display: flex; align-items: center; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.event-link-box:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.event-link-box input { flex: 1; width: 0; min-width: 0; padding: 12px; border: 0; outline: 0; background: transparent; color: var(--ink); font-family: monospace; font-size: 13px; }
.copy-link-button { display: grid; place-items: center; flex: 0 0 46px; align-self: stretch; min-height: 46px; padding: 0; border: 0; border-left: 1px solid var(--line); background: transparent; color: var(--red); }
.copy-link-button:hover { background: var(--red-soft); }
.copy-link-button:focus-visible { outline: 2px solid var(--red); outline-offset: -4px; border-radius: 8px; }
.copy-link-glyph { position: relative; width: 22px; height: 22px; }
.copy-link-glyph::before, .copy-link-glyph::after { content: ""; position: absolute; width: 13px; height: 15px; border: 1.8px solid currentColor; border-radius: 3px; background: #fff; }
.copy-link-glyph::before { top: 1px; left: 2px; }
.copy-link-glyph::after { top: 6px; left: 7px; }
.invite-message { min-height: 100px !important; font-size: 15px !important; }
.reveal-card { max-width: 650px; margin: 36px auto; padding: 38px; }
.reveal-top { text-align: center; }
.reveal-top .gift-icon { display: grid; width: 52px; height: 52px; place-items: center; margin: 0 auto 8px; border-radius: 17px; background: var(--green-soft); color: var(--green-dark); }
.reveal-top .gift-icon .ns-icon { width: 31px; height: 31px; }
.secret-mascot { flex-shrink: 0; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--green-soft); }
.secret-mascot .ns-icon { width: 48px; height: 48px; }
.reveal-top h1 { font-size: 39px; }
.reveal-details { margin-top: 25px; padding: 22px; border-radius: 15px; background: #f5f5ee; }
.reveal-details h3 { margin: 0 0 12px; font-size: 18px; }
.hint-block { margin-top: 16px; }
.hint-block:first-child { margin-top: 0; }
.hint-block strong { display: block; margin-bottom: 6px; color: #536359; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.hint-block p { margin: 0; color: #54645a; font-size: 13px; line-height: 1.6; white-space: pre-wrap; }
.participant-edit { max-width: 650px; margin: 28px auto; padding: 28px; }
.toast { position: fixed; z-index: 20; right: 22px; bottom: 22px; max-width: min(390px, calc(100vw - 44px)); padding: 12px 16px; border-radius: 11px; background: #203a32; color: white; box-shadow: var(--shadow); font-size: 13px; animation: toast-in .18s ease-out; pointer-events: none; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.confetti-burst { position: fixed; z-index: 30; inset: 0; overflow: hidden; pointer-events: none; }
.confetti-piece { position: absolute; top: -18px; left: var(--confetti-left); width: 9px; height: 14px; border-radius: 2px; background: var(--confetti-color); opacity: 0; animation: celebratory-confetti 2.4s ease-in var(--confetti-delay) forwards; }
@keyframes celebratory-confetti {
  0% { opacity: 0; transform: translate3d(0, -10px, 0) rotate(0); }
  8% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--confetti-drift), 105vh, 0) rotate(var(--confetti-turn)); }
}
.modal-backdrop { position: fixed; z-index: 10; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(20, 34, 27, .38); }
.modal { display: flex; flex-direction: column; width: min(520px, 100%); min-width: 0; max-height: calc(100dvh - 40px); overflow: hidden; padding: 20px; border-radius: 18px; background: var(--card); box-shadow: 0 22px 70px rgba(18, 30, 22, .2); }
.modal-header { display: flex; flex-shrink: 0; align-items: center; justify-content: flex-end; gap: 8px; padding-bottom: 12px; }
.modal-language-row { display: flex; justify-content: flex-end; }
.modal-close { display: grid; place-items: center; flex: 0 0 44px; min-height: 44px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--ink); font-size: 26px; }
.modal-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px; overflow-wrap: anywhere; }
.modal h2 { font-size: 25px; }
.modal p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.modal-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px; margin-top: 22px; }
.modal-actions-inline { flex-wrap: nowrap; }
.modal-actions-inline > .button { min-width: 0; white-space: normal; }
.muted { color: var(--muted); }

/* Keep supporting text comfortably readable and maintain strong contrast. */
body, p, label, small, strong, button, input, textarea, select {
  color: var(--ink);
}
.top-note, .lead, .feature p, .page-heading .lead, .field label, .helper,
.draw-mode-option strong, .draw-mode-option small,
.draw-rule-note, .summary-chip, .panel-heading p, .stat span,
.person-label strong, .person-label small, .hint-state, .status-banner,
.status-banner strong, .empty-state, .families-header p, .family-count,
.member-chip, .drop-hint, .loose-heading, .remove-family, .invite-person,
.event-link-box, .hint-block strong, .hint-block p, .modal p, .muted {
  color: #303030;
}
.eyebrow, .feature p, .feature h3, .page-heading .lead, .field label, .helper,
.section-label strong, .participant-contact-fields input, .draw-style legend,
.draw-mode-option strong, .draw-mode-option small,
.draw-rule-note, .summary-chip, .panel-heading p, .stat span,
.person-label strong, .person-label small, .hint-state, .status-banner,
.status-banner strong, .empty-state, .families-header p, .family-name,
.family-count, .member-chip, .drop-hint, .loose-heading, .remove-family,
.invite-person, .invite-item .button, .event-link-box, .invite-message,
.hint-block strong, .hint-block p, .modal p, .toast, .top-note {
  font-size: max(15px, 1em);
}
.eyebrow { letter-spacing: .08em; }
.button, .button-small { min-height: 46px; font-size: 15px; }
.button-small { padding: 0 14px; }
.language-option { min-height: 44px; min-width: 44px; }
.move-member { width: 40px; height: 40px; }
.family-count { color: #303030; }
.hint-state.pending { color: #414141; }
.progress-bar { background: var(--green); }
.hero-art img { border-radius: 18px; }
.landing-footer { margin-top: 27px; color: #303030; font-size: 15px; text-align: center; }
.landing-footer span { color: var(--red); }
.person-name { font-size: 15px; }
.link-section-label, .family-name-label { margin-bottom: 9px; color: var(--ink); font-size: 15px; font-weight: 700; }
.link-section-label { display: block; }
.member-chip { min-height: 44px; padding-inline: 10px; }
.move-member { width: 44px; min-height: 44px; }
.remove-family { min-height: 44px; padding: 0 8px; }
.invite-item .button { min-height: 44px; padding: 0 12px; }
:focus-visible { outline: 3px solid #8e1c25; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .confetti-burst { display: none; }
}

@media (max-width: 900px) {
  .hero-content { max-width: 460px; }
  .hero-art { right: 16px; width: 290px; height: 200px; opacity: .85; }
  .hero .lead { max-width: 440px; }
}

@media (max-width: 720px) {
  .shell { padding: 0 16px 40px; }
  .topbar { height: 68px; }
  .main { padding-top: 25px; }
  .hero { padding: 36px 25px; }
  .hero-art { right: -5px; top: auto; bottom: -34px; width: 135px; height: 120px; opacity: .32; }
  .feature-row { grid-template-columns: 1fr; gap: 10px; }
  .feature { display: grid; grid-template-columns: 35px 1fr; column-gap: 12px; padding: 14px; }
  .feature-icon { grid-row: span 2; margin: 1px 0 0; }
  .feature h3 { margin-bottom: 3px; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .form-card { padding: 23px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .field-wide { grid-column: auto; }
  .participant-inputs { grid-template-columns: 1fr; }
  .draw-mode-options { grid-template-columns: 1fr; }
  .draw-mode-option { min-height: 0; }
  .setup-households .families-header { flex-direction: column; }
  .family-grid { grid-template-columns: 1fr; }
  .page-heading { align-items: flex-start; flex-direction: column; }
  .families-header { align-items: flex-start; }
  .panel { padding: 19px; }
  .participant-line { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .participant-line.has-group { grid-template-columns: minmax(0, 1fr) minmax(0, 40%); }
  .group-pill { max-width: 100%; }
  .participant-actions { grid-column: 1 / -1; justify-content: flex-end; }
  .reveal-card { margin: 20px auto; padding: 25px 19px; }
  .reveal-top h1 { font-size: 32px; }
  .top-note { font-size: 11px; }
  .top-note { display: none; }
  .topbar { justify-content: space-between; }
  .language-switch { margin-left: auto; }
  .language-option { min-height: 44px; padding: 0 6px; }
}
/* Product cards stay optional and use native scrolling rather than an ad SDK. */
.gift-recommendations { margin-top: 26px; padding: 20px; border: 1px solid #e8cbbb; border-radius: 22px; background: linear-gradient(135deg, #fff5ee, #fffcf6 65%, #f0f6ed); text-align: left; min-width: 0; }
.gift-carousel-heading { display: flex; align-items: center; gap: 12px; }
.gift-carousel-icon { flex: 0 0 42px; object-fit: contain; }
.gift-carousel-heading-copy { flex: 1; min-width: 0; }
.gift-carousel-eyebrow { display: block; margin-bottom: 5px; color: #975048; font-size: 10px; font-weight: 700; letter-spacing: .09em; line-height: 1.4; }
.gift-carousel-heading h3 { margin: 0; font-size: 24px; line-height: 1.2; }
.gift-source-badge { flex-shrink: 0; align-self: flex-start; padding: 6px 9px; border: 1px solid #e8c2ae; border-radius: 999px; background: #fff8f1; color: #a52e25; font-size: 11px; font-weight: 700; }
.gift-carousel-intro { margin: 13px 0 9px; color: #5d4c43; font-size: 14px; line-height: 1.5; }
.gift-destination { display: inline-block; margin: 0; padding: 5px 9px; border: 1px solid #d9e3d1; border-radius: 999px; color: #435340; background: #f1f6ed; font-size: 12px; line-height: 1.4; }
.gift-carousel-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 0 8px; }
.gift-carousel-position { margin: 0; color: #69554b; font-size: 12px; }
.gift-carousel-controls { display: flex; gap: 8px; }
.gift-carousel-controls[hidden], .gift-carousel-browse[hidden] { display: none; }
.gift-carousel-controls button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #d9b9aa; border-radius: 50%; background: #fffdf8; color: #a82431; font-size: 21px; cursor: pointer; }
.gift-carousel-controls button:hover:not(:disabled) { background: #fbe4e2; }
.gift-carousel-controls button:disabled { color: #a8968b; border-color: #e6d9cf; cursor: default; opacity: .6; }
.gift-carousel-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 28px) / 3); gap: 14px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #d7a29b #f7e9de; padding: 5px 0 13px; border-radius: 15px; }
.gift-carousel-track:focus-visible { outline: 3px solid #a82431; outline-offset: 4px; }
.gift-carousel-track::-webkit-scrollbar { height: 7px; }
.gift-carousel-track::-webkit-scrollbar-thumb { background: #d7a29b; border-radius: 999px; }
.gift-product { --gift-tint: #eff4e9; min-width: 0; display: flex; flex-direction: column; scroll-snap-align: start; border: 1px solid #e6d6c9; border-radius: 17px; background: #fffefa; overflow: hidden; box-shadow: 0 4px 9px #7d4e3210; }
.gift-product:nth-child(2n) { --gift-tint: #fbe9e4; }
.gift-product:nth-child(3n) { --gift-tint: #fff0d6; }
.gift-product:nth-child(4n) { --gift-tint: #e8f0f8; }
.gift-product-link { display: flex; flex: 1; flex-direction: column; gap: 11px; padding: 11px; color: inherit; text-decoration: none; height: auto; }
.gift-product-link:hover .gift-product-title, .gift-product-link:focus-visible .gift-product-title { text-decoration: underline; }
.gift-product-image-frame { display: grid; place-items: center; aspect-ratio: 1; border-radius: 11px; padding: 10px; background: var(--gift-tint); }
.gift-product-image { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.gift-image-unavailable { text-align: center; color: #715f53; font-size: 13px; }
.gift-product-description { margin: 0; color: #5e5149; font-size: 13px; line-height: 1.5; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.gift-product-price-note { color: #735c50; font-size: 11px; line-height: 1.4; }
.gift-recommendations[data-gift-source="handpicked"] .gift-product-title { min-height: 2.9em; -webkit-line-clamp: 2; }
.gift-product-title { font-family: "DM Sans", sans-serif; font-size: 14px; font-weight: 600; line-height: 1.45; min-height: 4.35em; margin: 0; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.gift-product-price { margin-top: auto; color: #a82431; font-size: 23px; line-height: 1.2; }
.gift-discovery-image .gift-product-image { width: 140px; max-width: 80%; height: auto; max-height: 160px; object-fit: contain; }
.gift-recommendations[data-gift-source="discovery"] .gift-product-visit { margin-top: auto; }
.gift-product-visit { display: block; padding: 9px 7px; border-radius: 9px; background: #fbe4e2; color: #8d2530; font-size: 12px; font-weight: 700; text-align: center; }
.gift-product-delivery { padding: 0 11px 13px; margin: 0; font-size: 12px; line-height: 1.5; }
.gift-carousel-browse { margin: 9px 0 0; color: #766052; font-size: 12px; }
.gift-carousel-footer { margin-top: 16px; padding-top: 13px; border-top: 1px dashed #dcc4b0; }
.affiliate-disclosure, .gift-product-notice { margin: 0; font-size: 12px; color: #69554b; line-height: 1.6; }
.gift-product-notice { margin-top: 7px; }
@media (max-width: 720px) {
  .gift-recommendations { padding: 16px 13px; border-radius: 18px; }
  .gift-carousel-heading { flex-wrap: wrap; gap: 9px; }
  .gift-carousel-heading-copy { flex-basis: calc(100% - 51px); }
  .gift-carousel-heading h3 { font-size: 23px; }
  .gift-source-badge { margin-left: 51px; }
  .gift-carousel-track { grid-auto-columns: 86%; }
  .gift-product-image-frame { aspect-ratio: 4 / 3; }
  .gift-product-title { min-height: 2.9em; -webkit-line-clamp: 2; }
}
.page-heading.dashboard-heading { flex-direction: column; align-items: flex-start; gap: 16px; }
.dashboard-heading-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 320px); align-items: start; gap: 24px; width: 100%; }
.dashboard-event-details { min-width: 0; }
.dashboard-event-details h2 { overflow-wrap: anywhere; }
.dashboard-status { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 12px; justify-self: end; width: 100%; padding: 15px 16px; border: 1px solid #dfbc7a; border-radius: 14px; background: #fff4dc; color: #735019; box-shadow: 0 3px 12px #67452108; }
.dashboard-status-icon { grid-column: 1; grid-row: 1 / 4; align-self: center; width: 64px; height: 64px; overflow: hidden; mix-blend-mode: multiply; pointer-events: none; }
.dashboard-status > span, .dashboard-status > strong, .dashboard-status > p { grid-column: 2; }
.dashboard-status > span { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.dashboard-status > strong { display: block; color: inherit; font-size: 18px; font-weight: 700; line-height: 1.35; }
.dashboard-status > p { margin: 5px 0 0; color: inherit; font-size: 14px; line-height: 1.4; }
.dashboard-status[data-stage="drawn"] { border-color: #e8b8af; background: #fff0eb; color: #922b31; }
.dashboard-status[data-stage="sent"] { border-color: #a8ccd8; background: #ecf6f9; color: #23576d; }
.dashboard-status[data-stage="hints"] { border-color: #a8c8ae; background: #edf7ee; color: #285b3c; }
.dashboard-heading-actions { display: flex; align-items: center; justify-content: flex-start; gap: 14px; flex-wrap: wrap; }
.dashboard-heading-actions .button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.send-invitations-help { margin: 0; }
.button-event-primary { min-height: 78px; padding: 8px 22px 8px 12px; border: 3px solid var(--red); border-radius: 15px; background: #fff; color: var(--ink); font-size: 16px; gap: 13px; box-shadow: 0 5px 0 var(--red-soft); }
.button-event-primary .ns-icon { width: 56px; height: 56px; }
.button-event-primary:hover { background: #fff8f7; box-shadow: 0 7px 0 var(--red-soft); }
.button-event-primary:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.dashboard-action-icon { width: 22px; height: 22px; flex-shrink: 0; color: var(--red); }
.button-event-primary .dashboard-action-icon { width: 48px; height: 48px; }
.dashboard-heading-actions .button-event-primary:disabled { opacity: 1; border-color: #c69196; background: #faf3ee; color: #6f5054; box-shadow: 0 5px 0 #eee0dd; }
.button-event-primary:disabled .ns-icon { opacity: .65; }
.manual-sharing-note { margin: 0 0 22px; }
.manual-sharing-note .invitation-emphasis { display: inline; font-size: inherit; }
@media (max-width: 640px) {
  .dashboard-heading-top { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .dashboard-status { grid-row: 1; grid-template-columns: 56px minmax(0, 1fr); max-width: 320px; column-gap: 10px; }
  .dashboard-status-icon { width: 56px; height: 56px; }
  .dashboard-event-details { grid-row: 2; }
  .dashboard-heading-actions { width: 100%; gap: 10px; }
  .dashboard-heading-actions .button-event-primary { flex: 1 0 100%; width: 100%; }
}

/* The welcome page follows the snowy illustration; event screens keep their existing layout. */
.landing-information { margin: 28px 22px 12px; padding: 24px; border: 1px solid #eddfd1; border-radius: 14px; background: #fffdf8; }
.landing-information h2 { margin: 0 0 12px; font-size: clamp(23px, 3vw, 30px); line-height: 1.25; }
.landing-information > p { margin: 0 0 26px; line-height: 1.7; color: var(--muted); }
.landing-exclusions a { color: var(--red); text-underline-offset: 3px; }
.landing-information details { padding: 15px 0; border-top: 1px solid #eddfd1; }
.landing-information summary { cursor: pointer; font-weight: 700; line-height: 1.5; }
.landing-information details p { margin: 12px 0 0; line-height: 1.7; color: var(--muted); }
.landing-shell a.language-option { display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 480px) { .landing-information { margin: 20px 10px 10px; padding: 18px; } }
body.landing-page { background: #f6f0e8; }
.landing-shell { max-width: 1100px; margin: 28px auto; padding: 0 0 22px; overflow: hidden; border: 1px solid #d9cec3; border-radius: 22px; background: #fffaf3; box-shadow: 0 12px 45px #5b453a0b; }
.landing-shell .topbar { height: 76px; padding: 0 28px; border: 0; }
.landing-shell .brand { gap: 8px; font-size: 24px; letter-spacing: -.05em; }
.landing-shell .brand-logo { width: 36px; height: 39px; border-radius: 0; }
.landing-shell .language-switch { gap: 4px; padding: 0; border: 0; background: transparent; }
.landing-shell .language-option { min-width: 44px; min-height: 44px; width: 44px; padding: 5px; border-radius: 8px; }
.landing-shell .flag-icon { width: 25px; height: 17px; }
.landing-shell .main { padding-top: 0; }
.landing-shell .hero { display: flex; align-items: center; min-height: 530px; margin: 0 7px; padding: 78px 54px 104px; border-radius: 14px; background: #102b50; isolation: isolate; }
.landing-scene { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.landing-shell .hero::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: linear-gradient(90deg, #071d3f9c 0%, #071d3f40 38%, transparent 65%); }
.landing-shell .hero-content { max-width: 470px; }
.landing-shell .hero h1 { margin-bottom: 18px; color: #fffdf8; font-size: clamp(44px, 5.3vw, 64px); line-height: 1.05; font-weight: 700; letter-spacing: -.045em; text-wrap: balance; text-shadow: 0 2px 8px #00142c70; }
.landing-shell .hero .lead { max-width: 390px; margin-bottom: 26px; color: #fffdf8; font-size: 18px; line-height: 1.45; text-shadow: 0 1px 5px #00142c; }
.landing-shell .hero .button-primary { min-height: 52px; gap: 20px; padding: 0 26px; border: 1px solid #ff746f70; border-radius: 12px; background: linear-gradient(#e4373f, #bf1d2c); color: white; font-size: 17px; box-shadow: 0 5px 16px #68162038; }
.landing-shell .hero .button-primary:hover { background: linear-gradient(#d82c36, #a91826); }
.landing-shell .hero .button-primary span { color: inherit; font-size: 24px; line-height: 1; }
.landing-shell .feature-row { position: relative; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; padding: 0 22px; }
.landing-shell .feature { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-content: start; column-gap: 12px; padding: 23px 18px; border: 1px solid #f1e5da; border-radius: 14px; background: #fffdf8; }
.landing-shell .feature-icon { grid-row: 1 / 3; width: 44px; height: 44px; margin: 0; border-radius: 0; background: transparent; }
.landing-shell .feature-icon .ns-icon { width: 44px; height: 44px; }
.landing-shell .feature h3 { margin: 0 0 5px; font-size: 17px; line-height: 1.25; letter-spacing: -.025em; }
.landing-shell .feature p { font-size: 14px; line-height: 1.4; }
.landing-shell .landing-footer { margin: 21px 20px 0; color: #6b605c; font-size: 13px; }
.landing-shell .site-footer { margin: 20px 24px 0; padding-top: 14px; font-size: 12px; gap: 3px 18px; }
.landing-shell .site-footer .footer-note { display: none; }
.landing-shell .footer-link { font-size: 12px; }
@media (max-width: 1140px) {
  .landing-shell { margin: 20px; }
}
@media (max-width: 720px) {
  .landing-shell { margin: 10px; border-radius: 18px; padding-bottom: 12px; }
  .landing-shell .topbar { height: 62px; padding: 0 16px; }
  .landing-shell .brand { font-size: 20px; }
  .landing-shell .brand-logo { width: 29px; height: 32px; }
  .landing-shell .hero { min-height: 390px; margin: 0 4px; padding: 60px 24px 106px; border-radius: 11px; }
  .landing-shell .hero-content { max-width: 59%; }
  .landing-shell .hero h1 { font-size: clamp(32px, 6.5vw, 46px); margin-bottom: 14px; }
  .landing-shell .hero .lead { font-size: 15px; margin-bottom: 20px; }
  .landing-shell .feature-row { gap: 9px; padding: 0 12px; margin-top: 10px; }
  .landing-shell .feature { display: block; padding: 15px 11px; border-radius: 11px; }
  .landing-shell .feature-icon { width: 40px; height: 40px; margin-bottom: 10px; }
  .landing-shell .feature-icon .ns-icon { width: 40px; height: 40px; }
  .landing-shell .feature h3 { font-size: 14px; line-height: 1.25; }
  .landing-shell .feature p { font-size: 13px; line-height: 1.35; }
  .landing-shell .site-footer { margin: 14px 15px 0; }
}
@media (max-width: 440px) {
  .landing-shell { margin: 7px; border-radius: 16px; }
  .landing-shell .topbar { height: 56px; padding: 0 13px; }
  .landing-shell .brand { font-size: 18px; }
  .landing-shell .brand-logo { width: 25px; height: 28px; }
  .landing-shell .language-option { width: 44px; min-width: 44px; min-height: 44px; }
  .landing-shell .hero { min-height: 325px; padding: 48px 17px 87px; }
  .landing-scene { object-position: 51% center; }
  .landing-shell .hero::after { background: linear-gradient(90deg, #071d3f91, #071d3f26 48%, transparent 75%); }
  .landing-shell .hero-content { max-width: 67%; }
  .landing-shell .hero h1 { max-width: 235px; font-size: clamp(27px, 7.8vw, 34px); margin-bottom: 12px; }
  .landing-shell .hero .lead { font-size: clamp(12px, 3.3vw, 14px); line-height: 1.4; margin-bottom: 17px; }
  .landing-shell .hero .button-primary { min-height: 44px; padding: 0 18px; border-radius: 9px; gap: 16px; font-size: 14px; }
  .landing-shell .hero .button-primary span { font-size: 21px; }
  .landing-shell .feature-row { gap: 6px; padding: 0 9px; }
  .landing-shell .feature { padding: 12px 9px; }
  .landing-shell .feature h3 { font-size: 13px; }
  .landing-shell .feature p { font-size: 12px; }
  .landing-shell .landing-footer { margin-top: 16px; font-size: 12px; }
}

/* The wide winter scene stays in view while scrolling and fades into cream. */
body.event-page { position: relative; background: #fff8ef; isolation: isolate; }
body.event-page::before { content: ""; position: fixed; z-index: -1; inset: auto 0 0; height: 33.333vw; pointer-events: none; background: url("../img/ninjasanta-footer.png") center bottom / 100% auto no-repeat; mask-image: linear-gradient(to bottom, transparent, #000 30%); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%); }
.event-shell { max-width: 1180px; padding: 0 28px 34px; }
.event-shell .topbar { height: 64px; margin: 14px auto 28px; padding: 0 18px; border: 1px solid #e6cfb8; border-radius: 16px; background: #fffaf2f5; }
.event-shell[data-view="setup"] .topbar { max-width: 850px; }
.event-shell[data-view="participant"] .topbar { max-width: 820px; }
.event-shell .brand { gap: 8px; }
.event-shell .brand-logo { width: 32px; height: 35px; }
.event-shell .language-switch { background: #fffaf3e8; border-color: #e2c6ad; }
.event-shell .main { position: relative; isolation: isolate; margin: 0 auto; padding: 38px 38px 40px; border: 1px solid #c99c5c; border-radius: 24px; background: linear-gradient(115deg, #fffaf2, #fffdf9 45%, #fff8ee); box-shadow: 0 0 0 5px #fff8efed, 0 0 0 7px #e4bb83, 0 16px 48px #80523e24; }
.event-shell .main::before { content: ""; position: absolute; inset: 7px; pointer-events: none; border: 1px solid #eacb9e; border-radius: 17px; }
.event-shell .main > * { position: relative; }
.event-shell[data-view="setup"] .main { max-width: 850px; padding: 34px 48px 38px; }
.event-shell[data-view="participant"] .main { max-width: 820px; }
.event-shell[data-view="setup"] .page-heading { display: block; margin-bottom: 28px; text-align: center; }
.event-shell[data-view="setup"] .page-heading h2 { margin: 4px 0 0; font-size: clamp(32px, 3.5vw, 46px); line-height: 1.15; font-weight: 700; letter-spacing: -.035em; }
.event-shell[data-view="setup"] .page-heading .eyebrow { color: #bf2430; font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.event-shell[data-view="setup"] .page-heading .lead { max-width: 570px; margin: 0 auto; font-size: 14px; line-height: 1.5; }
.festive-divider { display: flex; align-items: center; gap: 10px; margin: 23px 0 17px; color: #d12c36; }
.festive-divider::before, .festive-divider::after { content: ""; height: 1px; flex: 1; background: linear-gradient(90deg, #efdbb9, #cf974d); }
.festive-divider::after { transform: scaleX(-1); }
.festive-divider svg { width: 22px; height: 22px; flex-shrink: 0; }
.festive-title-divider { max-width: 240px; margin: 10px auto 12px; }
.event-shell .form-card { max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.event-shell .form-grid { gap: 17px 22px; }
.event-shell .field { gap: 6px; }
.event-shell .field label { color: #262323; font-size: 14px; }
.event-shell .field input, .event-shell .field textarea, .event-shell .field select, .event-shell .participant-contact-fields input { min-height: 44px; border-color: #ded1c6; border-radius: 8px; background: #ffffffeb; font-size: 15px; }
.event-shell .field textarea { min-height: 86px; }
.event-shell .helper { margin: 0; font-size: 13px; line-height: 1.45; }
.event-shell .field label .muted { font-weight: 400; }
.event-shell .optional-group-note > summary { font-size: 13px; }
.event-shell .participants-editor { margin-top: 0; padding-top: 0; border-top: 0; }
.event-shell .section-label strong, .event-shell .draw-style legend { font-size: 15px; }
.event-shell .draw-style { margin-top: 0; padding-top: 0; border-top: 0; }
.event-shell .draw-style > .helper { margin: 4px 0 13px; }
.event-shell .draw-mode-option { border-color: #e3d6c7; background: #ffffffbf; }
.event-shell .draw-mode-option:has(input:checked) { border-color: #c6383d; background: #fff0ec; box-shadow: 0 0 0 1px #c6383d14; }
.event-shell .draw-mode-option strong { font-size: 14px; }
.event-shell .draw-mode-option small, .event-shell .exclude-option small { font-size: 13px; }
.event-shell .exclude-option strong { font-size: 14px; }
.event-shell .draw-group-settings { border-color: #eadbca; background: #faf5ed; }
.event-shell .families-header p { font-size: 13px; }
.event-shell .add-person-input-button, .event-shell .add-family-button { min-height: 44px; font-size: 14px; }
.event-shell .form-actions { justify-content: center; margin-top: 28px; padding-top: 4px; }
.event-shell .form-actions > .button-primary { min-height: 54px; min-width: 290px; gap: 12px; padding: 10px 25px; border: 1px solid #edc47c; border-radius: 999px; background: linear-gradient(#df343c, #b41c29); color: #fffdf6; box-shadow: 0 0 0 2px #fff8ef, 0 0 0 3px #d4a358, 0 5px 12px #96293226; font-family: "Playfair Display", Georgia, serif; font-size: 18px; }
.event-shell .form-actions > .button-primary:hover { background: linear-gradient(#ce2932, #a31723); }
.festive-button-icon { width: 24px; height: 24px; flex-shrink: 0; }
.event-shell .card:not(.form-card) { border-color: #e6d4bd; background: #fffdf8; box-shadow: 0 5px 20px #84593508; }
.event-shell .panel-heading p, .event-shell .draw-rule-note { font-size: 14px; line-height: 1.5; }
.event-shell .stat span { font-size: 13px; line-height: 1.4; }
.event-shell .summary-chip { font-size: 14px; }
.event-shell .status-banner { font-size: 15px; }
.event-shell .card.reveal-card { max-width: none; margin: 0; padding: 0; border: 0; background: transparent; box-shadow: none; }
.event-shell .reveal-details { background: #faf2e5; border: 1px solid #eee0cd; }
.participant-hints-cta { display: grid; justify-items: center; gap: 10px; margin: 24px 0 28px; }
.button.button-hints-cta { min-height: 62px; max-width: 100%; padding: 14px 24px; border: 3px solid #bc2634; border-radius: 16px; background: #fff4ef; color: #a51b29; font-size: 18px; line-height: 1.35; box-shadow: 0 4px 14px #a51b2914; }
.button.button-hints-cta:hover { background: #ffe7df; }
.button.button-hints-cta:focus-visible { outline: 3px solid #245c46; outline-offset: 4px; }
.hints-cta-icon { width: 27px; height: 27px; flex-shrink: 0; }
.participant-hints-cta .helper { max-width: 420px; text-align: center; }
.button-hints-cta.hints-arrival-pulse { animation: hints-arrival 2.2s ease-in-out 3; }
@keyframes hints-arrival { 0%, 100% { border-color: #bc2634; box-shadow: 0 0 0 0 #bc263400; } 50% { border-color: #e56b74; box-shadow: 0 0 0 7px #bc263414; } }
.hint-updates-preference { margin: 18px 0 0; padding: 0; border: 2px solid #bf2b39; border-radius: 16px; background: linear-gradient(120deg, #ffe8e4, #fff7ed); box-shadow: 0 4px 14px #a51b2912; text-align: left; }
.hint-updates-option { display: flex; align-items: flex-start; gap: 15px; padding: 19px 17px; cursor: pointer; }
.hint-updates-option input { appearance: none; position: relative; width: 32px; height: 32px; flex: 0 0 32px; margin: 1px 0; border: 3px solid #b62432; border-radius: 8px; background: #fffefa; cursor: pointer; }
.hint-updates-option input:checked { border-color: #315e46; background: #315e46; }
.hint-updates-option input:checked::after { content: ""; position: absolute; left: 8px; top: 2px; width: 8px; height: 15px; border: solid white; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.hint-updates-option input:focus-visible { outline: 3px solid #245c46; outline-offset: 4px; }
.hint-updates-option span { display: grid; gap: 7px; }
.hint-updates-option strong { color: #9f1f2d; font-size: 18px; line-height: 1.4; }
.hint-updates-option small { color: #533e36; font-size: 14px; line-height: 1.5; }
.hint-updates-preference:has(input:checked) { border-color: #315e46; background: linear-gradient(120deg, #edf6e9, #fffaf0); }
.hint-updates-preference:has(input:checked) strong { color: #315e46; }
.hint-updates-preference:has(input:disabled) { border-color: #d4c2b0; background: #faf5ed; box-shadow: none; }
.hint-updates-option:has(input:disabled), .hint-updates-option input:disabled { cursor: default; }
.hint-updates-option input:disabled { border-color: #ab9b8c; background: #f4ede4; }
.hint-updates-option:has(input:disabled) strong { color: #665349; }
.hint-updates-preference > .helper { margin: 0 17px 17px; }
.hint-updates-prominent { margin: 0 0 18px; }
.reveal-card .hint-updates-preference.hint-updates-compact { margin-top: 10px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.hint-updates-compact .hint-updates-option { min-height: 44px; gap: 9px; padding: 6px 0; }
.hint-updates-compact .hint-updates-option input { width: 20px; height: 20px; flex-basis: 20px; margin-top: 2px; border-width: 2px; border-radius: 4px; }
.hint-updates-compact .hint-updates-option input:checked::after { left: 5px; top: 1px; width: 5px; height: 10px; border-width: 0 2px 2px 0; }
.hint-updates-compact .hint-updates-option span { gap: 2px; }
.hint-updates-compact .hint-updates-option strong { color: var(--muted); font-size: 13px; font-weight: 400; }
.hint-updates-compact .hint-updates-option small { color: var(--muted); font-size: 12px; }
.hint-updates-compact > .helper { margin: 0 0 6px 29px; font-size: 12px; }
@media (forced-colors: active) { .hint-updates-option input { appearance: auto; } .hint-updates-option input:checked::after { content: none; } }
@media (prefers-reduced-motion: reduce) { .button-hints-cta.hints-arrival-pulse { animation: none; } }
.event-shell .status-banner { border-color: #e5d6bc; background: #fbf2e4; }
.event-shell .site-footer { margin-top: 28px; padding: 10px 16px; border: 1px solid #e1c5a9; border-radius: 12px; background: #fffaf2f5; gap: 8px 18px; color: #4f3c36; }
.event-shell[data-view="setup"] .site-footer { max-width: 850px; margin-inline: auto; }
.event-shell[data-view="participant"] .site-footer { max-width: 820px; margin-inline: auto; }
.event-shell .site-footer .footer-note { font-size: 12px; }
.event-page .modal { border: 1px solid #d9b17b; background: #fffaf2; }
@media (max-width: 960px) {
  .event-shell .dashboard-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .event-shell { padding: 0 21px 28px; }
  .event-shell .topbar { height: 60px; margin-top: 10px; margin-bottom: 22px; padding-inline: 10px; }
  .event-shell .main, .event-shell[data-view="setup"] .main { padding: 30px 24px; border-radius: 20px; }
  .event-shell .main::before { inset: 5px; border-radius: 15px; }
  .event-shell[data-view="setup"] .page-heading { margin-bottom: 24px; }
  .event-shell[data-view="setup"] .page-heading h2 { font-size: 34px; }
  .event-shell[data-view="setup"] .page-heading .eyebrow { font-size: 11px; }
  .event-shell[data-view="setup"] .page-heading .lead { font-size: 13px; }
  .event-shell .field input, .event-shell .field textarea, .event-shell .field select, .event-shell .participant-contact-fields input { font-size: 16px; }
  .event-shell .form-grid { gap: 16px; }
  .event-shell .draw-mode-options { grid-template-columns: minmax(0, 1fr); }
  .event-shell .form-actions > .button-primary { width: 100%; min-width: 0; font-size: 17px; }
  .event-shell .panel { padding: 17px; }
  .event-shell .site-footer { padding-inline: 12px; font-size: 12px; }
}
@media (max-width: 380px) {
  .event-shell { padding-inline: 16px; }
  .event-shell .main, .event-shell[data-view="setup"] .main { padding-inline: 18px; }
  .event-shell[data-view="setup"] .page-heading h2 { font-size: 30px; }
  .event-shell .budget-controls { grid-template-columns: minmax(0, 1fr) 100px; }
}

/* Touch controls stay usable without hover, precision taps or browser zoom. */
body:has(.modal-backdrop) { overflow: hidden; }
.brand { min-height: 44px; }
.optional-group-note > summary, .email-import summary, .landing-information summary { min-height: 44px; padding-block: 11px; }
.email-import-zone label { display: grid; align-items: center; min-height: 44px; }
.remove-family { min-width: 44px; }
.family-name { min-height: 44px; }
.hint-scroll .hint-block a { display: inline-block; min-height: 44px; max-width: 100%; padding-block: 10px; overflow-wrap: anywhere; }
@media (pointer: coarse), (max-width: 720px) {
  .event-shell .field input, .event-shell .field textarea, .event-shell .field select, .event-shell .participant-contact-fields input { font-size: 16px; }
  .family-name, .event-link-box input, .modal input:not([type="checkbox"]):not([type="radio"]), .modal textarea, .modal select { font-size: 16px; }
  .modal-backdrop { padding: 12px; }
  .modal { max-height: calc(100dvh - 24px); padding: 12px; }
  .modal-actions > .button { min-width: 0; max-width: 100%; white-space: normal; }
  .panel-heading, .families-header, .participant-actions, .invite-item { flex-wrap: wrap; }
  .invite-item > .button { margin-left: auto; }
}

/* Public guides share the app's warm paper, red accents and original icon set. */
.region-picker { position: relative; min-width: 0; font-size: 14px; }
.region-picker > summary { min-height: 44px; padding: 12px 9px; border: 1px solid #e2c6ad; border-radius: 9px; background: #fffaf3; cursor: pointer; white-space: normal; }
.region-picker > nav { position: absolute; right: 0; z-index: 50; display: grid; width: min(240px, 75vw); max-height: 65dvh; overflow-y: auto; padding: 7px; border: 1px solid #e2c6ad; border-radius: 10px; background: #fffaf3; box-shadow: var(--shadow); }
.region-picker nav a { display: flex; align-items: center; min-height: 44px; padding: 9px 12px; border-radius: 6px; color: var(--ink); text-decoration: none; }
.region-picker nav a:hover, .region-picker nav a[aria-current="page"] { background: var(--red-soft); }
.region-links { margin-top: 18px; max-width: 240px; }
.topbar-guides { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; padding: 6px; margin-left: auto; color: var(--ink); font-size: 14px; }
.site-footer .footer-link { min-width: 44px; }
.region-links .region-picker > nav { right: auto; left: 0; }
.discovery-links > a { display: inline-flex; align-items: center; min-height: 44px; color: var(--red); }
.landing-shell:has(.region-picker[open]) { overflow: visible; }
.content-page { background: var(--paper); }
.content-shell { max-width: 1120px; padding: 0 28px 30px; margin: auto; }
.content-header { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; border-bottom: 1px solid #e5cfb4; }
.content-header .brand { gap: 8px; font-size: 22px; }
.content-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; }
.content-nav > a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; color: var(--ink); font-size: 14px; }
.content-hero { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 36px; align-items: center; padding: 44px 0 36px; }
.content-hero h1 { max-width: 790px; font-size: clamp(32px, 4.5vw, 54px); line-height: 1.08; margin: 10px 0 20px; }
.content-hero .lead { max-width: 720px; font-size: 18px; line-height: 1.6; margin-bottom: 23px; }
.content-hero .helper { margin-top: 12px; }
.content-hero img { max-width: 100%; height: auto; }
.guide-section { margin: 18px 0 36px; }
.guide-section > h2 { font-size: 29px; margin-bottom: 18px; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.guide-card { display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid #e0c5a5; border-radius: 16px; background: #fffdf8; color: var(--ink); text-decoration: none; }
.guide-card > span { color: #8d2632; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.guide-card h3 { font-size: 23px; line-height: 1.25; margin: 0; }
.guide-card p { margin: 0; font-size: 15px; line-height: 1.6; }
.guide-card > strong { margin-top: auto; padding-top: 7px; color: var(--red); font-size: 14px; }
.guide-card:hover { border-color: var(--red); background: #fff6ee; }
.article-toc, .article-body { max-width: 780px; }
.article-toc { margin: 0 0 30px; padding: 12px 20px; border: 1px solid #dfc5a6; border-radius: 12px; background: #fffdf8; }
.article-toc summary, .copy-template summary, .article-faq summary { min-height: 44px; padding-block: 12px; font-weight: 700; cursor: pointer; }
.article-toc nav { display: grid; }
.article-toc a, .english-guides a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 8px; color: var(--red); }
.article-body { padding-bottom: 20px; font-size: 17px; line-height: 1.8; overflow-wrap: anywhere; }
.article-body h2 { margin: 38px 0 15px; font-size: 30px; line-height: 1.25; scroll-margin-top: 24px; }
.article-body h3 { margin: 27px 0 12px; font-size: 23px; scroll-margin-top: 24px; }
.article-body p { margin: 0 0 19px; }
.article-body li { padding-left: 3px; margin-block: 9px; }
.article-body a { color: #96242f; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body p > a:only-child[href*="setup=1"], .article-body li > a:only-child { display: inline-flex; align-items: center; min-height: 44px; padding-block: 6px; }
.article-table { max-width: 100%; overflow-x: auto; margin: 22px 0; border: 1px solid #decbb3; border-radius: 10px; }
.article-table table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.article-table th, .article-table td { min-width: 120px; padding: 13px; border-bottom: 1px solid #e5d7c4; text-align: left; vertical-align: top; }
.article-table th { background: #f9eddd; }
.article-table tr:last-child td { border-bottom: 0; }
.article-body blockquote { margin: 24px 0 12px; padding: 20px 24px; border-left: 4px solid #b52531; background: #fffdf8; border-radius: 0 12px 12px 0; }
.article-body blockquote p { margin-bottom: 10px; }
.copy-template { padding: 8px 16px; margin-bottom: 28px; border: 1px solid #e1c5a5; border-radius: 10px; }
.copy-template textarea { display: block; width: 100%; min-height: 240px; padding: 12px; margin-bottom: 12px; border: 1px solid #c9b79e; border-radius: 8px; background: white; font: inherit; font-size: 16px; line-height: 1.6; resize: vertical; }
.copy-status { margin: 10px 0 0; font-size: 14px; }
.article-faq { padding: 9px 0; border-bottom: 1px solid #ddccb6; }
.article-final-cta { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 400px; aspect-ratio: 2 / 1; margin: 40px 0; overflow: hidden; border: 1px solid #263149; border-radius: 22px; background: #0c1428; color: #fff8ef; box-shadow: 0 14px 34px #111a2920; }
.article-cta-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; z-index: -2; }
.article-final-cta::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #0c142866, transparent 65%); pointer-events: none; }
.article-cta-copy { width: 46%; padding: 40px; }
.article-final-cta h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; margin: 0 0 18px; color: #fff8ef; }
.article-final-cta p { margin: 0 0 24px; font-size: 16px; line-height: 1.6; color: #f4e8da; }
.article-final-cta .button { min-height: 48px; padding: 12px 22px; gap: 16px; background: linear-gradient(#dc303b, #b41c29); color: #fff; font-size: 16px; border: 1px solid #ff807773; }
.article-final-cta .button:hover { background: #a91827; }
.article-final-cta .button:focus-visible { outline: 3px solid #ffdc92; outline-offset: 5px; }
@media (max-width: 760px) {
  .article-final-cta { display: block; min-height: 0; aspect-ratio: auto; }
  .article-cta-art { position: relative; display: block; height: clamp(210px, 44vw, 310px); object-position: right center; }
  .article-final-cta::after { display: none; }
  .article-cta-copy { width: auto; padding: 24px; }
  .article-final-cta h2 { font-size: 30px; }
}
.checklist-item { list-style: none; }
@media (max-width: 800px) { .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .content-hero { grid-template-columns: minmax(0, 1fr) 95px; gap: 18px; } }
@media (max-width: 560px) {
  .content-shell { padding-inline: 18px; }
  .content-nav { gap: 4px 14px; width: 100%; }
  .content-hero { display: block; padding-top: 30px; }
  .content-hero > img { display: none; }
  .content-hero .lead { font-size: 17px; }
  .guide-grid { grid-template-columns: minmax(0, 1fr); }
  .guide-card { padding: 21px; }
  .article-body { font-size: 16px; }
  .article-body h2 { font-size: 26px; }
  .article-body blockquote { margin-inline: 0; padding: 17px; }
  .landing-shell .topbar:has(.region-picker) { height: auto; min-height: 68px; flex-wrap: wrap; gap: 8px; padding-block: 10px; }
}
