/* Agerius landing page: consolidated composition for the simplified editorial page. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; touch-action: pan-y pinch-zoom; overscroll-behavior-x: none; background: var(--color-surface); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; overflow-x: hidden; overscroll-behavior-x: none; color: var(--color-text); background: var(--color-surface); font-family: var(--font-body); font-size: var(--text-md); line-height: var(--leading-body); -webkit-font-smoothing: antialiased; }
main, .nav { width: 100%; max-width: none; margin: 0; background: var(--color-surface); overflow-x: clip; }
@supports not (overflow: clip) { main, .nav { overflow-x: hidden; } }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 4px solid var(--color-info); outline-offset: 3px; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-body); }
h1 { max-width: 920px; font-size: clamp(82px, 9vw, 138px); font-weight: 500; line-height: .82; letter-spacing: -.075em; }
h2 { max-width: 760px; font-size: clamp(42px, 4.2vw, 62px); font-weight: 500; line-height: 1; letter-spacing: -.055em; }
h3 { font-size: var(--text-lg); line-height: 1.25; }
p, li { text-wrap: pretty; }
.body-copy { max-width: 40rem; color: var(--color-text-muted); font-size: var(--text-lg); line-height: 1.55; }
.lead-copy { max-width: 45rem; color: var(--color-text-muted); font-size: clamp(var(--text-lg), 1.4vw, var(--text-xl)); line-height: 1.5; }
.compact-copy { max-width: 30rem; color: var(--color-text-muted); font-size: var(--text-md); line-height: 1.5; }
.section-illustration { min-width: 0; margin: 0; align-self: center; justify-self: center; }
.section-illustration img { width: 100%; height: auto; display: block; object-fit: contain; }

/* Navigation */
.nav { height: 76px; border-bottom: 1px solid var(--ag-gray-light); }
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo-link { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { width: 44px; height: 44px; display: block; object-fit: contain; }
.product-name { font-size: 25px; font-weight: 700; letter-spacing: -.05em; text-transform: lowercase; }
.nav-links { display: flex; align-items: center; gap: 38px; font-size: var(--text-md); }
.nav-links > a:not(.btn) { padding: 8px 0 5px; border-bottom: 1px solid transparent; }
.nav-links > a:not(.btn):hover { border-bottom-color: var(--ag-ink); }
.nav-links .btn { min-height: 40px; padding-inline: 20px; }

/* Editorial cover */
.hero { min-height: calc(100svh - 76px); padding: 0; }
.hero-cover { min-height: calc(100svh - 76px); display: grid; grid-template-columns: minmax(0, 3fr) minmax(430px, 1fr); }
.hero-primary, .hero-detail { min-width: 0; padding-block: clamp(54px, 7vh, 82px) 38px; }
.hero-primary { display: flex; flex-direction: column; justify-content: space-between; padding-left: max(48px, calc((100vw - var(--content-max)) / 2)); padding-right: clamp(42px, 6vw, 92px); background: var(--ag-cyan); }
.hero-primary .eyebrow { margin-bottom: 40px; }
.hero-primary h1 { margin-block: auto; }
.hero-primary h1 span, .hero-primary h1 strong { display: block; }
.hero-primary h1 strong { font-weight: 500; }
.hero-route { display: grid; grid-template-columns: auto 1fr auto 1fr auto; gap: 14px; align-items: center; margin-top: 52px; padding-top: 18px; border-top: 1px solid var(--ag-ink); font: 700 var(--text-xs)/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.hero-route i { display: flex; align-items: center; gap: 14px; font-style: normal; }
.hero-route i::before, .hero-route i::after { height: 1px; flex: 1; background: var(--ag-ink); content: ""; }
.hero-detail { display: flex; flex-direction: column; justify-content: center; padding-inline: clamp(40px, 4vw, 76px); border-left: 1px solid var(--ag-ink); background: var(--ag-paper); }
.hero-detail h2 { max-width: 520px; margin-bottom: 28px; }
.hero-detail .body-copy { max-width: 440px; margin-bottom: 34px; }
.hero-detail .btn { align-self: flex-start; min-width: 190px; }
.hero-assurance { display: grid; margin-top: 52px; border-top: 1px solid var(--ag-gray); }
.hero-assurance span { padding: 11px 0; border-bottom: 1px solid var(--ag-gray-light); font: 700 var(--text-xs)/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }

/* Marketing statements */
section { padding: 110px 0; border-top: 1px solid var(--ag-gray-light); }
#why { padding-top: 96px; border-top: 0; }
.risk-statement { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr); gap: 28px 80px; align-items: end; }
.risk-statement .eyebrow { grid-column: 1 / -1; margin-bottom: 0; }
.risk-statement h2 { grid-column: 1; max-width: 850px; }
.risk-statement .body-copy { grid-column: 1; max-width: 620px; }
.risk-statement .section-illustration { grid-column: 2; grid-row: 2 / span 2; width: min(100%, 430px); }
.system-map { padding-block: 78px; background: var(--ag-paper); }
.regulatory-promise { max-width: none; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .65fr); column-gap: 80px; align-items: end; }
.regulatory-promise .eyebrow { grid-column: 1 / -1; }
.regulatory-promise h2 { max-width: 900px; margin-bottom: 24px; }
.regulatory-promise .section-illustration { grid-column: 2; grid-row: 2 / span 2; width: min(100%, 410px); }
.capabilities { padding-block: 78px; background: var(--color-surface); }
.capabilities .wrap { display: block; }
.capabilities .regulatory-promise { grid-template-columns: minmax(300px, .7fr) minmax(0, 1.1fr); }
.capabilities .eyebrow { grid-column: 2; }
.capabilities h2 { grid-column: 2; margin-bottom: 24px; }
.capabilities .lead-copy { grid-column: 2; }
.capabilities .section-illustration { grid-column: 1; grid-row: 1 / span 3; width: min(100%, 430px); }

