:root {
  color-scheme: light;
  --ink: #10162f;
  --muted: #5f6684;
  --line: rgba(36, 50, 110, 0.14);
  --panel: rgba(255, 255, 255, 0.9);
  --blue: #1578ff;
  --cyan: #24d5ff;
  --pink: #ff4f91;
  --yellow: #ffe14a;
  --green: #19d88b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #f5f8ff;
  color: var(--ink);
  font-family: Inter, "Avenir Next", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.75;
}

a {
  color: #0963d5;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  padding: 34px 22px 64px;
  background: #17205b url("space-backdrop.png") center / cover no-repeat;
  color: white;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(7, 11, 45, 0.82), rgba(11, 24, 82, 0.52) 48%, rgba(255, 79, 145, 0.22)),
    linear-gradient(180deg, rgba(6, 10, 36, 0.1), rgba(6, 10, 36, 0.72));
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 78px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: white;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.34);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(42px, 8vw, 92px);
  line-height: 0.96;
  letter-spacing: 0;
}

.lead {
  max-width: 860px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  font-weight: 700;
  text-wrap: pretty;
}

.page {
  max-width: 980px;
  margin: -42px auto 0;
  padding: 0 22px 64px;
  position: relative;
  z-index: 2;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(29, 44, 110, 0.16);
  backdrop-filter: blur(14px);
}

.section {
  padding: 34px;
  border-bottom: 1px solid var(--line);
}

.section:last-child {
  border-bottom: 0;
}

h2 {
  margin: 0 0 14px;
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: 0;
}

h3 {
  margin: 28px 0 8px;
  font-size: 18px;
  letter-spacing: 0;
}

p {
  margin: 0 0 14px;
}

ul {
  margin: 10px 0 0;
  padding-left: 22px;
}

li {
  margin: 6px 0;
}

.meta {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.tile {
  min-height: 132px;
  padding: 18px;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(238, 246, 255, 0.9));
  border: 1px solid var(--line);
}

.tile strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.tile span {
  color: var(--muted);
  font-size: 14px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 11px 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  color: #06123a;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(0, 123, 255, 0.18);
}

.button.secondary {
  background: linear-gradient(135deg, var(--pink), var(--yellow));
}

.footer {
  padding: 24px 22px 40px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.language-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.notice {
  padding: 16px 18px;
  border-radius: 8px;
  background: rgba(255, 225, 74, 0.18);
  border: 1px solid rgba(255, 187, 0, 0.32);
  color: #4c3d00;
  font-weight: 700;
}

@media (max-width: 760px) {
  .hero {
    min-height: 390px;
    padding-top: 22px;
  }

  .topbar {
    align-items: flex-start;
    margin-bottom: 54px;
  }

  .nav {
    max-width: 180px;
  }

  .nav a {
    min-height: 34px;
    padding: 5px 10px;
    font-size: 12px;
  }

  .brand img {
    width: 46px;
    height: 46px;
  }

  .lead {
    font-size: 16px;
  }

  .section {
    padding: 24px 20px;
  }

  .tiles,
  .language-block {
    grid-template-columns: 1fr;
  }
}
