/* Warde — calm, photo-led, light. Navy ink, green accents, Figtree, Phosphor icons. */
:root {
  --bg: #FBF8F3;
  --surface: #FFFFFF;
  --sand: #F3EDE3;
  --ink: #0F1E3D;
  --ink-2: #33405C;
  --muted: #667089;
  --line: #E8E1D6;
  --green: #1BB477;
  --green-600: #0E8F5C;
  --green-50: #E7F6EE;
  --navy: #0F1E3D;
  --radius: 32px;
  --radius-sm: 18px;
  --shadow: 0 24px 48px -28px rgba(15, 30, 61, .35);
  --shadow-chip: 0 14px 34px -16px rgba(15, 30, 61, .38);
  --font: 'Figtree', system-ui, sans-serif;
  --gutter: clamp(20px, 4vw, 48px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 8px; }
.icon { width: 1em; height: 1em; flex: none; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }

/* nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 23px; letter-spacing: -0.02em; }
.brand svg { width: 30px; height: 33px; }
.links { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 34px); }
.links a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 16px; color: var(--ink-2); }
.links a:not(.btn):hover { color: var(--ink); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 17px/1 var(--font); text-decoration: none; padding: 16px 26px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; transition: background-color .2s ease, transform .2s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: #1C2F57; }
.btn-outline { border-color: rgba(15, 30, 61, .2); color: var(--ink); padding: 11px 20px; font-size: 15.5px; }
.btn-outline:hover { border-color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 17px; text-decoration: none; color: var(--ink); }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(24px, 5vw, 64px) 0 clamp(56px, 8vw, 104px); }
.kicker { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--green-50); color: var(--green-600); font-weight: 600; font-size: 14.5px; }
.kicker .icon { width: 18px; height: 18px; }
.hero h1 { font-size: clamp(40px, 5.2vw, 62px); margin: 22px 0 20px; }
.hero h1 .soft { color: var(--green-600); }
.hero .sub { font-size: clamp(18px, 1.7vw, 21px); color: var(--muted); max-width: 30em; }
.hero .ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 34px; }
.facts { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.fact { display: inline-flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 500; color: var(--ink-2); }
.fact .ic { width: 38px; height: 38px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--green-600); }
.fact .ic .icon { width: 21px; height: 21px; }

.hero-visual { position: relative; justify-self: center; width: min(100%, 440px); }
.photo { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand); box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.chip { position: absolute; display: flex; align-items: flex-start; gap: 11px; max-width: 290px; padding: 13px 15px; border-radius: var(--radius-sm); background: rgba(255, 255, 255, .96); box-shadow: var(--shadow-chip); font-size: 14.5px; line-height: 1.4; color: var(--ink); backdrop-filter: blur(8px); }
.chip .ic { width: 34px; height: 34px; flex: none; border-radius: 11px; display: grid; place-items: center; }
.chip .ic .icon { width: 20px; height: 20px; }
.chip .ic.navy { background: #EDF0F7; color: var(--navy); }
.chip .ic.green { background: var(--green-50); color: var(--green-600); }
.chip b { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 1px; }
.hero-visual .c1 { top: 9%; left: -18%; }
.hero-visual .c2 { top: 44%; right: -16%; }
.hero-visual .c3 { bottom: 8%; left: -12%; }

/* protections carousel */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.panel { position: relative; background: var(--surface); border-radius: 48px; margin: 0 clamp(8px, 1.4vw, 20px); overflow: hidden; isolation: isolate; }
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(28px, 4vw, 44px); }
.head h2 { font-size: clamp(32px, 4vw, 46px); }
.head p { margin-top: 12px; font-size: 19px; color: var(--muted); }
.arrows { display: flex; gap: 10px; }
.arrow { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(15, 30, 61, .18); background: var(--surface); display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: border-color .2s ease, opacity .2s ease; }
.arrow:hover { border-color: var(--ink); }
.arrow[disabled] { opacity: .35; cursor: default; }
.arrow .icon { width: 20px; height: 20px; }
/* full-bleed track whose first card lines up with the page content */
.track { --edge: max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))); display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px var(--edge) 8px; scroll-padding-inline: var(--edge); margin: 0 calc(50% - 50vw); scrollbar-width: none; }
.track::-webkit-scrollbar { display: none; }
.card { flex: 0 0 clamp(260px, 29%, 340px); scroll-snap-align: start; }
.card .photo { box-shadow: none; }
.card .chip { left: 14px; right: 14px; bottom: 14px; max-width: none; opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.card.in .chip { opacity: 1; transform: none; }
.card h3 { font-size: 22px; margin-top: 18px; }
.card p { margin-top: 6px; font-size: 16.5px; color: var(--muted); }
.dots { display: flex; gap: 8px; margin-top: 26px; }
.dots span { width: 8px; height: 8px; border-radius: 999px; background: #D8D2C7; transition: all .3s ease; }
.dots span.on { width: 26px; background: var(--ink); }

/* reveal */
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--green-50); }

