:root {
  --ink: #132238;
  --muted: #536579;
  --line: #d7e0e8;
  --paper: #ffffff;
  --soft: #f3f7fa;
  --blue: #0866d5;
  --blue-deep: #063575;
  --blue-dark: #052657;
  --gold: #f4bf2a;
  --teal: #0b8f86;
  --warning: #b64935;
  --max-width: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Yu Gothic UI", "Meiryo", "Segoe UI", sans-serif;
  line-height: 1.8;
  letter-spacing: 0;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, summary, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 8px 12px;
  background: #ffffff;
  color: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.hero-wrap {
  position: relative;
  overflow: hidden;
  background: var(--blue-dark);
  color: #ffffff;
}

.hero-wrap::after {
  position: absolute;
  top: 76px;
  right: calc(50% - 580px);
  width: 1px;
  height: calc(100% - 76px);
  background: rgba(255, 255, 255, 0.08);
  content: "";
}

.site-header {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.header-inner {
  display: flex;
  align-items: center;
  width: min(var(--max-width), calc(100% - 48px));
  height: 76px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-size: 17px;
  font-weight: 800;
}

.brand img { width: 42px; height: 42px; border-radius: 8px; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a { color: rgba(255, 255, 255, 0.8); }
.site-nav a:hover { color: #ffffff; }

.header-status {
  margin-left: 30px;
  padding: 5px 10px;
  border: 1px solid rgba(244, 191, 42, 0.7);
  border-radius: 4px;
  color: #ffe18a;
  font-size: 12px;
  font-weight: 800;
}

.menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  margin-left: auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  width: 22px;
  height: 2px;
  background: #ffffff;
  transition: transform 160ms ease, opacity 160ms ease;
}

.hero {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: min(var(--max-width), calc(100% - 48px));
  min-height: calc(100svh - 124px);
  margin: 0 auto;
  padding: 78px 0 112px;
}

.hero-copy { position: relative; z-index: 3; width: min(680px, 64%); }

.eyebrow {
  margin: 0 0 16px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.4;
}

.hero-eyebrow { color: #9ac9ff; }

.hero h1 {
  margin: 0;
  color: #ffffff;
  font-size: 76px;
  font-weight: 900;
  line-height: 1.08;
}

.hero-lead {
  margin: 22px 0 0;
  color: #ffffff;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.45;
}

.hero-description {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 2;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 800;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--gold); color: #2e270c; }
.button-primary:hover { background: #ffd35a; }
.button-secondary { border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.06); color: #fff; }
.button-secondary:hover { border-color: rgba(255,255,255,.65); background: rgba(255,255,255,.12); }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 30px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
  list-style: none;
}

.hero-facts li::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  border-radius: 50%;
  background: #42d2c2;
  content: "";
}

.hero-art {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: -108px;
  width: min(610px, 50vw);
  height: auto;
  transform: translateY(-50%);
  filter: drop-shadow(0 28px 48px rgba(0,0,0,.34));
  opacity: .92;
}

.hero-note {
  position: absolute;
  right: 0;
  bottom: 24px;
  left: 0;
  margin: 0;
  color: rgba(255,255,255,.55);
  font-size: 12px;
}

.section { scroll-margin-top: 20px; }
.section-inner { width: min(var(--max-width), calc(100% - 48px)); margin: 0 auto; }

.intro { padding: 104px 0; border-bottom: 1px solid var(--line); background: #ffffff; }

.intro-grid, .portable-grid, .safety-grid, .faq-grid {
  display: grid;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  gap: 96px;
  align-items: start;
}

h2 { margin: 0; color: var(--ink); font-size: 42px; font-weight: 900; line-height: 1.35; }

.intro-copy { padding-top: 32px; border-top: 3px solid var(--gold); }
.intro-copy p { margin: 0; color: var(--muted); font-size: 16px; }
.intro-copy p + p { margin-top: 18px; }

.features { padding: 112px 0 124px; background: var(--soft); }
.section-heading { max-width: 700px; margin-bottom: 58px; }
.section-heading > p:last-child { margin: 18px 0 0; color: var(--muted); }

.feature-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid #b9c7d4; }
.feature-item { min-width: 0; padding: 28px 26px 4px; border-left: 1px solid #b9c7d4; }
.feature-item:first-child { border-left: 0; }
.feature-number { color: var(--teal); font-size: 12px; font-weight: 900; }
.feature-item h3 { margin: 42px 0 12px; font-size: 19px; line-height: 1.5; }
.feature-item p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }

.how-to { padding: 112px 0; background: var(--blue-deep); color: #ffffff; }
.section-heading-light .eyebrow { color: #8edbd4; }
.section-heading-light h2 { color: #ffffff; }

.steps {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,.25);
  list-style: none;
}

.steps li {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 24px 30px 18px;
  border-left: 1px solid rgba(255,255,255,.25);
}

.steps li:first-child { border-left: 0; }

.step-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 220px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,.16);
}

.step-visual img {
  width: 210px;
  height: 210px;
  object-fit: contain;
}

.step-body {
  display: grid;
  grid-template-columns: 48px minmax(0,1fr);
  gap: 18px;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
}

.steps h3 { margin: 4px 0 10px; color: #ffffff; font-size: 20px; }
.steps p { margin: 0; color: rgba(255,255,255,.7); font-size: 14px; }

.vault-flow {
  display: grid;
  grid-template-columns: 1fr 130px 1fr;
  align-items: stretch;
  margin-top: 70px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 6px;
  background: rgba(255,255,255,.055);
}

.flow-item { display: flex; flex-direction: column; min-height: 178px; padding: 34px; }
.flow-item strong { margin-top: auto; color: #ffffff; font-size: 24px; line-height: 1.4; }
.flow-item small { color: rgba(255,255,255,.62); font-size: 13px; }
.flow-label { color: #9ac9ff; font-size: 12px; font-weight: 800; }

.flow-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(255,255,255,.2);
  border-left: 1px solid rgba(255,255,255,.2);
  color: var(--gold);
}

.flow-arrow span { font-size: 12px; font-weight: 800; }
.flow-arrow b { font-size: 38px; line-height: 1; }

.portable { padding: 116px 0; background: #eaf7f5; }
.portable-copy > p:last-of-type { margin: 24px 0 0; color: #415e66; }
.portable-list { margin: 38px 0 0; }

.portable-list > div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid #afd3cf;
}

.portable-list > div:last-child { border-bottom: 1px solid #afd3cf; }

.portable-list dt {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal);
  color: #ffffff;
  font-weight: 900;
}

.portable-list dd { display: flex; flex-direction: column; margin: 0; }
.portable-list dd strong { font-size: 15px; }
.portable-list dd span { color: #58727a; font-size: 12px; }

.drive-example {
  align-self: center;
  padding: 28px 30px;
  border: 1px solid #a5c8c4;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 16px 18px 0 #c9e4e1;
}

.portable-pictogram {
  width: min(260px, 78%);
  height: 190px;
  margin: -12px auto 12px;
  object-fit: contain;
}

.drive-title { display: flex; align-items: center; gap: 10px; padding-bottom: 18px; border-bottom: 1px solid #d2e2e0; font-size: 15px; font-weight: 900; }
.drive-title > span { width: 18px; height: 26px; border: 2px solid var(--teal); border-radius: 3px; }
.tree-line { display: grid; grid-template-columns: 30px 1fr; gap: 8px; padding: 22px 4px 0; }
.tree-branch { color: #8ca4a1; font-family: Consolas, monospace; }
.tree-line > span:last-child { display: flex; flex-direction: column; }
.tree-line strong { font-size: 15px; }
.tree-line small { color: #6a7e80; font-size: 12px; }
.drive-example > p { margin: 26px 0 0; padding-top: 18px; border-top: 1px solid #d2e2e0; color: #587076; font-size: 12px; }

.safety { padding: 116px 0; background: #fffaf0; }
.safety-heading .eyebrow { color: var(--warning); }
.safety-heading > p:not(.eyebrow) { margin: 22px 0 0; color: #6f6255; }

.safety-pictogram {
  width: min(300px, 86%);
  height: 220px;
  margin: 30px auto 0;
  object-fit: contain;
}
.caution-list { margin: 0; padding: 0; border-top: 2px solid var(--warning); list-style: none; }
.caution-list li { display: grid; grid-template-columns: 38px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid #e7d9c3; }
.caution-list span { color: var(--warning); font-size: 12px; font-weight: 900; }
.caution-list p { margin: 0; color: #62584d; font-size: 14px; }

.faq { padding: 116px 0; background: #ffffff; }
.faq-list { border-top: 2px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }

.faq-list summary {
  position: relative;
  padding: 24px 52px 24px 0;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.6;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 50%; right: 8px; width: 22px; color: var(--blue); font-size: 24px; font-weight: 400; line-height: 1; text-align: center; transform: translateY(-50%); content: "+"; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: -4px 52px 24px 0; color: var(--muted); font-size: 14px; }

.availability { padding: 74px 0; background: #edf3f8; }
.availability-inner { display: grid; grid-template-columns: 96px 1fr auto; gap: 28px; align-items: center; }
.availability-inner img { width: 96px; height: 96px; border-radius: 18px; }
.availability-inner .eyebrow { margin-bottom: 5px; }
.availability-inner h2 { font-size: 30px; }
.availability-inner p:last-child { margin: 5px 0 0; color: var(--muted); font-size: 14px; }

.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  border: 1px solid #bdcbd7;
  border-radius: 5px;
  background: #ffffff;
  color: #4e6071;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.availability-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }

.site-footer { padding: 28px 0; background: #111b28; color: rgba(255,255,255,.72); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; width: min(var(--max-width), calc(100% - 48px)); margin: 0 auto; }
.footer-inner > div { display: flex; align-items: baseline; gap: 16px; }
.footer-inner strong { color: #ffffff; font-size: 14px; }
.footer-inner span, .footer-inner p { margin: 0; font-size: 11px; }

.back-to-top {
  position: fixed;
  z-index: 30;
  right: 20px;
  bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid #c9d5df;
  border-radius: 6px;
  background: #ffffff;
  color: var(--blue-dark);
  box-shadow: 0 8px 24px rgba(17,27,40,.14);
  font-size: 20px;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 480ms ease, transform 480ms ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 920px) {
  .site-nav { gap: 18px; }
  .header-status { margin-left: 18px; }
  .hero { align-items: flex-start; min-height: auto; padding: 68px 0 96px; }
  .hero-copy { width: 72%; }
  .hero h1 { font-size: 62px; }
  .hero-lead { font-size: 25px; }
  .hero-art { right: -150px; width: 520px; opacity: .55; }
  .feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .feature-item:nth-child(3) { border-left: 0; }
  .feature-item:nth-child(n+3) { margin-top: 38px; border-top: 1px solid #b9c7d4; }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-top: 1px solid rgba(255,255,255,.2); border-left: 0; }
  .steps li:first-child { border-top: 0; }
  .intro-grid, .portable-grid, .safety-grid, .faq-grid { gap: 52px; }
}

@media (max-width: 760px) {
  .header-inner, .hero, .section-inner, .footer-inner { width: min(100% - 32px,var(--max-width)); }
  .header-inner { height: 66px; }
  .brand { font-size: 15px; }
  .brand img { width: 34px; height: 34px; border-radius: 7px; }
  .menu-button { display: flex; }
  .header-status { margin-left: 10px; padding: 4px 7px; font-size: 10px; }

  .site-nav {
    position: absolute;
    top: 66px;
    right: 16px;
    left: 16px;
    display: grid;
    gap: 0;
    padding: 8px 18px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 6px;
    background: #0a326c;
    box-shadow: 0 16px 30px rgba(0,0,0,.28);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
  }

  .site-nav a { padding: 13px 2px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .site-nav a:last-child { border-bottom: 0; }
  .menu-open .site-nav { visibility: visible; opacity: 1; transform: translateY(0); }
  .menu-open .menu-button span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-button span:nth-child(2) { opacity: 0; }
  .menu-open .menu-button span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero { min-height: calc(100svh - 108px); padding: 54px 0 78px; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: 48px; }
  .hero-lead { max-width: 350px; margin-top: 18px; font-size: 22px; }
  .hero-description { max-width: 500px; font-size: 14px; line-height: 1.9; }
  .hero-actions { margin-top: 26px; }
  .button { min-height: 44px; padding: 0 15px; font-size: 12px; }
  .hero-facts { display: grid; gap: 7px; margin-top: 24px; font-size: 11px; }
  .hero-art { top: 57%; right: -148px; width: 420px; opacity: .23; }
  .hero-note { max-width: 320px; font-size: 10px; }
  .intro, .features, .how-to, .portable, .safety, .faq { padding: 78px 0; }
  h2 { font-size: 32px; }
  .intro-grid, .portable-grid, .safety-grid, .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .intro-copy { padding-top: 24px; }
  .section-heading { margin-bottom: 38px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-item, .feature-item:first-child, .feature-item:nth-child(3) { margin: 0; padding: 24px 0; border-top: 1px solid #b9c7d4; border-left: 0; }
  .feature-item h3 { margin-top: 18px; }
  .steps li { padding: 24px 0 28px; }
  .step-visual { height: 190px; margin-bottom: 22px; }
  .step-visual img { width: 180px; height: 180px; }
  .step-body { grid-template-columns: 42px minmax(0,1fr); gap: 14px; }
  .step-number { width: 38px; height: 38px; }
  .vault-flow { grid-template-columns: 1fr; margin-top: 46px; }
  .flow-item { min-height: 130px; padding: 26px; }
  .flow-arrow { min-height: 70px; border: 0; border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); }
  .flow-arrow b { transform: rotate(90deg); }
  .drive-example { margin-right: 10px; padding: 24px 22px; box-shadow: 10px 12px 0 #c9e4e1; }
  .availability-inner { grid-template-columns: 70px 1fr; gap: 18px; }
  .availability-inner img { width: 70px; height: 70px; border-radius: 14px; }
  .availability-inner h2 { font-size: 24px; }
  .availability-badge { grid-column: 1 / -1; justify-self: start; }
  .footer-inner, .footer-inner > div { align-items: flex-start; flex-direction: column; gap: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
