/* Fractl landing page — brand: #EE5B35 / #1A1A1A / #FFFFFF, Hanken Grotesk */

:root {
  --orange: #EE5B35;
  --orange-dark: #D6491F;
  --ink: #1A1A1A;
  --ink-soft: #2A2A2A;
  --white: #FFFFFF;
  --grey-100: #F6F5F3;
  --grey-400: #8C8C8C;
  --grey-600: #5A5A5A;
  --max-w: 1120px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-weight: 800; line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.01em; }
p { margin: 0 0 16px; color: var(--grey-600); }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

a { text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 999px;
  transition: all 0.18s ease;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover { border-color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-small { padding: 10px 20px; font-size: 14px; }
.btn-large { padding: 17px 36px; font-size: 16px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #ECECEC;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 32px;
  height: 32px;
}
.brand-mark-small { width: 26px; height: 26px; }
.brand-name {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.01em;
}

/* Hero */
.hero {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  padding: 96px 0 88px;
}
.hero-mark {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 480px;
  height: 480px;
  opacity: 0.14;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.eyebrow {
  color: var(--orange);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.eyebrow-dark { color: var(--orange); }
.hero h1 {
  color: var(--white);
  font-size: 52px;
  max-width: 680px;
}
.hero-sub {
  color: #D3D3D3;
  font-size: 18px;
  max-width: 600px;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Sections */
.section { padding: 88px 0; }

.what-we-do h2 {
  font-size: 34px;
  max-width: 680px;
  margin-bottom: 48px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card {
  background: var(--grey-100);
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 1px solid #ECEAE6;
}
.card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
}
.card-icon svg { width: 100%; height: 100%; }
.card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}
.card p {
  font-size: 15px;
  margin-bottom: 0;
}

/* Social proof */
.proof {
  background: var(--white);
  padding: 56px 0;
  border-top: 1px solid #ECECEC;
  border-bottom: 1px solid #ECECEC;
}
.proof-label {
  text-align: center;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 28px;
}
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.logo-badge {
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
  padding: 12px 26px;
  border: 1.5px solid #E3E1DD;
  border-radius: 999px;
  background: var(--grey-100);
  letter-spacing: -0.01em;
}

/* Closing CTA */
.closing-cta {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  text-align: center;
}
.cta-mark {
  position: absolute;
  bottom: -140px;
  left: -140px;
  width: 420px;
  height: 420px;
  opacity: 0.12;
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
}
.closing-cta h2 {
  color: var(--white);
  font-size: 34px;
}
.closing-cta p {
  color: #D3D3D3;
  font-size: 17px;
  margin-bottom: 32px;
}

/* Footer */
.site-footer {
  background: var(--white);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy {
  font-size: 13px;
  color: var(--grey-400);
  margin: 0;
}

/* Responsive */
@media (max-width: 980px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 40px; }
}

@media (max-width: 640px) {
  .hero { padding: 72px 0 64px; }
  .hero h1 { font-size: 32px; }
  .hero-sub { font-size: 16px; }
  .section { padding: 64px 0; }
  .card-grid { grid-template-columns: 1fr; }
  .what-we-do h2, .closing-cta h2 { font-size: 26px; }
  .hero-mark { width: 320px; height: 320px; top: -80px; right: -100px; }
  .cta-mark { width: 280px; height: 280px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; }
  .hero-actions .btn { width: auto; }
}

@media (max-width: 420px) {
  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; }
}
