/* Content styles for support, privacy, 404, /free and friend invite pages. Carried over from the
   2025 dark stylesheet and re-pointed at the cream tokens in main.css; load main.css first. */

:root {
  --field: #ffffff;
  --highlight: #f7f6f2;
  --surface-muted: #faf9f6;
  --accent-faint: rgba(255, 212, 0, 0.14);
  --on-accent: #000;
  --coach-fill: #fff7cc;
  --coach-border: #f0dc70;
  --coach-text: #3d3500;
  --heart: #e5484d;
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 88px 0; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 13px/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink);
}
.accent { color: var(--ink); background: linear-gradient(transparent 58%, var(--accent) 58%, var(--accent) 90%, transparent 90%); }
.btn--primary { background: var(--accent); color: #000; }
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(120, 95, 0, .22); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--border-strong); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.intro { animation: intro .7s var(--ease) both; animation-delay: var(--delay, 0s); }
@keyframes intro { from { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) { .intro { animation: none; } }

.site-header.is-scrolled { border-bottom-color: var(--border); }
.lang-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 10px 48px 10px var(--gutter);
  position: relative;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
.lang-hint a { color: var(--on-accent); font-weight: 800; }
.lang-hint button {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--on-accent);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.lang-hint button:hover { background: rgba(0, 0, 0, 0.1); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 212, 0, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(255, 212, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 212, 0, 0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.app__row.is-done { border-color: rgba(255, 212, 0, 0.45); background: #12110a; }
.app__row.is-done .app__field--reps { color: var(--text); }
.app__row.is-done .app__check { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.section { padding: 96px 0; position: relative; }
@media (min-width: 960px) {
  .section { padding: 140px 0; }
}
.section-head { max-width: 760px; }
.section-head h2,
.feature h2 {
  margin-top: 18px;
  font-size: clamp(38px, 6.4vw, 64px);
  letter-spacing: -0.03em;
}
.section-head p,
.feature__copy > p {
  margin-top: 20px;
  font-size: clamp(17px, 2vw, 19px);
  color: var(--text-2);
  max-width: 56ch;
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }
.ladder__numbers .is-changed { color: var(--accent-ink); }
.ladder__week {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.ladder__stack {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column-reverse;
  gap: 3px;
  
  padding-bottom: calc(var(--step, 0) * 28px);
}
.ladder__stack::after {
  
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--step, 0) * 28px - 3px);
  border-radius: 6px;
  background: repeating-linear-gradient(135deg, #1b1b1b 0 6px, #141414 6px 12px);
  border: 1px solid #252525;
  opacity: calc(min(var(--step, 0), 1));
}
.ladder__rep {
  height: 9px;
  border-radius: 3px;
  background: #262626;
}
.ladder__week.is-on .ladder__rep { background: #3d3d3d; }
.ladder__week.is-on .ladder__rep.is-new { background: var(--accent); }
.ladder__week.is-on.is-jump .ladder__rep { background: var(--accent-soft); }
.ladder__w {
  font: 700 13px/1 var(--font-display);
  color: var(--text-3);
  font-variant-numeric: tabular-nums;
}
.ladder__week.is-on .ladder__w { color: var(--text); }
.ladder__wk { font-size: 11px; color: var(--text-3); font-weight: 600; margin-top: -4px; }
.ladder.is-finished .ladder__replay { opacity: 1; }
.ladder.is-finished .ladder__head { padding-right: 96px; }
.la__clock.is-go { color: var(--accent-ink); }
.wx__view.is-on { opacity: 1; transform: none; }
.wx__count.is-almost { color: var(--accent-ink); transform: scale(1.06); }
.solo.is-syncing .solo__line { stroke: rgba(255, 212, 0, 0.5); }
.solo.is-syncing .solo__packets i { animation: packet 1.1s linear infinite; }
.solo.is-syncing .solo__packets i:nth-child(2) { animation-delay: 0.37s; }
.solo.is-syncing .solo__packets i:nth-child(3) { animation-delay: 0.74s; }
@keyframes packet {
  0% { left: 0; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: calc(100% - 8px); opacity: 0; }
}
.solo.is-synced .solo__check { transform: scale(1); }
.solo.is-synced .solo__line { stroke: var(--accent); stroke-dasharray: none; }
.solo.is-synced .solo__dot { background: #3ddc84; }
.ears .section-head h2 { margin-top: 18px; font-size: clamp(36px, 5.4vw, 60px); letter-spacing: -0.03em; }
.ears .section-head p { margin-top: 20px; color: var(--text-2); font-size: 18px; max-width: 60ch; }
@keyframes wave {
  from { transform: scale(0.6); opacity: calc(var(--level, 1) * 0.9); }
  to { transform: scale(calc(1.4 + var(--level, 1) * 2.4)); opacity: 0; }
}
.session__bars i.rest { background: #3a3a3a; }
.session.is-playing .session__head-line { opacity: 1; }
.hear__btn.is-playing .hear__play { background: currentColor; }
.hear__btn.is-playing .hear__play::before { border-color: transparent transparent transparent #000; animation: ping 0.6s ease-out infinite alternate; }
@keyframes ping { to { transform: scale(0.7); } }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.page-hero {
  padding: 72px 0 40px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-top: 18px; font-size: clamp(44px, 8vw, 76px); letter-spacing: -0.035em; }
.page-hero p { margin-top: 18px; color: var(--text-2); font-size: 19px; max-width: 58ch; }
.page-body { padding: 56px 0 120px; }
.layout-split {
  display: grid;
  gap: 48px;
}
.layout-split > * { min-width: 0; }
@media (min-width: 960px) {
  .layout-split { grid-template-columns: 240px 1fr; gap: 72px; }
}
.toc {
  align-self: start;
}
@media (min-width: 960px) {
  .toc { position: sticky; top: 96px; }
}
.toc h2 {
  font: 700 12px/1 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
}
.toc ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 4px; }
.toc a {
  display: block;
  padding: 7px 0;
  color: var(--text-2);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s;
}
.toc a:hover { color: var(--accent-ink); }
@media (max-width: 959px) {
  .toc ul { display: flex; flex-wrap: wrap; gap: 8px; }
  .toc a {
    padding: 8px 14px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    font-size: 14px;
  }
}
.faq-group + .faq-group { margin-top: 56px; }
.faq-group > h2 {
  font-size: clamp(26px, 3.4vw, 32px);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.faq {
  border-bottom: 1px solid var(--border);
}
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  cursor: pointer;
  font-weight: 700;
  font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  border: 1px solid var(--border-strong);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23FFD400' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M10 5v10M5 10h10'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.3s var(--ease), background-color 0.3s;
}
.faq[open] summary::after { transform: rotate(45deg); background-color: var(--coach-fill); }
.faq summary:hover { color: var(--accent-ink); }
.faq__body {
  padding: 0 0 24px;
  color: var(--text-2);
  max-width: 68ch;
}
.faq__body p + p,
.faq__body p + ol,
.faq__body p + ul,
.faq__body ol + p,
.faq__body ul + p { margin-top: 12px; }
.faq__body ol,
.faq__body ul { margin: 12px 0 0; padding-left: 22px; }
.faq__body li + li { margin-top: 6px; }
.faq__body strong { color: var(--text); }
.faq__body a,
.prose a { color: var(--accent-ink); text-underline-offset: 3px; }
.contact-card {
  margin-top: 72px;
  padding: 32px;
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.contact-card h2 { font-size: 28px; letter-spacing: -0.02em; }
.contact-card p { margin-top: 8px; color: var(--text-2); }
.prose { max-width: 72ch; color: var(--text-2); }
.prose h2 {
  margin: 56px 0 16px;
  color: var(--text);
  font-size: clamp(24px, 3.2vw, 30px);
  letter-spacing: -0.02em;
  scroll-margin-top: 96px;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 28px 0 10px; color: var(--text); font-size: 19px; letter-spacing: -0.01em; }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 14px 0; padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose strong { color: var(--text); }
.prose .summary-box {
  margin-bottom: 48px;
  padding: 26px 28px;
  border-radius: 22px;
  background: var(--coach-fill);
  border: 1px solid var(--coach-border);
  color: var(--coach-text);
}
.prose .summary-box h2 { margin: 0 0 12px; font-size: 20px; }
.prose .summary-box ul { margin-bottom: 0; }
.table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--border); border-radius: 16px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.prose th,
.prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose tr:last-child td { border-bottom: 0; }
.prose th { color: var(--text); font-weight: 700; background: var(--surface); }
.meta-line { color: var(--text-3); font-size: 15px; font-weight: 600; margin-top: 18px; }
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.notfound h1 { font-size: clamp(80px, 18vw, 180px); color: var(--accent-ink); }
.notfound p { margin: 16px auto 32px; color: var(--text-2); max-width: 40ch; }
.invite {
  padding: 64px 0 96px;
  background:
    radial-gradient(50% 60% at 80% 20%, rgba(255, 212, 0, 0.1), transparent 70%),
    var(--bg);
}
.invite__inner { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) {
  .invite { padding: 104px 0 128px; }
  .invite__inner { grid-template-columns: 1fr 1.1fr; gap: 72px; }
}
.invite-card {
  position: relative;
  aspect-ratio: 1.586;
  max-width: 420px;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left: 6px solid var(--accent);
  background: linear-gradient(135deg, #1c1c1c, #0b0b0b);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 60px rgba(255, 212, 0, 0.06);
  transform: rotate(-3deg);
}
.invite-card__mark {
  position: absolute;
  right: -6%;
  bottom: -30%;
  width: 70%;
  stroke: var(--accent);
  opacity: 0.13;
}
.invite-card__label {
  position: absolute; left: 24px; top: 22px;
  font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-ink);
}
.invite-card__badge {
  position: absolute; right: 20px; top: 18px;
  width: 44px; height: 44px; border-radius: 12px; background: var(--accent);
  display: grid; place-items: center;
}
.invite-card__badge svg { width: 26px; height: 26px; }
.invite-card__name {
  position: absolute; left: 24px; bottom: 44px; right: 24px;
  font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: clamp(26px, 6vw, 34px);
  letter-spacing: -0.02em; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.invite-card__code {
  position: absolute; left: 24px; bottom: 22px;
  font: 600 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.2em; color: rgba(255, 255, 255, 0.55);
}
.invite__copy h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.05; letter-spacing: -0.03em; }
.invite__lede { margin: 16px 0 32px; color: var(--text-2); font-size: 18px; max-width: 46ch; }
.invite__steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 20px; }
.invite__steps li {
  counter-increment: step; position: relative; padding-left: 44px; color: var(--text); font-size: 16px;
  display: grid; gap: 12px; justify-items: start;
}
.invite__steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: -2px;
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--accent); color: #000; font-weight: 700; font-size: 14px;
  display: grid; place-items: center;
}
.invite__code {
  font: 700 22px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.18em;
  padding: 12px 16px; border-radius: 12px; background: var(--accent-faint); border: 1px solid var(--accent-soft); color: var(--accent-ink);
}
.invite__missing { color: var(--text-2); font-size: 17px; }
.tf-accent { color: var(--accent-ink); }
.tf-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(50% 70% at 85% 30%, rgba(255, 212, 0, 0.12), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(255, 212, 0, 0.05), transparent 70%),
    var(--bg);
}
.tf-hero__inner { display: grid; gap: 56px; align-items: center; }
@media (min-width: 960px) {
  .tf-hero { padding: 104px 0 128px; }
  .tf-hero__inner { grid-template-columns: 1.15fr 0.85fr; gap: 72px; }
}
.tf-hero h1 { margin-top: 20px; font-size: clamp(46px, 7.6vw, 84px); letter-spacing: -0.04em; }
.tf-hero__copy > p { margin-top: 22px; font-size: clamp(17px, 2vw, 20px); color: var(--text-2); max-width: 52ch; }
.tf-hero__actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.tf-pass { display: grid; justify-items: center; perspective: 1200px; }
.tf-pass__card {
  position: relative;
  width: min(100%, 360px);
  padding: 26px 26px 0;
  border-radius: 28px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.35), transparent 40%),
    var(--accent);
  color: #000;
  box-shadow: 0 40px 80px -30px rgba(255, 212, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  transform: rotate(-4deg);
  transition: transform 0.6s var(--ease);
}
.tf-pass__card:hover { transform: rotate(-1deg) translateY(-6px); }
.tf-pass__top { display: flex; justify-content: space-between; align-items: center; font: 800 12px/1 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; }
.tf-pass__round { padding: 7px 10px; border-radius: 999px; background: #000; color: var(--accent-ink); }
.tf-pass__big { margin-top: 26px; display: flex; align-items: flex-end; gap: 14px; }
.tf-pass__num { font: 700 112px/0.8 var(--font-display); letter-spacing: -0.06em; }
.tf-pass__unit { font: 700 17px/1.15 var(--font-display); padding-bottom: 6px; }
@keyframes tf-day { to { background: #000; } }
@keyframes tf-fill { from { opacity: 0; } to { opacity: 1; } }
.tf-pass__meta { margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tf-pass__meta div { padding: 12px; border-radius: 14px; background: rgba(0, 0, 0, 0.08); }
.tf-pass__meta dt { font: 700 11px/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.6; }
.tf-pass__meta dd { margin: 8px 0 0; font: 700 20px/1 var(--font-display); letter-spacing: -0.02em; }
.tf-pass__perf {
  position: relative;
  margin: 24px -26px 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(0, 0, 0, 0.35) 0 8px, transparent 8px 16px);
}
.tf-pass__perf::before,
.tf-pass__perf::after {
  content: "";
  position: absolute;
  top: -13px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg);
}
.tf-pass__perf::before { left: -13px; }
.tf-pass__perf::after { right: -13px; }
.tf-pass__stub { display: flex; justify-content: space-between; align-items: center; padding: 18px 0 22px; font: 800 12px/1 var(--font-body); letter-spacing: 0.16em; text-transform: uppercase; }
.tf-pass__stub svg { width: 28px; height: 28px; }
.tf-steps {
  list-style: none;
  margin: 56px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
  counter-reset: step;
}
@media (min-width: 720px) {
  .tf-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .tf-steps { grid-template-columns: repeat(4, 1fr); }
}
.tf-step {
  position: relative;
  padding: 28px 26px 30px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.tf-step__num { font: 700 14px/1 var(--font-display); color: var(--accent-ink); letter-spacing: 0.06em; }
.tf-step h3 { margin-top: 44px; font-size: 26px; letter-spacing: -0.02em; }
.tf-step p { margin-top: 10px; color: var(--text-2); font-size: 15px; line-height: 1.55; }
.tf-step--prize { background: var(--coach-fill); border-color: var(--coach-border); }
.tf-step--prize h3 { color: var(--accent-ink); }
.tf-deal { border-top: 1px solid var(--border); }
.tf-deal__grid { margin-top: 56px; display: grid; gap: 16px; }
@media (min-width: 860px) {
  .tf-deal__grid { grid-template-columns: 1fr 1fr; }
}
.tf-deal__card {
  padding: clamp(28px, 4vw, 44px);
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.tf-deal__card h3 { font-size: clamp(28px, 3.4vw, 36px); letter-spacing: -0.03em; }
.tf-deal__card--gold { background: var(--accent); border-color: var(--accent); color: #000; }
.tf-list { list-style: none; margin: 24px 0 0; padding: 0; }
.tf-list li {
  position: relative;
  padding: 14px 0 14px 34px;
  border-top: 1px solid var(--border);
  color: var(--text-2);
  font-size: 16px;
}
.tf-list li b { color: var(--text); }
.tf-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--accent);
}
.tf-deal__card--gold .tf-list li { border-color: rgba(0, 0, 0, 0.14); color: rgba(0, 0, 0, 0.72); }
.tf-deal__card--gold .tf-list li b { color: #000; }
.tf-deal__card--gold .tf-list li::before {
  border: 0;
  background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 4.5v7M4.5 8h7' stroke='%23ffd400' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  width: 20px;
  height: 20px;
  top: 17px;
  left: 0;
}
.tf-split { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .tf-split { grid-template-columns: 0.9fr 1.1fr; gap: 72px; align-items: start; }
}
@keyframes tf-ping {
  0% { box-shadow: 0 0 0 0 rgba(255, 212, 0, 0.45); }
  70%, 100% { box-shadow: 0 0 0 14px rgba(255, 212, 0, 0); }
}
.tf-apply { border-top: 1px solid var(--border); }
.tf-apply__panel {
  position: relative;
  padding: clamp(24px, 5vw, 64px);
  border-radius: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  gap: 40px;
}
@media (min-width: 1000px) {
  .tf-apply__panel { grid-template-columns: 0.75fr 1.25fr; gap: 64px; }
  .tf-apply__intro { position: sticky; top: 110px; align-self: start; }
}
.tf-apply__intro h2 { margin-top: 18px; font-size: clamp(38px, 5.6vw, 60px); letter-spacing: -0.035em; }
.tf-apply__intro p { margin-top: 16px; color: var(--text-2); font-size: 17px; max-width: 40ch; }
.tf-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.tf-form fieldset + fieldset { margin-top: 36px; }
.tf-form legend {
  padding: 0;
  margin-bottom: 18px;
  font: 700 13px/1 var(--font-body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.tf-grid { display: grid; gap: 18px; }
@media (min-width: 640px) {
  .tf-grid { grid-template-columns: 1fr 1fr; }
}
.tf-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tf-field + .tf-field { margin-top: 0; }
fieldset > .tf-field + .tf-field { margin-top: 18px; }
.tf-field > span { font-size: 15px; font-weight: 700; color: var(--text); }
.tf-field > span em { font-style: normal; font-weight: 500; color: var(--text-3); margin-left: 6px; }
.tf-field small { color: var(--text-3); font-size: 13px; }
.tf-field small.is-ok { color: var(--accent-ink); }
.tf-form input[type="text"],
.tf-form input[type="email"],
.tf-form select,
.tf-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border-strong);
  background: var(--field);
  color: var(--text);
  font: 500 16px/1.4 var(--font-body);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.tf-form textarea { resize: vertical; min-height: 0; }
.tf-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%23a3a3a3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
}
.tf-form select:invalid { color: var(--text-3); }
.tf-form option { color: var(--text); background: var(--field); }
.tf-form ::placeholder { color: #666; }
.tf-form input:focus,
.tf-form select:focus,
.tf-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-faint); }
.tf-form .is-invalid { border-color: var(--heart) !important; }
.tf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tf-chips label { position: relative; cursor: pointer; }
.tf-chips input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.tf-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: var(--field);
  color: var(--text-2);
  font-size: 15px;
  font-weight: 700;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.tf-chips label:hover span { border-color: #4a4a4a; color: var(--text); }
.tf-chips input:checked + span { background: var(--accent); border-color: var(--accent); color: #000; }
.tf-chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.tf-chips.is-invalid span { border-color: var(--heart); }
.tf-agree {
  margin-top: 32px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 16px;
  background: var(--coach-fill);
  border: 1px solid var(--coach-border);
  color: var(--coach-text);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.tf-agree input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); }
.tf-agree.is-invalid { border-color: var(--heart); }
.tf-form__submit { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; }
.tf-form__note { color: var(--text-3); font-size: 14px; }
.tf-form__note a { color: var(--text-2); font-weight: 700; }
.tf-form__status { min-height: 24px; margin-top: 14px; font-weight: 700; font-size: 15px; color: var(--heart); }
.tf-done { align-self: center; text-align: center; padding: 40px 0; }
.tf-done[hidden] { display: none; }
.tf-done__mark {
  width: 96px;
  height: 96px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  font: 700 36px/1 var(--font-display);
  letter-spacing: -0.04em;
}
@media (prefers-reduced-motion: no-preference) {
  .tf-done__mark { animation: rise 0.7s var(--ease) both; }
}
.tf-done h3 { margin-top: 24px; font-size: 36px; letter-spacing: -0.03em; }
.tf-done p { margin: 12px auto 0; color: var(--text-2); max-width: 42ch; }
.tf-done b { color: var(--text); }
.tf-faq { border-top: 1px solid var(--border); }
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  [data-reveal].is-in { opacity: 1; transform: none; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.fr-left { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); font-weight: 700; font-size: 15px; }
.fr-left[hidden] { display: none; }
.fr-left::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-faint); }
.fr-follow { padding-top: 0; }
.fr-links { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.fr-price { margin: 18px 0 0; padding: 14px 16px; border-radius: 16px; background: rgba(0, 0, 0, 0.08); }
.fr-price__label { display: block; font: 700 11px/1 var(--font-body); letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.6; }
.fr-price__row { margin-top: 10px; display: flex; align-items: baseline; gap: 14px; }
.fr-price__was { position: relative; font: 700 24px/1 var(--font-display); letter-spacing: -0.02em; opacity: 0.55; }
.fr-price__was s { text-decoration: none; }
.fr-price__was::after { content: ""; position: absolute; left: -4px; top: 52%; height: 3px; width: calc(100% + 8px); background: #000; border-radius: 2px; transform-origin: left center; transform: scaleX(1); }
.fr-price__now { font: 800 44px/1 var(--font-display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.fr-price.is-run .fr-price__was::after { transform: scaleX(0); animation: fr-strike 0.5s var(--ease, ease-out) 0.35s forwards; }
.fr-price.is-done .fr-price__now { animation: fr-pop 0.45s var(--ease, ease-out); }
@keyframes fr-strike { to { transform: scaleX(1); } }
@keyframes fr-pop { 0% { transform: scale(1); } 45% { transform: scale(1.18); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .fr-price.is-run .fr-price__was::after, .fr-price.is-done .fr-price__now { animation: none; transform: none; }
}
/* When the sign-up form is replaced by an answer, the answer spans the whole panel, not just the left column. */
.tf-done, .fr-proof { grid-column: 1 / -1; justify-self: center; width: 100%; }
.tf-follow { display: grid; gap: 14px; }
.tf-follow__lead { margin: 0; color: var(--text-2); }
.tf-follow__lead b { color: var(--text); }
.tf-follow .fr-links { justify-content: flex-start; }
.tf-follow input[type=file] { padding: 14px; border-radius: 14px; background: var(--field); border: 1px solid var(--border-strong); color: var(--text-2); font: 600 14px var(--font-body); width: 100%; }
.fr-proof { align-self: center; text-align: center; padding: 24px 0; }
.fr-proof[hidden] { display: none; }
.fr-proof h3 { margin-top: 20px; font-size: clamp(26px, 4vw, 36px); letter-spacing: -0.03em; }
.fr-proof > p { margin: 12px auto 0; max-width: 520px; color: var(--text-2); }
.fr-links--proof { margin-top: 24px; }
.fr-proof__form { margin: 28px auto 0; max-width: 460px; text-align: left; display: grid; gap: 16px; }
.fr-proof__form input[type=file] { padding: 14px; border-radius: 14px; background: var(--field); border: 1px solid var(--border-strong); color: var(--text-2); font: 600 14px var(--font-body); width: 100%; }
.fr-proof__form .btn { justify-self: start; }

/* Cream-theme overrides: big yellow words read as a marker highlight, not yellow text. */
.notfound h1 { color: var(--ink); }
.tf-accent { color: var(--ink); background: linear-gradient(transparent 58%, var(--accent) 58%, var(--accent) 90%, transparent 90%); padding: 0 .06em; }

.invite { padding-top: calc(var(--header) + 56px); }
