/* Rucks — Commercial Website
   Design spec: B2 clean product-led minimalism
   All values translated from Tailwind mockup

   Breakpoints:
   - Mobile:  < 768px (default)
   - Tablet:  768px – 1023px
   - Desktop: 1024px+
*/

/* ── Reset & Base ─────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #F7F5F0;
  color: #18181b; /* zinc-900 */
  min-height: 100vh;
  overflow-x: hidden;
}

::selection {
  background: #09090b;
  color: white;
}

/* ── Atmospheric Background ──────────────────────────── */

.bg-atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at top left, rgba(113,122,101,0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(24,24,27,0.04), transparent 30%);
  pointer-events: none;
}

/* ── Layout ───────────────────────────────────────────── */

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 768px) {
  .container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

/* ── Header ───────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  background: rgba(247,245,240,0.80);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

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

@media (min-width: 768px) {
  .site-header .container {
    padding-top: 24px;
    padding-bottom: 24px;
  }
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #09090b;
  text-decoration: none;
}

.wordmark-logo {
  display: block;
  flex-shrink: 0;
}

.login-link {
  font-size: 14px;
  color: #71717a; /* zinc-500 */
  text-decoration: none;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
}

.login-link:hover {
  color: #09090b;
}

/* ── Header Nav (multi-item) ─────────────────────────── */

.header-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: #71717a;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #09090b;
}

.nav-link--active {
  color: #09090b;
}

.btn-pill--nav {
  padding: 8px 16px;
  font-size: 13px;
}

.btn-pill--secondary {
  background: transparent;
  color: #09090b;
  border: 1px solid rgba(0,0,0,0.12);
}

.btn-pill--secondary:hover {
  background: rgba(0,0,0,0.04);
}

.btn-pill--full {
  display: block;
  width: 100%;
  text-align: center;
}

/* ── Section Grid (label + content) ───────────────────── */

.section {
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 56px;
  padding-bottom: 56px;
}

@media (min-width: 768px) {
  .section {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}

@media (min-width: 1024px) {
  .section {
    padding-top: 96px;
    padding-bottom: 96px;
  }
}

.section-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .section-grid {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 48px;
  }
}

.section-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: #a1a1aa; /* zinc-400 */
  line-height: 1;
  padding-top: 4px;
}

/* ── Normalized Section Typography ────────────────────── */
/* Used by: The Pitch, Why It's Different, Connections,
   Who Uses Rucks, Request Access                         */

.section-body {
  max-width: 780px;
}

.section-headline {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: #09090b;
}

@media (min-width: 768px) {
  .section-headline {
    font-size: 28px;
  }
}

.section-body-text {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.75;
  color: #52525b; /* zinc-600 */
}

@media (min-width: 768px) {
  .section-body-text {
    font-size: 18px;
  }
}

.section-body-text + .section-body-text {
  margin-top: 12px;
}

/* ── Hero ─────────────────────────────────────────────── */

.hero {
  padding-top: 56px;
  padding-bottom: 72px;
}

@media (min-width: 768px) {
  .hero {
    padding-top: 80px;
    padding-bottom: 112px;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 112px;
    padding-bottom: 144px;
  }
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: start;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 64px;
  }
}

@media (min-width: 1200px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 80px;
  }
}

.hero-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: #a1a1aa;
}

.hero-headline {
  margin-top: 24px;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.05em;
  color: #09090b;
}

@media (min-width: 768px) {
  .hero-headline {
    margin-top: 28px;
    font-size: 64px;
    line-height: 0.98;
  }
}

@media (min-width: 1024px) {
  .hero-headline {
    font-size: 80px;
    line-height: 0.96;
  }
}

@media (min-width: 1200px) {
  .hero-headline {
    font-size: 88px;
  }
}

.hero-sub {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.75;
  color: #52525b;
  max-width: 560px;
}

@media (min-width: 768px) {
  .hero-sub {
    margin-top: 32px;
    font-size: 18px;
    line-height: 1.8;
  }
}

@media (min-width: 1024px) {
  .hero-sub {
    font-size: 20px;
    line-height: 1.8;
  }
}

