:root {
  color-scheme: light;
  --ink: #191815;
  --paper: #f6f4ef;
  --card: #fffefa;
  --orange: #ff8a24;
  --orange-dark: #dd6813;
  --muted: #77746e;
  --line: #e8e4dc;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; }
button { font: inherit; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.topbar { height: 86px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 11px; font-weight: 800; letter-spacing: .075em; line-height: 1.06; }
.brand img { display: block; border-radius: 12px; }
.top-actions, .language-switch { display: flex; align-items: center; }
.top-actions { gap: 34px; }
.nav-link { font-size: 13px; text-decoration: none; color: #5d5a54; }
.nav-link:hover, .footer-links a:hover { color: var(--orange-dark); }
.language-switch { gap: 8px; color: #a6a198; font-size: 12px; }
.language-switch button { padding: 6px 2px; border: 0; color: #77746e; background: none; cursor: pointer; }
.language-switch button[aria-pressed="true"] { color: var(--ink); font-weight: 700; }
[hidden] { display: none !important; }

.hero { min-height: 622px; display: grid; grid-template-columns: 1fr .9fr; align-items: center; position: relative; overflow: hidden; padding: 62px 5.6% 74px; background: var(--ink); color: #fff; border-radius: 14px; }
.hero::before, .hero::after { content: ""; position: absolute; pointer-events: none; }
.hero::before { width: 480px; height: 480px; border: 1px solid rgba(255,138,36,.15); border-radius: 50%; right: -190px; top: -220px; box-shadow: 0 0 0 35px rgba(255,138,36,.035), 0 0 0 70px rgba(255,138,36,.025); }
.hero::after { height: 5px; left: 0; right: 0; top: 0; background: var(--orange); }
.hero-copy { position: relative; z-index: 2; align-self: center; padding-bottom: 25px; }
.eyebrow { display: flex; gap: 9px; align-items: center; margin: 0 0 19px; color: var(--orange); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,138,36,.14); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 610px; margin-bottom: 20px; font-size: clamp(39px, 5vw, 62px); line-height: 1.34; letter-spacing: -.055em; }
h1 em, h2 em { color: var(--orange); font-style: normal; }
.hero-lede { max-width: 445px; margin-bottom: 30px; color: #c5c2bc; font-size: 15px; line-height: 1.95; }
.store-buttons { display: flex; flex-wrap: wrap; gap: 11px; }
.store-button { min-width: 168px; height: 55px; display: inline-flex; align-items: center; gap: 11px; padding: 8px 15px; color: #fff; background: #080808; border: 1px solid rgba(255,255,255,.22); border-radius: 8px; text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.store-button:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.6); }
.store-button svg { width: 25px; height: 25px; flex: 0 0 25px; fill: #fff; }
.store-button span { display: flex; flex-direction: column; gap: 1px; }
.store-button small { color: #dfdedc; font-size: 9px; line-height: 1.1; letter-spacing: .045em; }
.store-button strong { font-size: 17px; line-height: 1.2; letter-spacing: -.025em; }
.hero-note { margin: 13px 0 0; color: #908d87; font-size: 11px; }
.hero-art { position: relative; min-height: 495px; display: flex; justify-content: center; align-items: center; z-index: 1; }
.hero-glow { position: absolute; width: 380px; height: 380px; border-radius: 50%; background: rgba(255,138,36,.13); filter: blur(65px); }
.hero-image-frame { position: relative; width: min(330px, 78%); height: 480px; overflow: hidden; border: 1px solid rgba(255,255,255,.24); border-radius: 25px; box-shadow: 0 28px 65px rgba(0,0,0,.55); transform: rotate(2deg); }
.hero-image-frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.floating-note { position: absolute; display: flex; align-items: center; gap: 9px; padding: 12px 15px; color: var(--ink); background: #fffefa; border: 1px solid #eee9df; border-radius: 8px; box-shadow: 0 14px 34px rgba(0,0,0,.18); font-size: 11px; font-weight: 700; white-space: nowrap; }
.note-one { left: -11px; top: 116px; transform: rotate(-3deg); }
.note-two { right: -24px; bottom: 100px; transform: rotate(2deg); }
.note-mark, .tempo-mark { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; color: var(--orange-dark); background: #fff0df; font-size: 16px; }
.hero-bottomline { position: absolute; right: 0; bottom: 27px; display: flex; gap: 10px; align-items: end; opacity: .24; transform: rotate(-9deg); }
.hero-bottomline span { width: 70px; height: 3px; background: var(--orange); }
.hero-bottomline span:nth-child(2), .hero-bottomline span:nth-child(5) { width: 48px; }
.hero-bottomline span:nth-child(3), .hero-bottomline span:nth-child(6) { width: 27px; }

.proof-strip { margin-top: 18px; background: #eeece6; }
.proof-inner { min-height: 114px; display: flex; justify-content: center; align-items: center; gap: clamp(42px, 10vw, 145px); }
.proof-inner div { display: flex; align-items: baseline; gap: 10px; color: var(--muted); font-size: 12px; }
.proof-inner strong { color: var(--ink); font-size: 28px; letter-spacing: -.06em; }
.features { padding-top: 112px; padding-bottom: 120px; }
.section-heading { margin-bottom: 42px; }
.section-heading .eyebrow { color: var(--orange-dark); }
.section-heading h2, .closing h2 { margin-bottom: 0; font-size: clamp(31px, 4vw, 46px); line-height: 1.4; letter-spacing: -.05em; }
.section-heading h2 em { color: var(--orange-dark); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 15px; }
.feature-card { min-height: 300px; padding: 24px 24px 26px; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.feature-icon { width: 54px; height: 54px; position: relative; display: flex; align-items: center; justify-content: center; margin-bottom: 28px; color: var(--orange-dark); background: #fff1e1; border-radius: 12px; }
.score-icon span { font-size: 29px; line-height: 1; transform: translateY(-3px); }
.score-icon i { position: absolute; width: 3px; height: 7px; bottom: 13px; background: var(--orange); border-radius: 2px; }
.score-icon i:nth-of-type(1) { left: 17px; }.score-icon i:nth-of-type(2) { left: 25px; height: 11px; }.score-icon i:nth-of-type(3) { left: 33px; }
.tempo-icon { gap: 2px; flex-direction: column; }.tempo-icon span { font-size: 18px; line-height: 1; }.tempo-icon b { font-size: 10px; }
.calendar-icon { flex-direction: column; gap: 3px; }.calendar-icon span { font-size: 15px; font-weight: 700; }.calendar-icon small { font-size: 5px; color: #9b7651; }.calendar-icon i { width: 5px; height: 5px; background: var(--orange); border-radius: 50%; }
.feature-index { margin-bottom: 8px; color: #a49f96; font-size: 9px; font-weight: 700; letter-spacing: .14em; }
.feature-card h3 { margin-bottom: 10px; font-size: 17px; line-height: 1.55; }
.feature-card p:last-child { margin-bottom: 0; color: #74716b; font-size: 12px; line-height: 1.95; }
.closing { padding: 72px 0; color: #fff; background: var(--ink); }
.closing-inner { display: flex; justify-content: space-between; align-items: center; gap: 34px; }
.closing .eyebrow { margin-bottom: 12px; }
.closing h2 { margin-bottom: 12px; font-size: clamp(26px, 3vw, 36px); }
.closing p:last-child { margin-bottom: 0; color: #b7b4ae; font-size: 13px; }
.store-buttons-bottom { flex-shrink: 0; }
.footer { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-brand { color: #57544d; font-size: 9px; }
.footer-brand img { border-radius: 9px; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 13px 20px; }
.footer-links a { color: #77746e; font-size: 10px; text-decoration: none; }
.copyright { color: #a49f96; font-size: 10px; white-space: nowrap; }

body.legal-page { min-height: 100vh; background: var(--paper); }
.legal-shell { width: min(820px, calc(100% - 40px)); margin: 0 auto; padding: 38px 0 80px; }
.legal-back { color: var(--orange-dark); font-size: 13px; text-decoration: none; }
.legal-document { margin-top: 30px; padding: clamp(24px, 5vw, 54px); background: var(--card); border: 1px solid var(--line); border-radius: 10px; color: #36342f; line-height: 1.85; overflow-wrap: anywhere; }
.legal-document h1 { max-width: none; margin-bottom: 5px; color: var(--ink); font-size: 31px; }
.legal-document h2 { margin-top: 34px; margin-bottom: 10px; color: var(--ink); font-size: 18px; }
.legal-document p, .legal-document li { font-size: 14px; }
.legal-document li { padding-left: 4px; margin: 6px 0; }
.legal-document ul { padding-left: 22px; }
.legal-document table { width: 100%; border-collapse: collapse; font-size: 13px; }
.legal-document th, .legal-document td { padding: 13px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal-document th { width: 32%; }
.legal-date { margin-bottom: 30px; color: var(--muted); font-size: 12px !important; }
.legal-document a { color: var(--orange-dark); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr .7fr; padding-inline: 5%; }
  .hero-art { min-height: 425px; }
  .hero-image-frame { height: 410px; width: 82%; }
  .floating-note { font-size: 9px; padding: 9px 11px; }
  .note-two { right: -12px; }
  .closing-inner { align-items: flex-start; flex-direction: column; }
  .footer { padding: 24px 0; flex-wrap: wrap; }
  .footer-links { order: 3; width: 100%; justify-content: flex-start; }
}
@media (max-width: 620px) {
  .wrap { width: min(100% - 28px, 460px); }
  .topbar { height: 72px; }
  .brand { gap: 8px; font-size: 9px; }
  .brand img { width: 35px; height: 35px; }
  .top-actions { gap: 0; }.nav-link { display: none; }
  .hero { min-height: auto; display: flex; flex-direction: column; align-items: stretch; padding: 42px 23px 20px; }
  .hero-copy { padding-bottom: 0; }
  h1 { font-size: clamp(37px, 11vw, 50px); }
  .hero-lede { margin-bottom: 22px; font-size: 13px; }
  .store-buttons { gap: 8px; }
  .store-button { min-width: 0; flex: 1; height: 51px; gap: 7px; padding: 7px 9px; }
  .store-button svg { width: 21px; height: 21px; flex-basis: 21px; }
  .store-button strong { font-size: 14px; }.store-button small { font-size: 8px; }
  .hero-note { font-size: 10px; }
  .hero-art { min-height: 395px; margin-top: 12px; }
  .hero-image-frame { width: 250px; max-width: 72%; height: 385px; border-radius: 20px; }
  .hero-glow { width: 250px; height: 250px; }
  .note-one { left: 0; top: 91px; }.note-two { right: -2px; bottom: 75px; }
  .proof-inner { min-height: 92px; justify-content: space-between; gap: 10px; }
  .proof-inner div { flex-direction: column; gap: 2px; font-size: 9px; }
  .proof-inner strong { font-size: 24px; }
  .features { padding-top: 75px; padding-bottom: 76px; }
  .section-heading { margin-bottom: 27px; }.section-heading h2 { font-size: 32px; }
  .feature-grid { grid-template-columns: 1fr; gap: 10px; }
  .feature-card { min-height: auto; padding: 20px; }
  .feature-icon { margin-bottom: 18px; }
  .closing { padding: 52px 0; }.closing-inner { gap: 23px; }
  .closing h2 { font-size: 27px; }.store-buttons-bottom { width: 100%; }
  .footer { width: calc(100% - 34px); gap: 16px; }
  .footer-links { gap: 12px 16px; }
  .legal-shell { width: calc(100% - 26px); padding-top: 23px; }
  .legal-document { margin-top: 20px; padding: 22px 18px; }
  .legal-document h1 { font-size: 25px; }
  .legal-document p, .legal-document li { font-size: 13px; }
  .legal-document table { font-size: 12px; }.legal-document th, .legal-document td { padding: 10px 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
