/* Readout — gotreadout.com
   Mobile-first, Inter only, no third-party requests, no tracking.
   --accent is the brand/logo color; swap this one line when the logo color is set. */

@font-face {
  font-family: Inter;
  src: url("fonts/inter-latin-wght.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-alt: #f4f4f4;
  --ink: #171a20;
  --muted: #5c5e62;
  --line: #e2e3e4;
  --line-strong: #d0d1d2;
  --accent: #3e6ae1;
  --accent-hover: color-mix(in srgb, var(--accent) 82%, #000);
  --on-accent: #ffffff;
  --ok: var(--accent);
  --error: #b91c1c;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --measure: 40rem;
  --pad: clamp(1.25rem, 5vw, 2.5rem);
  --radius: 4px;
  --header-h: 3.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.9375rem; /* 15px */
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

[hidden] {
  display: none !important;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent-hover);
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -3.5rem;
  z-index: 30;
  padding: 0.6rem 0.9rem;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 500;
}

.skip:focus {
  top: 0.75rem;
}

/* Header — thin, overlays the hero, solid after scroll */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  height: auto;
  padding: 0.7rem var(--pad);
  padding-top: calc(0.7rem + env(safe-area-inset-top));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  flex: 0 0 auto;
  font-family: var(--font);
  font-weight: 600;
  font-style: normal;
  font-size: 1.125rem;
  letter-spacing: -0.03em;
  line-height: 1.2;
  text-align: left;
  text-decoration: none;
  color: var(--ink);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.site-nav a:hover {
  color: var(--accent);
}

.wordmark:hover {
  color: var(--ink);
}

/* Layout */

main {
  flex: 1 0 auto;
  padding: 0;
}

body:not(.has-hero) main {
  padding-top: calc(var(--header-h) + env(safe-area-inset-top));
}

.soon,
.section {
  padding: 3rem var(--pad) 3.25rem;
}

.soon > *,
.section > * {
  max-width: var(--measure);
  margin-left: auto;
  margin-right: auto;
}

.section-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.section h2 {
  margin: 0 0 1.6rem;
  font-size: clamp(1.7rem, 5.5vw, 2.35rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.intro-band {
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
}

.intro-band .intro {
  margin: 0 auto;
  max-width: var(--measure);
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink);
}

.trust,
.app-band,
#dealers {
  background: var(--bg-alt);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Photo is a background; type floats on the sky. Only the input and button are solid. */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  overflow: hidden;
  background: #d7e0ea;
}

.hero-bg,
.hero-bg picture,
.hero-bg img,
.hero-scrim {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.hero-bg {
  z-index: 0;
  pointer-events: none;
}

.hero-bg img {
  object-fit: cover;
  object-position: center 70%;
}

@media (min-width: 800px) {
  .hero-bg img {
    object-position: center 62%;
  }
}

.hero-scrim {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.28) 0%,
    rgba(255, 255, 255, 0.12) 32%,
    rgba(255, 255, 255, 0) 52%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: calc(var(--header-h) + env(safe-area-inset-top) + 0.95rem) var(--pad) 0;
  min-height: 100dvh;
}

.hero-inner::after {
  content: "";
  flex: 1 0 13rem;
  min-height: 13rem;
  pointer-events: none;
}

.hero-copy {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  background: none;
  box-shadow: none;
}

.hero-copy .eyebrow,
.hero-copy h1,
.hero-copy .subhead,
.hero-copy label,
.hero-copy .hint,
.hero-copy #code-error {
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8), 0 0 10px rgba(255, 255, 255, 0.4);
}

.eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-decoration: none;
}

.hero-copy h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.7rem, 6.6vw, 2.45rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.hero-copy .subhead {
  margin: 0 0 0.8rem;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.45;
}

@media (min-width: 800px) {
  .hero-inner {
    display: grid;
    grid-template-columns: minmax(22rem, 28rem) 1fr;
    align-items: start;
    gap: 2rem;
    padding-bottom: 3rem;
  }

  .hero-copy {
    margin: 0;
  }

  .hero-copy h1 {
    font-size: clamp(1.9rem, 3vw, 2.5rem);
  }

  .hero-copy .subhead {
    font-size: 0.9375rem;
  }
}

/* Code form */

.code-form {
  margin: 0;
  max-width: 24rem;
  text-align: left;
}

.code-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.code-wrap {
  position: relative;
  margin-bottom: 0.65rem;
}

#code {
  display: block;
  width: 100%;
  height: 4.35rem;
  padding: 0 0.5rem 0 0.9rem;
  border: 1px solid rgba(23, 26, 32, 0.08);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 6px 22px rgba(23, 26, 32, 0.14);
  color: var(--ink);
  font-family: var(--font);
  font-size: 2.05rem;
  font-weight: 500;
  letter-spacing: 0.5em;
  text-align: center;
  text-transform: uppercase;
  caret-color: var(--accent);
}

