
@font-face {
  font-family: "Mona Sans";
  src: url(fonts/mona-sans-latin.woff2) format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url(fonts/outfit-500-latin.woff2) format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* --- brand tokens  ------------------------------------------------------- */

:root {
  --bg:       #191c25;   /* page background, matches the logo plate */
  --surface:  #20242e;   /* card, lifted one step off the page      */
  --sunken:   #171a22;   /* input wells, recessed one step          */
  --line:     #333844;
  --line-2:   #3d4551;   /* slate from the logo mark                */
  --ink:      #eef1f5;
  --muted:    #98a2b3;
  --teal:     #7fcdc8;   /* primary accent from the logo mark       */
  --teal-lo:  #98d8d4;
  --amber:    #fdc566;   /* secondary accent from the logo mark     */
  --radius:   12px;
  --maxw:     680px;
}


/* --- reset + base -------------------------------------------------------- */

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  background-color: var(--bg);
  color: var(--ink);
  font-family: "Mona Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* home page: one centred block rather than a top-aligned column */
body.home {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 20px;   /* keeps content off the edges once it grows */
}


/* --- brand lockup: inline SVG mark + Outfit wordmark ---------------------- */

.brand {
  display: inline-block;
  text-decoration: none;
  border-radius: 8px;
  text-align: center;
}

/* on the home page .brand is a block inside .logo-container, not a link */
.home .brand { display: block; }

.brand-mark {
  display: block;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  width: 108px;
  max-width: 46vw;
  margin-bottom: 16px;
}

.home .brand-mark {
  width: 152px;
  max-width: 62vw;
  margin-bottom: 21px;
}

.brand-name {
  display: block;
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #fff;
  /* letter-spacing trails the final letter too; text-indent nudges the word
     back so its ink centres over the mark */
  font-size: 28.7px;
  text-indent: .17em;
}

.home .brand-name {
  font-size: 40.5px;
  text-indent: .19em;
}


/* ==========================================================================
   HOME PAGE
   ========================================================================= */

.logo-container {
  width: 100%;
  max-width: 620px;
}

/* the SVG mark has no baked-in padding, so normal positive spacing works */
.about { margin-top: 42px; }

.about-label {
  margin-bottom: 16px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal);
}

.about-lead {
  margin-bottom: 26px;
  text-align: center;
  font-size: 21px;
  line-height: 1.45;
  font-weight: 600;
  letter-spacing: -.01em;
  color: #ffffff;
}

.about p {
  margin-bottom: 16px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--muted);
}

.about p:last-child { margin-bottom: 0; }

.cta-wrap {
  margin-top: 36px;
  text-align: center;
}

.cta-btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: #16303a;
  background-color: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 8px;
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease;
}

.cta-btn:hover { background-color: var(--teal-lo); border-color: var(--teal-lo); }
.cta-btn:active { transform: translateY(1px); }
.cta-btn:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }


/* ==========================================================================
   INNER PAGES (contact-us, thank-you)
   ========================================================================= */

.page { max-width: var(--maxw); margin: 0 auto; padding: 44px 20px 72px; }

.masthead { text-align: center; margin-bottom: 32px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
}

.eyebrow {
  margin-bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;      /* echoes the wordmark's wide tracking */
  text-transform: uppercase;
  color: var(--teal);
}

h1 {
  margin-bottom: 10px;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: -.02em;
  font-weight: 650;
  color: #fff;
}

.lede { margin-bottom: 34px; color: var(--muted); }


/* --- form ---------------------------------------------------------------- */

.row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
/* title / first / last - the title select only needs room for "Prof." */
.row-name { grid-template-columns: .68fr 1fr 1fr; }
.field { margin-bottom: 18px; }
.row .field { margin-bottom: 0; }

label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.req { color: var(--amber); font-weight: 700; }

input[type="text"], input[type="email"], input[type="tel"],
select, textarea {
  width: 100%;
  padding: 11px 12px;
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--sunken);
  border: 1px solid var(--line-2);
  border-radius: 8px;
  transition: border-color .15s ease, box-shadow .15s ease;
}

input::placeholder, textarea::placeholder { color: #6d7686; }

textarea { min-height: 118px; resize: vertical; }

select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2398a2b3' d='M1.4 0 6 4.6 10.6 0 12 1.4 6 7.4 0 1.4z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 34px;
}

/* native dropdown list on dark */
select option { background: var(--surface); color: var(--ink); }

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(127, 205, 200, .22);
}

a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.hint { margin-top: 14px; font-size: 12.5px; color: var(--muted); }

/* shown when the chosen country has no state/province list */
.state-note { margin-top: 7px; }

select:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.cf-turnstile { visibility: hidden; }


/* --- buttons ------------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 12px 28px;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  color: #16303a;                /* dark ink on teal - AAA contrast */
  background: var(--teal);
  border: 1px solid var(--teal);
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}

.btn:hover { background: var(--teal-lo); border-color: var(--teal-lo); }
.btn:active { transform: translateY(1px); }


/* --- footer -------------------------------------------------------------- */

.foot { margin-top: 30px; text-align: center; font-size: 13.5px; color: var(--muted); }
.foot a { color: var(--teal); text-decoration: none; }
.foot a:hover { text-decoration: underline; }


/* --- thank-you page ------------------------------------------------------ */

.card.centered { text-align: center; padding: 56px 40px; }

.mark {
  width: 62px; height: 62px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
}

.mark svg { width: 29px; height: 29px; }

.card.centered .lede { margin-bottom: 32px; }


/* ==========================================================================
   RESPONSIVE
   ========================================================================= */

@media (max-width: 560px) {
  /* home */
  body.home { padding: 40px 18px; }
  .home .brand-mark { width: 120px; margin-bottom: 17px; }
  .home .brand-name { font-size: 32px; }
  .about { margin-top: 34px; }
  .about-lead { font-size: 19px; }
  .about p { font-size: 15px; }
  .cta-wrap { margin-top: 30px; }

  /* inner pages */
  .page { padding: 36px 16px 52px; }
  .card { padding: 26px 20px; }
  .card.centered { padding: 36px 20px; }
  h1 { font-size: 25px; }
  /* rows collapse to one column - children carry the spacing */
  .row, .row-name { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .row .field { margin-bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
