:root {
  --bg: #fbf4ec;
  --paper: #fffdf9;
  --ink: #2b2420;
  --muted: #7d6e63;
  --accent: #e2602a;
  --accent-ink: #fff;
  --navy: #26314d;
  --rule: #efdccc;
  --soft: #fde9dc;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #17191f;
    --paper: #22252d;
    --ink: #eef0f4;
    --muted: #a3a8b4;
    --accent: #f08a52;
    --accent-ink: #1b1d22;
    --navy: #c9d3ee;
    --rule: #343844;
    --soft: #3a2c25;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.75 -apple-system, BlinkMacSystemFont, "PingFang TC", "Hiragino Sans", "Apple SD Gothic Neo", "Noto Sans TC", sans-serif;
}
a { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3 { line-height: 1.3; }
h2 { font-size: clamp(24px, 3.4vw, 32px); margin: 0 0 28px; }

/* top bar */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); text-decoration: none; font-size: 18px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.langs { display: flex; flex-wrap: wrap; gap: 4px; font-size: 14px; }
.langs a { color: var(--muted); text-decoration: none; padding: 4px 10px; border-radius: 999px; }
.langs a[aria-current] { background: var(--paper); color: var(--ink); font-weight: 700; box-shadow: 0 1px 0 var(--rule); }

/* phone frame */
.phone { margin: 0; border-radius: 34px; padding: 8px; background: #1d1f26; box-shadow: 0 24px 48px #6b3a1a2e; }
.phone img { border-radius: 27px; }

/* hero */
.hero { padding: 56px 0 64px; background: radial-gradient(circle at 85% 20%, var(--soft), transparent 55%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--accent); font-weight: 800; letter-spacing: .04em; margin: 0 0 12px; }
.hero h1 { font-size: clamp(34px, 5.6vw, 58px); margin: 0 0 20px; letter-spacing: -.01em; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); margin: 0 0 28px; max-width: 34em; }
.cta { display: inline-block; background: var(--accent); color: var(--accent-ink); font-weight: 800; text-decoration: none; padding: 14px 28px; border-radius: 999px; box-shadow: 0 10px 24px #e2602a40; }
.cta:hover { filter: brightness(1.05); }
.cta-note { color: var(--muted); font-size: 14px; margin: 12px 0 0; }
.hero-phone { max-width: 320px; justify-self: center; transform: rotate(2deg); }

/* sections */
main section { padding: 64px 0; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.step .phone { max-width: 250px; margin: 0 auto 20px; }
.step .num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; }
.step h3 { display: inline; margin-left: 10px; font-size: 20px; }
.step p { color: var(--muted); margin: 10px 0 0; }

.talk { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.talk-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 56px; align-items: center; }
.talk .phone { max-width: 290px; justify-self: center; }
.talk p { font-size: 18px; color: var(--muted); }

.feature-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-grid li { background: var(--paper); border: 1px solid var(--rule); border-radius: 20px; padding: 22px 24px; }
.feature-grid h3 { margin: 0 0 6px; font-size: 18px; }
.feature-grid p { margin: 0; color: var(--muted); font-size: 16px; }

.case-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.case-list li { display: grid; gap: 4px; padding: 18px 22px; border-left: 4px solid var(--accent); background: var(--paper); border-radius: 0 16px 16px 0; }
.case-list span { color: var(--muted); font-size: 16px; }

.reqs ul { background: var(--soft); border-radius: 20px; padding: 20px 24px 20px 44px; margin: 0; }
.reqs li { margin: 6px 0; }

.faq details { background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; padding: 4px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 0; }
.faq details p { color: var(--muted); margin: 0 0 14px; }

.final { text-align: center; padding-bottom: 80px; }
.final h2 { margin-bottom: 24px; }

footer { border-top: 1px solid var(--rule); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer p { margin: 4px 0; }

@media (max-width: 860px) {
  .hero-grid, .talk-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding-top: 36px; }
  .hero-phone { max-width: 260px; }
  .steps, .feature-grid { grid-template-columns: 1fr; }
  .step .phone { max-width: 230px; }
  .case-list { grid-template-columns: 1fr; }
  main section { padding: 48px 0; }
  .talk .phone { max-width: 240px; order: 2; }
}

/* pain points + solved scene */
.scene { width: 100%; border-radius: 24px; box-shadow: 0 18px 40px #6b3a1a24; }
.pains { padding-top: 24px; }
.pain-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.pain-grid h3 { font-size: 21px; margin: 20px 0 6px; }
.pain-grid p { margin: 0; color: var(--muted); }
.solved { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.solved-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.solved h2 { margin-bottom: 16px; }
.solved p:not(.eyebrow) { font-size: 18px; color: var(--muted); }
@media (max-width: 860px) {
  .pain-grid, .solved-grid { grid-template-columns: 1fr; gap: 28px; }
}
/* Japanese headlines are longer per line; keep each line on one row */
.hero h1:lang(ja) { font-size: clamp(28px, 4.2vw, 46px); }
.hero h1:lang(ja) br + * , .hero h1 { word-break: normal; }
