:root{--bg:#0b1020;--card:#141a30;--card2:#1b2342;--txt:#e8ecff;--mut:#97a0c8;--pri:#6c8cff;--ok:#2ecc8f;--bad:#ff5d6c;--warn:#ffb84d;--r:16px}
@media (prefers-color-scheme:light){:root{--bg:#f3f5fb;--card:#fff;--card2:#eef1fb;--txt:#161b33;--mut:#5b6385}}
*{box-sizing:border-box}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;background:var(--bg);color:var(--txt);min-height:100vh;line-height:1.5}
header{display:flex;align-items:center;gap:12px;padding:12px 16px;position:sticky;top:0;background:var(--bg);border-bottom:1px solid #8883;z-index:5;flex-wrap:wrap}
header h1{font-size:18px;margin:0;flex:1;min-width:160px}
nav{display:flex;gap:6px;flex-wrap:wrap}
button,select,input,textarea{font:inherit;color:inherit}
.tab,.btn{background:var(--card2);border:1px solid #8883;padding:9px 14px;border-radius:12px;cursor:pointer}
.tab.active,.btn.pri{background:var(--pri);color:#fff;border-color:transparent}
.btn.ok{background:var(--ok);color:#06231a;border:0}.btn.bad{background:var(--bad);color:#fff;border:0}
.btn:disabled{opacity:.5;cursor:not-allowed}
:focus-visible{outline:3px solid var(--warn);outline-offset:2px}
main{max-width:960px;margin:0 auto;padding:16px}
.card{background:var(--card);border:1px solid #8882;border-radius:var(--r);padding:16px;margin-bottom:14px}
.row{display:flex;gap:10px;flex-wrap:wrap;align-items:flex-end}.row>*{flex:1;min-width:140px}
input,select,textarea{background:var(--card2);border:1px solid #8883;border-radius:10px;padding:10px;width:100%}
textarea{min-height:80px;resize:vertical}
label{font-size:12px;color:var(--mut);display:block;margin:6px 0 4px}
h2,h3{margin:.2em 0 .5em}
.mut{color:var(--mut)}.err{color:var(--bad)}
#chat{height:52vh;overflow:auto;display:flex;flex-direction:column;gap:10px}
.msg{padding:10px 14px;border-radius:14px;max-width:90%;white-space:pre-wrap;word-wrap:break-word}
.u{align-self:flex-end;background:var(--pri);color:#fff}.a{align-self:flex-start;background:var(--card2)}
.timer{font-variant-numeric:tabular-nums;font-size:24px;font-weight:700;padding:6px 14px;border-radius:12px;background:var(--card2);text-align:center;flex:0 0 auto}
.timer.low{background:var(--bad);color:#fff;animation:p 1s infinite}@keyframes p{50%{opacity:.65}}
.opt{display:block;width:100%;text-align:left;margin:8px 0;padding:12px;border-radius:12px;background:var(--card2);border:2px solid transparent;cursor:pointer}
.opt.sel{border-color:var(--pri)}.opt.right{border-color:var(--ok)}.opt.wrong{border-color:var(--bad)}
.bar{height:8px;background:#8883;border-radius:8px;overflow:hidden}.bar>i{display:block;height:100%;background:var(--pri)}
.grid{display:flex;flex-wrap:wrap;gap:6px}
.dot{width:36px;height:36px;border-radius:9px;background:var(--card2);border:0;cursor:pointer}
.dot.ans{background:var(--pri);color:#fff}.dot.cur{outline:2px solid var(--warn)}
.rat{background:var(--card2);border-left:4px solid var(--warn);padding:10px;border-radius:8px;margin-top:8px;white-space:pre-wrap}
.pill{display:inline-block;font-size:11px;padding:2px 8px;border-radius:99px;background:var(--card2);margin-right:6px}
.pill.warn{background:var(--warn);color:#2a1d00}
pre{white-space:pre-wrap;background:var(--card2);padding:12px;border-radius:10px;max-height:60vh;overflow:auto}


/* Timed exam: clearly distinguish questions flagged for rechecking. */
.dot.flagged {
  outline: 2px solid #d32f2f;
  outline-offset: 1px;
}


/* Responsive, accessible computer-based testing workspace */
.cbt-shell { width: 100%; max-width: 1200px; margin: 0 auto; }
.cbt-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 16px; position: sticky; top: 8px; z-index: 4;
  box-shadow: 0 5px 18px #0002;
}
.cbt-heading { flex: 1; min-width: 0; }
.cbt-heading h2 { font-size: 1.15rem; margin: 0 0 4px; }
.cbt-heading > div { color: var(--mut); }
.cbt-header .timer { min-width: 105px; }
.cbt-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 245px;
  gap: 16px; align-items: start;
}
.cbt-question { min-width: 0; margin-bottom: 0; }
.cbt-question h3 { font-size: 1.15rem; line-height: 1.7; margin: 20px 0; overflow-wrap: anywhere; }
.cbt-question .opt { min-height: 48px; line-height: 1.5; }
.cbt-question .opt.sel {
  background: color-mix(in srgb, var(--pri) 15%, var(--card2));
  border-color: var(--pri);
}
.cbt-question .row { margin-top: 20px; }
.cbt-question .row > * { min-width: 0; }
.cbt-navigator { position: sticky; top: 112px; min-width: 0; }
.cbt-navigator h3 { font-size: 1rem; }
.cbt-legend { font-size: 12px; line-height: 1.9; }
.cbt-navigator .grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.cbt-navigator .dot {
  width: 100%; min-width: 0; height: 40px; font-weight: 650;
  border: 1px solid #8885; font-variant-numeric: tabular-nums;
}
.cbt-navigator .dot.unanswered { background: transparent; border-style: dashed; }
.cbt-navigator .dot.ans { background: var(--pri); color: #fff; border-color: var(--pri); }
.cbt-navigator .dot.flagged { box-shadow: inset 0 0 0 2px #d32f2f; }
.cbt-navigator .dot.cur { outline: 3px solid var(--warn); outline-offset: 2px; }
.save-status { color: var(--ok); font-size: .9rem; min-height: 1.4em; }
.cbt-question .err { color: var(--bad); }
@media (max-width: 760px) {
  main { padding: 10px; }
  .cbt-header { top: 4px; padding: 12px; gap: 10px; }
  .cbt-heading h2 { font-size: 1rem; }
  .cbt-header .timer { font-size: 20px; min-width: 88px; padding: 6px 9px; }
  .cbt-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .cbt-question, .cbt-navigator { padding: 13px; }
  .cbt-navigator { position: static; }
  .cbt-navigator .grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .cbt-question .row > * { flex: 1 1 calc(50% - 10px); }
}
@media (max-width: 380px) {
  .cbt-navigator .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .cbt-question .row > * { flex-basis: 100%; }
}

/* EXITEXAM MODERN UI V1 */
:root {
  color-scheme: dark;
  --bg: #0b1220;
  --card: #121e30;
  --card2: #192a40;
  --txt: #edf5ff;
  --mut: #a6b7cc;
  --pri: #18b6a4;
  --ok: #39d9a0;
  --bad: #ff6878;
  --warn: #ffd166;
  --r: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(ellipse at 15% 0%, #12334a 0, transparent 38%),
    var(--bg);
  color: var(--txt);
  line-height: 1.65;
  letter-spacing: .005em;
}

header {
  padding: 15px clamp(14px, 4vw, 32px);
  gap: 16px;
  background: rgb(11 18 32 / 92%);
  border-bottom: 1px solid rgb(148 180 210 / 16%);
  box-shadow: 0 8px 28px rgb(0 0 0 / 14%);
  backdrop-filter: blur(16px);
}

header h1 {
  font-size: clamp(17px, 2.5vw, 21px);
  font-weight: 800;
  letter-spacing: -.035em;
}

nav { gap: 8px; }

.tab, .btn {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgb(166 183 204 / 20%);
  border-radius: 12px;
  background: var(--card2);
  color: var(--txt);
  font-weight: 650;
  transition: background .18s ease, border-color .18s ease,
    transform .18s ease, box-shadow .18s ease;
}

.tab:hover, .btn:hover:not(:disabled) {
  border-color: rgb(24 182 164 / 65%);
  transform: translateY(-1px);
}

.tab.active, .btn.pri {
  background: linear-gradient(135deg, #18b6a4, #168b9a);
  color: #041b20;
  border-color: transparent;
  box-shadow: 0 5px 16px rgb(24 182 164 / 18%);
}

.btn.ok {
  background: #39d9a0;
  color: #06271e;
  border: 0;
}

.btn.bad { background: #c93f59; color: white; border: 0; }

.btn:disabled { opacity: .55; cursor: not-allowed; }

main {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: clamp(16px, 3vw, 30px);
}

#app { min-width: 0; }

#app > h2 {
  font-size: clamp(25px, 4vw, 34px);
  line-height: 1.2;
  letter-spacing: -.04em;
  margin: 8px 0 18px;
}

h2, h3, h4 {
  line-height: 1.3;
  letter-spacing: -.02em;
}

.card {
  padding: clamp(17px, 2.5vw, 24px);
  margin-bottom: 18px;
  background: linear-gradient(155deg, rgb(24 42 63 / 96%), rgb(16 29 46 / 98%));
  border: 1px solid rgb(166 183 204 / 14%);
  border-radius: var(--r);
  box-shadow: 0 12px 30px rgb(0 0 0 / 12%);
  overflow-wrap: anywhere;
}

.card h3 { font-size: 18px; margin-top: 0; }

.row { gap: 14px; }

.row > * { min-width: min(100%, 180px); }

label {
  color: #bfd0e3;
  font-size: 13px;
  font-weight: 650;
  margin: 10px 0 6px;
}

input, select, textarea {
  min-height: 44px;
  padding: 11px 13px;
  background: #0d1929;
  border: 1px solid rgb(166 183 204 / 24%);
  border-radius: 11px;
  color: var(--txt);
  width: 100%;
}

textarea { min-height: 100px; }

input::placeholder, textarea::placeholder { color: #8196ae; }

input:focus, select:focus, textarea:focus {
  border-color: var(--pri);
  outline: 3px solid rgb(24 182 164 / 15%);
}

.mut { color: var(--mut); }
.err { color: #ff8793; }

.pill {
  padding: 4px 10px;
  border: 1px solid rgb(166 183 204 / 16%);
  border-radius: 999px;
  font-weight: 650;
}

#chat {
  height: min(58vh, 650px);
  padding: 12px;
  border: 1px solid rgb(166 183 204 / 14%);
  border-radius: 16px;
}

.msg { padding: 12px 15px; line-height: 1.6; }
.u { background: #137e86; color: white; }
.a { background: var(--card2); }

.timer {
  border: 1px solid rgb(166 183 204 / 15%);
  border-radius: 12px;
}

.opt {
  padding: 14px 15px;
  line-height: 1.6;
  border: 1px solid rgb(166 183 204 / 18%);
  border-radius: 13px;
  background: #17283c;
}

.opt:hover { border-color: rgb(24 182 164 / 65%); }
.opt.sel { background: #173b45; border-color: var(--pri); }
.opt.right { border-color: var(--ok); }
.opt.wrong { border-color: var(--bad); }

.bar { background: #26394d; border-radius: 99px; }
.bar > i { background: linear-gradient(90deg, #18b6a4, #62d7bd); }

.dot {
  border: 1px solid rgb(166 183 204 / 18%);
  border-radius: 10px;
}

pre {
  border: 1px solid rgb(166 183 204 / 12%);
  border-radius: 12px;
}

:focus-visible {
  outline: 3px solid var(--warn);
  outline-offset: 3px;
}

.cbt-header {
  background: rgb(18 30 48 / 96%);
  border: 1px solid rgb(166 183 204 / 16%);
  border-radius: 16px;
  backdrop-filter: blur(12px);
}

.cbt-question, .cbt-navigator { min-width: 0; }

@media (max-width: 760px) {
  header { padding: 12px 14px; gap: 10px; }
  header h1 { min-width: 0; }
  nav { width: 100%; }
  nav .tab, nav .btn { flex: 1 1 auto; }
  main { padding: 14px 12px; }
  .card { border-radius: 15px; }
  .row { gap: 10px; }
  .row > * { min-width: min(100%, 145px); }
  .cbt-header { padding: 12px; }
}

@media (max-width: 380px) {
  nav .tab, nav .btn { padding: 9px 10px; font-size: 13px; }
  .row > * { min-width: 100%; }
  .btn { max-width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}


/* EXITEXAM WELCOME V1 */
.hero { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(230px,.8fr); gap:28px; align-items:center; padding:clamp(22px,5vw,48px); margin:8px 0 28px; border:1px solid rgb(24 182 164 / 30%); border-radius:24px; background:radial-gradient(ellipse at 90% 10%,rgb(24 182 164 / 17%),transparent 45%),linear-gradient(140deg,#142a40,#101b2b); box-shadow:0 20px 55px rgb(0 0 0 / 20%); }
.hero-copy { min-width:0; }
.eyebrow,.proof-label { color:#62d7bd; font-size:11px; font-weight:800; letter-spacing:.1em; }
.hero-copy h2 { max-width:700px; margin:14px 0; font-size:clamp(30px,5vw,49px); line-height:1.12; letter-spacing:-.04em; }
.hero-lead { max-width:590px; color:#b9cadd; font-size:16px; }
.hero-actions { display:flex; flex-wrap:wrap; gap:10px; margin:22px 0 14px; }
.hero-actions .btn { min-height:46px; }
.sample-link { display:inline-block; margin:8px 0; color:#75e4d0; font-weight:700; text-decoration:none; }
.sample-link:hover { text-decoration:underline; }
.hero-proof { min-width:0; padding:22px; border:1px solid rgb(166 183 204 / 17%); border-radius:18px; background:rgb(8 19 32 / 48%); }
.score-item { display:flex; flex-direction:column; gap:3px; padding:16px 0; border-bottom:1px solid rgb(166 183 204 / 14%); }
.score-item strong { color:#6ce0c7; font-size:clamp(30px,4vw,39px); line-height:1.2; }
.score-item span { color:#c1d0df; font-size:13px; }
.hero-proof .mut { margin-bottom:0; font-size:12px; }
.welcome-features { margin:28px 0; }
.welcome-features > h3 { font-size:22px; margin-bottom:16px; }
.feature-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.feature { min-width:0; padding:21px; border:1px solid rgb(166 183 204 / 14%); border-radius:16px; background:var(--card); }
.feature-icon { display:inline-grid; place-items:center; width:38px; height:34px; border-radius:10px; background:rgb(24 182 164 / 14%); color:#62d7bd; font-size:12px; font-weight:800; }
.feature h4 { margin:14px 0 7px; font-size:16px; }
.feature p { margin-bottom:0; color:var(--mut); font-size:14px; }
@media (max-width:760px) {
  .hero { grid-template-columns:minmax(0,1fr); padding:24px 19px; }
  .hero-copy h2 { font-size:clamp(29px,8vw,40px); }
  .hero-proof { padding:17px; }
  .feature-grid { grid-template-columns:minmax(0,1fr); }
  .feature { padding:17px; }
}


/* Founder story: responsive homepage section */
.founder-section{margin:34px 0 24px;padding:clamp(22px,4vw,36px);border:1px solid rgb(24 182 164 / 28%);border-radius:22px;background:linear-gradient(145deg,var(--card),var(--bg))}
.founder-heading{max-width:720px;margin-bottom:22px}
.founder-heading h3{font-size:clamp(25px,4vw,34px);margin:8px 0 2px}
.founder-name{font-size:20px;font-weight:800;margin:4px 0}
.founder-role{color:var(--mut);margin:0}
.founder-content{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(220px,.8fr);gap:24px;align-items:start}
.founder-story{min-width:0}
.founder-story p{line-height:1.8}
.founder-achievements{min-width:0;padding:18px;border:1px solid rgb(166 183 204 / 17%);border-radius:16px;background:var(--card2)}
.founder-stat{display:flex;flex-direction:column;gap:4px;padding:14px 0;border-bottom:1px solid rgb(166 183 204 / 17%)}
.founder-stat strong{color:#62d7bd;font-size:clamp(25px,3vw,33px);line-height:1.2}
.founder-stat span{color:var(--mut);font-size:13px}
.founder-achievements .mut{font-size:12px;margin:14px 0 0}
@media(max-width:760px){.founder-section{padding:20px 17px}.founder-content{grid-template-columns:minmax(0,1fr);gap:12px}.founder-achievements{padding:15px}}

/* EXITEXAM ACADEMY — PREMIUM DESIGN LAYER */
:root {
  --bg: #07111f;
  --card: #101f32;
  --card2: #172b40;
  --txt: #f1f7fb;
  --mut: #a9bdce;
  --pri: #21c5b0;
  --ok: #43dfa0;
  --r: 20px;
}

body {
  background:
    radial-gradient(ellipse at 8% 0%, rgb(24 128 139 / 20%), transparent 34%),
    radial-gradient(ellipse at 95% 25%, rgb(22 128 92 / 10%), transparent 28%),
    var(--bg);
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(7 17 31 / 91%);
  border-bottom: 1px solid rgb(115 202 190 / 18%);
  backdrop-filter: blur(18px);
}

header h1 {
  font-weight: 850;
  letter-spacing: -.045em;
}

main {
  max-width: 1180px;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgb(49 214 185 / 30%);
  background:
    radial-gradient(ellipse at 100% 0%, rgb(38 205 173 / 19%), transparent 43%),
    linear-gradient(135deg, #10283c 0%, #0b192a 65%, #0b2430 100%);
  box-shadow: 0 24px 70px rgb(0 0 0 / 25%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 230px;
  height: 230px;
  right: -100px;
  bottom: -125px;
  border: 1px solid rgb(82 229 195 / 20%);
  border-radius: 50%;
  box-shadow: 0 0 0 28px rgb(82 229 195 / 3%),
              0 0 0 58px rgb(82 229 195 / 3%);
  pointer-events: none;
}

.hero-copy h2 {
  font-weight: 850;
  text-wrap: balance;
}

.hero-lead {
  line-height: 1.8;
}

.btn,
.tab {
  border-radius: 13px;
}

.btn.pri {
  background: linear-gradient(135deg, #40e0bd, #1aa69e);
  color: #06211f;
  font-weight: 800;
  box-shadow: 0 8px 24px rgb(24 182 164 / 22%);
}

.btn.pri:hover:not(:disabled) {
  box-shadow: 0 11px 30px rgb(24 182 164 / 32%);
}

.hero-proof,
.founder-achievements {
  border-color: rgb(103 210 190 / 20%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 3%);
}

.score-item strong,
.founder-stat strong {
  color: #5de4c5;
  font-variant-numeric: tabular-nums;
}

.feature {
  border-color: rgb(143 183 203 / 14%);
  background: linear-gradient(155deg, #12243a, #0e1b2c);
  transition: transform .2s ease, border-color .2s ease,
              box-shadow .2s ease;
}

.feature:hover {
  transform: translateY(-3px);
  border-color: rgb(57 214 183 / 40%);
  box-shadow: 0 14px 32px rgb(0 0 0 / 17%);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border: 1px solid rgb(71 220 190 / 20%);
  border-radius: 13px;
  background: rgb(24 182 164 / 12%);
}

.founder-section {
  position: relative;
  overflow: hidden;
  border-color: rgb(71 220 190 / 27%);
  background:
    radial-gradient(ellipse at 100% 0%, rgb(27 155 132 / 10%), transparent 42%),
    linear-gradient(145deg, #102136, #0a1727);
  box-shadow: 0 18px 48px rgb(0 0 0 / 16%);
}

.founder-heading h3 {
  font-weight: 850;
  letter-spacing: -.04em;
}

.founder-name {
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -.035em;
}

.founder-story p {
  color: #c7d6e4;
}

.founder-achievements {
  background: rgb(6 18 30 / 48%);
}

.sample-link {
  text-underline-offset: 4px;
}

.card {
  border-color: rgb(143 183 203 / 16%);
}

:focus-visible {
  outline-color: #6be8cb;
}

@media (max-width: 760px) {
  .hero {
    gap: 20px;
    border-radius: 20px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .feature:hover {
    transform: none;
  }

  .founder-section {
    margin-top: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature {
    transition: none;
  }
}

/* Featured preparation */
.product-section {
  padding: 56px 0;
}

.product-section .eyebrow,
.learning-tools .eyebrow,
.professional-services .eyebrow,
.coming-soon .eyebrow,
.final-cta .eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
  margin: 0 0 8px;
}

.product-section h3,
.learning-tools h3,
.professional-services h3,
.coming-soon h3,
.final-cta h3 {
  font-size: clamp(1.5rem, 5vw, 2.1rem);
  line-height: 1.2;
  margin: 0 0 10px;
}

.product-section > p,
.learning-tools > p,
.professional-services > p,
.coming-soon > p,
.final-cta > p {
  max-width: 640px;
  margin: 0 0 26px;
}

.product-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.product-card {
  padding: 22px;
  border: 1px solid rgba(128, 128, 128, 0.25);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-card h4 {
  margin: 0;
  font-size: 1.15rem;
}

.product-card p {
  margin: 0;
  opacity: 0.85;
}

.product-price {
  font-weight: 800;
}

.product-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* Learning tools */
.learning-tools,
.professional-services,
.coming-soon,
.final-cta {
  padding: 56px 0;
}

.section-heading {
  margin-bottom: 26px;
}

.section-heading p {
  margin: 0;
}

.section-heading h3 {
  margin: 8px 0 10px;
}

/* Professional services */
.professional-services .product-card .btn {
  display: none;
}

.professional-services > .btn {
  display: inline-block;
  margin-top: 22px;
}

/* Coming soon */
.coming-soon {
  border-top: 1px solid rgba(128, 128, 128, 0.2);
  border-bottom: 1px solid rgba(128, 128, 128, 0.2);
}

/* Final CTA */
.final-cta {
  text-align: center;
}

.final-cta > p {
  margin-left: auto;
  margin-right: auto;
}

.final-cta .hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* Mobile */
@media (max-width: 640px) {
  .product-section,
  .learning-tools,
  .professional-services,
  .coming-soon,
  .final-cta {
    padding: 42px 0;
  }

  .product-card {
    padding: 18px;
  }
}

/* Public homepage navigation */
.public-nav-toggle { display: none; }
.public-nav-links { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.public-nav-link { display: inline-flex; align-items: center; text-decoration: none; }
.public-nav-links[hidden] { display: none !important; }

@media (max-width: 760px) {
  #nav { align-items: stretch; }
  .public-nav-toggle { display: inline-flex; align-items: center; justify-content: center; align-self: flex-end; }
  .public-nav-links { width: 100%; flex-direction: column; align-items: stretch; }
  .public-nav-link { width: 100%; }
  .public-nav-links[hidden] { display: none !important; }
}


/* Homepage finish: founder photo, payment instructions, and contact links. */
.founder-content {
  grid-template-columns: minmax(150px, .7fr) minmax(0, 1.4fr) minmax(190px, .8fr);
  gap: 20px;
  align-items: start;
}

.founder-photo-wrap { min-width: 0; }

.founder-photo {
  display: block;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 4 / 5;
  height: auto;
  margin: 0 auto;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  border: 1px solid rgb(166 183 204 / 22%);
  box-shadow: 0 12px 30px rgb(0 0 0 / 18%);
}

.founder-badge {
  margin: 12px 0 0;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--pri);
}

.access-section, .contact-section {
  margin: 30px 0;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid rgb(24 182 164 / 24%);
  border-radius: 22px;
  background: var(--card);
}

.access-card {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(17px, 3vw, 26px);
  border: 1px solid rgb(166 183 204 / 20%);
  border-radius: 18px;
  background: var(--card2);
}

.access-product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.access-product h4 { margin: 6px 0; font-size: 20px; }
.access-product p { line-height: 1.7; }

.access-price {
  margin: 0;
  color: var(--pri);
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 850;
  white-space: nowrap;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0 24px;
}

.payment-method {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgb(166 183 204 / 22%);
  border-radius: 14px;
  background: var(--card);
}

.payment-method p { margin: 8px 0; }

.payment-number {
  overflow-wrap: anywhere;
  font-weight: 750;
  color: var(--pri);
}

.payment-steps { padding-left: 24px; line-height: 1.9; }
.access-card > .btn { margin-top: 12px; }

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.contact-links .btn { min-width: 0; overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .founder-content { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
  .founder-achievements { grid-column: 2; }
  .founder-photo-wrap { grid-row: span 2; }
}

@media (max-width: 760px) {
  .founder-content { grid-template-columns: minmax(0, 1fr); }
  .founder-photo-wrap, .founder-achievements { grid-column: auto; grid-row: auto; }
  .founder-photo { max-width: 280px; }
  .payment-methods { grid-template-columns: minmax(0, 1fr); }
  .contact-links { flex-direction: column; }
  .contact-links .btn { width: 100%; text-align: center; }
}


/* Founder graduation photo */
.founder-graduation { margin: 0 0 18px; }
.founder-graduation img {
  display: block;
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  object-position: center;
  border-radius: 16px;
  border: 1px solid rgb(24 182 164 / 28%);
}
.founder-graduation figcaption {
  color: var(--mut);
  font-size: 12px;
  margin-top: 7px;
}


/* Student testimonials */
.testimonials-section {
  margin: 24px 0;
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid rgb(24 182 164 / 28%);
  border-radius: 20px;
  background: var(--card);
}
.testimonials-section h3 {
  margin: 8px 0 18px;
  font-size: clamp(23px, 4vw, 30px);
}
.testimonial-card {
  max-width: 760px;
  padding: 20px;
  border: 1px solid rgb(166 183 204 / 18%);
  border-radius: 14px;
  background: var(--card2);
}
.testimonial-card p {
  margin: 0;
  line-height: 1.8;
  color: var(--mut);
}
@media (max-width: 600px) {
  .testimonials-section { padding: 20px 16px; }
  .testimonial-card { padding: 16px; }
}

/* Student comment spam protection: keep the honeypot out of view */
.comment-honeypot {
  display: none !important;
}