.hero-cta {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (min-width: 768px) {
  .hero-cta {
    margin-top: 44px;
  }
}

/* ── Pill Button ──────────────────────────────────────── */

.btn-pill {
  display: inline-block;
  background: #09090b;
  color: white;
  border: none;
  border-radius: 9999px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  line-height: 1;
}

.btn-pill:hover {
  background: #27272a;
}

/* ── Workspace Card (Hero decorative) ─────────────────── */

.workspace-card-wrap {
  position: relative;
}

.workspace-card-glow {
  position: absolute;
  inset: 0;
  border-radius: 32px;
  background: linear-gradient(to bottom right, rgba(255,255,255,0.80), rgba(255,255,255,0.20));
  filter: blur(48px);
}

.workspace-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.80);
  box-shadow: 0 20px 80px rgba(0,0,0,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.workspace-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 14px 18px;
}

@media (min-width: 768px) {
  .workspace-card-header {
    padding: 16px 20px;
  }
}

.workspace-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.workspace-dots span {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.workspace-dots span:nth-child(1) { background: #d4d4d8; }
.workspace-dots span:nth-child(2) { background: #e4e4e7; }
.workspace-dots span:nth-child(3) { background: #f4f4f5; }

.workspace-pill {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 9999px;
  padding: 4px 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #71717a;
}

.workspace-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .workspace-card-body {
    padding: 20px;
    gap: 20px;
  }
}

.workspace-inner-card {
  border-radius: 22px;
  border: 1px solid rgba(0,0,0,0.06);
  padding: 14px;
}

@media (min-width: 768px) {
  .workspace-inner-card {
    padding: 16px;
  }
}

.workspace-inner-card:nth-child(odd) {
  background: #FCFBF7;
}

.workspace-inner-card:nth-child(even) {
  background: #ffffff;
}

.workspace-inner-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #a1a1aa;
}

.workspace-inner-text {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #3f3f46;
}

@media (min-width: 768px) {
  .workspace-inner-text {
    margin-top: 12px;
    font-size: 15px;
  }
}

/* ── Breaking List (What Keeps Breaking) ─────────────── */

.breaking-list {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
}

.breaking-list li {
  font-size: 16px;
  line-height: 1.6;
  color: #09090b;
  padding-left: 20px;
  position: relative;
}

.breaking-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #a1a1aa;
}

@media (min-width: 768px) {
  .breaking-list li {
    font-size: 18px;
  }

  .breaking-list li::before {
    top: 11px;
  }
}

/* ── Pillar Cards (Three Ways to Work) ───────────────── */

.pillar-grid {
  display: grid;
  gap: 16px;
}

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

.pillar-card {
  border-radius: 28px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.70);
  padding: 24px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.02);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

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

.pillar-title {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #09090b;
}

@media (min-width: 768px) {
  .pillar-title {
    font-size: 22px;
  }
}

.pillar-body {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.7;
  color: #52525b;
}

@media (min-width: 768px) {
  .pillar-body {
    margin-top: 16px;
    font-size: 16px;
    line-height: 1.75;
  }
}

/* ── Pull Quotes ─────────────────────────────────────── */

.pull-quote {
  margin-top: 40px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #09090b;
}

@media (min-width: 768px) {
  .pull-quote {
    margin-top: 48px;
    font-size: 26px;
  }
}

@media (min-width: 1024px) {
  .pull-quote {
    font-size: 28px;
    letter-spacing: -0.03em;
  }
}

/* ── How It Works (numbered steps) ───────────────────── */

.how-list {
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  counter-reset: how-step;
}

.how-list li {
  font-size: 16px;
  line-height: 1.6;
  color: #09090b;
  padding-left: 32px;
  position: relative;
  counter-increment: how-step;
}

.how-list li::before {
  content: counter(how-step);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 13px;
  font-weight: 500;
  color: #a1a1aa;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 50%;
  line-height: 1;
}

@media (min-width: 768px) {
  .how-list li {
    font-size: 18px;
  }
}

/* ── Connections line ────────────────────────────────── */

.connections-line {
  margin-top: 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: #71717a;
}

@media (min-width: 768px) {
  .connections-line {
    margin-top: 20px;
    font-size: 13px;
  }
}

/* ── Why / Trust Lines (Built on Trust) ──────────────── */

