:root {
  --ink: #101310;
  --muted: #687067;
  --line: #dde2da;
  --paper: #f5f6f1;
  --surface: #ffffff;
  --acid: #d8ff3e;
  --acid-deep: #b8e800;
  --forest: #151d16;
  --danger: #8f302c;
  --radius: 20px;
}

* { box-sizing: border-box; }

html {
  background: var(--paper);
  color: var(--ink);
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", system-ui, -apple-system, sans-serif;
  scroll-behavior: smooth;
}

body { margin: 0; min-width: 320px; }
a { color: inherit; }
button, select { font: inherit; }

.skip-link {
  background: var(--acid);
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: -80px;
  z-index: 100;
}

.skip-link:focus { top: 16px; }
.sr-only { clip: rect(0 0 0 0); clip-path: inset(50%); height: 1px; overflow: hidden; position: absolute; white-space: nowrap; width: 1px; }

.site-header {
  align-items: center;
  background: rgba(245, 246, 241, 0.9);
  border-bottom: 1px solid rgba(16, 19, 16, 0.08);
  display: flex;
  height: 76px;
  justify-content: space-between;
  padding: 0 clamp(22px, 4vw, 68px);
  position: sticky;
  top: 0;
  backdrop-filter: blur(18px);
  z-index: 20;
}

