@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

:root {
  --background: #0a0a0a;
  --foreground: #fafafa;
  --muted-foreground: #71717a;
  --border: #27272a;
  --primary: #fafafa;
  --primary-foreground: #0a0a0a;
  --px: clamp(1.5rem, 5vw, 6rem);
}

html { font-size: 16px; }
body {
  background: var(--background);
  color: var(--foreground);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover { opacity: 0.8; }

/* Utilities */
.px { padding-left: var(--px); padding-right: var(--px); }
.muted { color: var(--muted-foreground); }
.label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}
.divider {
  width: 100%;
  height: 1px;
  background: var(--border);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 4rem var(--px) 3rem;
}
.hero-top { padding-top: 2rem; }
.hero-mark {
  width: 3rem;
  height: 1px;
  background: var(--primary);
  margin-top: 1rem;
}
.hero-main {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 3rem 0;
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 1000px;
}
.hero-bottom {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
@media (min-width: 640px) {
  .hero-bottom {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--muted-foreground);
  max-width: 28rem;
  letter-spacing: 0.01em;
}
.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 1rem 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 0.3s, color 0.3s;
  text-align: center;
  min-height: 48px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
}
.btn:hover {
  background: var(--foreground);
  color: var(--background);
  opacity: 1;
}

/* Sections */
.section {
  padding: 6rem var(--px);
}
.section-inner {
  margin-top: 4rem;
}
.grid-12 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .grid-12 {
    grid-template-columns: repeat(12, 1fr);
    gap: 0;
  }
  .col-3 { grid-column: span 3; }
  .col-7-5 { grid-column: 5 / span 7; }
}
.section-text {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
  letter-spacing: 0.01em;
}
.underline-accent {
  border-bottom: 1px solid var(--foreground);
  padding-bottom: 2px;
}

/* Proof of work */
.proof-item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: 2.5rem 0;
}
@media (min-width: 768px) {
  .proof-item {
    grid-template-columns: repeat(12, 1fr);
    gap: 0;
  }
  .proof-num { grid-column: span 1; }
  .proof-text { grid-column: 5 / span 8; }
}
.proof-num {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  font-variant-numeric: tabular-nums;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.testimonial {
  padding: 3rem 0;
}
@media (min-width: 768px) {
  .testimonial:first-child {
    padding-right: 3rem;
    border-right: 1px solid var(--border);
  }
  .testimonial:last-child {
    padding-left: 3rem;
    border-top: none;
  }
}
.testimonial:last-child {
  border-top: 1px solid var(--border);
}
@media (min-width: 768px) {
  .testimonial:last-child { border-top: none; }
}
.testimonial-quote {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.7;
  letter-spacing: 0.01em;
  margin-bottom: 2rem;
}
.testimonial-name {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
}
.testimonial-title {
  font-size: 0.7rem;
  color: var(--muted-foreground);
  letter-spacing: 0.05em;
  margin-top: 0.25rem;
}

/* Contact */
.contact-headline {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 4rem;
}
.contact-item { margin-bottom: 1.5rem; }
.contact-link {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  display: block;
  padding: 0.75rem 0;
  transition: color 0.3s;
}
.contact-link:hover { color: var(--muted-foreground); opacity: 1; }

/* Footer */
footer {
  padding: 2.5rem var(--px);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.7rem;
  color: var(--muted-foreground);
  letter-spacing: 0.02em;
  margin-top: 2.5rem;
}
@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a:hover { color: var(--foreground); opacity: 1; }

/* Legal pages */
.legal-page {
  padding: 4rem var(--px) 6rem;
  max-width: calc(42rem + 2 * var(--px));
}
.back-link {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  display: inline-block;
  margin-bottom: 4rem;
  transition: color 0.3s;
}
.back-link:hover { color: var(--foreground); opacity: 1; }
.legal-page h1 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 4rem;
}
.legal-page h2 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}
.legal-page h3 {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.legal-page h4 {
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.legal-page p {
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.legal-page ul {
  color: var(--muted-foreground);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  padding-left: 1.5rem;
}
.legal-page li { margin-bottom: 0.5rem; }
.legal-page a { text-decoration: underline; text-underline-offset: 3px; }
.legal-meta {
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  color: var(--muted-foreground);
}
