:root {
  color-scheme: dark;
  --bg: #06080d;
  --ink: #f6f8fc;
  --muted: #a9b2c2;
  --line: rgba(255, 255, 255, 0.14);
  --panel: rgba(18, 23, 32, 0.82);
  --panel-strong: rgba(24, 30, 42, 0.94);
  --cyan: #3ed9df;
  --green: #62e58c;
  --amber: #ffd166;
  --pink: #ff5c8a;
  --violet: #9b68ff;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", "Segoe UI", sans-serif;
  letter-spacing: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px),
    var(--bg);
  background-size: 40px 40px, 40px 40px, auto;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(18px, 4vw, 44px);
  border-bottom: 1px solid var(--line);
  background: rgba(6, 8, 13, 0.76);
  backdrop-filter: blur(18px);
}

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

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

.brand span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

nav a {
  padding: 8px 0;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--ink);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 82svh;
  display: grid;
  align-items: center;
  padding: clamp(64px, 8vw, 120px) clamp(22px, 5vw, 72px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("assets/hero.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 8, 13, 0.96) 0%, rgba(6, 8, 13, 0.78) 43%, rgba(6, 8, 13, 0.38) 100%),
    linear-gradient(0deg, rgba(6, 8, 13, 0.92) 0%, rgba(6, 8, 13, 0.12) 48%, rgba(6, 8, 13, 0.76) 100%);
}

.hero-copy {
  width: min(690px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: 0.98;
  font-weight: 900;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4.8vw, 4.6rem);
  line-height: 1.08;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.lead {
  max-width: 640px;
  margin-bottom: 28px;
  color: #e9edf6;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.9;
  font-weight: 700;
}

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

.primary-link,
.secondary-link,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 900;
}

.primary-link {
  color: #041014;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  box-shadow: 0 18px 42px rgba(62, 217, 223, 0.18);
}

.secondary-link {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.text-link {
  min-height: 40px;
  padding: 0;
  color: var(--cyan);
}

.section,
.showcase,
.privacy-band,
.page {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: clamp(70px, 10vw, 128px) 0;
}

.section.compact {
  padding-block: clamp(56px, 8vw, 92px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-heading p,
.showcase-copy p,
.privacy-band p,
.page-hero p,
.policy p,
.support-card p,
.contact-panel p {
  color: var(--muted);
  line-height: 1.85;
}

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

.feature-card,
.support-card {
  min-height: 206px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}

.feature-icon {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border: 1px solid currentColor;
  border-radius: 8px;
  font-weight: 900;
}

.accent-cyan { color: var(--cyan); }
.accent-amber { color: var(--amber); }
.accent-green { color: var(--green); }
.accent-pink { color: var(--pink); }

.feature-card h3,
.support-card h2 {
  color: var(--ink);
}

.feature-card p {
  color: var(--muted);
  line-height: 1.75;
}

.showcase {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(26px, 5vw, 60px);
  align-items: center;
  padding: clamp(54px, 9vw, 112px) 0;
  border-top: 1px solid var(--line);
}

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

.screen-grid img,
.privacy-band img {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
}

.screen-grid img:nth-child(2) {
  transform: translateY(-26px);
}

.privacy-band {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding: clamp(48px, 8vw, 84px);
  margin-block: clamp(30px, 8vw, 84px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(62, 217, 223, 0.12), transparent 34%),
    linear-gradient(315deg, rgba(255, 209, 102, 0.12), transparent 34%),
    var(--panel-strong);
}

.page {
  padding-bottom: clamp(56px, 9vw, 110px);
}

.page-hero {
  padding: clamp(64px, 9vw, 118px) 0 clamp(34px, 6vw, 70px);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.8rem, 7vw, 6rem);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-panel {
  justify-content: space-between;
  margin: 12px 0 72px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
}

.contact-panel div {
  max-width: 680px;
}

.policy {
  max-width: 860px;
  padding-top: 46px;
}

.policy h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 34px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer a {
  color: var(--ink);
  font-weight: 800;
}

@media (max-width: 920px) {
  .feature-grid,
  .showcase,
  .privacy-band,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .screen-grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .screen-grid img:nth-child(2) {
    transform: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 80svh;
    padding-top: 56px;
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 4.6rem);
  }

  .privacy-band {
    width: min(var(--max), calc(100% - 28px));
    padding: 22px;
  }
}
