/* trackmyce.io. Colors, spacing and radii come from tokens.css, generated from Packages/myCEDesign.
   Type matches the app: Outfit for text, DM Mono for small labels. Surfaces are flat: depth comes from
   color and a hairline, not shadows. Status colors are reserved for status and aren't used here. */

@font-face { font-family: "Outfit"; src: url("../fonts/Outfit-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/Outfit-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/Outfit-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/Outfit-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("../fonts/DMMono-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }

:root {
  color-scheme: light; /* Light only, like the app */
  --text: var(--ink);
  --text-soft: color-mix(in srgb, var(--ink) 74%, var(--white)); /* the app's gray fails contrast as text */
  --on-navy-soft: var(--sky);
  --page: 1120px;
  --tint: color-mix(in srgb, var(--sky) 55%, var(--white));
  --mono: "DM Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: var(--space-lg); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 400 17px/1.55 "Outfit", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); font-weight: 500; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.band-navy :focus-visible { outline-color: var(--sky); }

h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(40px, 6.4vw, 66px); line-height: 1.04; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); }
h2 { font-size: clamp(30px, 3.8vw, 42px); line-height: 1.12; font-weight: 800; letter-spacing: -0.01em; color: var(--navy); }
h3 { font-size: 20px; line-height: 1.3; font-weight: 600; color: var(--navy); }
.lede { font-size: 19px; line-height: 1.55; color: var(--text-soft); max-width: 36em; }
.motto { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-soft); }

.wrap { max-width: var(--page); margin: 0 auto; padding: 0 var(--space-lg); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--space-lg); top: var(--space-lg); background: var(--white); padding: var(--space-sm) var(--space-lg); border-radius: var(--radius-md); z-index: 2; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 var(--space-xl);
  border: 0; border-radius: var(--radius-pill);
  background: var(--navy); color: var(--white);
  font: 600 17px/1.2 "Outfit", Arial, sans-serif; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--blue); color: var(--white); }
.btn-small { min-height: 44px; padding: 0 var(--space-lg); font-size: 15px; }
.btn:disabled { opacity: 0.6; cursor: default; }

/* Header */
.site-header { padding: var(--space-lg) 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); }
.logo { flex: none; }
.logo img { height: 34px; width: auto; }
.site-nav { display: flex; align-items: center; gap: var(--space-xl); }
.site-nav a:not(.btn) { color: var(--navy); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.site-nav a:not(.btn):hover { color: var(--blue); }
@media (max-width: 760px) { .site-nav a:not(.btn) { display: none; } }

/* Hero */
.hero { padding: var(--space-xxl) 0 var(--space-huge); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--space-xxxl); align-items: center; }
.hero-copy { display: grid; gap: var(--space-xl); justify-items: start; min-width: 0; }
.eyebrow { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-soft); }
.band-navy .eyebrow { color: var(--sky); }
.phone { width: 100%; max-width: 300px; border-radius: 36px; border: 8px solid var(--navy); background: var(--white); }
.hero-shot { justify-self: center; }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-shot .phone { max-width: 250px; }
}

/* Signup */
.signup { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm) var(--space-md); width: 100%; max-width: 520px; background: var(--white); padding: var(--space-xl); border: 1px solid var(--outline); border-radius: var(--radius-xl); }
.signup-title { grid-column: 1 / -1; font-weight: 600; color: var(--navy); margin-bottom: var(--space-xs); }
.field { display: grid; gap: var(--space-xs); min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: var(--navy); }
.field .optional { font-weight: 400; color: var(--text-soft); }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 0 var(--space-md);
  background: var(--white); color: var(--text);
  border: 1px solid color-mix(in srgb, var(--navy) 55%, var(--white)); border-radius: var(--radius-md);
  font: 400 16px "Outfit", Arial, sans-serif;
}
.signup .btn { grid-column: 1 / -1; margin-top: var(--space-sm); width: 100%; }
.signup-note { grid-column: 1 / -1; font-size: 13px; line-height: 1.45; color: var(--text-soft); }
.form-status { grid-column: 1 / -1; font-size: 15px; font-weight: 500; color: var(--navy); }
.form-status:empty { display: none; }
.signup .trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Sections */
.section { padding: var(--space-huge) 0; }
.section-head { display: grid; gap: var(--space-md); margin-bottom: var(--space-xxxl); max-width: 44em; }
.band-white { background: var(--white); }
.band-navy { background: var(--navy); color: var(--white); }
.band-navy h2, .band-navy h3 { color: var(--white); }
.band-navy .lede { color: var(--sky); }

/* Features: a screen beside its words, in turn */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-xxxl); align-items: center; }
.feature + .feature { margin-top: var(--space-huge); }
.feature .phone { justify-self: center; }
.feature-copy { display: grid; gap: var(--space-md); }
.feature-copy p { color: var(--text-soft); }
.feature:nth-child(even) .feature-copy { order: 2; }
.ticks { list-style: none; margin: var(--space-xs) 0 0; padding: 0; display: grid; gap: var(--space-sm); color: var(--text-soft); }
.ticks li { padding-left: var(--space-xl); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); }
.band-navy .ticks { color: var(--white); }
.band-navy .ticks li::before { background: var(--sky); }
@media (max-width: 760px) {
  .feature { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .feature:nth-child(even) .feature-copy { order: 0; }
  .feature .phone { max-width: 250px; }
}

/* Who it's for */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); list-style: none; margin: 0; padding: 0; }
.card { background: var(--white); border-radius: var(--radius-xl); padding: var(--space-xl); border: 1px solid var(--outline); display: grid; gap: var(--space-sm); align-content: start; }
.card p { color: var(--text-soft); font-size: 16px; }
@media (max-width: 860px) { .cards { grid-template-columns: minmax(0, 1fr); } }

