:root {
  --ink: #152438;
  --muted: #607084;
  --paper: #f5f2eb;
  --white: #fffdf8;
  --line: rgba(21, 36, 56, .14);
  --blue: #175fd3;
  --blue-dark: #0d3982;
  --lime: #d9f75f;
  --shadow: 0 24px 70px rgba(14, 35, 66, .12);
  --radius: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 99; padding: .7rem 1rem; background: var(--ink); color: white; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }

.site-header { position: absolute; z-index: 10; width: 100%; top: 0; color: white; }
.nav { min-height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { width: 35px; height: 35px; border: 1px solid rgba(255,255,255,.36); border-radius: 50%; display: grid; place-items: center; font-size: .78rem; letter-spacing: -.08em; }
.brand em { font-style: normal; color: var(--lime); }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: .9rem; }
.nav-links a { text-decoration: none; color: rgba(255,255,255,.8); }
.nav-links a:hover { color: white; }
.nav-cta { padding: 10px 16px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; }

.hero { position: relative; overflow: hidden; min-height: 800px; padding: 190px 0 105px; color: white; background: #10233d; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 82% 25%, rgba(57,128,255,.5), transparent 34%), radial-gradient(circle at 20% 110%, rgba(34,99,211,.35), transparent 42%), linear-gradient(135deg, #10233d, #091321); }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .18; background-image: linear-gradient(rgba(255,255,255,.11) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.11) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(to bottom, black, transparent); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 70px; align-items: end; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 26px; color: var(--lime); text-transform: uppercase; font-size: .76rem; font-weight: 800; letter-spacing: .16em; }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; }
h1 { max-width: 850px; margin: 0; font-size: clamp(3.4rem, 7.5vw, 7.3rem); line-height: .94; letter-spacing: -.065em; font-weight: 720; }
.hero h1 span { color: #c9d8ed; }
.hero-side { padding-bottom: 8px; }
.hero-side p { margin: 0 0 30px; color: rgba(255,255,255,.72); font-size: 1.15rem; }
.button { display: inline-flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 22px; border-radius: 999px; background: var(--lime); color: #142215; font-weight: 800; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); background: #e4ff75; }
.button::after { content: "↗"; font-size: 1.15rem; }
.hero-footer { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 20px; margin-top: 120px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.52); font-size: .8rem; text-transform: uppercase; letter-spacing: .11em; }

section { padding: 120px 0; }
.section-head { display: grid; grid-template-columns: .6fr 1.4fr; gap: 60px; margin-bottom: 64px; }
.kicker { margin: 7px 0 0; color: var(--blue); font-size: .74rem; text-transform: uppercase; letter-spacing: .17em; font-weight: 850; }
h2 { margin: 0; max-width: 800px; font-size: clamp(2.2rem, 5vw, 4.6rem); line-height: 1.02; letter-spacing: -.055em; }
.intro-copy { max-width: 760px; margin-left: auto; font-size: clamp(1.3rem, 2.2vw, 2rem); line-height: 1.35; letter-spacing: -.025em; }
.intro-copy strong { color: var(--blue); }
.services { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 80px; border-top: 1px solid var(--line); }
.service { min-height: 220px; padding: 28px 30px 20px 0; border-right: 1px solid var(--line); }
.service + .service { padding-left: 30px; }
.service:last-child { border-right: 0; }
.num { color: var(--blue); font: 800 .75rem/1 monospace; }
.service h3 { margin: 55px 0 10px; font-size: 1.24rem; }
.service p { margin: 0; color: var(--muted); }

.portfolio { background: var(--white); }
.portfolio-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.card { position: relative; overflow: hidden; min-height: 340px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: #edf2fa; display: flex; flex-direction: column; justify-content: space-between; transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card:nth-child(1), .card:nth-child(4) { grid-column: span 7; }
.card:nth-child(2), .card:nth-child(3) { grid-column: span 5; }
.card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -65px; top: -65px; border: 42px solid rgba(23,95,211,.09); border-radius: 50%; }
.card.warm { background: #f4eadd; }
.card.dark { color: white; background: #132740; }
.card.green { background: #edf3d7; }
.card-tag { position: relative; z-index: 1; font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.dark .card-tag { color: rgba(255,255,255,.58); }
.card h3 { position: relative; z-index: 1; margin: 0 0 8px; font-size: clamp(1.6rem, 3vw, 2.6rem); letter-spacing: -.045em; }
.card p { position: relative; z-index: 1; max-width: 450px; margin: 0; color: var(--muted); }
.dark p { color: rgba(255,255,255,.65); }
.account-list { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(21,36,56,.13); }
.dark .account-list { border-top-color: rgba(255,255,255,.14); }
.account-label { width: 100%; margin-bottom: 2px; color: var(--muted); font-size: .66rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.dark .account-label { color: rgba(255,255,255,.5); }
.account-placeholder { display: inline-flex; padding: 6px 9px; border: 1px dashed currentColor; border-radius: 999px; color: var(--blue-dark); font-size: .72rem; font-weight: 750; text-decoration: none; }
.account-placeholder[href] { border-style: solid; }
.account-placeholder[href]:hover { color: var(--blue); background: rgba(255,255,255,.45); }
.dark .account-placeholder { color: #c7d8f2; }

.proof { color: white; background: var(--blue); }
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.stat { font-size: clamp(4rem, 10vw, 9rem); font-weight: 760; letter-spacing: -.075em; line-height: .9; }
.stat span { color: var(--lime); }
.stat-unit { margin-top: 18px; color: white; font-size: clamp(1.25rem, 2.4vw, 2rem); font-weight: 750; line-height: 1.1; letter-spacing: -.025em; }
.proof p { max-width: 520px; color: rgba(255,255,255,.75); font-size: 1.15rem; }
.proof small { display: block; margin-top: 24px; color: rgba(255,255,255,.52); }

.contact-box { position: relative; overflow: hidden; padding: 70px; color: white; border-radius: 36px; background: #101d2d; box-shadow: var(--shadow); }
.contact-box::after { content: "UM"; position: absolute; right: -20px; bottom: -80px; color: rgba(255,255,255,.045); font-size: 18rem; font-weight: 900; line-height: 1; letter-spacing: -.12em; }
.contact-box h2 { max-width: 750px; }
.contact-box p { max-width: 600px; margin: 25px 0 38px; color: rgba(255,255,255,.68); font-size: 1.08rem; }

footer { padding: 0 0 35px; }
.footer-row { display: flex; justify-content: space-between; gap: 24px; padding-top: 35px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.footer-links { display: flex; gap: 22px; }
.footer-links a:hover { color: var(--blue); }

.legal-header { position: static; color: var(--ink); }
.legal-header .nav-links a { color: var(--muted); }
.legal-header .brand-mark { border-color: var(--line); }
.legal-header .brand em { color: var(--blue); }
.legal-main { padding: 80px 0 120px; }
.draft { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 30px; padding: 8px 12px; border: 1px solid #d29b2e; border-radius: 999px; background: #fff3d4; color: #6c4b05; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.legal-main h1 { max-width: 900px; margin: 0 0 clamp(40px, 6vw, 72px); color: var(--ink); font-size: clamp(3rem, 7vw, 6.5rem); line-height: 1; }
.legal-lead { max-width: 760px; margin: 28px 0 70px; color: var(--muted); font-size: 1.15rem; }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 760px); gap: 80px; align-items: start; }
.legal-toc { position: sticky; top: 25px; padding-top: 5px; }
.legal-toc a { display: block; padding: 8px 0; color: var(--muted); font-size: .86rem; text-decoration: none; }
.legal-toc a:hover { color: var(--blue); }
.legal-content h2 { margin: 65px 0 18px; font-size: 1.65rem; letter-spacing: -.025em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { margin: 30px 0 10px; font-size: 1.08rem; }
.legal-content p, .legal-content li { color: #4f5e70; }
.legal-content a { color: var(--blue-dark); text-underline-offset: 3px; }
.legal-content ul { padding-left: 1.2rem; }
.placeholder { padding: 2px 6px; border-radius: 4px; background: #fff0a8; color: #3d3411; font-weight: 700; }
.legal-note { padding: 20px; border-left: 4px solid var(--blue); background: #eaf1fd; color: #31455e; }
.account-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .92rem; }
.account-table th, .account-table td { padding: 13px 10px; text-align: left; border-bottom: 1px solid var(--line); }
.account-table th { color: var(--ink); }
.legal-content { min-width: 0; }

@media (max-width: 850px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { min-height: auto; padding-top: 155px; }
  .hero-grid, .section-head, .proof-grid, .legal-layout { grid-template-columns: 1fr; gap: 35px; }
  .hero-footer { margin-top: 80px; }
  section { padding: 85px 0; }
  .services { grid-template-columns: 1fr; }
  .service, .service + .service { min-height: 0; padding: 25px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .service h3 { margin-top: 28px; }
  .card:nth-child(n) { grid-column: span 12; }
  .legal-toc { display: none; }
}
@media (max-width: 560px) {
  .wrap { width: min(calc(100% - 26px), var(--max)); }
  .nav { min-height: 76px; }
  .brand-text { font-size: .86rem; }
  .hero { padding-bottom: 75px; }
  .hero-side p { font-size: 1rem; }
  .hero-footer { display: none; }
  .card { min-height: 290px; padding: 25px; }
  .contact-box { padding: 45px 25px; border-radius: 24px; }
  .footer-row { flex-direction: column; }
  .legal-main { padding-top: 45px; }
  .account-table, .account-table tbody { display: block; }
  .account-table thead { display: none; }
  .account-table tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .account-table td { display: inline; padding: 0; border: 0; }
  .account-table td:first-child { display: block; margin-bottom: 2px; color: var(--ink); font-weight: 700; }
  .account-table td:nth-child(2)::after, .account-table td:nth-child(3)::after { content: " · "; }
  .legal-content h2 { overflow-wrap: break-word; hyphens: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
