/* Lucent Tutors, Daybreak design. Paper and sand bands, ink text, steel-blue lines, gold fills for the main action only. */
:root {
  --paper: #FBF7EF; --sand: #EFE6D3; --card: #FFFDF8; --ink: #1E2B3C; --blue: #2E5FA3;
  --gold: #C9973A; --muted: #566275; --line: #DDD2BC; --open: #7A4FB8; --open-soft: #F1EBFA;
  --display: "Lora", Georgia, serif; --body: "DM Sans", system-ui, sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100% }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--body); -webkit-font-smoothing: antialiased }
img { max-width: 100%; display: block }
a { color: var(--blue) }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px }
[hidden] { display: none !important }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)) }
.narrow { max-width: 760px }
h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: 1.15; text-wrap: balance; margin: 0 }
h1 { font-size: clamp(40px, 6vw, 68px); letter-spacing: -.015em; line-height: 1.05 }
h2 { font-size: clamp(28px, 3.8vw, 42px) }
h3 { font-size: 22px }
p { margin: 0 }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue) }
.lede { font-size: 19px; color: var(--muted); max-width: 60ch }
.muted { color: var(--muted) }
.small { font-size: 15px }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 24px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: var(--body); transition: transform .2s, box-shadow .2s, border-color .2s }
.btn--gold { background: var(--gold); color: var(--ink); box-shadow: 0 8px 24px -10px rgba(201, 151, 58, .9) }
.btn--gold:hover { transform: translateY(-2px) }
.btn--ghost { color: var(--ink); border-color: var(--line); background: transparent }
.btn--ghost:hover { border-color: var(--ink) }
.btn--ink { background: var(--ink); color: var(--paper) }
.ctas { display: flex; flex-wrap: wrap; gap: 14px }
section { padding-block: clamp(64px, 9vw, 110px) }
.band { background: var(--sand) }
.head { display: grid; gap: 14px; margin-bottom: 44px; max-width: 740px }
.stack { display: grid; gap: 18px }
.stack > * { min-width: 0 }

