/* Where's Your Week Going? - Scale Studios */

@font-face {
  font-family: "Cabinet Grotesk";
  src: url("fonts/CabinetGrotesk-Bold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Cabinet Grotesk";
  src: url("fonts/CabinetGrotesk-Black.otf") format("opentype");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --deep: #1f5372;
  --mid: #6793ad;
  --off: #f8f8f8;
  --charcoal: #1a1a1a;
  --sherbet: #FF8A4C;
  --white: #ffffff;
  --display: "Cabinet Grotesk", system-ui, sans-serif;
  --body: "Poppins", system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  background: var(--off);
  color: var(--charcoal);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  min-height: 100%;
}

#app { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }

.screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 20px 40px;
  animation: rise 320ms ease both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .screen, .hours-big, .weekbar span { animation: none !important; transition: none !important; }
}

/* ---- shared atoms ---- */

.pill {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--sherbet);
  color: var(--white);
}

.eyebrow {
  font-family: var(--body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mid);
}

.hairline { border: 0; border-top: 1px solid rgba(26, 26, 26, 0.15); margin: 28px 0; }

.btn {
  display: inline-block;
  font-family: var(--body);
  font-weight: 600;
  font-size: 17px;
  border: 0;
  border-radius: 999px;
  padding: 16px 34px;
  cursor: pointer;
  background: var(--sherbet);
  color: var(--white);
  transition: transform 120ms ease, filter 120ms ease;
}
.btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--mid); outline-offset: 3px; }
.btn-charcoal { background: var(--charcoal); }

/* ---- dark screens (landing, teaser) ---- */

.dark { background: var(--deep); color: var(--white); }
.dark .screen { max-width: 680px; }

.landing-top { display: flex; justify-content: space-between; align-items: center; }
.landing-logo { height: 34px; }

.landing h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(44px, 10vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 40px 0 20px;
}
.landing .sub { font-size: 17px; max-width: 34em; color: rgba(255, 255, 255, 0.92); }
.landing .meta { margin-top: 26px; font-weight: 600; font-size: 14px; color: var(--white); opacity: 0.85; }
.landing .actions { margin-top: 18px; }
.landing .trust { margin-top: 14px; font-size: 13px; color: rgba(255, 255, 255, 0.75); }
.landing .spacer { flex: 1; }

/* week strip under the hero: seven segments, the later ones draining away */
.weekstrip { display: flex; gap: 6px; margin-top: 44px; }
.weekstrip i {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--white);
}
.weekstrip i:nth-child(4) { opacity: 0.75; }
.weekstrip i:nth-child(5) { opacity: 0.5; }
.weekstrip i:nth-child(6) { opacity: 0.3; }
.weekstrip i:nth-child(7) { opacity: 0.12; }
.weekstrip .lbl { display: block; margin-top: 6px; }

/* ---- question screens ---- */

.q-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.q-count { font-family: var(--display); font-weight: 700; font-size: 14px; color: var(--mid); }
.q-logo { height: 26px; }

.question h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(24px, 6vw, 32px);
  line-height: 1.15;
  margin: 10px 0 26px;
  color: var(--charcoal);
}

.options { display: flex; flex-direction: column; gap: 12px; }
.opt {
  font-family: var(--body);
  font-weight: 500;
  font-size: 16px;
  text-align: left;
  background: var(--white);
  color: var(--charcoal);
  border: 2px solid rgba(103, 147, 173, 0.35);
  border-radius: 16px;
  padding: 18px 20px;
  min-height: 56px;
  cursor: pointer;
  transition: border-color 120ms ease, transform 120ms ease;
}
.opt:hover { border-color: var(--mid); transform: translateY(-1px); }
.opt:focus-visible { outline: 3px solid var(--mid); outline-offset: 2px; }
.opt.picked { border-color: var(--deep); background: var(--deep); color: var(--white); }

.q-back {
  margin-top: 26px;
  background: none;
  border: 0;
  font-family: var(--body);
  font-weight: 500;
  font-size: 14px;
  color: var(--mid);
  cursor: pointer;
  align-self: flex-start;
  padding: 8px 0;
}
.q-back:focus-visible { outline: 3px solid var(--mid); outline-offset: 2px; }

/* ---- teaser ---- */

.teaser .arch-name {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(40px, 9vw, 64px);
  line-height: 1.05;
  margin: 18px 0 6px;
}
.teaser .arch-strap { font-size: 17px; font-weight: 500; color: rgba(255, 255, 255, 0.92); }

.hours-big {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(72px, 22vw, 130px);
  line-height: 1;
  margin-top: 34px;
}
.hours-unit { font-family: var(--display); font-weight: 700; font-size: 20px; display: block; margin-top: 4px; }
.pounds-line { margin-top: 18px; font-size: 18px; font-weight: 600; }
.bench-line { margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, 0.75); max-width: 34em; }

