/* TOX Client Platform — Slice 1 app shell
   Conscious Kitchen brand: Circe, black on cream, gold #947947, rose.
   Circe files live in frontend/fonts (CRC25/35/55/65 + Extra Bold). */

@font-face {
  font-family: Circe;
  src: url("/static/fonts/CRC25.otf") format("opentype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Circe;
  src: url("/static/fonts/CRC35.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Circe;
  src: url("/static/fonts/CRC55.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Circe;
  src: url("/static/fonts/CRC65.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Circe;
  src: url("/static/fonts/Circe-ExtraBold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1a1919;
  --soft: #4a463f;
  --muted: #8a8478;
  --gold: #947947;
  --gold-soft: #d9c79a;
  --mag: #c257b4;
  --warm: #fdfcfa;
  --tint: #f7f3ec;
  --card: #fff;
  --line: #e9e1d1;
  --serif: Circe, system-ui, sans-serif;
  --sans: Circe, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--warm);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
}

img { max-width: 100%; }
p { margin: 0; }
a { color: var(--gold); }

.shell { min-height: 100dvh; display: flex; flex-direction: column; }
.hd {
  text-align: center;
  padding: 28px 20px 18px;
  background: radial-gradient(120% 90% at 50% 0%, #fff 0%, var(--warm) 60%, var(--tint) 100%);
  border-bottom: 1px solid var(--line);
}
.hd img { height: 52px; margin-bottom: 10px; }
.shell .hd {
  text-align: left;
  padding: 12px 20px;
}
.shell .hd img {
  height: 28px;
  margin: 0;
  display: block;
}
.eyebrow {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  display: block;
}

.wrap { width: min(100%, 560px); margin: 0 auto; padding: 22px 20px 40px; flex: 1; }

.progress { display: flex; gap: 8px; justify-content: center; margin: 0 0 8px; }
.pdot { width: 9px; height: 9px; border-radius: 50%; background: #d8d3c6; }
.pdot.done { background: var(--gold); }
.pdot.now { background: #111; transform: scale(1.35); }
.plabel {
  font-family: var(--sans);
  font-size: 11px;
  text-align: center;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}

h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 6vw, 32px);
  margin: 0 0 8px;
  text-align: center;
}
.lede {
  text-align: center;
  color: var(--soft);
  font-size: 16px;
  margin-bottom: 22px;
}

.signup-page .plabel {
  color: var(--muted);
  letter-spacing: .08em;
  margin-bottom: 16px;
}
.signup-page .pdot.now { transform: scale(1.15); }

.promise {
  text-align: center;
  margin: 0 0 28px;
}
.promise h1 {
  font-size: clamp(26px, 6.5vw, 34px);
  line-height: 1.28;
  margin: 0;
}
.promise .lede {
  margin: 0 auto 10px;
  max-width: 28em;
  line-height: 1.55;
}
.lede-find {
  margin: 0 auto;
  max-width: 28em;
  font-size: 17px;
  color: var(--ink);
  line-height: 1.5;
}

.signup-card label.field:first-of-type { margin-top: 0; }

.signin-card {
  margin-top: 16px;
  padding: 18px 20px;
  box-shadow: none;
}
.signin-heading {
  font-weight: 400;
  font-size: 18px;
  text-align: center;
  margin: 0 0 6px;
}
.signin-help {
  text-align: center;
  color: var(--soft);
  font-size: 15px;
  margin: 0 0 4px;
}
.signin-card .field { margin-top: 12px; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(17, 17, 17, .06);
  padding: 22px 20px;
}
.card.accent { position: relative; overflow: hidden; }
.card.accent:before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft), var(--mag));
}

label.field {
  display: block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--soft);
  margin: 14px 0 6px;
}
input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  font-family: var(--sans);
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #faf8f2;
  color: var(--ink);
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 16px;
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--soft);
}
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); flex: none; }

.waiver {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--soft);
  background: var(--tint);
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 16px;
  max-height: 160px;
  overflow: auto;
}

.btn, button.btn {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  background: var(--gold);
  text-decoration: none;
  border: 0;
  border-radius: 30px;
  padding: 14px 28px;
  display: inline-block;
  width: 100%;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(166, 121, 45, .22);
  margin-top: 18px;
}
.btn:hover, button.btn:hover { background: #8e661f; }
.btn-ghost, button.btn-ghost {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 13px 28px;
  display: inline-block;
  width: 100%;
  text-align: center;
  cursor: pointer;
  margin-top: 10px;
}
.note { color: var(--muted); font-family: var(--sans); font-size: 13px; margin-top: 14px; text-align: center; }

.modality {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  text-align: center;
}
.modality li {
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--soft);
  padding: 3px 0;
}
.modality li::before {
  content: "· ";
  color: var(--gold);
  font-weight: 700;
}

.tips-card { margin-bottom: 18px; }
.tips-card .eyebrow { margin-bottom: 8px; }
.account-note {
  margin: 0 0 14px;
  color: var(--soft);
  font-size: 15px;
}
.prep-note {
  margin: 0 0 14px;
  color: var(--soft);
  font-size: 15px;
}
.card.accent .prep-note { margin-bottom: 0; }
.tips {
  margin: 8px 0 0;
  padding-left: 1.35em;
  color: var(--soft);
  font-size: 16px;
  text-align: left;
}
.tips li { margin: 8px 0; }
.err {
  font-family: var(--sans);
  font-size: 14px;
  color: #8a3b2a;
  background: #f8ece8;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 12px;
}

/* Vertical YouTube Shorts. 9:16 so the clip fills the frame on a phone. */
.video-embed {
  width: min(100%, 390px);
  margin: 0 auto 22px;
}
.video-embed-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 10px 24px rgba(17, 17, 17, .12);
}
.video-embed-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.cal-wrap {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
  min-height: 520px;
}
.cal-wrap iframe { width: 100%; height: 640px; border: 0; display: block; background: #fff; }

.ft {
  padding: 28px 20px 40px;
  text-align: center;
  border-top: 1px solid var(--gold);
  background: var(--warm);
}
.ft .dis { color: var(--muted); font-size: 12.5px; max-width: 560px; margin: 0 auto 6px; font-family: var(--sans); }

.assessment-page { background: #fff; }
.assessment-page .hd { padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.assessment-page .hd img { height: 36px; margin: 0; }
.assessment-hd-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.come-back-form { margin: 0; }
.come-back-btn, button.come-back-btn {
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gold);
  background: #fff;
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  padding: 7px 12px;
  cursor: pointer;
  white-space: nowrap;
  width: auto;
  margin: 0;
  box-shadow: none;
}
.come-back-btn:hover, button.come-back-btn:hover { background: var(--tint); }
.assessment-portal-link {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
}
.assessment-page .tox-app {
  height: calc(100dvh - 62px);
  min-height: 480px;
  max-height: none;
}
.assessment-start {
  padding: 4px 16px 0;
  background: #fff;
}
.assessment-start .video-embed {
  margin-bottom: 12px;
}

@media (max-width: 600px) {
  .hd img { height: 44px; }
  .cal-wrap iframe { height: 720px; }
}
