:root {
  color-scheme: dark;
  --bg: #080909;
  --ink: #f5f0e6;
  --soft: #d8d0bf;
  --muted: #a69d8d;
  --line: rgba(255, 255, 255, 0.13);
  --panel: rgba(22, 24, 23, 0.82);
  --panel-strong: #151716;
  --accent: #e7c36b;
  --teal: #56c0ad;
  --blue: #58acd2;
  --purple: #9b80d9;
  --coral: #f07784;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 16% 8%, rgba(86, 192, 173, 0.18), transparent 25rem),
    radial-gradient(circle at 92% 16%, rgba(231, 195, 107, 0.12), transparent 28rem),
    linear-gradient(180deg, #080909 0%, #11120f 48%, #080909 100%);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  line-height: 1.75;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 9, 9, 0.78);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(calc(100vw - 32px), var(--max));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  background: url("assets/app-icon.png") center / cover no-repeat;
  border-radius: 8px;
  box-shadow: 0 0 22px rgba(231, 195, 107, 0.18);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-links a,
.footer a {
  transition: color 160ms ease;
}

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

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  white-space: nowrap;
}

.lang-switch a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.lang-switch a.active {
  background: rgba(231, 195, 107, 0.16);
  color: var(--ink);
}

.lang-switch a:hover {
  color: var(--accent);
}

.hero {
  min-height: min(880px, calc(100svh - 64px));
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 9, 9, 0.96) 0%, rgba(8, 9, 9, 0.75) 42%, rgba(8, 9, 9, 0.38) 72%, rgba(8, 9, 9, 0.8) 100%),
    linear-gradient(180deg, rgba(8, 9, 9, 0.24) 0%, #080909 100%);
}

.hero-art,
.hero-video {
  position: absolute;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-art {
  opacity: 0.72;
  filter: saturate(0.94) contrast(1.04);
}

.hero-video {
  z-index: -3;
  mix-blend-mode: screen;
  opacity: 0.18;
  filter: saturate(1.18);
}

.hero-inner {
  width: min(calc(100vw - 32px), var(--max));
  min-height: min(880px, calc(100svh - 64px));
  margin: 0 auto;
  padding: 58px 0 62px;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(300px, 0.86fr);
  align-items: center;
  gap: 54px;
  min-width: 0;
}

.hero-copy {
  width: 100%;
  max-width: 620px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 8.8em;
  margin-bottom: 20px;
  font-size: clamp(3.2rem, 7vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h1 span {
  display: block;
}

.hero-lead {
  width: min(620px, 100%);
  margin-bottom: 28px;
  color: var(--soft);
  font-size: clamp(1.04rem, 1.7vw, 1.22rem);
  line-break: anywhere;
  word-break: break-all;
}

.hero-lead span {
  display: block;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(231, 195, 107, 0.62);
  background: rgba(231, 195, 107, 0.14);
  color: var(--ink);
  border-radius: 8px;
  font-weight: 800;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2);
}

.button.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.07);
  color: #e1dacc;
}

.hero-showcase {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 16px;
}

