:root {
  --navy: #061a3c;
  --navy-strong: #04132e;
  --blue: #1463ed;
  --blue-soft: #eaf1ff;
  --ink: #111827;
  --muted: #536174;
  --line: #dfe5ed;
  --white: #ffffff;
  --max-width: 1120px;
  --page-padding: clamp(1.25rem, 4vw, 2.75rem);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #7aa8ff; outline-offset: 3px; }

.site-header { background: var(--navy); color: white; }
.header-inner { width: min(var(--max-width), calc(100% - (var(--page-padding) * 2))); min-height: 72px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: white; text-decoration: none; font-weight: 700; font-size: 1.15rem; letter-spacing: -.025em; }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; color: #4383ff; }
.brand-mark svg { width: 100%; height: 100%; }
.nav-list { padding: 0; margin: 0; display: flex; align-items: stretch; gap: 2.1rem; list-style: none; }
.nav-link { display: block; padding: 26px 0 23px; border-bottom: 3px solid transparent; color: #fff; font-size: .94rem; text-decoration: none; }
.nav-link:hover, .nav-link[aria-current="page"] { border-color: #3778ff; }

.page-shell { width: min(var(--max-width), calc(100% - (var(--page-padding) * 2))); margin: 0 auto; }
.home-hero { display: grid; grid-template-columns: minmax(0, .94fr) minmax(380px, 1.06fr); gap: clamp(2.5rem, 7vw, 6.5rem); align-items: center; padding: clamp(4.3rem, 10vw, 8rem) 0 5rem; }
.home-hero h1, .page-intro h1, .legal-title { max-width: 640px; margin: 0; color: #080f1d; font-size: clamp(3rem, 5.7vw, 5.6rem); line-height: .98; letter-spacing: -.068em; }
.lead { max-width: 525px; margin: 1.45rem 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.55vw, 1.22rem); line-height: 1.55; }
.app-preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.preview-card { min-height: 115px; padding: 1.15rem; display: flex; align-items: center; gap: .95rem; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.preview-card:hover { transform: translateY(-2px); border-color: #aac4f9; box-shadow: 0 10px 24px rgba(10, 44, 108, .08); }
.app-icon { width: 58px; height: 58px; flex: none; display: block; border-radius: 14px; object-fit: cover; }
.preview-card strong { display: block; font-size: .98rem; letter-spacing: -.025em; }
.preview-card span { display: block; margin-top: .25rem; color: var(--muted); font-size: .85rem; line-height: 1.35; }

.section { padding: 2rem 0 5.6rem; }
.section-title { margin: 0 0 1rem; font-size: clamp(1.65rem, 3vw, 2.15rem); letter-spacing: -.05em; }
.app-list { border-top: 1px solid var(--line); }
.app-row { display: grid; grid-template-columns: 64px minmax(130px, 170px) minmax(0, 1fr) auto; align-items: center; gap: 1.25rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.app-row h3 { margin: 0; font-size: 1rem; letter-spacing: -.025em; }
.app-row p { max-width: 465px; margin: 0; color: var(--muted); font-size: .91rem; line-height: 1.45; }
.text-link { color: var(--blue); font-size: .91rem; text-decoration: none; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }
.arrow { display: inline-block; margin-left: .55rem; font-size: 1.25rem; line-height: .6; }

.support-band { background: var(--navy); color: white; }
.support-band-inner { width: min(var(--max-width), calc(100% - (var(--page-padding) * 2))); min-height: 160px; margin: 0 auto; display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; }
.support-mark { width: 70px; height: 70px; border: 3px solid #4383ff; border-radius: 50%; position: relative; }
.support-mark::after { content: ""; position: absolute; right: -7px; bottom: -10px; width: 18px; height: 19px; border-left: 3px solid #4383ff; transform: rotate(-38deg); }
.support-band h2 { margin: 0; font-size: 1.55rem; letter-spacing: -.045em; }
.support-band p { margin: .35rem 0 0; color: #d4e1ff; line-height: 1.45; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 0 1rem; border: 1px solid transparent; border-radius: 5px; background: var(--blue); color: white; font-weight: 600; font-size: .93rem; text-decoration: none; }
.button:hover { background: #0f56d3; }

.page-intro { padding: clamp(3.8rem, 7vw, 6.2rem) 0 2.7rem; }
.page-intro h1 { font-size: clamp(3rem, 5.25vw, 5rem); }
.eyebrow { margin: 0 0 .8rem; color: var(--navy); font-weight: 750; font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; }
.support-layout { padding-bottom: 5rem; }
.app-page-intro { display: flex; align-items: center; gap: clamp(1.25rem, 4vw, 2.5rem); }
.app-page-intro > div { min-width: 0; }
.app-page-icon { width: clamp(88px, 12vw, 132px); height: clamp(88px, 12vw, 132px); flex: none; border-radius: 24%; object-fit: cover; box-shadow: 0 14px 34px rgba(6, 26, 60, .13); }
.app-page-intro .lead { margin-top: .9rem; }
.app-directory { border-top: 1px solid var(--line); }
.app-directory-link { display: grid; grid-template-columns: 58px minmax(140px, 220px) minmax(0, 1fr) auto; align-items: center; gap: 1.25rem; padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.app-directory-link:hover { color: var(--blue); }
.app-directory-link strong { font-size: 1rem; letter-spacing: -.025em; }
.app-directory-link p { margin: 0; color: var(--muted); font-size: .91rem; line-height: 1.45; }
.app-directory-link .arrow { color: var(--blue); }
.support-app-list { border-top: 1px solid var(--line); }
.support-app-link { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1rem .15rem; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.support-app-link:hover, .support-app-link.is-selected { color: var(--blue); }
.support-app-link .arrow { margin: 0; color: inherit; }
.support-details { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7.5rem); margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.support-details h2 { margin: 0 0 .8rem; font-size: 1.35rem; letter-spacing: -.04em; }
.support-details p, .support-details li { color: var(--muted); line-height: 1.55; }
.support-details ul { padding-left: 1.2rem; margin: .8rem 0 0; }
.email-link { color: var(--blue); font-size: 1.12rem; font-weight: 650; text-decoration: none; }
.faq { margin-top: 4rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.faq h2 { margin: 0 0 1rem; font-size: 1.35rem; letter-spacing: -.04em; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; padding: 1rem .2rem; cursor: pointer; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--navy); font-size: 1.4rem; font-weight: 400; }
details[open] summary::after { content: "−"; }
details p { max-width: 720px; padding: 0 .2rem 1.2rem; margin: 0; color: var(--muted); line-height: 1.55; }

.legal-layout { display: grid; grid-template-columns: 195px minmax(0, 1fr); gap: clamp(2.5rem, 7vw, 7.5rem); padding: 1.2rem 0 6rem; }
.legal-contents { align-self: start; position: sticky; top: 1.25rem; padding: .6rem 0; border-right: 1px solid var(--line); }
.legal-contents h2 { margin: 0 0 1rem; font-size: .9rem; }
.legal-contents a { display: block; padding: .55rem 1rem 0 .65rem; color: var(--muted); font-size: .9rem; text-decoration: none; }
.legal-contents a:hover { color: var(--blue); }
.legal-article { max-width: 740px; }
.legal-title { font-size: clamp(2.85rem, 5vw, 4.8rem); }
.updated { margin: .8rem 0 1.75rem; color: var(--muted); }
.legal-article > p { color: #354256; font-size: 1.03rem; line-height: 1.62; }
.legal-article section { padding: 1.35rem 0; border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.legal-article h2 { margin: 0 0 .5rem; font-size: 1.45rem; letter-spacing: -.04em; }
.legal-article section p, .legal-article section li { color: #425066; line-height: 1.62; }
.legal-article section ul { padding-left: 1.2rem; }
.notice { padding: 1rem 1.1rem; margin: 1.5rem 0; border-left: 3px solid var(--blue); background: #f4f7fd; color: #33425a; line-height: 1.5; }
.app-utility-links { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; padding-top: 2rem; margin-top: 2.5rem; border-top: 1px solid var(--line); }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { width: min(var(--max-width), calc(100% - (var(--page-padding) * 2))); min-height: 112px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; color: #667085; font-size: .85rem; }
.footer-nav { display: flex; gap: 1.75rem; }
.footer-nav a { color: var(--blue); text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }

@media (max-width: 740px) {
  .header-inner { min-height: 64px; }
  .brand { font-size: 1rem; }
  .brand-mark { width: 26px; height: 26px; }
  .nav-list { gap: 1rem; }
  .nav-link { padding: 22px 0 19px; font-size: .82rem; }
  .home-hero { grid-template-columns: 1fr; padding-top: 4rem; }
  .home-hero h1, .page-intro h1 { font-size: clamp(2.8rem, 12vw, 4rem); }
  .app-preview-grid { gap: .7rem; }
  .preview-card { min-height: 95px; padding: .85rem; gap: .7rem; }
  .app-icon { width: 47px; height: 47px; border-radius: 12px; font-size: .64rem; }
  .preview-card > span:last-child > span { display: none; }
  .app-row { grid-template-columns: 51px 1fr auto; gap: .85rem; }
  .app-row p { display: none; }
  .support-band-inner { grid-template-columns: 1fr auto; padding: 2rem 0; }
  .support-mark { display: none; }
  .support-details { grid-template-columns: 1fr; }
  .app-directory-link { grid-template-columns: 47px 1fr auto; gap: .85rem; }
  .app-directory-link p { display: none; }
  .legal-layout { grid-template-columns: 1fr; gap: 1.5rem; padding-top: 0; }
  .legal-contents { position: static; display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); white-space: nowrap; }
  .legal-contents h2 { display: none; }
  .legal-contents a { padding: .7rem .8rem; }
  .footer-inner { min-height: 130px; flex-direction: column; align-items: flex-start; justify-content: center; }
  .footer-nav { gap: 1.25rem; }
}

@media (max-width: 440px) {
  .nav-list { gap: .72rem; }
  .nav-link { font-size: .74rem; }
  .brand { font-size: 0; }
  .app-page-intro { align-items: flex-start; }
  .app-page-icon { width: 72px; height: 72px; border-radius: 17px; }
  .app-page-intro h1 { font-size: clamp(2.2rem, 10vw, 3.1rem); }
  .support-band-inner { grid-template-columns: 1fr; }
  .support-band .button { width: fit-content; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