/* Instructors */
.instructors { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-xxxl); }
.panel { background: color-mix(in srgb, var(--white) 8%, var(--navy)); border-radius: var(--radius-xl); padding: var(--space-xl); display: grid; gap: var(--space-md); align-content: start; }
.tag { justify-self: start; font-family: var(--mono); font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 500; padding: var(--space-xs) var(--space-md); border-radius: var(--radius-pill); background: var(--sky); color: var(--navy); }
.instructor-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-lg); align-items: start; }
.instructor-shots .phone { border-color: var(--blue); max-width: none; border-radius: 28px; border-width: 6px; }
@media (max-width: 860px) { .instructors { grid-template-columns: minmax(0, 1fr); } .instructor-shots { max-width: 480px; } }

/* FAQ */
.faq { max-width: 780px; border-top: 1px solid var(--outline); }
.faq details { border-bottom: 1px solid var(--outline); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-lg); min-height: 60px; cursor: pointer; font-weight: 500; color: var(--navy); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 24px; font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: var(--space-lg); color: var(--text-soft); max-width: 40em; }

/* Closing */
.closing { display: grid; gap: var(--space-lg); justify-items: center; text-align: center; }
.closing img { width: 96px; height: 96px; }

/* Footer */
.site-footer { background: var(--white); border-top: 1px solid var(--outline); padding: var(--space-xxl) 0; font-size: 15px; color: var(--text-soft); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-lg); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: var(--space-xl); }

/* Text pages */
.doc { max-width: 720px; padding-top: var(--space-xxl); padding-bottom: var(--space-huge); }
.doc h1 { font-size: clamp(32px, 5vw, 42px); margin-bottom: var(--space-sm); }
.doc h2 { font-size: 22px; font-weight: 500; margin: var(--space-xxl) 0 var(--space-sm); }
.doc p, .doc li { color: var(--text-soft); }
.doc p { margin-bottom: var(--space-md); }
.doc ul, .doc ol { padding-left: var(--space-xl); margin: 0 0 var(--space-md); display: grid; gap: var(--space-sm); }
.doc h3 { font-size: 18px; margin: var(--space-lg) 0 var(--space-xs); }
.doc strong { font-weight: 500; color: var(--navy); }
.doc-meta { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
.doc .caps { font-size: 15px; line-height: 1.5; }
.summary { background: var(--white); border-radius: var(--radius-xl); border: 1px solid var(--outline); padding: var(--space-xl); margin: var(--space-xl) 0; }
.summary h2 { margin-top: 0; }
.summary ul { margin-bottom: 0; }
.summary p { margin: var(--space-md) 0 0; font-size: 15px; }

/* What it is */
.explainer { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--space-xxxl); }
.explainer > div:first-child { display: grid; gap: var(--space-md); align-content: start; }
.explainer-copy { display: grid; gap: var(--space-lg); font-size: 19px; color: var(--text-soft); }
@media (max-width: 760px) { .explainer { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); } }

/* What makes it different */
.diffs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-lg); }
.diff { background: var(--white); border-radius: var(--radius-xl); padding: var(--space-xl); border: 1px solid var(--outline); display: grid; gap: var(--space-md); grid-template-rows: auto auto 1fr auto; }
.diff p { color: var(--text-soft); font-size: 16px; }
.diff-num { font-size: 40px; line-height: 1; font-weight: 800; color: var(--blue); }
.tag-light { background: var(--sky); color: var(--navy); display: inline-block; vertical-align: middle; }
@media (max-width: 860px) { .diffs { grid-template-columns: minmax(0, 1fr); } }

/* QR flow */
.flow { list-style: none; margin: 0; padding: 0; counter-reset: flow; display: grid; gap: var(--space-xl); }
.flow li { counter-increment: flow; position: relative; padding-left: 56px; display: grid; gap: var(--space-xs); }
.flow li::before { content: counter(flow); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: var(--radius-md); color: var(--sky); font-size: 34px; line-height: 40px; font-weight: 800; }
.flow p { color: var(--sky); font-size: 16px; }
.instructors { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
.instructor-shots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.web-panel { margin-top: var(--space-xxxl); }
.ticks-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 860px) {
  .instructors { grid-template-columns: minmax(0, 1fr); }
  .instructor-shots { max-width: none; }
  .ticks-columns { grid-template-columns: minmax(0, 1fr); }
}
#compile .phone { justify-self: center; }
.note { font-size: 15px; }

/* Roadmap */
.band-sky { background: var(--sky); }
.band-sky .lede { color: var(--navy); }
.jobs { display: grid; gap: var(--space-md); justify-items: start; }
.jobs .tag-light { background: var(--navy); color: var(--white); }
