/* ===========================================================
   WorkUte — site styles
   Design system per "WorkUte — Design System — v1 — Confirmed"
   Amber on black. Barlow Condensed headings, Barlow body.
   =========================================================== */

:root {
  --black:      #000000;
  --amber:      #F5A623;
  --amber-dim:  #8a5c12;
  --surface:    #1C1C1E;
  --surface-2:  #141416;
  --line:       #2A2A2D;
  --text:       #FFFFFF;
  --text-2:     #BBBBBB;
  --label:      #8E8E93;
  --green:      #4DC98A;
  --red:        #FF6B6A;

  --gut: clamp(20px, 5vw, 64px);
  --max: 1180px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--black);
  color: var(--text);
  font-family: "Barlow", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Amber stripe — the app has one on every screen */
.stripe {
  height: 3px;
  background: var(--amber);
  position: sticky;
  top: 0;
  z-index: 100;
}

h1, h2, h3, .cond {
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  font-weight: 700;
  line-height: 1.02;
  margin: 0;
  letter-spacing: -0.01em;
}

a { color: var(--amber); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gut);
  padding-right: var(--gut);
}

/* ---------- Nav ---------- */
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-top: 22px;
  padding-bottom: 22px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--amber);
  color: var(--black);
  display: grid;
  place-items: center;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 900;
  font-size: 23px;
  flex: none;
}
.wordmark {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 27px;
  color: var(--text);
  letter-spacing: 0.01em;
}
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--amber); text-decoration: none; }
@media (max-width: 760px) { .nav-links { display: none; } }

/* ---------- Type helpers ---------- */
.eyebrow {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--label);
  margin: 0 0 18px;
}
.lede { color: var(--text-2); font-size: 19px; max-width: 56ch; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 {
  font-size: clamp(40px, 6.4vw, 78px);
  max-width: 15ch;
  margin-bottom: 26px;
}
.hero h1 em {
  font-style: normal;
  color: var(--amber);
  display: block;
}
.hero-sub {
  font-size: 20px;
  color: var(--text-2);
  max-width: 46ch;
  margin: 0 0 14px;
}
.ti-line {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 23px;
  color: var(--text);
  margin: 0 0 32px;
}
.ti-line span { color: var(--amber); }

/* ---------- Buttons / form ---------- */
.btn {
  display: inline-block;
  background: var(--amber);
  color: var(--black);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.02em;
  padding: 13px 26px;
  border-radius: 9px;
  border: 0;
  cursor: pointer;
  text-transform: uppercase;
}
.btn:hover { background: #ffb733; text-decoration: none; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--surface); border-color: var(--amber); }

.signup { display: flex; gap: 10px; flex-wrap: wrap; max-width: 460px; }
.signup input {
  flex: 1 1 220px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text);
  font-family: "Barlow", sans-serif;
  font-size: 16px;
  padding: 13px 15px;
  border-radius: 9px;
}
.signup input::placeholder { color: var(--label); }
.signup input:focus { border-color: var(--amber); outline: none; }
.form-note { color: var(--label); font-size: 14px; margin: 12px 0 0; }
.form-ok { color: var(--green); font-size: 15px; margin: 12px 0 0; display: none; }

/* ---------- Elevation drawing (hero signature) ---------- */
.drawing {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
}
.drawing svg { width: 100%; height: auto; display: block; }
.dwg-cap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--label);
  margin-bottom: 14px;
}
.pin-num {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 15px;
  fill: var(--black);
}
.tasklist { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.trow {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 7px 0;
  font-size: 15px;
  color: var(--text-2);
}
.tnum {
  width: 21px; height: 21px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--black);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 13px;
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 2px;
}
.trow.done .tnum { background: var(--green); }
.trow.done { color: var(--label); text-decoration: line-through; }
.trow.var .tnum { background: var(--red); }

/* ---------- Sections ---------- */
section { padding: clamp(56px, 8vw, 104px) 0; }
.rule { border-top: 1px solid var(--line); }
.sec-head { max-width: 62ch; margin-bottom: clamp(32px, 4vw, 54px); }
.sec-head h2 { font-size: clamp(31px, 4.4vw, 50px); margin-bottom: 18px; }

/* ---------- The loop (a real sequence, so numbered) ---------- */
.loop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
@media (max-width: 900px) { .loop { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .loop { grid-template-columns: 1fr; } }
.step { background: var(--surface-2); padding: 28px 24px 32px; }
.step-n {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--black);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 17px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.step:last-child .step-n { background: var(--green); }
.step h3 { font-size: 25px; margin-bottom: 9px; }
.step p { color: var(--text-2); font-size: 16px; margin: 0; }

/* ---------- Feature cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 26px 30px;
}
.card h3 { font-size: 26px; margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: 16px; margin: 0; }
.card .tag {
  display: inline-block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  border: 1px solid var(--amber-dim);
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 14px;
}

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* Phone-ish frame for the subbie SMS view */
.sms {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  max-width: 380px;
}
.bubble {
  background: var(--surface);
  border-radius: 14px 14px 14px 4px;
  padding: 13px 15px;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 8px;
}
.bubble .link { color: var(--amber); word-break: break-all; }
.sms-meta { color: var(--label); font-size: 13px; }

/* ---------- Video slots ---------- */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .videos { grid-template-columns: 1fr; } }
.vslot {
  background: var(--surface-2);
  border: 1px dashed var(--line);
  border-radius: 14px;
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
}
.vslot .play {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--amber-dim);
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  color: var(--amber);
}
.vslot h3 { font-size: 21px; margin-bottom: 5px; }
.vslot p { color: var(--label); font-size: 14px; margin: 0; }