/* Services */
.services { padding-block: 78px; background: var(--ag-cyan); }
.services-head { max-width: 880px; margin: 0 0 46px; }
.services-head h2 { max-width: 780px; margin: 18px 0 20px; }
.services-head .body-copy { max-width: 680px; color: var(--ag-ink); }
@media (min-width: 961px) { .services .wrap { width: min(87.5rem, calc(100% - 72px)); } }
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding-block: 18px; border-block: 1px solid var(--ag-gray); }
.service-row { min-width: 0; min-height: 0; display: flex; flex-direction: column; border: 1px solid var(--ag-gray-light); background: var(--ag-white); }
.service-featured { border-top: 4px solid var(--ag-ink); }
.service-card-top { min-height: 228px; padding: 24px 26px 20px; }
.service-icon { width: 34px; height: 34px; display: grid; place-items: center; margin-bottom: 22px; background: var(--ag-ink); color: var(--ag-white); font: 700 var(--text-xs)/1 var(--font-mono); }
.service-row .service-tag { display: block; margin-bottom: 13px; }
.service-row h3 { margin-bottom: 12px; font-size: 28px; font-weight: 500; line-height: 1.08; letter-spacing: -.04em; }
.service-price { min-height: 108px; display: flex; flex-direction: column; justify-content: center; padding: 18px 26px; border-block: 1px solid var(--ag-gray-light); }
.service-price small { margin-bottom: 7px; color: var(--color-text-muted); font: 700 var(--text-xs)/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.service-price strong { font-size: 30px; font-weight: 500; line-height: 1; letter-spacing: -.035em; }
.service-action { min-height: 88px; display: flex; align-items: center; padding: 16px 26px; border-bottom: 1px solid var(--ag-gray-light); }
.service-action .btn { width: 100%; }
.service-row ul { margin: 0; padding: 20px 26px 24px; list-style: none; }
.service-row li { position: relative; padding: 9px 0 9px 24px; color: var(--color-text-muted); font-size: var(--text-md); line-height: 1.4; }
.service-row li::before { position: absolute; top: 9px; left: 0; color: var(--ag-ink); font: 700 var(--text-sm)/1 var(--font-mono); content: "✓"; }
.service-disclaimer { max-width: 900px; margin-top: 24px; color: var(--ag-ink); font: var(--text-sm)/1.5 var(--font-mono); }

/* Founder and FAQ */
.founder-card { display: grid; grid-template-columns: 175px minmax(0, 1fr); gap: 52px; align-items: center; padding-block: 48px; border-block: 1px solid var(--ag-gray); }
.founder-photo { width: 175px; height: 190px; object-fit: cover; border: var(--border-strong); filter: grayscale(1); }
.founder-card h2 { margin-bottom: 18px; font-size: 42px; }
.founder-card .body-copy { max-width: 720px; }
.faq-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.faq-list { border-top: 1px solid var(--ag-gray); }
.faq-item { padding: 22px 0; border-bottom: 1px solid var(--ag-gray-light); }
.faq-item summary { list-style: none; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; cursor: pointer; font-weight: 700; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { flex: none; font-size: var(--text-xl); line-height: 1.05; content: "+"; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .body-copy { max-width: 640px; margin: 16px 40px 0 0; }

/* Closing section and footer */
.final-cta { padding: 94px 0 0; background: var(--ag-ink); color: var(--ag-white); }
.cta-panel { display: grid; grid-template-columns: 1fr .85fr; gap: 90px; align-items: center; padding-bottom: 80px; }
.final-cta .body-copy, .final-cta p:not(.form-error):not(.profile-done):not(.profile-lede) { color: var(--ag-gray-light); }
.cta-panel h2 { margin-bottom: 24px; }
.footer { min-height: 390px; padding: 0; border-top: 1px solid var(--ag-gray); color: var(--ag-gray-light); font: var(--text-xs)/1.5 var(--font-mono); text-transform: uppercase; }
.footer-main { min-height: 310px; display: grid; grid-template-columns: 2fr repeat(3, 1fr); }
.footer-intro, .footer-column { padding: 44px 32px; border-right: 1px solid var(--ag-gray); }
.footer-intro { padding-left: 0; }
.footer-column:last-child { padding-right: 0; border-right: 0; }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; }
.footer-logo-wrap { width: 54px; height: 48px; display: inline-flex; align-items: center; justify-content: center; }
.footer-logo { width: 50px; height: 44px; display: block; object-fit: contain; filter: invert(1); }
.footer-brand .product-name { color: var(--ag-white); font-family: var(--font-body); }
.footer-intro p { margin: 52px 0 12px; color: var(--ag-white); font-family: var(--font-body); font-size: 34px; font-weight: 500; letter-spacing: -.04em; text-transform: none; }
.footer-intro > span:last-child { max-width: 330px; display: block; }
.footer-column strong { display: block; margin-bottom: 38px; color: var(--ag-white); }
.footer-column a { width: fit-content; display: block; margin-top: 15px; padding-bottom: 3px; border-bottom: 1px solid transparent; }
.footer-column a:hover { border-bottom-color: var(--ag-white); color: var(--ag-white); }
.footer-bottom { min-height: 80px; display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; border-top: 1px solid var(--ag-gray); }
.footer-bottom span:nth-child(2) { text-align: center; }
.footer-bottom a { justify-self: end; }

@media (max-width: 960px) {
  .hero, .hero-cover { min-height: 0; }
  .hero-cover { display: block; }
  .hero-primary, .hero-detail { padding-inline: max(48px, calc(16px + env(safe-area-inset-left, 0px))) max(48px, calc(16px + env(safe-area-inset-right, 0px))); }
  .hero-primary { min-height: calc(72svh - 76px); padding-block: 40px 28px; }
  .hero-primary h1 { max-width: none; margin-block: auto; font-size: clamp(64px, calc((100vw - 2 * max(48px, calc(16px + env(safe-area-inset-left, 0px)))) / 7.9), 120px); line-height: .82; }
  .hero-detail { min-height: 0; padding-block: 48px 52px; border-top: 1px solid var(--ag-ink); border-left: 0; }
  .hero-detail h2 { max-width: 640px; }
  .faq-grid, .cta-panel { grid-template-columns: 1fr; gap: 48px; }
  .founder-card { grid-template-columns: 130px minmax(0, 1fr); padding-block: 0; border-block: 0; }
  .founder-photo { width: 130px; height: 141px; }
  .footer-main { grid-template-columns: repeat(3, 1fr); }
  .footer-intro { grid-column: 1 / -1; padding: 42px 0; border-right: 0; border-bottom: 1px solid var(--ag-gray); }
  .footer-column:nth-child(2) { padding-left: 0; }
}

@media (max-width: 860px) {
  .nav-links > a:not(.btn) { display: none; }
  .nav-links { gap: 0; }
}

@media (max-width: 820px) {
  .risk-statement, .regulatory-promise, .capabilities .regulatory-promise { display: grid; grid-template-columns: minmax(0, 1fr) 104px; column-gap: 18px; align-items: start; }
  .risk-statement .eyebrow, .regulatory-promise .eyebrow, .capabilities .eyebrow { grid-column: 1 / -1; grid-row: 1; }
  .risk-statement h2, .regulatory-promise h2, .capabilities h2 { grid-column: 1; grid-row: 2; }
  .risk-statement .body-copy, .regulatory-promise .lead-copy, .capabilities .lead-copy { grid-column: 1 / -1; grid-row: 3; }
  .section-illustration, .risk-statement .section-illustration, .regulatory-promise .section-illustration, .capabilities .section-illustration { grid-column: 2; grid-row: 2; width: 104px; margin: 0 0 18px; align-self: center; justify-self: end; }
  .service-list { grid-template-columns: 1fr; border-bottom: 0; }
  .service-card-top { min-height: 0; }
}

@media (max-width: 680px) {
  .wrap { width: min(100% - 32px, var(--content-max)); }
  body { font-size: var(--text-md); }
  h1 { max-width: none; font-size: clamp(64px, 20vw, 84px); line-height: .82; }
  h2 { font-size: 32px; line-height: 1.04; }
  .body-copy, .lead-copy { max-width: 40rem; font-size: var(--text-md); line-height: 1.5; }
  .compact-copy { font-size: var(--text-md); line-height: 1.45; }
  .eyebrow, .kicker, .service-tag { margin-bottom: 16px; }

  .nav { height: 62px; }
  .nav-inner { justify-content: space-between; }
  .logo-link, .nav-links .btn { min-height: 44px; }
  .brand-logo { width: 38px; height: 38px; }
  .product-name { font-size: 22px; }
  .nav-links .btn { padding-inline: 14px; }

  .hero, .hero-cover { min-height: calc(100svh - 62px); }
  .hero-cover { display: block; }
  .hero-primary, .hero-detail { padding-inline: calc(16px + env(safe-area-inset-left, 0px)) calc(16px + env(safe-area-inset-right, 0px)); }
  .hero-primary { min-height: calc(72svh - 62px); padding-block: 28px 20px; }
  .hero-primary .eyebrow { margin-bottom: 50px; }
  .hero-primary h1 { margin-block: auto; font-size: clamp(56px, calc((100vw - 32px) / 4.45), 120px); }
  .hero-route { grid-template-columns: 1fr auto 1fr auto 1fr; gap: 7px; margin-top: 50px; padding-top: 14px; text-align: center; }
  .hero-route i::before, .hero-route i::after { display: none; }
  .hero-detail { padding-block: 38px 42px; border-top: 1px solid var(--ag-ink); border-left: 0; }
  .hero-detail h2 { margin-bottom: 18px; font-size: 38px; }
  .hero-detail .body-copy { margin-bottom: 24px; }
  .hero-assurance { margin-top: 32px; }

  section, #why { padding-block: 42px; }
  .risk-statement .eyebrow { margin-bottom: 16px; }
  .risk-statement h2, .regulatory-promise h2 { margin-bottom: 20px; }
  .risk-statement .body-copy, .regulatory-promise .lead-copy { margin: 0; padding: 17px 0 0; border-top: 1px solid var(--ag-gray); }
  .risk-statement, .regulatory-promise, .capabilities .regulatory-promise { grid-template-columns: minmax(0, 1fr) 76px; column-gap: 14px; }
  .section-illustration, .risk-statement .section-illustration, .regulatory-promise .section-illustration, .capabilities .section-illustration { width: 76px; margin: 0 0 16px; }
  .system-map, .capabilities { padding-block: 42px; }

  .services { padding-block: 34px; }
  .services-head { margin-bottom: 18px; }
  .services-head h2 { margin: 12px 0; }
  .service-list { gap: 10px; padding-block: 10px 0; }
  .service-card-top { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 3px 10px; padding: 12px; }
  .service-icon { grid-row: 1 / span 2; width: 30px; height: 30px; margin-bottom: 0; }
  .service-row .service-tag { align-self: center; margin-bottom: 0; }
  .service-row h3 { grid-column: 1 / -1; margin-bottom: 6px; font-size: 22px; }
  .service-card-top .compact-copy { grid-column: 1 / -1; }
  .service-price { min-height: 0; flex-direction: row; align-items: baseline; justify-content: space-between; padding: 9px 12px; }
  .service-price small { margin-bottom: 0; }
  .service-price strong { font-size: 24px; }
  .service-action { min-height: 48px; padding: 7px 12px; }
  .service-action .btn { min-height: 44px; }
  .service-row ul { padding: 8px 12px 12px; }
  .service-row li { padding: 7px 0 7px 20px; }
  .service-row li::before { top: 7px; }
  .service-row li:nth-child(n+3) { display: none; }
  .service-disclaimer { margin-top: 16px; }

  .founder-card { grid-template-columns: 84px minmax(0, 1fr); gap: 16px; align-items: start; padding-block: 24px; }
  .founder-photo { width: 84px; height: 92px; margin: 0; float: none; }
  .founder-card .eyebrow { margin-bottom: 8px; }
  .founder-card h2 { margin-bottom: 10px; font-size: 28px; }
  .faq-grid, .cta-panel { gap: 26px; }
  .faq-item { padding: 16px 0; }
  .faq-item summary { min-height: 44px; align-items: center; gap: 16px; }
  .faq-item .body-copy { margin: 10px 0 0; }

  .final-cta { padding-top: 48px; }
  .cta-panel { padding-bottom: 44px; }
  .footer { min-height: 0; padding-bottom: 24px; }
  .footer-intro { padding: 28px 0; }
  .footer-intro p { margin: 24px 0 8px; font-size: 28px; }
  .footer-column, .footer-column:last-child { padding-block: 22px; }
  .footer-column strong { margin-bottom: 18px; }
  .footer-column a { min-width: 44px; min-height: 44px; display: flex; align-items: center; margin-top: 0; }
  .footer-bottom { grid-template-columns: 1fr; gap: 8px; padding-top: 20px; }
  .footer-bottom span:nth-child(2) { text-align: left; }
  .footer-bottom a { min-height: 44px; display: flex; align-items: center; justify-self: start; }
}

@media (max-width: 420px) {
  .footer-main { grid-template-columns: 1fr; }
  .footer-intro, .footer-column, .footer-column:last-child, .footer-column:nth-child(3) { grid-column: auto; padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--ag-gray); }
  .footer-column:last-child { border-bottom: 0; }
}

@media (max-width: 360px) {
  .logo-link .product-name { display: none; }
  .risk-statement, .regulatory-promise, .capabilities .regulatory-promise { grid-template-columns: minmax(0, 1fr) 64px; gap: 10px; }
  .section-illustration, .risk-statement .section-illustration, .regulatory-promise .section-illustration, .capabilities .section-illustration { width: 64px; margin-bottom: 14px; }
  .founder-card { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; }
  .founder-photo { width: 76px; height: 83px; }
  .founder-card h2 { font-size: 25px; }
}
