/* tmpy.app landing, sign-in pages. Same font file as the dashboard (served
   from this site, not Google, so the page loads without a third party). */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/ibm-plex-sans-latin.woff2) format("woff2");
}
/* Layout: one narrow column, white page, one blue accent. Order: header, hero, preview, three benefits, waitlist, footer.
   Deliberately light-only: the feedback asks for a white page with dark text. */
:root {
  --bg: #FFFFFF; --text: #0B1220; --muted: #5B6475; --line: #E4E7EC; --soft: #F5F6F8;
  --accent: #2457F5; --accent-soft: rgba(36, 87, 245, .07); --up: #0D7F48;
  --note-bg: #FFF8E1; --note-line: #F2D98A; --note-text: #5C4A12;
  --font: "IBM Plex Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.55; margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
button, input { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }


/* page */
.wrap { max-width: 960px; margin: 0 auto; padding-inline: 16px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; color: var(--text); }
.logo i { display: inline-flex; align-items: flex-end; gap: 2px; height: 18px; }
.logo i b { display: block; width: 5px; border-radius: 1px; background: var(--accent); }
.alpha { font-family: var(--mono); font-size: 10.5px; font-weight: 500; letter-spacing: .08em; color: var(--accent); border: 1px solid var(--accent); border-radius: 5px; padding: 1px 5px; line-height: 1.4; }
.btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; padding: 11px 20px; font-weight: 600; font-size: 15px; cursor: pointer; border: 1px solid transparent; background: var(--accent); color: #fff; white-space: nowrap; }
.btn:hover { text-decoration: none; filter: brightness(1.06); }
.btn[disabled] { opacity: .45; cursor: not-allowed; filter: none; }

header.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 18px; }
header.nav a.signin { font-weight: 500; font-size: 15px; }

