/* Visual tokens from the Athos website's coach-story/story.css. */
:root {
  --blue: #0a4dff;
  --white: #fff;
  --ink: #10234d;
  --muted: rgba(255, 255, 255, 0.85);
  --rule: rgba(255, 255, 255, 0.28);
  font-family: Inter, Arial, sans-serif;
  font-weight: 300;
  color: var(--white);
  background: var(--blue);
  font-synthesis: none;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: var(--blue); font-size: 1rem; line-height: 1.65; }
header, main, footer { width: min(1440px, calc(100% - clamp(44px, 10vw, 160px))); margin: auto; }
header { min-height: 84px; display: flex; align-items: center; gap: 28px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.wordmark { font: italic clamp(42px, 4vw, 56px)/.8 "Instrument Serif", serif; }
header > span:nth-child(2) { margin-left: auto; color: var(--muted); font-size: .85rem; }
.header-link { display: inline-flex; min-height: 48px; padding: 12px 20px; align-items: center; background: white; color: var(--blue); text-decoration: none; font-size: .9rem; font-weight: 400; }
.intro { padding: clamp(56px, 9vh, 110px) 0 48px; max-width: 1020px; }
h1, h2 { margin: 0 0 26px; font-weight: 300; line-height: 1.04; letter-spacing: -.045em; }
h1 { font-size: clamp(42px, 4.4vw, 70px); max-width: 920px; }
h1 em { font: italic 400 1em/1.04 "Instrument Serif", serif; letter-spacing: -.02em; }
h2 { font-size: clamp(28px, 2.8vw, 42px); }
p { max-width: 68ch; margin: 0 0 22px; color: var(--muted); }
.intro > p:first-of-type { font-size: clamp(16px, 1.3vw, 20px); max-width: 650px; }
.endpoint { padding: 22px 24px; border: 1px solid var(--rule); margin: 32px 0 14px; }
.endpoint span { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.endpoint code { font-size: clamp(1rem, 1.5vw, 1.25rem); overflow-wrap: anywhere; user-select: all; }
.note { font-size: .9rem; }
.layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; border-top: 1px solid var(--rule); }
section { padding: 40px 0; }
.layout section + section { border-top: 1px solid var(--rule); }
aside { margin-top: 40px; padding-left: 32px; border-left: 1px solid var(--rule); }
pre { padding: 24px; border: 1px solid var(--rule); font-size: .9rem; white-space: pre-wrap; overflow-wrap: anywhere; }
code { font-family: Menlo, Consolas, monospace; }
blockquote { margin: 24px 0; padding: 0 0 0 20px; border-left: 2px solid white; overflow-wrap: anywhere; }
ol { padding-left: 24px; }
li { padding: 0 0 12px 4px; color: var(--muted); }
a { color: inherit; text-underline-offset: 6px; text-decoration-thickness: 1px; }
a:hover { text-decoration: underline; }
.resource { display: flex; justify-content: center; align-items: center; min-height: 52px; padding: 12px 16px; border: 1px solid white; text-decoration: none; font-weight: 400; }
.resource:first-child { color: var(--blue); background: white; }
.resource + .resource { margin-top: 12px; }
nav { margin: 28px 0; }
strong { color: white; font-weight: 500; }
details { border-top: 1px solid var(--rule); padding: 28px 0; margin-top: 24px; }
summary { cursor: pointer; font-weight: 400; }
.brief { line-height: 1.7; }
footer { color: var(--muted); font-size: .85rem; padding: 24px 0 40px; }
:focus-visible { outline: 2px solid #eaff00; outline-offset: 5px; }
::selection { color: var(--blue); background: #eaff00; }
.skip { position: absolute; top: -100px; left: 20px; z-index: 2; padding: 14px 18px; background: white; color: var(--blue); }
.skip:focus { top: 10px; }
.connect-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; max-width: none; padding: 56px 0 0; align-items: center; }
.connect-copy { padding-bottom: 48px; }
.connect-copy h1 { font-size: 64px; letter-spacing: -.035em; }
.connect-copy > p { font-size: 18px; }
.connect-copy .intro-timing { font-size: 14px; margin-top: 18px; max-width: 42ch; }
.connect-copy nav { font-size: 14px; margin-bottom: 0; }
.connect-image { margin: 0; align-self: end; }
.connect-image img { display: block; width: 100%; height: 560px; object-fit: contain; object-position: center bottom; filter: grayscale(1) contrast(3); mix-blend-mode: screen; }
.connection-journey { border-top: 1px solid var(--rule); }
.connection-journey h2 { max-width: 700px; }
.connection-journey ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding-left: 24px; margin: 36px 0 24px; }
.connection-journey h3 { font-size: 18px; line-height: 1.4; font-weight: 500; margin: 0 0 12px; color: var(--white); }
.connection-journey li::marker { color: #eaff00; }
.connection-journey p { font-size: 15px; }
.manual-setup { margin: 0 0 40px; }
.manual-setup summary { min-height: 48px; }
@media (max-width: 760px) {
  header { flex-wrap: wrap; gap: 18px; padding: 22px 0; }
  header > span:nth-child(2) { max-width: 60%; text-align: right; }
  .header-link { width: 100%; justify-content: center; }
  .intro { padding-top: 48px; }
  .layout { grid-template-columns: 1fr; gap: 0; }
  aside { margin: 0 0 24px; padding: 32px 0 0; border-left: 0; border-top: 1px solid var(--rule); }
  .endpoint, pre { padding: 18px; }
  .connect-intro { grid-template-columns: 1fr; gap: 24px; padding-top: 16px; }
  .connect-copy h1 { font-size: 44px; }
  .connect-copy > p { font-size: 17px; }
  .connect-image { grid-row: 1; }
  .connect-image img { height: 260px; }
  .connect-copy { padding-bottom: 32px; }
  .connection-journey ol { grid-template-columns: 1fr; gap: 8px; }
}

/* Account, consent and recovery use the same Athos connection surface. */
.auth-page { min-height: 100svh; display: flex; flex-direction: column; font-weight: 400; overflow-wrap: anywhere; }
.auth-page header, .auth-page main, .auth-page footer { width: min(1080px, calc(100% - 48px)); }
.auth-page header { gap: 24px; }
.auth-page .wordmark { text-decoration: none; }
.auth-page main { flex: 1; padding: 32px 0 48px; }
.auth-page section { padding: 0; }
.auth-page h1 { font-size: 48px; line-height: 1.08; letter-spacing: -.03em; margin-bottom: 24px; }
.auth-page h2 { font-size: 28px; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 24px; }
.auth-page p { max-width: 54ch; }
.auth-page .auth-lead { color: var(--white); font: italic 32px/1.15 "Instrument Serif", Georgia, serif; margin-bottom: 24px; }
.auth-page .auth-lead em { font-weight: 400; }
.auth-story { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 24px; align-items: end; }
.auth-story > div { padding-bottom: 16px; }
.auth-story p { font-size: 15px; }
.auth-portrait { display: block; width: 100%; height: 340px; object-fit: contain; object-position: center bottom; filter: grayscale(1) contrast(3); mix-blend-mode: screen; }
.connection-steps { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0 0 56px; padding: 0; list-style-position: inside; }
.connection-steps li { font-size: 13px; padding: 0; color: var(--muted); }
.connection-steps [aria-current="step"] { color: #eaff00; }
.auth-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 80px; align-items: start; }
.auth-page .account-panel { border-top: 1px solid var(--rule); padding-top: 28px; }
.auth-page label { display: block; font-size: 15px; margin: 20px 0 8px; }
.auth-page input:not([type="hidden"]) { display: block; width: 100%; min-width: 0; height: 52px; border: 1px solid var(--rule); border-radius: 0; padding: 12px 14px; font: inherit; color: var(--white); background: transparent; caret-color: #eaff00; }
.auth-page input:not([type="hidden"]):focus { border-color: #eaff00; outline: 2px solid #eaff00; outline-offset: 3px; }
.auth-page input::placeholder { color: var(--muted); }
.auth-page button { width: 100%; min-height: 52px; padding: 14px 20px; border: 1px solid var(--white); border-radius: 0; font: 500 15px/1.4 Inter, Arial, sans-serif; cursor: pointer; transition: background-color 160ms ease-out, color 160ms ease-out; }
.auth-page .auth-primary { margin-top: 28px; color: var(--blue); background: #eaff00; border-color: #eaff00; }
.auth-page .auth-primary:hover { background: var(--white); border-color: var(--white); }
.auth-page .auth-primary:active { background: #eaff00; }
.auth-page .auth-secondary { color: var(--white); background: transparent; }
.auth-page .auth-secondary:hover { color: var(--blue); background: var(--white); }
.auth-page button:disabled { opacity: .6; cursor: wait; }
.auth-page .cancel-connection { margin-top: 24px; }
.auth-page details { margin-top: 24px; padding: 0; border: 0; }
.auth-page summary { min-height: 48px; padding: 12px 0; font-size: 15px; text-underline-offset: 5px; }
.auth-page summary:hover { text-decoration: underline; }
.auth-page #signup { border-top: 1px solid var(--rule); padding-top: 8px; }
.auth-page #signup[open] { margin-top: 0; border-top: 0; padding-top: 0; }
.auth-page #signup h2 { margin-top: 16px; }
.signup-open, #signup[open] .signup-closed { display: none; }
#signup[open] .signup-open { display: inline; }
.account-panel:has(#signup[open]) .sign-in-section { display: none; }
.auth-page .field-help { margin: 8px 0 0; font-size: 13px; }
.auth-page .auth-error { border: 1px solid #ff6b6b; background: rgba(255, 107, 107, .14); color: var(--white); padding: 14px 16px; margin-bottom: 20px; }
.auth-page .access-preview { border-top: 1px solid var(--rule); }
.auth-page .access-preview ul { padding-left: 20px; margin: 12px 0 0; }
.auth-consent, .auth-recovery { max-width: 680px; margin: 0 auto; }
.auth-consent ul { padding: 24px 0 16px 24px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.auth-consent li { padding: 0 0 16px 4px; }
.auth-consent form { display: flex; gap: 16px; margin-top: 28px; }
.auth-consent .auth-primary { margin-top: 0; }
.auth-page .return-note { font-size: 14px; margin-top: 20px; text-align: center; }
.auth-recovery { padding-top: 48px !important; }
.auth-recovery .resource { max-width: 360px; }
.auth-page footer { border-top: 1px solid var(--rule); padding: 24px 0; font-size: 13px; }
.auth-page { scrollbar-color: rgba(255, 255, 255, .6) var(--blue); }
@media (max-width: 760px) {
  .auth-page header { flex-wrap: nowrap; min-height: 84px; padding: 20px 0; }
  .auth-page header > span:nth-child(2) { margin-left: auto; max-width: none; }
  .auth-page main { padding-top: 24px; }
  .connection-steps { gap: 8px 16px; margin-bottom: 32px; }
  .connection-steps li { font-size: 12px; }
  .auth-layout { grid-template-columns: 1fr; gap: 32px; }
  .auth-page h1 { font-size: 36px; margin-bottom: 20px; }
  .auth-page .auth-lead { font-size: 28px; }
  .auth-page .auth-intro > p:not(.auth-lead) { margin-bottom: 12px; }
  .auth-page .access-preview { margin-top: 12px; }
  .auth-story { grid-template-columns: minmax(0, .65fr) minmax(0, 1fr); gap: 16px; }
  .auth-story > div { padding-bottom: 0; }
  .auth-story p { font-size: 14px; margin-bottom: 14px; }
  .auth-page .auth-portrait { height: 220px; }
  .auth-page .auth-lead { margin-bottom: 16px; }
  .auth-consent form { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .auth-page button { transition: none; } }
