/* Shared company-site style (direction A: classic, white + one accent).
   Each site sets --accent, --accent-ink, --tint in its own <style> block. */
:root {
  --ink: #0f1b2d;
  --muted: #4a5870;
  --soft: #6b778c;
  --line: #e4e8ef;
  --bg-alt: #f5f7fb;
  --accent: #1d4ed8;
  --accent-ink: #1740b0;
  --tint: #e8eefc;
  --radius: 14px;
  --wrap: 72rem;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: #fff; font-size: 1rem; line-height: 1.6; }
img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; font-weight: 600; letter-spacing: -0.01em; margin: 0; line-height: 1.12; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.5rem; }
.kicker { color: var(--accent); font-weight: 600; letter-spacing: 0.14em; font-size: 0.8rem; text-transform: uppercase; }
.lead { font-size: 1.15rem; color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.5rem; border-radius: 0.55rem; font-weight: 600; font-size: 0.95rem; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; transition: background .15s, border-color .15s, color .15s; }
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-ink); }
.btn--ghost { border-color: #c9d2e3; color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--small { padding: 0.6rem 1.1rem; font-size: 0.875rem; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__inner { display: flex; align-items: center; gap: 2rem; height: 4.5rem; }
.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand__mark { width: 2.25rem; height: 2.25rem; flex: none; }
.brand__name { font-family: Fraunces, Georgia, serif; font-weight: 600; font-size: 1.3rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand__name small { font-family: Inter, sans-serif; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; color: var(--accent); margin-left: 0.4rem; vertical-align: 0.15em; }
.nav__links { display: flex; gap: 2rem; margin-left: auto; list-style: none; padding: 0; }
.nav__links a { color: var(--muted); font-size: 0.95rem; font-weight: 500; }
.nav__links a:hover { color: var(--ink); text-decoration: none; }
.nav__cta { margin-left: 0.5rem; }
.nav__toggle { display: none; margin-left: auto; background: none; border: 0; padding: 0.5rem; cursor: pointer; color: var(--ink); }
.nav__toggle span { display: block; width: 1.4rem; height: 2px; background: currentColor; margin: 0.3rem 0; border-radius: 2px; }
.mobile-menu { border-top: 1px solid var(--line); background: #fff; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0.75rem 1.5rem 1.25rem; }
.mobile-menu a { display: block; padding: 0.7rem 0; color: var(--ink); font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu li:last-child a { border-bottom: 0; }

/* hero */
.hero { padding: 5rem 0 4.5rem; }
.hero__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3.5rem; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.7rem); margin: 1rem 0 1.4rem; letter-spacing: -0.02em; }
.hero .lead { max-width: 36rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2rem; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2.2rem; }
.chip { font-size: 0.8rem; font-weight: 600; color: var(--accent); background: var(--tint); padding: 0.35rem 0.8rem; border-radius: 2rem; }

.stack { position: relative; height: 24rem; }
.pcard { position: absolute; width: 14rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1.2rem 2.6rem rgba(15,27,45,.12); padding: 0.85rem; }
.pcard__img { height: 9.5rem; border-radius: 0.65rem; display: flex; align-items: center; justify-content: center; }
.pcard__img svg { width: 4.2rem; height: 4.2rem; }
.pcard__l1 { height: 0.7rem; width: 82%; background: #e7ebf2; border-radius: 1rem; margin: 0.9rem 0 0.5rem; }
.pcard__l2 { height: 0.7rem; width: 52%; background: #eef1f6; border-radius: 1rem; }
.pcard__row { display: flex; justify-content: space-between; align-items: center; margin-top: 0.85rem; font-size: 0.8rem; font-weight: 600; color: var(--soft); }
.pcard__row em { font-style: normal; color: var(--accent); background: var(--tint); padding: 0.2rem 0.6rem; border-radius: 1rem; }
.pcard--1 { left: 0; top: 2.6rem; transform: rotate(-4deg); }
.pcard--2 { left: 13.8rem; top: 0; z-index: 2; }
.pcard--3 { left: 9rem; top: 18.6rem; z-index: 3; width: 15.5rem; padding: 0.9rem 1rem; display: flex; align-items: center; gap: 0.75rem; }
.pcard--3 .dot { width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--tint); color: var(--accent); display: flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.pcard--3 b { display: block; font-size: 0.9rem; }
.pcard--3 span { font-size: 0.8rem; color: var(--soft); }

/* sections */
.section { padding: 5rem 0; }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 40rem; margin-bottom: 2.75rem; }
.section__head h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin: 0.8rem 0 1rem; }

.grid { display: grid; gap: 1.5rem; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; }
.card__ic { width: 2.9rem; height: 2.9rem; border-radius: 0.65rem; background: var(--tint); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; }
.card__ic svg { width: 1.45rem; height: 1.45rem; }
.card h3 { font-size: 1.3rem; margin-bottom: 0.6rem; }
.card p { color: var(--muted); font-size: 0.97rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.split h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin: 0.8rem 0 1.2rem; }
.split p + p { margin-top: 1rem; }
.split p { color: var(--muted); font-size: 1.05rem; }
.split p.kicker { color: var(--accent); font-size: 0.8rem; }
.facts { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.facts div { display: flex; justify-content: space-between; gap: 1.5rem; padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--line); font-size: 0.97rem; }
.facts div:last-child { border-bottom: 0; }
.facts dt { color: var(--soft); }
.facts dd { margin: 0; font-weight: 600; text-align: right; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { position: relative; padding-top: 3.4rem; }
.steps li::before { counter-increment: step; content: "0" counter(step); position: absolute; top: 0; left: 0; font-family: Fraunces, Georgia, serif; font-size: 1.15rem; font-weight: 600; color: var(--accent); width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--tint); display: flex; align-items: center; justify-content: center; }
.steps h3 { font-size: 1.15rem; margin-bottom: 0.45rem; }
.steps p { color: var(--muted); font-size: 0.95rem; }

/* contact */
.contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3.5rem; align-items: start; }
.contact h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin: 0.8rem 0 1rem; }
.contact__lines { margin-top: 2rem; display: grid; gap: 1.1rem; }
.contact__line { display: flex; gap: 0.9rem; align-items: flex-start; }
.contact__line .card__ic { margin: 0; width: 2.5rem; height: 2.5rem; flex: none; }
.contact__line b { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--soft); font-weight: 600; }
.contact__line span, .contact__line a { font-size: 1rem; font-weight: 500; color: var(--ink); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; display: grid; gap: 1rem; box-shadow: 0 1rem 2.4rem rgba(15,27,45,.06); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: 0.4rem; font-size: 0.85rem; font-weight: 600; color: var(--muted); }
.form input, .form select, .form textarea { font: inherit; font-size: 1rem; color: var(--ink); border: 1.5px solid #d5dce8; border-radius: 0.55rem; padding: 0.75rem 0.85rem; background: #fff; width: 100%; }
.form textarea { min-height: 8rem; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--tint); }
.form .is-invalid { border-color: #c2410c; }
.form__note { font-size: 0.88rem; color: var(--soft); min-height: 1.2em; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 3rem 0 2.5rem; background: #fff; }
.footer__top { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer__top p { color: var(--muted); font-size: 0.93rem; max-width: 24rem; margin-top: 0.9rem; }
.footer__links { display: flex; gap: 3.5rem; }
.footer__links b { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--soft); margin-bottom: 0.8rem; }
.footer__links a, .footer__links span { display: block; color: var(--ink); font-size: 0.93rem; margin-bottom: 0.45rem; }
.footer__base { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: grid; gap: 0.4rem; }
.footer__base p { font-size: 0.82rem; color: var(--soft); }

/* legal pages */
.legal { padding: 3.5rem 0 4.5rem; }
.legal__inner { max-width: 46rem; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal .updated { color: var(--soft); margin: 0.6rem 0 2rem; font-size: 0.92rem; }
.legal h2 { font-size: 1.35rem; margin: 2.2rem 0 0.7rem; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: 0.4rem; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* responsive */
@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 2.2rem; }
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .stack { height: 22rem; max-width: 30rem; }
  .split, .contact { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 820px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
}
@media (max-width: 600px) {
  .hero { padding: 3rem 0 3.5rem; }
  .section { padding: 3.75rem 0; }
  .grid--4, .grid--2, .steps, .form__row { grid-template-columns: 1fr; }
  .stack { display: none; }
  .footer__links { flex-direction: column; gap: 1.5rem; }
  .facts div { flex-direction: column; gap: 0.2rem; }
  .facts dd { text-align: left; }
  .brand__name { font-size: 1.1rem; }
}