/* stats */
.stats { padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 56px); }
.stats-curve { position: absolute; right: 0; top: 0; width: 55%; height: 100%; z-index: -1; pointer-events: none; }
.stats h2 { font-size: clamp(32px, 4vw, 46px); max-width: 14em; }
.stats .lede { margin-top: 12px; font-size: 19px; color: var(--muted); }
.stat-row { display: flex; flex-wrap: wrap; gap: clamp(28px, 6vw, 80px); margin-top: clamp(32px, 4vw, 44px); }
.stat .num { font-size: clamp(44px, 5.4vw, 64px); font-weight: 700; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat .lbl { margin-top: 8px; font-size: 17px; color: var(--muted); }
.source { margin-top: 32px; font-size: 13.5px; color: #8E95A6; }
.source a { color: inherit; }

/* how it works */
.center-head { text-align: center; max-width: 620px; margin: 0 auto clamp(36px, 5vw, 56px); }
.center-head h2 { font-size: clamp(32px, 4vw, 46px); }
.center-head p { margin-top: 12px; font-size: 19px; color: var(--muted); }
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 4vw, 48px); text-align: center; }
.steps::before { content: ""; position: absolute; top: 40px; left: 16.6%; right: 16.6%; border-top: 2px dashed #D9D1C3; z-index: -1; }
.steps li { display: flex; flex-direction: column; align-items: center; }
.step-ic { position: relative; width: 80px; height: 80px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--green-600); box-shadow: 0 12px 28px -18px rgba(15, 30, 61, .35); transition: background-color .4s ease, color .4s ease, transform .4s ease; }
.step-ic .icon { width: 36px; height: 36px; }
.step-ic::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid var(--green); opacity: 0; transform: scale(.85); transition: opacity .4s ease, transform .4s ease; }
.steps li.on .step-ic { background: var(--green-50); transform: translateY(-3px); }
.steps li.on .step-ic::after { opacity: .5; transform: scale(1); }
.steps h3 { font-size: 22px; margin-top: 20px; }
.steps p { margin-top: 6px; font-size: 17px; color: var(--muted); max-width: 18em; }

/* carriers band */
.band { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; background: var(--navy); color: #fff; border-radius: 40px; padding: clamp(32px, 5vw, 64px); position: relative; overflow: hidden; isolation: isolate; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 0% 100%, rgba(27, 180, 119, .22), transparent 70%); }
.band h2 { font-size: clamp(30px, 3.6vw, 42px); }
.band-copy p { margin-top: 14px; font-size: 19px; color: rgba(255, 255, 255, .72); max-width: 22em; }
.band .btn { margin-top: 28px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.tile { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; padding: 22px; }
.tile .ic { width: 44px; height: 44px; border-radius: 14px; background: rgba(27, 180, 119, .16); color: #5FE0A8; display: grid; place-items: center; }
.tile .ic .icon { width: 24px; height: 24px; }
.tile h3 { font-size: 18px; margin-top: 14px; }
.tile p { margin-top: 4px; font-size: 15.5px; color: rgba(255, 255, 255, .66); line-height: 1.5; }

/* contact */
.contact { padding-top: 0; }
.contact-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); background: var(--surface); border-radius: 40px; padding: clamp(28px, 5vw, 60px); box-shadow: 0 30px 60px -48px rgba(15, 30, 61, .4); }
.contact-copy h2 { font-size: clamp(34px, 4.4vw, 52px); }
.contact-copy p { margin-top: 14px; font-size: 19px; color: var(--muted); max-width: 22em; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.field .opt { font-weight: 400; color: #8E95A6; }
.field input, .field textarea { font: 400 17px/1.4 var(--font); color: var(--ink); background: var(--bg); border: 1.5px solid transparent; border-radius: 16px; padding: 14px 16px; width: 100%; transition: border-color .2s ease, background-color .2s ease; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green); background: #fff; }
#lead-form .btn { margin-top: 18px; width: 100%; justify-content: center; }
#lead-form .btn[disabled] { opacity: .6; cursor: wait; }
.form-note { margin-top: 12px; font-size: 14px; color: #8E95A6; text-align: center; }
.form-err { margin-top: 8px; font-size: 15px; font-weight: 600; color: #B4232A; text-align: center; }
.form-err:empty { display: none; }
.form-done { text-align: center; padding: 48px 12px; }
.form-done .ok { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--green-50); color: var(--green-600); }
.form-done .ok .icon { width: 34px; height: 34px; }
.form-done h3 { font-size: 26px; margin-top: 16px; }
.form-done p { margin-top: 6px; color: var(--muted); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* footer */
.footer { padding: 12px 0 40px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-top: 28px; border-top: 1px solid var(--line); }
.footer .brand { font-size: 20px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.footer nav a { text-decoration: none; font-weight: 500; font-size: 15.5px; color: var(--ink-2); }
.footer nav a:hover { color: var(--green-600); }
.fine { margin-top: 18px; font-size: 14px; color: #8E95A6; }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { width: min(84%, 400px); margin-top: 12px; }
  .hero-visual .c1 { left: -12%; } .hero-visual .c2 { right: -12%; } .hero-visual .c3 { left: -8%; }
  .card { flex-basis: 72%; }
  .band, .contact-card { grid-template-columns: 1fr; }
  .stats-curve { width: 90%; opacity: .6; }
}
@media (max-width: 640px) {
  .links a:not(.btn) { display: none; }
  .chip { font-size: 13.5px; padding: 11px 12px; max-width: 230px; }
  .chip .ic { width: 30px; height: 30px; }
  .card { flex-basis: 82%; }
  .arrows { display: none; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps::before { display: none; }
  .tiles, .fields { grid-template-columns: 1fr; }
  .tiles { gap: 10px; }
  .tile { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 16px; }
  .tile .ic { grid-row: span 2; }
  .tile h3 { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
