.apps-hub {
  --apps-navy: #063c72;
  --apps-navy-deep: #032b52;
  --apps-teal: #007b91;
  --apps-green: #237a27;
  --apps-ink: #17324d;
  --apps-muted: #587087;
  --apps-border: #d8e5ec;
  --apps-tint: #eef6f8;
  color: var(--apps-ink);
  font-size: 17px;
  line-height: 1.65;
}

.apps-hub *,
.apps-hub *::before,
.apps-hub *::after { box-sizing: border-box; }

.apps-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.apps-section { padding: 88px 0; }
.apps-section--white { background: #fff; }
.apps-section--tint { background: var(--apps-tint); }
.apps-section--navy { background: var(--apps-navy-deep); color: #fff; }
.apps-section h2, .apps-section h3, .apps-cta h2 { color: var(--apps-navy); }
.apps-section--navy h2 { color: #fff; }

.apps-hero {
  background: linear-gradient(125deg, var(--apps-navy-deep), var(--apps-navy) 62%, #075d78);
  color: #fff;
  padding: 96px 0 88px;
}

.apps-hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 72px; align-items: center; }
.apps-kicker { margin: 0 0 12px; color: var(--apps-teal); font-size: 13px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.apps-hero .apps-kicker, .apps-section--navy .apps-kicker, .apps-cta .apps-kicker { color: #53dcf4; }
.apps-hero h1 { max-width: 760px; margin: 0; color: #fff; font-size: clamp(42px, 5.2vw, 68px); line-height: 1.08; letter-spacing: -.035em; text-transform: none; }
.apps-hero__intro { max-width: 720px; margin: 24px 0 0; color: #e4f1f6; font-size: 20px; line-height: 1.65; }
.apps-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.apps-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; border: 2px solid transparent; border-radius: 7px; padding: 12px 22px; font-size: 16px; font-weight: 700; line-height: 1.2; text-decoration: none !important; transition: transform .2s ease, background-color .2s ease, border-color .2s ease; }
.apps-button:hover { transform: translateY(-2px); }
.apps-button:focus-visible, .apps-card__link:focus-visible, .apps-faq-item summary:focus-visible { outline: 3px solid #ffd760; outline-offset: 4px; }
.apps-button--primary { background: var(--apps-green); color: #fff !important; }
.apps-button--primary:hover { background: #247d27; }
.apps-button--secondary { border-color: rgba(255,255,255,.55); color: #fff !important; }
.apps-button--secondary:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.apps-button--light { background: #fff; color: var(--apps-navy) !important; }

.apps-hero__panel { border: 1px solid rgba(255,255,255,.25); border-radius: 20px; background: rgba(255,255,255,.08); padding: 32px; box-shadow: 0 24px 70px rgba(0,0,0,.18); }
.apps-hero__panel > p { margin: 0 0 18px; font-size: 20px; font-weight: 700; line-height: 1.35; }
.apps-hero__chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; }
.apps-hero__chips span { border-radius: 999px; background: #fff; color: var(--apps-navy); padding: 7px 12px; font-size: 14px; font-weight: 700; }
.apps-hero__panel ul { margin: 0; padding: 0; list-style: none; }
.apps-hero__panel li { position: relative; margin: 9px 0; padding-left: 25px; color: #e5f3f7; }
.apps-hero__panel li::before { position: absolute; left: 0; color: #66e1bd; content: "✓"; font-weight: 700; }

.apps-section__heading { max-width: 760px; margin-bottom: 42px; }
.apps-section__heading h2, .apps-cta h2 { margin: 0 0 16px; font-size: clamp(32px, 4vw, 46px); line-height: 1.16; letter-spacing: -.025em; text-transform: none; }
.apps-section__heading > p:last-child { margin-bottom: 0; color: var(--apps-muted); font-size: 18px; }
.apps-section__heading--light > p:last-child { color: #d2e4ed; }

.apps-help-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.apps-help-card { border-top: 3px solid var(--apps-teal); background: #fff; padding: 24px 22px; box-shadow: 0 12px 32px rgba(8, 54, 91, .08); }
.apps-help-card__number { display: block; margin-bottom: 28px; color: #5c7285; font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.apps-help-card h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.3; }
.apps-help-card p { margin: 0; color: var(--apps-muted); font-size: 15px; }

.apps-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.apps-card-grid--core { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.apps-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--apps-border); border-radius: 14px; background: #fff; box-shadow: 0 10px 28px rgba(8, 54, 91, .07); }
.apps-card__logo { display: flex; min-height: 150px; align-items: center; justify-content: center; border-bottom: 1px solid var(--apps-border); background: #f9fcfd; padding: 26px; }
.apps-card__image { width: auto; max-width: 210px; height: auto; max-height: 82px; object-fit: contain; }
.apps-card__logo-fallback { color: var(--apps-navy); font-size: 22px; font-weight: 700; }
.apps-card__body { display: flex; flex: 1; flex-direction: column; padding: 25px; }
.apps-card__eyebrow { margin: 0 0 7px !important; color: var(--apps-teal) !important; font-size: 12px !important; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.apps-card h3 { margin: 0 0 12px; font-size: 25px; line-height: 1.2; }
.apps-card p { margin: 0 0 16px; color: var(--apps-muted); font-size: 15px; }
.apps-card__best { padding: 12px 14px; border-radius: 7px; background: var(--apps-tint); color: var(--apps-ink) !important; }
.apps-card__features { margin: 0 0 22px; padding-left: 20px; color: var(--apps-muted); font-size: 14px; }
.apps-card__features li { margin: 5px 0; }
.apps-card__link { margin-top: auto; color: var(--apps-navy); font-size: 15px; font-weight: 700; text-decoration: underline; text-decoration-color: #9fc6d4; text-underline-offset: 4px; }
.apps-card__link:hover { color: var(--apps-green); }

.apps-table-wrap { overflow-x: auto; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; }
.apps-table { width: 100%; min-width: 760px; margin: 0; border-collapse: collapse; background: #fff; color: var(--apps-ink); }
.apps-table th, .apps-table td { padding: 18px 20px; border-bottom: 1px solid var(--apps-border); text-align: left; vertical-align: top; }
.apps-table thead th { background: #dff2f5; color: var(--apps-navy); font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
.apps-table tbody th { color: var(--apps-navy); font-size: 17px; }
.apps-table tbody tr:last-child th, .apps-table tbody tr:last-child td { border-bottom: 0; }
.apps-table-note { max-width: 820px; margin: 22px 0 0; color: #d2e4ed; font-size: 14px; }

.apps-process { display: grid; margin: 0; padding: 0; counter-reset: apps-step; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; }
.apps-process li { position: relative; padding: 58px 20px 20px 0; border-top: 1px solid var(--apps-border); counter-increment: apps-step; }
.apps-process li::before { position: absolute; top: 18px; left: 0; color: var(--apps-teal); content: counter(apps-step, decimal-leading-zero); font-size: 15px; font-weight: 800; }
.apps-process h3 { margin: 0 0 10px; font-size: 20px; }
.apps-process p { margin: 0; color: var(--apps-muted); font-size: 15px; }
.apps-related { margin-top: 50px; border-left: 4px solid var(--apps-green); background: var(--apps-tint); padding: 26px 30px; }
.apps-related h3 { margin: 0 0 8px; font-size: 22px; }
.apps-related p { margin: 0; }
.apps-related a { color: var(--apps-navy); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.apps-faq-layout { display: grid; grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr); gap: 72px; align-items: start; }
.apps-faq-list { border-top: 1px solid var(--apps-border); }
.apps-faq-item { border-bottom: 1px solid var(--apps-border); background: transparent; }
.apps-faq-item summary { position: relative; cursor: pointer; padding: 21px 50px 21px 0; color: var(--apps-navy); font-size: 18px; font-weight: 700; list-style: none; }
.apps-faq-item summary::-webkit-details-marker { display: none; }
.apps-faq-item summary::after { position: absolute; top: 18px; right: 2px; color: var(--apps-teal); content: "+"; font-size: 27px; font-weight: 400; }
.apps-faq-item[open] summary::after { content: "−"; }
.apps-faq-item div { padding: 0 45px 20px 0; }
.apps-faq-item p { margin: 0; color: var(--apps-muted); }

.apps-cta { background: linear-gradient(120deg, #075d78, var(--apps-navy)); color: #fff; padding: 62px 0; }
.apps-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 42px; }
.apps-cta h2 { max-width: 720px; margin-bottom: 12px; color: #fff; }
.apps-cta p:not(.apps-kicker) { max-width: 720px; margin: 0; color: #dcecf2; font-size: 18px; }
.apps-cta .apps-button { flex: 0 0 auto; }

@media (max-width: 991px) {
  .apps-hero__grid, .apps-faq-layout { grid-template-columns: 1fr; gap: 44px; }
  .apps-help-grid, .apps-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .apps-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .apps-shell { width: min(100% - 30px, 1180px); }
  .apps-section { padding: 62px 0; }
  .apps-hero { padding: 62px 0; }
  .apps-hero h1 { font-size: 40px; }
  .apps-hero__intro { font-size: 18px; }
  .apps-hero__panel { padding: 24px; }
  .apps-actions, .apps-cta__inner { align-items: stretch; flex-direction: column; }
  .apps-button { width: 100%; }
  .apps-help-grid, .apps-card-grid, .apps-card-grid--core, .apps-process { grid-template-columns: 1fr; }
  .apps-section__heading { margin-bottom: 32px; }
  .apps-section__heading h2, .apps-cta h2 { font-size: 32px; }
  .apps-card__logo { min-height: 130px; }
  .apps-card__body { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .apps-button { transition: none; }
}
