:root {
  --ink: #1C2B40;
  --ink-2: #3D4A5E;
  --muted: #5B6576;
  --ground: #F7F8FB;
  --surface: #FFFFFF;
  --line: #E3E8EF;
  --field: #C9D1DC;
  --placeholder: #DCE3EC;
  --accent: #83428B;
  --accent-strong: #5E2D64;
  --accent-tint: #EFE4F1;
  --on-dark-muted: #C8D2E0;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --logo: 'Titan One', var(--display);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--ground); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--accent); }
a:hover { color: var(--accent-strong); }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 800; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 40%, transparent); outline-offset: 2px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* One column throughout: everything lives in a 44rem strip, centered. */
.wrap { max-width: 44rem; margin: 0 auto; padding-inline: 20px; }

/* Header */
/* Pages other than home start with a small logo; the home page's is the hero. */
.site-header { padding-block: 20px; }
.site-header .wrap { display: flex; justify-content: flex-start; }
/* The name is the brand color wherever it appears; the hero's h1 matches. */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--accent); }
.brand:hover { color: var(--accent-strong); }
.brand img { width: auto; height: 44px; display: block; }
/* Titan One ships a single weight, so it is never bolded. */
.brand span { font-family: var(--logo); font-weight: 400; font-size: 30px; letter-spacing: 0.01em; }


/* Hero */
/* A little wider than the rest, so the form and the phone fit side by side. */
.hero { max-width: 52rem; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; padding-block: 36px 56px; }
.hero-robot { display: block; width: clamp(140px, 40vw, 180px); height: auto; filter: drop-shadow(0 18px 20px rgba(28, 43, 64, 0.18)); }
.wordmark { font-family: var(--logo); font-weight: 400; font-size: clamp(3rem, 14vw, 6rem); line-height: 0.95; letter-spacing: 0.01em; margin-top: 4px; color: var(--accent); }
.tagline { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 5.5vw, 2.25rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); margin-top: -8px; }
.lede { font-size: 18px; line-height: 1.6; color: var(--ink-2); text-align: left; }

/* The intro and form, with the app beside them where there is room. */
.hero-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px 40px; width: 100%; margin-top: 12px; text-align: left; }
.hero-main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
@media (min-width: 760px) {
  .phone { margin-top: 0; }
  .hero-body { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; }
  .phone { position: sticky; top: 24px; }
}

