:root {
  --bg: #090b0e;
  --bg-2: #0d1115;
  --panel: #10151a;
  --panel-2: #151b21;
  --panel-3: #0d1411;
  --text: #f4f7f5;
  --muted: #a4adb5;
  --muted-2: #7f8993;
  --faint: #5f6974;
  --line: rgba(255,255,255,.085);
  --line-strong: rgba(255,255,255,.14);
  --mint: #7cf2b2;
  --mint-strong: #4fdf96;
  --mint-dim: rgba(124,242,178,.095);
  --shadow: 0 28px 90px rgba(0,0,0,.42);
  --max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 78% -10%, rgba(124,242,178,.075), transparent 64%),
    radial-gradient(700px 420px at -5% 25%, rgba(124,242,178,.035), transparent 72%),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.page-shell { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }

.site-header {
  height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(9,11,14,.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.055);
}
.brand { display: inline-flex; align-items: center; gap: 11px; width: fit-content; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--mint); color: #07110c;
  font-weight: 850; letter-spacing: -.04em;
  box-shadow: 0 0 0 1px rgba(124,242,178,.12), 0 8px 28px rgba(79,223,150,.12);
}
.brand-copy { display: grid; gap: 0; line-height: 1.16; }
.brand-copy strong { font-size: 14px; letter-spacing: -.01em; }
.brand-copy small { color: var(--faint); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.nav { display: flex; gap: 26px; color: var(--muted); font-size: 14px; }
.nav a, .contact-link { transition: color .16s ease; }
.nav a:hover, .contact-link:hover { color: var(--text); }
.contact-link { justify-self: end; color: var(--muted); font-size: 14px; }

.section-pad { padding: 94px 0; border-bottom: 1px solid var(--line); }
.hero { padding-top: 124px; }
.hero-copy-wrap { max-width: 1040px; }
.eyebrow, .section-kicker {
  color: var(--mint);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .115em;
  text-transform: uppercase;
}
.eyebrow { display: inline-flex; align-items: center; gap: 9px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(124,242,178,.075); }

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 1020px;
  margin: 24px 0 28px;
  font-size: clamp(54px, 7.7vw, 98px);
  line-height: .97;
  letter-spacing: -.058em;
  font-weight: 760;
}
h1 span { color: var(--mint); }
h2 {
  margin: 14px 0 0;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.04;
  letter-spacing: -.045em;
  font-weight: 720;
}
h3 { font-size: 19px; line-height: 1.25; letter-spacing: -.025em; margin-bottom: 10px; }
.hero-copy {
  max-width: 820px;
  color: #bdc5cc;
  font-size: clamp(18px, 1.9vw, 22px);
  line-height: 1.58;
}
.hero-actions { display: flex; gap: 12px; margin: 34px 0 58px; flex-wrap: wrap; }
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 9px;
  border: 1px solid var(--line);
  font-weight: 700;
  font-size: 14px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button.primary { background: var(--mint); color: #07110c; border-color: var(--mint); }
.button.primary:hover { background: var(--mint-strong); }
.button.secondary { background: rgba(255,255,255,.025); }
.button.secondary:hover { border-color: rgba(255,255,255,.2); }

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 920px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-row > div { padding: 23px 28px 23px 0; }
.proof-row > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.proof-row strong { display: block; font-size: 26px; letter-spacing: -.035em; margin-bottom: 4px; }
.proof-row span { display: block; color: var(--muted-2); font-size: 13px; max-width: 230px; }

.section-heading {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 74px;
  align-items: end;
  margin-bottom: 46px;
}
.section-heading.compact { align-items: start; }
.section-heading p { color: var(--muted); font-size: 17px; margin: 0 0 4px; max-width: 600px; justify-self: end; }

.browser-frame {
  border: 1px solid var(--line-strong);
  border-radius: 15px;
  background: #050706;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.browser-frame::after {
  content: "";
  pointer-events: none;
  position: absolute; inset: 0;
  box-shadow: inset 0 0 80px rgba(124,242,178,.025);
}
.browser-bar {
  height: 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: #0e1215;
  color: var(--muted-2);
  font-size: 12px;
}
.dots { display: flex; gap: 7px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #3e474f; display: block; }
.dots i:nth-child(1) { background:#e46b65; }
.dots i:nth-child(2) { background:#d9b15d; }
.dots i:nth-child(3) { background:#61c786; }
.browser-label { justify-self: center; }
.browser-state { justify-self: end; }
.screen-wrap { aspect-ratio: 1.755 / 1; overflow: hidden; background:#020403; }
.screen-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.preview-note { color: var(--faint); font-size: 12px; margin: 14px 0 0; }

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  background: rgba(255,255,255,.012);
}
.workflow-grid article { padding: 28px; min-height: 235px; }
.workflow-grid article + article { border-left: 1px solid var(--line); }
.workflow-grid article span { color: var(--faint); font-size: 12px; display: block; margin-bottom: 44px; }
.workflow-grid article p { color: var(--muted); font-size: 14px; margin: 0; }

.system-section {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 70px;
  align-items: start;
}
.system-intro { position: sticky; top: 118px; }
.system-intro p { color: var(--muted); font-size: 17px; margin-top: 24px; max-width: 500px; }
.system-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.system-grid article { min-height: 150px; padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
.system-grid article:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
.system-grid b { display: block; font-size: 16px; margin-bottom: 9px; }
.system-grid span { display: block; color: var(--muted); font-size: 14px; }

.principle-section { padding-top: 72px; padding-bottom: 72px; }
.principle-card {
  padding: 48px;
  border: 1px solid rgba(124,242,178,.16);
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(124,242,178,.075), rgba(255,255,255,.01) 52%, rgba(124,242,178,.025));
}
.principle-card h2 { max-width: 910px; }
.principle-card p { max-width: 870px; color: #b9c2ca; font-size: 18px; margin: 26px 0 0; }
.principle-card strong { color: var(--text); }

.status-section, .cta-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.status-copy { margin-top: 24px; color: var(--muted); max-width: 540px; font-size: 17px; }
.status-card {
  border: 1px solid var(--line);
  border-radius: 13px;
  overflow: hidden;
  background: var(--panel);
}
.status-row { display: flex; justify-content: space-between; gap: 20px; padding: 19px 20px; font-size: 14px; }
.status-row + .status-row { border-top: 1px solid var(--line); }
.status-row span { color: var(--muted); }
.status-row b { color: var(--mint); font-weight: 700; }

.cta-section { align-items: end; }
.cta-section .button { justify-self: end; }
.site-footer { min-height: 96px; display: flex; justify-content: space-between; align-items: center; color: var(--faint); font-size: 12px; }

@media (max-width: 980px) {
  .workflow-grid { grid-template-columns: 1fr 1fr; }
  .workflow-grid article:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .workflow-grid article:nth-child(4) { border-top: 1px solid var(--line); }
  .system-section { grid-template-columns: 1fr; gap: 42px; }
  .system-intro { position: static; }
}

@media (max-width: 820px) {
  .page-shell { width: min(calc(100% - 28px), var(--max)); }
  .site-header { grid-template-columns: 1fr auto; height: 70px; }
  .nav { display: none; }
  .brand-copy small { display:none; }
  .section-pad { padding: 68px 0; }
  .hero { padding-top: 82px; }
  h1 { font-size: clamp(48px, 15vw, 72px); }
  .hero-copy { font-size: 18px; }
  .proof-row { grid-template-columns: 1fr; }
  .proof-row > div, .proof-row > div + div { padding: 17px 0; border-left: 0; }
  .proof-row > div + div { border-top: 1px solid var(--line); }
  .section-heading, .status-section, .cta-section { grid-template-columns: 1fr; gap: 34px; }
  .section-heading p { justify-self: start; }
  .browser-bar { grid-template-columns: 1fr auto; }
  .browser-label { display:none; }
  .screen-wrap { aspect-ratio: 1.25 / 1; }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .system-grid { grid-template-columns: 1fr; }
  .system-grid article:nth-child(even) { padding-left: 0; border-left: 0; }
  .principle-card { padding: 30px; }
  .cta-section .button { justify-self: start; }
  .site-footer { flex-direction: column; justify-content: center; gap: 6px; align-items: flex-start; }
}

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