/* Method Protocol - Swiss Grid Typography System */

:root {
  --yellow: #C9A43F;
  --black: #1a1a1a;
  --white: #ffffff;
  --gray: #f5f5f0;
  --grid-line: rgba(0, 0, 0, 0.08);
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  background-color: var(--yellow);
  color: var(--black);
  line-height: 1.5;
  min-height: 100vh;
}

/* Grid Background */
.grid-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

/* Layout */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--black);
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  color: var(--black);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 0.6;
}

/* Hero Section */
.hero {
  min-height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0;
}

.hero-title {
  font-size: clamp(3rem, 12vw, 10rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.hero-tagline {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 400;
  max-width: 500px;
  margin-bottom: 60px;
  border-left: 3px solid var(--black);
  padding-left: 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 16px 32px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  border: 2px solid var(--black);
  transition: all 0.2s;
}

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

.btn-primary:hover {
  background: transparent;
  color: var(--black);
}

.btn-secondary {
  background: transparent;
  color: var(--black);
}

.btn-secondary:hover {
  background: var(--black);
  color: var(--white);
}

.btn-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Sections */
section {
  padding: 100px 0;
  border-top: 1px solid var(--black);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
  opacity: 0.7;
}

.section-title {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 30px;
  max-width: 800px;
}

.section-text {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 40px;
}

/* Protocol Steps */
.protocol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.protocol-step {
  background: var(--white);
  padding: 40px;
  border: 2px solid var(--black);
}

.protocol-step .step-number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  opacity: 0.5;
  margin-bottom: 15px;
}

.protocol-step h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.protocol-step p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}

/* Features */
.feature-list {
  list-style: none;
  margin-top: 40px;
}

.feature-list li {
  padding: 25px 0;
  border-bottom: 1px solid rgba(0,0,0,0.15);
  display: flex;
  gap: 20px;
  align-items: baseline;
}

.feature-list li::before {
  content: "→";
  font-weight: 700;
}

/* Code Block */
.code-block {
  background: var(--black);
  color: var(--white);
  padding: 30px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  overflow-x: auto;
  margin: 40px 0;
}

.code-block code {
  color: var(--yellow);
}

/* Two Column */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Footer */
footer {
  padding: 40px 0;
  border-top: 1px solid var(--black);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

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

footer a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }

  nav {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .nav-links {
    gap: 24px;
  }

  .hero-title {
    font-size: clamp(2.5rem, 15vw, 5rem);
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  footer {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .btn-group {
    flex-direction: column;
  }

  .btn {
    text-align: center;
  }
}
