:root {
  color-scheme: light;
  --bg: #f8f6f1;
  --text: #34382e;
  --muted: #62665c;
  --line: #ddded3;
  --accent: #a34b26;
  --paper: #fffdf8;
  --memo: #527348;
  --form-line: #b7aea1;
  --form-surface: #fff;
  --form-filter: none;
}
:root[data-theme=dark] {
  color-scheme: dark;
  --bg: #171512;
  --text: #f4ede4;
  --muted: #bfb2a3;
  --line: #51483d;
  --accent: #f5ab72;
  --paper: #211e1a;
  --memo: #b3c697;
  --form-line: #827261;
  --form-surface: #211e1a;
  --form-filter: invert(.95) hue-rotate(180deg) brightness(1.9);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "Helvetica Neue", Arial, "Noto Sans CJK SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
a, button { touch-action: manipulation; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(1200px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: fixed; left: 20px; top: -100px; background: var(--paper); padding: 12px; z-index: 10; }
.skip:focus { top: 12px; }

/* Header and preferences */
.header { height: 90px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 7px; font-size: 26px; font-weight: 600; letter-spacing: -1px; }
.brand img { object-fit: contain; }
nav { display: flex; align-items: center; gap: 26px; }
.nav-wait { font-size: 13px; font-weight: 600; }
.nav-wait span { margin-left: 8px; }
.nav-wait:hover, #tally-fallback:hover { color: var(--accent); }
.preferences { display: flex; align-items: center; gap: 4px; }
.preferences button { border: 0; background: transparent; color: var(--text); min-height: 44px; min-width: 44px; font-size: 16px; }
.divider { height: 14px; width: 1px; background: var(--line); }
#theme { font-size: 22px; display: grid; place-items: center; }
#theme svg { width: 19px; height: 19px; display: block; }

/* Two static product images */
.hero { display: grid; grid-template-columns: .8fr 1.45fr; gap: 48px; align-items: center; min-height: 610px; padding-block: 64px; }
.hero-signature { font-size: 15px; font-weight: 600; letter-spacing: .2px; margin: 0 0 24px; }
.name-ohmy { color: var(--accent); }
.name-memo { color: var(--memo); }
h1 { font-size: clamp(42px, 4.25vw, 62px); font-weight: 600; line-height: 1.12; letter-spacing: -2.4px; margin: 0 0 26px; text-wrap: balance; }
h1 span, h2 span { color: var(--accent); }
html[lang=zh-CN] h1 { font-size: clamp(42px, 4.9vw, 70px); line-height: 1.23; letter-spacing: -1.8px; }
.hero-description { font-size: 16px; line-height: 1.9; color: var(--muted); margin: 0; text-wrap: pretty; }
.hero-showcase { position: relative; height: auto; min-width: 0; padding-bottom: 0; }
.desktop-frame { position: relative; width: 100%; margin: 0; border-radius: 18px; overflow: hidden; background: #f6f0e7; }
.desktop-frame img { width: 100%; height: auto; display: block; border-radius: 18px; }
.product-stories { border-top: 1px solid var(--line); }
.feature-story { display: grid; grid-template-columns: 1.45fr .8fr; gap: 70px; align-items: center; padding-block: 64px; border-bottom: 1px solid var(--line); }
.product-art { margin: 0; border-radius: 18px; overflow: hidden; background: #f6f0e7; }
.product-art img { display: block; width: 100%; height: auto; }
:root[data-theme=dark] .desktop-frame, :root[data-theme=dark] .product-art { background: #171512; }
.feature-copy { display: grid; gap: 30px; }
.feature-copy h2 { font-size: 25px; font-weight: 550; line-height: 1.35; letter-spacing: -.7px; margin: 0 0 16px; text-wrap: balance; }
.feature-copy p { font-size: 14px; line-height: 1.85; color: var(--muted); margin: 0; text-wrap: pretty; }
.section-label { display: block; color: var(--accent); font-size: 11px; font-weight: 600; letter-spacing: 1.8px; margin-bottom: 12px; }

.simplicity.wrap { width: min(1600px, calc(100% - 80px)); min-height: 45svh; text-align: center; padding-block: 5svh; border-bottom: 1px solid var(--line); display: grid; place-items: center; }
.simplicity h2 { font-size: clamp(32px, min(7.5vw, 12svh), 120px); font-weight: 600; line-height: 1.08; letter-spacing: -.035em; margin: 0; white-space: nowrap; }

/* Waitlist and submission feedback */
.wait-panel { background: var(--paper); border: 1px solid var(--form-line); border-radius: 12px; padding: 46px; scroll-margin-top: 26px; margin-top: 50px; margin-bottom: 60px; }
.wait-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 600; letter-spacing: 1.5px; color: var(--accent); }
.status-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; }
.wait-copy h2 { font-size: 32px; font-weight: 550; line-height: 1.35; letter-spacing: -.7px; margin: 20px 0; }
.wait-copy p { font-size: 15px; line-height: 1.9; color: var(--muted); margin: 0; text-wrap: pretty; }
.signup-card { background: var(--form-surface); border: 1px solid var(--form-line); border-radius: 8px; padding: 20px 22px 18px; }
#tally-container { color-scheme: light; margin-bottom: 6px; background: var(--form-surface); }
#tally-container iframe { display: block; width: 100%; border: 0; height: 176px; background: #fff; color-scheme: light; filter: var(--form-filter); border-radius: 5px; }
/* Avoid applying a second inversion to a form recolored by Dark Reader. */
:root[data-darkreader-scheme=dark] #tally-container iframe { filter: none !important; }
#tally-fallback { font-size: 12px; color: var(--muted); line-height: 1.8; text-decoration: underline; text-underline-offset: 3px; }
.privacy-note { font-size: 12px; line-height: 1.7; color: var(--muted); margin: 12px 0 0; border-top: 1px solid var(--line); padding-top: 12px; }
.privacy-note br { display: none; }
#waitlist-success[hidden], .wait-layout[hidden] { display: none; }
#waitlist-success { padding: 20px 0; text-align: center; }
.success-mark { width: 48px; height: 48px; color: var(--memo); --success-check: var(--bg); }
#success-title { font-size: 28px; font-weight: 550; line-height: 1.4; margin: 16px 0; }
#waitlist-success p { font-size: 16px; line-height: 1.8; color: var(--muted); margin: 0; }
.footer { border-top: 1px solid var(--line); padding-block: 24px 30px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; font-size: 12px; color: var(--muted); }
.footer>span:last-child { display: block; margin-left: auto; text-align: right; }

@media (max-width: 1100px) {
  .wrap { width: calc(100% - 48px); }
  .wait-layout { gap: 40px; }
  .wait-panel { padding: 34px; }
  .signup-card { padding: 18px; }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .hero { gap: 32px; min-height: 530px; }
  .feature-story { gap: 36px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .header { height: 72px; }
  .brand { font-size: 23px; }
  .brand img { width: 35px; height: 35px; }
  .preferences { gap: 0; }
  .preferences button { min-width: 36px; }
  .nav-wait { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 28px; min-height: 0; padding-block: 36px 32px; }
  .hero-signature { font-size: 14px; margin-bottom: 18px; }
  h1 { font-size: clamp(38px, 9vw, 58px); letter-spacing: -1.7px; margin-bottom: 20px; }
  html[lang=zh-CN] h1 { font-size: clamp(44px, 12vw, 65px); letter-spacing: -1.4px; }
  .hero-showcase { margin-top: 0; }
  .desktop-frame, .desktop-frame img, .product-art { border-radius: 12px; }
  .feature-story { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-block: 36px 42px; }
  .feature-copy { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .section-label { font-size: 10px; }
  .simplicity.wrap { width: calc(100% - 40px); min-height: 40svh; padding-block: 5svh; }
  .simplicity h2 { font-size: calc((100vw - 40px)/6.4); line-height: 1.15; letter-spacing: -.025em; }
  html[lang=en] .simplicity h2 { font-size: calc((100vw - 40px)/5.2); }
  .wait-panel { padding: 25px 20px; margin-top: 30px; margin-bottom: 34px; }
  .wait-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .wait-copy h2 { font-size: 28px; margin: 15px 0; }
  .wait-copy p { font-size: 14px; }
  .signup-card { padding: 16px 14px; }
  .footer { font-size: 11px; padding-block: 20px; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
  .wait-panel { padding: 22px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
