:root {
  color-scheme: light;
  --blue: #1198ed;
  --blue-dark: #0874c6;
  --blue-deep: #082c54;
  --blue-light: #e8f5ff;
  --yellow: #fff200;
  --yellow-soft: #fff9bd;
  --ink: #102a43;
  --muted: #61748a;
  --line: #d7e7f5;
  --paper: #f5faff;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); }
a { color: var(--blue); }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }

/* Legal and invitation pages preserve the existing compact reading layout. */
body:not(.home-page) main { width: min(760px, 100%); margin: 0 auto; padding: 48px 22px 80px; }
body:not(.home-page) h1 { margin: 8px 0 28px; font-size: clamp(32px, 7vw, 48px); line-height: 1.15; }
body:not(.home-page) h2 { margin: 30px 0 8px; font-size: 20px; }
body:not(.home-page) p { color: #526b82; line-height: 1.75; }
.brand { color: var(--blue); font-weight: 700; letter-spacing: .08em; }
.updated { color: #77847f; font-size: 14px; }
.back { display: inline-block; margin-bottom: 18px; text-decoration: none; }
.cards { display: grid; gap: 14px; margin-top: 34px; }
.cards a { display: grid; gap: 6px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: white; text-decoration: none; box-shadow: 0 8px 24px rgb(8 116 198 / 8%); }
.cards strong { color: var(--ink); font-size: 19px; }
.cards span { color: #69766f; }
.invitation-page { min-height: 100vh; display: grid; align-content: center; }
.invitation-card { padding: 28px 22px; border: 1px solid var(--line); border-radius: 22px; background: white; box-shadow: 0 12px 36px rgb(8 116 198 / 10%); text-align: center; }
.invitation-card h1 { margin: 14px 0 10px; font-size: clamp(30px, 7vw, 42px); }
.invitation-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto; border-radius: 18px; background: var(--blue-light); color: var(--blue); font-size: 25px; font-weight: 800; }
.primary-link { display: block; margin-top: 24px; padding: 14px 18px; border-radius: 14px; background: var(--blue); color: white; font-weight: 700; text-decoration: none; }
.download-panel { margin-top: 18px; padding: 18px; border-radius: 14px; background: #eef8ff; text-align: left; }
.download-panel p { margin: 7px 0 14px; font-size: 14px; }
.secondary-link { display: inline-block; padding: 10px 14px; border: 1px solid var(--blue); border-radius: 12px; font-weight: 700; text-decoration: none; }
.invitation-note, .safe-note { font-size: 14px; }
.invitation-error { color: #b63b32; font-weight: 600; }
.safe-note { text-align: center; }

.home-page { overflow-x: hidden; }
.section-shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.site-header { position: sticky; z-index: 20; top: 0; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; width: 100%; min-height: 76px; padding: 12px max(24px, calc((100vw - 1180px) / 2)); border-bottom: 1px solid rgb(215 231 245 / 80%); background: rgb(245 250 255 / 88%); backdrop-filter: blur(18px); }
.site-brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; color: var(--ink); font-size: 20px; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.site-brand img { width: 40px; height: 40px; border-radius: 12px; box-shadow: 0 6px 18px rgb(17 152 237 / 20%); }
.site-nav { display: flex; align-items: center; gap: 34px; }
.site-nav a { color: #526b82; font-size: 15px; text-decoration: none; }
.site-nav a:hover { color: var(--blue); }
.header-cta { justify-self: end; padding: 10px 18px; border-radius: 999px; background: var(--ink); color: white; font-size: 14px; font-weight: 700; text-decoration: none; }

.hero { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; min-height: 710px; padding-block: 72px 84px; }
.hero-copy { position: relative; z-index: 3; max-width: 590px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 20px; color: var(--blue-dark); font-size: 13px; font-weight: 760; letter-spacing: .13em; }
.eyebrow span { width: 23px; height: 2px; background: var(--yellow); }
.hero h1 { margin: 0; font-size: clamp(52px, 6.2vw, 84px); line-height: 1.06; letter-spacing: -.065em; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero-intro { max-width: 550px; margin: 28px 0 0; color: var(--muted); font-size: 18px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; font-size: 15px; font-weight: 760; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--blue); color: white; box-shadow: 0 12px 28px rgb(17 152 237 / 24%); }
.button.secondary { border-color: #cbddeb; background: transparent; color: var(--ink); }
.micro-copy { margin: 18px 0 0; color: #89948f; font-size: 13px; }
.hero-visual { position: relative; min-height: 620px; }
.soft-orbit { position: absolute; border-radius: 50%; }
.orbit-one { inset: 6% -10% 0 5%; background: radial-gradient(circle at 48% 47%, #e3f4ff 0 38%, transparent 39%), radial-gradient(circle at 50% 50%, transparent 0 57%, #d5ebfb 58% 58.6%, transparent 59%); }
.orbit-two { width: 350px; height: 350px; right: -40px; bottom: 30px; background: #eaf5ff; opacity: .85; }
.phone { position: relative; overflow: hidden; padding: 8px; border: 1px solid rgb(34 55 46 / 14%); border-radius: 42px; background: #17211d; box-shadow: 0 42px 80px rgb(23 45 36 / 22%), 0 8px 24px rgb(23 45 36 / 16%); }
.phone::before { position: absolute; z-index: 2; top: 15px; left: 50%; width: 78px; height: 22px; transform: translateX(-50%); border-radius: 999px; background: #17211d; content: ""; }
.phone img { width: 100%; height: 100%; border-radius: 35px; object-fit: cover; }
.phone-main { position: absolute; top: 2%; left: 50%; width: 300px; aspect-ratio: 1320 / 2868; transform: translateX(-46%) rotate(2.2deg); }
.hero-card { position: absolute; z-index: 4; display: grid; gap: 4px; min-width: 210px; padding: 17px 19px; border: 1px solid rgb(255 255 255 / 80%); border-radius: 18px; background: rgb(255 255 255 / 88%); box-shadow: 0 18px 45px rgb(36 69 55 / 16%); backdrop-filter: blur(14px); }
.hero-card strong { font-size: 15px; }
.hero-card small { color: var(--muted); }
.mini-label { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.card-top { top: 18%; left: 0; }
.card-bottom { right: -2%; bottom: 16%; grid-template-columns: auto 1fr; align-items: center; gap: 12px; }
.card-bottom div { display: grid; gap: 3px; }
.status-dot { width: 12px; height: 12px; border: 3px solid #d7eaff; border-radius: 50%; background: var(--yellow); }

.proof-strip { display: grid; grid-template-columns: repeat(4, 1fr); width: min(1260px, calc(100% - 32px)); margin-inline: auto; padding: 28px min(6vw, 78px); border: 1px solid var(--line); border-radius: 24px; background: rgb(255 255 255 / 68%); }
.proof-strip div { display: grid; gap: 6px; padding: 3px 28px; border-right: 1px solid var(--line); }
.proof-strip div:first-child { padding-left: 0; }
.proof-strip div:last-child { padding-right: 0; border-right: 0; }
.proof-strip strong { font-size: 17px; }
.proof-strip span { color: var(--muted); font-size: 13px; }

.section-space { padding-block: 128px; }
.section-heading { max-width: 650px; margin-bottom: 50px; }
.section-heading.compact { margin-bottom: 42px; }
.section-heading h2, .showcase-copy h2, .start-card h2 { margin: 0; font-size: clamp(40px, 5vw, 62px); line-height: 1.12; letter-spacing: -.045em; }
.section-heading > p:last-child, .showcase-copy > p { margin: 22px 0 0; color: var(--muted); font-size: 17px; line-height: 1.8; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card { min-height: 310px; padding: 34px; border: 1px solid var(--line); border-radius: 28px; background: white; }
.feature-lead { grid-row: span 2; min-height: 638px; background: linear-gradient(160deg, #fff, #e6f4ff); }
.feature-card h3 { margin: 28px 0 12px; font-size: 24px; letter-spacing: -.025em; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.78; }
.feature-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; background: var(--blue-light); color: var(--blue); font-size: 19px; font-weight: 850; }
.route-icon { background: var(--yellow-soft); color: #806600; font-size: 25px; }
.people-icon { background: #e8f0ff; color: #3766ae; letter-spacing: 2px; }
.tag-icon { background: #fff0b6; color: #8a6900; }
.month-demo { margin-top: 55px; padding: 25px; border: 1px solid rgb(255 255 255 / 65%); border-radius: 23px; background: rgb(255 255 255 / 73%); box-shadow: 0 18px 45px rgb(8 116 198 / 10%); }
.month-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.month-head span { font-size: 21px; font-weight: 800; }
.month-head small { color: var(--muted); }
.week-row, .date-grid { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.week-row { margin-bottom: 10px; color: #8ba1b7; font-size: 10px; }
.date-grid { gap: 7px 0; }
.date-grid i { position: relative; display: grid; place-items: center; width: 30px; height: 30px; margin: auto; border-radius: 50%; font-size: 11px; font-style: normal; }
.date-grid i.busy::after { position: absolute; bottom: 1px; width: 3px; height: 3px; border-radius: 50%; background: var(--blue); content: ""; }
.date-grid i.active { background: var(--blue); color: white; font-weight: 800; }

.product-showcase { background: linear-gradient(145deg, var(--blue-deep), #075e9c); color: white; }
.showcase-layout { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 80px; min-height: 720px; }
.eyebrow.light { color: #b9e5ff; }
.showcase-copy > p { color: #c9e5f6; }
.step-list { display: grid; gap: 0; margin: 42px 0 0; padding: 0; list-style: none; }
.step-list li { display: grid; grid-template-columns: 42px 1fr; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid rgb(255 255 255 / 12%); }
.step-list li > span { color: var(--yellow); font-family: ui-monospace, SFMono-Regular, monospace; font-size: 12px; }
.step-list li div { display: grid; gap: 4px; }
.step-list strong { font-size: 16px; }
.step-list small { color: #b4d6ea; }
.phone-stage { position: relative; min-height: 700px; }
.phone-stage::before { position: absolute; inset: 13% 5% 2%; border-radius: 50%; background: radial-gradient(circle, rgb(17 152 237 / 38%), transparent 67%); content: ""; }
.phone-stage .phone { position: absolute; width: 278px; aspect-ratio: 1320 / 2868; }
.phone-back { top: 13%; left: 16%; transform: rotate(-7deg); opacity: .84; }
.phone-front { right: 10%; bottom: 0; z-index: 2; transform: rotate(5deg); }

.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.audience-grid article { padding: 35px; border-top: 1px solid #c2dcf0; }
.audience-grid span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--blue-light); color: var(--blue); font-weight: 850; }
.audience-grid h3 { margin: 50px 0 10px; font-size: 21px; }
.audience-grid p { margin: 0; color: var(--muted); line-height: 1.7; }

.downloads { padding-bottom: 78px; }
.download-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.download-card { display: flex; grid-column: span 2; flex-direction: column; min-height: 360px; padding: 30px; border: 1px solid var(--line); border-radius: 28px; background: white; box-shadow: 0 14px 38px rgb(8 116 198 / 7%); }
.download-card.featured { border-color: #b7ddf5; background: linear-gradient(150deg, #fff, #e9f6ff); }
.download-card.wide { grid-column: span 3; min-height: 420px; }
.download-card-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.platform-mark { display: grid; place-items: center; min-width: 50px; height: 50px; padding-inline: 10px; border-radius: 15px; background: var(--blue-light); color: var(--blue-dark); font-size: 15px; font-weight: 850; }
.featured .platform-mark { background: var(--yellow); color: var(--blue-deep); }
.release-state { padding: 7px 11px; border-radius: 999px; font-size: 12px; font-weight: 760; }
.release-state.ready, .release-state.online { background: #e3f4ff; color: #086aa9; }
.release-state.building { background: var(--yellow-soft); color: #705800; }
.release-state.pending { background: #edf2f7; color: #64748b; }
.download-card h3 { margin: 26px 0 10px; font-size: 24px; letter-spacing: -.025em; }
.download-card > p { margin: 0 0 24px; color: var(--muted); line-height: 1.72; }
.download-card dl { display: grid; gap: 8px; margin: auto 0 22px; }
.download-card dl div { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: 13px; }
.download-card dt, .download-card dd { margin: 0; }
.download-card dd { color: var(--ink); font-weight: 700; }
.download-button { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border: 1px solid var(--blue); border-radius: 999px; background: var(--blue); color: white; font-size: 14px; font-weight: 780; text-decoration: none; }
.android-store .download-button { flex-shrink: 0; }
.apk-fallback { display: flex; align-items: center; justify-content: center; min-height: 44px; margin: 8px 0; color: var(--blue-dark); font-size: 13px; text-align: center; text-underline-offset: 3px; }
.download-button.secondary-download { background: transparent; color: var(--blue-dark); }
.download-card > small { margin-top: 12px; color: #87938d; font-family: ui-monospace, SFMono-Regular, monospace; font-size: 11px; text-align: center; }
.download-access { display: grid; grid-template-columns: 144px 1fr; align-items: center; gap: 24px; margin: auto 0 14px; }
.qr-link { display: block; width: 144px; padding: 8px; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 10px 26px rgb(8 116 198 / 10%); }
.qr-link img { width: 100%; aspect-ratio: 1; }
.download-access dl { margin: 0 0 16px; }
.dual-quick-access { display: grid; align-content: center; gap: 14px; }
.dual-quick-access > div > span, .mini-program-access > div > span { display: block; color: var(--muted); font-size: 13px; }
.dual-quick-access > div > strong, .mini-program-access > div > strong { display: block; margin-top: 3px; color: var(--ink); font-size: 16px; }
.mini-program-access { display: grid; grid-template-columns: 86px 1fr; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mini-program-access .qr-link { width: 86px; padding: 5px; border-radius: 12px; box-shadow: none; }
.compact-access { grid-template-columns: 104px 1fr; gap: 16px; }
.compact-access .qr-link { width: 104px; padding: 6px; border-radius: 14px; }
.compact-access dl { gap: 5px; margin-bottom: 12px; }
.checksum { max-width: 270px; overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, monospace; font-size: 10px; text-align: right; }
.install-note { margin: 0 !important; color: #68766f !important; font-size: 12px; line-height: 1.7; }
.muted-card { background: rgb(255 255 255 / 54%); box-shadow: none; }
.download-safety { margin: 22px 4px 0; color: #7b8781; font-size: 13px; line-height: 1.7; }

.start-section { padding-top: 20px; }
.start-card { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 70px; min-height: 460px; padding: clamp(44px, 7vw, 85px); overflow: hidden; border-radius: 36px; background: linear-gradient(135deg, #0874c6, #0d9bea); color: white; box-shadow: 0 28px 70px rgb(8 116 198 / 24%); }
.start-card > div:first-child > p:last-child { max-width: 580px; margin: 22px 0 0; color: #d7efff; font-size: 17px; line-height: 1.75; }
.search-card { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 16px; padding: 22px; border: 1px solid rgb(255 255 255 / 28%); border-radius: 24px; background: rgb(255 255 255 / 15%); backdrop-filter: blur(15px); }
.search-card img { width: 70px; height: 70px; border-radius: 18px; }
.search-card div { display: grid; gap: 4px; }
.search-card small { color: #d9efff; }
.search-card strong { font-size: 24px; }
.search-card button { padding: 11px 16px; border: 0; border-radius: 999px; background: var(--yellow); color: var(--blue-deep); font-weight: 800; cursor: pointer; }
.search-card p { grid-column: 1 / -1; min-height: 18px; margin: 0; color: #e7f6ff; font-size: 12px; text-align: right; }

.site-footer { margin-top: 128px; padding: 54px 0 24px; background: #e8f4ff; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-bottom: 45px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 48px; height: 48px; border-radius: 14px; }
.footer-brand div { display: grid; gap: 4px; }
.footer-brand strong { font-size: 19px; }
.footer-brand span { color: var(--muted); font-size: 13px; }
.footer-main nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 24px; }
.footer-main nav a { color: #465f77; font-size: 14px; text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 22px; border-top: 1px solid #cbdfee; color: #62758a; font-size: 12px; }

@media (max-width: 920px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 72px; }
  .hero-copy { max-width: 680px; }
  .hero-visual { min-height: 650px; margin-top: 20px; }
  .hero-visual .soft-orbit { right: 0; max-width: 100%; }
  .phone-main { left: 50%; }
  .card-top { left: 8%; }
  .card-bottom { right: 6%; }
  .proof-strip { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .proof-strip div:nth-child(2) { border-right: 0; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .download-card { grid-column: span 3; }
  .download-card.wide { grid-column: span 3; }
  .feature-lead { grid-row: span 2; }
  .showcase-layout { grid-template-columns: 1fr; }
  .phone-stage { max-width: 700px; width: 100%; margin: 0 auto; }
  .start-card { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section-shell { width: min(100% - 32px, 1180px); }
  .site-header { min-height: 66px; padding-inline: 16px; }
  .site-brand img { width: 36px; height: 36px; }
  .header-cta { padding: 9px 14px; }
  .hero { min-height: auto; padding-block: 64px 44px; }
  .hero h1 { font-size: clamp(48px, 15vw, 66px); }
  .hero-intro { font-size: 16px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .hero-visual { min-height: 560px; }
  .phone-main { width: 245px; }
  .hero-card { min-width: 176px; padding: 14px; }
  .card-top { top: 18%; left: -2%; }
  .card-bottom { right: -3%; bottom: 18%; }
  .proof-strip { grid-template-columns: 1fr 1fr; padding: 25px 20px; }
  .proof-strip div { padding: 0 16px; }
  .proof-strip div:nth-child(3) { padding-left: 0; }
  .proof-strip strong { font-size: 15px; }
  .proof-strip span { line-height: 1.5; }
  .section-space { padding-block: 90px; }
  .section-heading h2, .showcase-copy h2, .start-card h2 { font-size: 40px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card, .feature-lead { min-height: auto; padding: 28px; }
  .feature-lead { grid-row: auto; }
  .month-demo { margin-top: 40px; }
  .product-showcase { padding-bottom: 30px; }
  .showcase-layout { gap: 20px; }
  .phone-stage { min-height: 590px; }
  .phone-stage .phone { width: 220px; }
  .phone-back { top: 13%; left: 1%; }
  .phone-front { right: 1%; }
  .audience-grid { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }
  .download-card, .download-card.wide { grid-column: auto; min-height: auto; padding: 26px; }
  .download-card dl { margin-top: 18px; }
  .download-access { grid-template-columns: 112px 1fr; gap: 18px; }
  .qr-link { width: 112px; border-radius: 14px; }
  .compact-access { grid-template-columns: 96px 1fr; gap: 14px; }
  .compact-access .qr-link { width: 96px; }
  .mini-program-access { grid-template-columns: 76px 1fr; gap: 12px; }
  .mini-program-access .qr-link { width: 76px; }
  .checksum { max-width: 175px; }
  .audience-grid article { padding-inline: 4px; }
  .audience-grid h3 { margin-top: 28px; }
  .start-section { padding-top: 0; }
  .start-card { gap: 42px; padding: 42px 24px; border-radius: 28px; }
  .search-card { grid-template-columns: 58px 1fr; }
  .search-card img { width: 58px; height: 58px; }
  .search-card button { grid-column: 1 / -1; width: 100%; }
  .footer-main { align-items: flex-start; flex-direction: column; }
  .footer-main nav { justify-content: flex-start; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