/* header */
header.site { position: sticky; top: 0; z-index: 30; background: rgba(251, 247, 239, .9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line) }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 24px; font-weight: 600; color: var(--ink); text-decoration: none }
.logo svg { width: 26px; height: 26px }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; font-size: 15px }
.nav ul a { color: var(--ink); text-decoration: none; opacity: .78 }
.nav ul a:hover, .nav ul a[aria-current=page] { opacity: 1; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 6px }
.nav .btn { padding: 11px 18px; font-size: 15px }
.menu { display: none; position: relative }
.menu summary { list-style: none; cursor: pointer; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 15px }
.menu summary::-webkit-details-marker { display: none }
.menu nav { position: absolute; right: 0; top: 52px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px; display: grid; min-width: 230px; box-shadow: 0 24px 40px -24px rgba(30, 43, 60, .4) }
.menu nav a { padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none }
.menu nav a:hover { background: var(--sand) }
.menu nav a.menu-apply { margin-top: 6px; background: var(--gold); color: var(--ink); font-weight: 600; text-align: center }
.menu nav a.menu-apply:hover { background: #b8862f; color: var(--ink) }
@media (max-width: 1080px) { .nav ul { display: none } .menu { display: block } }
@media (max-width: 520px) { .nav > .btn { display: none } }

/* hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 96px) }
.hero::before { content: ""; position: absolute; right: -10%; bottom: -55%; width: 900px; height: 900px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 151, 58, .42) 0%, rgba(201, 151, 58, .14) 38%, rgba(251, 247, 239, 0) 68%); pointer-events: none }
.hero .wrap { position: relative }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center }
.hero h1 em { font-style: italic; color: var(--blue) }
.hero .lede { margin-top: 24px }
.hero .ctas { margin-top: 34px }
.hero .note { margin-top: 16px; font-size: 15px; color: var(--muted) }
.arch { position: relative; justify-self: end; width: min(380px, 100%); margin: 0 }
.arch img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 24px 24px }
.arch figcaption { position: absolute; left: -36px; bottom: 36px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; font-size: 14px; line-height: 1.45; box-shadow: 0 20px 40px -24px rgba(30, 43, 60, .35) }
.arch figcaption b { display: block; font-family: var(--display); font-size: 17px; font-weight: 600 }
.horizon { margin-top: 64px; border-top: 1px solid var(--line); padding-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 40px; font-size: 15px; color: var(--muted) }
.horizon span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); margin-right: 10px; vertical-align: middle }
.pagehead { padding-block: clamp(48px, 7vw, 84px) clamp(32px, 5vw, 56px); position: relative; overflow: hidden }
.pagehead::before { content: ""; position: absolute; right: -200px; top: -380px; width: 700px; height: 700px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 151, 58, .3), transparent 65%); pointer-events: none }
.pagehead .wrap { position: relative; display: grid; gap: 18px }
.pagehead h1 { font-size: clamp(38px, 5.4vw, 60px); max-width: 18ch }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr } .arch { justify-self: start; width: min(320px, 80%) } .arch figcaption { left: auto; right: -12px } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 28px; counter-reset: s; list-style: none; margin: 0; padding: 0 }
.steps > li { position: relative; padding-top: 26px; border-top: 2px solid var(--ink); display: grid; gap: 10px; align-content: start }
.steps > li::before { counter-increment: s; content: "0" counter(s); font-family: var(--display); font-size: 15px; color: var(--blue); font-weight: 600 }
.steps p, .steps li li { color: var(--muted) }
.steps ul { margin: 0; padding-left: 1.1em; font-size: 15.5px }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr } }

/* cards and grids */
.grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 20px }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr)) } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: grid; gap: 10px; align-content: start }
.card p { color: var(--muted); font-size: 15.5px }
.card--dashed { border-style: dashed; background: rgba(251, 247, 239, .6) }
.card--ink { background: var(--ink); border-color: var(--ink); color: var(--paper) }
.card--ink p { color: #C6CEDA }
a.card { text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .25s }
a.card:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -28px rgba(30, 43, 60, .5) }
.k { font-size: 13px; color: var(--blue); font-weight: 600 }
.subjects { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden }
.subj { background: var(--paper); padding: 28px 24px 30px; display: grid; gap: 12px; align-content: start }
.subj h3 { font-size: 24px }
.subj ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 15px; color: var(--muted) }
.subj li::before { content: ""; display: inline-block; width: 14px; height: 1px; background: var(--blue); margin-right: 10px; vertical-align: middle }
@media (max-width: 900px) { .subjects { grid-template-columns: 1fr 1fr } }
@media (max-width: 520px) { .subjects { grid-template-columns: 1fr } }
.note-line { margin-top: 22px; font-size: 15px; color: var(--muted) }

/* founder */
.founder { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; background: var(--paper); border-radius: 28px; padding: 40px; border: 1px solid var(--line) }
.founder img { border-radius: 20px; aspect-ratio: 1; object-fit: cover }
.tag { display: inline-block; background: var(--ink); color: var(--paper); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; padding: 6px 12px; border-radius: 999px; justify-self: start }
.founder h2 { margin-top: 14px }
.founder p { color: var(--muted); margin-top: 14px; max-width: 60ch }
.creds { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px }
.creds span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; padding: 28px } .founder img { max-width: 240px } }
.vet { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--paper) }
.vet div { padding: 22px; border-right: 1px solid var(--line) }
.vet div:last-child { border-right: 0 }
.vet b { display: block; font-family: var(--display); font-size: 18px; font-weight: 600; margin-bottom: 6px }
.vet span { font-size: 14.5px; color: var(--muted) }
@media (max-width: 860px) { .vet { grid-template-columns: 1fr 1fr } .vet div { border-bottom: 1px solid var(--line) } }
@media (max-width: 520px) { .vet { grid-template-columns: 1fr } .vet div { border-right: 0 } }

