:root {
  color-scheme: light;
  --paper: #f5f4f0;
  --paper-strong: #ffffff;
  --ink: #151515;
  --muted: #62625d;
  --line: #d9d8d2;
  --line-dark: #b7b6af;
  --terminal: #0a0d10;
  --terminal-line: #252c32;
  --terminal-text: #e5edf2;
  --accent: #176b52;
  --max: 1180px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic UI", "Noto Sans JP", sans-serif;
}

html {
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.75;
}

html[lang="ja"] body {
  line-break: strict;
  word-break: normal;
}

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid transparent;
  background: rgba(245, 244, 240, 0.94);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  border-color: var(--line);
}

.nav {
  width: min(calc(100% - 48px), var(--max));
  min-height: 70px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: #d8f6e8;
  background: var(--terminal);
  box-shadow: none;
  font: 700 14px/1 var(--mono);
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  color: var(--muted);
  font-size: 14px;
}

.nav-links a,
.lang-link,
.release-status {
  white-space: nowrap;
  width: fit-content;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.lang-link:hover,
.lang-link:focus-visible,
.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.lang-link {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.release-status,
.availability {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: var(--ink);
  background: var(--paper-strong);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  width: fit-content;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  color: var(--ink);
  letter-spacing: -0.045em;
  text-wrap: balance;
}

h1 span,
h2 span {
  display: block;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(44px, 4.7vw, 62px);
  line-height: 1.1;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(32px, 3.8vw, 50px);
  line-height: 1.18;
}

.hero {
  padding: clamp(72px, 8vw, 112px) 0 clamp(82px, 9vw, 124px);
  border-bottom: 1px solid var(--line);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(390px, 0.84fr) minmax(540px, 1.16fr);
  align-items: start;
  gap: clamp(52px, 7vw, 94px);
}

.hero-copy-block {
  max-width: 560px;
  padding-top: 18px;
}

.hero-copy {
  max-width: 620px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 20px);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 25px;
  color: var(--muted);
  font-size: 14px;
}

.hero-facts span {
  position: relative;
}

.hero-facts span:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: -13px;
  color: var(--line-dark);
}

.hero-copy-block > .availability {
  margin: 0;
}

.hero-media {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1080 / 1824;
  min-height: 0;
  justify-self: center;
  overflow: hidden;
  border: 1px solid var(--terminal-line);
  border-radius: 26px;
  background: var(--terminal);
  box-shadow: 0 24px 70px rgba(28, 31, 30, 0.16);
}

.product-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
  background: var(--terminal);
}

.features {
  background: var(--paper);
}

.feature-row {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(440px, 1.12fr);
  align-items: center;
  gap: clamp(54px, 7vw, 98px);
  padding: clamp(82px, 9vw, 122px) 0;
  border-bottom: 1px solid var(--line);
}

.feature-row.reverse .feature-copy {
  order: 2;
}

.feature-row.reverse .product-shot {
  order: 1;
}

.feature-copy {
  max-width: 520px;
}

.feature-copy > p:not(.feature-label),
.scope-copy p,
.security-copy > p,
.price-layout > div > p,
.faq-list details p {
  color: var(--muted);
  font-size: 17px;
}

.feature-label,
.section-label {
  margin-bottom: 18px;
  color: var(--accent);
  font: 700 13px/1 var(--mono);
  letter-spacing: 0.03em;
}

.product-shot {
  width: min(100%, 360px);
  aspect-ratio: 1080 / 1824;
  min-height: 0;
  margin: 0;
  justify-self: center;
  overflow: hidden;
  border: 1px solid var(--terminal-line);
  border-radius: 24px;
  background: var(--terminal);
  box-shadow: 0 22px 60px rgba(28, 31, 30, 0.13);
}

.product-shot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center top;
}

.requirements,
.pricing,
.faq,
.closing {
  padding: clamp(78px, 9vw, 118px) 0;
}

.requirements {
  border-bottom: 1px solid var(--line);
  background: var(--paper-strong);
}

.scope-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
}

.scope-layout h2 {
  max-width: 520px;
  margin-bottom: 0;
}

