/* Prown Landing — Brand guidelines (plain CSS) */

@import url('https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900&family=Red+Hat+Mono:ital,wght@0,400;0,500;0,600;0,700&display=swap');

:root {
  --font-sans: "Red Hat Display", system-ui, sans-serif;
  --font-mono: "Red Hat Mono", monospace;
  --color-brand-500: #FF5800;
  --color-brand-50: #FFF5F0;
  --color-gray-900: #464646;
  --color-gray-500: #989898;
  --color-gray-100: #F4F4F4;
  --color-gray-50: #F8F8F8;
  --color-white: #FFFFFF;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-gray-900);
}

a {
  color: var(--color-brand-500);
  text-decoration: underline;
}

/* Container */
.container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container { padding: 0 1.5rem; }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-gray-900);
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

p {
  color: var(--color-gray-500);
  margin: 0 0 1rem 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-sans);
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--color-brand-500);
  color: var(--color-white);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.btn-primary:hover {
  background: #e64d00;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-ghost {
  background: transparent;
  color: var(--color-gray-500);
  border: 2px solid var(--color-gray-500);
}

.btn-ghost:hover {
  border-color: var(--color-brand-500);
  color: var(--color-brand-500);
}

.btn-link {
  background: transparent;
  color: var(--color-brand-500);
  padding-left: 0;
}

.btn-link::after {
  content: "→";
  margin-left: 0.25rem;
  display: inline-block;
  transition: transform 0.2s;
}

.btn-link:hover::after {
  transform: translateX(4px);
}

.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
}

.btn-md {
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
}

/* Chips */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
}

.chip-pale {
  background: var(--color-brand-50);
  color: var(--color-brand-500);
}

.chip-gray {
  background: var(--color-gray-100);
  color: var(--color-gray-900);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: transparent;
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
}

.header-scrolled {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px);
  border-bottom-color: rgba(0, 0, 0, 0.05);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}

.header-logo {
  font-size: 1.375rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  color: var(--color-white);
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}

.header-scrolled .header-logo {
  color: var(--color-gray-900);
}

.logo-mark {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.9em;
  color: var(--color-brand-500);
  letter-spacing: 0em;
  line-height: 1;
  margin-right: 0.35em;
}

.logo-text {
  font-weight: 500;
}

/* Navbar CTA: white outline when transparent, brand when scrolled */
.header .btn-primary {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  box-shadow: none;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.header .btn-primary:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

.header-scrolled .btn-primary {
  background: var(--color-brand-500);
  color: var(--color-white);
  border-color: transparent;
}

.header-scrolled .btn-primary:hover {
  background: #e64d00;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Sections */
.section {
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .section { padding: 5rem 0; }
}

.section-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/static/images/hero.webp');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(30, 20, 10, 0.55);
}

.section-hero .container {
  position: relative;
  z-index: 1;
}

.section-hero h1,
.section-hero .subheadline {
  color: var(--color-white);
}

.section-hero .subheadline {
  color: rgba(255, 255, 255, 0.8);
}

.section-hero .chip-pale {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.section-hero .btn-link {
  color: var(--color-white);
}

.section-hero .btn-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

.section-gray { background: var(--color-gray-50); }
.section-white { background: var(--color-white); }

/* Hero content */
.section-hero .chip-pale { margin-bottom: 1rem; }
.hero h1 { max-width: 36rem; }
.hero .subheadline { max-width: 32rem; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 2rem; }

/* Section labels */
.section-label {
  margin-bottom: 1rem;
}

/* Grid */
.grid-6 {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .grid-6 { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}

@media (min-width: 1024px) {
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}

.grid-3 {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
}

/* Cards */
.card {
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-100);
  border-radius: 0.5rem;
  padding: 1rem 1.5rem;
}

@media (min-width: 768px) {
  .card { padding: 1.5rem; }
}

.card-num {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-brand-500);
  margin-bottom: 0.5rem;
}

.card h3 { margin-bottom: 0.5rem; }
.card p { font-size: 0.875rem; margin-bottom: 0; }

@media (min-width: 768px) {
  .card p { font-size: 1rem; }
}

/* Callout (orange highlight) */
.callout {
  padding: 1rem 1.5rem;
  background: var(--color-brand-50);
  border: 1px solid rgba(255, 88, 0, 0.2);
  border-radius: 0.5rem;
  margin-top: 2.5rem;
}

.callout p {
  color: var(--color-gray-900);
  font-weight: 600;
  margin: 0;
}

/* Two columns + sidebar */
.section-with-sidebar {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .section-with-sidebar {
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
  }
}

.sidebar-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
  border-radius: 0.5rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.sidebar-card .meta {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gray-500);
  margin-bottom: 0.75rem;
}

.sidebar-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-gray-900);
}

.sidebar-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.sidebar-card li::before {
  content: "✓";
  color: var(--color-brand-500);
  flex-shrink: 0;
}

/* Steps (How it works) */
.steps {
  position: relative;
  padding-left: 0;
}

.step {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  position: relative;
}

.step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1.25rem;
  top: 2.5rem;
  bottom: calc(-2rem + 0px);
  width: 2px;
  background: rgba(255, 88, 0, 0.4);
}

@media (min-width: 768px) {
  .step:not(:last-child)::after {
    left: 1.5rem;
    top: 3rem;
    bottom: -3rem;
  }
}

@media (min-width: 768px) {
  .step { gap: 2rem; margin-bottom: 3rem; }
  .step:last-child { margin-bottom: 0; }
}

.step-num {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-brand-500);
  color: var(--color-white);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .step-num { width: 3rem; height: 3rem; font-size: 1.25rem; }
}

.step h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
@media (min-width: 768px) {
  .step h3 { font-size: 1.5rem; }
}

.step p { margin: 0; }

/* Team section */
.section-team .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Team grid */
.team-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.team-avatar {
  width: 6rem;
  height: 6rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--color-gray-100);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .team-avatar {
    width: 7.5rem;
    height: 7.5rem;
  }
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.team-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-gray-900);
}

.team-role {
  font-size: 0.8125rem;
  color: var(--color-gray-500);
}

/* CTA section */
.section-cta {
  text-align: center;
}

.section-cta .container { max-width: 40rem; margin-left: auto; margin-right: auto; }
.section-cta .chip { margin-bottom: 1rem; }
.section-cta h2 { margin-bottom: 1rem; }
.section-cta .note {
  font-size: 0.875rem;
  color: var(--color-gray-500);
  margin-top: 1rem;
  margin-bottom: 0;
}

/* Footer */
.footer {
  background: var(--color-gray-900);
  padding: 2rem 0;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

@media (min-width: 640px) {
  .footer .container { flex-direction: row; }
}

.footer-logo {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-white);
  text-decoration: none;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--color-gray-500);
  margin: 0;
}

@media (min-width: 768px) {
  .footer-copy { font-size: 0.875rem; }
}

/* Outcome text in who-builds cards */
.card-outcome {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-gray-900);
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

.card-outcome-text {
  font-size: 0.875rem;
  margin: 0;
}