/* quotes */
.quotes { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 22px }
blockquote { margin: 0; padding: 30px; border-radius: 22px; background: var(--sand); display: grid; gap: 18px; align-content: space-between }
blockquote p { font-family: var(--display); font-size: 19px; line-height: 1.5 }
blockquote footer { font-size: 14px; color: var(--muted) }
blockquote footer b { color: var(--ink); display: block }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr } }

/* pricing */
.price { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: grid; gap: 8px; align-content: start }
.price.feature { background: var(--ink); color: var(--paper); border-color: var(--ink) }
.price.feature .muted { color: #B9C2CF }
.price .lvl { font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase }
.price .amt { font-family: var(--display); font-size: 52px; line-height: 1; font-variant-numeric: tabular-nums }
.price .amt small { font-family: var(--body); font-size: 16px; opacity: .7 }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; background: var(--card) }
table { width: 100%; border-collapse: collapse; font-size: 16px; min-width: 560px }
th, td { text-align: left; padding: 16px 18px; border-bottom: 1px solid var(--line); vertical-align: top }
thead th { font-size: 13px; color: var(--muted); font-weight: 600; background: var(--paper) }
tbody th { font-family: var(--display); font-weight: 500; font-size: 19px }
tr:last-child > * { border-bottom: 0 }
td.num { font-variant-numeric: tabular-nums; font-weight: 600 }

