:root {
  color-scheme: light;
  --ink: #17222e;
  --muted: #66717e;
  --line: #dce3e8;
  --paper: #f7f8fa;
  --white: #fff;
  --accent: #2f7a70;
  --accent-soft: #e4f2ef;
  --navy: #162334;
  --orange: #e98046;
  font-family: Inter, "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.6; }
a { color: inherit; text-decoration: none; }

.ps-header, .ps-main, .ps-footer { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.ps-header { display: flex; align-items: center; justify-content: space-between; min-height: 76px; }
.ps-brand { display: inline-flex; gap: 10px; align-items: center; font-weight: 800; letter-spacing: -.03em; }
.ps-brand-mark { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 10px; color: var(--white); background: var(--navy); font-size: 14px; }
.ps-nav { display: flex; gap: 22px; align-items: center; color: var(--muted); font-size: 14px; font-weight: 700; }
.language-link { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); }

.ps-hero { display: grid; grid-template-columns: 1fr minmax(320px, .88fr); gap: clamp(38px, 7vw, 88px); align-items: center; min-height: 650px; padding: 72px 0 96px; }
.ps-eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ps-hero h1 { max-width: 600px; margin: 0 0 20px; font-size: clamp(45px, 6vw, 76px); line-height: 1.06; letter-spacing: -.06em; }
.ps-lead { max-width: 530px; margin: 0; color: var(--muted); font-size: clamp(18px, 2.1vw, 22px); }
.ps-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ps-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 18px; border: 1px solid transparent; border-radius: 10px; font-weight: 800; }
.ps-button--primary { color: var(--white); background: var(--navy); }
.ps-button--secondary { border-color: var(--line); background: var(--white); }
.ps-note { margin: 15px 0 0; color: var(--muted); font-size: 13px; }

.ps-stage { position: relative; display: grid; min-height: 438px; place-items: center; overflow: hidden; border-radius: 30px; background: radial-gradient(circle at 22% 18%, #759893 0, transparent 32%), linear-gradient(135deg, #344356, #85939d); box-shadow: 0 30px 60px rgba(22, 35, 52, .23); }
.ps-stage::after { position: absolute; inset: 0; content: ""; background: linear-gradient(160deg, rgba(255,255,255,.17), transparent 45%); pointer-events: none; }
.ps-shelf { position: relative; z-index: 1; width: min(83%, 340px); padding: 15px; border: 1px solid rgba(255,255,255,.38); border-radius: 22px; background: rgba(236, 244, 245, .55); box-shadow: 0 18px 34px rgba(14, 27, 39, .24); backdrop-filter: blur(18px); color: #21303d; }
.ps-shelf-head, .ps-group-head, .ps-row { display: flex; align-items: center; }
.ps-shelf-head { gap: 8px; margin-bottom: 12px; font-size: 15px; font-weight: 800; }
.ps-shelf-tools { margin-left: auto; color: #55656c; letter-spacing: .18em; }
.ps-group { margin-top: 10px; padding: 10px; border-radius: 13px; background: rgba(255,255,255,.24); }
.ps-group-head { gap: 7px; color: #526068; font-size: 12px; font-weight: 800; }
.ps-group-head b { margin-left: auto; font-weight: 700; }
.ps-row { gap: 9px; min-height: 38px; margin-top: 7px; padding: 8px; border-radius: 9px; background: rgba(255,255,255,.53); font-size: 13px; font-weight: 700; }
.ps-row span:last-child { margin-left: auto; color: #7d8b90; }
.ps-row--empty { color: #718086; background: rgba(255,255,255,.17); font-size: 12px; }
.ps-icon { display: grid; width: 20px; height: 20px; place-items: center; border-radius: 6px; color: var(--white); background: var(--accent); font-size: 12px; }
.ps-icon--file { background: var(--orange); }

.ps-section { padding: 100px 0; border-top: 1px solid var(--line); }
.ps-section-heading { max-width: 670px; margin-bottom: 36px; }
.ps-kicker { margin: 0 0 10px; color: var(--accent); font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ps-section h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.2; letter-spacing: -.045em; }
.ps-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ps-feature { min-height: 235px; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.ps-feature-number { color: var(--accent); font-size: 13px; font-weight: 800; }
.ps-feature h3 { margin: 34px 0 10px; font-size: 20px; }
.ps-feature p, .ps-faq dd { margin: 0; color: var(--muted); }
.ps-pricing { display: grid; grid-template-columns: 1fr 1.15fr; gap: 16px; }
.ps-price-card { padding: 30px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); }
.ps-price-card--pro { border-color: var(--navy); color: var(--white); background: var(--navy); }
.ps-price-card p { margin: 0; color: var(--muted); }
.ps-price-card--pro p { color: #cbd7df; }
.ps-price-card h3 { margin: 8px 0 2px; font-size: 28px; }
.ps-price { margin: 20px 0; font-size: 36px; font-weight: 800; letter-spacing: -.06em; }
.ps-price small { color: inherit; font-size: 14px; letter-spacing: 0; }
.ps-price-card ul { margin: 0; padding-left: 1.2em; }
.ps-price-card li + li { margin-top: 8px; }
.ps-faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.ps-faq > div { padding: 22px; border-radius: 14px; background: var(--accent-soft); }
.ps-faq dt { margin-bottom: 8px; font-weight: 800; }
.ps-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 42px; border-radius: 22px; color: var(--white); background: var(--accent); }
.ps-cta h2 { margin: 0 0 8px; font-size: clamp(27px, 4vw, 40px); line-height: 1.2; }
.ps-cta p { margin: 0; color: #d9f0ec; }
.ps-cta .ps-button { color: var(--ink); background: var(--white); white-space: nowrap; }
.ps-footer { display: flex; justify-content: space-between; gap: 20px; padding: 38px 0; color: var(--muted); font-size: 13px; }
.ps-footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.ps-footer a { text-decoration: underline; text-underline-offset: 3px; }

.ps-legal { width: min(820px, calc(100% - 40px)); margin: 74px auto; }
.ps-legal h1 { margin-bottom: 10px; font-size: clamp(38px, 6vw, 60px); letter-spacing: -.055em; }
.ps-legal h2 { margin-top: 38px; font-size: 22px; }
.ps-legal p, .ps-legal li { color: var(--muted); }

@media (max-width: 780px) {
  .ps-header, .ps-footer { width: min(100% - 32px, 1120px); }
  .ps-header { min-height: 64px; }
  .ps-nav a:not(.language-link) { display: none; }
  .ps-hero { grid-template-columns: 1fr; min-height: auto; padding: 56px 0 70px; }
  .ps-stage { min-height: 390px; }
  .ps-features, .ps-pricing, .ps-faq { grid-template-columns: 1fr; }
  .ps-section { padding: 72px 0; }
  .ps-cta { display: block; padding: 30px; }
  .ps-cta .ps-button { margin-top: 22px; }
  .ps-footer { flex-direction: column; }
}