.phone-frame {
  overflow: hidden;
  width: min(100%, 330px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 26px;
  background: #f3efe6;
  box-shadow:
    0 42px 96px rgba(0, 0, 0, 0.54),
    0 0 0 10px rgba(255, 255, 255, 0.045);
}

.phone-frame img {
  width: 100%;
}

.main-phone {
  transform: rotate(1.2deg);
}

.proof-strip {
  width: min(100%, 390px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.proof-strip span {
  min-height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(231, 195, 107, 0.26);
  background: rgba(8, 9, 9, 0.62);
  color: #efe6d3;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.section {
  padding: 88px 0;
}

.container {
  width: min(calc(100vw - 32px), var(--max));
  margin: 0 auto;
}

.section-title {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-title.compact {
  max-width: 620px;
}

.section-title h2,
.feature-copy h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4.8vw, 3.45rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.section-title p,
.feature-copy p {
  color: var(--muted);
}

.intro-band {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent),
    #0d0f0d;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(300px, 1fr);
  gap: 42px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 12px;
}

.step,
.feature {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}

.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 6px 16px;
  padding: 18px;
}

.step span {
  grid-row: span 2;
  color: var(--accent);
  font-weight: 900;
}

.step h3,
.feature h3 {
  margin-bottom: 4px;
  font-size: 1.08rem;
}

.step p,
.feature p {
  margin-bottom: 0;
  color: var(--muted);
}

.screen-band {
  background:
    radial-gradient(circle at 70% 10%, rgba(86, 192, 173, 0.16), transparent 28rem),
    #101211;
  border-block: 1px solid var(--line);
}

.screens {
  display: grid;
  grid-template-columns: 0.9fr 1fr 0.9fr;
  align-items: center;
  gap: 18px;
}

.screen {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #050606;
  border-radius: 8px;
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.42);
}

.screen img {
  width: 100%;
}

.screen figcaption {
  padding: 13px 14px 15px;
  border-top: 1px solid var(--line);
  color: #e6decd;
  font-size: 0.92rem;
  font-weight: 800;
}

.screen.main {
  transform: translateY(-12px);
}

.feature-band {
  background:
    linear-gradient(90deg, rgba(231, 195, 107, 0.06), transparent 38%),
    #0b0c0c;
}

.feature-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}

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

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

.feature {
  min-height: 210px;
  padding: 20px;
}

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

.spec {
  min-height: 128px;
  padding: 18px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent);
}

.spec strong {
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  font-size: 1.16rem;
}

.spec span {
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
}

.legal-hero {
  padding: 64px 0 24px;
}

.legal-content {
  max-width: 860px;
  padding-bottom: 80px;
  overflow-wrap: anywhere;
}

.legal-content h1 {
  max-width: none;
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
}

.legal-content h2 {
  margin: 40px 0 10px;
  font-size: 1.35rem;
}

.legal-content p,
.legal-content li,
.legal-content td {
  color: var(--muted);
}

.legal-content p {
  max-width: 100%;
  line-break: anywhere;
  word-break: break-all;
}

.legal-content ul {
  padding-left: 1.2em;
}

.back-link {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--accent);
  font-weight: 700;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.contact-section {
  min-width: 0;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 8px;
}

.contact-section h2 {
  margin: 0 0 8px;
}

.contact-section p {
  margin-bottom: 0;
}

.contact-label {
  margin-bottom: 8px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-email {
  color: var(--teal);
  font-size: clamp(1rem, 3vw, 1.24rem);
  font-weight: 800;
  overflow-wrap: anywhere;
  word-break: break-all;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--line);
}

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

.legal-table th {
  width: 32%;
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 960px) {
  .hero-inner,
  .split,
  .feature-layout {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 34px;
    padding-top: 42px;
  }

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

  .hero-showcase {
    justify-self: center;
    width: min(100%, 430px);
  }

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

@media (max-width: 780px) {
  .nav {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    gap: 14px;
    padding-bottom: 2px;
    white-space: nowrap;
  }

  .lang-switch {
    max-width: 100%;
    overflow-x: auto;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    padding: 40px 0 48px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(8, 9, 9, 0.82) 0%, rgba(8, 9, 9, 0.72) 44%, #080909 100%),
      linear-gradient(90deg, rgba(8, 9, 9, 0.78), rgba(8, 9, 9, 0.36));
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.52rem, 12vw, 3.45rem);
  }

  .hero-lead {
    width: 100%;
    max-width: calc(100vw - 32px);
  }

  .phone-frame {
    width: min(100%, 264px);
    border-radius: 22px;
  }

  .proof-strip {
    grid-template-columns: 1fr;
    width: min(100%, 300px);
  }

  .section {
    padding: 64px 0;
  }

  .screens,
  .feature-grid,
  .specs {
    grid-template-columns: 1fr;
  }

  .screen.main {
    transform: none;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
  }

  .legal-table th {
    padding-bottom: 4px;
    border-bottom: 0;
  }

  .legal-table td {
    padding-top: 0;
  }
}
