@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=JetBrains+Mono:wght@400;500&display=swap');

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #fafaf8;
  color: #1a1a1a;
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
  color: #111;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw + 0.5rem, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.section-heading {
  font-size: clamp(2rem, 3.5vw + 0.3rem, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.card-title {
  font-size: clamp(1.3rem, 2vw + 0.3rem, 1.7rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

p {
  max-width: 65ch;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.lead-paragraph {
  font-size: clamp(1.05rem, 1.5vw + 0.2rem, 1.35rem);
  line-height: 1.7;
  color: #4a4a4a;
  max-width: 55ch;
}

.body-text {
  font-size: clamp(0.95rem, 1vw + 0.15rem, 1.08rem);
  line-height: 1.75;
  color: #555;
}

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #c4820a;
  margin-bottom: 0.75rem;
  display: inline-block;
}

/* ── Layout ── */
.section-wrapper {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 6rem) clamp(1.25rem, 4vw, 3rem);
}

/* ── Header / Nav ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.55rem;
  font-weight: 700;
  color: #111;
  letter-spacing: -0.02em;
}

.logo-link:hover {
  color: #c4820a;
}

.logo-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-desktop a {
  display: block;
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #555;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-desktop a:hover {
  color: #111;
  background: rgba(0, 0, 0, 0.04);
}

.nav-desktop a.active {
  color: #c4820a;
}

.nav-cta {
  margin-left: 0.75rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #111;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ── Buttons ── */
.primary-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  background: #111;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.primary-button:hover {
  background: #c4820a;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(196, 130, 10, 0.25);
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #111;
  background: transparent;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.secondary-button:hover {
  border-color: #c4820a;
  color: #c4820a;
  background: rgba(196, 130, 10, 0.04);
}

/* ── Hero ── */
.page-hero {
  width: 100%;
  padding: clamp(4rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
}

.hero-bg-accent {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 55%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(196, 130, 10, 0.06) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 1.8vw + 0.2rem, 1.5rem);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 400;
  color: #777;
  margin-top: 1.25rem;
  max-width: 45ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero-specimens {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 4rem;
}

.specimen-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  text-align: center;
  transition: all 0.3s ease;
}

.specimen-card:hover {
  border-color: rgba(196, 130, 10, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}

.specimen-preview {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 700;
  color: #111;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.specimen-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: #888;
  letter-spacing: 0.05em;
}

/* ── Cards ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1.5rem;
  width: 100%;
}

.card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: all 0.3s ease;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.card:hover {
  border-color: rgba(196, 130, 10, 0.25);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
  transform: translateY(-2px);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(196, 130, 10, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
}

.card .body-text {
  margin-top: 0.5rem;
}

/* ── Feature List ── */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.feature-row:nth-child(even) {
  direction: rtl;
}

.feature-row:nth-child(even) > * {
  direction: ltr;
}

.feature-visual {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 20px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.feature-visual .typo-display {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 700;
  color: #111;
  line-height: 1;
}

/* ── Image ── */
.image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
  object-fit: cover;
}

/* ── Divider ── */
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #c4820a, #e8a840);
  border-radius: 3px;
  margin-bottom: 1.5rem;
}

/* ── Footer ── */
.site-footer {
  background: #111;
  color: #aaa;
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}

.footer-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  max-width: 280px;
}

.footer-brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #777;
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.65rem;
}

.footer-col a {
  font-size: 0.88rem;
  color: #888;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #e8a840;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.8rem;
  color: #555;
}

.footer-bottom a {
  color: #777;
}

.footer-bottom a:hover {
  color: #e8a840;
}

/* ── Table / Pricing ── */
.pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  overflow: hidden;
}

.pricing-table th,
.pricing-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: 0.9rem;
}

.pricing-table thead th {
  background: #111;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-table tbody tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-table tbody tr:last-child {
  border-bottom: none;
}

.pricing-table tbody tr:hover {
  background: rgba(196, 130, 10, 0.03);
}

/* ── Code / Docs ── */
.code-block {
  background: #1a1a1a;
  color: #e8a840;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  line-height: 1.7;
  padding: 1.5rem;
  border-radius: 12px;
  overflow-x: auto;
}

/* ── Mobile Nav Overlay ── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(250, 250, 248, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 2rem;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  display: block;
  padding: 1rem;
  font-size: 1.15rem;
  font-weight: 500;
  color: #333;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.mobile-nav a:hover {
  background: rgba(196, 130, 10, 0.06);
  color: #c4820a;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-row:nth-child(even) {
    direction: ltr;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .hero-specimens {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .header-inner {
    height: 64px;
  }

  .mobile-nav {
    top: 64px;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .primary-button,
  .hero-actions .secondary-button {
    justify-content: center;
    width: 100%;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .pricing-table {
    font-size: 0.8rem;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 0.75rem 0.6rem;
  }
}

/* ── Utility ── */
.text-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }

.accent-text {
  color: #c4820a;
}

.stripe-accent {
  height: 4px;
  background: linear-gradient(90deg, #c4820a, #e8a840, #c4820a);
  border-radius: 4px;
}

/* ── Testimonial ── */
.testimonial-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  color: rgba(196, 130, 10, 0.2);
  position: absolute;
  top: 0.5rem;
  left: 1.25rem;
  line-height: 1;
}

.testimonial-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.6;
  color: #444;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: #111;
}

.testimonial-role {
  font-size: 0.78rem;
  color: #888;
  margin-top: 0.15rem;
}

/* ── CTA Banner ── */
.cta-banner {
  background: #111;
  border-radius: 24px;
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(196, 130, 10, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

.cta-banner .section-heading {
  color: #fff;
}

.cta-banner .lead-paragraph {
  color: #999;
  margin: 0 auto 2rem;
}

.cta-banner .primary-button {
  background: #c4820a;
  color: #fff;
}

.cta-banner .primary-button:hover {
  background: #e8a840;
}

/* ── Stat Row ── */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin: 3rem 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #c4820a;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.82rem;
  color: #888;
  margin-top: 0.35rem;
}

/* ── Tag / Badge ── */
.tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  background: rgba(196, 130, 10, 0.08);
  color: #c4820a;
  border-radius: 6px;
  margin-right: 0.4rem;
  margin-bottom: 0.4rem;
}

/* ── Case Study Card ── */
.case-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.case-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.07);
  transform: translateY(-3px);
}

.case-card-image {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #f5f0e8, #e8e0d4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #111;
}

.case-card-body {
  padding: 1.5rem;
}

.case-card-body .card-title {
  margin-bottom: 0.4rem;
}

.case-card-body .body-text {
  font-size: 0.88rem;
}

/* ── Integration Logo Row ── */
.integration-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 2rem 0;
}

.integration-logo {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 1rem 1.75rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
  transition: all 0.2s ease;
}

.integration-logo:hover {
  border-color: rgba(196, 130, 10, 0.3);
  color: #c4820a;
}

/* ── Doc Section ── */
.doc-section {
  margin-bottom: 3rem;
}

.doc-section h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: #111;
}

.doc-section p {
  margin-bottom: 1rem;
}

.doc-section ol, .doc-section ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.doc-section li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #fafaf8;
}

::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #aaa;
}
/* universal guards (not a template) */
*{box-sizing:border-box}img,svg,video{max-width:100%;height:auto}h1,h2,h3,h4,p,li,a,span,blockquote{overflow-wrap:break-word;word-break:normal}html{-webkit-text-size-adjust:100%}body{margin:0}
