:root {
  color-scheme: dark;
  --screen: #1a1917;
  --surface: #242320;
  --surface-raised: #2a2825;
  --ink: #e0ddd6;
  --muted: #aaa398;
  --line: #403d37;
  --mint: #5cb8a0;
  --cream: #f0e8d0;
  --display: Georgia, "Times New Roman", serif;
  --body: Inter, "IBM Plex Sans Thai", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-family: var(--body);
  color: var(--ink);
  background: var(--screen);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--screen); font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--mint); }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 4px; }
[hidden] { display: none !important; }
.page-width { width: min(1120px, calc(100% - 56px)); margin-inline: auto; }
.skip-link { position: absolute; top: 8px; left: 8px; z-index: 5; transform: translateY(-160%); padding: 8px 12px; border-radius: 4px; color: var(--screen); background: var(--cream); }
.skip-link:focus { transform: translateY(0); }

.site-header { width: min(1280px, calc(100% - 56px)); min-height: 84px; margin: auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { color: var(--ink); font-size: 19px; font-weight: 700; letter-spacing: -0.06em; text-decoration: none; }
.brand span { color: var(--mint); }
.header-nav, .language-toggle, .hero-actions { display: flex; align-items: center; }
.header-nav { gap: 28px; }
.header-nav > a:not(.button), .site-footer nav a { color: var(--muted); font-size: 14px; text-decoration: none; }
.language-toggle { gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 6px; }
.language-toggle button { min-width: 38px; padding: 5px 8px; border: 0; border-radius: 4px; color: var(--muted); background: transparent; cursor: pointer; font-size: 12px; }
.language-toggle button[aria-pressed="true"] { color: var(--screen); background: var(--cream); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 20px; border: 1px solid var(--mint); border-radius: 5px; color: #10231e; background: var(--mint); font-size: 15px; font-weight: 700; text-decoration: none; transition: background-color 160ms ease, transform 160ms ease; }
.button:hover { color: #10231e; background: #76ceb5; transform: translateY(-1px); }
.button-small { min-height: 40px; padding-inline: 14px; font-size: 13px; }
.button-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.button-outline:hover { color: var(--screen); border-color: var(--cream); background: var(--cream); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration-color: var(--mint); text-underline-offset: 5px; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(310px, 0.78fr); align-items: center; gap: clamp(48px, 9vw, 128px); padding-block: 88px 92px; }
.hero-copy { max-width: 590px; }
.eyebrow { margin: 0 0 16px; color: var(--mint); font-size: 12px; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; }
h1, h2, p, figure { margin-top: 0; }
h1, h2 { text-wrap: balance; }
h1 { max-width: 11ch; margin-bottom: 22px; font-family: var(--display); font-size: clamp(46px, 6.2vw, 76px); font-weight: 400; letter-spacing: -0.055em; line-height: 1.04; }
.hero-lede { max-width: 47ch; margin-bottom: 30px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.hero-actions { gap: 24px; flex-wrap: wrap; }
.store-downloads { display: flex; gap: 10px; margin-top: 20px; }
.store-link { display: flex; min-width: 132px; flex-direction: column; padding: 8px 12px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink); line-height: 1.25; text-decoration: none; transition: border-color 160ms ease, background-color 160ms ease; }
.store-link:hover { color: var(--ink); border-color: var(--mint); background: rgba(92, 184, 160, 0.08); }
.store-platform { color: var(--muted); font-size: 10px; }
.store-name { font-size: 13px; font-weight: 700; }
.store-name span { color: var(--mint); font-size: 11px; }
.trial-note { display: flex; align-items: center; gap: 12px; margin: 28px 0 0; color: var(--muted); font-size: 13px; }
.trial-mark { display: grid; width: 34px; height: 34px; flex: 0 0 auto; place-items: center; border: 1px solid #517568; border-radius: 50%; color: var(--mint); font-size: 11px; font-weight: 700; }
.hero-visual { position: relative; width: 100%; max-width: 370px; margin: 0 auto; }
.visual-label { display: flex; justify-content: space-between; margin-bottom: 11px; color: var(--muted); font-size: 11px; letter-spacing: 0.07em; text-transform: uppercase; }
.visual-label span:last-child { color: var(--mint); }
.screenshot-frame { overflow: hidden; padding: 10px; border: 1px solid #555047; border-radius: 12px; background: var(--surface-raised); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.36); }
.screenshot-frame img { display: block; width: 100%; height: auto; border-radius: 5px; }
.hero-visual figcaption { margin-top: 11px; color: var(--muted); font-size: 12px; text-align: right; }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.benefit { min-height: 210px; padding: 28px 30px 30px 0; }
.benefit + .benefit { padding-left: 30px; border-left: 1px solid var(--line); }
.benefit-index { color: var(--mint); font-size: 11px; letter-spacing: 0.1em; }
.benefit h2, .help-card h2 { margin: 20px 0 9px; font-family: var(--display); font-size: 25px; font-weight: 400; letter-spacing: -0.025em; line-height: 1.2; }
.benefit p, .help-card p, .plan-band p:not(.eyebrow) { margin-bottom: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.plan-band { display: flex; align-items: center; justify-content: space-between; gap: 36px; margin-top: 72px; padding: 32px 36px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.plan-band > div { max-width: 65ch; }
.plan-band .eyebrow { margin-bottom: 8px; }
.plan-band h2 { margin: 0 0 10px; font-family: var(--display); font-size: clamp(25px, 3vw, 34px); font-weight: 400; letter-spacing: -0.035em; }
.plan-band .button { flex: 0 0 auto; }

.help-grid { display: grid; grid-template-columns: minmax(0, 600px); padding-block: 72px 88px; }
.help-card { padding: 28px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.help-card .eyebrow { margin-bottom: 9px; }
.help-card h2 { max-width: 22ch; margin: 0 0 14px; font-size: 28px; }
.help-card ol { margin: 14px 0 19px; padding-left: 21px; color: var(--muted); font-size: 14px; }
.help-card li { padding-left: 4px; margin-block: 7px; }
.help-card .text-link { margin-top: 18px; }
.site-footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 88px; border-top: 1px solid var(--line); }
.site-footer nav { display: flex; gap: 22px; }
.site-footer > p { justify-self: end; margin: 0; color: var(--muted); font-size: 12px; text-align: right; }

@media (max-width: 760px) {
  .page-width, .site-header { width: min(100% - 36px, 560px); }
  .site-header { min-height: 72px; }
  .header-nav { gap: 14px; }
  .header-nav > a:not(.button) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 42px; padding-block: 62px 60px; }
  h1 { max-width: 12ch; font-size: clamp(44px, 12vw, 64px); }
  .hero-lede { font-size: 16px; }
  .store-downloads { flex-wrap: wrap; }
  .hero-visual { width: min(100%, 340px); }
  .benefits { grid-template-columns: 1fr; }
  .benefit, .benefit + .benefit { min-height: 0; padding: 23px 0; border-left: 0; }
  .benefit + .benefit { border-top: 1px solid var(--line); }
  .benefit h2 { margin-top: 11px; }
  .plan-band { align-items: flex-start; flex-direction: column; gap: 22px; margin-top: 44px; padding: 25px 22px; }
  .help-grid { grid-template-columns: minmax(0, 1fr); padding-block: 44px 58px; }
  .help-card { padding: 23px 21px; }
  .site-footer { grid-template-columns: 1fr auto; gap: 12px; padding-block: 20px; }
  .site-footer nav { grid-column: 1 / -1; grid-row: 2; gap: 18px; flex-wrap: wrap; }
  .site-footer > p { grid-column: 1 / -1; grid-row: 3; justify-self: start; text-align: left; }
}

@media (max-width: 390px) {
  .page-width, .site-header { width: calc(100% - 28px); }
  .brand { font-size: 17px; }
  .header-nav { gap: 8px; }
  .button-small { min-height: 38px; padding-inline: 10px; font-size: 12px; }
  .language-toggle button { min-width: 32px; padding-inline: 5px; }
  .hero-actions { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}