.launch-brand { align-items: center; display: inline-flex; font-size: 18px; font-weight: 850; gap: 10px; letter-spacing: -0.04em; text-decoration: none; }
.launch-mark { align-items: center; background: var(--acid); border-radius: 8px; color: var(--forest); display: inline-flex; font: italic 700 20px Georgia, serif; height: 35px; justify-content: center; width: 35px; }
.desktop-nav { display: flex; gap: 32px; }
.desktop-nav a, .header-login { color: #343b35; font-size: 13px; font-weight: 700; text-decoration: none; }
.desktop-nav a:hover, .header-login:hover, footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.header-actions { align-items: center; display: flex; gap: 16px; }

.locale-wrap select {
  appearance: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12'%3E%3Cpath d='m2 4 4 4 4-4' fill='none' stroke='%23101310' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 8px center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  min-height: 42px;
  padding: 0 28px 0 10px;
}

.button {
  align-items: center;
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover { background: #292e29; transform: translateY(-2px); }
.button-small { min-height: 44px; padding: 0 18px; }
a:focus-visible, summary:focus-visible, select:focus-visible { outline: 3px solid #557000; outline-offset: 3px; }

.hero {
  align-items: center;
  display: grid;
  gap: clamp(48px, 7vw, 110px);
  grid-template-columns: minmax(0, 0.9fr) minmax(480px, 1.1fr);
  margin: 0 auto;
  max-width: 1440px;
  min-height: 620px;
  padding: 72px clamp(24px, 6vw, 88px) 82px;
}

.environment-badge { background: #fff0cd; border: 1px solid #e5d19a; border-radius: 99px; color: #604a10; display: inline-block; font-size: 10px; font-weight: 850; letter-spacing: 0.08em; margin: 0 0 28px; padding: 8px 12px; }
.eyebrow { color: #687168; font-size: 10px; font-weight: 850; letter-spacing: 0.2em; margin: 0 0 16px; }
.hero h1 { font-size: clamp(58px, 7vw, 102px); letter-spacing: -0.075em; line-height: 0.94; margin: 0; max-width: 730px; }
.hero-lead { color: #505851; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.8; margin: 32px 0; max-width: 650px; }
.hero-actions { align-items: center; display: flex; flex-wrap: wrap; gap: 24px; }
.text-link { align-items: center; display: inline-flex; font-size: 14px; font-weight: 800; gap: 9px; min-height: 48px; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero-note { color: #7c847c; font-size: 12px; margin: 18px 0 0; }

.terminal-card { background: #111612; border: 1px solid #2e382f; border-radius: 24px; box-shadow: 0 35px 90px rgba(18, 24, 19, 0.18); color: #e8ede6; max-width: 680px; overflow: hidden; width: 100%; }
.terminal-bar { align-items: center; background: #1a211b; border-bottom: 1px solid #2b332c; display: flex; gap: 7px; min-height: 52px; padding: 0 18px; }
.terminal-bar span { background: #727a72; border-radius: 50%; height: 9px; width: 9px; }
.terminal-bar span:first-child { background: #d8ff3e; }
.terminal-bar p { color: #899189; font: 11px ui-monospace, SFMono-Regular, Menlo, monospace; margin: 0 0 0 10px; }
.terminal-card pre { font: 13px/1.9 ui-monospace, SFMono-Regular, Menlo, monospace; margin: 0; overflow-x: auto; padding: clamp(24px, 4vw, 44px); }
.code-dim { color: #899289; }
.code-string { color: #d0dba8; }
.code-acid { color: var(--acid); }
.terminal-result { align-items: center; border-top: 1px solid #2b332c; color: #9ca49c; display: flex; font: 11px ui-monospace, monospace; gap: 9px; min-height: 50px; padding: 0 22px; }
.live-dot { background: var(--acid); border-radius: 50%; box-shadow: 0 0 0 5px rgba(216, 255, 62, 0.1); height: 7px; width: 7px; }

.proof-strip { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 auto; max-width: 1440px; }
.proof-strip div { align-items: center; border-right: 1px solid var(--line); display: flex; gap: 15px; min-height: 88px; min-width: 0; padding: 18px clamp(20px, 3vw, 42px); }
.proof-strip div:last-child { border-right: 0; }
.proof-strip strong { font: italic 700 34px Georgia, serif; }
.proof-strip span { color: #677068; font-size: 12px; line-height: 1.5; min-width: 0; overflow-wrap: anywhere; }

.section { margin: 0 auto; max-width: 1440px; padding: 96px clamp(24px, 6vw, 88px); }
.section h2 { font-size: clamp(42px, 5vw, 72px); letter-spacing: -0.065em; line-height: 1.02; margin: 0; }
.section-copy > p:not(.eyebrow), .section-heading > p:not(.eyebrow), .boundary-copy p { color: #626a62; font-size: 17px; line-height: 1.85; }
.split-section { align-items: center; display: grid; gap: clamp(50px, 10vw, 150px); grid-template-columns: 1fr 0.9fr; }
.section-copy { max-width: 650px; }
.check-list { display: grid; gap: 15px; list-style: none; margin: 34px 0 0; padding: 0; }
.check-list li { align-items: center; display: flex; font-size: 14px; font-weight: 750; gap: 12px; }
.check-list li::before { align-items: center; background: var(--acid); border-radius: 50%; content: "✓"; display: inline-flex; flex: 0 0 24px; font-size: 12px; height: 24px; justify-content: center; }
.steps-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.steps-card div { align-items: center; background: var(--surface); border-bottom: 1px solid var(--line); display: flex; gap: 25px; min-height: 112px; padding: 25px 32px; }
.steps-card div:last-child { border-bottom: 0; }
.steps-card span, .feature-number { color: #899188; font: italic 700 14px Georgia, serif; }
.steps-card p { font-size: 16px; font-weight: 800; margin: 0; }

.feature-section { border-top: 1px solid var(--line); }
.section-heading { max-width: 780px; }
.feature-grid { display: grid; gap: 1px; grid-template-columns: repeat(3, 1fr); margin-top: 54px; }
.feature-grid article { background: var(--surface); border: 1px solid var(--line); margin: -1px 0 0 -1px; min-height: 220px; padding: 32px; }
.feature-grid h3 { font-size: 20px; letter-spacing: -0.03em; margin: 42px 0 14px; }
.feature-grid p { color: #687068; font-size: 13px; line-height: 1.75; margin: 0; }

.dark-section { align-items: end; background: var(--forest); color: #fff; display: grid; gap: 80px; grid-template-columns: 1.15fr 0.85fr; max-width: none; padding-left: max(24px, calc((100vw - 1440px) / 2 + 88px)); padding-right: max(24px, calc((100vw - 1440px) / 2 + 88px)); }
.dark-section .eyebrow { color: var(--acid); }
.dark-section h2 { max-width: 800px; }
.boundary-copy p { color: #bdc5bd; }
.boundary-copy a { color: var(--acid); display: inline-block; font-size: 13px; font-weight: 800; margin-top: 10px; text-decoration: none; }
.boundary-copy a:hover { text-decoration: underline; text-underline-offset: 5px; }

.pricing-section { align-items: center; display: grid; gap: 90px; grid-template-columns: 1fr 400px; }
.pricing-card { background: var(--acid); border-radius: var(--radius); display: flex; flex-direction: column; min-height: 430px; padding: 38px; }
.pricing-card p { font-size: 11px; font-weight: 850; letter-spacing: 0.13em; margin: 0; }
.pricing-card strong { font-size: 86px; letter-spacing: -0.08em; margin: auto 0 0; }
.pricing-card span { font-size: 13px; margin: 0 0 26px; }

.faq-section { border-top: 1px solid var(--line); display: grid; gap: 80px; grid-template-columns: 0.65fr 1.35fr; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-size: 17px; font-weight: 800; list-style: none; min-height: 84px; padding: 30px 45px 25px 0; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-size: 26px; font-weight: 400; position: absolute; right: 5px; top: 25px; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { color: #626a62; font-size: 14px; line-height: 1.8; margin: -8px 45px 28px 0; }

.final-cta { background: var(--acid); padding: 88px 24px; text-align: center; }
.final-cta h2 { font-size: clamp(48px, 6vw, 86px); letter-spacing: -0.075em; line-height: 0.98; margin: 0 auto; max-width: 1000px; }
.final-cta > p:not(.eyebrow) { line-height: 1.7; margin: 28px auto; max-width: 650px; }
.button-light { background: var(--surface); border-color: var(--surface); color: var(--ink); }

footer { align-items: center; background: var(--forest); color: #fff; display: grid; grid-template-columns: 1fr auto 1fr; min-height: 150px; padding: 32px clamp(24px, 6vw, 88px); }
footer > p { color: #879087; font-size: 12px; }
footer nav { display: flex; gap: 22px; justify-content: end; }
footer nav a { align-items: center; color: #bdc5bd; display: inline-flex; font-size: 12px; min-height: 32px; text-decoration: none; }

@media (max-width: 1050px) {
  .desktop-nav, .header-login { display: none; }
  .hero { grid-template-columns: 1fr; }
  .terminal-card { max-width: none; }
  .proof-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-strip div:nth-child(2) { border-right: 0; }
  .proof-strip div:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-section, .faq-section { grid-template-columns: 1fr; }
  .pricing-card { max-width: 520px; width: 100%; }
}

@media (max-width: 720px) {
  .site-header { height: 68px; padding: 0 16px; }
  .header-actions { gap: 8px; }
  .button-small { display: none; }
  .locale-wrap select { max-width: 110px; min-height: 44px; }
  .hero { min-height: 0; padding: 64px 20px 72px; }
  .hero h1 { font-size: clamp(54px, 17vw, 76px); }
  .hero-lead { font-size: 16px; }
  .terminal-card pre { font-size: 11px; padding: 24px 18px; }
  .proof-strip div { min-height: 90px; padding: 16px 18px; }
  .section { padding: 72px 20px; }
  .section h2 { font-size: 46px; }
  .split-section, .dark-section { grid-template-columns: 1fr; }
  .dark-section { gap: 45px; padding: 90px 20px; }
  .feature-grid { grid-template-columns: 1fr; margin-top: 45px; }
  .feature-grid article { min-height: 200px; }
  .pricing-section { gap: 45px; }
  .pricing-card { min-height: 360px; padding: 30px; }
  .faq-section { gap: 45px; }
  .final-cta { padding: 72px 20px; }
  footer { align-items: start; gap: 26px; grid-template-columns: 1fr; }
  footer nav { flex-wrap: wrap; justify-content: start; }
}

@media (max-width: 420px) {
  .site-header { gap: 8px; }
  .launch-brand { font-size: 16px; gap: 8px; }
  .launch-mark { height: 32px; width: 32px; }
  .locale-wrap select { max-width: 98px; }
  .hero h1 { font-size: clamp(48px, 14vw, 58px); }
  .proof-strip div { gap: 10px; }
  .proof-strip strong { font-size: 28px; }
  .proof-strip span { font-size: 11px; }
}

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