:root { color-scheme: light; --ink: #24272b; --blue: #1764ca; --muted: #5c636d; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: #fff; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; letter-spacing: normal; word-spacing: normal; min-height: 100svh; display: flex; flex-direction: column; }
.selection-copy[lang="ja"], .greeting-reel > div[lang="ja"], .language-options strong[lang="ja"] { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic", sans-serif; }
a { color: inherit; text-decoration: none; }
button { font: inherit; letter-spacing: normal; word-spacing: normal; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
header, footer { width: calc(100% - 96px); max-width: 1120px; margin: auto; display: flex; justify-content: space-between; align-items: center; }
header { height: 88px; margin-top: 0; margin-bottom: 0; flex-shrink: 0; }
.brand { font: 500 30px Arial, sans-serif; letter-spacing: -.5px; }
.brand span { color: #2583df; padding: 0 2px; }
.brand-lockup { display: block; width: 180px; height: auto; }
#skip { border: 0; background: none; color: var(--muted); font-size: 13px; padding: 12px 0; }
#skip span { margin-left: 14px; }
main { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 24px; min-height: 460px; }
.intro-label { font-size: 16px; color: var(--muted); margin: 0 0 20px; }
.greeting-window { height: 140px; overflow: hidden; }
.greeting-reel { transition: transform .6s cubic-bezier(.65, 0, .35, 1); }
.greeting-reel > div { height: 140px; line-height: 140px; font-size: 80px; font-weight: 500; letter-spacing: normal; white-space: nowrap; }
.greeting-reel > div span { color: var(--blue); }
.greeting-reel[data-step="1"] { transform: translateY(-140px); }
.greeting-reel[data-step="2"] { transform: translateY(-280px); }
.greeting-reel[data-step="3"] { transform: translateY(-420px); }
.intro-note { font-size: 16px; color: var(--muted); margin-top: 20px; }
.intro-note span { margin-left: 10px; }
.selection { max-width: 640px; width: 100%; animation: appear .24s ease-out; }
.selection-label { font-size: 14px; color: var(--blue); margin: 0 0 20px; }
.selection-copy { min-height: 136px; padding-bottom: 28px; overflow: hidden; }
h1 { font-size: 40px; line-height: 1.35; letter-spacing: normal; word-spacing: normal; font-weight: 550; margin: 0; text-wrap: balance; }
#selection-description { font-size: 16px; line-height: 1.7; color: var(--muted); margin: 16px 0 0; text-wrap: balance; }
.selection-copy[lang="en"] h1 { font-weight: 500; }
.language-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.language-options button { border: 1px solid #dce2ea; background: white; color: var(--ink); border-radius: 10px; padding: 21px 14px; transition: background .15s, border-color .15s; }
.language-options button:hover { background: #f7f9fc; border-color: #a9bdd7; }
.language-options button strong { font-size: 21px; line-height: 1.4; font-weight: 500; display: block; margin-bottom: 7px; }
.language-options button span { font-size: 13px; line-height: 1.5; color: var(--muted); }
.language-options button[aria-pressed="true"] { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); background: #f1f6ff; }
.enter { margin-top: 28px; display: inline-flex; align-items: center; justify-content: space-between; gap: 60px; background: var(--ink); color: white; border-radius: 8px; padding: 14px 24px; font-size: 15px; line-height: 1.5; }
.enter:hover { background: #3b3f44; }
footer { color: var(--muted); font-size: 12px; line-height: 1.6; padding: 24px 0; margin-bottom: 0; gap: 20px; }
#intro[hidden], #selection[hidden] { display: none; }
@keyframes appear { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) {
  .language-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  header, footer { width: calc(100% - 40px); }
  header { height: 76px; }
  .brand { font-size: 26px; }
  .brand-lockup { width: 150px; }
  #skip { font-size: 12px; }
  #skip span { display: none; }
  main { padding: 30px 20px; min-height: 420px; }
  .greeting-window { height: 100px; }
  .greeting-reel > div { height: 100px; line-height: 100px; font-size: clamp(42px, 10.5vw, 60px); }
  .greeting-reel[data-step="1"] { transform: translateY(-100px); }
  .greeting-reel[data-step="2"] { transform: translateY(-200px); }
  .greeting-reel[data-step="3"] { transform: translateY(-300px); }
  .intro-note { font-size: 14px; }
  .intro-note span { display: block; margin: 10px 0 0; }
  .selection-label { font-size: 13px; margin-bottom: 18px; }
  .selection-copy { min-height: 142px; padding-bottom: 24px; }
  h1 { font-size: clamp(28px, 8vw, 34px); line-height: 1.4; }
  #selection-description { font-size: 15px; margin-top: 14px; }
  .language-options { gap: 9px; }
  .language-options button { padding: 18px 8px; }
  .language-options button strong { font-size: 18px; }
  .language-options button span { font-size: 12px; }
  .enter { width: 100%; margin-top: 24px; }
  footer > span:last-child { display: none; }
}
@media (max-width: 350px) { .brand-lockup { width: 136px; } #skip { font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { .greeting-reel { transition: none; } .selection { animation: none; } .language-options button { transition: none; } }

/* A quiet, price-free entry; pricing belongs on the detail page. */
.plans-entry-row { margin-top: 18px; }
.plans-entry { display: inline-flex; align-items: center; gap: 10px; padding: 10px 12px; min-height: 44px; font-size: 14px; line-height: 1.6; color: var(--blue); }
.plans-entry:hover { text-decoration: underline; text-underline-offset: 4px; }
