:root {
  --ink: #f5f7f4;
  --ink-soft: #d6ddd8;
  --paper: #050706;
  --panel: #111614;
  --panel-soft: #090d0c;
  --line: rgba(221, 230, 224, 0.14);
  --muted: #9aa6a0;
  --muted-dark: #b6c0ba;
  --accent: #44d0bd;
  --accent-deep: #7ae6d6;
  --gold: #d2b66c;
  --danger: #7f4b4b;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.46);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic",
    "Yu Gothic UI", "Noto Sans JP", "Segoe UI", sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 78% 8%, rgba(68, 208, 189, 0.12), transparent 34%),
    linear-gradient(180deg, #07100f 0%, #050706 46%, #020302 100%);
  background-size: 48px 48px, 48px 48px, auto, auto;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--accent);
  color: #031513;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(221, 230, 224, 0.12);
  background: rgba(5, 7, 6, 0.88);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(100% - 32px, var(--max));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  min-width: 178px;
}

.brand-mark {
  font-size: 1.04rem;
  font-weight: 700;
  line-height: 1.2;
}

.brand-sub {
  color: var(--muted-dark);
  font-size: 0.74rem;
  line-height: 1.2;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  font-size: 0.9rem;
}

.site-nav a {
  padding: 10px 11px;
  border-radius: var(--radius);
  color: var(--ink-soft);
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  background: rgba(47, 185, 165, 0.12);
  color: var(--accent-deep);
}

.site-nav .nav-cta {
  margin-left: 6px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #031513;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: var(--accent-deep);
  color: #031513;
  border-color: var(--accent-deep);
}

.language-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  margin-left: 8px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted-dark);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1;
}

.language-link:hover,
.language-link:focus-visible {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #030504;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 4, 4, 0.98), rgba(3, 6, 6, 0.84) 47%, rgba(4, 7, 7, 0.62)),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  filter: saturate(0.7) brightness(0.62);
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 72%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 96px 0 88px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 890px;
  margin: 0;
  font-size: clamp(2.45rem, 6vw, 5.9rem);
  line-height: 1.02;
  font-weight: 700;
}

.hero-lead {
  max-width: 720px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: var(--accent);
  color: #031513;
  font-weight: 700;
  line-height: 1.25;
}

.button:hover,
.button:focus-visible {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #031513;
}

.button.secondary {
  background: transparent;
  color: inherit;
  border-color: currentColor;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.button.light {
  background: #f5f7f4;
  color: #06100e;
  border-color: #f5f7f4;
}

.button.light:hover,
.button.light:focus-visible {
  color: #031513;
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

.hero-metrics {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, var(--max));
  margin: -38px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 11, 10, 0.94);
  box-shadow: var(--shadow);
}

.metric {
  min-height: 124px;
  padding: 22px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

.metric:last-child {
  border-right: 0;
}

.metric b {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 1.35rem;
  line-height: 1.2;
}

.metric span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
}

.section {
  padding: 96px 0;
}

.section.compact {
  padding: 72px 0;
}

.section.dark {
  background: #020403;
  color: #fff;
}

.section.soft {
  background: rgba(9, 13, 12, 0.96);
}

.section-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.dark .section-kicker {
  color: var(--gold);
}

.section-title {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.8rem);
  line-height: 1.12;
}

.section-lead {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.dark .section-lead,
.dark .text-muted {
  color: var(--muted-dark);
}

.text-muted {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(300px, 0.97fr);
  gap: 56px;
  align-items: center;
}

.split.align-start {
  align-items: start;
}

.media-frame {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  border-radius: var(--radius);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.media-frame figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 12px 14px;
  background: rgba(17, 21, 19, 0.82);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.82rem;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset;
}

.dark .card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.13);
}

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border: 1px solid rgba(47, 185, 165, 0.42);
  border-radius: 50%;
  color: var(--accent);
  font-weight: 700;
}

.dark .card-number {
  color: var(--accent);
}

.card h3 {
  margin: 0 0 12px;
  font-size: 1.12rem;
  line-height: 1.42;
}

