:root {
  --bg: #EEF1F4;
  --card: #FFFFFF;
  --text: #1E2A3A;
  --muted: #5E6B7C;
  --navy: #1E2A3A;
  --navy-2: #263548;
  --on-navy: #FFFFFF;
  --on-navy-muted: #B4BECB;
  --brass: #B8862B;
  --brass-text: #8A6420;
  --cream: #F1E6C8;
  --border: #E3E7EC;
  --chip: #DDE2E8;
  --danger: #A33A2A;
  --radius: 16px;
  --wrap: 1080px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F1620;
    --card: #1A2431;
    --text: #E8ECF1;
    --muted: #93A0B1;
    --navy: #16202C;
    --navy-2: #2B3C52;
    --on-navy-muted: #93A0B1;
    --brass: #C99A3E;
    --brass-text: #C99A3E;
    --border: #2A3646;
    --chip: #243142;
    --danger: #E58572;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0F1620; --card: #1A2431; --text: #E8ECF1; --muted: #93A0B1; --navy: #16202C; --navy-2: #2B3C52;
  --on-navy-muted: #93A0B1; --brass: #C99A3E; --brass-text: #C99A3E; --border: #2A3646; --chip: #243142;
  --danger: #E58572; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--brass-text); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; margin: 0; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.muted { color: var(--muted); }


/* Header */
.site-header { background: var(--card); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 17px; white-space: nowrap; }
.logo:hover { text-decoration: none; }
.logo img { width: 34px; height: 34px; border-radius: 8px; }
.site-nav ul { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--muted); font-size: 15px; font-weight: 500; }
.site-nav a:hover { color: var(--text); text-decoration: none; }

