/* roateam.com — shared stylesheet
   Translated from the claude.ai/design handoff (ROATeam Homepage.dc.html, Split hero).
   Values are copied 1:1 from the design source; do not "round" them. */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/poppins-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/poppins-500.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/poppins-600.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', 'Helvetica Neue', sans-serif;
  background: #ffffff;
  color: #18181B;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
input::placeholder { color: #A1A1AA; }

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #EEEEF3;
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #18181B;
}
.brand img { width: 34px; height: 34px; object-fit: contain; }
.brand span { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: #52525B;
  text-decoration: none;
}
.nav-link:hover { color: #18181B; }
.btn-signin {
  font-size: 14px;
  font-weight: 500;
  color: #18181B;
  text-decoration: none;
  padding: 9px 16px;
  border: 1px solid #E0E0E8;
  border-radius: 9px;
  background: #ffffff;
}
.btn-signin:hover { border-color: #C9C9D6; background: #FAFAFC; }
.btn-cta {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: none;
  background: #5B5BD6;
  padding: 9px 18px;
  border-radius: 9px;
  box-shadow: 0 1px 2px rgba(91, 91, 214, 0.3);
}
.btn-cta:hover { background: #4A4AC4; }

/* ---------- Hero (Split) ---------- */
.hero {
  background: linear-gradient(180deg, #F8F8FC 0%, #ffffff 100%);
  border-bottom: 1px solid #F1F1F6;
}
.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 88px 32px 96px;
  display: grid;
  grid-template-columns: minmax(340px, 440px) minmax(380px, 1fr);
  gap: 48px;
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.badge-row { display: flex; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: #5B5BD6;
  background: #EFEFFB;
  border: 1px solid #DEDEF6;
  padding: 5px 12px;
  border-radius: 999px;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: #5B5BD6; }
.hero h1 {
  margin: 0;
  font-size: 52px;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero-sub {
  margin: 0;
  font-size: 17px;
  line-height: 1.65;
  color: #52525B;
  max-width: 420px;
  text-wrap: pretty;
}
.fineprint { margin: 0; font-size: 12.5px; color: #A1A1AA; }

/* ---------- Email capture (hero + CTA) ---------- */
.capture-block { display: flex; flex-direction: column; gap: 8px; }
.hero-copy .capture-block { margin-top: 4px; }
.capture { display: flex; gap: 10px; margin: 0; }
.capture input {
  flex: 1;
  max-width: 280px;
  height: 46px;
  padding: 0 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #18181B;
  background: #ffffff;
  border: 1px solid #E0E0E8;
  border-radius: 10px;
  outline: none;
}
.capture input:focus {
  border-color: #5B5BD6;
  box-shadow: 0 0 0 3px rgba(91, 91, 214, 0.15);
}
.capture button {
  height: 46px;
  padding: 0 22px;
  white-space: nowrap; /* deviation from prototype: its hero button wraps to two lines at desktop width */
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: #5B5BD6;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(91, 91, 214, 0.35);
}
.capture button:not(:disabled):hover { background: #4A4AC4; }
.capture button:disabled { opacity: 0.65; cursor: default; }
.form-msg { margin: 0; font-size: 13px; color: #B91C1C; }
.success-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 46px;
  padding: 0 18px;
  background: #E8F7EE;
  border: 1px solid #C9EBD7;
  border-radius: 10px;
  max-width: 380px;
}
.success-pill span { font-size: 14px; font-weight: 600; color: #16794C; }

/* ---------- Hero product mockup (Goals table) ---------- */
.shot {
  background: #ffffff;
  border: 1px solid #ECECF2;
  border-radius: 16px;
  box-shadow: 0 24px 60px -20px rgba(24, 24, 27, 0.18), 0 4px 16px -8px rgba(24, 24, 27, 0.08);
  padding: 24px;
  min-width: 0;
}
.shot-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.shot-title-group { display: flex; align-items: center; gap: 14px; }
.shot-title { font-size: 18px; font-weight: 600; letter-spacing: -0.02em; }
.toggle { display: flex; background: #F4F4F8; border-radius: 8px; padding: 3px; }
.toggle .on {
  font-size: 11.5px;
  font-weight: 600;
  color: #ffffff;
  background: #5B5BD6;
  padding: 4px 10px;
  border-radius: 6px;
}
.toggle .off { font-size: 11.5px; font-weight: 500; color: #71717A; padding: 4px 10px; }
.add-btn {
  font-size: 11.5px;
  font-weight: 600;
  color: #ffffff;
  background: #18181B;
  padding: 6px 12px;
  border-radius: 8px;
}
.kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.kpi { background: #F8F8FB; border-radius: 10px; padding: 10px 14px; }
.kpi-label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #A1A1AA;
  text-transform: uppercase;
}
.kpi-value { font-size: 17px; font-weight: 600; margin-top: 2px; }
.kpi-value.green { color: #16A34A; }
.kpi-value.amber { color: #D97706; }
.kpi-value.red { color: #DC2626; }
.gtable { border: 1px solid #F1F1F6; border-radius: 12px; overflow: hidden; }
.gtable-head, .grow {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 76px 96px;
  gap: 12px;
  padding: 10px 16px;
}
.gtable-head { background: #FAFAFC; border-bottom: 1px solid #F1F1F6; }
.gth {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #A1A1AA;
  text-transform: uppercase;
}
.grow {
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #F6F6F9;
  background: #ffffff;
}
.gname-cell { display: flex; align-items: center; gap: 10px; min-width: 0; }
.avatar {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 9px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gname {
  font-size: 12.5px;
  font-weight: 500;
  color: #27272A;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chip {
  justify-self: start;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
}
.chip.ontrack { background: #E8F7EE; color: #16794C; }
.chip.atrisk { background: #FEF3E2; color: #B45309; }
.chip.behind { background: #FEE9E7; color: #B91C1C; }
.progress { display: flex; align-items: center; gap: 8px; }
.bar { flex: 1; height: 5px; border-radius: 999px; background: #EEEEF3; overflow: hidden; }
.bar-fill { height: 100%; border-radius: 999px; background: #5B5BD6; }
.pct { font-size: 11px; font-weight: 500; color: #71717A; width: 30px; }

/* ---------- Features ---------- */
.features { padding: 104px 32px; }
.features-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 560px; }
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5B5BD6;
}
.section-head h2, .how h2 {
  margin: 0;
  font-size: 36px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #F8F8FB;
  border: 1px solid #F1F1F6;
  border-radius: 18px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.card-copy { display: flex; flex-direction: column; gap: 8px; }
.card h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.card p { margin: 0; font-size: 14px; line-height: 1.6; color: #52525B; text-wrap: pretty; }
.mini {
  background: #ffffff;
  border: 1px solid #ECECF2;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 4px 16px -8px rgba(24, 24, 27, 0.08);
  display: flex;
  flex-direction: column;
}
/* Card 1 — cascade */
.cascade-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.scope {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
}
.scope.company { color: #5B5BD6; background: #EFEFFB; }
.scope.marketing { color: #B45309; background: #FEF3E2; }
.scope.technology { color: #0E7490; background: #E5F6FA; }
.cascade-root { font-size: 13px; font-weight: 600; color: #27272A; }
.cascade-child { font-size: 13px; font-weight: 500; color: #3F3F46; }
.cascade-branch { display: flex; gap: 12px; padding-left: 11px; }
.cascade-line { width: 2px; background: #E8E8EF; border-radius: 2px; }
.cascade-children { flex: 1; display: flex; flex-direction: column; }
/* Card 2 — status */
.mini.status-mini { gap: 14px; }
.status-row {
  display: grid;
  grid-template-columns: 84px 1fr 38px;
  gap: 12px;
  align-items: center;
}
.status-row .chip { font-size: 8.5px; text-align: center; justify-self: stretch; }
.status-row .bar { height: 6px; }
.bar-fill.green { background: #16A34A; }
.bar-fill.amber { background: #F59E0B; }
.bar-fill.red { background: #EF4444; }
.status-row .pct { width: auto; font-size: 12px; text-align: right; }
/* Card 3 — quarters */
.mini.quarters-mini { gap: 12px; }
.q-head { display: flex; align-items: center; justify-content: space-between; }
.q-pill {
  font-size: 12.5px;
  font-weight: 600;
  color: #27272A;
  border: 1px solid #E8E8EF;
  border-radius: 8px;
  padding: 6px 12px;
}
.q-draft {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #71717A;
  background: #F4F4F8;
  padding: 3px 8px;
  border-radius: 6px;
}
.q-tree { display: flex; flex-direction: column; gap: 8px; }
.q-obj { display: flex; align-items: center; gap: 10px; }
.q-caret {
  width: 0;
  height: 0;
  border-left: 5px solid #A1A1AA;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
}
.q-obj span:last-child { font-size: 13px; font-weight: 600; color: #27272A; }
.q-kr { display: flex; align-items: center; gap: 10px; padding-left: 22px; }
.q-dot { width: 5px; height: 5px; border-radius: 50%; background: #5B5BD6; flex: none; }
.q-kr span:last-child { font-size: 12.5px; color: #52525B; }

/* ---------- How it works ---------- */
.how {
  padding: 96px 32px;
  background: #F8F8FB;
  border-top: 1px solid #F1F1F6;
  border-bottom: 1px solid #F1F1F6;
}
.how-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step {
  background: #ffffff;
  border: 1px solid #ECECF2;
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 2px 8px -4px rgba(24, 24, 27, 0.06);
}
.step-n {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #EFEFFB;
  color: #5B5BD6;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step h3 { margin: 0; font-size: 16px; font-weight: 600; }
.step p { margin: 0; font-size: 13.5px; line-height: 1.6; color: #52525B; text-wrap: pretty; }

/* ---------- CTA ---------- */
.cta { padding: 112px 32px; }
.cta-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.cta h2 {
  margin: 0;
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.cta p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #52525B;
  max-width: 440px;
  text-wrap: pretty;
}
.cta .capture-block { margin-top: 8px; align-items: center; }
.cta .capture input { flex: none; width: 280px; height: 48px; }
.cta .capture button { height: 48px; padding: 0 24px; }
.cta .success-pill { height: 48px; padding: 0 20px; max-width: none; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid #EEEEF3; padding: 36px 32px; }
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { width: 26px; height: 26px; object-fit: contain; }
.footer-brand span { font-size: 13px; color: #71717A; }
.footer-links { display: flex; align-items: center; gap: 24px; }
.footer-links a { font-size: 13px; color: #71717A; text-decoration: none; }
.footer-links a:hover { color: #18181B; }

/* ---------- Sign-in page ---------- */
.auth-main {
  background: linear-gradient(180deg, #F8F8FC 0%, #ffffff 100%);
  padding: 96px 32px 112px;
  display: flex;
  justify-content: center;
}
.auth-card {
  background: #ffffff;
  border: 1px solid #ECECF2;
  border-radius: 16px;
  box-shadow: 0 24px 60px -20px rgba(24, 24, 27, 0.12), 0 4px 16px -8px rgba(24, 24, 27, 0.08);
  padding: 40px;
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}
.auth-card h1 {
  margin: 0;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.auth-sub { margin: 0; font-size: 14px; line-height: 1.6; color: #52525B; }
.ws-form { display: flex; flex-direction: column; gap: 12px; }
.ws-field {
  display: flex;
  align-items: center;
  height: 48px;
  background: #ffffff;
  border: 1px solid #E0E0E8;
  border-radius: 10px;
}
.ws-field:focus-within {
  border-color: #5B5BD6;
  box-shadow: 0 0 0 3px rgba(91, 91, 214, 0.15);
}
.ws-field input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 4px 0 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  color: #18181B;
  background: transparent;
  border: none;
  outline: none;
  text-align: right;
}
.ws-suffix {
  padding-right: 16px;
  font-size: 14px;
  color: #71717A;
  white-space: nowrap;
  user-select: none;
}
.ws-form button {
  height: 48px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: #5B5BD6;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(91, 91, 214, 0.35);
}
.ws-form button:hover { background: #4A4AC4; }
.auth-helper { margin: 0; font-size: 12.5px; line-height: 1.6; color: #A1A1AA; }

/* ---------- Legal pages (privacy / terms) ---------- */
.prose-main { padding: 72px 32px 96px; }
.prose { max-width: 720px; margin: 0 auto; }
.prose h1 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.prose-date { margin: 0 0 36px; font-size: 13px; color: #A1A1AA; }
.prose h2 {
  margin: 36px 0 12px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.prose p, .prose li {
  margin: 0 0 14px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #3F3F46;
}
.prose ul { margin: 0 0 14px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: #5B5BD6; text-decoration: none; }
.prose a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero h1 { font-size: 44px; }
  .hero-inner { gap: 32px; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding: 56px 32px 64px; }
  .hero-copy { order: 0; }
  .shot { order: 1; max-width: 560px; width: 100%; margin: 0 auto; }
  .hero-sub { max-width: none; }
  .cards { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .features { padding: 64px 32px; }
  .how { padding: 64px 32px; }
  .cta { padding: 72px 32px; }
  .steps { grid-template-columns: 1fr; }
  .section-head h2, .how h2 { font-size: 28px; }
}
@media (max-width: 640px) {
  .nav-link { display: none; }
  .nav-links { gap: 12px; }
}
@media (max-width: 480px) {
  .nav-inner, .hero-inner, .features, .how, .cta, .site-footer, .auth-main, .prose-main { padding-left: 20px; padding-right: 20px; }
  .hero h1 { font-size: 34px; }
  .cta h2 { font-size: 30px; }
  .capture { flex-direction: column; }
  .capture input, .cta .capture input { max-width: none; width: 100%; flex: none; }
  .capture button { width: 100%; }
  .success-pill { max-width: none; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .shot { padding: 16px; }
  .gtable-head, .grow { grid-template-columns: minmax(90px, 1fr) 64px 84px; gap: 8px; padding: 10px 12px; }
  .kpi { padding: 8px 10px; }
  .auth-card { padding: 28px 20px; }
  .footer-inner { flex-direction: column; gap: 16px; }
}