.card p,
.card ul {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.dark .card p,
.dark .card ul {
  color: var(--muted-dark);
}

.card ul {
  padding-left: 1.1em;
}

.card li + li {
  margin-top: 6px;
}

.band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #030504;
  color: #fff;
}

.band-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: 36px;
  align-items: center;
  padding: 54px 0;
}

.band h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 1.2;
}

.band p {
  margin: 14px 0 0;
  color: var(--muted-dark);
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
}

.process-step {
  min-height: 210px;
  padding: 24px;
  background: var(--panel);
  border-right: 1px solid var(--line);
}

.process-step:last-child {
  border-right: 0;
}

.process-step b {
  display: block;
  margin-bottom: 26px;
  color: var(--accent);
  font-size: 0.9rem;
}

.process-step h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.notice {
  margin-top: 28px;
  padding: 18px 20px;
  border-left: 3px solid var(--gold);
  background: rgba(200, 164, 91, 0.12);
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.dark .notice {
  color: rgba(255, 255, 255, 0.84);
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  display: grid;
  align-items: end;
  color: #fff;
  background: #030504;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 4, 4, 0.98), rgba(3, 6, 6, 0.86) 54%, rgba(4, 7, 7, 0.64)),
    var(--hero-image);
  background-position: center;
  background-size: cover;
  filter: saturate(0.7) brightness(0.58);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 86px 0 72px;
}

.breadcrumb {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
}

.breadcrumb a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-hero h1 {
  max-width: 860px;
  font-size: clamp(2.2rem, 5vw, 4.7rem);
}

.page-hero p {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.03rem;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--panel);
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

th,
td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  width: 28%;
  color: var(--ink);
  background: rgba(47, 185, 165, 0.08);
}

tr:last-child th,
tr:last-child td {
  border-bottom: 0;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  background: rgba(47, 185, 165, 0.08);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 1.1fr);
  gap: 34px;
  align-items: start;
}

.contact-box {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.contact-box h2,
.contact-box h3 {
  margin-top: 0;
}

.definition-list {
  display: grid;
  gap: 16px;
  margin: 0;
}

.definition-list div {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.definition-list div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.definition-list dt {
  color: var(--muted);
  font-size: 0.86rem;
}

.definition-list dd {
  margin: 4px 0 0;
  font-weight: 700;
}

.site-footer {
  background: #020403;
  color: #fff;
}

.footer-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 54px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 1.2fr);
  gap: 40px;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.footer-nav a {
  color: var(--muted-dark);
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--accent);
}

.footer-note {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--muted-dark);
  font-size: 0.82rem;
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 68px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 76px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .site-nav .nav-cta {
    margin: 8px 0 0;
  }

  .hero {
    min-height: 590px;
  }

  .hero-content {
    padding: 72px 0 76px;
  }

  .hero-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .metric:nth-child(2) {
    border-right: 0;
  }

  .metric:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .split,
  .band-inner,
  .contact-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .grid.three,
  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-step:nth-child(2) {
    border-right: 0;
  }

  .process-step:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 680px) {
  .brand {
    min-width: 0;
  }

  .brand-sub {
    display: none;
  }

  h1 {
    font-size: 2.5rem;
  }

  .hero,
  .page-hero {
    min-height: 520px;
  }

  .section {
    padding: 68px 0;
  }

  .section.compact {
    padding: 54px 0;
  }

  .hero-metrics,
  .grid.two,
  .grid.three,
  .process,
  .footer-nav {
    grid-template-columns: 1fr;
  }

  .metric,
  .metric:nth-child(2),
  .process-step,
  .process-step:nth-child(2) {
    border-right: 0;
  }

  .metric {
    min-height: 108px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .metric:last-child,
  .process-step:last-child {
    border-bottom: 0;
  }

  .process-step {
    min-height: auto;
    border-bottom: 1px solid var(--line);
  }

  .media-frame {
    min-height: 320px;
  }

  .hero-actions,
  .section-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