/* Hero */
.hero { background: var(--navy); color: var(--on-navy); padding: clamp(56px, 8vw, 96px) 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.hero .app-icon { width: 76px; height: 76px; border-radius: 17px; margin-bottom: 28px; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.hero h1 { font-size: clamp(36px, 5.4vw, 56px); font-weight: 800; }
.hero .kicker { color: var(--brass); font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 14px; }
.hero .lede { color: var(--on-navy-muted); font-size: clamp(17px, 2vw, 19px); margin: 20px 0 32px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.store-badge { display: inline-flex; align-items: center; gap: 10px; background: #000; color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 12px; padding: 9px 18px 9px 14px; line-height: 1.1; }
.store-badge:hover { text-decoration: none; }
.store-badge svg { width: 22px; height: 22px; fill: currentColor; }
.store-badge small { display: block; font-size: 11px; opacity: .85; }
.store-badge b { font-size: 19px; font-weight: 600; }
.hero .text-link { color: var(--on-navy); font-weight: 600; font-size: 16px; }
.hero .text-link::after { content: " \203A"; color: var(--brass); }

/* Screenshot placeholders */
.phone { width: min(280px, 100%); aspect-ratio: 9 / 19.5; margin-left: auto; border-radius: 40px; background: var(--navy-2); border: 8px solid #0B1118; display: grid; place-items: center; text-align: center; color: var(--on-navy-muted); font-size: 14px; padding: 24px; }
.shot { border-radius: 12px; background: var(--chip); display: grid; place-items: center; text-align: center; color: var(--muted); font-size: 14px; padding: 20px; aspect-ratio: 4 / 3; }

/* Sections */
.section { padding: clamp(56px, 8vw, 88px) 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(28px, 3.6vw, 38px); font-weight: 800; }
.section-head p { color: var(--muted); margin: 12px 0 0; font-size: 18px; }
.label { color: var(--brass-text); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }

.card { background: var(--card); border-radius: var(--radius); padding: 28px; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feature h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.feature > p { color: var(--muted); }
.feature ul { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px solid var(--border); }
.feature li { padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 15px; color: var(--muted); }
.feature li:last-child { border-bottom: 0; padding-bottom: 0; }
.feature li b { color: var(--text); font-weight: 600; display: block; font-size: 16px; }

/* Faculty */
.faculty { background: var(--card); }
.faculty-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.person { display: flex; gap: 18px; align-items: flex-start; background: var(--bg); border-radius: var(--radius); padding: 24px; }
.initials { flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--cream); display: grid; place-items: center; font-weight: 700; font-size: 18px; }
.person .photo { flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover; background: var(--chip); }
.person[role="button"] { cursor: pointer; transition: box-shadow .15s; }
.person[role="button"]:hover { box-shadow: 0 0 0 2px var(--border); }
.person[role="button"]:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.faculty-grid { grid-auto-flow: dense; }
.person[role="button"] { flex-wrap: wrap; scroll-margin-top: 84px; }
.person.open { grid-column: 1 / -1; }
.person > div:not(.bio) { flex: 1 1 0; min-width: 0; }
.person.open .photo { width: 96px; height: 96px; }
.bio-toggle { display: inline-block; margin-top: 10px; color: var(--brass-text); font-weight: 600; font-size: 14px; }
.bio-toggle::after { content: " \203A"; }
.person.open .bio-toggle::after { content: ""; }
.bio { flex: 1 1 100%; margin-top: 4px; padding-top: 18px; border-top: 1px solid var(--border); max-width: 52em; }
.bio p { color: var(--text) !important; font-size: 16px !important; line-height: 1.6; margin: 0 0 1em !important; }
.bio p:last-child { margin-bottom: 0 !important; }
.person h3 { font-size: 19px; font-weight: 700; margin: 4px 0 6px; }
.person p { color: var(--muted); font-size: 15px; margin: 0; }
.faculty .more { color: var(--muted); margin: 20px 0 0; font-size: 15px; }

/* Pricing */
.plans { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.plan h3 { font-size: 20px; font-weight: 700; }
.plan .price { font-size: 36px; font-weight: 800; margin: 14px 0 2px; letter-spacing: -0.02em; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan .note { color: var(--muted); font-size: 14px; min-height: 2.6em; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 0; }
.plan li { position: relative; padding: 7px 0 7px 26px; font-size: 15px; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px; border-left: 2px solid var(--brass); border-bottom: 2px solid var(--brass); transform: rotate(-45deg); }
.plan li.no { color: var(--muted); }
.plan li.no::before { border: 0; height: 2px; top: 17px; background: var(--muted); transform: none; width: 11px; opacity: .6; }
.plan-more { color: var(--muted); font-size: 14px; margin: 14px 0 0; padding-top: 12px; border-top: 1px solid var(--border); }
.plan.pro { background: var(--navy); color: var(--on-navy); padding: 32px; box-shadow: 0 12px 32px rgba(30,42,58,.18); }
.plan.pro h3 { font-size: 26px; }
.plan.pro .price { font-size: 44px; }
.plan.pro .billing { max-width: 420px; }
.pro-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 28px; margin-top: 18px; }
.pro-groups ul { margin-top: 4px !important; }
.pro-group { color: var(--brass); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin: 14px 0 0; }
.plan.pro .price small, .plan.pro .note { color: var(--on-navy-muted); }
.plan.pro h3 { color: var(--cream); }
.billing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 14px 0 0 !important; }
.billing li { padding: 8px 6px !important; background: rgba(255,255,255,.07); border-radius: 10px; text-align: center; font-size: 13px !important; color: var(--on-navy-muted); }
.billing li::before { display: none; }
.billing li b { display: block; color: var(--on-navy); font-size: 16px; }
.plan-plus { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px 36px; align-items: start; margin-bottom: 16px; border: 2px solid var(--brass); }
.plan-plus h3 { font-size: 24px; font-weight: 700; }
.plan-plus h3.gold { color: var(--brass); font-weight: 800; }
.plan-plus .price { font-size: 36px; font-weight: 800; margin: 10px 0 2px; letter-spacing: -0.02em; }
.plan-plus .price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan-plus .note { color: var(--muted); font-size: 14px; margin: 0; }
.plan-plus ul { list-style: none; padding: 0; margin: 0; }
.plan-plus li { position: relative; padding: 7px 0 7px 26px; font-size: 15px; }
.plan-plus li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 12px; height: 7px; border-left: 2px solid var(--brass); border-bottom: 2px solid var(--brass); transform: rotate(-45deg); }
.fine { color: var(--muted); font-size: 13px; margin-top: 20px; }

/* FAQ */
.faq { background: var(--card); border-radius: var(--radius); overflow: hidden; }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 24px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); color: var(--brass); font-size: 22px; font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq .answer { padding: 0 24px 18px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

/* Inner pages */
.page-head { background: var(--navy); color: var(--on-navy); padding: clamp(44px, 6vw, 64px) 0; }
.page-head h1 { font-size: clamp(32px, 4.4vw, 44px); font-weight: 800; }
.page-head .lede { color: var(--on-navy-muted); margin: 12px 0 0; font-size: 18px; }
.draft-flag { display: inline-block; background: var(--brass); color: #fff; font-size: 13px; font-weight: 600; border-radius: 8px; padding: 5px 10px; margin-bottom: 18px; }
.doc { padding: 40px 0 72px; }
.doc-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
.toc { position: sticky; top: 84px; font-size: 14px; }
.toc p { font-weight: 700; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--border); }
.toc a { display: block; padding: 5px 0 5px 14px; color: var(--muted); margin-left: -2px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--text); border-left-color: var(--brass); text-decoration: none; }
.prose { background: var(--card); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); min-width: 0; }
.prose h2 { font-size: 22px; font-weight: 700; margin: 36px 0 10px; }
.prose h2:first-child, .prose .meta + p + h2 { margin-top: 0; }
.prose h3 { font-size: 17px; font-weight: 700; margin: 20px 0 6px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin: 4px 0; }
.prose .meta { font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--border); padding-bottom: 16px; margin-bottom: 20px; }
.placeholder-text { background: rgba(184, 134, 43, .16); font-style: normal; border-radius: 4px; padding: 0 4px; }
.path { font-weight: 600; white-space: nowrap; }
.help-card { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: var(--navy); color: var(--on-navy); border-radius: var(--radius); padding: 28px; margin-bottom: 16px; }
.help-card h2 { font-size: 22px; font-weight: 700; margin-bottom: 6px; color: var(--cream); }
.help-card p { color: var(--on-navy-muted); margin: 0; }
.button { display: inline-block; background: var(--brass); color: #fff; font-weight: 700; border-radius: 12px; padding: 13px 22px; white-space: nowrap; }
.button:hover { text-decoration: none; filter: brightness(1.06); }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 15px; margin: 0 0 1em; }
th, td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-weight: 600; }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-navy-muted); padding: 48px 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) 1fr 1fr; gap: 32px; }
.site-footer .logo { color: var(--on-navy); margin-bottom: 12px; }
.site-footer h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--on-navy); margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: var(--on-navy-muted); }
.site-footer a:hover { color: var(--on-navy); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px; padding-top: 20px; font-size: 13px; }

