:root {
  color-scheme: light;
  --ink: #202124;
  --muted: #5f6368;
  --paper: #f6f8fc;
  --blue: #174ea6;
  --teal: #078994;
  --coral: #f45f50;
  --yellow: #fbbc04;
  --purple: #6941c6;
  --green: #18894b;
  --line: #e1e5eb;
  --dark: #152433;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid rgba(23,78,166,.28); outline-offset: 4px; }
h1, h2, h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-weight: 500; }
p { margin: 0; }

.page-header { position: sticky; z-index: 10; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 112px; padding: 10px clamp(18px, 5vw, 76px); background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.brand img { display: block; width: clamp(280px, 34vw, 480px); height: 90px; object-fit: contain; object-position: left center; }
.back-link, .primary-link { display: inline-flex; gap: 10px; align-items: center; justify-content: center; min-height: 48px; padding: 12px 18px; color: #fff; background: var(--blue); border-radius: 999px; font-weight: 800; text-decoration: none; box-shadow: 0 4px 14px rgba(23,78,166,.22); }

.eyebrow { margin: 0 0 16px; color: var(--teal); font-size: 12px; font-weight: 900; letter-spacing: .17em; text-transform: uppercase; }
.intro { padding: clamp(76px, 10vw, 140px) clamp(20px, 8vw, 130px); background: radial-gradient(circle at 88% 20%, rgba(251,188,4,.24), transparent 22%), radial-gradient(circle at 82% 80%, rgba(8,137,148,.16), transparent 28%), #fff; }
.intro h1 { max-width: 980px; font-size: clamp(50px, 7vw, 96px); line-height: .95; letter-spacing: -.055em; }
.intro > p:last-child { max-width: 760px; margin-top: 30px; color: var(--blue); font-size: clamp(18px, 2vw, 23px); line-height: 1.55; }

.technology-flow, .connections, .system-requirements, .future-layer, .faq-section { padding: clamp(72px, 9vw, 120px) clamp(20px, 6vw, 96px); }
.section-heading { max-width: 800px; }
.section-heading h2, .future-layer h2, .return-panel h2 { font-size: clamp(38px, 5vw, 66px); line-height: 1; letter-spacing: -.045em; }
.section-heading > p:last-child { margin-top: 18px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.centered-heading { margin-inline: auto; text-align: center; }

.technology-flow { background: #fff; }
.flow-track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; padding: 0; margin: 52px 0 0; list-style: none; }
.flow-card { position: relative; min-height: 300px; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; }
.flow-card::after { position: absolute; z-index: 2; top: 60px; right: -14px; display: grid; width: 28px; height: 28px; place-items: center; color: #fff; content: "›"; background: var(--blue); border: 4px solid #fff; border-radius: 50%; font-size: 20px; }
.flow-card:last-child::after { display: none; }
.flow-number { display: block; color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .12em; }
.flow-icon { display: grid; width: 58px; height: 58px; margin-top: 22px; place-items: center; color: var(--blue); background: #e9f0ff; border-radius: 18px; font-size: 30px; font-weight: 800; }
.flow-card h3 { margin-top: 24px; font-size: 25px; line-height: 1.05; }
.flow-card p { margin-top: 14px; color: var(--muted); font-size: 14px; line-height: 1.6; }
.flow-coral .flow-icon { color: var(--coral); background: #fff0ee; }
.flow-teal .flow-icon { color: var(--teal); background: #e3f7f7; }
.flow-purple .flow-icon { color: var(--purple); background: #f0eaff; }
.flow-green .flow-icon { color: var(--green); background: #e7f7ee; }
.feature-band { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: center; margin-top: 36px; padding: 24px; color: #fff; background: var(--dark); border-radius: 24px; }
.feature-band span { padding: 10px 15px; background: rgba(255,255,255,.09); border-radius: 999px; font-size: 13px; font-weight: 800; }

.connections { background: linear-gradient(180deg, #f6f8fc, #edf2fb); }
.connection-flow { display: grid; grid-template-columns: repeat(4, minmax(130px, 1fr) auto) minmax(130px, 1fr); gap: 12px; align-items: center; margin-top: 52px; }
.connection-flow article { display: grid; min-height: 160px; padding: 22px 16px; place-items: center; background: #fff; border: 1px solid var(--line); border-radius: 22px; text-align: center; box-shadow: 0 10px 30px rgba(36,53,79,.06); }
.connection-flow article span { display: grid; width: 50px; height: 50px; place-items: center; color: var(--blue); background: #e9f0ff; border-radius: 16px; font-size: 25px; font-weight: 800; }
.connection-flow article h3 { margin-top: 16px; font-size: 19px; }
.connection-flow > b { color: var(--blue); font-size: 28px; }
.upgrade-path { display: flex; gap: 18px; align-items: center; width: min(650px, 100%); margin: 32px auto 0; padding: 22px 26px; color: #fff; background: linear-gradient(135deg, var(--teal), #145f85); border-radius: 22px; }
.upgrade-path > span { display: grid; flex: 0 0 46px; width: 46px; height: 46px; place-items: center; background: rgba(255,255,255,.14); border-radius: 15px; font-size: 24px; }
.upgrade-path strong, .upgrade-path small { display: block; }
.upgrade-path small { margin-top: 5px; color: #d7f3f3; line-height: 1.5; }

.system-requirements { background: #fff; }
.requirements-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; width: min(1080px, 100%); margin: 52px auto 0; }
.requirement-card { display: flex; gap: 22px; align-items: flex-start; min-height: 178px; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; }
.requirement-icon { display: grid; flex: 0 0 58px; width: 58px; height: 58px; place-items: center; color: var(--blue); background: #e9f0ff; border-radius: 18px; font-size: 28px; font-weight: 900; }
.requirement-card h3 { margin-top: 4px; font-size: 25px; line-height: 1.05; }
.requirement-card p { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.requirement-coral .requirement-icon { color: var(--coral); background: #fff0ee; }
.requirement-teal .requirement-icon { color: var(--teal); background: #e3f7f7; }
.requirement-purple .requirement-icon { color: var(--purple); background: #f0eaff; }
.requirements-note { display: flex; gap: 18px; align-items: center; width: min(820px, 100%); margin: 28px auto 0; padding: 22px 26px; color: #fff; background: var(--dark); border-radius: 22px; }
.requirements-note > span { display: grid; flex: 0 0 46px; width: 46px; height: 46px; place-items: center; color: var(--dark); background: var(--yellow); border-radius: 50%; font-size: 23px; font-weight: 900; }
.requirements-note p { color: #dbe6ef; font-size: 14px; line-height: 1.6; }
.requirements-note strong { color: #fff; }

.future-layer { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(36px, 7vw, 100px); color: #fff; background: linear-gradient(135deg, #123e7b, #39256d); }
.future-layer .eyebrow { color: #86dde0; }
.future-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.future-grid article { display: flex; gap: 14px; align-items: center; min-height: 104px; padding: 20px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 20px; }
.future-grid article:last-child { grid-column: 1 / -1; }
.future-grid span { display: grid; flex: 0 0 44px; width: 44px; height: 44px; place-items: center; color: #86dde0; background: rgba(255,255,255,.08); border-radius: 14px; font-size: 22px; }
.future-grid h3 { color: #fff; font-size: 20px; }

.faq-section { background: var(--paper); }
.faq-section > .section-heading { margin-inline: auto; text-align: center; }
.faq-list { display: grid; gap: 14px; width: min(940px, 100%); margin: 48px auto 0; }
.faq-list details { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 24px rgba(36,53,79,.05); }
.faq-list summary { position: relative; padding: 22px 64px 22px 24px; cursor: pointer; font-family: Georgia, "Times New Roman", serif; font-size: 21px; line-height: 1.25; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { position: absolute; top: 50%; right: 24px; display: grid; width: 32px; height: 32px; place-items: center; content: "+"; transform: translateY(-50%); color: var(--blue); background: #e9f0ff; border-radius: 50%; font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 22px; font-weight: 700; }
.faq-list details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 24px 24px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.faq-answer p { margin: 0; }
.faq-answer ol { padding-left: 22px; margin: 0; }
.faq-answer li + li { margin-top: 8px; }
.faq-answer strong { color: var(--ink); }

.return-panel { padding: clamp(72px, 9vw, 120px) clamp(20px, 8vw, 130px); text-align: center; background: #fff; }
.return-panel .primary-link { margin-top: 34px; }
footer { padding: 26px clamp(20px, 5vw, 76px); color: #aebcca; background: var(--dark); font-size: 12px; text-align: center; }
footer a { color: #fff; text-underline-offset: 3px; }

@media (max-width: 1100px) {
  .flow-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .flow-card:nth-child(3)::after { display: none; }
  .connection-flow { grid-template-columns: 1fr; }
  .connection-flow > b { transform: rotate(90deg); justify-self: center; }
}

@media (max-width: 760px) {
  .page-header { min-height: 88px; padding-inline: 16px; }
  .brand img { width: min(58vw, 300px); height: 68px; }
  .back-link { min-height: 44px; padding: 10px 13px; font-size: 12px; }
  .flow-track, .requirements-grid, .future-layer, .future-grid { grid-template-columns: 1fr; }
  .flow-card { min-height: 0; }
  .flow-card::after { top: auto; right: calc(50% - 14px); bottom: -24px; transform: rotate(90deg); }
  .flow-card:nth-child(3)::after { display: grid; }
  .future-grid article:last-child { grid-column: auto; }
  .requirement-card { min-height: 0; padding: 22px; }
}

@media (max-width: 460px) {
  .back-link { width: 44px; padding: 0; font-size: 0; }
  .back-link span { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