/* A phone showing the app: two screenshots that take turns. */
.phone { margin: 16px 0 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.phone-screen { position: relative; width: min(300px, 72vw); aspect-ratio: 600 / 1304; border-radius: 44px; padding: 10px; background: #15181F; box-shadow: 0 24px 48px rgba(28, 43, 64, 0.22), inset 0 0 0 2px #3A3F4B; }
.phone-shot { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: cover; border-radius: 34px; }
.phone-shot-second { opacity: 0; animation: phone-crossfade 9s ease-in-out infinite; }
@keyframes phone-crossfade {
  0%, 42% { opacity: 0; }
  50%, 92% { opacity: 1; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .phone-shot-second { animation: none; }
}
.phone figcaption { font-size: 14px; font-weight: 500; color: var(--muted); text-align: center; }

/* The one promise that matters most, on its own band. */
.statement { background: var(--accent-tint); padding-block: 56px; }
.statement .wrap { display: flex; flex-direction: column; gap: 16px; }
.statement h2 { font-size: clamp(1.75rem, 6vw, 2.5rem); line-height: 1.08; letter-spacing: -0.03em; color: var(--accent-strong); max-width: 30rem; }
.statement p { font-size: 18px; line-height: 1.6; color: var(--ink-2); max-width: 38rem; }

/* Signup form */
.signup { display: flex; flex-direction: column; gap: 18px; width: 100%; margin-top: 4px; padding: 28px 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); text-align: left; }
.signup-title { font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.15; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.label { font-weight: 700; font-size: 14px; }
.optional { font-weight: 500; color: var(--muted); }
.hint { font-size: 13px; line-height: 1.5; color: var(--muted); }
.status { font-size: 13px; line-height: 1.5; color: var(--accent-strong); font-weight: 500; }
.status:empty { display: none; }

.platforms { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.platforms legend { font-weight: 700; font-size: 14px; margin-bottom: 8px; padding: 0; }
.platform { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--field); background: var(--surface); font-weight: 500; font-size: 15px; cursor: pointer; }
.platform:has(input:checked) { border-color: var(--ink); font-weight: 700; }
.platform input { accent-color: var(--accent); margin: 0; }

.input, .select { width: 100%; min-height: 56px; padding: 0 20px; border-radius: 16px; border: 2px solid var(--field); background: var(--surface); font: inherit; font-size: 17px; color: var(--ink); }
/* The native caret sits flush against the edge, so draw our own, 20px in from it. */
.select { appearance: none; -webkit-appearance: none; padding: 0 52px 0 20px; text-overflow: ellipsis; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%233D4A5E' stroke-width='2.25' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 20px center; background-size: 20px 20px; }
.input:focus-visible, .select:focus-visible { border-color: var(--accent); }

.combo { display: flex; min-height: 56px; border-radius: 16px; border: 2px solid var(--field); background: var(--surface); overflow: hidden; }
.combo:focus-within { border-color: var(--accent); outline: 3px solid color-mix(in srgb, var(--accent) 40%, transparent); outline-offset: 2px; }
.combo input { flex: 1 1 auto; min-width: 0; border: 0; padding: 0 16px 0 20px; background: transparent; font: inherit; font-size: 17px; color: var(--ink); }
.combo input:focus-visible { outline: none; }
.locate { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin: 4px; padding: 0 12px; border: 0; border-radius: 12px; background: var(--accent-tint); color: var(--accent-strong); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.locate:disabled { cursor: progress; opacity: 0.7; }
.combo-wrap { position: relative; }
.suggestions { position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 10; margin: 0; padding: 4px; max-height: 280px; overflow-y: auto; list-style: none; border-radius: 16px; border: 2px solid var(--field); background: var(--surface); box-shadow: 0 8px 24px color-mix(in srgb, var(--ink) 16%, transparent); }
.suggestions li { display: flex; flex-wrap: wrap; gap: 0 8px; padding: 12px 16px; border-radius: 12px; font-size: 16px; color: var(--ink); cursor: pointer; }
.suggestions li span { color: var(--muted); }
.suggestions li:hover, .suggestions li[aria-selected="true"] { background: var(--accent-tint); }
/* On a phone the label would crowd the field out, so the button is its icon
   alone; its aria-label keeps the name. */
@media (max-width: 479px) {
  .locate { padding: 0 13px; }
  .locate span { display: none; }
}

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 32px; border: 0; border-radius: 16px; background: var(--accent); color: #FFFFFF; font: inherit; font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--accent-strong); color: #FFFFFF; }
.btn:disabled { opacity: 0.6; cursor: progress; }
.signup .btn { align-self: stretch; }

.success { width: 100%; text-align: left; padding: 24px 28px; border-radius: 20px; background: var(--surface); border: 2px solid var(--accent-tint); }
.success h2 { font-size: 28px; letter-spacing: -0.02em; margin-bottom: 6px; }
.success p { font-size: 17px; color: var(--ink-2); }


/* Sections */
.section { padding-block: 64px 56px; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.section-title { font-size: clamp(1.75rem, 7vw, 2.25rem); line-height: 1.1; letter-spacing: -0.03em; }
.cards { display: flex; flex-direction: column; gap: 36px; width: 100%; }
.card { min-width: 0; display: grid; grid-template-columns: 28px 1fr; column-gap: 14px; row-gap: 6px; align-items: start; }
.card .icon-tile { grid-row: 1; grid-column: 1; }
.card h3 { grid-row: 1; grid-column: 2; }
.card p { grid-row: 2; grid-column: 2; }
.card h3 { font-size: 20px; font-weight: 700; line-height: 28px; }
.card p { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.icon-tile { width: 28px; height: 28px; color: var(--ink); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.icon-tile.lg { width: 28px; height: 28px; }
.icon-tile svg { width: 100%; height: 100%; }

.cta-wrap { padding-block: 56px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 28px; border-radius: 28px; background: var(--ink); color: #FFFFFF; }
.cta-copy { display: flex; align-items: center; gap: 18px; }
.cta-copy img { width: 72px; height: 72px; border-radius: 16px; flex: 0 0 auto; }
.cta h2 { font-size: 26px; letter-spacing: -0.02em; }
.cta p { font-size: 17px; color: var(--on-dark-muted); margin-top: 6px; }
.cta .btn { background: #FFFFFF; color: var(--accent-strong); padding: 0 28px; }
.cta .btn:hover { background: var(--accent-tint); color: var(--accent-strong); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-block: 32px 48px; display: flex; flex-direction: column; gap: 16px; }
.footer-row { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--muted); }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.disclaimer { font-size: 13px; line-height: 1.5; color: var(--muted); }

/* About page */
.about-intro { padding-block: 16px 40px; display: flex; flex-direction: column; gap: 20px; }
.about-intro h1 { font-size: clamp(2.25rem, 9vw, 3.25rem); line-height: 1.02; letter-spacing: -0.035em; }
.panel { display: flex; gap: 14px; align-items: flex-start; padding: 28px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); }
.panel .icon-tile { margin-top: 3px; }
.panel-copy { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.panel h2 { font-size: 24px; letter-spacing: -0.02em; }
.body-copy { font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 46rem; }
.oss { padding-bottom: 32px; }

#team { scroll-margin-top: 24px; }
.section-head { display: flex; flex-direction: column; gap: 12px; }
.section-head p { font-size: 18px; color: var(--ink-2); }
.people { display: flex; flex-direction: column; gap: 40px; width: 100%; }
.person { display: flex; align-items: flex-start; gap: 20px; }
/* The circle sits a little below the name's line box, so its top edge lines
   up with the capitals rather than the space above them. */
.person-photo { flex: 0 0 auto; width: 96px; height: 96px; margin-top: 3px; border-radius: 50%; object-fit: cover; background: var(--placeholder); }
.photo-fpo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; color: var(--muted); }
.person-copy { display: flex; flex-direction: column; gap: 10px; }
.person h3 { font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.person h3 a { color: var(--ink); text-decoration-color: var(--field); text-underline-offset: 4px; }
.person h3 a:hover { color: var(--accent); }
.person p { font-size: 16px; line-height: 1.55; color: var(--ink-2); }

.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: 15px; align-self: flex-start; }
.overture { padding-block: 64px; display: flex; flex-direction: column; gap: 24px; }
.overture-head { display: flex; align-items: center; gap: 14px; }
.overture-body { display: flex; flex-direction: column; gap: 24px; padding-left: 42px; }
.overture-body h3 { font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.about-cta { padding-top: 0; }

/* Privacy and Community Guidelines, rendered from markdown by build.mjs */
.document { max-width: 44rem; padding-block: 24px 88px; overflow-wrap: break-word; }
.document h1 { font-size: clamp(2rem, 5vw, 3rem); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 12px; }
.document h2 { font-size: 1.5rem; letter-spacing: -0.02em; margin: 40px 0 12px; }
.document h3 { font-size: 1.125rem; margin: 24px 0 8px; }
.document p, .document li { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.document p { margin-block: 12px; }
.document li { margin-block: 8px; }
.document ul { padding-left: 1.25rem; }
.document em { color: var(--muted); }