.why-lines {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.why-line {
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.02em;
  color: #09090b;
  font-weight: 400;
}

@media (min-width: 768px) {
  .why-line {
    font-size: 24px;
    line-height: 1.35;
  }
}

@media (min-width: 1024px) {
  .why-line {
    font-size: 28px;
    line-height: 1.3;
    letter-spacing: -0.03em;
  }
}

/* ── Request Access ───────────────────────────────────── */

.request-grid {
  display: grid;
  gap: 40px;
}

@media (min-width: 1024px) {
  .request-grid {
    grid-template-columns: minmax(0, 1fr) 400px;
    align-items: start;
    gap: 64px;
  }
}

/* ── Form Card ────────────────────────────────────────── */

.form-card {
  border-radius: 30px;
  border: 1px solid rgba(0,0,0,0.06);
  background: rgba(255,255,255,0.78);
  padding: 20px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.04);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

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

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-input {
  width: 100%;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,0.08);
  background: white;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  color: #09090b;
  outline: none;
  transition: border-color 0.2s;
}

.form-input::placeholder {
  color: #a1a1aa;
}

.form-input:focus {
  border-color: rgba(0,0,0,0.20);
}

.form-input--message {
  padding-top: 24px;
  padding-bottom: 24px;
  resize: vertical;
  min-height: 80px;
}

.form-submit {
  margin-top: 20px;
}

.form-success {
  padding: 40px 20px;
  text-align: center;
  font-size: 18px;
  line-height: 1.6;
  color: #52525b;
}

.form-error {
  margin-top: 12px;
  font-size: 14px;
  color: #dc2626;
}

/* ── Footer ───────────────────────────────────────────── */

.site-footer {
  border-top: 1px solid rgba(0,0,0,0.06);
  padding: 32px 0 40px;
}

@media (min-width: 768px) {
  .site-footer {
    padding: 40px 0 48px;
  }
}

.footer-text {
  font-size: 13px;
  color: #a1a1aa;
}

.footer-link {
  color: #a1a1aa;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #52525b;
}

/* ── Scroll Reveal Animation ──────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Pricing Page ────────────────────────────────────── */

.hero--pricing {
  padding-bottom: 48px;
}

@media (min-width: 768px) {
  .hero--pricing {
    padding-bottom: 64px;
  }
}

.pricing-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.pricing-headline {
  margin-top: 24px;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #09090b;
}

@media (min-width: 768px) {
  .pricing-headline {
    font-size: 28px;
  }
}

@media (min-width: 1024px) {
  .pricing-headline {
    font-size: 32px;
  }
}

.pricing-sub {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.6;
  color: #71717a;
}

@media (min-width: 768px) {
  .pricing-sub {
    font-size: 18px;
  }
}

.pricing-cards-section {
  padding-bottom: 72px;
}

.pricing-grid {
  display: grid;
  gap: 12px;
  max-width: 880px;
  margin: 0 auto;
}

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

@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
}

.pricing-card {
  border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.06);
  background: #FFFFFF;
  padding: 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.15s;
}

.pricing-card--featured {
  border-color: #09090b;
  border-width: 2px;
  padding: 19px;
}

.pricing-badge {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: #09090b;
  color: white;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 2px 10px;
  border-radius: 9999px;
  white-space: nowrap;
}

.pricing-card-header {
  margin-bottom: 12px;
}

.pricing-plan-name {
  font-size: 16px;
  font-weight: 500;
  color: #09090b;
}

.pricing-price {
  margin-top: 4px;
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.pricing-amount {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #09090b;
}

.pricing-period {
  font-size: 12px;
  color: #71717a;
}

.pricing-subline {
  margin-top: 2px;
  font-size: 12px;
  color: #a1a1aa;
}

.pricing-description {
  font-size: 13px;
  line-height: 1.55;
  color: #52525b;
  margin-bottom: 12px;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
  flex-grow: 1;
}

.pricing-features li {
  font-size: 13px;
  line-height: 1.5;
  color: #18181b;
  padding-left: 20px;
  position: relative;
  display: flex;
  align-items: center;
}

.pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  background: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2371717a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center;
  background-size: 14px 14px;
  border-radius: 0;
}

.pricing-cta {
  margin-top: auto;
}

.pricing-cta .btn-pill {
  font-size: 13px;
  padding: 10px 16px;
}

/* ── FAQ ─────────────────────────────────────────────── */

.faq-list {
  max-width: 780px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.faq-question {
  font-size: 18px;
  font-weight: 500;
  color: #09090b;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .faq-question {
    font-size: 20px;
  }
}

.faq-answer {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.7;
  color: #52525b;
}

