:root{
  --bg:#f6f7fb;
  --card:#fff;
  --text:#14161a;
  --muted:#5b6472;
  --border:#e6eaf0;
  --accent:#d61f26;
  --shadow:0 10px 30px rgba(20,22,26,.08);
  --radius:16px;
  --maxw:1120px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,"Helvetica Neue",Arial;
  color:var(--text);
  background:
    radial-gradient(1200px 500px at 20% 0%, rgba(214,31,38,0.08), transparent 60%),
    radial-gradient(900px 450px at 90% 10%, rgba(0,0,0,0.06), transparent 55%),
    var(--bg);
}

a{color:inherit;text-decoration:none}
a:focus-visible,button:focus-visible{
  outline:3px solid rgba(214,31,38,.45);
  outline-offset:3px;
  border-radius:10px;
}

.container{width:min(var(--maxw),calc(100% - 32px));margin:0 auto}

/* ===== Header ===== */
header{
  position:sticky;top:0;z-index:50;
  background:rgba(255,255,255,.85);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0;gap:16px}
.brand{display:flex;align-items:center;gap:14px;min-width:240px}
.brand img{
  width:56px;height:56px;object-fit:contain;
  border-radius:12px;background:#fff;border:1px solid var(--border);
  padding:8px
}
.brand-text{display:grid;gap:2px;line-height:1.2}
.brand-text strong{font-size:15px;letter-spacing:.2px}
.brand-text span{font-size:12.5px;color:var(--muted)}

