:root {
  color-scheme: light;
  --ink: #090909;
  --paper: #fff;
  --red: #ef4548;
  --serif: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "STSong", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { overflow-x: clip; margin: 0; background: #000; color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--red); outline-offset: 6px; }
button:disabled { cursor: default; }
.page { position: relative; width: min(1320px, calc(100% - 112px)); margin: 76px auto 0; container-type: inline-size; z-index: 1; background: var(--paper); }
.hero { position: relative; min-height: 62.424cqw; }
.hero-copy { position: relative; z-index: 3; width: 52%; padding: 13.18cqw 0 100px 68px; pointer-events: none; }
.hero-copy > * { pointer-events: auto; }
h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(50px, 5.5vw, 80px); line-height: 1.22; letter-spacing: -.055em; margin: 0; }
.headline-line { display: block; white-space: nowrap; }
.heart-word, .circled-word { position: relative; display: inline-block; }
.tiny-heart { font-family: Arial, sans-serif; font-size: .25em; letter-spacing: 0; color: var(--red); position: absolute; left: .64em; top: -.29em; transform: rotate(-10deg); }
.circled-word { z-index: 0; }
.circle-doodle { position: absolute; width: 119%; height: 119%; top: -5%; left: -10%; overflow: visible; fill: none; stroke: #000; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; z-index: -1; transform: rotate(-5deg); }
.hero-description { margin: 39px 0 31px; font-family: var(--serif); font-size: 24px; font-weight: 500; line-height: 1.52; letter-spacing: .005em; }
.download-button { display: inline-flex; align-items: center; gap: 11px; padding: 11px 19px 12px 15px; border: 1px solid #000; border-radius: 15px; background: #000; color: #fff; text-align: left; transition: transform .2s, background .2s; }
.download-button:hover { background: #272727; transform: translateY(-2px); }
.download-button > svg { width: 28px; height: 28px; }
.download-button span { display: block; }
.button-eyebrow { font-size: 10px; line-height: 1.4; letter-spacing: .035em; }
.button-label { font-size: 18px; line-height: 1.25; font-weight: 550; letter-spacing: -.35px; }
.hero-art { position: absolute; top: 0; bottom: 0; right: 0; width: 55%; pointer-events: none; }
.backdrop-circle { position: absolute; border-radius: 50%; aspect-ratio: 1; background: #f3f3f3; width: 88%; top: 11px; left: 8%; }
.device { position: absolute; top: 4.545cqw; left: 20%; width: 90%; aspect-ratio: 2 / 3; overflow: visible; z-index: 1; }
.hero-vines { position: absolute; width: 100%; height: auto; top: 0; left: 0; mask-image: linear-gradient(to bottom, #000 87%, transparent 100%); }
.phone-screen { position: absolute; left: 22.9%; top: 9.577%; width: 39.3%; height: 54.08%; z-index: 2; border-radius: 14% / 7%; background: linear-gradient(155deg, #fff 42%, #fafbfa); overflow: hidden; }
.screen-placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 15px; }
.screen-wordmark { font-weight: 680; font-size: 24px; letter-spacing: -1px; }
.screen-wordmark > span { color: var(--red); }
.screen-rule { width: 20px; height: 1px; background: #d8d8d8; margin: 19px 0; }
.screen-caption { color: #8b8b8b; font-size: 12px; letter-spacing: 2px; }
.app-screenshot { height: 100%; width: 100%; object-fit: cover; object-position: top; display: block; }
[hidden] { display: none !important; }
.rays { position: absolute; width: 102px; height: 100px; top: 63px; left: 26%; fill: none; stroke: #000; stroke-width: 1.7; stroke-linecap: round; z-index: 3; }
.art-note { position: absolute; right: calc(59.4% + 10px); bottom: 52px; display: flex; align-items: flex-end; gap: 8px; white-space: nowrap; z-index: 4; font-family: var(--serif); font-size: 14px; }
.arrow-doodle { width: 83px; height: 74px; fill: none; stroke: #000; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 2px; }
.info-dialog { width: min(420px, calc(100% - 40px)); border: 0; border-radius: 22px; padding: 38px; color: var(--ink); background: #fff; box-shadow: 0 24px 100px #0003; }
.info-dialog::backdrop { background: #0006; backdrop-filter: blur(5px); }
.dialog-close { display: grid; place-items: center; position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; padding: 8px; border: 0; border-radius: 50%; background: #f4f4f4; }
.dialog-close svg { width: 20px; stroke: currentColor; stroke-width: 1.5; }
.dialog-brand { font-weight: 700; font-size: 17px; letter-spacing: -.7px; }
.info-dialog h2 { font-family: var(--serif); font-size: 30px; font-weight: 500; margin: 31px 0 15px; }
.info-dialog p { font-size: 16px; line-height: 1.8; color: #555; white-space: pre-line; margin: 0 0 28px; }
.dialog-confirm { color: white; background: #000; border: 0; border-radius: 10px; padding: 11px 23px; font-size: 14px; }
@media (min-width: 1550px) { .page { margin-top: 7vh; } }
@media (max-width: 1199px) and (min-width: 761px) {
  .page { width: calc(100% - 80px); margin-top: 54px; }
  .hero { min-height: 590px; }
  .hero-copy { padding: 110px 0 80px 45px; }
  h1 { font-size: clamp(47px, 5.6vw, 66px); }
  .hero-description { font-size: 20px; margin-top: 30px; }
  .device { top: 60px; }
  .screen-wordmark { font-size: 20px; }
  .screen-caption { font-size: 10px; letter-spacing: 1px; }
  .rays { width: 78px; height: 78px; top: 48px; }
  .art-note { font-size: 12px; bottom: 35px; }
  .arrow-doodle { width: 64px; height: 60px; }
}
@media (max-width: 760px) {
  .page { width: calc(100% - 32px); margin: 20px auto 0; }

  .hero { display: flex; flex-direction: column; min-height: auto; }
  .hero-copy { width: 100%; padding: 55px 34px 34px; }
  h1 { font-size: clamp(44px, 10.8vw, 70px); line-height: 1.25; }
  .hero-description { font-size: 21px; margin: 28px 0 24px; }
  .download-button { padding: 9px 16px 10px 13px; border-radius: 13px; gap: 9px; }
  .button-label { font-size: 17px; }
  .hero-art { position: relative; width: 100%; height: 570px; overflow: hidden; }
  .backdrop-circle { top: 26px; left: 5%; width: 87%; }
  .device { width: 114%; left: 6%; top: 35px; }
  .screen-wordmark { font-size: 21px; }
  .screen-caption { font-size: 11px; }
  .rays { width: 68px; height: 68px; top: 29px; left: 17%; }
  .art-note { font-size: 12px; bottom: 39px; left: 8%; right: auto; }
  .arrow-doodle { width: 57px; height: 68px; margin-bottom: 2px; }
}
@media (max-width: 374px) {
  .hero-copy { padding: 44px 25px 25px; }
  .hero-description { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Language and compact navigation keep every destination accessible. */
html[lang="en"] h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 4.05vw, 58px); line-height: 1.42; letter-spacing: -.065em; }
html[lang="en"] .hero-description { font-family: Georgia, "Times New Roman", serif; font-size: 22px; }
html[lang="en"] .art-note { font-family: Georgia, "Times New Roman", serif; font-size: 13px; }
html[lang="en"] .screen-caption { letter-spacing: .7px; }
@media (max-width: 1100px) {
}
@media (max-width: 760px) {
  .hero-art { overflow: visible; }
  .device { left: 11%; }
  .hero-vines { mask-image: linear-gradient(to bottom, #000 87%, transparent 100%); }
  html[lang="en"] h1 { font-size: clamp(30px, 7.7vw, 48px); line-height: 1.46; }
  html[lang="en"] .hero-description { font-size: 18px; }
  html[lang="en"] .art-note { font-size: 11px; }
}
@media (max-width: 374px) {
}

/* An ivory canvas connects the painted hero directly to the learning chapter. */
.oil-home { --paper: #fbfaf7; background: var(--paper); }
.oil-home .page { background: transparent; }
.hero-stage { --vine-overhang: 220px; position: relative; overflow: hidden; padding-bottom: var(--vine-overhang); background: linear-gradient(180deg, var(--paper) 0 72%, #f4f3ee 100%); }
.oil-home .backdrop-circle { background: radial-gradient(ellipse, #e8eade99 0%, #eeeee466 52%, #f7f6ee00 73%); }
.oil-home .learning-world { --learning-paper: #f4f3ee; padding-top: 48px; }
@media (max-width: 760px) { .hero-stage { --vine-overhang: 110px; } }
