/* Pick Ya Fit — pickyafit.com
   Palette lifted from the app so the site and the product read as one thing.
   Type is Atkinson Hyperlegible, commissioned by the Braille Institute for
   low-vision readers. The app is built for blind and low-vision users; the
   site is set in a face designed for them. */

:root {
  --ground:   #0D0D0D;
  --raised:   #161616;
  --hairline: #1E1E1E;
  --gold:     #C9A84C;
  --gold-dim: #8A7434;
  --ink:      #EDE9E0;
  --ink-soft: #9A958C;
  --ink-mute: #6B6760;

  --measure: 34rem;
  --gutter: clamp(1.5rem, 5vw, 4rem);
}

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

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

body {
  position: relative;
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: 'Atkinson Hyperlegible', system-ui, -apple-system, sans-serif;
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  line-height: 1.6;
}

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

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gold);
  color: #12100C;
  padding: 0.75rem 1rem;
  font-weight: 700;
  z-index: 10;
}
.skip:focus {
  left: var(--gutter);
  top: 1rem;
}

.wrap {
  max-width: 62rem;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ── masthead ───────────────────────────────────────────── */

.masthead {
  padding-block: 2rem 0;
}

.wordmark {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin: 0;
  color: var(--ink);
}

.wordmark span { color: var(--gold); }


/* ── hero (tile field) ──────────────────────────────────── */

.masthead-logo img {
  display: block;
  border-radius: 50%;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 14vh, 8rem) clamp(3.5rem, 10vh, 6rem);
  min-height: 92vh;
  display: flex;
  align-items: center;
}

