:root {
  color-scheme: light;
  --page: #faf8f4;
  --surface: #fffefa;
  --surface-soft: #f0ede7;
  --ink: #1b1a18;
  --muted: #716d66;
  --line: #ded9cf;
  --accent: #c8643f;
  --accent-soft: #f2dfd3;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #141414;
  --surface: #1b1b1b;
  --surface-soft: #222;
  --ink: #f3f0eb;
  --muted: #aaa59d;
  --line: #383532;
  --accent: #e58b65;
  --accent-soft: #3b2b24;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
body::selection { background: var(--accent-soft); }
a { color: inherit; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.public-wrap { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.public-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--page) 92%, transparent);
  backdrop-filter: blur(14px);
}
.public-nav {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font: 500 24px/1 var(--serif);
  letter-spacing: -.04em;
  text-decoration: none;
}
.brand-mark-slot { display: grid; width: 34px; height: 40px; flex: none; place-items: center; }
.brand-mark { display: block; width: 25px; height: 34px; color: currentColor; }
.nav-links { display: flex; align-items: center; gap: 27px; }
.nav-links a:not(.public-btn) {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: color .18s ease;
}
.nav-links a:not(.public-btn):hover { color: var(--ink); }
.public-btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--ink);
  color: var(--page);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}
.public-btn:hover { background: var(--accent); color: #fff; transform: translateY(-1px); }
.public-btn:active { transform: translateY(0); }
.public-btn.secondary {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}
.public-btn.secondary:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--page);
}
.public-btn.light {
  background: var(--page);
  color: var(--ink);
}
.public-btn.light:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--page);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before { width: 20px; height: 1px; background: currentColor; content: ""; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
.section-title { max-width: 700px; margin: 0 auto 15px; font-size: clamp(2.15rem, 4.5vw, 3.5rem); line-height: 1.08; }
.section-lead { max-width: 620px; margin: 0 auto; color: var(--muted); font-size: 16px; }
.section-head { margin: 0 auto 48px; text-align: center; }
.section-head .eyebrow { margin-bottom: 17px; }
.hero { padding: clamp(68px, 9vw, 116px) 0 0; text-align: center; }
.hero .eyebrow { margin-bottom: 20px; }
.hero h1 {
  max-width: 910px;
  margin: 0 auto;
  font-size: clamp(2.1rem, 4.8vw, 4.1rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.045em;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-copy { max-width: 690px; margin: 24px auto 29px; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.16rem); }
.hero-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.film {
  position: relative;
  display: grid;
  min-height: 260px;
  margin: clamp(50px, 7vw, 82px) auto 0;
  overflow: hidden;
  align-items: center;
  justify-items: center;
  border: 1px solid var(--line);
  border-radius: 25px;
  background:
    radial-gradient(ellipse at 50% 120%, color-mix(in srgb, var(--accent) 25%, transparent), transparent 49%),
    linear-gradient(135deg, var(--surface-soft), var(--surface));
  box-shadow: 0 24px 70px rgba(0,0,0,.07);
  text-align: center;
}
.film::before, .film::after {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  border-radius: 50%;
  content: "";
}
.film::before { left: -100px; top: -160px; }
.film::after { right: -80px; bottom: -180px; width: 380px; height: 380px; }
.film-content { position: relative; z-index: 1; padding: 42px 20px; }
.film-mark {
  display: grid;
  width: 52px;
  height: 52px;
  margin: 0 auto 15px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
}
.film-mark svg { width: 15px; fill: var(--accent); }
.film p { margin: 0; color: var(--muted); font-size: 13px; }
.film strong { display: block; margin-top: 5px; font: 400 22px/1.2 var(--serif); }
.marquee {
  overflow: hidden;
  margin: 0;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 12px;
  animation: drift 48s linear infinite;
}
.marquee.reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  min-height: 39px;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.marquee-item b { color: var(--ink); font-weight: 500; }
.marquee-item i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
@keyframes drift { to { transform: translateX(-50%); } }
.public-section { padding: clamp(72px, 9vw, 118px) 0; }
.public-section.soft { background: var(--surface-soft); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step-card {
  min-height: 205px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--surface);
}
.step-number { display: block; margin-bottom: 28px; color: var(--accent); font-size: 12px; letter-spacing: .1em; }
.step-card h3 { margin-bottom: 10px; font-size: 25px; }
.step-card p { margin: 0; color: var(--muted); font-size: 14px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; align-items: stretch; }
.feature-card {
  display: grid;
  min-height: 340px;
  padding: clamp(22px, 4vw, 38px);
  align-content: space-between;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
}
.feature-card h3 { max-width: 450px; margin: 14px 0 10px; font-size: clamp(1.7rem, 3vw, 2.45rem); line-height: 1.12; }
.feature-card p { max-width: 480px; margin: 0; color: var(--muted); font-size: 15px; }
.feature-art { min-height: 135px; margin-top: 27px; }
.insight-window { max-width: 490px; margin: 0 auto; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: var(--page); box-shadow: 0 12px 30px rgba(0,0,0,.07); }
.window-top { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 15px; color: var(--muted); font-size: 10px; }
.window-top strong { color: var(--ink); font-weight: 600; }
.insight-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; margin: 10px 0; font-size: 11px; }
.insight-row span { color: var(--muted); }
.insight-row b { font-size: 10px; font-weight: 500; }
.insight-bar { grid-column: 1 / -1; height: 5px; overflow: hidden; border-radius: 9px; background: var(--surface-soft); }
.insight-bar i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.quote-card { max-width: 490px; margin: 14px auto 0; padding: 14px 16px; border-left: 2px solid var(--accent); border-radius: 0 10px 10px 0; background: var(--surface-soft); color: var(--muted); font: 400 14px/1.45 var(--serif); }
.quote-card small { display: block; margin-top: 6px; font: 10px var(--sans); }
.chart-window { max-width: 490px; margin: 0 auto; padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: var(--page); }
.chart-head { display: flex; justify-content: space-between; color: var(--muted); font-size: 10px; }
.chart-head b { color: var(--ink); font-size: 18px; }
.chart-bars { display: flex; height: 92px; align-items: end; gap: 8px; margin-top: 15px; border-bottom: 1px solid var(--line); }
.chart-bars i { flex: 1; min-width: 8px; border-radius: 5px 5px 0 0; background: var(--accent); opacity: .76; }
.chart-labels { display: flex; justify-content: space-between; margin-top: 8px; color: var(--muted); font-size: 9px; }
.excel-window { max-width: 490px; margin: 0 auto; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--page); }
.sheet-cell { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: 7px; background: var(--line); }
.sheet-cell span { min-height: 29px; padding: 7px 8px; background: var(--surface); color: var(--muted); font-size: 9px; }
.sheet-cell span:nth-child(-n+3) { background: var(--surface-soft); color: var(--ink); font-weight: 600; }
.excel-label { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; color: #3f8e65; font-size: 11px; font-weight: 600; }
.excel-label::before { display: grid; width: 19px; height: 19px; place-items: center; border-radius: 4px; background: #3f8e65; color: white; content: "X"; font-size: 11px; }
.research-band {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(30px, 7vw, 90px);
  align-items: center;
  padding: clamp(30px, 6vw, 70px);
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--ink);
}
.research-band h2 { margin: 13px 0 15px; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; }
.research-band p { margin-bottom: 20px; color: var(--muted); font-size: 15px; }
.research-steps { display: grid; gap: 12px; }
.research-step { display: grid; grid-template-columns: 33px 1fr; gap: 13px; align-items: start; padding: 15px 0; border-top: 1px solid var(--line); }
.research-step span { color: var(--accent); font-size: 11px; }
.research-step strong { display: block; margin-bottom: 3px; font: 400 20px/1.2 var(--serif); }
.research-step small { color: var(--muted); font-size: 12px; }
.global-card { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; padding: 26px; border: 1px solid var(--line); border-radius: 19px; background: var(--surface); }
.global-card h3 { margin: 0 0 8px; font-size: 25px; }
.global-card p { max-width: 620px; margin: 0; color: var(--muted); font-size: 14px; }
.globe { width: 90px; height: 90px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); }
.globe svg { width: 49px; height: 49px; fill: none; stroke: currentColor; stroke-width: 1; }
.close-quote { max-width: 850px; margin: 0 auto; text-align: center; }
.close-quote blockquote { margin: 0; font: 400 clamp(1.8rem, 4vw, 3rem)/1.2 var(--serif); letter-spacing: -.025em; }
.close-quote cite { display: block; margin-top: 20px; color: var(--muted); font-size: 14px; font-style: normal; }
.newsletter {
  padding: clamp(42px, 7vw, 72px);
  border: 1px solid var(--line);
  border-radius: 23px;
  background: var(--surface);
  text-align: center;
}
.newsletter h2 { margin: 0 0 14px; font-size: clamp(2rem, 4vw, 2.8rem); }
.newsletter p { max-width: 580px; margin: 0 auto; color: var(--muted); font-size: 15px; }
.newsletter-form { display: flex; max-width: 500px; gap: 9px; margin: 25px auto 0; }
.newsletter-form input {
  flex: 1;
  min-width: 0;
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--page);
  color: var(--ink);
}
.newsletter-form input::placeholder { color: var(--muted); }
.newsletter-form button { min-height: 54px; border: 0; cursor: pointer; }
.newsletter small { display: block; margin-top: 12px; color: var(--muted); font-size: 11px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.get-started-section { width: min(1120px, 92%); padding-top: 0; }
.get-started {
  display: grid;
  min-height: clamp(370px, 88vw, 736px);
  padding: clamp(56px, 11vw, 120px) clamp(24px, 7vw, 80px);
  place-items: center;
  border: 1px solid #222;
  border-radius: 34px;
  background: #171717;
  color: #faf8f4;
  text-align: center;
}
.get-started-actions { width: min(100%, 700px); }
.get-started h2 { max-width: 700px; margin: 0 auto; color: #faf8f4; font-size: clamp(2.5rem, 6.8vw, 5rem); line-height: 1.04; }
.get-started p { max-width: 680px; margin: 34px auto 0; color: #bdbbb8; font-size: clamp(1rem, 2.2vw, 1.35rem); line-height: 1.6; }
.get-started .start-button {
  min-height: 62px;
  margin-top: 54px;
  padding: 0 44px;
  border-color: #faf8f4;
  background: #faf8f4;
  color: #171717;
  font-size: 17px;
}
.get-started .start-button:hover { border-color: #faf8f4; background: transparent; color: #faf8f4; }
.public-footer { margin-top: 0; padding: 62px 0 32px; border-top: 1px solid var(--line); background: var(--page); color: var(--ink); }
.footer-top { display: block; }
.footer-brand { margin-bottom: 46px; }
.footer-brand .brand { color: var(--ink); font-size: 32px; }
.footer-brand .brand-mark-slot { width: 38px; height: 44px; }
.footer-brand .brand-mark { width: 27px; height: 36px; }
.footer-groups { display: grid; max-width: 850px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px; }
.footer-groups h2 { margin: 0 0 18px; color: var(--ink); font: 600 13px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.footer-groups a { display: block; width: fit-content; padding: 5px 0; color: color-mix(in srgb, var(--ink) 66%, transparent); font-size: 16px; text-decoration: none; transition: color .18s ease; }
.footer-groups a:hover { color: var(--ink); }
.footer-note { max-width: 430px; margin: 30px 0 0; color: var(--muted); font-size: 15px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px 24px; }
.footer-links a { color: var(--muted); font-size: 13px; text-decoration: none; }
.footer-links a:hover { color: var(--ink); }
.footer-bottom { display: block; margin-top: 58px; padding-top: 31px; border-top: 1px solid color-mix(in srgb, var(--ink) 18%, transparent); color: color-mix(in srgb, var(--ink) 66%, transparent); font-size: 16px; }
.footer-bottom p { margin: 12px 0 0; color: inherit; font-size: 16px; }
.policy-footer { border-top: 0; }
.policy-footer .footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 0; padding-top: 18px; font-size: 11px; }
.policy-footer .footer-links a { color: color-mix(in srgb, var(--ink) 66%, transparent); }
.policy-footer .footer-links a:hover { color: var(--ink); }
.policy-main { min-height: calc(100vh - 220px); padding: clamp(48px, 8vw, 90px) 0; }
.policy-card { max-width: 820px; margin: 0 auto; padding: clamp(24px, 5vw, 54px); border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.policy-card h1 { margin: 10px 0 18px; font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.08; }
.policy-card h2 { margin: 35px 0 10px; font-size: 25px; }
.policy-card p { color: var(--muted); font-size: 15px; }
.policy-card p:last-child { margin-bottom: 0; }
.policy-intro { max-width: 680px; font-size: 17px !important; }
.policy-footer { margin-top: 0; }
@media (max-width: 760px) {
  .public-nav { min-height: 65px; }
  .nav-links { gap: 14px; }
  .nav-links a:not(.public-btn) { display: none; }
  .hero h1 { max-width: 720px; }
  .steps { grid-template-columns: 1fr; }
  .step-card { min-height: 0; }
  .step-number { margin-bottom: 18px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 310px; }
  .research-band { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .public-wrap { width: min(100% - 32px, 1120px); }
  .brand { font-size: 22px; }
  .nav-links { gap: 9px; }
  .nav-links .public-btn { min-height: 40px; padding: 0 14px; font-size: 12px; }
  .hero { padding-top: 58px; }
  .hero h1 { font-size: clamp(2rem, 9vw, 2.75rem); }
  .hero-copy { margin-top: 18px; }
  .hero-actions { gap: 9px; }
  .hero-actions .public-btn { min-height: 43px; padding: 0 16px; font-size: 13px; }
  .film { min-height: 218px; border-radius: 18px; }
  .marquee { padding: 17px 0; }
  .marquee-item { min-height: 36px; padding: 0 13px; font-size: 12px; }
  .section-head { margin-bottom: 32px; }
  .global-card { grid-template-columns: 1fr; }
  .globe { width: 64px; height: 64px; }
  .globe svg { width: 38px; height: 38px; }
  .newsletter { padding: 34px 20px; }
  .newsletter-form { width: 100%; flex-direction: column; }
  .newsletter-form input { width: 100%; flex: none; }
  .newsletter-form .public-btn { width: 100%; }
  .get-started { border-radius: 25px; padding: 48px 24px; }
  .get-started h2 { font-size: clamp(2.25rem, 10vw, 3rem); }
  .get-started p { margin-top: 20px; font-size: 15px; }
  .get-started .start-button { min-height: 48px; margin-top: 32px; padding: 0 22px; font-size: 15px; }
  .footer-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; }
  .footer-groups h2 { margin-bottom: 12px; }
  .footer-groups a { font-size: 15px; }
  .footer-brand { margin-bottom: 38px; }
  .footer-bottom { margin-top: 42px; padding-top: 25px; font-size: 14px; }
  .footer-bottom p { font-size: 15px; }
  .policy-footer .footer-bottom { display: flex; flex-direction: column; gap: 14px; }
  .policy-footer .footer-links { gap: 13px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
