@font-face {
  font-family: Fraunces;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/fraunces-latin.woff2') format('woff2');
}
@font-face {
  font-family: Onest;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/assets/onest-latin.woff2') format('woff2');
}
:root {
  color-scheme: dark;
  --bg: #171b1c;
  --surface: #202627;
  --ink: #f1f4ec;
  --muted: #b4beba;
  --teal: #72d9d0;
  --line: #34403e;
  font-family: Onest, system-ui, sans-serif;
  font-size: 18px;
  color: var(--ink);
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
p { line-height: 1.75; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Fraunces, Georgia, serif; }
h1 { font-size: clamp(2.9rem, 6.5vw, 5.05rem); line-height: 1.02; font-weight: 650; letter-spacing: -.035em; margin-bottom: 30px; }
h2 { font-size: clamp(2.2rem, 4vw, 3.1rem); line-height: 1.12; font-weight: 600; letter-spacing: -.025em; margin-bottom: 30px; }
h3 { font-size: 1.5rem; line-height: 1.3; font-weight: 600; letter-spacing: -.025em; }
em { color: var(--teal); font-style: normal; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 5px; }
main:focus { outline: none; }
section[tabindex="-1"]:focus { outline: none; }
.skip { position: fixed; left: 20px; top: -100px; background: var(--teal); color: var(--bg); padding: 12px 20px; border: 0; z-index: 20; }
.skip:focus { top: 12px; }
.header { background: var(--bg); position: sticky; top: 0; z-index: 10; border-bottom: 1px solid transparent; }
.header-inner { min-height: 97px; display: grid; grid-template-columns: 180px 1fr auto; align-items: center; gap: 28px; }
.brand { display: inline-flex; width: fit-content; align-items: center; }
.brand img { width: 72px; height: auto; }
.header nav { display: flex; align-items: center; justify-content: center; gap: 46px; font-size: 16px; font-weight: 600; }
.header nav a:hover, .footer a:hover { color: var(--teal); }
.button { display: inline-flex; align-items: center; justify-content: center; text-align: center; background: var(--teal); color: #122b2a; border-radius: 9px; padding: 15px 24px; font-size: 16px; font-weight: 600; transition: background .2s; }
.button:hover { background: #9aeee5; }
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px; align-items: center; min-height: 700px; padding-block: 58px 80px; }
.hero-copy { min-width: 0; }
.lead { font-size: 20px; color: var(--muted); max-width: 540px; margin-bottom: 32px; }
.store-links { display: flex; flex-wrap: wrap; gap: 16px; }
.store { display: inline-flex; align-items: center; gap: 13px; border: 1px solid #52615c; border-radius: 9px; padding: 13px 19px; min-width: 180px; transition: border-color .2s, background .2s; }
.store:hover { border-color: var(--teal); background: #72d9d00a; }
.store small { display: block; font-size: 12px; line-height: 1.3; color: #c2cbc5; }
.store strong { font-size: 19px; font-weight: 600; white-space: nowrap; }
.hero-visual { position: relative; min-width: 0; height: 590px; display: flex; justify-content: center; align-items: center; isolation: isolate; }
.hero-visual::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse, #36746a50, transparent 68%); z-index: -1; }
.hero-phone { width: 283px; height: 535px; overflow: hidden; position: relative; border-radius: 42px 42px 22px 22px; transform: rotate(6deg); box-shadow: 20px 35px 70px #0007; }
.hero-phone img { position: absolute; bottom: -2px; left: -10%; width: 120%; height: auto; max-width: none; }
.orbit { position: absolute; width: 490px; height: 490px; border: 1px solid #38514a; border-radius: 50%; z-index: -1; transform: rotate(-20deg) scaleX(.87); }
.orbit-two { width: 600px; height: 360px; transform: rotate(-40deg) scaleX(.85); border-style: dashed; opacity: .55; }
.language-strip { border-block: 1px solid var(--line); background: #1b2121; }
.language-strip .wrap { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 16px 42px; padding-block: 23px; }
.language-strip a { font-size: 18px; padding: 5px 0; border-bottom: 2px solid transparent; }
.language-strip a:hover, .language-strip a[aria-current] { color: var(--teal); border-color: var(--teal); }
.section { padding-block: 88px; }
.section-description { color: var(--muted); font-size: 20px; max-width: 850px; margin-bottom: 48px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.steps article { border-top: 1px solid #526057; padding-top: 24px; }
.step-number { display: block; color: var(--teal); font-size: 16px; margin-bottom: 24px; }
.steps h3 { margin-bottom: 0; }
.feature-section { background: #222d2b; border-block: 1px solid #384640; }
.feature-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.features { list-style: none; margin: 0; padding: 0; }
.features li { display: flex; align-items: center; gap: 22px; border-bottom: 1px solid #405149; padding-block: 21px; font-size: 20px; line-height: 1.6; }
.features li:first-child { padding-top: 0; }
.features li:last-child { border: 0; padding-bottom: 0; }
.features li span { font-size: 21px; color: var(--teal); }
.screenshots-section { overflow: clip; }
.gallery-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 30px; }
.gallery-heading h2 { margin: 0; }
.gallery-controls { display: flex; gap: 12px; }
.gallery-controls button { width: 48px; height: 48px; border: 1px solid #52615c; background: transparent; color: var(--teal); border-radius: 50%; cursor: pointer; font-size: 24px; }
.gallery-controls button:hover { background: #263c35; }
.screenshots { display: flex; gap: 24px; overflow-x: auto; padding-block: 8px 25px; scroll-snap-type: x mandatory; scrollbar-color: #547c6e #222c28; scrollbar-width: thin; }
.screenshots figure { margin: 0; flex: 0 0 calc((100% - 48px) / 3); scroll-snap-align: start; min-width: 0; }
/* The store images have white pixels outside their original rounded corners.
   Match that radius proportionally so those pixels never show against the page. */
.screen-frame { overflow: hidden; border-radius: 10.5% / 4.85%; background: #242424; isolation: isolate; }
.screenshots img { width: 100%; clip-path: inset(1px round 10.5% / 4.85%); }
.screenshots figcaption { font-size: 17px; line-height: 1.6; padding-top: 20px; color: #cbd6cf; }
.audience { font-size: 20px; line-height: 1.8; color: var(--muted); padding-top: 38px; margin-bottom: 0; max-width: 930px; text-align: center; }
.download-section { text-align: center; background: #263c35; border: 1px solid #416054; border-radius: 20px; padding: 56px 28px 64px; margin-bottom: 80px; }
.download-section > img { margin: 0 auto 25px; }
.download-section h2 { margin-bottom: 20px; }
.download-section p { color: var(--muted); font-size: 20px; max-width: 750px; margin: 0 auto 30px; }
.download-section .store-links { justify-content: center; }
.store { text-align: left; }
.footer { border-top: 1px solid var(--line); padding-block: 30px; display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 16px; }
.footer small { margin-left: auto; }
.footer small { color: #9bad9f; font-size: 14px; }
html:lang(ja) h1, html:lang(hi) h1 { line-height: 1.2; letter-spacing: 0; }
html:lang(ja) h2, html:lang(hi) h2 { line-height: 1.35; letter-spacing: 0; }
.supporting-page { min-height: 100svh; display: flex; flex-direction: column; }
.supporting-page main { flex: 1; }
.document-layout { max-width: 900px; padding-block: 52px 88px; }
.document-heading { padding-bottom: 38px; border-bottom: 1px solid var(--line); }
.back-link { display: inline-block; color: var(--teal); font-size: 16px; margin-bottom: 36px; }
.back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.document-heading h1 { font-size: clamp(2.7rem, 6vw, 4.4rem); margin-bottom: 22px; }
.document-heading > p { font-size: 18px; color: var(--muted); margin-bottom: 0; }
.document-body { font-size: 20px; line-height: 1.8; padding-top: 40px; overflow-wrap: anywhere; }
.document-body h2 { font-size: 1.85rem; line-height: 1.25; margin: 48px 0 20px; color: var(--ink); }
.document-body > h2:first-child { margin-top: 0; }
.document-body p { color: var(--muted); margin-bottom: 22px; }
.document-body li { color: var(--muted); }
.document-body li + li { margin-top: 12px; }
.document-body ul { padding-left: 26px; margin: 0 0 26px; }
.document-body li::marker { color: var(--teal); }
.document-body strong { color: var(--ink); font-weight: 600; }
.document-body a, .text-link { color: var(--teal); text-decoration: underline; text-underline-offset: 4px; }
.document-body a:hover, .text-link:hover { color: #9aeee5; }
.document-body .notice, .document-body .delete-box { background: var(--surface); border-left: 3px solid var(--teal); border-radius: 0 12px 12px 0; padding: 24px 28px; margin-block: 28px; }
.document-body .notice p:last-child, .document-body .delete-box p:last-child { margin-bottom: 0; }
.document-body .contact { display: inline-flex; padding: 15px 22px; border: 1px solid #416054; border-radius: 9px; background: #263c35; font-weight: 600; }
.error-page { padding-block: 28px 84px; text-align: center; }
.error-code { font-family: Fraunces, Georgia, serif; font-size: clamp(8rem, 20vw, 12rem); font-weight: 600; line-height: 1.15; letter-spacing: -.07em; color: var(--teal); margin: 0 0 26px; }
.error-code span { display: inline-block; transform: rotate(-16deg); color: var(--ink); }
.error-page h1 { font-size: clamp(2.1rem, 4.5vw, 3.5rem); line-height: 1.12; margin: 0 auto 26px; max-width: 900px; }
.error-joke { font-size: 22px; color: var(--ink); margin-bottom: 12px; }
.error-description { font-size: 18px; color: var(--muted); margin: 0 auto 32px; max-width: 600px; }
.error-actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 24px; }
.error-actions .text-link { font-size: 16px; }
.download-page { max-width: 900px; text-align: center; padding-block: 64px 88px; }
.download-icon { margin: 0 auto 30px; border-radius: 24px; }
.download-page h1 { font-size: clamp(2.8rem, 6vw, 4.4rem); margin-bottom: 24px; }
.download-page .lead { margin: 0 auto 36px; max-width: 650px; }
.store-status { color: var(--ink); font-size: 20px; margin-bottom: 22px; }
.download-page .store-links { justify-content: center; }
.download-hint { color: var(--muted); font-size: 16px; max-width: 540px; margin: 28px auto 0; }
@media (max-width: 1100px) {
  .header-inner { grid-template-columns: 100px 1fr auto; gap: 20px; }
  .header nav { gap: 24px; font-size: 15px; }
  .button { font-size: 15px; padding: 13px 18px; }
  .hero-phone { width: 260px; height: 493px; }
  .orbit { width: 390px; height: 450px; }
  .orbit-two { width: 450px; height: 300px; }
}
@media (max-width: 900px) {
  :root { scroll-padding-top: 105px; }
  .header-inner { min-height: 81px; grid-template-columns: 80px 1fr; }
  .header .brand img { width: 60px; }
  .header .button { justify-self: end; }
  .header nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 26px; padding-block: 34px 45px; min-height: 0; }
  h1 { font-size: clamp(2.9rem, 8vw, 4.5rem); }
  .hero-copy { max-width: 650px; }
  .hero-visual { height: 550px; width: 100%; overflow: clip; }
  .hero-phone { width: 270px; height: 512px; }
  .hero-visual .orbit { max-width: 100%; }
  .lead { max-width: 580px; }
  .feature-layout { grid-template-columns: 1fr; gap: 25px; }
  .section { padding-block: 65px; }
  .steps { gap: 25px; }
  .steps h3 { font-size: 1.3rem; }
  .screenshots figure { flex-basis: calc((100% - 24px) / 2); }
  .footer small { width: 100%; }
}
@media (max-width: 600px) {
  .download-page { padding-block: 40px 60px; }
  .download-icon { width: 90px; border-radius: 22px; }
  .download-page .store-links { gap: 16px; }
  .document-layout { padding-block: 28px 55px; }
  .back-link { margin-bottom: 28px; }
  .document-heading { padding-bottom: 28px; }
  .document-heading h1 { font-size: 2.7rem; }
  .document-heading > p { font-size: 17px; }
  .document-body { font-size: 18px; padding-top: 28px; }
  .document-body h2 { font-size: 1.65rem; margin-top: 38px; }
  .document-body .notice, .document-body .delete-box { padding: 20px; }
  .error-page { padding-block: 32px 60px; }
  .error-joke { font-size: 20px; }
  .wrap { width: calc(100% - 40px); }
  .header-inner { gap: 12px; }
  .button { font-size: 14px; max-width: 230px; }
  h1 { font-size: clamp(2.5rem, 10vw, 3.5rem); overflow-wrap: break-word; }
  h2 { font-size: 2.2rem; }
  .lead, .section-description, .audience, .download-section p { font-size: 18px; }
  .store-links { gap: 12px; }
  .store { padding: 12px 15px; min-width: 0; gap: 10px; }
  .store small { font-size: 11px; }
  .store strong { font-size: 17px; }
  .language-strip .wrap { gap: 12px 25px; padding-block: 20px; }
  .language-strip a { font-size: 17px; }
  .hero-visual { height: 510px; }
  .hero-phone { width: 250px; height: 474px; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .steps article { display: flex; gap: 20px; }
  .steps h3 { font-size: 1.4rem; }
  .step-number { margin-top: 5px; }
  .features li { font-size: 18px; gap: 16px; }
  .screenshots { gap: 18px; }
  .screenshots figure { flex-basis: 82%; }
  .screenshots figcaption { font-size: 16px; }
  .audience { text-align: left; }
  .download-section { padding: 40px 20px 45px; margin-bottom: 55px; }
  .download-section > img { width: 90px; }
  .footer { gap: 24px; }
  .footer nav { width: 100%; margin: 0; gap: 18px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  * { transition: none !important; }
}
