
:root {
  --bg: #f4f1ea;
  --paper: #fffdf8;
  --ink: #171717;
  --muted: #66635c;
  --line: rgba(23,23,23,.12);
  --accent: #e85f40;
  --accent-dark: #ad3924;
  --soft: #ece6da;
  --success: #266e42;
  --radius: 24px;
  --shadow: 0 24px 80px rgba(32,26,18,.10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 88% 0%, rgba(232,95,64,.12), transparent 31rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 3px solid rgba(232,95,64,.38);
  outline-offset: 3px;
}
.shell { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: relative; z-index: 3; }
nav {
  min-height: 82px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 1.26rem; font-weight: 800; letter-spacing: -.04em;
}
.brand-mark {
  width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center; background: var(--ink); color: white;
  font-weight: 900; letter-spacing: -.08em;
}
.nav-links { display: flex; align-items: center; gap: 28px; color: var(--muted); font-size: .94rem; }
.nav-links a:hover { color: var(--ink); }
.pill-link {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 17px; border: 1px solid var(--line);
  background: rgba(255,255,255,.58); border-radius: 999px;
  font-size: .92rem; font-weight: 700;
}
.hero {
  min-height: 700px; padding: 72px 0 66px;
  display: grid; grid-template-columns: 1.08fr .92fr;
  gap: 58px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--accent-dark); font-size: .78rem; font-weight: 800;
  letter-spacing: .10em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
h1, h2.display {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500; letter-spacing: -.06em;
}
h1 {
  margin: 20px 0 22px; max-width: 760px;
  font-size: clamp(3.6rem, 7.2vw, 6.5rem);
  line-height: .92;
}
.hero-copy {
  max-width: 690px; margin: 0 0 30px;
  color: var(--muted); font-size: 1.13rem;
}
.actions { display: flex; flex-wrap: wrap; gap: 13px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 20px; border-radius: 999px;
  border: 1px solid var(--line); font-weight: 750;
}
.button.primary { color: white; background: var(--ink); border-color: var(--ink); }
.button.secondary { background: rgba(255,255,255,.65); }
.system-card {
  position: relative; overflow: hidden;
  padding: 29px; border-radius: 32px;
  background: var(--paper); border: 1px solid rgba(23,23,23,.09);
  box-shadow: var(--shadow);
}
.system-card::after {
  content: ""; position: absolute; width: 190px; height: 190px;
  right: -70px; top: -85px; border-radius: 50%;
  background: rgba(232,95,64,.15);
}
.card-top {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 26px;
}
.dots { display: flex; gap: 7px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #d8d2c7; }
.status {
  border-radius: 999px; padding: 6px 10px;
  color: var(--success); background: #edf7f0; font-size: .74rem;
}
.workflow { display: grid; gap: 12px; }
.workflow-row {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 44px 1fr auto;
  align-items: center; gap: 13px; padding: 14px;
  border: 1px solid rgba(23,23,23,.06);
  background: #f7f3eb; border-radius: 17px;
}
.workflow-icon {
  width: 42px; height: 42px; border-radius: 13px;
  display: grid; place-items: center; background: white; font-weight: 850;
}
.workflow-title { font-size: .93rem; font-weight: 780; }
.workflow-sub, .workflow-state { color: var(--muted); font-size: .76rem; }
section { padding: 88px 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: end;
  gap: 36px; margin-bottom: 34px;
}
.section-head h2 {
  margin: 0; font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5vw, 4.2rem); line-height: 1;
  font-weight: 500; letter-spacing: -.055em;
}
.section-head p { max-width: 550px; margin: 0; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card {
  min-height: 280px; padding: 28px;
  background: rgba(255,255,255,.58);
  border: 1px solid var(--line); border-radius: var(--radius);
}
.feature-label {
  color: var(--accent-dark); font-size: .76rem;
  font-weight: 850; letter-spacing: .09em; text-transform: uppercase;
}
.feature-card h3 { margin: 60px 0 10px; font-size: 1.3rem; letter-spacing: -.035em; }
.feature-card p { margin: 0; color: var(--muted); }
.split {
  display: grid; grid-template-columns: .92fr 1.08fr;
  gap: 54px; align-items: start;
}
.dark-card {
  position: sticky; top: 28px; padding: 38px;
  color: white; background: var(--ink); border-radius: 30px;
}
.dark-card p {
  margin: 0; font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3vw, 2.45rem);
  line-height: 1.18; letter-spacing: -.04em;
}
.point { padding: 26px 0; border-bottom: 1px solid var(--line); }
.point:first-child { padding-top: 0; }
.point h3 { margin: 0 0 8px; font-size: 1.15rem; }
.point p { margin: 0; color: var(--muted); }
.legal-panel {
  padding: 38px; background: var(--paper); border-radius: 32px;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.legal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 29px; }
.legal-link {
  min-height: 215px; padding: 20px;
  border: 1px solid var(--line); border-radius: 19px;
  transition: transform .2s ease, background .2s ease;
}
.legal-link:hover { transform: translateY(-3px); background: #faf7f0; }
.legal-link small {
  color: var(--accent-dark); font-weight: 850;
  letter-spacing: .08em; text-transform: uppercase;
}
.legal-link h3 { margin: 44px 0 7px; }
.legal-link p { margin: 0; color: var(--muted); font-size: .89rem; }
.contact { padding: 70px 0 96px; text-align: center; }
.contact-box { padding: 70px 20px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.contact h2 {
  margin: 0 0 18px; font-family: Georgia, "Times New Roman", serif;
  font-weight: 500; font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 1; letter-spacing: -.055em;
}
.contact p { margin: 0 0 26px; color: var(--muted); }
footer { padding: 28px 0 42px; color: var(--muted); font-size: .85rem; }
.footer-row { display: flex; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }

.legal-page main { padding: 58px 0 100px; }
.legal-wrap {
  width: min(850px, 100%); padding: clamp(28px, 5vw, 58px);
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 28px; box-shadow: var(--shadow);
}
.legal-wrap h1 { font-size: clamp(3rem, 6vw, 5.1rem); margin-bottom: 12px; }
.legal-wrap h2 { margin: 38px 0 10px; font-size: 1.35rem; letter-spacing: -.025em; }
.legal-wrap h3 { margin: 25px 0 7px; font-size: 1.03rem; }
.legal-wrap p, .legal-wrap li { color: #52504b; }
.legal-wrap a.inline { text-decoration: underline; text-underline-offset: 3px; }
.meta { color: var(--muted); font-size: .9rem; margin-bottom: 31px; }
.notice {
  padding: 17px 19px; border: 1px solid #e2d8c8;
  background: #f7f0e6; border-radius: 14px;
}
.data-table { width: 100%; border-collapse: collapse; margin: 18px 0 10px; font-size: .94rem; }
.data-table th, .data-table td {
  padding: 14px 12px; border-bottom: 1px solid var(--line);
  text-align: left; vertical-align: top;
}
.data-table th { width: 29%; color: var(--ink); }
.check-list { padding-left: 1.2rem; }
.check-list li { margin: 8px 0; }
.callout {
  margin-top: 30px; padding: 20px; border-left: 4px solid var(--accent);
  background: #fbf6ef; border-radius: 0 13px 13px 0;
}

@media (max-width: 870px) {
  .nav-links { display: none; }
  .hero, .split { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 42px; }
  .feature-grid, .legal-grid { grid-template-columns: 1fr; }
  .dark-card { position: static; }
  .section-head { display: block; }
  .section-head p { margin-top: 18px; }
}
@media (max-width: 560px) {
  .shell { width: min(100% - 24px, 1160px); }
  nav { min-height: 70px; }
  h1 { font-size: 3.35rem; }
  section { padding: 62px 0; }
  .legal-panel { padding: 24px; }
  .footer-row { display: block; }
  .footer-links { margin-top: 14px; }
  .data-table, .data-table tbody, .data-table tr, .data-table th, .data-table td {
    display: block; width: 100%;
  }
  .data-table th { border-bottom: 0; padding-bottom: 2px; }
  .data-table td { padding-top: 2px; }
}
