/* ---------- Base ---------- */
:root{
  --bg: #ffffff;
  --panel: #f7f7f9;
  --panel2: #fff1f2;
  --text: #111111;
  --muted: #4b4b4b;
  --faint: #6b6b6b;
  --stroke: rgba(17,17,17,.12);
  --accent: #c5222a;
  --accent-strong: #a31921;
  --accent-soft: rgba(197,34,42,.14);
  --shadow: 0 16px 40px rgba(17,17,17,.12);
  --radius: 16px;
  --radius2: 22px;
  --max: 1100px;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: "Sora", sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 10% 0%, rgba(197,34,42,.10), transparent 55%),
    radial-gradient(900px 600px at 90% 10%, rgba(0,0,0,.06), transparent 60%),
    radial-gradient(900px 600px at 50% 100%, rgba(197,34,42,.08), transparent 55%),
    var(--bg);
  line-height: 1.6;
}

h1, h2, h3, .brand-text{
  font-family: "Fraunces", serif;
  letter-spacing: .2px;
}

a{ color: inherit; text-decoration: underline; text-underline-offset: 3px; }
a:hover{ opacity:.9; }
img{ max-width:100%; height:auto; display:block; }

.container{
  width: min(var(--max), calc(100% - 2rem));
  margin-inline:auto;
}

.skip-link{
  position:absolute;
  left:-999px;
  top: 0.5rem;
  padding: .6rem .9rem;
  background: #fff;
  color:#000;
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus{ left: 0.75rem; }

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid rgba(17,17,17,.08);
}
.site-header[data-scrolled="true"]{
  box-shadow: 0 10px 30px rgba(17,17,17,.12);
  background: rgba(255,255,255,.95);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1rem;
  padding: .9rem 0;
}

.brand{
  display:flex;
  align-items:center;
  gap: .7rem;
  text-decoration:none;
}
.brand-logo{
  height: 48px;
  width: auto;
  max-width: 160px;
  border-radius: 10px;
  border: 1px solid rgba(17,17,17,.08);
  background: transparent;
  box-shadow: var(--shadow);
  object-fit: contain;
}
.brand-text{
  font-weight: 700;
}

.nav{ display:flex; align-items:center; gap: 1rem; }
.nav-toggle{
  display:none;
  border: 1px solid var(--stroke);
  background: #fff;
  color: var(--text);
  border-radius: 12px;
  padding: .55rem .7rem;
  box-shadow: var(--shadow);
  font-weight: 600;
}
.nav-menu{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap: .85rem;
  align-items:center;
}
.nav-menu a{
  text-decoration:none;
  color: var(--muted);
  padding: .45rem .55rem;
  border-radius: 12px;
}
.nav-menu a:hover{ background: var(--panel2); color: var(--text); }
.pill{
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow);
}

/* ---------- Hero ---------- */
.hero{
  padding: 4.2rem 0 2.5rem;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 2rem;
  align-items:start;
}
.eyebrow{
  color: var(--muted);
  margin: 0 0 .8rem;
}
h1{
  font-size: clamp(2.2rem, 3.2vw, 3.1rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}
.lead{
  color: var(--muted);
  font-size: 1.06rem;
  margin: 0 0 1.4rem;
  max-width: 60ch;
}
.cta-row{
  display:flex;
  gap: .9rem;
  flex-wrap:wrap;
  margin: 1rem 0 1.2rem;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: .5rem;
  padding: .75rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  background: #fff;
  color: var(--text);
  text-decoration:none;
  cursor:pointer;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 25px rgba(17,17,17,.14);
}
.btn:active{ transform: translateY(0px); }
.btn.primary{
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn.ghost{
  background: transparent;
  border-color: var(--accent);
  color: var(--accent);
}
.btn.small{
  padding: .55rem .8rem;
  border-radius: 12px;
  font-size: .95rem;
}
.trust-list{
  display:flex;
  flex-direction:column;
  gap: .35rem;
  padding-left: 1.1rem;
  color: var(--muted);
  margin: 0 0 .9rem;
}
.fineprint{ color: var(--faint); margin:0; }
.muted{ color: var(--muted); }
.tiny{ font-size: .92rem; color: var(--faint); }
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); border:0;
}

