/* beecove.com — Brex-inspired design tokens */
:root {
  --primary: #ff5900;
  --accent-hover: #e65000;
  --accent-pressed: #cc4700;
  --ink: #15191e;
  --body: #33383f;
  --muted: #60646c;
  --canvas: #fcfcfd;
  --surface: #ffffff;
  --surface-alt: #f6f7f9;
  --border: #e6e8eb;
  --border-strong: #c9cdd2;
  --soft-orange: #fff3ec;
  --footer-bg: #15191e;
  --on-primary: #ffffff;
  --on-dark: #fcfcfd;
  --success: #138a43;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-pill: 9999px;
  --max-width: 1280px;
  --section-pad: clamp(64px, 10vw, 120px);
  --gutter: clamp(24px, 4vw, 32px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--body);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ink);
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Announcement */
.announcement {
  background: var(--ink);
  color: var(--on-dark);
  font-size: 14px;
  text-align: center;
  padding: 8px 16px;
}

.announcement a {
  color: var(--on-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Nav */
.nav-shell {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.logo span {
  color: var(--muted);
  font-weight: 400;
  font-size: 14px;
  margin-left: 8px;
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 8px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: var(--radius-pill);
}

.nav-links a:hover {
  background: var(--surface-alt);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
  }
}

.nav-links.is-open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 16px var(--gutter) 24px;
  align-items: stretch;
}

@media (min-width: 768px) {
  .nav-links.is-open {
    position: static;
    flex-direction: row;
    border: none;
    padding: 0;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.btn-primary:active {
  background: var(--accent-pressed);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--border-strong);
}

.btn-link-arrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.btn-link-arrow::after {
  content: "→";
  transition: transform 0.15s ease;
}

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

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: var(--section-pad) 0;
}

.section-alt {
  background: var(--surface-alt);
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.33;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 16px;
}

.headline-lg {
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 16px;
}

/* Hero */
.hero {
  padding: clamp(48px, 8vw, 80px) 0 var(--section-pad);
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.hero-title {
  font-size: clamp(42px, 7vw, 56px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin: 0 0 20px;
}

.hero-title .brand {
  display: block;
  color: var(--ink);
}

.hero-title .product-line {
  display: block;
  font-size: clamp(28px, 4.5vw, 40px);
  letter-spacing: -0.03em;
  margin-top: 8px;
  color: var(--body);
}

.hero-lead {
  font-size: 18px;
  line-height: 1.5;
  color: var(--body);
  margin: 0 0 28px;
  max-width: 36ch;
}

.hero-bullets {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  color: var(--body);
}

.hero-bullets .check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--soft-orange);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-media {
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  padding: 24px;
}

.hero-media img {
  border-radius: var(--radius-md);
  width: 100%;
  object-fit: contain;
}

/* Feature cards */
.card-grid {
  display: grid;
  gap: 24px;
}

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

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: box-shadow 0.2s ease;
}

.feature-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.feature-card h3 {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 12px;
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--soft-orange);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 20px;
}

/* Pricing */
.pricing-intro {
  max-width: 640px;
  margin-bottom: 40px;
}

.pricing-intro p {
  margin: 0;
  color: var(--body);
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pricing-card--highlight {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.pricing-card .plan-name {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 8px;
}

.pricing-card .plan-storage {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 12px;
}

.pricing-card .plan-desc {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 24px;
  flex-grow: 1;
}

.pricing-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--primary);
  background: var(--soft-orange);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  width: fit-content;
}

.billing-note {
  font-size: 14px;
  color: var(--muted);
  margin-top: 24px;
  text-align: center;
}

/* Metrics / trust */
.metric-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
}

.metric-panel .metric-value {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 8px;
}

.metric-panel .metric-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin: 0 0 12px;
}

.metric-panel p {
  margin: 0;
  font-size: 14px;
  color: var(--body);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  align-items: center;
  padding: 32px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
}

/* CTA band */
.cta-band {
  background: var(--ink);
  color: var(--on-dark);
  padding: var(--section-pad) var(--gutter);
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(32px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
  color: var(--on-dark);
}

.cta-band p {
  font-size: 16px;
  color: rgba(252, 252, 253, 0.85);
  margin: 0 auto 28px;
  max-width: 520px;
}

/* Footer */
.footer {
  background: var(--footer-bg);
  color: var(--on-dark);
  padding: 64px var(--gutter) 32px;
  font-size: 14px;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand p {
  color: rgba(252, 252, 253, 0.7);
  margin: 12px 0 0;
  max-width: 320px;
  line-height: 1.5;
}

.footer h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 16px;
  color: var(--on-dark);
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li {
  margin-bottom: 10px;
}

.footer a {
  color: rgba(252, 252, 253, 0.75);
}

.footer a:hover {
  color: var(--on-dark);
}

.footer-legal {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: rgba(252, 252, 253, 0.5);
  line-height: 1.5;
}
