:root {
  --ink: #07111f;
  --ink-2: #0c1d2e;
  --paper: #f4f7f8;
  --white: #ffffff;
  --muted: #6d7a84;
  --line: #ccd5da;
  --solar: #f8c84e;
  --solar-soft: #ffe9a9;
  --teal: #56d6bd;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: absolute; left: -9999px; top: 1rem; z-index: 20; background: white; padding: .65rem 1rem; }
.skip-link:focus { left: 1rem; }

.site-header {
  height: 78px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 36px;
  border-bottom: 1px solid rgba(7,17,31,.12);
}
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; text-decoration: none; font-size: 14px; font-weight: 800; letter-spacing: .08em; line-height: 1; }
.brand > span > span, .footer-brand > span { color: #72808a; }
.brand-mark { width: 34px; height: 34px; }
.brand-mark path:first-child { fill: var(--ink); stroke: var(--ink); stroke-width: 1.5; }
.brand-mark path:last-child { fill: none; stroke: var(--solar); stroke-width: 1.5; }
nav { display: flex; gap: 34px; }
nav a { position: relative; text-decoration: none; font-size: 14px; font-weight: 650; }
nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 2px; background: var(--solar); transition: right .2s ease; }
nav a:hover::after, nav a:focus-visible::after { right: 0; }
.language-switch { justify-self: end; display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.language-switch button { border: 0; background: none; padding: 8px 3px; font: inherit; color: inherit; cursor: pointer; }
.language-switch button.active { color: var(--ink); font-weight: 800; }

.hero {
  min-height: 670px;
  background-color: var(--ink);
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
  color: var(--white);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  align-items: center;
  gap: 72px;
  padding: 88px max(24px, calc((100vw - var(--max)) / 2));
  overflow: hidden;
}
.eyebrow { margin: 0 0 18px; color: #7e8e99; font-size: 12px; line-height: 1.4; font-weight: 800; letter-spacing: .18em; }
.hero .eyebrow { color: var(--solar); }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 { max-width: 720px; margin: 0; font-size: clamp(3rem, 5.5vw, 5.5rem); line-height: .98; letter-spacing: -.055em; font-weight: 750; }
.hero-intro { max-width: 650px; margin: 28px 0 0; color: #bac6cd; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border: 1px solid transparent; text-decoration: none; font-size: 14px; font-weight: 750; transition: transform .2s ease, background .2s ease, border .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--solar); color: var(--ink); }
.button-primary:hover { background: #ffd66a; }
.button-secondary { border-color: #496072; color: var(--white); }
.button-secondary:hover { border-color: #8799a5; }
.microcopy { margin: 20px 0 0; color: #6f8290; font-size: 12px; }

.analysis-card { position: relative; width: min(100%, 520px); justify-self: end; background: #0e2234; border: 1px solid #2b4152; box-shadow: 24px 28px 0 rgba(1,7,13,.22); padding: 28px; }
.analysis-card::before { content: ""; position: absolute; width: 94px; height: 4px; top: -1px; left: -1px; background: var(--solar); }
.card-head { display: flex; justify-content: space-between; align-items: start; border-bottom: 1px solid #2a4050; padding-bottom: 20px; }
.card-head p { margin: 0 0 2px; color: #6e8798; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.card-head strong { font-size: 16px; }
.status { color: var(--teal); border: 1px solid rgba(86,214,189,.35); padding: 4px 8px; font-size: 9px; font-weight: 850; letter-spacing: .15em; }
.yield-figure { display: flex; align-items: center; justify-content: space-between; padding: 26px 4px 18px; }
.yield-figure span { display: block; color: #8499a7; font-size: 12px; }
.yield-figure strong { display: inline-block; margin: 2px 4px 0 0; font-size: 44px; line-height: 1; letter-spacing: -.04em; }
.yield-figure small { color: #8396a2; font-size: 11px; }
.performance-ring { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle closest-side, #0e2234 75%, transparent 76% 99%), conic-gradient(var(--solar) 82.4%, #243b4c 0); }
.performance-ring span { color: white; font-size: 18px; font-weight: 800; }
.performance-ring small { color: var(--solar); }
.chart { height: 128px; display: grid; grid-template-columns: repeat(12, 1fr); align-items: end; gap: 8px; padding: 14px 2px 0; border-bottom: 1px solid #304657; background-image: repeating-linear-gradient(to top, transparent 0 31px, rgba(255,255,255,.045) 32px); }
.chart span { height: var(--h); min-height: 4px; background: linear-gradient(to top, #8d6512, var(--solar)); }
.chart-labels { display: flex; justify-content: space-between; margin: 7px 0 20px; color: #587084; font-size: 8px; font-weight: 700; }
.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.metric-row div { padding: 12px; background: #0a1a29; }
.metric-row span, .metric-row strong { display: block; }
.metric-row span { min-height: 34px; color: #6e8595; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.metric-row strong { font-size: 14px; }
.sample-note { margin: 14px 0 0; color: #576d7c; font-size: 10px; text-align: right; }

.trust-strip { max-width: var(--max); min-height: 84px; margin: 0 auto; padding: 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #78858e; font-size: 11px; font-weight: 800; letter-spacing: .12em; }
.trust-strip i { width: 4px; height: 4px; background: var(--solar); }
.section { max-width: var(--max); margin: 0 auto; padding: 112px 24px; }
.section-heading { display: grid; grid-template-columns: 1fr 1fr; column-gap: 60px; align-items: end; margin-bottom: 58px; }
.section-heading .eyebrow { grid-column: 1 / -1; }
.section-heading h2 { margin: 0; font-size: clamp(2.35rem, 4vw, 4rem); line-height: 1.04; letter-spacing: -.045em; }
.section-heading > p:last-child { max-width: 490px; margin: 0 0 5px auto; color: var(--muted); font-size: 17px; }
.service-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 310px; padding: 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; background: rgba(255,255,255,.35); }
.service-card.featured { background: var(--white); box-shadow: 0 20px 70px rgba(7,17,31,.07); }
.service-index { position: absolute; top: 30px; right: 30px; color: #9aa7af; font: 700 11px/1 monospace; }
.service-card svg { width: 46px; height: 46px; fill: none; stroke: var(--ink); stroke-width: 1.5; margin-bottom: 56px; }
.service-card.featured svg { stroke: #bd8908; }
.service-card h3 { margin: 0 0 10px; font-size: 22px; letter-spacing: -.025em; }
.service-card p { max-width: 480px; margin: 0; color: var(--muted); font-size: 15px; }

.process { border-top: 1px solid var(--line); }
.section-heading.compact { display: block; margin-bottom: 56px; }
.process-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.process-list li { display: grid; grid-template-columns: 90px 1fr; border-bottom: 1px solid var(--line); padding: 34px 0; }
.process-list li > span { color: #a1acb3; font: 700 12px/1.6 monospace; }
.process-list div { display: grid; grid-template-columns: minmax(220px, .7fr) 1fr; gap: 40px; }
.process-list h3 { margin: 0; font-size: 22px; }
.process-list p { max-width: 630px; margin: 0; color: var(--muted); }

.boundaries { padding-top: 0; }
.boundary-box { position: relative; background: var(--solar); padding: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; overflow: hidden; }
.boundary-box::after { content: "BW"; position: absolute; right: -28px; bottom: -70px; color: rgba(7,17,31,.07); font-size: 240px; line-height: 1; font-weight: 900; letter-spacing: -.12em; }
.boundary-box .eyebrow { grid-column: 1 / -1; color: #785c10; margin-bottom: -30px; }
.boundary-box h2 { position: relative; z-index: 1; margin: 0; font-size: clamp(2.1rem, 3.4vw, 3.6rem); line-height: 1.05; letter-spacing: -.045em; }
.boundary-box > p:last-child { position: relative; z-index: 1; margin: 0; font-size: 16px; }

.contact { background: var(--ink); color: white; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 100px max(24px, calc((100vw - var(--max)) / 2)); }
.contact .eyebrow { color: var(--solar); }
.contact h2 { margin: 0; font-size: clamp(2.4rem, 4vw, 4.2rem); line-height: 1.03; letter-spacing: -.045em; }
.contact-copy { align-self: end; }
.contact-copy p { max-width: 570px; color: #a7b6c0; font-size: 17px; }
.email-link { display: flex; align-items: center; justify-content: space-between; margin-top: 30px; padding: 18px 0; border-bottom: 1px solid #536777; color: var(--solar); font-size: clamp(1.2rem, 2.1vw, 1.75rem); font-weight: 700; text-decoration: none; }
.email-link span { transition: transform .2s ease; }
.email-link:hover span { transform: translate(4px,-4px); }
.contact-copy small { display: block; margin-top: 12px; color: #687d8d; font-size: 12px; }

footer { max-width: var(--max); margin: 0 auto; padding: 46px 24px; display: grid; grid-template-columns: 1fr 2fr auto; align-items: center; gap: 30px; color: #77848d; font-size: 13px; }
.footer-brand { color: var(--ink); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.copyright { grid-column: 1 / -1; padding-top: 24px; margin: 0; border-top: 1px solid var(--line); font-size: 11px; }

.legal-page { min-height: 100vh; }
.legal-header { background: var(--ink); color: white; }
.legal-header .site-header { border-color: #243747; }
.legal-header .brand > span > span { color: #718594; }
.legal-header .brand-mark path:first-child { fill: white; stroke: white; }
.legal-main { max-width: 820px; margin: 0 auto; padding: 90px 24px 120px; }
.legal-main [hidden] { display: none; }
.legal-main h1 { font-size: clamp(2.8rem, 6vw, 5rem); color: var(--ink); }
.legal-main h2 { margin: 54px 0 12px; font-size: 1.45rem; }
.legal-main h3 { margin: 32px 0 8px; font-size: 1.1rem; }
.legal-main p, .legal-main li { color: #4f5f69; }
.legal-main a { color: #126957; }
.legal-back { text-decoration: none; font-weight: 700; }

@media (max-width: 920px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 76px; }
  .analysis-card { justify-self: start; }
  .section-heading, .boundary-box, .contact { grid-template-columns: 1fr; }
  .section-heading > p:last-child { margin: 24px 0 0; }
  .boundary-box .eyebrow { margin-bottom: -30px; }
  footer { grid-template-columns: 1fr auto; }
  footer > p:not(.copyright) { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 640px) {
  .site-header { height: 68px; padding: 0 18px; }
  .brand-mark { width: 30px; height: 30px; }
  .hero { min-height: auto; padding: 64px 18px 70px; gap: 58px; }
  h1 { font-size: clamp(2.65rem, 14vw, 4.2rem); }
  .hero-intro { font-size: 1rem; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .analysis-card { padding: 20px 16px; box-shadow: 12px 14px 0 rgba(1,7,13,.22); }
  .yield-figure strong { font-size: 36px; }
  .performance-ring { width: 72px; height: 72px; }
  .metric-row { gap: 6px; }
  .metric-row div { padding: 9px 7px; }
  .metric-row span { min-height: 40px; font-size: 8px; }
  .metric-row strong { font-size: 12px; }
  .trust-strip { justify-content: center; flex-wrap: wrap; padding: 24px 18px; }
  .trust-strip i { display: none; }
  .section { padding: 78px 18px; }
  .section-heading { margin-bottom: 40px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 280px; padding: 28px; }
  .service-card svg { margin-bottom: 40px; }
  .process-list li { grid-template-columns: 48px 1fr; }
  .process-list div { grid-template-columns: 1fr; gap: 10px; }
  .boundaries { padding-top: 0; }
  .boundary-box { padding: 42px 28px; gap: 30px; }
  .boundary-box .eyebrow { margin-bottom: 0; }
  .contact { padding: 76px 18px; gap: 42px; }
  footer { grid-template-columns: 1fr; padding: 38px 18px; }
  .footer-links { grid-row: auto; }
  footer > p:not(.copyright) { grid-column: auto; grid-row: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
