/* adamo. website: brand tokens from the adamo. design system */
:root {
  --navy: #163172;
  --navy-mid: #203E78;
  --navy-deep: #071230;
  --navy-darkest: #050D24;
  --blue-light: #9DB8F2;
  --blue-pale: #D3DDF5;
  --surface: #F4F6FB;
  --card: #FFFFFF;
  --ink: #0B1A45;
  --body: #374566;
  --muted: #4A5878;
  --label: #3A5A9E;
  --border: #DCE3F2;
  --footer-text: #9AA8C8;
  --radius-sm: 6px;
  --radius-md: 12px;
  --max: 1240px;
  --font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--surface); line-height: 1.5; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

/* ---------- Header / hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep) url("lines-hero.svg") right center / cover no-repeat;
  color: #FFFFFF;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,18,48,0.94) 0%, rgba(7,18,48,0.75) 45%, rgba(7,18,48,0.1) 80%);
}
.hero--home::before {
  background: linear-gradient(90deg, rgba(7,18,48,0.92) 0%, rgba(7,18,48,0.7) 38%, rgba(7,18,48,0) 70%);
}
.hero > * { position: relative; }
.hero--home { min-height: 820px; display: flex; flex-direction: column; }
.hero--home > .wrap { width: 100%; }

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 28px;
  padding-bottom: 28px;
}
.nav__logo { display: block; padding: 8px 0; }
.nav__logo img { width: 132px; height: auto; }
.nav__links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; font-size: 15px; font-weight: 500; }
.nav__links a { color: #E6ECFA; text-decoration: none; padding: 12px 0; }
.nav__links a:hover { color: #FFFFFF; }
.nav__links a[aria-current="page"] { color: #FFFFFF; text-decoration: underline; text-underline-offset: 8px; }
.nav__links .nav__cta { padding: 10px 18px; border: 1px solid rgba(201,215,246,0.5); border-radius: var(--radius-sm); }
.nav__links .nav__cta[aria-current="page"] { border-color: #FFFFFF; text-decoration: none; }

.hero__body { padding-top: 80px; padding-bottom: 120px; }
.hero--home .hero__body { flex: 1; display: flex; align-items: center; padding-top: 48px; }
.hero__inner { max-width: 800px; display: flex; flex-direction: column; gap: 24px; }
.hero--home .hero__inner { max-width: 680px; gap: 28px; }

.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--blue-light); }
.hero h1 { font-size: clamp(40px, 5.4vw, 76px); line-height: 1.03; font-weight: 400; letter-spacing: -0.04em; }
.hero--home h1 { font-size: clamp(44px, 6.4vw, 84px); line-height: 1.02; font-weight: 700; letter-spacing: -0.035em; }
.hero__sub { font-size: 20px; line-height: 1.55; color: var(--blue-pale); max-width: 600px; }
.hero--home .hero__sub { font-size: 21px; line-height: 1.5; max-width: 560px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.btn--white { background: #FFFFFF; color: var(--navy); }
.btn--white:hover { background: #E6ECFA; color: var(--navy); }
.btn--navy { background: var(--navy); color: #FFFFFF; }
.btn--navy:hover { background: var(--navy-mid); color: #FFFFFF; }
.btn svg { width: 18px; height: 18px; }

/* ---------- Sections ---------- */
.section { padding-top: 120px; padding-bottom: 120px; }
.section--tight-bottom { padding-bottom: 80px; }
.section--flush-top { padding-top: 0; }
.band-white { background: var(--card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.band-white .section { padding-top: 110px; padding-bottom: 110px; }
.stack { display: flex; flex-direction: column; gap: 56px; }
.stack--40 { gap: 40px; }

.h2 { font-size: clamp(36px, 4vw, 56px); line-height: 1.06; letter-spacing: -0.04em; font-weight: 400; color: var(--navy); }
.statement { max-width: 980px; font-size: clamp(26px, 3vw, 40px); line-height: 1.25; letter-spacing: -0.03em; font-weight: 400; color: var(--navy); }
.lead { max-width: 720px; font-size: 18px; line-height: 1.65; color: var(--body); }
.label { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--label); }

.split { display: flex; flex-wrap: wrap; gap: 32px 80px; align-items: flex-start; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split__text { display: flex; flex-direction: column; gap: 20px; font-size: 18px; line-height: 1.65; color: var(--body); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grid--300 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--320 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--340 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.card--sm { padding: 36px; gap: 14px; }
.card--feature { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
.card--feature .label { color: var(--blue-light); }
.card--feature .card__text { color: var(--blue-pale); }
.card--feature a { color: #C9D7F6; }
.card--feature a:hover { color: #FFFFFF; }
.card__title { font-size: 32px; line-height: 1.1; letter-spacing: -0.035em; font-weight: 400; color: var(--navy); }
.card--feature .card__title { color: #FFFFFF; }
.card__title--sm { font-size: 26px; line-height: 1.15; letter-spacing: -0.03em; }
.card__text { font-size: 17px; line-height: 1.6; color: var(--body); flex: 1; }
.card--sm .card__text { font-size: 16px; flex: none; }
.card__link { font-weight: 500; font-size: 16px; text-decoration: none; padding: 12px 0; }

.list-lines { margin: 0; padding: 0; list-style: none; }
.list-lines li { padding: 16px 0; border-top: 1px solid var(--border); font-size: 17px; line-height: 1.5; color: var(--body); }
.card--feature .list-lines li { border-top-color: rgba(201,215,246,0.25); color: var(--blue-pale); }

/* ---------- Steps ---------- */
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.steps--4 { gap: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.step { display: flex; flex-direction: column; gap: 14px; border-top: 2px solid var(--navy); padding-top: 24px; }
.step__num { font-size: 14px; font-weight: 700; color: var(--label); }
.step__title { font-size: 26px; line-height: 1.15; letter-spacing: -0.03em; font-weight: 400; color: var(--ink); }
.step__text { font-size: 16px; line-height: 1.6; color: var(--muted); }
.step__big { font-size: 20px; line-height: 1.4; letter-spacing: -0.02em; color: var(--ink); }

/* ---------- Founder ---------- */
.founder { display: flex; flex-wrap: wrap; gap: 48px 80px; align-items: center; }
.founder__photo { flex: 0 0 360px; width: 360px; max-width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius-md); }
.founder__text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.founder__text p { font-size: 18px; line-height: 1.65; color: var(--body); }
.facts { margin: 8px 0 0; padding-top: 24px; border-top: 1px solid var(--border); display: grid; gap: 16px 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.facts div { display: flex; flex-direction: column; gap: 6px; }
.facts dt { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--label); }
.facts dd { margin: 0; font-size: 20px; letter-spacing: -0.02em; color: var(--navy); }

/* ---------- CTA band ---------- */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--navy-deep) url("lines-band.svg") center / cover no-repeat;
  color: #FFFFFF;
}
.cta .wrap { padding-top: 120px; padding-bottom: 120px; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; justify-content: space-between; }
.cta__text { max-width: 620px; display: flex; flex-direction: column; gap: 20px; }
.cta h2 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.05; letter-spacing: -0.04em; font-weight: 400; }
.cta p { font-size: 19px; line-height: 1.6; color: var(--blue-pale); }
.cta .btn { padding: 18px 28px; font-size: 17px; }

/* ---------- Contact ---------- */
.contact { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start; }
.contact__details { flex: 1 1 320px; min-width: 0; }
.detail { padding: 24px 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; }
.detail:last-child { border-bottom: 1px solid var(--border); }
.detail__value { font-size: 24px; line-height: 1.3; letter-spacing: -0.02em; color: var(--navy); text-decoration: none; overflow-wrap: anywhere; }
.contact__form { flex: 1.4 1 440px; min-width: 0; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 40px; }
.form { display: flex; flex-direction: column; gap: 20px; }
.form__row { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 16px;
  padding: 14px 16px;
  border: 1px solid #C5D0E8;
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: #FFFFFF;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.form__note { font-size: 14px; color: var(--muted); }
.form__error { font-size: 15px; color: #A42020; }
.form__done { display: flex; flex-direction: column; gap: 12px; padding: 24px 0; }
.form__done h2 { font-size: 32px; line-height: 1.1; letter-spacing: -0.035em; font-weight: 400; color: var(--navy); }
.form__done p { font-size: 18px; line-height: 1.6; color: var(--body); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-darkest); color: var(--footer-text); font-size: 14px; }
.footer a { color: #C9D7F6; text-decoration: none; }
.footer a:hover { color: #FFFFFF; }
.footer__main { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.footer__brand { display: flex; flex-direction: column; gap: 12px; }
.footer__brand img { width: 104px; height: auto; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__legal { padding-bottom: 40px; }
.footer__legal p { padding-top: 24px; border-top: 1px solid #1C2A50; font-size: 11px; line-height: 1.6; }
.footer--legal .footer__main { padding-bottom: 24px; }

/* ---------- Small screens ---------- */
@media (max-width: 720px) {
  .hero--home { min-height: 0; }
  .hero__body { padding-top: 40px; padding-bottom: 80px; }
  .hero--home .hero__body { padding-top: 32px; padding-bottom: 88px; }
  .nav { padding-top: 20px; padding-bottom: 12px; }
  .nav__links { gap: 4px 20px; font-size: 14px; }
  .section, .band-white .section { padding-top: 72px; padding-bottom: 72px; }
  .section--flush-top { padding-top: 0; }
  .section--tight-bottom { padding-bottom: 56px; }
  .stack { gap: 36px; }
  .card { padding: 28px; }
  .contact__form { padding: 24px; }
  .cta .wrap { padding-top: 80px; padding-bottom: 80px; }
  .hero__sub, .hero--home .hero__sub { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}
