:root {
  --yjo-ink: #113f38;
  --yjo-deep: #082c29;
  --yjo-paper: #f7f4ed;
  --yjo-warm: #eee8dc;
  --yjo-stone: #d9dfd8;
  --yjo-muted: #65736c;
  --yjo-gold: #b28b58;
  --yjo-line: rgba(17, 63, 56, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--yjo-paper); color: var(--yjo-ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; }
button { font: inherit; }
.app-landing { min-height: 100vh; overflow-x: hidden; }
.app-header { width: min(1280px, calc(100% - 72px)); min-height: 84px; margin: auto; display: flex; align-items: center; justify-content: space-between; }
.app-brand { display: inline-flex; width: 74px; height: 34px; overflow: hidden; align-items: center; }
.app-brand img { width: 74px; height: 74px; object-fit: cover; object-position: center; mix-blend-mode: multiply; }
.app-back-link { color: var(--yjo-ink); font-size: 12px; font-weight: 800; letter-spacing: .02em; text-decoration: none; }
.app-back-link span, .app-footer span[aria-hidden="true"], .app-store-button span { color: var(--yjo-gold); margin-left: 7px; }
.app-hero { width: min(1280px, calc(100% - 72px)); min-height: calc(100vh - 84px); margin: auto; display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); align-items: stretch; gap: clamp(40px, 7vw, 110px); padding: 38px 0 80px; }
.app-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: 42px 0 50px; }
.app-eyebrow { margin: 0 0 24px; color: #728d80; font-size: 11px; font-weight: 850; letter-spacing: .2em; line-height: 1.4; }
.app-context-label { margin: 0 0 18px; color: var(--yjo-gold); font-size: 11px; font-weight: 800; letter-spacing: .13em; }
.app-hero h1 { max-width: 700px; margin: 0 0 30px; color: var(--yjo-ink); font-size: clamp(60px, 7.2vw, 116px); letter-spacing: -.08em; line-height: .9; }
.app-hero h1 em { color: #6c8078; font-style: normal; }
.app-lede { max-width: 450px; margin: 0 0 28px; color: var(--yjo-muted); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; }
.app-actions { display: flex; flex-wrap: wrap; gap: 11px; margin: 8px 0 14px; }
.app-store-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 13px 18px; border: 1px solid var(--yjo-ink); border-radius: 999px; background: var(--yjo-ink); color: #fff; font-size: 12px; font-weight: 800; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.app-store-button:hover { background: #245d4f; transform: translateY(-2px); }
.app-store-android { background: transparent; color: var(--yjo-ink); }
.app-store-android:hover { color: #fff; }
.app-mobile-status { min-height: 20px; margin: 0 0 10px; color: var(--yjo-muted); font-size: 12px; }
.app-secondary-action { width: fit-content; padding: 0; border: 0; border-bottom: 1px solid var(--yjo-line); background: transparent; color: var(--yjo-ink); cursor: pointer; font-size: 12px; font-weight: 800; }
.app-requirement { max-width: 440px; margin: 26px 0 0; padding-left: 15px; border-left: 1px solid var(--yjo-gold); color: var(--yjo-muted); font-size: 12px; line-height: 1.55; }
.app-hero-visual { position: relative; min-height: 690px; overflow: hidden; border-radius: 1px 1px 150px 1px; background: linear-gradient(145deg, #dce5dc, #becfc4); isolation: isolate; }
.app-hero-visual::before { position: absolute; inset: 0; background: linear-gradient(140deg, rgba(255,255,255,.4), transparent 48%); content: ''; z-index: -1; }
.app-orbit { position: absolute; border: 1px solid rgba(17,63,56,.2); border-radius: 50%; transform: rotate(-20deg); }
.app-orbit-one { width: 720px; height: 720px; top: -160px; right: -140px; }
.app-orbit-two { width: 510px; height: 510px; top: 24px; right: 26px; border-color: rgba(255,255,255,.6); }
.app-phone-shadow { position: absolute; width: 330px; height: 70px; left: 23%; bottom: 92px; border-radius: 50%; background: rgba(17,63,56,.22); filter: blur(22px); transform: rotate(-12deg); }
.app-phone { position: absolute; width: min(46%, 318px); min-width: 260px; aspect-ratio: .51; left: 18%; top: 9%; padding: 9px; border: 1px solid rgba(255,255,255,.75); border-radius: 42px; background: #173e39; box-shadow: 24px 28px 50px rgba(17,63,56,.24); transform: rotate(-8deg); }
.app-phone-frame { height: 100%; overflow: hidden; border: 4px solid #102d2a; border-radius: 35px; background: var(--yjo-paper); }
.app-phone-notch { width: 40%; height: 22px; margin: 0 auto; border-radius: 0 0 14px 14px; background: #102d2a; }
.app-screen { height: 100%; padding: 16px 15px; background: linear-gradient(180deg, #f5f1e8 0%, #e7eee7 100%); }
.app-screen-top { display: flex; align-items: center; justify-content: space-between; color: var(--yjo-ink); font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.app-status-dot { width: 7px; height: 7px; border-radius: 50%; background: #78ae83; box-shadow: 0 0 0 5px rgba(120,174,131,.15); }
.app-screen-heading { display: flex; flex-direction: column; gap: 8px; margin-top: 38px; }
.app-screen-heading span { color: #789083; font-size: 8px; font-weight: 850; letter-spacing: .16em; }
.app-screen-heading strong { color: var(--yjo-ink); font-size: clamp(20px, 2.3vw, 30px); letter-spacing: -.07em; line-height: .94; }
.app-lock-mark { display: grid; width: 112px; height: 112px; place-items: center; margin: 32px auto 24px; border: 1px solid rgba(17,63,56,.17); border-radius: 50%; background: rgba(255,255,255,.52); box-shadow: inset 0 0 0 17px rgba(255,255,255,.3); }
.app-keyhole { position: relative; display: block; width: 24px; height: 29px; border: 3px solid var(--yjo-ink); border-radius: 14px 14px 8px 8px; }
.app-keyhole::after { position: absolute; left: 7px; bottom: -11px; width: 5px; height: 14px; border-radius: 4px; background: var(--yjo-ink); content: ''; }
.app-screen-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 15px; border-radius: 15px; background: #fff; box-shadow: 0 8px 20px rgba(17,63,56,.06); }
.app-screen-card span, .app-screen-card small { color: var(--yjo-muted); font-size: 9px; }
.app-screen-card strong { color: var(--yjo-ink); font-size: 13px; }
.app-screen-card i { position: absolute; top: 16px; right: 15px; width: 8px; height: 8px; border-radius: 50%; background: #78ae83; }
.app-screen-row { display: grid; grid-template-columns: 25px 1fr 15px; align-items: center; gap: 8px; padding: 13px 1px 0; color: var(--yjo-ink); }
.app-row-icon { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 8px; background: rgba(178,139,88,.16); color: var(--yjo-gold); font-size: 16px; }
.app-screen-row b, .app-screen-row small { display: block; }
.app-screen-row b { font-size: 10px; }
.app-screen-row small { margin-top: 3px; color: var(--yjo-muted); font-size: 8px; }
.app-qr-card { position: absolute; right: 8%; bottom: 13%; width: 185px; padding: 18px; border: 1px solid rgba(255,255,255,.72); border-radius: 2px 26px 2px 26px; background: rgba(255,255,255,.78); box-shadow: 0 16px 30px rgba(17,63,56,.12); backdrop-filter: blur(12px); }
.app-qr-card p { margin: 0 0 11px; color: var(--yjo-ink); font-size: 12px; font-weight: 850; }
.app-qr-card img { display: block; width: 100%; height: auto; padding: 0px; background: #fff; }
.app-qr-card small { display: block; margin-top: 10px; color: var(--yjo-muted); font-size: 10px; line-height: 1.35; }
.app-visual-caption { position: absolute; right: 72px; bottom: 27px; left: 32px; display: flex; justify-content: space-between; color: rgba(17,63,56,.68); font-size: 9px; font-weight: 850; letter-spacing: .14em; }
.app-support-band { width: min(1280px, calc(100% - 72px)); display: grid; grid-template-columns: repeat(3, 1fr); gap: 42px; margin: 0 auto; padding: 35px 0 80px; border-top: 1px solid var(--yjo-line); }
.app-support-band > div { display: grid; grid-template-columns: 30px 1fr; column-gap: 14px; align-content: start; }
.app-band-index { color: var(--yjo-gold); font-size: 11px; font-weight: 850; }
.app-support-band strong { font-size: 14px; line-height: 1.3; }
.app-support-band p { grid-column: 2; margin: 10px 0 0; color: var(--yjo-muted); font-size: 13px; line-height: 1.5; }
.app-footer { width: min(1280px, calc(100% - 72px)); display: flex; justify-content: space-between; margin: auto; padding: 22px 0 30px; border-top: 1px solid var(--yjo-line); color: var(--yjo-muted); font-size: 11px; }
.app-footer a { color: var(--yjo-ink); font-weight: 800; text-decoration: none; }
.app-trust-links { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.app-trust-links a { font-size: 11px; }
#yjo-gateway-debug { display: none; }
#yjo-gateway-debug:not([hidden]) { display: block; width: min(560px, calc(100% - 40px)); margin: 20px auto; padding: 15px; border-radius: 14px; background: #e8ecec; color: var(--yjo-ink); font: 11px/1.45 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; }

@media (max-width: 1100px) {
  .app-header, .app-hero, .app-support-band, .app-footer { width: min(100% - 48px, 960px); }
  .app-hero { gap: 38px; }
  .app-hero h1 { font-size: clamp(55px, 7vw, 82px); }
  .app-hero-visual { min-height: 610px; }
  .app-phone { left: 10%; }
  .app-qr-card { right: 5%; }
}

@media (max-width: 760px) {
  .app-header, .app-hero, .app-support-band, .app-footer { width: calc(100% - 44px); }
  .app-header { min-height: 72px; }
  .app-hero { display: flex; flex-direction: column; gap: 0; padding: 30px 0 52px; }
  .app-hero-copy { order: 1; padding: 38px 0 42px; }
  .app-hero h1 { margin-bottom: 24px; font-size: clamp(51px, 14vw, 72px); }
  .app-lede { font-size: 17px; }
  .app-actions { display: flex; flex-direction: column; align-items: stretch; }
  .app-store-button { width: 100%; }
  .app-mobile-status { margin-top: 3px; }
  .app-requirement { margin-top: 24px; }
  .app-hero-visual { order: 2; min-height: 560px; border-radius: 1px 1px 80px 1px; }
  .app-phone { width: 245px; min-width: 0; left: 8%; top: 8%; }
  .app-qr-card { display: none; }
  .app-visual-caption { right: 20px; bottom: 20px; left: 20px; font-size: 8px; }
  .app-support-band { display: block; padding: 10px 0 54px; }
  .app-support-band > div { margin-top: 26px; }
  .app-footer { flex-direction: column; gap: 13px; padding-bottom: 24px; }
  .app-trust-links { white-space: normal; }
  .app-actions[data-platform="ios"]:not([data-expanded="true"]) #android-cta,
  .app-actions[data-platform="android"]:not([data-expanded="true"]) #ios-cta { display: none; }
}

@media (max-width: 420px) {
  .app-header, .app-hero, .app-support-band, .app-footer { width: calc(100% - 32px); }
  .app-back-link { font-size: 11px; }
  .app-eyebrow { font-size: 9px; letter-spacing: .14em; }
  .app-hero h1 { font-size: 48px; }
  .app-hero-visual { min-height: 470px; }
  .app-phone { width: 210px; left: 1%; }
  .app-orbit-one { width: 520px; height: 520px; top: -75px; right: -170px; }
  .app-orbit-two { width: 350px; height: 350px; top: 70px; right: -15px; }
  .app-phone-shadow { left: 10%; bottom: 62px; width: 260px; }
  .app-visual-caption { display: none; }
}