/* ---------- Pricing ---------- */
.price {
  background: var(--surface-2);
  border: 1px solid var(--amber-dim);
  border-radius: 14px;
  padding: 34px 32px;
  max-width: 560px;
}
.price .amt {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 62px;
  color: var(--amber);
  line-height: 1;
}
.price .per { color: var(--label); font-size: 16px; }
.price ul { list-style: none; padding: 0; margin: 22px 0 0; }
.price li {
  color: var(--text-2);
  font-size: 16px;
  padding: 7px 0 7px 26px;
  position: relative;
}
.price li::before {
  content: "";
  position: absolute;
  left: 0; top: 15px;
  width: 11px; height: 6px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

/* ---------- FAQ ---------- */
.faq { max-width: 760px; }
details {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
summary {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 23px;
  cursor: pointer;
  list-style: none;
  display: flex;
  gap: 14px;
  align-items: baseline;
}
summary::-webkit-details-marker { display: none; }
summary::before {
  content: "+";
  color: var(--amber);
  font-size: 22px;
  flex: none;
}
details[open] summary::before { content: "–"; }
details p { color: var(--text-2); margin: 12px 0 0 28px; font-size: 16px; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 46px 0 60px;
  color: var(--label);
  font-size: 15px;
}
.foot-grid { display: flex; gap: 40px; flex-wrap: wrap; justify-content: space-between; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { color: var(--text-2); }
.foot-links a:hover { color: var(--amber); }
.foot-note { margin-top: 26px; max-width: 62ch; font-size: 14px; }

/* ---------- Long-form pages (policies, support) ---------- */
.doc { max-width: 760px; padding-top: 46px; padding-bottom: 80px; }
.doc h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 10px; }
.doc .updated { color: var(--label); font-size: 15px; margin-bottom: 40px; }
.doc h2 { font-size: 27px; margin: 40px 0 12px; }
.doc h3 { font-size: 21px; margin: 26px 0 8px; }
.doc p, .doc li { color: var(--text-2); font-size: 16px; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 7px; }
.callout {
  background: var(--surface-2);
  border-left: 3px solid var(--amber);
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  margin: 26px 0;
}
.callout p { margin: 0; color: var(--text); }
.draft {
  background: rgba(255,107,106,0.08);
  border-left: 3px solid var(--red);
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  margin: 0 0 34px;
}
.draft p { margin: 0; color: var(--text); font-size: 15px; }

/* ===========================================================
   Conversion pass — sticky CTA, reveals, trust strip
   =========================================================== */

/* Trust strip — proof above the fold */
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.trust span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  color: var(--text-2);
}
.trust span::before {
  content: "";
  width: 10px; height: 6px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
  flex: none;
  margin-top: -3px;
}

/* Scroll reveal — the loop is a sequence, so it arrives as one */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Sticky CTA — mobile only, appears after the hero scrolls away */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  background: rgba(0,0,0,0.94);
  border-top: 1px solid var(--line);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  display: none;
  gap: 12px;
  align-items: center;
  transform: translateY(110%);
  transition: transform .3s ease;
}
.sticky-cta.show { transform: none; }
.sticky-cta p {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 17px;
  line-height: 1.15;
  flex: 1;
}
.sticky-cta .btn { padding: 11px 18px; font-size: 17px; flex: none; }
@media (max-width: 760px) {
  .sticky-cta { display: flex; }
  body { padding-bottom: 4px; }
}

/* Risk reversal under the price */
.risk {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 20px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.risk span {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green);
}

/* ---------- Founder note ---------- */
.founder {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
  max-width: 940px;
}
@media (max-width: 760px) {
  .founder { grid-template-columns: 1fr; gap: 26px; }
}
.founder-photo {
  width: 100%;
  height: auto;          /* natural ratio — never crop the photo */
  border-radius: 14px;
  border: 1px solid var(--line);
  display: block;
  background: var(--surface-2);
}
.founder-photo-ph {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 14px;
  border: 1px dashed var(--line);
  background: var(--surface-2);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 20px;
  color: var(--label);
  font-size: 14px;
}
.founder h2 { font-size: clamp(28px, 3.8vw, 42px); margin-bottom: 20px; }
.founder p { color: var(--text-2); font-size: 18px; margin: 0 0 16px; }
.founder .sig {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 21px;
}
.founder .sig span {
  display: block;
  font-family: "Barlow", sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: var(--label);
  letter-spacing: 0;
  margin-top: 2px;
}

/* ---------- Statement — a line that stands on its own ---------- */
.statement {
  margin: clamp(30px, 4.5vw, 52px) 0 clamp(10px, 2vw, 22px);
  padding-top: clamp(26px, 3.6vw, 40px);
  border-top: 1px solid var(--line);
}
.statement p {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 5.4vw, 68px);
  line-height: 1.0;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.statement p + p {
  margin-top: 6px;
  color: var(--amber);
}

/* ---------- App screenshot in hero ---------- */
.shot {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 300px;
}
.shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 26px;
  border: 1px solid #3a3a3d;
  box-shadow:
    0 0 0 7px #131315,
    0 0 0 8px #46464a,
    0 26px 60px rgba(0,0,0,0.75),
    0 0 90px rgba(245,166,35,0.10);
}
@media (max-width: 900px) {
  .shot { max-width: 250px; margin-top: 8px; }
}

/* ---------- Screenshot inside a split section ---------- */
.shot-split {
  justify-self: center;
  width: 100%;
  max-width: 290px;
}
.shot-split img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  border: 1px solid #3a3a3d;
  box-shadow:
    0 0 0 7px #131315,
    0 0 0 8px #46464a,
    0 22px 50px rgba(0,0,0,0.7),
    0 0 80px rgba(245,166,35,0.08);
}
.form-err { color: var(--red); font-size: 15px; margin: 12px 0 0; display: none; }
.form-err a { color: var(--red); text-decoration: underline; }