/* Three pillars and the tool list */
.pillar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.faculty-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tool-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; list-style: none; padding: 0; margin: 0; }
.tool-list li { padding: 14px 0; border-top: 1px solid var(--border); font-size: 15px; color: var(--muted); }
.tool-list li b { display: block; color: var(--text); font-weight: 600; font-size: 16px; }
.plan.pro .tag { display: inline-block; background: var(--brass); color: #fff; font-size: 12px; font-weight: 700; border-radius: 6px; padding: 3px 8px; margin-left: 8px; vertical-align: 2px; }
.plans-alt { display: grid; gap: 16px; }

.pro-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-top: 16px; background: var(--navy); color: var(--on-navy-muted); border-radius: var(--radius); padding: 22px 28px; }
.pro-cta p { margin: 0; font-size: 17px; }
.pro-cta b { color: var(--on-navy); }
.pro-cta .label { color: var(--brass); margin: 0 0 6px; font-size: 13px; }
.pro-cta-link { background: var(--brass); color: #1E2A3A; font-weight: 700; padding: 12px 20px; border-radius: 12px; text-decoration: none; white-space: nowrap; }
.pro-cta-link:hover { filter: brightness(1.06); }

.pillar-grid .feature { border-top: 4px solid var(--brass); }
.feature h3.pillar-name { font-size: clamp(28px, 3vw, 34px); font-weight: 800; margin-bottom: 4px; letter-spacing: -.01em; }
.feature .pillar-tag { color: var(--brass-text); font-weight: 700; font-size: 17px; margin: 0 0 12px; }

/* iPad screenshots */
.ipad { background: #05080C; border-radius: 7% / 5.2%; padding: 3.6% 3.6%; box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 24px 60px rgba(0,0,0,.35); }
.ipad img { display: block; width: 100%; height: auto; border-radius: 2.4% / 1.8%; background: #EEF1F4; }
.hero .ipad { width: min(380px, 100%); margin-left: auto; }
.on-stand { background: var(--navy); color: var(--on-navy); }
.on-stand .section-head p { color: var(--on-navy-muted); }
.on-stand .label { color: var(--brass); }
.stand-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; align-items: center; }
.stand-points { list-style: none; padding: 0; margin: 0; }
.stand-points li { padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); color: var(--on-navy-muted); font-size: 16px; }
.stand-points li:first-child { border-top: 0; padding-top: 0; }
.stand-points b { display: block; color: var(--on-navy); font-weight: 700; font-size: 18px; margin-bottom: 2px; }
.shot-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: clamp(48px, 7vw, 80px); }
.shot-row figure { margin: 0; }
.shot-row figcaption { margin-top: 16px; color: var(--on-navy-muted); font-size: 15px; }
.shot-row figcaption b { display: block; color: var(--on-navy); font-size: 16px; font-weight: 700; }

