/* Same fonts and colors as tempoprep.com (sites/coming-soon/public/styles.css). */
@font-face { font-family: "Sora"; font-style: normal; font-weight: 500; font-display: swap; src: url("/account/fonts/sora-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-style: normal; font-weight: 600; font-display: swap; src: url("/account/fonts/sora-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("/account/fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("/account/fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url("/account/fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }
:root {
  --ink: #233b30;
  --muted: #546159;
  --line: #dce2d8;
  --paper: #ffffff;
  --page: #f8f8f3;
  --sage: #eaf0e5;
  --accent: #2e6548;
  --accent-strong: #244f39;
  /* Exam colors match the app: ACT green, SAT blue (src/components/examChrome.css). */
  --act: #2e6548;
  --act-strong: #244f39;
  --sat: #1f4e8c;
  --sat-strong: #173b6b;
  --error: #a32a2a;
  --ok: #2e6548;
  color-scheme: light;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--page);
  color: var(--ink);
  font: 17px/1.5 "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  display: flex;
  justify-content: center;
  padding: 24px 16px 40px;
}
main { width: 100%; max-width: 440px; }
main.wide { max-width: 760px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Sora", sans-serif; font-weight: 600; font-size: 18px; margin-bottom: 18px; color: var(--ink); text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px 22px; }
h1, h2 { font-family: "Sora", sans-serif; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: 24px; line-height: 1.2; margin: 0 0 6px; }
h2 { font-size: 19px; margin: 0 0 4px; }
p { margin: 0 0 16px; }
.muted { color: var(--muted); font-size: 14px; }
label { display: block; font-weight: 600; margin: 14px 0 6px; }
input {
  width: 100%;
  font: inherit;
  padding: 11px 14px;
  border: 1px solid #c9d2c4;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
input:focus { outline: 3px solid rgba(46, 101, 72, 0.22); border-color: var(--accent); }
input.code { font-size: 24px; letter-spacing: 0.3em; text-align: center; font-variant-numeric: tabular-nums; }
button, .button {
  display: inline-block;
  width: 100%;
  margin-top: 18px;
  padding: 13px 20px;
  font: inherit;
  font-weight: 700;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}
button:hover, .button:hover { background: var(--accent-strong); }
button[disabled] { opacity: 0.6; cursor: wait; }
button.link { background: none; color: var(--accent); width: auto; padding: 0; margin-top: 14px; font-weight: 600; }
button.link:hover { background: none; text-decoration: underline; }
.status { min-height: 24px; margin-top: 14px; font-size: 15px; }
.status.error { color: var(--error); }
.status.ok { color: var(--ok); }
.fine { margin-top: 20px; font-size: 13px; color: var(--muted); }
.fine a { color: var(--muted); }
[hidden] { display: none !important; }
.passes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 20px; }
.pass { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; }
.pass.act { border-top: 4px solid var(--act); }
.pass.sat { border-top: 4px solid var(--sat); }
.pass.act button { background: var(--act); }
.pass.act button:hover { background: var(--act-strong); }
.pass.sat button { background: var(--sat); }
.pass.sat button:hover { background: var(--sat-strong); }
.price { font-size: 34px; font-weight: 800; margin: 8px 0 0; }
.price s { font-size: 18px; color: var(--muted); font-weight: 500; margin-left: 6px; }
.pass ul { padding-left: 20px; margin: 12px 0 0; color: var(--muted); font-size: 15px; flex: 1; }
.owned { margin-top: 18px; padding: 12px; border-radius: 10px; background: #eef4ef; color: var(--ok); font-weight: 600; text-align: center; }
.owned a { color: inherit; }
.topline { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.switch { margin: 18px 0 0; font-size: 15px; color: var(--muted); }
button.link.inline { margin: 0; display: inline; font-size: inherit; }
label.check { display: flex; align-items: center; gap: 8px; font-weight: 500; margin: 10px 0 0; font-size: 15px; }
label.check input { width: auto; }
/* Shown passwords: undo Safari's dot masking of a filled-in suggested password.
   Kept as separate rules because a browser that does not know one of these
   selectors drops the whole rule it appears in. */
input.revealed { -webkit-text-security: none !important; }
input.revealed:-webkit-autofill { -webkit-text-security: none !important; }
input.revealed:-webkit-autofill-and-obscured { -webkit-text-security: none !important; }
.small { font-size: 13px; margin: 8px 0 0; }

.promo { margin: 10px 0 0; padding: 10px 14px; border-radius: 10px; background: #e7f6f1; color: #0d5c4a; font-weight: 600; font-size: 15px; }
.price .with-code { display: block; font-size: 15px; font-weight: 500; color: var(--muted); margin-top: 2px; }
.agree { margin-top: 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.agree .assure { margin: 0; font-size: 15px; }
.agree .assure strong { color: var(--ok); }
dialog#refund-terms { max-width: 460px; width: calc(100% - 32px); border: 1px solid var(--line); border-radius: 14px; padding: 22px; color: var(--ink); }
dialog#refund-terms::backdrop { background: rgba(20, 24, 30, 0.45); }
dialog#refund-terms h2 { margin: 0 0 10px; font-size: 20px; }
dialog#refund-terms p { font-size: 15px; line-height: 1.5; }
.agree .small { margin: 6px 0 0; }
.taker { margin-top: 18px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.taker h2 { font-size: 18px; margin: 0 0 6px; }
.taker p { margin: 0; }
.taker label:first-child { margin-top: 12px; }
.taker label.check { margin-top: 12px; }
.taker-actions { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; }
.taker-actions button.link.inline { font-size: 15px; }
.taker form button[type="submit"] { width: auto; }
.ready { margin: 10px 0 0; padding: 12px 14px; border-radius: 10px; background: #eef4ef; color: var(--ok); font-weight: 600; font-size: 15px; }
.ready a { color: inherit; }
.ready a.dashboard-link { display: block; color: #fff; margin-top: 12px; }
.taker-actions a.progress-link { font-size: 15px; font-weight: 600; color: var(--accent); }
/* Buy flow: step indicator and order summary (ACT green, SAT blue, like the website buttons). */
.steps { --exam: var(--act); list-style: none; display: flex; gap: 6px; margin: 0 0 12px; padding: 0; font-size: 14px; color: var(--muted); }
.steps.sat { --exam: var(--sat); }
.steps li { flex: 1; display: flex; align-items: center; gap: 6px; padding-top: 8px; border-top: 3px solid var(--line); line-height: 1.2; }
.steps li span { flex: none; width: 20px; height: 20px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--line); color: var(--ink); }
.steps li.active { border-top-color: var(--exam); color: var(--ink); font-weight: 600; }
.steps li.active span { background: var(--exam); color: #fff; }
.offer-summary { --exam: var(--act); display: flex; align-items: center; gap: 12px; margin: 0 0 14px; padding: 12px 14px; border: 1px solid var(--line); border-left: 4px solid var(--exam); border-radius: 14px; background: var(--paper); }
.offer-summary.sat { --exam: var(--sat); }
.offer-summary .badge { flex: none; min-width: 46px; padding: 6px 8px; border-radius: 999px; background: var(--exam); color: #fff; font-family: "Sora", sans-serif; font-weight: 600; font-size: 14px; text-align: center; }
.offer-summary p { margin: 0; }
.offer-name { font-family: "Sora", sans-serif; font-weight: 600; font-size: 16px; }
.offer-lines { font-size: 15px; color: var(--muted); }
.taker-compact { margin-top: 2px; }
.stacked-links { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.stacked-links button.link { margin-top: 8px; }
/* Buying SAT: the main buttons are SAT blue, like the website's SAT button. */
body.exam-sat button:not(.link) { background: var(--sat); }
body.exam-sat button:not(.link):hover { background: var(--sat-strong); }
body.exam-sat button.link, body.exam-sat a { color: var(--sat); }
/* After buying: one card per test taker. */
#taker-list { display: grid; gap: 12px; margin-top: 10px; }
.taker-card { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; background: var(--paper); }
.taker-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.taker-head h3 { margin: 0; font-family: "Sora", sans-serif; font-weight: 600; font-size: 16px; word-break: break-all; }
.taker-card p { margin: 6px 0 0; }
.badges { display: flex; gap: 6px; }
.exam-badge { padding: 2px 10px; border-radius: 999px; color: #fff; font-family: "Sora", sans-serif; font-weight: 600; font-size: 13px; background: var(--act); }
.exam-badge.sat { background: var(--sat); }
a.link-like { color: var(--accent); font-weight: 600; font-size: 15px; text-decoration: none; }
a.link-like:hover { text-decoration: underline; }
.taker-actions button.add-on.act { color: var(--act); }
.taker-actions button.add-on.sat { color: var(--sat); }
.change-form button[type="submit"] { width: auto; margin-top: 10px; }
.change-form button.link { display: block; }
button.secondary { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
button.secondary:hover { background: var(--sage); }
.another-buttons { display: flex; gap: 10px; }
.another-buttons button { margin-top: 12px; }
.another-buttons .act { background: var(--act); }
.another-buttons .sat { background: var(--sat); }

.account-links { display: block; margin-top: 4px; white-space: nowrap; }
.account-links a { color: var(--accent); font-weight: 600; }
