:root {
  --ink: #1B2B3C;
  --navy: #233548;
  --deep: #16222F;
  --blue: #4F86C6;
  --blue-text: #2F6AAE;
  --blue-soft: #7FA9DA;
  --ground: #F5F4EF;
  --white: #FFFFFF;
  --line: #DDD9CF;
  --line-soft: #E4E1D8;
  --muted: #5B6673;
  --dark-line: #2E4660;
  --dark-text: #B7C3D0;
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: max(24px, calc((100vw - 1200px) / 2));
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--sans); color: var(--navy); background: var(--ground);
  line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-text); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }
h1, h2, h3, h4, h5 { color: var(--ink); line-height: 1.15; }
svg.i { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.container { width: 100%; max-width: 1248px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-text);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--blue-soft); }

.display { font-family: var(--serif); font-weight: 500; letter-spacing: -.015em; }
.display em { font-style: italic; color: var(--blue-text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 28px; border-radius: 4px; border: 1px solid transparent;
  font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--deep); color: #fff; }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-text); color: #fff; }
.btn--ghost-dark { border-color: #4A6582; color: #fff; }
.btn--ghost-dark:hover { border-color: #fff; color: #fff; }
.btn--sm { height: 46px; padding: 0 22px; font-size: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; }
.link-arrow svg { transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* Utility bar */
.topbar { background: var(--deep); color: #C9D3DE; font-size: 13px; font-weight: 500; }
.topbar .container { height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.topbar__group { display: flex; align-items: center; gap: 28px; }
.topbar__group span, .topbar__group a { display: flex; align-items: center; gap: 8px; }
.topbar svg.i { width: 14px; height: 14px; color: var(--blue-soft); }
.topbar a { color: #fff; font-weight: 700; }
.topbar a svg.i { color: #fff; }

/* Header */
.header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line-soft); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 8px 30px rgba(22, 34, 47, .08); }
.header__inner { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo img { height: 44px; width: auto; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a { font-size: 15px; font-weight: 600; color: var(--navy); position: relative; padding: 6px 0; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue-text); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--blue-text); }
.nav .btn { display: none; }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px; }
.burger span { display: block; height: 2px; width: 26px; background: var(--navy); transition: .3s; }
.burger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; background: #fff; min-height: 680px; }
.hero__content { padding: 88px 64px 64px var(--gutter); display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.hero__main { display: flex; flex-direction: column; gap: 28px; }
.hero h1 { font-size: clamp(40px, 4.8vw, 68px); line-height: 1.04; letter-spacing: -.02em; }
.hero__lead { font-size: 18px; color: var(--muted); max-width: 520px; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__trust { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-soft); padding-top: 24px; }
.hero__trust div { display: flex; flex-direction: column; gap: 2px; padding: 0 20px; border-left: 1px solid var(--line-soft); }
.hero__trust div:first-child { padding-left: 0; border-left: 0; }
.hero__trust strong { font-size: 14px; color: var(--ink); }
.hero__trust span { font-size: 13px; color: var(--muted); }

.hero__visual { position: relative; background: var(--navy); overflow: hidden; min-height: 520px; }
.hero__art { position: absolute; left: 50%; top: 50%; width: 720px; height: 700px; transform: translate(-50%, -50%); }
.hero__art .tw { transform-box: fill-box; transform-origin: bottom; animation: rise 1.2s cubic-bezier(.2, .8, .2, 1) both; }
.hero__art .tw:nth-of-type(2) { animation-delay: .1s; }
.hero__art .tw:nth-of-type(3) { animation-delay: .2s; }
@keyframes rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.report {
  position: absolute; left: 48px; bottom: 48px; width: 300px; background: #fff; border-radius: 6px;
  padding: 22px 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 30px 60px rgba(10, 20, 32, .35);
}
.report__head { display: flex; justify-content: space-between; align-items: center; }
.report__head span:first-child { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pill { font-size: 11px; font-weight: 700; color: #1E7A4E; background: #E3F2EA; padding: 3px 9px; border-radius: 99px; }
.bar { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.bar__track { height: 6px; background: #EEF1F5; border-radius: 3px; overflow: hidden; }
.bar__track i { display: block; height: 100%; border-radius: 3px; background: var(--navy); }
.notice {
  position: absolute; right: 48px; top: 56px; display: flex; gap: 14px; align-items: center; color: #fff;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 6px; padding: 16px 20px;
  backdrop-filter: blur(6px);
}
.notice__icon { width: 40px; height: 40px; border-radius: 50%; background: var(--blue); display: grid; place-items: center; }
.notice__icon svg.i { width: 20px; height: 20px; stroke-width: 2.4; }
.notice strong { display: block; font-size: 14px; }
.notice small { font-size: 12px; color: #C9D3DE; }

/* Stats */
.stats { border-bottom: 1px solid var(--line-soft); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); min-height: 180px; align-items: center; }
.stat { display: flex; flex-direction: column; gap: 6px; padding: 32px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat__num { font-family: var(--serif); font-size: 52px; font-weight: 500; line-height: 1; color: var(--ink); }
.stat__num span { color: var(--blue); }
.stat p { font-size: 14px; font-weight: 600; color: var(--muted); }

/* Section */
.section { padding: 120px 0; }
.section__head { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 64px; }
.section__head > div { display: flex; flex-direction: column; gap: 20px; }
.section__head h2, .h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.1; }
.section__head p { font-size: 17px; color: var(--muted); }

/* Services */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--navy); border-left: 1px solid var(--line); }
.service {
  background: #fff; padding: 40px 36px 44px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 18px; transition: background .25s;
}
.service:hover { background: #FBFAF7; }
.service__top { display: flex; justify-content: space-between; align-items: flex-start; }
.service__top svg.i { width: 36px; height: 36px; stroke-width: 1.5; color: var(--blue-text); }
.service__top span { font-family: var(--serif); font-size: 18px; color: #9AA3AE; }
.service h3 { font-size: 21px; font-weight: 700; }
.service p { font-size: 15px; color: var(--muted); flex-grow: 1; }

/* Transparency */
.why { background: var(--deep); color: #fff; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; }
.sheet-demo { background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 40px 80px rgba(0, 0, 0, .35); color: var(--navy); }
.sheet-demo__bar { height: 44px; background: #EEF1F5; border-bottom: 1px solid #DDE3EA; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; font-size: 13px; font-weight: 700; }
.sheet-demo__bar span:last-child { font-size: 12px; font-weight: 600; color: var(--muted); }
.sheet-demo table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.sheet-demo th { background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; text-align: left; padding: 10px 18px; }
.sheet-demo td { padding: 11px 18px; border-bottom: 1px solid #E4E8EE; }
.sheet-demo tbody tr:nth-child(even) td { background: #F8FAFC; }
.sheet-demo th:not(:first-child), .sheet-demo td:not(:first-child) { text-align: right; }
.sheet-demo td:not(:first-child) { color: var(--muted); }
.sheet-demo tfoot td { font-weight: 800; color: var(--ink) !important; border-bottom: 0; padding: 14px 18px; }
.why__content { display: flex; flex-direction: column; gap: 28px; }
.why__content h2 { color: #fff; }
.why__content > p { font-size: 17px; color: var(--dark-text); }
.checks { list-style: none; border-top: 1px solid var(--dark-line); }
.checks li { display: flex; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--dark-line); font-size: 16px; font-weight: 600; }
.checks svg.i { width: 20px; height: 20px; color: var(--blue-soft); }

/* Process */
.process__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 64px; margin-bottom: 64px; }
.process__head > div { display: flex; flex-direction: column; gap: 20px; max-width: 640px; }
.process__head p { font-size: 16px; color: var(--muted); max-width: 400px; }
.process__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.step { display: flex; flex-direction: column; gap: 16px; border-top: 2px solid var(--line); padding-top: 28px; transition: border-color .3s; }
.step:first-child, .step:hover { border-top-color: var(--navy); }
.step__no { font-family: var(--serif); font-size: 40px; font-weight: 500; line-height: 1; color: var(--blue); }
.step h3 { font-size: 20px; font-weight: 700; }
.step p { font-size: 15px; color: var(--muted); }

/* FAQ */
.faq { background: #fff; border-top: 1px solid var(--line-soft); }
.faq__grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 96px; align-items: start; }
.faq__intro { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.faq__intro p { font-size: 16px; color: var(--muted); }
.faq__list { border-top: 1px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 26px 48px 26px 0; position: relative;
  font-size: 19px; font-weight: 700; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 18px; height: 2px; background: var(--navy); transition: transform .25s;
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { font-size: 16px; color: var(--muted); max-width: 640px; padding: 0 0 26px; }

/* Contact strip */
.contact__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--navy); border-left: 1px solid var(--line); }
.contact__item { background: #fff; padding: 32px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.contact__item svg.i { width: 26px; height: 26px; stroke-width: 1.6; color: var(--blue-text); margin-bottom: 8px; }
.contact__item small { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.contact__item strong { font-size: 17px; color: var(--ink); }
.contact__item span { font-size: 14px; color: var(--muted); }
.contact__item--dark { background: var(--navy); }
.contact__item--dark small, .contact__item--dark span { color: var(--dark-text); }
.contact__item--dark strong { color: #fff; }
.contact__item--dark svg.i { color: var(--blue-soft); }

/* Footer */
.footer { background: var(--deep); color: var(--dark-text); padding-top: 88px; }
.footer__cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--dark-line); }
.footer__cta h2 { color: #fff; font-size: clamp(30px, 3.4vw, 44px); max-width: 640px; }
.footer__cta div { display: flex; gap: 12px; flex-wrap: wrap; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding: 56px 0; }
.footer__brand img { width: 180px; margin-bottom: 20px; }
.footer__brand p { font-size: 15px; max-width: 320px; }
.footer h5 { color: #fff; font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 18px; }
.footer__grid a, .footer__grid p { display: block; font-size: 15px; color: var(--dark-text); margin-bottom: 12px; }
.footer__grid a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 24px 0; border-top: 1px solid var(--dark-line); font-size: 13px; color: #8FA0B2; }

/* To top */
.to-top {
  position: fixed; right: 24px; bottom: 24px; width: 48px; height: 48px; border-radius: 4px; z-index: 90;
  background: var(--navy); color: #fff; display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: all .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--blue-text); color: #fff; }
.to-top svg.i { width: 20px; height: 20px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1100px) {
  .nav { gap: 22px; }
  .nav a { font-size: 14px; }
  .header__cta { display: none; }
}

@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero__content { padding: 72px 24px 56px; }
  .hero__visual { min-height: 520px; }
  .section__head, .why__grid, .faq__grid { grid-template-columns: 1fr; gap: 40px; }
  .process__head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid, .contact__grid, .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat { border-top: 1px solid var(--line); }
  .stat:nth-child(-n+2) { border-top: 0; }
  .footer__cta { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .topbar__group--right span { display: none; }
  .burger { display: flex; position: relative; z-index: 101; }
  .nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(340px, 86vw); background: #fff;
    flex-direction: column; align-items: flex-start; gap: 6px; padding: 110px 32px 32px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, .14); transform: translateX(100%); visibility: hidden;
    transition: transform .35s ease, visibility .35s;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav a { font-size: 18px; padding: 10px 0; }
  .nav .btn { display: inline-flex; margin-top: 16px; font-size: 15px; padding: 0 22px; }
  .header.scrolled .nav, .header .nav { top: 0; }
}

@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .topbar__group:first-child span:nth-child(2) { display: none; }
  .topbar { font-size: 12px; }
  .topbar span, .topbar a { white-space: nowrap; }
  .header__inner { height: 72px; }
  .header__logo img { height: 36px; }
  .hero__content { padding: 56px 20px 48px; }
  .hero__lead { font-size: 16px; }
  .hero__cta .btn { width: 100%; }
  .hero__trust { grid-template-columns: 1fr; gap: 14px; }
  .hero__trust div { padding: 0; border-left: 0; }
  .hero__visual { min-height: 440px; }
  .hero__art { transform: translate(-50%, -54%) scale(.72); }
  .report { left: 16px; right: 16px; bottom: 16px; width: auto; padding: 16px 18px; gap: 10px; }
  .notice { left: 16px; right: 16px; top: 16px; padding: 12px 14px; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stat { padding: 24px 12px; }
  .stat__num { font-size: 38px; }
  .services__grid, .process__grid, .contact__grid, .footer__grid { grid-template-columns: 1fr; }
  .service { padding: 32px 24px; }
  .sheet-demo td, .sheet-demo th { padding: 10px 12px; }
  .faq summary { font-size: 17px; }
  .footer { padding-top: 64px; }
  .footer__cta .btn { width: 100%; }
  .footer__bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .topbar__group--right { display: none; }
  .topbar .container { justify-content: center; }
}