/* One page at a time in the preview */

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .phone { margin: 8px auto 0; width: 200px; border-radius: 32px; }
  .hero .ipad { margin: 8px auto 0; width: min(320px, 80%); }
  .stand-grid { grid-template-columns: 1fr; gap: 36px; }
  .stand-grid .ipad { max-width: 520px; margin: 0 auto; }
  .shot-row { gap: 20px; }
  .plans { grid-template-columns: 1fr; }
  .pro-groups { grid-template-columns: 1fr; }
  .plan-plus { grid-template-columns: 1fr; }
  .pillar-grid, .faculty-grid.three { grid-template-columns: 1fr; }
  .tool-list { grid-template-columns: 1fr 1fr; }
  .doc-grid { grid-template-columns: 1fr; }
  .toc { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-nav { display: none; }
  .feature-grid, .faculty-grid { grid-template-columns: 1fr; }
  .tool-list { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .help-card { flex-direction: column; align-items: flex-start; }
  .shot-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 8px; }
  .shot-row figure { flex: 0 0 68%; scroll-snap-align: center; }
}

/* Launch dates and founding member call-out (pricing section) */
.launch-steps { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.launch-steps li { background: var(--card); border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; border-top: 4px solid var(--brass); }
.launch-steps .when { color: var(--brass-text, var(--brass)); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.launch-steps b { font-size: 18px; }
.launch-steps span:last-child { color: var(--muted); font-size: 15px; }
.founding-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; background: var(--navy); color: var(--on-navy); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 16px; }
.founding-cta h3 { font-size: 22px; font-weight: 700; color: var(--cream); margin-bottom: 6px; }
.founding-cta p { color: var(--on-navy-muted); margin: 0; }
@media (max-width: 760px) {
  .launch-steps { grid-template-columns: minmax(0, 1fr); }
  .founding-cta { flex-direction: column; align-items: flex-start; }
}

/* Beta tag on tools that are still in testing */
.tool-list .beta { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 6px; background: var(--brass); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; vertical-align: 2px; }

/* Alumni: where former students play now */
.alumni-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; list-style: none; padding: 0; margin: 0; }
.alumni-list li { padding: 16px 0; border-top: 1px solid var(--border); font-size: 15px; color: var(--muted); }
.alumni-list li b { display: block; color: var(--text); font-weight: 700; font-size: 18px; margin-bottom: 2px; }
@media (max-width: 900px) { .alumni-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .alumni-list { grid-template-columns: 1fr; } }