.scope-copy {
  max-width: 690px;
}

.scope-copy p:last-child {
  margin-bottom: 0;
}

.security {
  padding: clamp(82px, 9vw, 122px) 0;
  color: #f3f5f4;
  background: #151817;
}

.security-layout {
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(360px, 0.75fr);
  gap: clamp(54px, 8vw, 112px);
  align-items: center;
}

.security h2 {
  color: #f3f5f4;
}

.security-copy > p {
  color: #b3bcb7;
}

.security-list {
  margin: 28px 0 30px;
  padding: 0;
  list-style: none;
}

.security-list li {
  position: relative;
  padding: 11px 0 11px 26px;
  border-bottom: 1px solid #353b38;
  color: #d7ddda;
}

.security-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #75d8b5;
  font-weight: 800;
}

.text-link {
  color: #a9e7d0;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.security-shot {
  width: min(100%, 360px);
  aspect-ratio: 1080 / 1824;
  box-shadow: none;
}

.pricing {
  border-bottom: 1px solid var(--line);
}

.price-layout {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.price-layout h2 {
  margin-bottom: 14px;
}

.price-layout > div > p:last-child {
  max-width: 620px;
  margin-bottom: 0;
}

.faq {
  background: var(--paper-strong);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.62fr) minmax(500px, 1.38fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.faq-list details[open] {
  border-color: var(--line);
  background: transparent;
}

.faq-list summary {
  position: relative;
  padding: 24px 48px 24px 0;
  color: var(--ink);
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 21px;
  right: 8px;
  color: var(--muted);
  font: 400 25px/1 var(--sans);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 720px;
  margin: -3px 0 24px;
  padding: 0;
  font-size: 15px;
}

.closing {
  text-align: center;
}

.closing h2 {
  margin-bottom: 0;
}

.site-footer {
  padding: 48px 0 30px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: var(--paper-strong);
}

.footer-layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.footer-layout p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 24px;
  color: var(--muted);
  font-size: 14px;
}

.trademark-note {
  width: min(calc(100% - 48px), var(--max));
  margin: 34px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

@media (max-width: 1040px) {
  .nav-links {
    display: none;
  }

  .hero-layout,
  .scope-layout,
  .security-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy-block {
    max-width: 760px;
    padding-top: 0;
  }

  .hero-media {
    width: min(100%, 360px);
  }

  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 46px;
  }

  .feature-row.reverse .feature-copy,
  .feature-row.reverse .product-shot {
    order: initial;
  }

  .feature-copy {
    max-width: 720px;
  }

  .product-shot,
  .security-shot {
    width: min(100%, 360px);
  }

  .price-layout {
    align-items: flex-start;
  }
}

@media (max-width: 680px) {
  .container,
  .nav,
  .trademark-note {
    width: min(calc(100% - 32px), var(--max));
  }

  .nav {
    min-height: 62px;
  }

  .release-status {
    display: none;
  }

  .hero {
    padding: 58px 0 76px;
  }

  h1 {
    font-size: 38px;
    line-height: 1.12;
  }

  h2 {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero-copy {
    font-size: 17px;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .hero-facts span::after {
    display: none;
  }

  .hero-media {
    width: min(100%, 340px);
    aspect-ratio: 1080 / 1824;
    border-radius: 20px;
  }

  .product-video {
    object-position: center top;
  }

  .feature-row {
    padding: 72px 0;
  }

  .feature-copy > p:not(.feature-label),
  .scope-copy p,
  .security-copy > p,
  .price-layout > div > p {
    font-size: 16px;
  }

  .product-shot,
  .security-shot {
    width: min(100%, 340px);
    min-height: 0;
    aspect-ratio: 1080 / 1824;
    border-radius: 18px;
  }

  .requirements,
  .pricing,
  .faq,
  .closing,
  .security {
    padding: 72px 0;
  }

  .security-layout,
  .faq-layout {
    gap: 42px;
  }

  .price-layout {
    display: grid;
    gap: 28px;
  }

  .footer-layout {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
