.desktop-nav .nav-current::after { right: 0; }

.apps-intro { padding: 82px 0 74px; }
.apps-title-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 80px; align-items: end; }
.apps-title-row h1 { margin: 0; font-size: clamp(54px, 6vw, 88px); line-height: 1.02; font-weight: 680; }
.apps-title-row p { max-width: 850px; margin: 26px 0 0; color: var(--muted); font-size: 18px; line-height: 1.8; }
.apps-title-row > a { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 10px; color: var(--blue); font-size: 15px; font-weight: 750; white-space: nowrap; }
.apps-title-row > a span { font-size: 20px; transition: transform .2s ease; }
.apps-title-row > a:hover span { transform: translateY(4px); }

.apps-stack { width: 100%; }
.app-screen { min-height: calc(100svh - 76px); padding: clamp(70px, 8vh, 105px) 0; display: flex; align-items: center; scroll-margin-top: 76px; }
.app-screen-soft { background: #f2f3f5; }
.app-screen-white { background: #fff; }
.app-screen-blue { background: #eaf0ff; }
.app-screen-dark { color: #fff; background: #071a43; }
.app-screen-inner { display: grid; grid-template-columns: minmax(390px, 470px) minmax(0, 1fr); gap: clamp(60px, 7vw, 116px); align-items: center; }
.app-copy { min-width: 0; }
.app-number { display: flex; align-items: center; gap: 12px; margin-bottom: 52px; }
.app-number > span { color: var(--blue); font-size: 12px; font-weight: 850; }
.app-number small { padding: 5px 8px; border-radius: 4px; background: #e0e3e8; color: #5e6876; font-size: 10px; font-weight: 800; }
.app-number small.status-live { background: #dff3ea; color: #087759; }
.app-kicker { margin: 0 0 17px; color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: 1.5px; }
.app-copy h2 { margin: 0; font-size: clamp(42px, 4vw, 62px); line-height: 1.12; font-weight: 680; }
.app-lead { margin: 26px 0 30px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.app-capabilities { padding: 0; margin: 0; list-style: none; border-top: 1px solid #cfd5dd; }
.app-capabilities li { display: grid; grid-template-columns: 118px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid #cfd5dd; }
.app-capabilities strong { font-size: 13px; line-height: 1.65; }
.app-capabilities span { color: var(--muted); font-size: 12px; line-height: 1.7; }
.app-action { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding-bottom: 5px; border-bottom: 1px solid currentColor; color: var(--blue); font-size: 14px; font-weight: 800; }
.app-action span { transition: transform .2s ease; }
.app-action:hover span { transform: translateX(4px); }
.planned-note { display: inline-block; margin-top: 30px; color: #697382; font-size: 12px; font-weight: 750; }

.app-screen-dark .app-number > span, .app-screen-dark .app-kicker { color: #9dbbff; }
.app-screen-dark .app-number small.status-live { background: rgba(44,194,145,.16); color: #75dfba; }
.app-screen-dark .app-lead, .app-screen-dark .app-capabilities span { color: rgba(255,255,255,.67); }
.app-screen-dark .app-capabilities, .app-screen-dark .app-capabilities li { border-color: rgba(255,255,255,.2); }
.app-screen-dark .preview-caption span { color: rgba(255,255,255,.62); }
.app-action-light { color: #fff; }

.app-visual { min-width: 0; min-height: 590px; position: relative; display: flex; flex-direction: column; justify-content: center; }
.preview-meta { position: absolute; z-index: 3; top: 0; right: 0; width: min(285px, 48%); padding: 18px 20px; border-left: 4px solid var(--blue); background: #fff; color: var(--ink); box-shadow: 0 15px 36px rgba(17,24,39,.12); }
.preview-meta span, .preview-meta b { display: block; }
.preview-meta span { color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: 1.2px; }
.preview-meta b { margin-top: 7px; font-size: 15px; line-height: 1.35; }
.preview-caption { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 18px 5px 0; }
.preview-caption strong { font-size: 20px; }
.preview-caption span { max-width: 390px; color: var(--muted); font-size: 13px; line-height: 1.6; text-align: right; }

.ocean-screen { min-height: 485px; display: flex; align-items: center; padding: 62px 0 30px 48px; position: relative; }
.ocean-screen::before { content: ""; position: absolute; inset: 38px 8% 9% 0; border: 1px solid #cfd5dd; }
.ocean-screen img { width: 100%; max-height: 465px; position: relative; z-index: 1; object-fit: contain; border-radius: 7px; background: #fff; box-shadow: 0 30px 65px rgba(17,24,39,.18); }

.app-window { min-height: 475px; margin-top: 38px; overflow: hidden; border: 1px solid #d7dce4; border-radius: 8px; background: #fff; color: var(--ink); box-shadow: 0 30px 65px rgba(17,24,39,.15); }
.window-top { min-height: 64px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #e4e7ec; }
.window-top b { font-size: 16px; }
.window-top em { color: #737c89; font-size: 11px; font-style: normal; }

.research-window { display: grid; grid-template-columns: 180px minmax(0, 1fr); background: #fff; }
.research-window aside { padding: 26px 20px; display: flex; flex-direction: column; gap: 17px; background: #0a1c42; color: rgba(255,255,255,.66); font-size: 12px; }
.research-window aside strong { margin-bottom: 20px; color: #fff; font-size: 16px; }
.research-window aside span:first-of-type { color: #fff; font-weight: 800; }
.research-main { padding: 0 25px 24px; }
.research-main .window-top { padding: 0; }
.research-main .window-top em { padding: 5px 8px; border-radius: 4px; background: #e7f5ef; color: #087759; }
.research-search { min-height: 48px; margin: 24px 0 11px; padding-left: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid #cbd3df; border-radius: 6px; color: #3f4855; font-size: 12px; }
.research-search button { height: 36px; margin-right: 5px; padding: 0 13px; border: 0; border-radius: 4px; background: var(--blue); color: #fff; font-size: 11px; }
.research-source { padding: 9px 11px; border-radius: 4px; background: #edf3ff; color: #1c56c9; font-size: 10px; }
.paper-row { margin-top: 12px; padding: 14px; display: flex; gap: 12px; border: 1px solid #e0e4ea; border-radius: 6px; }
.paper-row i { width: 34px; height: 43px; flex: 0 0 auto; border-radius: 3px; background: #e7edff; border-left: 5px solid var(--blue); }
.paper-row b, .paper-row span { display: block; }
.paper-row b { font-size: 12px; line-height: 1.4; }
.paper-row span { margin-top: 7px; color: #77808d; font-size: 9px; }

.mistake-window { padding: 0 24px 24px; }
.mistake-layout { display: grid; grid-template-columns: 1.05fr .95fr; gap: 17px; padding-top: 24px; }
.question-card, .diagnosis-card { min-height: 326px; padding: 23px; border-radius: 6px; background: #f6f7f9; }
.question-card > span, .diagnosis-card > span { color: var(--blue); font-size: 10px; font-weight: 800; }
.question-card > strong, .diagnosis-card > strong { display: block; margin-top: 20px; font-size: 17px; line-height: 1.55; }
.formula { margin: 28px 0; padding: 22px 10px; border: 1px solid #dfe3e9; background: #fff; text-align: center; font-family: Georgia, serif; font-size: 25px; }
.question-card small { color: #7a8390; }
.diagnosis-card p { margin: 25px 0 9px; color: var(--muted); font-size: 12px; }
.progress { height: 7px; overflow: hidden; border-radius: 6px; background: #dfe4ea; }
.progress i { display: block; width: 62%; height: 100%; background: var(--blue); }
.diagnosis-card ul { padding: 0; margin: 25px 0 0; list-style: none; }
.diagnosis-card li { padding: 11px 0; border-top: 1px solid #dfe3e8; color: #4e5865; font-size: 12px; }

.volunteer-window { padding: 0 24px 24px; }
.preference-row { display: flex; flex-wrap: wrap; gap: 8px; padding: 21px 0; }
.preference-row span { padding: 7px 10px; border-radius: 99px; background: #edf2ff; color: #2454bd; font-size: 10px; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.choice-grid > div { min-height: 130px; padding: 18px; border: 1px solid #dce1e8; border-radius: 6px; }
.choice-grid small, .choice-grid b, .choice-grid p { display: block; }
.choice-grid small { color: var(--blue); font-weight: 850; }
.choice-grid b { margin-top: 18px; font-size: 24px; }
.choice-grid p { margin: 8px 0 0; color: var(--muted); font-size: 10px; }
.choice-note { margin-top: 14px; padding: 17px 18px; background: #f5f6f8; border-radius: 6px; }
.choice-note b { font-size: 12px; }
.choice-note p { margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.6; }

.language-window { padding: 0 24px 24px; }
.conversation { min-height: 170px; padding-top: 24px; }
.coach-bubble, .learner-bubble { max-width: 74%; padding: 14px 17px; border-radius: 8px; font-size: 12px; line-height: 1.55; }
.coach-bubble { background: #edf2ff; color: #1f418e; }
.learner-bubble { margin: 13px 0 0 auto; background: #111827; color: #fff; }
.voice-bars { height: 46px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.voice-bars i { width: 4px; height: 12px; border-radius: 3px; background: var(--blue); }
.voice-bars i:nth-child(2n) { height: 26px; }
.voice-bars i:nth-child(3n) { height: 38px; }
.feedback-grid { display: grid; grid-template-columns: .8fr .8fr 1.4fr; gap: 10px; }
.feedback-grid > div { min-height: 75px; padding: 14px; border: 1px solid #dfe3e8; border-radius: 6px; }
.feedback-grid span, .feedback-grid b { display: block; }
.feedback-grid span { color: var(--muted); font-size: 9px; }
.feedback-grid b { margin-top: 10px; font-size: 14px; }

.profile-window { padding: 0 24px 24px; }
.profile-summary { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; padding: 20px 0; }
.profile-summary > div { padding: 16px; border-radius: 6px; background: #edf2ff; }
.profile-summary span, .profile-summary b { display: block; }
.profile-summary span { color: var(--blue); font-size: 9px; font-weight: 800; }
.profile-summary b { margin-top: 9px; font-size: 13px; }
.timeline { padding-left: 12px; }
.timeline article { min-height: 74px; display: grid; grid-template-columns: 18px 1fr; gap: 13px; }
.timeline i { width: 9px; height: 9px; margin-top: 5px; position: relative; border-radius: 50%; background: var(--blue); }
.timeline i::after { content: ""; position: absolute; top: 12px; left: 4px; width: 1px; height: 57px; background: #d7dce4; }
.timeline article:last-child i::after { display: none; }
.timeline small, .timeline b, .timeline p { display: block; }
.timeline small { color: var(--blue); font-size: 9px; }
.timeline b { margin-top: 5px; font-size: 12px; }
.timeline p { margin: 4px 0 0; color: var(--muted); font-size: 10px; }

.app-principles { padding: 116px 0 126px; color: #fff; background: #0a0b0d; }
.principles-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .7fr); gap: 100px; align-items: end; }
.principles-heading h2 { margin: 0; font-size: clamp(40px, 4.5vw, 66px); line-height: 1.12; font-weight: 670; }
.principles-heading p { margin: 0 0 7px; color: rgba(255,255,255,.63); font-size: 16px; line-height: 1.85; }
.principle-grid { margin-top: 72px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.25); }
.principle-grid article { min-height: 245px; padding: 27px 27px 0; border-right: 1px solid rgba(255,255,255,.18); }
.principle-grid article:first-child { padding-left: 0; }
.principle-grid article:last-child { border-right: 0; }
.principle-grid span { color: #8bb5ff; font-size: 11px; font-weight: 850; }
.principle-grid h3 { margin: 52px 0 13px; font-size: 20px; }
.principle-grid p { margin: 0; color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.75; }

@media (max-width: 1180px) {
  .app-screen-inner { grid-template-columns: minmax(350px, 420px) minmax(0, 1fr); gap: 48px; }
  .app-number { margin-bottom: 35px; }
  .app-capabilities li { grid-template-columns: 105px 1fr; }
  .research-window { grid-template-columns: 150px minmax(0, 1fr); }
  .principles-heading { gap: 50px; }
}

@media (max-width: 920px) {
  .apps-intro { padding: 62px 0 56px; }
  .apps-title-row { grid-template-columns: 1fr; gap: 26px; }
  .apps-title-row > a { margin: 0; }
  .app-screen { min-height: 0; padding: 88px 0; }
  .app-screen-inner { grid-template-columns: 1fr; gap: 54px; }
  .app-copy { max-width: 680px; }
  .app-number { margin-bottom: 30px; }
  .app-visual { min-height: 520px; }
  .principles-heading { grid-template-columns: 1fr; gap: 30px; }
  .principle-grid { grid-template-columns: repeat(2, 1fr); }
  .principle-grid article:nth-child(2) { border-right: 0; }
  .principle-grid article:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.18); }
  .principle-grid article:nth-child(3) { padding-left: 0; }
}

@media (max-width: 620px) {
  .apps-intro { padding: 46px 0 42px; }
  .apps-intro .eyebrow { margin-bottom: 13px; }
  .apps-title-row h1 { font-size: 42px; }
  .apps-title-row p { margin-top: 18px; font-size: 15px; line-height: 1.72; }
  .apps-title-row > a { font-size: 13px; white-space: normal; }
  .app-screen { padding: 68px 0 72px; }
  .app-screen-inner { gap: 42px; }
  .app-number { margin-bottom: 24px; }
  .app-copy h2 { font-size: 38px; }
  .app-lead { margin: 21px 0 25px; font-size: 14px; line-height: 1.8; }
  .app-capabilities li { grid-template-columns: 1fr; gap: 5px; padding: 14px 0; }
  .app-action, .planned-note { margin-top: 25px; }
  .app-visual { min-height: 420px; }
  .preview-meta { position: relative; width: 100%; margin-bottom: 14px; }
  .ocean-screen { min-height: 285px; padding: 20px 0 12px 18px; }
  .ocean-screen::before { inset: 8px 6% 4% 0; }
  .app-window { min-height: 360px; margin-top: 0; }
  .preview-caption { min-height: 0; padding-top: 16px; align-items: flex-start; flex-direction: column; gap: 7px; }
  .preview-caption strong { font-size: 17px; }
  .preview-caption span { text-align: left; }
  .research-window { display: block; }
  .research-window aside { display: none; }
  .research-main { padding: 0 14px 14px; }
  .research-search { font-size: 10px; }
  .mistake-layout { grid-template-columns: 1fr; }
  .diagnosis-card { display: none; }
  .question-card { min-height: 270px; }
  .choice-grid { gap: 7px; }
  .choice-grid > div { min-height: 112px; padding: 12px; }
  .choice-grid b { font-size: 19px; }
  .feedback-grid { grid-template-columns: 1fr 1fr; }
  .feedback-grid > div:last-child { grid-column: 1 / -1; }
  .profile-summary { grid-template-columns: 1fr; }
  .app-principles { padding: 82px 0 90px; }
  .principles-heading h2 { font-size: 37px; }
  .principles-heading p { font-size: 14px; }
  .principle-grid { margin-top: 48px; grid-template-columns: 1fr; }
  .principle-grid article, .principle-grid article:first-child, .principle-grid article:nth-child(3) { min-height: 190px; padding: 24px 0; border-right: 0; border-top: 1px solid rgba(255,255,255,.18); }
  .principle-grid h3 { margin-top: 30px; }
}