#code::placeholder {
  color: #b0b2b5;
  letter-spacing: 0.45em;
  text-transform: uppercase;
}

#code:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}

#code[aria-invalid="true"] {
  border-color: var(--error);
}

#code-error {
  margin: -0.3rem 0 0.75rem;
  color: var(--error);
  font-size: 0.875rem;
  font-weight: 500;
}

.btn-row {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}

.btn-row .btn {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.1rem;
  padding: 0.8rem 1.15rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 6px 22px rgba(23, 26, 32, 0.18);
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--accent-hover);
  color: var(--on-accent);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.btn:active {
  transform: translateY(1px);
}

.btn-secondary {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn-secondary:hover {
  background: var(--bg-alt);
  color: var(--ink);
}

.hint {
  margin: 0.55rem 0 0;
  color: var(--ink);
  font-size: 0.875rem;
}

.sell-line {
  margin: 0 auto 1rem;
  max-width: var(--measure);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.012em;
}

.intro-band .intro {
  margin-top: 0;
}

/* Trust strip */

.trust {
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
}

.trust-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .trust-list {
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem 1.5rem;
  }
}

.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.4;
  font-weight: 500;
}

.trust-list li::before {
  content: "";
  flex: 0 0 1.1rem;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.12rem;
  border-radius: 2px;
  background: var(--accent)
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.4 6.3 11.2 12.5 4.8'/></svg>")
    center / 0.8rem 0.8rem no-repeat;
}

/* How it works */

.steps {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.9rem;
  align-items: start;
  padding: 0;
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: block;
  width: 2.2rem;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.2;
  color: var(--ink);
}

.steps h3 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

/* Why sellers win */

.why-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: grid;
  gap: 1.35rem;
}

.why-list li {
  padding: 0;
  border: 0;
  background: transparent;
}

.why-list h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.why-list p {
  margin: 0;
  color: var(--muted);
}

/* Accordions */

.accordion {
  border-top: 1px solid var(--line);
}

.accordion details {
  border-bottom: 1px solid var(--line);
}

.accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 0;
  cursor: pointer;
  list-style: none;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "";
  flex: 0 0 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: -0.15rem;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: rotate(45deg);
  transition: transform 0.16s ease;
}

.accordion details[open] summary::after {
  transform: rotate(225deg);
  margin-top: 0.2rem;
}

.accordion summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius);
}

.accordion details p {
  margin: 0 0 1.15rem;
  padding-right: 1.6rem;
  color: var(--muted);
}

/* Dealers */

.cards {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .code-form {
    max-width: none;
  }
}

.card {
  padding: 1.35rem 1.25rem 1.4rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--bg);
}

.card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.card p {
  margin: 0;
  color: #c5c7ca;
}

/* Coming soon / 404 */

.soon {
  padding-top: 3rem;
  text-align: left;
}

.soon h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 8vw, 2.8rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.soon .lede {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.9375rem;
}

.entered-code {
  display: inline-block;
  margin: 0.35rem 0 1.4rem;
  padding: 0.45rem 0.8rem 0.45rem 0.95rem;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.28em;
}

.soon .btn {
  max-width: 24rem;
}


/* Get the app */

.app-lead {
  margin: -0.5rem auto 1.15rem;
  max-width: var(--measure);
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.app-facts {
  list-style: none;
  margin: 0 auto 1.5rem;
  padding: 0;
  max-width: var(--measure);
  display: grid;
  gap: 0.7rem;
}

.app-facts li {
  padding-left: 1.15rem;
  position: relative;
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.app-facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 1px;
  background: var(--accent);
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  max-width: var(--measure);
  margin: 0 auto;
}

.store-btn {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  min-width: 9.75rem;
  min-height: 3.1rem;
  padding: 0.45rem 0.95rem 0.5rem;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  line-height: 1.15;
}

.store-btn:hover {
  color: var(--bg);
  background: #0f1114;
}

.store-btn-kicker {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.75);
}

.store-btn-name {
  display: block;
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* Footer */

.site-footer {
  flex-shrink: 0;
  padding: 2.75rem var(--pad) calc(2.1rem + env(safe-area-inset-bottom));
  text-align: left;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}

.footer-inner {
  max-width: var(--measure);
  margin: 0 auto;
}

.footer-name {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.footer-tagline {
  margin: 0 0 0.85rem;
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

.footer-meta,
.footer-legal,
.footer-copy,
.footer-domain {
  margin: 0 0 0.45rem;
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1.45;
}

.footer-legal {
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.1rem;
  margin: 0 0 0.85rem;
}

.footer-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copy {
  margin-bottom: 0.15rem;
}

.footer-domain {
  margin: 0;
}

/* Motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .accordion summary::after,
  .btn {
    transition: none;
  }

  .btn:active {
    transform: none;
  }
}
