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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", "Yu Gothic", sans-serif;
  color: #ebedf5;
  background:
    radial-gradient(circle at 80% 18%, rgba(90, 108, 168, 0.14), transparent 28%),
    radial-gradient(circle at 24% 78%, rgba(112, 88, 150, 0.10), transparent 24%),
    linear-gradient(180deg, #05070d 0%, #090d18 42%, #0a1020 100%);
  line-height: 1.8;
}

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

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(16px);
  background: rgba(4, 8, 16, 0.62);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nav {
  display: flex;
  gap: 22px;
  color: #c8cede;
  font-size: 0.95rem;
}

.nav a:hover,
.text-link:hover,
.footer-links a:hover { color: #ffffff; }

.hero {
  padding: 88px 0 44px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.eyebrow,
.section-kicker,
.card-label,
.tag {
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow,
.section-kicker {
  color: #9aa7cb;
  font-size: 0.78rem;
  margin: 0 0 14px;
}

.hero h1 {
  margin: 0;
  line-height: 1.14;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  letter-spacing: -0.03em;
}

.lead {
  margin: 22px 0 0;
  max-width: 620px;
  color: #d8dceb;
  font-size: clamp(1rem, 2vw, 1.14rem);
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .2s ease, opacity .2s ease, background .2s ease, border-color .2s ease;
}

.btn:hover { transform: translateY(-1px); }

.primary {
  background: linear-gradient(180deg, #f0f3ff 0%, #d8dffb 100%);
  color: #0b1020;
}

.ghost {
  border: 1px solid rgba(255,255,255,0.14);
  color: #e7ebf9;
  background: rgba(255,255,255,0.03);
}

.microcopy {
  margin-top: 14px;
  color: #a9b3cb;
  font-size: 0.92rem;
}

.hero-card {
  position: relative;
  min-height: 360px;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)),
    linear-gradient(145deg, rgba(17, 27, 54, 0.9), rgba(9, 13, 24, 0.96));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 24px 60px rgba(0,0,0,0.28);
}

.lamp-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  right: 18px;
  top: 24px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 216, 161, 0.26) 0%, rgba(255, 216, 161, 0.08) 28%, rgba(255,255,255,0) 68%);
}

.card-panel {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 26px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
}

.card-label {
  font-size: 0.75rem;
  color: #adb8d8;
  margin: 0 0 12px;
}

.card-text {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.7;
}

.notice {
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.03);
}

.notice p {
  margin: 0;
  color: #d8deee;
  font-size: 0.96rem;
}

.section {
  padding: 88px 0;
}

.section-dark {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.00));
}

.section-soft {
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.01));
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.section h2 {
  margin: 0 0 18px;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.28;
  letter-spacing: -0.03em;
}

.section p {
  color: #d8dceb;
}

.section-sub {
  color: #b3bdd6;
  max-width: 360px;
}

.guide-grid,
.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.guide-card,
.policy-box {
  border-radius: 24px;
  padding: 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 16px 40px rgba(0,0,0,0.14);
}

.tag {
  display: inline-block;
  font-size: 0.7rem;
  color: #9dadcf;
  margin-bottom: 10px;
}

.guide-card h3,
.policy-box h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.guide-card p,
.policy-box p { margin: 0 0 14px; }

.guide-card ul {
  margin: 0 0 16px 18px;
  padding: 0;
  color: #c6cee3;
}

.text-link {
  color: #e7ecff;
  font-weight: 700;
}

.work-note {
  margin-top: 10px !important;
  color: #9cabc9 !important;
  font-size: 0.88rem;
  line-height: 1.65;
}

.cta-center {
  margin-top: 28px;
}

.site-footer {
  padding: 26px 0 48px;
  border-top: 1px solid rgba(255,255,255,0.06);
  color: #b3bdd6;
}

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

.footer-brand {
  margin: 0 0 6px;
}

.footer-copy {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 920px) {
  .hero-grid,
  .guide-grid,
  .policy-grid,
  .footer-grid,
  .section-head {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-card {
    min-height: 280px;
    width: 100%;
  }
}

@media (max-width: 720px) {
  .wrap, .narrow {
    width: min(100% - 28px, 100%);
  }

  .nav {
    display: none;
  }

  .hero {
    padding-top: 64px;
  }

  .section {
    padding: 70px 0;
  }

  .btn {
    width: 100%;
  }

  .cta-row {
    flex-direction: column;
  }
}