/* ---------- Hero card preview ---------- */
.hero-card{
  background: linear-gradient(180deg, #ffffff, #fff5f5);
  border: 1px solid var(--stroke);
  border-radius: var(--radius2);
  padding: 1.2rem;
  box-shadow: var(--shadow);
}
.phone{
  border-radius: 26px;
  border: 1px solid rgba(17,17,17,.12);
  background: #fff;
  padding: .9rem;
}
.phone-top{
  height: 12px;
  width: 45%;
  margin: 0 auto .7rem;
  border-radius: 999px;
  background: rgba(17,17,17,.08);
}
.screen{
  border-radius: 18px;
  border: 1px solid rgba(17,17,17,.1);
  background: #fff;
  overflow:hidden;
}
.screen-header{
  display:flex;
  align-items:center;
  gap: .35rem;
  padding: .7rem .75rem;
  border-bottom: 1px solid rgba(17,17,17,.08);
}
.dot{ width: 9px; height: 9px; border-radius: 99px; background: rgba(17,17,17,.2); }
.dot.ok{ background: rgba(36, 122, 74, .65); }
.dot.warn{ background: rgba(197, 34, 42, .6); }
.dot.bad{ background: rgba(17, 17, 17, .6); }
.screen-title{ margin-left: .5rem; color: var(--muted); font-size:.95rem; }
.screen-body{ padding: .85rem; display:flex; flex-direction:column; gap:.75rem; }
.pill-input{
  padding: .65rem .75rem;
  border-radius: 14px;
  border: 1px solid rgba(17,17,17,.12);
  background: var(--panel);
  color: var(--faint);
}
.result{
  padding: .75rem;
  border-radius: 16px;
  border: 1px solid rgba(17,17,17,.10);
  background: #fff;
}
.mutedbox{ background: var(--panel); }
.badge{
  display:inline-flex;
  padding: .25rem .55rem;
  border-radius: 999px;
  border: 1px solid rgba(17,17,17,.14);
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: .55rem;
  background: #fff;
}
.badge.warn{ border-color: rgba(197,34,42,.35); background: rgba(197,34,42,.12); }
.badge.ok{ border-color: rgba(17,17,17,.2); background: rgba(17,17,17,.06); }
.result-title{ font-weight: 650; margin-bottom: .25rem; }
.result-text{ margin:0; color: var(--muted); font-size: .95rem; }
.screen-footer{
  display:flex;
  gap: .5rem;
}
.mini-btn{
  flex:1;
  border-radius: 14px;
  padding: .55rem .6rem;
  border: 1px solid rgba(17,17,17,.12);
  background: #fff;
  color: var(--text);
}
.hero-note{
  margin-top: 1rem;
  padding: .75rem .85rem;
  border-radius: 16px;
  border: 1px dashed rgba(197,34,42,.35);
  color: var(--muted);
  background: var(--panel2);
}

/* ---------- Sections ---------- */
.section{ padding: 3.2rem 0; }
.section.alt{
  background: #fff4f4;
  border-top: 1px solid rgba(197,34,42,.12);
  border-bottom: 1px solid rgba(197,34,42,.12);
}
h2{
  font-size: clamp(1.6rem, 2.3vw, 2.1rem);
  margin:0 0 .8rem;
}
.sublead{
  color: var(--muted);
  margin:0 0 1.4rem;
  max-width: 72ch;
}

.grid.cards{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.card{
  background: #fff;
  border: 1px solid rgba(17,17,17,.1);
  border-radius: var(--radius);
  padding: 1.05rem;
  box-shadow: var(--shadow);
}
.card h3{ margin:0 0 .4rem; }
.card p{ margin:0; color: var(--muted); }

.two-col{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 1.3rem;
  align-items:start;
}

.steps{
  color: var(--muted);
  padding-left: 1.2rem;
}

.panel{
  border-radius: var(--radius2);
  border: 1px solid rgba(17,17,17,.12);
  background: #fff;
  padding: 1.1rem;
  box-shadow: var(--shadow);
}
.q-list{
  margin: .6rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.contact-cards{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem;
  margin-top: 1rem;
}
.mini-card{
  border-radius: var(--radius);
  border: 1px solid rgba(17,17,17,.10);
  background: #fff;
  padding: .85rem 1rem;
  box-shadow: var(--shadow);
}
.mini-card h3{ margin:0 0 .35rem; }
.mini-card p{ margin:.2rem 0; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer{
  padding: 2.2rem 0;
}
.footer-inner{
  border-top: 1px solid rgba(17,17,17,.08);
  padding-top: 1.2rem;
}

/* ---------- Legal pages ---------- */
.legal{
  padding: 2.5rem 0 3rem;
  max-width: 75ch;
}
.legal h1{ margin-top: 1.2rem; }
.legal h2{ margin-top: 1.8rem; }
.legal p{ color: var(--muted); }

/* ---------- Animation ---------- */
@keyframes rise{
  from{ opacity: 0; transform: translateY(14px); }
  to{ opacity: 1; transform: translateY(0); }
}
.hero-copy{ animation: rise .6s ease-out both; }
.hero-card{ animation: rise .6s ease-out .1s both; }
.card{ animation: rise .6s ease-out both; }
.card:nth-child(2){ animation-delay: .08s; }
.card:nth-child(3){ animation-delay: .16s; }
.card:nth-child(4){ animation-delay: .24s; }
.panel{ animation: rise .6s ease-out .14s both; }
.mini-card{ animation: rise .6s ease-out both; }
.mini-card:nth-child(2){ animation-delay: .08s; }
.mini-card:nth-child(3){ animation-delay: .16s; }
.mini-card:nth-child(4){ animation-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 920px){
  .hero-grid, .two-col{ grid-template-columns: 1fr; }
  .grid.cards{ grid-template-columns: 1fr; }
}
@media (max-width: 620px){
  .contact-cards{ grid-template-columns: 1fr; }

  .nav-toggle{ display:inline-flex; }
  .nav-menu{
    position:absolute;
    right: 1rem;
    top: 64px;
    flex-direction: column;
    align-items: stretch;
    gap: .35rem;
    padding: .6rem;
    border-radius: 16px;
    border: 1px solid rgba(17,17,17,.12);
    background: #fff;
    box-shadow: var(--shadow);
    width: min(260px, calc(100vw - 2rem));
    display:none;
  }
  .nav-menu.open{ display:flex; }
  .nav-menu a{ padding: .65rem .75rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation: none !important; transition: none !important; }
  .btn:hover{ transform:none; }
}