.page-tiles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.tile-field {
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.hero-inner .tagline { max-width: 22ch; }
.hero-inner p { max-width: var(--measure); margin-inline: auto; }

.hero-logo {
  display: block;
  border-radius: 50%;
  width: min(540px, 70vw);
  height: auto;
}

.tagline {
  margin: 0;
  font-weight: 400;
  font-size: clamp(1.75rem, 1.1rem + 3.1vw, 3.5rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.tagline b {
  font-weight: 700;
}

.tagline .lead-in,
.tagline .turn {
  display: block;
  font-size: 0.42em;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
}

.tagline .lead-in { margin-bottom: 0.9em; }
.tagline .turn { margin-block: 0.7em 0.35em; }

.tagline .lacks {
  display: block;
}

.tagline .last {
  color: var(--gold);
}

.hero p {
  max-width: var(--measure);
  margin: clamp(2rem, 5vh, 3rem) 0 0;
  color: var(--ink-soft);
}

/* ── learns / my looks / leo sections ──────────────────── */

.learns h2,
.mylooks h2,
.leo h2 {
  color: var(--gold);
  margin: 0 0 1.5rem;
  font-size: clamp(2.5rem, 1.4rem + 5.2vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  max-width: 14ch;
}

.learns,
.mylooks,
.leo {
  padding-block: clamp(4rem, 11vh, 6.5rem);
}

.learns-body,
.mylooks-body,
.leo-body {
  max-width: var(--measure);
}

.learns-body p,
.mylooks-body p,
.leo-body p {
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
}

.learns-body p:last-child,
.mylooks-body p:last-child,
.leo-body p:last-child { margin-bottom: 0; }

.learns-body strong,
.mylooks-body strong,
.leo-body strong {
  color: var(--ink);
  font-weight: 700;
}

/* ── feature sections (closet, style me, thrift) ─────────────────────────────────────────────── */

.closet,
.social,
.thrift {
  padding-block: clamp(4rem, 11vh, 6.5rem);
}

.closet h2,
.social h2,
.thrift h2 {
  color: var(--gold);
  margin: 0 0 1.5rem;
  font-size: clamp(2.5rem, 1.4rem + 5.2vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  max-width: 14ch;
}

.closet-body,
.social-body,
.thrift-body {
  max-width: var(--measure);
}

.closet-body p,
.social-body p,
.thrift-body p {
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
}

.closet-body p:last-child,
.social-body p:last-child,
.thrift-body p:last-child { margin-bottom: 0; }

/* ── Vanni ──────────────────────────────────────────────── */

.vanni {
  padding-block: clamp(4rem, 11vh, 6.5rem);
}

.hail {
  margin: 0 0 1.5rem;
  color: var(--gold);
  font-size: clamp(2.5rem, 1.4rem + 5.2vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.vanni-body {
  max-width: var(--measure);
}

.vanni-body p {
  margin: 0 0 1.1rem;
  color: var(--ink-soft);
}

.vanni-body p:last-child { margin-bottom: 0; }

.vanni-body strong {
  color: var(--ink);
  font-weight: 700;
}

.knows {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  max-width: 48rem;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--hairline);
}

.knows li {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 0 1.5rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink-soft);
}

.knows dfn,
.knows .term {
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
}

@media (max-width: 34rem) {
  .knows li {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .page-tiles {
    display: none;
  }
}

/* ── rule ───────────────────────────────────────────────── */

.rule {
  border: 0;
  border-top: 1px solid var(--hairline);
  margin: 0;
}

/* ── sections ───────────────────────────────────────────── */

.band {
  padding-block: clamp(3rem, 8vh, 4.5rem);
}

.band h2 {
  color: var(--gold);
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.band > p {
  max-width: var(--measure);
  margin: 0 0 1.75rem;
  color: var(--ink-soft);
}

/* ── notify form ────────────────────────────────────────── */

.notify {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  max-width: var(--measure);
}

.notify label {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.notify input {
  flex: 1 1 15rem;
  min-width: 0;
  background: var(--raised);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  padding: 0.75rem 0.9rem;
}

.notify input::placeholder { color: var(--ink-mute); }

.notify input:focus-visible {
  border-color: var(--gold);
  outline-offset: 1px;
}

.notify button {
  flex: 0 0 auto;
  background: var(--gold);
  color: #12100C;
  border: 1px solid var(--gold);
  border-radius: 8px;
  font: inherit;
  font-weight: 700;
  padding: 0.75rem 1.4rem;
  cursor: pointer;
}

.notify button:hover { background: #D8BA61; border-color: #D8BA61; }
.notify button:disabled { opacity: 0.6; cursor: default; }

.form-status {
  max-width: var(--measure);
  margin: 0.9rem 0 0;
  min-height: 1.5em;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.form-status[data-state='error'] { color: #E08A7A; }
.form-status[data-state='ok']    { color: var(--gold); }

.fineprint {
  max-width: var(--measure);
  margin: 0.75rem 0 0;
  color: var(--ink-mute);
  font-size: 0.85rem;
}

/* ── stores ─────────────────────────────────────────────── */

.stores {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.store {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  background: var(--raised);
  border: 1px solid var(--hairline);
  border-radius: 10px;
  padding: 0.8rem 1.2rem;
  min-width: 13rem;
}

.store .where {
  font-weight: 700;
  color: var(--ink);
}

.store .state {
  font-size: 0.85rem;
  color: var(--ink-mute);
}

/* ── footer ─────────────────────────────────────────────── */

.foot {
  padding-block: 2.5rem 3.5rem;
  color: var(--ink-mute);
  font-size: 0.9rem;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.foot p { margin: 0; }

/* ── legal pages ────────────────────────────────────────── */

.doc {
  padding-block: 3rem 4rem;
  max-width: 44rem;
}

.doc h1 {
  font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.25rem;
}

.doc .updated {
  color: var(--ink-mute);
  font-size: 0.9rem;
  margin: 0 0 2.5rem;
}

.doc h2 {
  font-size: 1.15rem;
  margin: 2.5rem 0 0.5rem;
}

.doc p, .doc li { color: var(--ink-soft); }
.doc li { margin-bottom: 0.4rem; }

.placeholder {
  background: var(--raised);
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--gold-dim);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  margin: 0 0 2rem;
}

.placeholder p { margin: 0; color: var(--ink-soft); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