nav{display:flex;align-items:center;gap:10px}
.nav-links{display:flex;align-items:center;gap:8px}
.nav-links a{
  padding:10px 12px;border-radius:12px;border:1px solid transparent;
  font-weight:800;font-size:14px
}
.nav-links a:hover{border-color:var(--border);background:#fff}
.nav-links a.active{
  border-color:rgba(214,31,38,.25);
  box-shadow:0 8px 18px rgba(20,22,26,.06);
}
.nav-links a.cta{
  background:var(--accent);color:#fff;border-color:rgba(0,0,0,.03);
  box-shadow:0 8px 18px rgba(214,31,38,.20)
}
.nav-links a.cta:hover{filter:brightness(.96)}

.lang{display:flex;gap:6px;margin-right:4px}
.lang a{
  font-weight:900;font-size:12px;color:var(--muted);
  padding:8px 10px;border-radius:12px;border:1px solid var(--border);
  background:#fff
}
.lang a.active{
  color:var(--text);
  border-color:rgba(214,31,38,.25);
  box-shadow:0 8px 18px rgba(20,22,26,.06)
}

/* Hamburger / mobile drawer */
.hamburger{
  display:none;align-items:center;justify-content:center;
  width:44px;height:44px;border-radius:14px;border:1px solid var(--border);
  background:#fff;cursor:pointer
}
.hamburger svg{width:22px;height:22px}
.mobile-drawer{display:none;border-top:1px solid var(--border);background:rgba(255,255,255,.95);backdrop-filter:blur(10px)}
.mobile-drawer.open{display:block}
.mobile-drawer .links{display:grid;gap:8px;padding:12px 0 16px}
.mobile-drawer .links a{
  padding:12px;border-radius:14px;border:1px solid var(--border);
  background:#fff;font-weight:900;font-size:14px
}
.mobile-drawer .links a.cta{background:var(--accent);color:#fff;border-color:rgba(0,0,0,.03)}
.mobile-lang{display:flex;gap:8px;padding:8px 0 0}
.mobile-lang a{
  flex:1;text-align:center;padding:10px;border-radius:14px;border:1px solid var(--border);
  background:#fff;font-weight:900;font-size:13px;color:var(--muted)
}
.mobile-lang a.active{color:var(--text);border-color:rgba(214,31,38,.25)}

@media (max-width:780px){
  .nav-links{display:none}
  .hamburger{display:inline-flex}
  .brand{min-width:0}
  .brand-text span{display:none}
  .lang{display:none}
}

/* ===== Hero ===== */
.page-hero{padding:26px 0 10px}
.hero-card{
  background:linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,255,255,.80));
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:22px;
  display:grid;
  gap:10px;
}
.hero-card h1{margin:0;font-size:clamp(22px,3.2vw,34px);letter-spacing:-.3px}
.hero-card p{margin:0;color:var(--muted);font-size:15px;line-height:1.55;max-width:78ch}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:12px 14px;border-radius:14px;border:1px solid var(--border);
  background:#fff;font-weight:900;font-size:14px;cursor:pointer
}
.btn.primary{background:var(--accent);color:#fff;border-color:rgba(0,0,0,.03);box-shadow:0 8px 18px rgba(214,31,38,.20)}
.btn.ghost:hover{border-color:rgba(214,31,38,.25)}

/* ===== Shared helpers ===== */
.mt-14{margin-top:14px}
.mt-24{margin-top:24px}
.button-row{display:flex;gap:10px;flex-wrap:wrap}
.button-row.center{justify-content:center}
.form-note,
.small,
small{
  color:var(--muted);
  font-size:12.5px;
  line-height:1.5;
}
.status-text{
  margin:0;
  font-size:13.5px;
  font-weight:800;
}
.status-text.success{color:#18794e}
.status-text.warning{color:#b26a00}
.hidden-field{display:none}
.empty-state{
  text-align:center;
  padding:44px 24px;
  display:grid;
  gap:12px;
  justify-items:center;
}
.empty-state h1,
.empty-state h2,
.empty-state p{
  margin:0;
}
.empty-state h1{
  font-size:clamp(54px,9vw,72px);
  line-height:1;
  letter-spacing:-2px;
}
.empty-state p{
  max-width:56ch;
}
.hero-badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:2px;
}

/* ===== Tiles (home) ===== */
main{padding:10px 0 30px}
.section-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:18px 0 12px}
.section-title h2{margin:0;font-size:18px;letter-spacing:-.2px}
.section-title span{color:var(--muted);font-size:13px}

.tiles{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}
.tile{
  background:rgba(255,255,255,.92);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:0 8px 18px rgba(20,22,26,.04);
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  min-height:120px;
  display:grid;
  gap:8px;
  align-content:start;
}
.tile:hover{
  transform:translateY(-2px);
  border-color:rgba(214,31,38,.25);
  box-shadow:0 14px 34px rgba(20,22,26,.10);
}
.tile .icon{
  width:42px;height:42px;border-radius:14px;display:grid;place-items:center;
  border:1px solid var(--border);background:#fff;font-size:18px
}
.tile h3{margin:0;font-size:15px;letter-spacing:-.2px}
.tile p{margin:0;color:var(--muted);font-size:13.5px;line-height:1.45}
.tile .more{margin-top:2px;font-weight:900;font-size:13px;color:var(--accent)}
@media (min-width:900px){.tiles{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* ===== Content cards / grids ===== */
.grid{display:grid;grid-template-columns:1fr;gap:12px;margin-top:14px}
@media (min-width:900px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.card{
  background:rgba(255,255,255,.92);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:0 8px 18px rgba(20,22,26,.04);
  display:grid;gap:8px
}
.card h2{margin:0;font-size:16px;letter-spacing:-.2px}
.card p{margin:0;color:var(--muted);font-size:14px;line-height:1.55}
.list{margin:6px 0 0;padding-left:18px;color:var(--muted);font-size:14px;line-height:1.6}
.list li + li{margin-top:6px}

.section-heading{
  display:grid;
  gap:4px;
  margin-bottom:16px;
}
.section-heading h2,
.section-heading h3{
  margin:0;
}
.section-heading p{
  margin:0;
  color:var(--muted);
}

/* ===== Gallery (deployments) ===== */
.gallery{display:grid;gap:12px;grid-template-columns:1fr;margin-top:14px}
@media (min-width:700px){.gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
.photo{
  background:#fff;border:1px solid var(--border);border-radius:var(--radius);
  overflow:hidden;box-shadow:0 10px 24px rgba(20,22,26,.06);
}
.photo .thumb{aspect-ratio: 16/10; background: linear-gradient(135deg, rgba(214,31,38,.10), rgba(0,0,0,.03));}
.photo .body{padding:14px;display:grid;gap:6px}
.photo .body strong{font-size:14px}
.photo .body span{font-size:13px;color:var(--muted)}

/* archive cards */
.archive-card{
  display:grid;
  gap:0;
  border-color:rgba(20,22,26,.08);
  background:linear-gradient(180deg,#fff 0%, #fcfcfe 100%);
  box-shadow:0 14px 30px rgba(20,22,26,.08);
  transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.archive-card:hover{
  transform:translateY(-2px);
  box-shadow:0 18px 34px rgba(20,22,26,.12);
  border-color:rgba(214,31,38,.25);
}
.archive-toggle{
  border:0;
  background:transparent;
  padding:0;
  margin:0;
  text-align:left;
  cursor:pointer;
  width:100%;
}
.archive-toggle .body{
  position:relative;
  padding:16px 44px 14px 16px;
  gap:8px;
}
.archive-toggle .body::after{
  content:'▾';
  position:absolute;
  right:14px;
  top:14px;
  font-size:14px;
  color:var(--muted);
  transition:transform .2s ease, color .2s ease;
}
.archive-toggle[aria-expanded="true"] .body::after{
  transform:rotate(180deg);
  color:var(--accent);
}
.archive-toggle:hover .body{
  background:linear-gradient(180deg, rgba(214,31,38,.07), rgba(214,31,38,.03));
}
.archive-toggle .body strong{
  font-size:15px;
  letter-spacing:-.1px;
}
.archive-toggle .body span:first-of-type{
  font-weight:700;
  color:#3f4754;
  font-size:12px;
}
.archive-toggle .body span:last-of-type{
  line-height:1.5;
}
.archive-toggle[aria-expanded="true"] .body{
  border-bottom:1px solid var(--border);
  background:linear-gradient(180deg, rgba(214,31,38,.07), rgba(214,31,38,.02));
}
.archive-details{
  padding:14px 16px 16px;
  display:grid;
  gap:14px;
  background:#fff;
}
.archive-details[hidden]{
  display:none !important;
}
.archive-comments{
  color:#4d5665;
  font-size:14px;
  line-height:1.65;
  background:rgba(246,247,251,.7);
  border:1px solid var(--border);
  border-radius:12px;
  padding:12px;
}
.archive-media-list{
  display:grid;
  gap:12px;
  grid-template-columns:1fr;
}
@media (min-width:700px){
  .archive-media-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
.archive-media-item{
  margin:0;
  display:grid;
  gap:8px;
}
.archive-media-item img,
.archive-media-item video{
  width:100%;
  aspect-ratio:16/10;
  object-fit:cover;
  border-radius:12px;
  background:#000;
  border:1px solid rgba(20,22,26,.08);
  box-shadow:0 8px 20px rgba(20,22,26,.12);
}
.archive-media-item figcaption{
  margin:0;
  font-size:12.5px;
  color:#5c6677;
  padding:0 2px;
}
@media (max-width:699px){
  .archive-toggle .body{
    padding:14px 40px 12px 14px;
  }
  .archive-details{
    padding:12px 14px 14px;
  }
}

/* ===== Forms ===== */
.form{
  display:grid;gap:14px;margin-top:14px;
  background:#fff;border:1px solid var(--border);border-radius:var(--radius);
  padding:16px;box-shadow:0 10px 24px rgba(20,22,26,.06);
}
.field,
.field-grid{
  display:grid;
  gap:6px;
}
.field-row{
  display:grid;
  gap:12px;
  grid-template-columns:1fr;
}
@media (min-width:700px){
  .field-row{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .field-row.triple{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
label{font-weight:900;font-size:13px}
input,textarea,select{
  width:100%;padding:10px 12px;border-radius:12px;border:1px solid var(--border);
  font:inherit;background:#fff;
}
input:focus,
textarea:focus,
select:focus{
  border-color:rgba(214,31,38,.35);
  box-shadow:0 0 0 4px rgba(214,31,38,.08);
  outline:none;
}
textarea{min-height:120px;resize:vertical}
.notice{
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:14px 16px;
  background:#fff;
  box-shadow:0 8px 18px rgba(20,22,26,.04);
  display:grid;
  gap:8px;
}
.notice p{margin:0}
.notice.error{
  border-color:rgba(214,31,38,.18);
  background:rgba(214,31,38,.05);
}
.notice.success{
  border-color:rgba(24,121,78,.18);
  background:rgba(24,121,78,.06);
}
.notice.warning{
  border-color:rgba(178,106,0,.18);
  background:rgba(178,106,0,.07);
}

/* ===== Pricing ===== */
.pricing-grid{
  display:grid;
  gap:12px;
  grid-template-columns:1fr;
}
@media (min-width:900px){
  .pricing-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
.pricing-card{
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.86));
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:0 8px 18px rgba(20,22,26,.05);
  display:grid;
  gap:12px;
}
.pricing-card.featured{
  border-color:rgba(214,31,38,.2);
  box-shadow:0 14px 34px rgba(214,31,38,.12);
}
.pricing-kicker{
  display:inline-flex;
  width:max-content;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(214,31,38,.16);
  background:rgba(214,31,38,.06);
  color:var(--accent);
  font-size:12px;
  font-weight:900;
}
.pricing-card h2{margin:0;font-size:18px;letter-spacing:-.3px}
.pricing-card p{margin:0;color:var(--muted);line-height:1.55}
.pricing-price{
  display:grid;
  gap:4px;
  font-size:clamp(24px,4vw,34px);
  font-weight:900;
  letter-spacing:-.8px;
}
.pricing-price span{
  font-size:13px;
  font-weight:700;
  color:var(--muted);
  letter-spacing:0;
}
.pricing-list{
  margin:0;
  padding-left:18px;
  color:var(--muted);
  line-height:1.55;
}
.pricing-list li + li{margin-top:6px}
.pricing-facts{
  display:grid;
  gap:12px;
  grid-template-columns:1fr;
}
@media (min-width:900px){
  .pricing-facts{
    grid-template-columns:1.2fr .8fr;
  }
}
.pricing-highlight{
  display:grid;
  gap:14px;
}

/* ===== Quote ===== */
.quote-layout{
  display:grid;
  gap:14px;
}
@media (min-width:1080px){
  .quote-layout{
    grid-template-columns:minmax(0, .8fr) minmax(0, 1.2fr);
    align-items:start;
  }
}
.quote-sidebar{
  display:grid;
  gap:14px;
}
@media (min-width:1080px){
  .quote-sidebar{
    position:sticky;
    top:96px;
  }
}
.quote-form{
  margin-top:0;
  padding:18px;
}
.quote-form .form-section{
  border:1px solid var(--border);
  border-radius:14px;
  padding:16px;
  background:rgba(246,247,251,.55);
  display:grid;
  gap:14px;
}
.quote-form .form-section + .form-section{
  margin-top:2px;
}
.quote-summary{
  display:grid;
  gap:8px;
}
.check-list{
  margin:0;
  padding-left:18px;
  color:var(--muted);
  line-height:1.6;
}
.check-list li + li{margin-top:6px}
.quote-meta{
  display:grid;
  gap:10px;
}
.quote-meta strong{
  display:block;
  font-size:13px;
  margin-bottom:2px;
}
.submit-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
}

/* ===== Footer (clean) ===== */
footer{border-top:1px solid var(--border);background:#fff;padding:28px 0 16px;margin-top:40px}
.footer-clean{display:flex;justify-content:space-between;align-items:flex-start;gap:40px;flex-wrap:wrap;font-size:14px}
.footer-left{max-width:320px;color:var(--muted);line-height:1.6}
.footer-left strong{display:block;color:var(--text);margin-bottom:6px}
.footer-middle{display:flex;flex-direction:column;gap:6px;color:var(--muted)}
.footer-middle strong{color:var(--text)}
.footer-right{display:flex;flex-direction:column;gap:6px}
.footer-right a{color:var(--muted);text-decoration:none;font-weight:700}
.footer-right a:hover{color:var(--accent)}
.footer-bottom{margin-top:20px;padding-top:14px;border-top:1px solid var(--border);text-align:center;font-size:13px;color:var(--muted)}
@media (max-width:900px){
  .footer-clean{flex-direction:column;gap:24px}
  .footer-right{flex-direction:row;gap:20px}
}

/* ===== Agenda ===== */
.agenda-filters{
  display:grid;
  grid-template-columns: 1fr;
  gap:12px;
  align-items:end;
}
.agenda-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.agenda-meta{
  margin:10px 0 0;
  color:var(--muted);
  font-size:13px;
}
@media (min-width:900px){
  .agenda-filters{
    grid-template-columns: 1.4fr 0.6fr auto;
  }
}

.agenda-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:12px;
  margin-top:14px;
}
@media (min-width:900px){
  .agenda-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

.agenda-item{
  background:rgba(255,255,255,.92);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:0 8px 18px rgba(20,22,26,.04);
  display:grid;
  gap:10px;
}

.agenda-top{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
}
.agenda-top h2{
  margin:0;
  font-size:16px;
  letter-spacing:-.2px;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  font-weight:900;
  font-size:12px;
  color:var(--muted);
  white-space:nowrap;
}
.badge-brand{ color: var(--text); border-color: rgba(214,31,38,.25); }
.badge-info{ color: var(--text); border-color: rgba(20,22,26,.15); }
.badge-neutral{ color: var(--muted); }

.agenda-lines{
  color:var(--muted);
  font-size:14px;
  line-height:1.55;
  display:grid;
  gap:4px;
}
.agenda-lines strong{ color: var(--text); }

.agenda-remarks{
  border-top:1px solid var(--border);
  padding-top:10px;
  color:var(--muted);
  font-size:14px;
  line-height:1.55;
}

/* tooltip (fix: niet afbreken / niet buiten viewport) */
.badge { overflow: visible; }      /* belangrijk */
.agenda-top { overflow: visible; } /* belangrijk */
.agenda-item { overflow: visible; }/* belangrijk */

.info{
  display:inline-grid;
  place-items:center;
  width:16px;
  height:16px;
  border-radius:999px;
  border:1px solid var(--border);
  font-size:11px;
  line-height:1;
  color:var(--text);
  position:relative;
  cursor:pointer;
  user-select:none;
  background:#fff;
}

.info .tooltip{
  visibility:hidden;
  opacity:0;
  position:fixed;                 /* key change: fixed => nooit meer “clipping” */
  max-width:min(320px, calc(100vw - 24px));
  background:#14161a;
  color:#fff;
  padding:10px;
  border-radius:10px;
  font-weight:600;
  font-size:12.5px;
  line-height:1.45;
  box-shadow:0 14px 34px rgba(20,22,26,.25);
  transition:opacity .15s ease;
  pointer-events:none;
  z-index:9999;
  white-space:normal;
}

/* zichtbaar bij hover/focus */
.info:hover .tooltip,
.info:focus .tooltip{
  visibility:visible;
  opacity:1;
}

/* gebruiker kiest kolommen */
.agenda-grid.view-1 { grid-template-columns: 1fr; }

@media (min-width: 700px){
  .agenda-grid.view-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (min-width: 900px){
  .agenda-grid.view-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

/* op mobiel altijd 1 kolom (ook als iemand 3 kiest) */
@media (max-width: 699px){
  .agenda-grid.view-2,
  .agenda-grid.view-3 { grid-template-columns: 1fr; }
}

/* ===== Donate page ===== */
.donate-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:14px;
  margin-top:14px;
}
@media (min-width: 900px){
  .donate-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.donate-card h2{ margin:0 0 6px; }
.donate-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}

.donate-kv{
  margin-top:12px;
  display:grid;
  gap:6px;
  color: var(--muted);
  font-size:14px;
  line-height:1.55;
}
.mono{ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; }

.note{
  margin-top:12px;
  padding:12px;
  border-radius:12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.55);
  color: var(--muted);
  font-size:13.5px;
  line-height:1.5;
}

.donate-list{
  margin:10px 0 0;
  padding-left:18px;
  color: var(--muted);
  line-height:1.55;
}

.pill-row{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:10px;
}
.pill{
  font-size:12px;
  font-weight:800;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  color: var(--muted);
}

.donate-split{
  display:grid;
  gap:14px;
  margin-top:10px;
}
@media (min-width: 900px){
  .donate-split{ grid-template-columns: 1fr 1fr; }
}

.fineprint{
  margin-top:10px;
  color: var(--muted);
  font-size:12.5px;
  line-height:1.45;
}
.muted{ color: var(--muted); }

/* ===== EHBO App ===== */
.app-showcase{
  position:relative;
  overflow:hidden;
  padding:18px 0 48px;
}
.app-showcase::before,
.app-showcase::after{
  content:"";
  position:absolute;
  border-radius:999px;
  filter:blur(18px);
  opacity:.45;
  pointer-events:none;
}
.app-showcase::before{
  width:260px;
  height:260px;
  background:radial-gradient(circle, rgba(214,31,38,.28), rgba(214,31,38,0));
  top:40px;
  left:-60px;
}
.app-showcase::after{
  width:320px;
  height:320px;
  background:radial-gradient(circle, rgba(12,70,95,.24), rgba(12,70,95,0));
  right:-80px;
  top:240px;
}
.app-hero{
  position:relative;
  display:grid;
  gap:20px;
  align-items:center;
}
@media (min-width:980px){
  .app-hero{
    grid-template-columns:minmax(0,1.05fr) minmax(340px,.95fr);
  }
}
.app-hero-copy{
  display:grid;
  gap:14px;
}
.eyebrow{
  display:inline-flex;
  width:max-content;
  align-items:center;
  gap:8px;
  padding:7px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.82);
  border:1px solid rgba(12,70,95,.12);
  color:#0c465f;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.app-title{
  margin:0;
  font-size:clamp(34px,6vw,68px);
  line-height:.98;
  letter-spacing:-1.8px;
}
.app-lead{
  margin:0;
  max-width:62ch;
  font-size:17px;
  line-height:1.65;
  color:#415063;
}
.app-pill-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.app-pill{
  display:inline-flex;
  align-items:center;
  padding:9px 12px;
  border-radius:999px;
  background:rgba(255,255,255,.75);
  border:1px solid rgba(20,22,26,.08);
  font-size:13px;
  font-weight:800;
  color:#243041;
  box-shadow:0 10px 20px rgba(20,22,26,.04);
}
.app-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:6px;
}
.app-actions .btn{
  min-width:152px;
}
.app-hero-art{
  position:relative;
  min-height:440px;
  display:grid;
  place-items:center;
}
.phone-stack{
  position:relative;
  width:min(100%,420px);
  height:430px;
}
.phone-card{
  position:absolute;
  width:220px;
  border-radius:32px;
  padding:14px;
  color:#f8fafc;
  background:linear-gradient(180deg, #102234 0%, #0e1826 100%);
  border:1px solid rgba(255,255,255,.1);
  box-shadow:0 28px 55px rgba(10,18,30,.28);
  overflow:hidden;
  animation:phoneFloat 7s ease-in-out infinite;
}
.phone-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,0));
  pointer-events:none;
}
.phone-card.one{
  left:10px;
  top:58px;
  z-index:2;
  transform:rotate(-8deg);
}
.phone-card.two{
  right:12px;
  top:10px;
  background:linear-gradient(180deg, #7f0f15 0%, #421217 100%);
  animation-delay:-2.5s;
}
.phone-card.three{
  left:106px;
  bottom:0;
  width:200px;
  background:linear-gradient(180deg, #0d4f5e 0%, #0c2d39 100%);
  animation-delay:-1s;
}
.phone-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:14px;
  font-size:12px;
  font-weight:800;
  opacity:.86;
}
.phone-notch{
  width:72px;
  height:16px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
}
.phone-body{
  display:grid;
  gap:12px;
}
.phone-screen-title{
  margin:0;
  font-size:22px;
  line-height:1.05;
  letter-spacing:-.8px;
}
.screen-chip-row{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.screen-chip{
  padding:6px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  font-size:11px;
  font-weight:800;
}
.screen-list{
  display:grid;
  gap:8px;
}
.screen-item{
  display:grid;
  gap:4px;
  padding:12px;
  border-radius:16px;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.08);
}
.screen-item strong{
  font-size:13px;
}
.screen-item span{
  font-size:11px;
  opacity:.86;
}
.screen-metric{
  display:grid;
  gap:4px;
  padding:14px;
  border-radius:18px;
  background:rgba(255,255,255,.1);
}
.screen-metric strong{
  font-size:28px;
  letter-spacing:-.8px;
}
.screen-metric span{
  font-size:12px;
  opacity:.82;
}
.floating-tag{
  position:absolute;
  padding:12px 14px;
  border-radius:18px;
  background:rgba(255,255,255,.86);
  border:1px solid rgba(20,22,26,.07);
  box-shadow:0 18px 34px rgba(20,22,26,.10);
  color:#17212d;
  font-size:13px;
  font-weight:800;
  backdrop-filter:blur(12px);
  animation:tagFloat 6s ease-in-out infinite;
}
.floating-tag.one{
  left:4px;
  top:20px;
}
.floating-tag.two{
  right:0;
  bottom:40px;
  animation-delay:-3s;
}
.app-section{
  margin-top:22px;
}
.app-grid{
  display:grid;
  gap:14px;
}
@media (min-width:900px){
  .app-grid.cols-3{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .app-grid.cols-2{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
.app-card{
  position:relative;
  overflow:hidden;
  padding:20px;
  border-radius:24px;
  border:1px solid rgba(20,22,26,.07);
  background:linear-gradient(180deg, rgba(255,255,255,.94), rgba(255,255,255,.82));
  box-shadow:0 18px 40px rgba(20,22,26,.07);
}
.app-card::after{
  content:"";
  position:absolute;
  inset:auto -30px -46px auto;
  width:120px;
  height:120px;
  border-radius:999px;
  background:radial-gradient(circle, rgba(214,31,38,.10), rgba(214,31,38,0));
}
.app-card h2,
.app-card h3{
  margin:0 0 8px;
  letter-spacing:-.4px;
}
.app-card p{
  margin:0;
  color:#4f5d6f;
  line-height:1.65;
}
.app-stat-row{
  display:grid;
  gap:12px;
}
@media (min-width:900px){
  .app-stat-row{
    grid-template-columns:repeat(4,minmax(0,1fr));
  }
}
.app-stat{
  padding:18px;
  border-radius:22px;
  background:linear-gradient(180deg, rgba(16,34,52,.96), rgba(16,34,52,.86));
  color:#f8fafc;
  box-shadow:0 18px 34px rgba(16,34,52,.18);
}
.app-stat strong{
  display:block;
  font-size:34px;
  letter-spacing:-1px;
  margin-bottom:6px;
}
.app-stat span{
  font-size:13px;
  color:rgba(248,250,252,.82);
}
.feature-list{
  display:grid;
  gap:12px;
  margin-top:14px;
}
.feature-line{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:12px;
  align-items:start;
}
.feature-dot{
  width:38px;
  height:38px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, rgba(214,31,38,.14), rgba(12,70,95,.16));
  color:#102234;
  font-weight:900;
}
.timeline{
  display:grid;
  gap:12px;
}
.timeline-step{
  position:relative;
  padding:18px 18px 18px 58px;
  border-radius:22px;
  background:rgba(255,255,255,.84);
  border:1px solid rgba(20,22,26,.07);
  box-shadow:0 14px 26px rgba(20,22,26,.05);
}
.timeline-step::before{
  content:attr(data-step);
  position:absolute;
  left:16px;
  top:18px;
  width:28px;
  height:28px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:#d61f26;
  color:#fff;
  font-size:12px;
  font-weight:900;
}
.app-cta-band{
  position:relative;
  overflow:hidden;
  padding:26px;
  border-radius:30px;
  background:linear-gradient(135deg, #0f2435 0%, #15344c 48%, #8e171d 100%);
  color:#f8fafc;
  box-shadow:0 24px 54px rgba(15,36,53,.22);
}
.app-cta-band::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg, rgba(255,255,255,.08), rgba(255,255,255,0) 45%);
}
.app-cta-band h2,
.app-cta-band p{
  position:relative;
  margin:0;
}
.app-cta-band p{
  margin-top:10px;
  max-width:60ch;
  color:rgba(248,250,252,.82);
}
.app-cta-band .app-actions{
  position:relative;
  margin-top:18px;
}
.reveal{
  opacity:0;
  transform:translateY(18px);
  transition:opacity .6s ease, transform .6s ease;
}
.reveal.in-view{
  opacity:1;
  transform:translateY(0);
}
@keyframes phoneFloat{
  0%,100%{transform:translateY(0) rotate(var(--rot, 0deg))}
  50%{transform:translateY(-12px) rotate(var(--rot, 0deg))}
}
.phone-card.one{--rot:-8deg}
.phone-card.two{--rot:8deg}
.phone-card.three{--rot:-3deg}
@keyframes tagFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-10px)}
}
@media (prefers-reduced-motion: reduce){
  .phone-card,
  .floating-tag,
  .reveal{
    animation:none !important;
    transition:none !important;
    opacity:1 !important;
    transform:none !important;
  }
}
