:root {
  color-scheme: light;
  --ink: #152647;
  --muted: #435576;
  --blue: #2447c8;
  --paper: #f5f7fc;
  --line: #dce4f4;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.58 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body, figure, h1, h2, h3, p, dl, dd { margin: 0; }
a { color: var(--blue); text-underline-offset: .2em; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid #3c61eb; outline-offset: 4px; }
.skip { position: absolute; z-index: 2; left: 1rem; top: 1rem; padding: .65rem 1rem; background: white; transform: translateY(-170%); }
.skip:focus { transform: none; }
.shell { width: min(100% - 3rem, 75rem); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.nav, .wordmark, .nav-links { display: flex; align-items: center; }
.nav { justify-content: space-between; min-height: 4.75rem; gap: 1rem; }
.wordmark { width: fit-content; gap: .65rem; color: inherit; text-decoration: none; font-size: 1.22rem; font-weight: 800; letter-spacing: -.03em; }
.wordmark img { border-radius: .65rem; }
.nav-links { gap: clamp(.85rem, 3vw, 2.1rem); }
.nav-links a, .footer-inner nav a { color: inherit; font-size: .93rem; font-weight: 650; text-decoration: none; }
.nav-links a:hover, .footer-inner nav a:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1.03fr 1fr; align-items: center; gap: 2.5rem; padding-block: clamp(2.6rem, 6vw, 6rem); }
.eyebrow { color: #3450ad; font-size: .72rem; font-weight: 800; letter-spacing: .12em; line-height: 1.5; }
.eyebrow span, .art-label span { display: inline-block; width: .5rem; height: .5rem; margin-right: .45rem; border-radius: 50%; background: #4b69e7; vertical-align: .04em; }
h1 { margin-top: .8rem; font-size: clamp(3rem, 5.9vw, 5.55rem); line-height: .99; letter-spacing: -.068em; }
h1 em { color: var(--blue); font-style: normal; }
.lead { margin-top: 1.35rem; max-width: 36ch; color: var(--muted); font-size: clamp(1.1rem, 1.7vw, 1.27rem); }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .7rem; min-height: 2.9rem; padding: .55rem 1rem; border: 1px solid var(--blue); border-radius: .7rem; text-decoration: none; font-weight: 750; }
.primary { color: white; background: var(--blue); }
.primary:hover { background: #1b36a1; }
.secondary { border-color: #cbd6f1; background: white; }
.secondary:hover { background: #e7edff; }
.platform { margin-top: 1.2rem; color: var(--muted); font-size: .83rem; }
.hero-art { position: relative; min-width: 0; isolation: isolate; aspect-ratio: 1.13; overflow: hidden; border: 1px solid #cfdbfd; border-radius: 1.65rem; background: radial-gradient(ellipse at 50% 36%, #f2f5ff 1%, #dbe5ff 75%); }
.route { position: absolute; inset: 10% 0 auto; width: 100%; color: #7389d7; }
.art-label { position: absolute; z-index: 1; top: 6%; left: 6%; color: #29459b; font-size: .65rem; font-weight: 800; letter-spacing: .12em; }
.phone { overflow: hidden; border: 5px solid #182845; border-radius: 9% / 4.2%; background: white; box-shadow: 0 .75rem 1.8rem #18284538; }
.phone img { width: 100%; height: auto; }
.hero-art .phone { position: absolute; width: 35%; }
.phone-dashboard { left: 16%; top: 17%; transform: rotate(-9deg); }
.phone-settlement { right: 15%; top: 10%; transform: rotate(9deg); }
.hero-art figcaption { position: absolute; right: .8rem; bottom: .65rem; z-index: 1; padding: .25rem .55rem; border-radius: .35rem; background: #f5f7fc; color: #3e5071; font-size: .68rem; }
.summary { background: #17294f; color: white; }
.summary-grid { display: grid; grid-template-columns: repeat(3, 1fr); padding-block: 1.15rem; }
.summary-grid div { position: relative; padding: .5rem .85rem .5rem 2.4rem; }
.summary-grid div + div { border-left: 1px solid #ffffff32; margin-left: 1rem; padding-left: 3.4rem; }
.summary-grid span { position: absolute; left: 0; top: .55rem; color: #b8caff; font-size: .72rem; font-weight: 800; }
.summary-grid div + div span { left: 1rem; }
.summary-grid strong { display: block; font-size: 1rem; }
.summary-grid p { color: #d6e0fb; font-size: .88rem; }
.section { padding-block: clamp(3.2rem, 6vw, 6.1rem); }
.section-heading { max-width: 43rem; margin-bottom: 2rem; }
h2 { margin-top: .6rem; font-size: clamp(2.15rem, 4vw, 3.65rem); line-height: 1.04; letter-spacing: -.052em; }
.section-heading > p:last-child:not(.eyebrow) { margin-top: .9rem; color: var(--muted); font-size: 1.07rem; }
.workflow { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(1rem, 4vw, 3.5rem); align-items: start; }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 2.55rem 1fr; gap: 1rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.steps li:first-child { border-top: 1px solid var(--line); }
.step-number { display: grid; width: 2.55rem; height: 2.55rem; place-items: center; background: #e3ebff; color: #2d49a5; border-radius: .65rem; font-weight: 800; font-size: .79rem; }
h3 { font-size: 1.23rem; line-height: 1.2; letter-spacing: -.018em; }
.steps p, .feature-grid p { margin-top: .4rem; color: var(--muted); }
.receipt { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid #cbd7f4; border-radius: 1.25rem; background: #fff; box-shadow: 0 .5rem 1.5rem #17294f0c; }
.receipt h3 { margin-top: .42rem; font-size: 1.7rem; }
.receipt > p:not(.eyebrow) { margin-top: .65rem; color: var(--muted); }
.receipt dl { margin-top: 1rem; border-top: 1px dashed #9db0dd; }
.receipt dl div { display: flex; justify-content: space-between; gap: .5rem; padding-block: .55rem; border-bottom: 1px solid var(--line); }
.receipt dd { font-weight: 800; font-variant-numeric: tabular-nums; }
.receipt .receipt-foot { font-size: .86rem; }
.showcase { background: #eaf0fd; }
.screen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
.screen-mat { display: grid; place-items: center; padding: 1.25rem; overflow: hidden; border-radius: 1.35rem; }
.screen-mat .phone { width: min(82%, 12.2rem); }
.blue { background: #d9e4ff; }
.mint { background: #dcece9; }
.lilac { background: #e7e4f7; }
.screen-grid figcaption { display: grid; padding: .8rem .15rem 0; gap: .15rem; }
.screen-grid figcaption strong { font-size: 1.07rem; }
.screen-grid figcaption span { color: var(--muted); font-size: .92rem; }
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .85rem; }
.feature-grid article { padding: clamp(1.2rem, 2vw, 1.8rem); border: 1px solid var(--line); border-radius: 1rem; background: white; }
.feature-tag { display: block; margin-bottom: .65rem; color: #3450ad; font-size: .7rem; font-weight: 800; letter-spacing: .09em; }
.faq { display: grid; grid-template-columns: .7fr 1fr; gap: 1.5rem 3.5rem; border-top: 1px solid var(--line); }
.faq .section-heading { margin-bottom: 0; }
.faq dl div { padding: .95rem 0; border-bottom: 1px solid var(--line); }
.faq dl div:first-child { padding-top: 0; }
.faq dt { font-weight: 750; }
.faq dd { margin-top: .3rem; color: var(--muted); }
.site-footer { background: #17294f; color: white; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding-block: 1.6rem; }
.footer-inner p { margin-top: .45rem; color: #d6e0fb; font-size: .88rem; }
.footer-inner p a { color: inherit; }
.footer-inner nav { display: flex; gap: 1.1rem; }
@media (max-width: 52rem) {
  .shell { width: min(100% - 2rem, 75rem); }
  .hero { gap: 1.5rem; grid-template-columns: 1fr; }
  .hero-art { max-width: 38rem; width: 100%; }
  .summary-grid div + div { margin-left: .3rem; padding-left: 2.4rem; }
  .summary-grid div + div span { left: .35rem; }
  .workflow, .faq { grid-template-columns: 1fr; }
}
@media (max-width: 38rem) {
  .nav { min-height: 4.15rem; }
  .nav-links a:not(:last-child) { display: none; }
  .wordmark { font-size: 1.1rem; }
  h1 { font-size: clamp(2.6rem, 12vw, 4.25rem); }
  .hero-art { border-radius: 1.2rem; }
  .summary-grid { grid-template-columns: 1fr; padding-block: .65rem; }
  .summary-grid div + div { border-left: 0; border-top: 1px solid #ffffff32; margin-left: 0; }
  .summary-grid div + div span { left: 0; }
  .screen-grid { grid-template-columns: 1fr; gap: 1.3rem; }
  .screen-mat .phone { width: min(68%, 11rem); }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

/* Fairgo's travel desk: tactile tickets, a working ledger, restrained motion. */
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { background: #faf9f5; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button:disabled, input:disabled, select:disabled { cursor: default; }
.site-header { background: #faf9f5; }
.hero { padding-block: clamp(3rem, 7vw, 6.8rem); }
.hero-art { background: radial-gradient(ellipse at 50% 36%, #f3f4ff, #dbe5fb 75%); border-radius: 50% 50% 1.5rem 1.5rem; }
.hero-copy h1 { font-size: clamp(3rem, 5.6vw, 5.3rem); max-width: 11ch; }
.hero-copy .lead { max-width: 37ch; }
.nav-links { flex-wrap: wrap; }
.motion-control { border: 1px solid #cbd6f1; border-radius: 2rem; padding: .45rem .7rem; font-size: .72rem; background: transparent; color: var(--ink); min-height: 44px; }
.floating-receipt { position: absolute; z-index: 2; padding: .65rem .9rem; border: 1px solid #dce4f4; border-radius: .4rem; background: #fffef9; box-shadow: 0 8px 30px #15264718; font-size: .62rem; letter-spacing: .06em; }
.floating-receipt b { display: block; font-size: .8rem; letter-spacing: -.02em; margin-top: .2rem; }
.receipt-dinner { left: 3%; bottom: 23%; transform: rotate(-7deg); }
.receipt-train { right: 3%; top: 29%; transform: rotate(6deg); }
.phone-dashboard { animation: phone-left 7s ease-in-out infinite; }
.phone-settlement { animation: phone-right 8s ease-in-out infinite; }
.route path { animation: journey 28s linear infinite; }
.receipt-dinner { animation: ticket-left 6s ease-in-out infinite; }
.receipt-train { animation: ticket-right 6s ease-in-out infinite; }
@keyframes phone-left { 50% { transform: translateY(-9px) rotate(-7deg); } }
@keyframes phone-right { 50% { transform: translateY(9px) rotate(7deg); } }
@keyframes journey { to { stroke-dashoffset: -300; } }
@keyframes ticket-left { 50% { transform: translateY(-7px) rotate(-3deg); } }
@keyframes ticket-right { 50% { transform: translateY(6px) rotate(3deg); } }
.summary { background: #203f97; }
.playground .section-heading { max-width: 50rem; }
.demo-layout { display: grid; grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 1.4rem; align-items: start; }
.demo-entry { padding: clamp(1.2rem,3vw,2rem); background: #edf1fb; border: 1px solid #d6dff3; border-radius: 1.2rem; }
.demo-topline, .demo-trip { display: flex; justify-content: space-between; align-items: center; gap: .6rem; margin-bottom: 1.5rem; }
.trip-stamp { font-size: .65rem; letter-spacing: .12em; font-weight: 800; border: 1px solid #2447c8; border-radius: .2rem; padding: .35rem .6rem; transform: rotate(-3deg); color: #2447c8; }
.reset { border: 0; color: #3450ad; background: transparent; font-size: .8rem; min-height: 44px; padding: .4rem; }
.presets { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: 1.1rem 1.4rem; }
.presets button { background: #fff; border: 1px solid #cbd6f1; border-radius: 2rem; padding: .55rem .8rem; min-height: 44px; font-size: .85rem; color: #2447c8; }
.presets button[aria-pressed="true"] { background: #203f97; color: #fff; border-color: #203f97; }
.entry-label { font-weight: 800; margin-bottom: .7rem; }
.demo-entry label { display: block; font-size: .78rem; font-weight: 700; margin-bottom: .4rem; }
.yen-input { display: flex; align-items: center; background: #fff; border: 1px solid #acbce1; border-radius: .55rem; padding-inline: .8rem; margin-bottom: 1rem; }
.yen-input span { font-size: 1.4rem; color: #5e7098; }
.yen-input input { width: 100%; min-width: 0; border: 0; background: none; padding: .55rem; color: var(--ink); font-size: 2.1rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.form-row { display: grid; grid-template-columns: .8fr 1.2fr; gap: .6rem; }
.form-row > div { min-width: 0; }
.form-row select { width: 100%; min-width: 0; min-height: 46px; padding: .6rem .35rem; color: var(--ink); border: 1px solid #acbce1; border-radius: .5rem; background: #fff; font-size: .82rem; }
.fine { font-size: .75rem; color: #52617b; line-height: 1.6; margin-top: .65rem; }
.demo-save { width: 100%; margin-top: 1.1rem; }
.demo-disclosure { font-size: .74rem; color: #52617b; line-height: 1.6; padding-top: 1rem; }
.demo-result { border-radius: 1.2rem; background: #fff; padding: clamp(1.1rem,3vw,2rem); border: 1px solid #d9e1f1; box-shadow: 0 14px 50px #15264709; position: relative; }
.demo-result::before { content: ''; position: absolute; left: -10px; top: 65px; width: 20px; height: 20px; border-radius: 50%; background: #faf9f5; border-right: 1px solid #d9e1f1; }
.back-to-entry { display: inline-block; font-size: .78rem; min-height: 44px; padding-block: .6rem; margin-bottom: .6rem; }
.demo-ticket { font-size: .6rem; font-weight: 800; letter-spacing: .1em; color: #60708b; }
.demo-total { padding-bottom: 1.3rem; border-bottom: 1px dashed #acbce1; }
.demo-total p { color: var(--muted); font-size: .8rem; }
.demo-total > strong { display: block; font-size: clamp(2.8rem,4.5vw,4rem); font-weight: 850; letter-spacing: -.06em; line-height: 1.15; margin-top: .4rem; font-variant-numeric: tabular-nums; }
.travelers { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: .6rem; padding-block: 1.2rem; }
.travelers article { min-width: 0; }
.avatar { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; color: #243768; font-weight: 800; margin-bottom: .6rem; }
.avatar-0 { background: #f8e5c3; }.avatar-1 { background: #dce8fc; }.avatar-2 { background: #e2ebd7; }
.travelers h3 { font-size: .96rem; }.travelers p { font-size: .7rem; color: var(--muted); margin-top: .3rem; }
.travelers strong { display: block; font-size: .74rem; margin-top: .4rem; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
[data-kind="credit"] { color: #146b50; }[data-kind="debt"] { color: #8a4721; }[data-kind="clear"] { color: #146b50; }
.settlement-preview { padding-top: 1rem; border-top: 1px dashed #acbce1; }
.settlement-preview h3 { font-size: 1.05rem; margin-bottom: .7rem; }
.transfer-row { display: grid; grid-template-columns: 1fr auto; gap: .3rem .6rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid #edf0f7; font-size: .82rem; }
.transfer-row button { grid-column: 1 / -1; justify-self: start; min-height: 44px; padding: .4rem .65rem; background: #f2f5ff; border: 1px solid #cbd6f1; border-radius: .45rem; font-size: .75rem; color: #2447c8; }
.demo-history { margin-top: 1rem; }.demo-history summary { font-size: .8rem; cursor: pointer; min-height: 44px; display: list-item; padding-block: .6rem; }
.demo-history ol { padding-left: 1.1rem; font-size: .75rem; color: #52617b; }.demo-history li { margin-bottom: .4rem; }
.demo-status { margin-top: .8rem; font-size: .78rem; background: #edf5ef; color: #24573b; border-radius: .5rem; padding: .8rem; min-height: 4.1rem; }
.updated .demo-result { animation: ledger-update .65s ease-out; }
@keyframes ledger-update { 40% { box-shadow: 0 0 0 4px #2447c81a,0 14px 50px #15264709; transform: translateY(-3px); } }
.all-square { padding: .8rem; border-radius: .5rem; color: #146b50; background: #edf5ef; }
.faq details { border-bottom: 1px solid #dce4f4; padding: .35rem 0; }
.faq summary { cursor: pointer; font-weight: 750; min-height: 44px; padding-block: .65rem; }
.faq details p { color: var(--muted); margin-bottom: 1rem; }
.guide-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.guide-grid a { display: flex; flex-direction: column; gap: 1.2rem; justify-content: space-between; padding: 1.4rem; border: 1px solid #dce4f4; border-radius: .8rem; color: inherit; text-decoration: none; background: #fff; }
.guide-grid a:hover { border-color: #2447c8; }.guide-grid a > span:last-child { align-self: end; color: #2447c8; font-size: 1.5rem; }
.closing { text-align: center; border-top: 1px solid #dce4f4; }.closing h2 { margin-bottom: 1.3rem; }.closing > p:not(.eyebrow) { color: var(--muted); margin-bottom: 1.6rem; }.closing .button { margin: .25rem; }
.fact-date { font-size: .7rem; padding-bottom: 1.5rem; color: #c5d1ec; }.footer-inner nav { flex-wrap: wrap; }
.guide-article { max-width: 53rem; }.guide-article h1 { font-size: clamp(2.6rem,5vw,4.4rem); line-height: 1.05; }.guide-article .lead { max-width: none; }.article-byline { font-size: .8rem; margin-top: 1.5rem; }.guide-article section { margin-top: 2.5rem; }.guide-article h2 { font-size: 1.8rem; line-height: 1.2; margin-bottom: 1rem; }.guide-article section p { color: var(--muted); }.guide-note { padding: 1.2rem; background: #edf1fb; border-radius: .8rem; margin-top: 2rem; font-size: .92rem; }.guide-note h2 { font-size: 1.4rem; }.guide-note p + p { margin-top: .6rem; }
html[lang="zh-Hans"] .hero-copy h1 { max-width: 9ch; font-size: clamp(2.8rem,5.2vw,4.7rem); line-height: 1.15; letter-spacing: -.055em; }
html[data-motion="paused"] *,html[data-motion="paused"] *::before,html[data-motion="paused"] *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
@media (max-width: 52rem) { .demo-layout { grid-template-columns: 1fr; }.hero-copy h1 { max-width: 15ch; }.hero-art { margin-inline: auto; }.guide-grid { grid-template-columns: 1fr; }.nav-links { gap: .7rem; } }
@media (max-width: 38rem) { .hero-copy h1 { font-size: clamp(2.8rem,12vw,4rem); }.demo-entry,.demo-result { padding: 1.1rem; }.hero-art .floating-receipt { font-size: .5rem; padding: .5rem; }.floating-receipt b { font-size: .66rem; }.receipt-dinner { left: 2%; bottom: 18%; }.receipt-train { right: 2%; top: 32%; }.travelers { gap: .35rem; }.demo-trip { gap: .3rem; }.demo-trip .eyebrow { font-size: .62rem; }.demo-ticket { font-size: .5rem; }.hero { padding-top: 2.4rem; }.nav-links a:not(:last-child) { display: none; }.nav-links a[lang] { display: block; }.nav { gap: .4rem; }.nav-links { gap: .5rem; }.motion-control { font-size: .65rem; padding-inline: .5rem; } }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
