/* ============================================================
   VigiRoute Sérénité — styles partagés (site public + application)
   ============================================================ */

:root {
  --teal: #028090;
  --teal-dk: #01606e;
  --teal-xd: #0a3b44;
  --mint: #02C39A;
  --mint-dk: #01a07e;
  --navy: #1A3C4E;
  --navy-xd: #0e2a37;
  --offwhite: #F0F8F7;
  --white: #ffffff;
  --gray: #4A5568;
  --gray-l: #7B8794;
  --lgray: #CBD5E0;
  --line: #E2E8F0;
  --red: #C53030;
  --red-l: #FFF5F5;
  --amber: #B7791F;
  --amber-l: #FFFAF0;
  --green: #276749;
  --green-l: #F0FFF4;
  --blue: #2B6CB0;
  --blue-l: #EBF8FF;
  --text: #24313C;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(16, 42, 51, .08);
  --shadow: 0 6px 22px rgba(16, 42, 51, .10);
  --shadow-lg: 0 18px 48px rgba(16, 42, 51, .18);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --serif: Georgia, 'Times New Roman', serif;
  --header-h: 62px;
  --bottomnav-h: 62px;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-dk); }
h1, h2, h3, h4 { margin: 0 0 .5rem; line-height: 1.2; font-weight: 700; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 18px; }
.container-narrow { width: 100%; max-width: 780px; margin: 0 auto; padding: 0 18px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 10px; border: 1.5px solid transparent;
  font-size: 1rem; font-weight: 700; cursor: pointer; text-align: center;
  transition: background .22s, color .22s, border-color .22s, transform .22s, box-shadow .22s;
  background: var(--teal); color: #fff;
}
.btn:hover { background: var(--teal-dk); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn svg { flex-shrink: 0; }
.btn-mint { background: var(--mint); color: var(--navy); }
.btn-mint:hover { background: var(--mint-dk); color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-xd); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--lgray); }
.btn-ghost:hover { background: var(--offwhite); color: var(--text); border-color: var(--teal); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: var(--mint); }
.btn-danger { background: var(--red); color: #fff; }
.btn-danger:hover { background: #9B2C2C; }
.btn-sm { padding: 8px 14px; font-size: .88rem; border-radius: 8px; }
.btn-block { width: 100%; }

/* ---------- Formulaires ---------- */
.field { margin-bottom: 15px; }
.field > label { display: block; font-size: .87rem; font-weight: 600; color: var(--gray); margin-bottom: 6px; }
.field .hint { display: block; font-size: .76rem; color: var(--gray-l); margin-top: 5px; }
input[type=text], input[type=email], input[type=password], input[type=tel],
input[type=number], input[type=date], select, textarea {
  width: 100%; padding: 12px 14px; font-family: inherit; font-size: 1rem; color: var(--text);
  background: var(--white); border: 1.5px solid var(--lgray); border-radius: 9px;
  outline: none; transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--teal); box-shadow: 0 0 0 3px rgba(2,128,144,.14);
}
input::placeholder, textarea::placeholder { color: #A8B4C0; }
input.invalid, select.invalid, textarea.invalid { border-color: var(--red); }
textarea { resize: vertical; min-height: 96px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 0 15px; }
.form-error {
  background: var(--red-l); border: 1px solid #FEB2B2; color: var(--red);
  padding: 11px 14px; border-radius: 9px; font-size: .9rem; margin-bottom: 14px;
}
.legal-note { font-size: .75rem; color: var(--gray-l); text-align: center; line-height: 1.5; }

/* ---------- Badges / pastilles ---------- */
.badge {
  display: inline-block; padding: 4px 10px; border-radius: 20px;
  font-size: .72rem; font-weight: 700; letter-spacing: .03em;
  background: var(--offwhite); color: var(--gray);
}
.badge-new { background: var(--blue-l); color: var(--blue); }
.badge-seen { background: var(--amber-l); color: var(--amber); }
.badge-done { background: var(--green-l); color: var(--green); }
.badge-sos { background: var(--red-l); color: var(--red); }

/* ---------- Navigation publique ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10, 42, 51, .96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  min-height: 62px; padding-top: env(safe-area-inset-top, 0px);
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.brand:hover { color: #fff; }
.brand .logo {
  width: 38px; height: 38px; border-radius: 11px; flex-shrink: 0;
  background: linear-gradient(135deg, var(--mint), var(--teal));
  display: flex; align-items: center; justify-content: center;
}
.brand .name { font-family: var(--serif); font-size: 1.06rem; font-weight: 700; line-height: 1.1; }
.brand .name span { color: var(--mint); }
.brand .tag { display: block; font-family: var(--font); font-size: .66rem; font-weight: 600; color: rgba(255,255,255,.5); letter-spacing: .06em; text-transform: uppercase; }
.site-nav { display: none; align-items: center; gap: 26px; }
.site-nav a { color: rgba(255,255,255,.72); font-size: .9rem; font-weight: 500; }
.site-nav a:hover { color: var(--mint); }
.burger {
  width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(255,255,255,.22);
  background: transparent; cursor: pointer; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 5px;
}
.burger span { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; flex-direction: column; gap: 2px;
  padding: 10px 18px calc(16px + env(safe-area-inset-bottom, 0px));
  background: rgba(10, 42, 51, .98); border-top: 1px solid rgba(255,255,255,.08);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,.8); padding: 13px 4px; font-size: .98rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.mobile-menu a:last-of-type { border-bottom: none; }
.header-cta { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--navy-xd) 0%, var(--teal-xd) 55%, #014f5c 100%);
  color: #fff; padding: 56px 0 64px; text-align: center;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 72% 26%, rgba(2,195,154,.18) 0%, transparent 62%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 2; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(2,195,154,.14); border: 1px solid rgba(2,195,154,.42);
  color: var(--mint); font-size: .78rem; font-weight: 700;
  padding: 6px 14px; border-radius: 30px; margin-bottom: 20px;
  letter-spacing: .04em;
}
.hero h1 {
  font-family: var(--serif); font-size: clamp(2rem, 7.4vw, 3.5rem);
  line-height: 1.14; margin-bottom: 16px;
}
.hero h1 em { font-style: normal; color: var(--mint); }
.hero .lead {
  color: rgba(255,255,255,.76); font-size: 1.04rem;
  max-width: 620px; margin: 0 auto 26px;
}
.hero-actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 34px; }
.hero-actions .btn { width: 100%; }
.hero-visual {
  margin-top: 6px; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid rgba(255,255,255,.16); box-shadow: var(--shadow-lg);
}
.hero-visual img { width: 100%; height: 210px; object-fit: cover; }

.counters {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px 12px;
  margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14);
}
.counter { text-align: center; }
.counter .nb { font-family: var(--serif); font-size: clamp(1.7rem, 7vw, 2.6rem); font-weight: 700; color: var(--mint); display: block; line-height: 1; }
.counter .lb { font-size: .8rem; color: rgba(255,255,255,.66); display: block; margin-top: 6px; }
.counter .src { font-size: .67rem; color: rgba(255,255,255,.36); font-style: italic; display: block; margin-top: 3px; }

/* ---------- Sections ---------- */
.section { padding: 58px 0; }
.section-alt { background: var(--offwhite); }
.section-dark { background: var(--navy); color: #fff; }
.section-dark .section-title { color: #fff; }
.section-dark .section-lead { color: rgba(255,255,255,.66); }
.eyebrow {
  display: block; font-size: .76rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal); margin-bottom: 10px;
}
.section-dark .eyebrow { color: var(--mint); }
.section-title { font-family: var(--serif); font-size: clamp(1.55rem, 5.6vw, 2.35rem); color: var(--navy); margin-bottom: 12px; }
.section-lead { color: var(--gray); max-width: 660px; margin-bottom: 30px; }

/* ---------- Grilles de cartes ---------- */
.grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.grid-2, .grid-3, .grid-4 { display: grid; grid-template-columns: 1fr; gap: 16px; }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.card-hover { transition: transform .25s, box-shadow .25s, border-color .25s; }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(2,128,144,.35); }

.stat-card {
  background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--teal);
  border-radius: var(--radius); padding: 20px 16px; text-align: center; box-shadow: var(--shadow-sm);
}
.stat-card .nb { font-family: var(--serif); font-size: 2.2rem; font-weight: 700; color: var(--teal); line-height: 1; }
.stat-card .lb { font-size: .89rem; color: var(--gray); margin-top: 8px; }
.stat-card .src { font-size: .7rem; color: var(--gray-l); font-style: italic; margin-top: 4px; }

.feature {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--offwhite); border: 1px solid transparent;
  border-radius: var(--radius); padding: 20px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(2,128,144,.28); background: #fff; }
.feature .ico {
  width: 48px; height: 48px; border-radius: 13px; flex-shrink: 0;
  background: var(--teal); display: flex; align-items: center; justify-content: center;
}
.feature h3 { font-family: var(--serif); font-size: 1.08rem; color: var(--navy); margin-bottom: 6px; }
.feature p { font-size: .92rem; color: var(--gray); margin-bottom: 8px; }
.tag {
  display: inline-block; background: rgba(2,128,144,.1); color: var(--teal);
  font-size: .69rem; font-weight: 800; letter-spacing: .05em;
  padding: 4px 10px; border-radius: 20px;
}

.notice {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--navy); color: #fff; border-radius: var(--radius); padding: 20px;
}
.notice strong { color: var(--mint); }
.notice p { margin: 0; font-size: .94rem; line-height: 1.55; }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: 1fr; gap: 22px; }
.step { text-align: center; }
.step .num {
  width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 14px;
  background: var(--mint); color: var(--navy); border: 4px solid var(--navy);
  box-shadow: 0 0 0 3px var(--mint);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.5rem; font-weight: 700;
}
.section-dark .step h3 { color: #fff; font-size: 1rem; margin-bottom: 6px; }
.section-dark .step p { color: rgba(255,255,255,.62); font-size: .9rem; margin: 0; }

/* ---------- Pré-inscription ---------- */
.form-panel {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
}
.form-panel h3 { font-family: var(--serif); font-size: 1.25rem; color: var(--navy); margin-bottom: 4px; }
.form-panel .sub { font-size: .9rem; color: var(--gray); margin-bottom: 18px; }
.tabs { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 18px; }
.tab {
  padding: 11px 12px; border: 1.5px solid var(--lgray); border-radius: 9px;
  background: none; font-size: .9rem; font-weight: 600; color: var(--gray);
  cursor: pointer; transition: all .2s; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.tab.active { background: var(--teal); border-color: var(--teal); color: #fff; }
.benefits { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.benefits li { display: flex; gap: 10px; align-items: flex-start; color: var(--gray); font-size: .95rem; }
.benefits li svg { flex-shrink: 0; margin-top: 3px; }
.count-pill {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--offwhite); border: 1px solid rgba(2,128,144,.22);
  border-radius: var(--radius); padding: 14px 20px;
}
.count-pill .nb { font-family: var(--serif); font-size: 1.7rem; font-weight: 700; color: var(--teal); }
.count-pill .lb { font-size: .84rem; color: var(--gray); line-height: 1.35; }
.success-box { display: none; text-align: center; padding: 30px 16px; }
.success-box.on { display: block; }
.success-box h3 { font-family: var(--serif); color: var(--navy); font-size: 1.35rem; }
.share-row { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.share-row .btn { width: 100%; }

/* ---------- Tableau ---------- */
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.data { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 560px; }
table.data th {
  background: var(--navy); color: #fff; text-align: left;
  padding: 11px 14px; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase;
  white-space: nowrap;
}
table.data th:first-child { border-top-left-radius: 9px; }
table.data th:last-child { border-top-right-radius: 9px; }
table.data td { padding: 11px 14px; border-bottom: 1px solid var(--line); color: var(--gray); vertical-align: middle; }
table.data tr:last-child td { border-bottom: none; }
table.data tbody tr:hover { background: var(--offwhite); }
table.data .strong { color: var(--text); font-weight: 600; }
.table-foot { background: var(--offwhite); font-weight: 700; color: var(--navy); }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: 1fr; gap: 14px; }
.contact-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius); padding: 20px; text-align: left;
}
.contact-card .cc-lb { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--mint); margin-bottom: 6px; }
.contact-card .cc-val { color: #fff; font-weight: 600; font-size: .96rem; }
.contact-card .cc-sub { color: rgba(255,255,255,.5); font-size: .82rem; margin-top: 3px; }
.partners { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.partner {
  background: var(--white); border: 1.5px solid var(--lgray); border-radius: 9px;
  padding: 10px 16px; font-weight: 700; color: var(--navy); font-size: .88rem;
  transition: border-color .2s, color .2s;
}
.partner:hover { border-color: var(--teal); color: var(--teal); }

/* ---------- Footer ---------- */
.site-footer { background: #08222B; color: rgba(255,255,255,.55); padding: 34px 0 28px; }
.site-footer .cols { display: grid; grid-template-columns: 1fr; gap: 22px; margin-bottom: 22px; }
.site-footer .f-brand { font-family: var(--serif); color: #fff; font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.site-footer .f-brand span { color: var(--mint); }
.site-footer p { font-size: .85rem; margin: 0 0 6px; }
.site-footer h4 { color: #fff; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 10px; }
.site-footer .flinks { display: flex; flex-direction: column; gap: 8px; }
.site-footer .flinks a { color: rgba(255,255,255,.55); font-size: .85rem; }
.site-footer .flinks a:hover { color: var(--mint); }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 16px; font-size: .78rem; text-align: center; }

/* ---------- Barre de navigation basse (application) ---------- */
.bottom-nav {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  background: rgba(8, 34, 43, .97); backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,.1);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.bottom-nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 62px; padding: 8px 4px; color: rgba(255,255,255,.55);
  font-size: .68rem; font-weight: 600; text-align: center; line-height: 1.2;
}
.bottom-nav a:hover { color: rgba(255,255,255,.85); }
.bottom-nav a.active { color: var(--mint); }
.bottom-nav a.active svg { filter: drop-shadow(0 0 6px rgba(2,195,154,.5)); }
.has-bottom-nav { padding-bottom: calc(var(--bottomnav-h) + env(safe-area-inset-bottom, 0px) + 12px); }

/* ---------- Toasts ---------- */
.toasts {
  position: fixed; left: 12px; right: 12px; top: calc(env(safe-area-inset-top, 0px) + 12px);
  z-index: 200; display: flex; flex-direction: column; gap: 8px; pointer-events: none;
}
.toast {
  pointer-events: auto; display: flex; gap: 10px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal);
  border-radius: 10px; padding: 13px 15px; box-shadow: var(--shadow-lg);
  font-size: .89rem; animation: toastIn .3s ease;
}
.toast.ok { border-left-color: var(--mint); }
.toast.err { border-left-color: var(--red); }
.toast strong { display: block; font-size: .87rem; color: var(--text); }
.toast span { color: var(--gray); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }

/* ---------- Modale ---------- */
.modal-back {
  position: fixed; inset: 0; z-index: 300; background: rgba(8,34,43,.62);
  display: flex; align-items: flex-end; justify-content: center; padding: 0;
  backdrop-filter: blur(3px);
}
.modal {
  background: #fff; width: 100%; max-width: 560px; border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 22px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  max-height: 92vh; overflow-y: auto; animation: sheetUp .28s ease;
}
@keyframes sheetUp { from { transform: translateY(24px); opacity: .6; } to { transform: none; opacity: 1; } }
.modal h3 { font-family: var(--serif); color: var(--navy); font-size: 1.2rem; }
.modal-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }

/* ---------- Divers ---------- */
.loader { display: flex; justify-content: center; padding: 30px 0; }
.spinner {
  width: 30px; height: 30px; border-radius: 50%;
  border: 3px solid var(--line); border-top-color: var(--teal);
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.empty { text-align: center; padding: 34px 16px; color: var(--gray-l); font-size: .92rem; }
.empty svg { margin: 0 auto 12px; display: block; opacity: .5; }
.skeleton { background: linear-gradient(90deg, #EEF3F5, #F7FAFB, #EEF3F5); background-size: 200% 100%; animation: sk 1.3s infinite; border-radius: 8px; }
@keyframes sk { to { background-position: -200% 0; } }

.fade-in { animation: fadeUp .55s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE — mobile first, multi-colonnes à partir de 768px
   ============================================================ */
@media (min-width: 768px) {
  body { font-size: 17px; }
  .container { padding: 0 26px; }
  .site-nav { display: flex; gap: 14px; }
  .site-nav a { font-size: .85rem; }
  .burger { display: none; }
  .mobile-menu { display: none !important; }

  .hero { padding: 76px 0 84px; }
  .hero-actions { flex-direction: row; justify-content: center; }
  .hero-actions .btn { width: auto; }
  .hero-visual img { height: 330px; }
  .counters { grid-template-columns: repeat(4, 1fr); gap: 18px; }

  .section { padding: 76px 0; }
  .grid-2 { grid-template-columns: 1fr 1fr; gap: 20px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .grid { gap: 20px; }

  .steps { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .form-row { grid-template-columns: 1fr 1fr; }

  .tabs { grid-template-columns: repeat(3, 1fr); }
  .share-row { flex-direction: row; justify-content: center; }
  .share-row .btn { width: auto; }

  .contact-cards { grid-template-columns: repeat(3, 1fr); }
  .site-footer .cols { grid-template-columns: 1.4fr 1fr 1fr; }

  .modal-back { align-items: center; padding: 24px; }
  .modal { border-radius: var(--radius-lg); }
  .modal-actions { flex-direction: row; justify-content: flex-end; }
}

@media (min-width: 1024px) {
  .feature-lg { padding: 26px; }
  .site-nav { gap: 24px; }
  .site-nav a { font-size: .9rem; }
  .header-cta { display: inline-flex; }
}