/* placeholders and open decisions */
.ph { display: inline-block; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: .86em; font-weight: 600; color: var(--open); background: var(--open-soft); border: 1px dashed var(--open); border-radius: 6px; padding: 0 6px; overflow-wrap: anywhere }
.open { display: block; border: 1px dashed var(--open); background: var(--open-soft); border-radius: 14px; padding: 14px 16px; margin-block: 8px }
.open > .open-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--open); margin-bottom: 6px }
.reviewbar { position: fixed; left: max(16px, env(safe-area-inset-left, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 40; max-width: min(380px, calc(100vw - 32px)); background: var(--ink); color: var(--paper); border-radius: 16px; font-size: 14px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5) }
.reviewbar summary { cursor: pointer; padding: 10px 14px; font-weight: 600; list-style: none }
.reviewbar summary::-webkit-details-marker { display: none }
.reviewbar .body { padding: 0 14px 14px; display: grid; gap: 10px }
.reviewbar fieldset { border: 0; margin: 0; padding: 0; display: flex; gap: 12px; flex-wrap: wrap; align-items: center }
.reviewbar legend { padding: 0; margin-bottom: 4px; color: #C6CEDA; font-size: 13px }
.reviewbar label { display: inline-flex; gap: 6px; align-items: center }

/* forms */
form.f { display: grid; gap: 22px }
.f fieldset { border: 1px solid var(--line); border-radius: 18px; padding: 22px; margin: 0; display: grid; gap: 16px; background: var(--card) }
.f legend { font-family: var(--display); font-size: 21px; padding: 0 6px }
.field { display: grid; gap: 6px; min-width: 0 }
.field > label, .field > .label { font-weight: 600; font-size: 15.5px }
.hint { font-size: 14px; color: var(--muted) }
.f input[type=text], .f input[type=email], .f input[type=url], .f input[type=tel], .f select, .f textarea, .f input[type=file] { width: 100%; font: 400 16px var(--body); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px }
.f textarea { min-height: 110px; resize: vertical }
.f input:focus, .f textarea:focus, .f select:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue) }
.checks { display: flex; flex-wrap: wrap; gap: 10px 20px }
.checks label { display: inline-flex; gap: 8px; align-items: center; font-size: 15.5px }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px }
@media (max-width: 640px) { .two { grid-template-columns: 1fr } }
.formnote { font-size: 14.5px; color: var(--muted) }
.form-status:not(:empty) { margin-top: 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--sand); color: var(--ink); font-size: 16px }
.form-status.is-ok { border-color: #2E6B4F; background: #E7F3EC }
.form-status.is-bad { border-color: #8C3A3A; background: #F8EBEB }
.notice { border-radius: 14px; padding: 14px 18px; background: var(--sand); font-size: 15.5px }

/* faq */
details.q { border-bottom: 1px solid var(--line); padding: 20px 0 }
details.q:first-of-type { border-top: 1px solid var(--line) }
details.q summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-family: var(--display); font-size: 20px }
details.q summary::-webkit-details-marker { display: none }
details.q summary::after { content: "+"; color: var(--blue); font-family: var(--body); font-size: 24px; line-height: 1; transition: transform .25s }
details.q[open] summary::after { transform: rotate(45deg) }
details.q > div { margin-top: 12px; color: var(--muted); max-width: 64ch; display: grid; gap: 10px }
.faqgroup + .faqgroup { margin-top: 48px }
.faqgroup h2 { font-size: 26px; margin-bottom: 14px }

/* lists of links */
.linklist { display: grid; gap: 10px }
.linklist a { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 16px 20px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; transition: border-color .2s, transform .2s }
.linklist a:hover { border-color: var(--blue); transform: translateX(4px) }
.linklist a span { font-size: 13px; color: var(--muted); font-weight: 400 }

/* article */
article.guide { max-width: 700px; margin: 0 auto; font-family: "Lora", Georgia, serif; font-size: 18.5px; line-height: 1.7 }
article.guide h2 { font-size: 28px; margin: 44px 0 12px }
article.guide p, article.guide li { margin: 0 0 16px }
article.guide ul, article.guide ol { padding-left: 1.2em }
article.guide .box { background: var(--sand); border-radius: 14px; padding: 22px 26px; margin: 28px 0; font-size: 17px }
article.guide .box b { font-family: var(--body); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; display: block; margin-bottom: 8px; color: var(--blue) }
article.guide .box p:last-child, article.guide .box ul:last-child { margin-bottom: 0 }
article.guide .tbl { overflow-x: auto; margin: 22px 0 }
article.guide table { font-family: var(--body); font-size: 15px; min-width: 480px }
article.guide td:first-child { font-weight: 600; white-space: nowrap }

/* join panel and contact */
.join { background: var(--ink); color: var(--paper); border-radius: 32px; padding: clamp(32px, 6vw, 64px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; position: relative; overflow: hidden }
.join::after { content: ""; position: absolute; left: -200px; top: -300px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(201, 151, 58, .28), transparent 65%); pointer-events: none }
.join > * { position: relative; z-index: 1 }
.join .eyebrow { color: #E3C07C }
.join p { color: #C6CEDA }
.join ol { margin: 0; padding: 0; list-style: none; display: grid; counter-reset: j }
.join li { display: grid; grid-template-columns: 40px 1fr; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12) }
.join li::before { counter-increment: j; content: counter(j); width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); display: grid; place-items: center; font-size: 14px }
.join li span { display: block; font-size: 15px; color: #AEB8C6 }
@media (max-width: 860px) { .join { grid-template-columns: 1fr } }
.cta-band { position: relative; overflow: hidden }
.cta-band::before { content: ""; position: absolute; left: 50%; bottom: -420px; transform: translateX(-50%); width: 1100px; height: 700px; border-radius: 50%; background: radial-gradient(ellipse, rgba(201, 151, 58, .38), transparent 62%); pointer-events: none }
.cta-band .wrap { position: relative; display: grid; gap: 18px }
.cta-band h2 { font-size: clamp(36px, 5.4vw, 64px); max-width: 16ch }
.routes { display: flex; flex-wrap: wrap; gap: 12px 36px; font-size: 15.5px; color: var(--muted) }
.routes b { color: var(--ink); font-weight: 500; user-select: all }

footer.site { border-top: 1px solid var(--line); padding-block: 40px 56px; font-size: 14.5px; color: var(--muted) }
footer.site .cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px }
footer.site h3 { font-family: var(--body); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--ink); margin-bottom: 10px }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px }
footer.site a { color: var(--muted); text-decoration: none }
footer.site a:hover { color: var(--ink); text-decoration: underline }
@media (max-width: 760px) { footer.site .cols { grid-template-columns: 1fr 1fr } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important } }
