:root {
  --paper: #f6f2ea;
  --surface: #fffdf8;
  --ink: #1f1d1a;
  --secondary: #615b52;
  --moss: #4c6a3a;
  --soft: #e3e9d8;
  --line: #e2dacb;
  --serif: ui-serif, "New York", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 40px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 18px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
body, h1, h2, h3, p, ol { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
a:focus-visible { outline: 3px solid var(--moss); outline-offset: 6px; border-radius: 5px; }
.wrap { width: min(1440px, calc(100% - 160px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 20px; top: -100px; z-index: 5; padding: 8px 16px; background: var(--surface); }
.skip-link:focus { top: 12px; }
.site-header { min-height: 126px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; }
.brand img { width: 66px; }
.brand span { font: 600 48px/1 var(--serif); letter-spacing: -2px; }
.site-header nav { display: flex; align-items: center; gap: 32px; }
.nav-link { color: var(--secondary); font-size: 17px; }
.nav-link:hover, .site-footer a:hover { color: var(--moss); text-decoration: underline; text-underline-offset: 5px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 64px; padding: 13px 40px; border: 1px solid transparent; border-radius: 100px; background: var(--moss); color: #fff; font: 600 24px/1.25 var(--serif); letter-spacing: -.4px; transition: background .18s ease, transform .18s ease; }
.button:hover { background: #3d572d; transform: translateY(-2px); }
.button-small { min-height: 51px; padding: 12px 27px; font-size: 21px; }
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-inner { min-height: 760px; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 36px; align-items: center; padding-block: 50px 70px; }
.hero-copy { position: relative; z-index: 1; }
h1 { font: 600 clamp(50px, 6.1vw, 94px)/1.01 var(--serif); letter-spacing: -.055em; }
h1 span, h1 em { display: block; }
h1 em { color: var(--moss); font-weight: 600; margin-top: 9px; }
.hero-description { max-width: 650px; margin-top: 30px; font-size: 25px; line-height: 1.55; color: var(--secondary); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 25px; margin-top: 31px; }
.text-link { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font: 600 20px/1.4 var(--serif); color: var(--moss); }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.text-link svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.device-note { margin-top: 18px; font-size: 16px; color: var(--secondary); }
.hero-art { align-self: end; margin: 0 -12px -15px -25px; position: relative; z-index: 1; }
.mascot-hero { width: 620px; max-width: none; margin-left: -75px; transform-origin: 50% 87%; animation: breathe 5s ease-in-out infinite; }
.ground { position: absolute; z-index: -1; width: 100%; height: 175px; bottom: 0; left: 0; fill: var(--soft); }
.how-section { padding-block: 90px 106px; background: var(--surface); }
h2 { font: 600 clamp(36px, 4.1vw, 58px)/1.1 var(--serif); letter-spacing: -.045em; text-wrap: balance; }
.how-section h2 { text-align: center; }
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 55px; margin-top: 62px; text-align: center; }
.step-number { display: inline-flex; width: 47px; height: 47px; align-items: center; justify-content: center; border-radius: 50%; background: var(--soft); font-size: 23px; font-weight: 600; color: var(--moss); }
h3 { margin-top: 20px; font: 600 32px/1.15 var(--serif); letter-spacing: -1.1px; }
.steps p { max-width: 300px; margin: 18px auto 0; color: var(--secondary); font-size: 19px; line-height: 1.55; text-wrap: pretty; }
.privacy-section { background: var(--soft); padding-block: 70px; }
.privacy-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.privacy-copy { max-width: 640px; }
.privacy-copy h2 { font-size: clamp(42px, 4.8vw, 68px); }
.privacy-copy p { color: var(--secondary); font-size: 23px; line-height: 1.5; margin-top: 25px; max-width: 600px; text-wrap: pretty; }
.policy-link { margin-top: 23px; text-decoration: underline; text-underline-offset: 5px; font: 500 20px/1.5 var(--sans); }
.mascot-privacy { width: 300px; flex: 0 0 30%; max-width: 340px; }
.closing { padding-block: 87px 69px; text-align: center; }
.closing h2 { font-size: clamp(36px, 4.3vw, 61px); }
.closing p { font-size: 21px; color: var(--secondary); margin-top: 24px; text-wrap: balance; }
.closing .button { margin-top: 32px; min-width: 190px; }
.site-footer { border-top: 1px solid var(--line); padding-block: 25px 30px; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { font: 600 32px/1.2 var(--serif); letter-spacing: -1.5px; }
.site-footer nav { display: flex; gap: 27px; color: var(--secondary); font-size: 16px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer p { color: var(--secondary); font-size: 13px; margin-top: 7px; }
.site-footer .copyright { font-size: 12px; margin-top: 14px; }
@keyframes breathe { 0%, 100% { transform: rotate(-1deg); } 50% { transform: rotate(1deg) scaleY(1.015); } }
@media (min-width: 1600px) { .hero-inner { min-height: 750px; } }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 80px); }
  .site-header { min-height: 108px; }
  .hero-inner { min-height: 620px; gap: 15px; padding-top: 38px; }
  .hero-description { font-size: 20px; }
  .mascot-hero { width: 400px; margin-left: -50px; }
  .hero-actions { gap: 18px; }
  .hero-actions .button { padding-inline: 30px; }
  .text-link { font-size: 18px; gap: 7px; }
  .steps { gap: 28px; }
  h3 { font-size: 28px; }
  .privacy-copy p { font-size: 21px; }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 44px); }
  .site-header { min-height: 92px; gap: 12px; }
  .brand { gap: 3px; }
  .brand img { width: 42px; height: auto; }
  .brand span { font-size: 34px; letter-spacing: -1.7px; }
  .site-header nav { gap: 0; }
  .site-header .nav-link { display: none; }
  .site-header .button-small { font-size: 18px; min-height: 44px; padding: 10px 21px; }
  .hero-inner { min-height: auto; display: flex; flex-direction: column; gap: 0; padding-block: 40px 18px; align-items: stretch; }
  h1 { font-size: clamp(41px, 8.8vw, 65px); line-height: 1.04; letter-spacing: -.055em; }
  .hero-description { max-width: 560px; font-size: 19px; line-height: 1.55; margin-top: 24px; }
  .hero-actions { gap: 12px; margin-top: 26px; }
  .hero-actions .button { padding-inline: 24px; font-size: 21px; }
  .button { min-height: 56px; padding: 12px 30px; font-size: 22px; }
  .hero-actions .text-link { font-size: 17px; }
  .device-note { font-size: 14px; margin-top: 17px; }
  .mascot-hero { width: 100%; max-width: 100%; margin-left: 0; }
  .hero-art { align-self: center; width: min(265px, 64vw); margin: 7px 0 -10px 28%; }
  .ground { height: 135px; }
  .how-section { padding-block: 58px 64px; }
  h2 { font-size: 36px; }
  .steps { grid-template-columns: 1fr; gap: 38px; margin-top: 40px; }
  .steps li { max-width: 420px; margin-inline: auto; }
  h3 { margin-top: 13px; font-size: 29px; }
  .steps p { margin-top: 12px; max-width: 320px; font-size: 18px; }
  .step-number { width: 42px; height: 42px; font-size: 21px; }
  .privacy-section { padding-block: 52px 26px; }
  .privacy-inner { flex-direction: column; gap: 15px; }
  .privacy-copy { align-self: stretch; }
  .privacy-copy h2 { font-size: 44px; }
  .privacy-copy p { font-size: 19px; margin-top: 23px; }
  .policy-link { margin-top: 17px; font-size: 18px; }
  .mascot-privacy { width: 190px; flex-basis: auto; align-self: flex-end; margin-right: 12px; }
  .closing { padding-block: 59px 51px; }
  .closing h2 { font-size: 39px; }
  .closing p { font-size: 19px; margin-top: 20px; }
  .closing .button { margin-top: 27px; }
  .site-footer { padding-block: 20px 28px; }
  .footer-main { align-items: flex-start; gap: 15px; }
  .footer-brand { font-size: 29px; padding-top: 5px; }
  .site-footer nav { gap: 17px; font-size: 14px; }
  .site-footer p { max-width: 340px; line-height: 1.6; }
}
@media (max-width: 359px) {
  .wrap { width: calc(100% - 32px); }
  h1 { font-size: 37px; }
  .hero-actions { gap: 8px; }
  .hero-actions .button { padding-inline: 22px; }
  .hero-actions .text-link { font-size: 15px; }
  .site-footer nav { gap: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mascot-hero { animation: none; }
  .button { transition: none; }
}

/* App Store media: full compositions, with native playback and swipeable rails. */
.preview-section { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(260px, .8fr); align-items: center; gap: 90px; padding-block: 96px; }
.preview-copy { max-width: 620px; }
.preview-copy > p { max-width: 530px; margin-top: 23px; color: var(--secondary); font-size: 23px; line-height: 1.55; text-wrap: pretty; }
.preview-player { justify-self: center; width: min(100%, 288px); }
.preview-player video { display: block; width: 100%; height: auto; aspect-ratio: 6 / 13; background: var(--paper); border-radius: 22px; box-shadow: 0 16px 50px #1f1d1a16; }
.preview-description { margin-top: 28px; max-width: 530px; font-size: 16px; color: var(--secondary); }
.preview-description summary { cursor: pointer; color: var(--moss); padding-block: 8px; text-underline-offset: 4px; }
.preview-description summary:hover { text-decoration: underline; }
.preview-description summary:focus-visible { outline: 3px solid var(--moss); outline-offset: 5px; border-radius: 4px; }
.preview-description p { margin-top: 12px; }
.screenshots-section { padding-block: 82px 66px; }
.gallery-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 35px; }
.gallery-heading > div:first-child { max-width: 790px; }
.gallery-heading p { max-width: 700px; margin-top: 22px; font-size: 21px; line-height: 1.55; color: var(--secondary); text-wrap: pretty; }
.gallery-controls { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.gallery-controls[hidden] { display: none; }
.gallery-controls > span { color: var(--secondary); font-size: 14px; margin-right: 8px; white-space: nowrap; }
.round-control { display: inline-flex; flex: 0 0 46px; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--moss); align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.round-control svg, .dialog-close svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.round-control:hover:not(:disabled) { background: var(--soft); border-color: var(--moss); }
.round-control:disabled { opacity: .38; cursor: default; }
button:focus-visible, .screenshot-track:focus-visible { outline: 3px solid var(--moss); outline-offset: 5px; }
.screenshot-track { display: flex; align-items: flex-start; list-style: none; padding: 7px 0 19px; margin: -7px 0 0; gap: 18px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #7d9566 var(--soft); }
.screenshot-track > li { flex: 0 0 270px; min-width: 0; scroll-snap-align: start; }
.screenshot-open { display: block; border-radius: 12px; cursor: zoom-in; }
.screenshot-open img { width: 100%; height: auto; border-radius: 12px; }
.gallery-hint { margin-top: 15px; color: var(--secondary); font-size: 14px; }
.duo-section { padding-top: 55px; padding-bottom: 88px; }
.duo-section h2 em { color: var(--moss); font-weight: inherit; }
.duo-track { gap: 0; }
.duo-track > li { flex-basis: 412px; }
.duo-track .screenshot-open, .duo-track img { border-radius: 0; }
.screenshot-dialog { width: min(1120px, calc(100vw - 36px)); max-width: none; height: min(1050px, calc(100svh - 36px)); max-height: none; border: 1px solid var(--line); padding: 0; border-radius: 22px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 100px #0005; }
.screenshot-dialog::backdrop { background: #1f1d1ad1; }
.screenshot-dialog[open] { display: flex; flex-direction: column; }
html:has(.screenshot-dialog[open]) { overflow: hidden; }
.dialog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 22px; border-bottom: 1px solid var(--line); }
.dialog-toolbar p { font: 600 20px/1.25 var(--serif); }
.dialog-close { display: inline-flex; align-items: center; justify-content: center; gap: 9px; flex-shrink: 0; min-height: 44px; border: 0; border-radius: 24px; background: none; color: var(--moss); padding: 8px 6px; cursor: pointer; font: 500 16px/1.2 var(--sans); }
.dialog-canvas { display: flex; justify-content: center; align-items: center; min-height: 0; flex: 1; padding: 10px; }
.dialog-canvas img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 0; }
.dialog-navigation { display: flex; justify-content: center; align-items: center; gap: 22px; padding: 9px 18px; border-top: 1px solid var(--line); }
.dialog-navigation span { min-width: 70px; text-align: center; color: var(--secondary); font-size: 15px; font-variant-numeric: tabular-nums; }
@media (max-width: 1100px) {
  .preview-section { gap: 50px; }
  .preview-copy > p { font-size: 21px; }
  .gallery-heading { align-items: flex-start; }
  .gallery-controls > span { display: none; }
}
@media (max-width: 760px) {
  .preview-section { grid-template-columns: 1fr; gap: 32px; padding-block: 58px; }
  .preview-copy > p { font-size: 19px; margin-top: 19px; }
  .preview-player { width: min(100%, 270px); }
  .preview-description { margin-top: 18px; font-size: 15px; }
  .screenshots-section { padding-block: 52px 38px; }
  .gallery-heading { flex-direction: column; gap: 22px; margin-bottom: 25px; }
  .gallery-heading p { font-size: 19px; margin-top: 19px; }
  .gallery-controls { align-self: flex-end; }
  .gallery-controls > span { display: inline; }
  .screenshot-track > li { flex-basis: min(270px, calc(100vw - 66px)); }
  .duo-track > li { flex-basis: calc(100vw - 44px); }
  .duo-section { padding-top: 40px; padding-bottom: 58px; }
  .gallery-hint { font-size: 13px; }
  .screenshot-dialog { width: calc(100vw - 16px); height: calc(100svh - 16px); border-radius: 14px; }
  .dialog-toolbar { padding: 8px 13px; gap: 10px; }
  .dialog-toolbar p { font-size: 17px; }
  .dialog-canvas { padding: 6px; }
}