.weekbar { display: flex; gap: 6px; margin-top: 30px; }
.weekbar span {
  flex: 1;
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.25);
  transition: background 400ms ease;
}
.weekbar span.leaked { background: var(--sherbet); }

/* ---- gate ---- */

.gate {
  background: var(--white);
  border-radius: 20px;
  padding: 28px 24px;
  margin-top: 36px;
  color: var(--charcoal);
}
.gate h3 { font-family: var(--display); font-weight: 700; font-size: 24px; margin-bottom: 8px; }
.gate .gate-sub { font-size: 15px; margin-bottom: 20px; }
.gate label.field { display: block; font-weight: 600; font-size: 13px; margin: 14px 0 6px; }
.gate input[type="text"], .gate input[type="email"] {
  width: 100%;
  font-family: var(--body);
  font-size: 16px;
  padding: 14px 16px;
  border: 2px solid rgba(103, 147, 173, 0.4);
  border-radius: 12px;
  background: var(--off);
  color: var(--charcoal);
}
.gate input:focus-visible { outline: 3px solid var(--mid); outline-offset: 1px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 13px; }
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: #1f5372; flex-shrink: 0; }
.gate .btn { width: 100%; margin-top: 22px; }
.gate .privacy { font-size: 12px; color: rgba(26, 26, 26, 0.65); margin-top: 14px; }
.gate .err { color: var(--charcoal); font-size: 13px; font-weight: 600; border-left: 3px solid var(--deep); padding-left: 10px; margin-top: 10px; display: none; }
.gate .err.show { display: block; }

/* honeypot: hidden from humans, present for bots */
.hp-wrap { position: absolute; left: -9999px; top: -9999px; height: 1px; width: 1px; overflow: hidden; }

/* ---- report ---- */

.report { background: var(--off); color: var(--charcoal); }

.call-cta {
  background: var(--deep);
  color: var(--white);
  border-radius: 20px;
  padding: 26px 24px;
  margin: 22px 0 10px;
}
.call-cta p { font-size: 15px; }
.call-cta .cta-head { font-family: var(--display); font-weight: 700; font-size: 20px; margin-bottom: 8px; }

.leak-card {
  background: var(--white);
  border-radius: 20px;
  padding: 26px 24px;
  margin-top: 18px;
  border: 1px solid rgba(103, 147, 173, 0.25);
}
.leak-num {
  font-family: var(--display);
  font-weight: 900;
  font-size: 15px;
  color: var(--mid);
  letter-spacing: 0.08em;
}
.leak-card h4 { font-family: var(--display); font-weight: 700; font-size: 21px; margin: 6px 0 10px; }
.leak-card p { font-size: 14.5px; margin-top: 10px; }
.leak-card .lbl { font-weight: 600; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid); margin-top: 16px; }

.report h3.sect {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  margin-top: 40px;
}
.report .sect-sub { font-size: 14.5px; margin-top: 6px; max-width: 38em; }

.prompt-card {
  background: var(--charcoal);
  color: var(--white);
  border-radius: 20px;
  padding: 24px;
  margin-top: 18px;
}
.prompt-card h4 { font-family: var(--display); font-weight: 700; font-size: 17px; margin-bottom: 12px; }
.prompt-card pre {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 12.5px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 16px;
}
.prompt-card .copy-btn {
  margin-top: 14px;
  background: var(--white);
  color: var(--charcoal);
  font-weight: 600;
  font-size: 14px;
  border: 0;
  border-radius: 999px;
  padding: 10px 22px;
  cursor: pointer;
}
.prompt-card .copy-btn:focus-visible { outline: 3px solid var(--mid); outline-offset: 2px; }

.evening-note {
  margin-top: 34px;
  font-size: 15px;
  font-weight: 500;
  border-left: 3px solid var(--mid);
  padding-left: 16px;
}

.close-note { margin-top: 34px; font-size: 14.5px; max-width: 38em; }

.connect-row { display: flex; flex-direction: column; gap: 12px; margin-top: 20px; }
.connect-btn { text-align: center; text-decoration: none; }
.btn-outline {
  display: inline-block;
  font-family: var(--body);
  font-weight: 600;
  font-size: 16px;
  border: 2px solid var(--deep);
  border-radius: 999px;
  padding: 14px 30px;
  color: var(--deep);
  background: none;
  cursor: pointer;
  transition: transform 120ms ease;
}
.btn-outline:hover { transform: translateY(-1px); }
.btn-outline:focus-visible { outline: 3px solid var(--mid); outline-offset: 3px; }
@media (min-width: 700px) {
  .connect-row { flex-direction: row; flex-wrap: wrap; }
}

.report-footer { margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(26, 26, 26, 0.15); font-size: 13px; color: rgba(26, 26, 26, 0.7); display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.report-footer img { height: 26px; }

@media (min-width: 700px) {
  .screen { padding: 40px 24px 60px; }
  .options { gap: 14px; }
}