.hero { text-align: center; padding-block: 48px 32px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
h1 { font-size: clamp(32px, 5.4vw, 52px); line-height: 1.08; letter-spacing: -0.02em; margin: 0; text-wrap: balance; font-weight: 700; }
.sub { font-size: 18.5px; color: var(--muted); max-width: 32em; margin: 0; }
.support { font-size: 14px; color: var(--muted); margin: 0; }

.preview { max-width: 720px; margin: 8px auto 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.preview-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; background: var(--soft); }
.preview-head span { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.tbl { overflow-x: auto; }
.preview table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.preview th { text-align: left; font-size: 12px; font-weight: 500; color: var(--muted); padding: 8px 16px; border-bottom: 1px solid var(--line); }
.preview td { padding: 9px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.preview tr:last-child td { border-bottom: 0; }
.preview .r { text-align: right; white-space: nowrap; }
.sym { font-weight: 600; }
.nm { display: block; color: var(--muted); font-size: 12.5px; }
.why { color: var(--muted); font-size: 13px; min-width: 180px; }
.pct { color: var(--up); font-weight: 600; }
.score { display: inline-block; min-width: 32px; text-align: center; font-weight: 700; font-size: 13px; color: var(--accent); background: var(--accent-soft); border-radius: 6px; padding: 1px 6px; }

section.block { padding-block: 56px; }
h2 { font-size: clamp(24px, 3.4vw, 30px); line-height: 1.15; margin: 0 0 8px; letter-spacing: -0.01em; text-wrap: balance; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .benefits { grid-template-columns: 1fr; } }
.benefit { border: 1px solid var(--line); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.benefit svg { width: 22px; height: 22px; color: var(--accent); }
.benefit h3 { margin: 0; font-size: 17px; }
.benefit p { margin: 0; color: var(--muted); font-size: 15px; }

.demo-link { display: inline-flex; align-items: center; gap: 14px; margin-top: 24px; border: 1px solid var(--line); border-radius: 10px; padding: 10px 16px 10px 10px; color: var(--text); max-width: 100%; }
.demo-link:hover { text-decoration: none; background: var(--soft); }
.thumb { width: 96px; aspect-ratio: 16 / 9; border-radius: 6px; background: var(--soft); border: 1px solid var(--line); display: grid; place-items: center; flex: none; }
.thumb svg { width: 20px; height: 20px; fill: var(--accent); }
.demo-link b { display: block; font-size: 15px; }
.demo-link small { color: var(--muted); font-size: 13px; }

.waitlist { max-width: 460px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; gap: 14px; }
.waitlist p { margin: 0; color: var(--muted); }
.form-row { display: flex; gap: 8px; flex-wrap: wrap; }
.form-row input { flex: 1 1 220px; min-width: 0; padding: 11px 12px; border-radius: 8px; border: 1px solid var(--line); color: var(--text); background: var(--bg); }
.form-row .btn { flex: 1 1 auto; }
.check { display: flex; gap: 8px; align-items: flex-start; justify-content: center; font-size: 14px; color: var(--muted); cursor: pointer; text-align: left; }
.check input { width: 16px; height: 16px; margin: 3px 0 0; accent-color: var(--accent); flex: none; }
.fine { font-size: 13px; }

footer.site { border-top: 1px solid var(--line); padding-block: 24px 40px; font-size: 13px; color: var(--muted); }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
footer.site nav { display: flex; gap: 18px; }
footer.site nav a { color: var(--muted); }
.disclaimer { flex-basis: 100%; margin: 0; font-size: 12.5px; }

/* richer sections */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-soft); padding: 4px 10px; border-radius: 999px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 3px rgba(13,127,72,.12); }
h1 em { font-style: normal; color: var(--accent); }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.btn.ghost { background: var(--bg); color: var(--text); border-color: var(--line); }
.sec-head { max-width: 44em; margin: 0 auto 28px; text-align: center; }
.sec-head p { color: var(--muted); margin: 0; font-size: 17px; }
.video { max-width: 760px; margin: 0 auto; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); display: grid; place-items: center; align-content: center; gap: 12px; }
.play { width: 64px; height: 64px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; }
.play svg { width: 26px; height: 26px; fill: #fff; margin-left: 4px; }

/* native waitlist: closed -> open -> done */
.wl { max-width: 560px; margin: 0 auto; text-align: center; }
.wl-intro { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.wl-intro p { margin: 0; color: var(--muted); }
.reveal { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s cubic-bezier(.22, 1, .36, 1); }
.reveal > .clip { overflow: hidden; min-height: 0; }
.wl.open .reveal.form-wrap, .reveal.other.show { grid-template-rows: 1fr; }
.wl.open .wl-open-btn { display: none; }
.reveal.other { grid-column: 1 / -1; }
form.wl-form { text-align: left; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 12px; padding: 22px 2px 4px; }
@media (max-width: 560px) { form.wl-form { grid-template-columns: 1fr; } }
.f { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.f.full { grid-column: 1 / -1; }
.f label { font-size: 13px; font-weight: 500; color: var(--text); }
.f label .opt { color: var(--muted); font-weight: 400; }
.f input, .f select { width: 100%; height: 40px; padding: 0 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--text); font-size: 15px; transition: border-color .15s, box-shadow .15s; }
.f select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 17px) 17px, calc(100% - 12px) 17px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 30px; }
.f input:focus, .f select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.f input[aria-invalid="true"] { border-color: #C2362F; }
.err { font-size: 12.5px; color: #C2362F; min-height: 0; }
.ticks { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; margin-top: 2px; }
.ticks .check { justify-content: flex-start; color: var(--text); font-size: 14px; }
.submit-row { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.submit-row .btn { width: 100%; height: 44px; position: relative; }
.submit-row .fine { text-align: center; color: var(--muted); }
.btn.busy { color: transparent; pointer-events: none; }
.btn.busy::after { content: ""; position: absolute; inset: 0; margin: auto; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* staggered entrance for each field */
.wl.open .stagger > * { animation: rise .45s cubic-bezier(.22, 1, .36, 1) both; }
.wl.open .stagger > *:nth-child(1) { animation-delay: .10s } .wl.open .stagger > *:nth-child(2) { animation-delay: .14s }
.wl.open .stagger > *:nth-child(3) { animation-delay: .18s } .wl.open .stagger > *:nth-child(4) { animation-delay: .22s }
.wl.open .stagger > *:nth-child(5) { animation-delay: .26s } .wl.open .stagger > *:nth-child(6) { animation-delay: .30s }
.wl.open .stagger > *:nth-child(7) { animation-delay: .34s } .wl.open .stagger > *:nth-child(8) { animation-delay: .38s }
.wl.open .stagger > *:nth-child(9) { animation-delay: .42s } .wl.open .stagger > *:nth-child(10) { animation-delay: .46s }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
/* thank-you */
.done { display: none; flex-direction: column; align-items: center; gap: 10px; padding: 28px 8px 8px; }
.wl.sent .form-wrap, .wl.sent .wl-intro { display: none; }
.wl.sent .done { display: flex; animation: rise .5s cubic-bezier(.22, 1, .36, 1) both; }
.done svg { width: 64px; height: 64px; }
.done circle { fill: none; stroke: var(--up); stroke-width: 3; stroke-dasharray: 176; stroke-dashoffset: 176; }
.done path { fill: none; stroke: var(--up); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.wl.sent .done circle { animation: draw .6s .1s ease-out forwards; }
.wl.sent .done path { animation: draw .35s .6s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.done h2 { margin: 6px 0 0; }
.done p { margin: 0; color: var(--muted); max-width: 30em; }
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; } .wl.open .stagger > *, .wl.sent .done { animation: none; }
  .done circle, .done path { stroke-dashoffset: 0; } .wl.sent .done circle, .wl.sent .done path { animation: none; }
}

/* sign-in and welcome screens */
.center { min-height: 72vh; display: grid; place-items: center; padding: 48px 16px; }
.card { width: 100%; max-width: 400px; border: 1px solid var(--line); border-radius: 14px; padding: 32px 28px; display: flex; flex-direction: column; gap: 18px; text-align: center; }
.card .logo { justify-content: center; font-size: 20px; }
.card h2 { font-size: 24px; margin: 0; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.gbtn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 12px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font-weight: 600; font-size: 15.5px; cursor: pointer; }
.gbtn:hover { background: var(--soft); }
.gbtn svg { width: 20px; height: 20px; }
.card .check { justify-content: flex-start; color: var(--text); font-size: 14.5px; }
.alpha-box { background: var(--accent-soft); border-radius: 10px; padding: 12px 14px; text-align: left; font-size: 14px; }
.card .btn { width: 100%; }
.turnstile { grid-column: 1 / -1; min-height: 65px; }


/* Terms and Privacy pages */
.legal { max-width: 720px; padding-block: 24px 56px; }
.legal h1 { font-size: 32px; margin: 0 0 4px; }
.legal h2 { font-size: 18px; margin: 28px 0 6px; }
.legal p, .legal li { color: var(--muted); font-size: 15.5px; }
.legal ul { padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal strong { color: var(--text); }
.legal .updated { font-size: 13px; }

/* Phones: the sample table drops its Score column so Today isn't cut off, and
   inputs are 16px because iPhone Safari zooms the page in on anything smaller. */
@media (max-width: 560px) {
  .preview th:nth-child(3), .preview td:nth-child(3) { display: none; }
  .preview th, .preview td { padding-left: 12px; padding-right: 12px; }
  .why { min-width: 0; }
  .f input, .f select, .form-row input { font-size: 16px; }
}
