:root {
  color-scheme: light;
  --ink: #202535;
  --muted: #586174;
  --accent: #494bc5;
  --soft: #f2f3fb;
  --line: #dfe2eb;
  --surface: #fff;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; background: #fafbfe; color: var(--ink); font: 16px/1.7 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: var(--accent); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; top: -100px; left: 12px; background: white; padding: 12px; z-index: 10; }
.skip:focus { top: 12px; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 25px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 1.25rem; font-weight: 750; letter-spacing: -.04em; }
img { max-width: 100%; object-fit: contain; }
nav { display: flex; flex-wrap: wrap; gap: 12px 22px; font-size: .85rem; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover { color: var(--accent); text-decoration: underline; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.035em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.5vw, 4.8rem); margin: 20px 0 24px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin: 12px 0 24px; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.eyebrow, .step { font-size: .75rem; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); }
.hero { display: grid; grid-template-columns: 1.12fr 1fr; gap: 70px; align-items: center; padding-block: 85px; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 36rem; }
.ja-copy { border-left: 2px solid var(--line); padding-left: 18px; margin-block: 26px; }
.ja-copy h2 { font-size: 1.1rem; line-height: 1.65; margin: 0 0 8px; }
.ja-copy p, [lang="ja"] { font-size: .9rem; color: var(--muted); line-height: 1.85; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 600; font-size: .9rem; background: var(--surface); }
.button.primary { color: white; background: var(--accent); border-color: var(--accent); }
.button:hover { box-shadow: 0 4px 12px #20253512; }
.library-preview { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: 0 20px 60px #30385b0d; }
.preview-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 38px; gap: 12px; }
.pill { display: inline-block; font-size: .7rem; font-weight: 600; border-radius: 30px; padding: 4px 12px; color: var(--accent); background: var(--soft); }
.library-preview h2 { font-size: 1.6rem; }
.track { display: flex; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.track > div { flex: 1; min-width: 0; }
.track-number { color: var(--accent); font-size: .8rem; font-variant-numeric: tabular-nums; }
.track strong { display: block; font-size: .9rem; }
.track small { display: block; color: var(--muted); font-size: .72rem; }
.muted { color: var(--muted); font-size: .85rem; }
.preview-caption { margin: 20px 0 0; font-size: .7rem; }
.section { padding-block: 44px; }
.grid { display: grid; gap: 20px; }
.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { border: 1px solid var(--line); border-radius: 16px; padding: 30px; background: var(--surface); }
.card p { color: var(--muted); }
.source-note { margin-block: 30px; padding: 32px; border-radius: 16px; background: var(--soft); }
.source-note h2 { font-size: 1.4rem; }
.source-note p { font-size: .9rem; }
.source-note p:last-child { margin-bottom: 0; }
.pricing { padding: 36px; }
.pricing.full { border-color: #a9abe2; box-shadow: inset 0 3px 0 var(--accent); }
.price-heading { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.price { font-size: 2.75rem; margin: 25px 0 5px; }
.price span, .international span { font-size: .85rem; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.international { font-size: 1.2rem; }
li { padding-block: 4px; }
.pricing ul { padding-left: 22px; margin-block: 24px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-left: 24px; gap: 30px; }
.steps span { display: block; margin-top: 8px; }
.trust { margin-block: 20px 40px; border-top: 1px solid var(--line); }
.footer { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 22px; border-top: 1px solid var(--line); padding-block: 32px; color: var(--muted); font-size: .8rem; }
.document { max-width: 800px; padding-block: 50px 70px; }
.page-heading { margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.document h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
.document article section { margin-top: 32px; }
.document article h2 { font-size: 1.3rem; margin-bottom: 12px; }
.document article p, .document article li { color: var(--muted); }
.contact { overflow-wrap: anywhere; }
.contact h2 { font-size: 1.5rem; }
dt { font-weight: 650; }
dd { margin: 0 0 15px; }
code { font-size: .9em; }
details { padding: 20px 0; border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 650; }
details p { margin: 16px 0 0; color: var(--muted); }
@media (max-width: 800px) {
  .header { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero { grid-template-columns: 1fr; gap: 35px; padding-block: 45px; }
  .three, .steps { grid-template-columns: 1fr; }
  .section { padding-block: 30px; }
}
@media (max-width: 540px) {
  .wrap { width: calc(100% - 32px); }
  .two { grid-template-columns: 1fr; }
  .card, .source-note, .library-preview { padding: 24px; }
  nav { gap: 10px 18px; }
  .price { font-size: 2.4rem; }
}

.footer, .legal-document { overflow-wrap: anywhere; }
.legal-document h1 [lang="ja"] { font: inherit; color: inherit; line-height: 1.45; }
.legal-facts { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); overflow: hidden; }
.legal-facts > div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); }
.legal-facts > div + div { border-top: 1px solid var(--line); }
.legal-facts dt, .legal-facts dd { padding: 20px 24px; margin: 0; min-width: 0; }
.legal-facts dt { background: var(--soft); color: var(--ink); }
@media (max-width: 540px) {
  .legal-facts > div { grid-template-columns: minmax(0, 1fr); }
  .legal-facts dt { padding: 14px 20px 8px; }
  .legal-facts dd { padding: 14px 20px 20px; }
}
