:root {
  color-scheme: light;
  --ink: #171917;
  --muted: #565b56;
  --paper: #f5f4ef;
  --surface: #fffefa;
  --line: #deded6;
  --accent: #cce6dd;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", "Noto Sans JP", "PingFang SC", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--paper);
  color: var(--ink);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 280px; }
a { color: inherit; text-decoration-thickness: .07em; text-underline-offset: .2em; }
a:focus-visible { outline: 3px solid #257a68; outline-offset: 4px; border-radius: 4px; }
img { display: block; max-width: 100%; }
h1, h2, p { margin-top: 0; }
h1, h2 { line-height: 1.16; letter-spacing: -.04em; }
h1 { font-size: clamp(3rem, 7vw, 6.8rem); font-weight: 600; }
h2 { font-size: clamp(1.45rem, 2.8vw, 2.35rem); font-weight: 600; }
p { line-height: 1.72; }

.skip-link { position: absolute; left: 1rem; top: -10rem; z-index: 10; background: white; padding: .7rem 1rem; }
.skip-link:focus { top: .75rem; }
.page-wrap { width: min(100% - 3rem, 1220px); margin-inline: auto; }
.site-header { min-height: 88px; display: flex; gap: 2rem; align-items: center; justify-content: space-between; width: min(100% - 3rem, 1360px); margin: auto; border-bottom: 1px solid var(--line); }
.brand, .footer-brand { text-decoration: none; font-weight: 650; letter-spacing: -.045em; }
.brand { display: inline-flex; align-items: center; gap: .7rem; white-space: nowrap; font-size: 1.5rem; }
.brand img { width: 38px; height: 34px; }
.site-header nav { display: flex; align-items: center; gap: clamp(.7rem, 2vw, 1.8rem); white-space: nowrap; }
.site-header nav a { text-decoration: none; font-size: .91rem; color: var(--muted); }
.site-header nav a:hover, .site-header nav a[aria-current] { color: var(--ink); }
.site-header nav a[aria-current] { text-decoration: underline; text-underline-offset: .45rem; }
.language-switch { display: flex; gap: .3rem; flex-wrap: wrap; }
.language-switch a { text-decoration: none; padding: .25rem .5rem; border-radius: 100px; font-size: .78rem; white-space: nowrap; color: var(--muted); }
.language-switch a[aria-current] { color: var(--ink); background: var(--surface); box-shadow: 0 0 0 1px var(--line); }

.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr); align-items: center; gap: clamp(2rem, 8vw, 8rem); padding-block: clamp(5rem, 10vw, 10rem) clamp(4rem, 9vw, 8rem); }
.eyebrow { color: #405f55; letter-spacing: .13em; text-transform: uppercase; font-size: .76rem; font-weight: 700; margin-bottom: 1.7rem; }
.hero h1 { max-width: 11ch; margin-bottom: 2rem; }
.hero-intro { font-size: clamp(1.12rem, 2vw, 1.45rem); max-width: 35rem; color: var(--muted); }
.primary-link { display: inline-flex; min-height: 52px; align-items: center; border-radius: 100px; background: var(--ink); color: white; padding: .7rem 1.45rem; margin-top: 1.5rem; text-decoration: none; font-weight: 600; }
.primary-link:hover { background: #3b4740; }
.hero-art { min-height: 420px; aspect-ratio: 4 / 5; position: relative; overflow: hidden; border-radius: 42% 42% 10% 10%; background: radial-gradient(circle at 50% 36%, #f5fff9 0, #d3e7dc 40%, #d6d9c8 100%); box-shadow: 0 28px 60px #172b171a; }
.orbit { position: absolute; border: 1px solid #45665a48; border-radius: 50%; width: 94%; aspect-ratio: 1; left: 3%; top: 10%; }
.orbit-two { width: 64%; left: 18%; top: 26%; }
.hero-art-inner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; font-size: clamp(3rem, 7vw, 5.6rem); font-weight: 600; letter-spacing: -.07em; }
.hero-art-inner img { width: clamp(95px, 15vw, 155px); filter: drop-shadow(0 12px 15px #1c312531); }

.features { padding-bottom: clamp(4rem, 8vw, 8rem); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature { min-height: 300px; border-radius: 28px; background: var(--surface); padding: clamp(1.6rem, 3vw, 2.6rem); border: 1px solid #e9e8e0; }
.feature-index { display: block; font-size: .78rem; color: #58756a; margin-bottom: 5rem; }
.feature h2 { font-size: clamp(1.4rem, 2.5vw, 2.1rem); max-width: 13ch; }
.feature p { color: var(--muted); max-width: 28ch; }
.details { display: flex; align-items: end; justify-content: space-between; gap: 3rem; padding: clamp(3rem, 8vw, 8rem) 0; border-top: 1px solid var(--line); }
.details h2 { max-width: 15ch; font-size: clamp(2.6rem, 5vw, 5rem); }
.details p:not(.eyebrow) { max-width: 42rem; color: var(--muted); }
.text-link { white-space: nowrap; font-weight: 600; }
.draft-note { color: var(--muted); padding-bottom: 4rem; font-size: .86rem; }

.legal-page { max-width: 900px; padding-block: clamp(3rem, 7vw, 6.5rem) 7rem; }
.legal-page h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); max-width: 14ch; margin-bottom: 1.2rem; }
.legal-summary { font-size: clamp(1.08rem, 2vw, 1.38rem); color: var(--muted); margin-bottom: 3rem; }
.draft-banner { border: 1px solid #bad9ce; background: #e7f1e9; border-radius: 16px; padding: 1rem 1.25rem; margin-bottom: 1.4rem; font-size: .9rem; }
.legal-meta { display: flex; gap: 1rem 2.5rem; flex-wrap: wrap; color: var(--muted); font-size: .84rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.legal-section { padding: 2.3rem 0; border-bottom: 1px solid var(--line); }
.legal-section h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); letter-spacing: -.025em; margin-bottom: .85rem; }
.legal-section p { max-width: 72ch; font-size: 1.04rem; margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.contact-card { border-radius: 24px; padding: 1.6rem 2rem; background: var(--surface); margin-top: 3rem; overflow-wrap: anywhere; }
.contact-card p { margin-bottom: .25rem; color: var(--muted); }
.contact-card a { font-size: 1.12rem; font-weight: 600; }

.site-footer { display: grid; grid-template-columns: 1.1fr 1.2fr 1fr; gap: 3rem; border-top: 1px solid var(--line); padding: 4rem max(1.5rem, calc((100vw - 1220px) / 2)); background: #edeee8; }
.site-footer h2 { font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.2rem; }
.site-footer nav { display: flex; flex-direction: column; align-items: start; gap: .55rem; }
.site-footer a { overflow-wrap: anywhere; }
.site-footer p { color: var(--muted); font-size: .89rem; max-width: 25ch; margin-top: 1rem; }
.footer-brand { font-size: 1.65rem; }

@media (max-width: 900px) {
  .site-header { flex-wrap: wrap; padding-block: 1rem; gap: .8rem; }
  .site-header nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: .35rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-art { min-height: 300px; max-height: 520px; width: min(100%, 480px); }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 220px; }
  .feature-index { margin-bottom: 2rem; }
  .site-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 580px) {
  .page-wrap, .site-header { width: min(100% - 2rem, 1220px); }
  .site-header { min-height: 84px; }
  .language-switch { margin-left: auto; }
  .language-switch a { font-size: .72rem; padding-inline: .35rem; }
  .hero { padding-top: 4.2rem; }
  .hero-art { min-height: 290px; }
  .details { display: block; }
  .site-footer { grid-template-columns: 1fr; padding-inline: 1rem; }
  .legal-page { padding-bottom: 4rem; }
  .legal-section { padding-block: 1.8rem; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
