/* ProposalDesk teaser — styles */

:root {
  --bg: #0E1116;
  --bg-alt: #0B0E13;
  --border: #171D28;
  --text: #E7EAF0;
  --text-muted: #9AA4B3;
  --text-faint: #6B7484;
  --text-dim: #525A66;
  --teal: #2FB4A6;
  --teal-bright: #4FCFC1;
  --bar-1: #5B7BA6;
  --bar-2: #6A78C6;
  --bar-3: #2FB4A6;
  --bar-4: #8A6DC4;
  --bar-5: #CC6B54;
  --mono: 'Geist Mono', monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
}

body {
  font-family: 'Geist', -apple-system, sans-serif;
  color: var(--text);
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--teal-bright); }

@keyframes pd-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes pd-fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* ---- Logo mark (bars) ---- */

.mark { display: flex; align-items: flex-end; }
.mark span { border-radius: 999px; }
.mark span:nth-child(1) { background: var(--bar-1); }
.mark span:nth-child(2) { background: var(--bar-2); }
.mark span:nth-child(3) { background: var(--bar-3); }
.mark span:nth-child(4) { background: var(--bar-4); }
.mark span:nth-child(5) { background: var(--bar-5); }

.wordmark { letter-spacing: -0.01em; line-height: 1; font-weight: 400; color: var(--text); }
.wordmark b { color: var(--teal); font-weight: 600; }

/* ---- Header ---- */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms ease;
  background: rgba(11, 14, 19, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.site-header.visible { opacity: 1; pointer-events: auto; }

.site-header .inner {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 18px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.site-header .mark { align-items: baseline; gap: 5px; }
.site-header .mark span { width: 3px; }
.site-header .mark span:nth-child(1) { height: 19px; }
.site-header .mark span:nth-child(2) { height: 26px; }
.site-header .mark span:nth-child(3) { height: 32px; }
.site-header .mark span:nth-child(4) { height: 27px; }
.site-header .mark span:nth-child(5) { height: 21px; }

.site-header .wordmark { font-size: 21px; }

/* ---- Hero ---- */

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100svh;
  padding: 32px;
  gap: 36px;
}

.hero .lockup { display: flex; align-items: baseline; gap: 16px; }

.hero .mark { gap: 12px; height: 88px; }
.hero .mark span {
  width: 8px;
  transform-origin: bottom;
  animation: pd-grow 640ms cubic-bezier(0.22, 0.9, 0.24, 1.05) both;
}
.hero .mark span:nth-child(1) { height: 53px; animation-delay: 150ms; }
.hero .mark span:nth-child(2) { height: 70px; animation-delay: 65ms; }
.hero .mark span:nth-child(3) { height: 88px; animation-delay: 0ms; }
.hero .mark span:nth-child(4) { height: 73px; animation-delay: 85ms; }
.hero .mark span:nth-child(5) { height: 57px; animation-delay: 190ms; }

.hero .wordmark {
  font-size: 60px;
  letter-spacing: -0.02em;
  white-space: nowrap;
  animation: pd-fade-up 700ms cubic-bezier(0.34, 0.9, 0.3, 1) 450ms both;
}

.hero .intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: pd-fade-up 700ms cubic-bezier(0.34, 0.9, 0.3, 1) 500ms both;
}

.hero h1 {
  margin: 0;
  font-size: 52px;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.15;
  max-width: 760px;
}

.hero .sub {
  margin: 0;
  font-size: 21px;
  font-weight: 300;
  line-height: 1.55;
  max-width: 640px;
  color: var(--text-muted);
}

.hero .cta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  border: 1px solid rgba(47, 180, 166, 0.45);
  border-radius: 8px;
  padding: 13px 26px;
  animation: pd-fade-up 700ms cubic-bezier(0.34, 0.9, 0.3, 1) 800ms both;
}

.hero .cta:hover { background: rgba(47, 180, 166, 0.08); color: var(--teal-bright); }

/* ---- Product still ---- */

.product-still {
  display: flex;
  justify-content: center;
  padding: 32px 32px 96px;
}

.product-still .frame { width: 100%; max-width: 960px; aspect-ratio: 16 / 9; }

.product-still img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* ---- How it works ---- */

.how {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 88px 32px;
}

.how .inner {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.how header { display: flex; flex-direction: column; gap: 10px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.how h2 {
  margin: 0;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
}

.step .num {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-dim);
  padding-top: 6px;
}

.step .body { display: flex; flex-direction: column; gap: 10px; }

.step .headline { display: flex; align-items: flex-start; gap: 12px; }

.step .chip {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  margin-top: 7px;
  flex: none;
}

.step h3 { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.3; }

.step ul {
  list-style: none;
  margin: 0;
  padding: 0 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.step li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--text-muted);
}

.step li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 1px;
  margin-top: 7px;
  flex: none;
  opacity: 0.55;
  background: var(--step-color);
}

.step[data-c="1"] { --step-color: var(--bar-1); }
.step[data-c="2"] { --step-color: var(--bar-2); }
.step[data-c="3"] { --step-color: var(--bar-3); }
.step[data-c="4"] { --step-color: var(--bar-4); }
.step[data-c="5"] { --step-color: var(--bar-5); }
.step[data-c="6"] { --step-color: var(--bar-1); }

.step .chip { background: var(--step-color); }

/* ---- Tagline ---- */

.tagline {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 110px 32px;
  gap: 6px;
}

.tagline p {
  margin: 0;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

/* ---- Invite ---- */

.invite {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 88px 32px;
  gap: 8px;
}

.invite .lead { font-size: 17px; font-weight: 300; color: var(--text-muted); }

.invite a { font-size: 24px; color: var(--text); }
.invite a:hover { color: var(--teal); }

/* ---- Footer ---- */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 48px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  border-top: 1px solid var(--border);
}

.site-footer .mark { gap: 4px; }
.site-footer .mark span { width: 2.5px; }
.site-footer .mark span:nth-child(1) { height: 16px; }
.site-footer .mark span:nth-child(2) { height: 21px; }
.site-footer .mark span:nth-child(3) { height: 26px; }
.site-footer .mark span:nth-child(4) { height: 22px; }
.site-footer .mark span:nth-child(5) { height: 17px; }

.site-footer .legal {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-dim);
}
