/* Tempered site — shared styles (Straw to Bronze, on the web).
 * One stylesheet across the marketing page and all legal/support pages so the
 * brand stays consistent. Tokens mirror the app's design system. */

:root {
  --quench: #141517;
  --billet: #1d2023;
  --billet-2: #25282c;
  --polished: #ededeb;
  --mill: #a9adb2;
  --hairline: rgba(169, 173, 178, 0.24);
  --straw: #e8c268;
  --amber: #e09e3c;
  --bronze: #c97f2e;
  --display: 'Saira Semi Condensed', system-ui, sans-serif;
  --sans: 'IBM Plex Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, monospace;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background: var(--quench);
  color: var(--polished);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--straw);
  text-decoration: none;
}
a:hover {
  color: var(--polished);
}
.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Top navigation: appears on every page --- */
.topnav {
  border-bottom: 1px solid var(--hairline);
  background: color-mix(in srgb, var(--quench) 90%, transparent);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(8px);
}
.topnav-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}
.topnav .brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--polished);
}
.topnav .brand img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}
.topnav .brand span {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 15px;
}
.topnav .links {
  margin-left: auto;
  display: flex;
  gap: 20px;
  font-size: 14px;
}
.topnav .links a {
  color: var(--mill);
}
.topnav .links a:hover,
.topnav .links a[aria-current='page'] {
  color: var(--polished);
}

/* --- Buttons: the one Amber intervention --- */
button,
.btn {
  background: var(--amber);
  color: var(--quench);
  border: none;
  border-radius: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 100ms;
  white-space: nowrap;
  display: inline-block;
}
button:hover,
.btn:hover {
  background: var(--straw);
  color: var(--quench);
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.btn-ghost {
  background: transparent;
  color: var(--straw);
  border: 1px solid var(--hairline);
}
.btn-ghost:hover {
  background: var(--billet-2);
  color: var(--polished);
}
input,
textarea {
  background: var(--billet);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  color: var(--polished);
  font-family: var(--sans);
  font-size: 15px;
  padding: 12px 14px;
  width: 100%;
}
input::placeholder,
textarea::placeholder {
  color: var(--mill);
}
input:focus-visible,
textarea:focus-visible,
button:focus-visible,
.btn:focus-visible,
a:focus-visible {
  outline: 2px solid var(--straw);
  outline-offset: 2px;
}

/* --- Hero (index) --- */
header.hero {
  padding: 72px 0 48px;
  text-align: center;
}
.mark {
  width: 96px;
  height: 96px;
  object-fit: contain;
}
.wordmark {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 20px;
  color: var(--polished);
  margin-top: 12px;
}
.eyebrow {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  color: var(--mill);
  margin-top: 40px;
}
h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 52px;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-top: 10px;
}
.lede {
  color: var(--mill);
  font-size: 18px;
  max-width: 560px;
  margin: 20px auto 0;
}
.lede strong {
  color: var(--straw);
  font-weight: 500;
}

/* --- The temper band: the signature, as the site's spine --- */
.scale {
  max-width: 420px;
  margin: 40px auto 0;
}
.scale-band {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f2e3b3 0%, #e8c268 20%, #d99a34 45%, #c97f2e 70%, #b3612a 100%);
}
.scale-ticks {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mill);
  margin-top: 8px;
}
.scale-note {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mill);
  text-align: center;
  margin-top: 6px;
}

/* --- Call to action zone: waitlist form OR download button --- */
.cta {
  margin: 40px auto 0;
  max-width: 480px;
}
form.inline {
  display: flex;
  gap: 8px;
}
.form-note {
  color: var(--mill);
  font-size: 13px;
  margin-top: 10px;
}
.form-msg {
  font-family: var(--mono);
  font-size: 13px;
  margin-top: 12px;
  min-height: 18px;
}
.form-msg.ok {
  color: var(--straw);
}
.form-msg.err {
  color: var(--mill);
}
.download-cta .btn {
  font-size: 16px;
  padding: 14px 28px;
}
.download-cta .sub {
  color: var(--mill);
  font-size: 13px;
  margin-top: 10px;
}

/* --- Promise trio (index) --- */
.promise {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 80px 0 0;
}
.promise div {
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: var(--billet);
  padding: 20px;
}
.promise h3 {
  font-family: var(--display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  color: var(--straw);
}
.promise p {
  color: var(--mill);
  font-size: 14px;
  margin-top: 8px;
}

/* --- Features (index) --- */
.features {
  margin: 64px 0 0;
}
.features h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
}
.features ul {
  list-style: none;
  margin-top: 16px;
  display: grid;
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  overflow: hidden;
}
.features li {
  background: var(--billet);
  padding: 16px 20px;
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.features li b {
  font-weight: 600;
  color: var(--polished);
}
.features li span {
  color: var(--mill);
  font-size: 14px;
}
.features li .n {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--straw);
  min-width: 18px;
}

/* --- Document pages: privacy, terms, faq, contact --- */
.doc {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 24px;
}
.doc .eyebrow {
  margin-top: 0;
}
.doc h1 {
  font-size: 40px;
  margin-top: 8px;
}
.doc .updated {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--mill);
  margin-top: 12px;
}
.doc h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  margin-top: 40px;
  color: var(--polished);
}
.doc h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  margin-top: 24px;
  color: var(--polished);
}
.doc p,
.doc li {
  color: var(--mill);
  font-size: 15px;
  margin-top: 12px;
}
.doc ul,
.doc ol {
  margin-top: 8px;
  padding-left: 22px;
}
.doc li {
  margin-top: 6px;
}
.doc strong {
  color: var(--polished);
  font-weight: 600;
}
.doc .lead {
  font-size: 17px;
  color: var(--polished);
}
/* FAQ item */
.faq-item {
  border-top: 1px solid var(--hairline);
  padding: 20px 0;
}
.faq-item:first-of-type {
  border-top: none;
}
.faq-item h3 {
  margin-top: 0;
  color: var(--straw);
}
/* Contact form block */
.field {
  margin-top: 16px;
}
.field label {
  display: block;
  font-size: 13px;
  color: var(--mill);
  margin-bottom: 6px;
}

/* --- Footer: consistent across pages --- */
footer.site {
  margin-top: 96px;
  border-top: 1px solid var(--hairline);
}
.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.footer-brand {
  max-width: 280px;
}
.footer-brand .row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-brand img {
  width: 24px;
  height: 24px;
}
.footer-brand .name {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 14px;
}
.footer-brand p {
  color: var(--mill);
  font-size: 13px;
  margin-top: 10px;
}
.footer-col h4 {
  font-family: var(--display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  color: var(--mill);
}
.footer-col ul {
  list-style: none;
  margin-top: 10px;
}
.footer-col li {
  margin-top: 8px;
}
.footer-col a {
  color: var(--mill);
  font-size: 14px;
}
.footer-col a:hover {
  color: var(--polished);
}
.footer-legal {
  border-top: 1px solid var(--hairline);
  text-align: center;
  padding: 20px 24px;
  color: var(--mill);
  font-family: var(--mono);
  font-size: 12px;
}

/* --- Motion --- */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
header.hero,
.promise,
.features {
  animation: rise 400ms ease-out both;
}
.promise {
  animation-delay: 80ms;
}
.features {
  animation-delay: 140ms;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
@media (max-width: 560px) {
  h1 {
    font-size: 40px;
  }
  .promise {
    grid-template-columns: 1fr;
  }
  form.inline {
    flex-direction: column;
  }
  .topnav .links {
    gap: 14px;
  }
}
