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

:root {
  /* Brand Colors */
  --color-brand-primary: #1A56DB;
  --color-brand-primary-hover: #1947B8;

  /* Ink Scale */
  --color-ink: #0F172A;
  --color-ink-2: #334155;
  --color-ink-3: #64748B;
  --color-ink-4: #94A3B8;

  /* Paper/Background */
  --color-paper: #FAFAF7;
  --color-paper-2: #F2F1EC;
  --color-paper-3: #E8E6DF;

  /* Borders & Dividers */
  --color-rule: #D9D6CC;
  --color-rule-2: #E8E6DF;

  /* Semantic Colors */
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-error: #EF4444;

  /* Typography */
  --font-display: 'Inter Tight', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-serif: 'Fraunces', serif;

  /* Sizing */
  --size-unit: 4px;
  --size-radius-sm: 4px;
  --size-radius-md: 8px;
  --size-radius-lg: 12px;
  --size-radius-full: 9999px;

  /* Animation */
  --ease-soft: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-stripe: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 120ms;
  --duration-normal: 200ms;
  --duration-slow: 400ms;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-normal) var(--ease-soft);
}

a:hover {
  color: var(--color-brand-primary);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.1;
}

/* Layout */
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .wrap {
    padding: 0 24px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  border-radius: var(--size-radius-md);
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-soft);
}

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

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

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

.btn-secondary:hover {
  background: var(--color-paper-2);
}

.btn-ghost {
  background: transparent;
  color: inherit;
  border-color: var(--color-rule);
}

.btn-ghost:hover {
  border-color: var(--color-ink);
}

.btn-ghost-light {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-ghost-light:hover {
  border-color: white;
}

.btn-text {
  font-weight: 600;
  font-size: 15px;
  padding: 0;
  background: none;
  border: none;
}

/* Logo/Lockup */
.lockup {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3em;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.045em;
  line-height: 1;
}

.lockup .g-mark {
  width: 1.02em;
  height: 1.02em;
  transform: translateY(0.22em);
  flex-shrink: 0;
}

.lockup .dot {
  color: var(--color-brand-primary);
}

.lockup.inv {
  color: white;
}

.lockup.inv .dot {
  color: #5C80EC;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background: linear-gradient(to bottom, rgba(15, 23, 42, 0.8), transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.nav-links a:hover {
  color: white;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  color: white;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
}

/* Hero Section */
.hero {
  background: var(--color-ink);
  color: white;
  position: relative;
  overflow: hidden;
  padding: 168px 0 120px;
}

.hero .ghost-g {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 760px;
  height: 760px;
  opacity: 0.05;
  pointer-events: none;
}

.hero-in {
  position: relative;
  z-index: 2;
  max-width: 880px;
}

.hero .tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #5C80EC;
}

.hero h1 {
  font-weight: 900;
  font-size: clamp(48px, 8vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  margin-top: 26px;
  text-wrap: balance;
}

.hero h1 .u {
  position: relative;
  white-space: nowrap;
  border-bottom: 0.08em solid var(--color-brand-primary);
  padding-bottom: 0.08em;
}

.hero .sub {
  font-size: 20px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  max-width: 560px;
  margin-top: 30px;
  text-wrap: pretty;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
}

.hero-cta .btn-text {
  color: white;
  opacity: 0.8;
}

.hero-cta .btn-text:hover {
  opacity: 1;
}

/* Product Frame */
.frame {
  background: white;
  border: 1px solid var(--color-rule);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 40px 80px -24px rgba(15, 23, 42, 0.4);
}

.frame-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--color-rule-2);
}

.frame-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--color-paper-3);
}

.frame-bar .url {
  margin-left: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-ink-4);
}

.ph {
  position: relative;
  background-color: var(--color-paper);
  background-image: repeating-linear-gradient(135deg, var(--color-paper-2) 0 11px, transparent 11px 22px);
  display: grid;
  place-items: center;
  min-height: 460px;
}

.ph .lbl {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink-4);
  background: var(--color-paper);
  padding: 7px 13px;
  border: 1px solid var(--color-rule);
  border-radius: var(--size-radius-sm);
}

.hero-shot {
  position: relative;
  z-index: 5;
  margin-top: -72px;
}

/* Trust Section */
.trust {
  padding: 56px 0 24px;
  text-align: center;
}

.trust p {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-ink-3);
  margin-bottom: 26px;
}

.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 38px;
}

.logo-tile {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: var(--color-ink-4);
}

/* Content Section */
section.block {
  padding: 110px 0;
}

.sec-top {
  max-width: 760px;
  margin-bottom: 64px;
}

.sec-top .tag {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-brand-primary);
}

.sec-top h2 {
  font-weight: 800;
  font-size: clamp(36px, 5.2vw, 64px);
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin-top: 18px;
  text-wrap: balance;
}

/* Features */
.feat {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
  padding: 72px 0;
  border-top: 1px solid var(--color-rule);
}

.feat.flip .feat-txt {
  order: 2;
}

.feat .big-n {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  color: var(--color-brand-primary);
  letter-spacing: 0.04em;
}

.feat h3 {
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -0.035em;
  line-height: 1.02;
  margin-top: 18px;
}

.feat p {
  font-size: 17px;
  color: var(--color-ink-2);
  line-height: 1.6;
  margin-top: 18px;
  max-width: 460px;
}

.feat-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.feat-list div {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: var(--color-ink-2);
}

.feat-list .ck {
  width: 18px;
  height: 18px;
  color: var(--color-brand-primary);
  flex-shrink: 0;
  margin-top: 1px;
}

@media (max-width: 900px) {
  .feat {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .feat.flip .feat-txt {
    order: 0;
  }
}

/* Dark CTA Section */
.cta {
  background: var(--color-ink);
  color: white;
  position: relative;
  overflow: hidden;
  padding: 130px 0;
}

.cta-in {
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta .ghost-g {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 620px;
  height: 620px;
  opacity: 0.06;
  pointer-events: none;
}

.cta h2 {
  font-weight: 900;
  font-size: clamp(40px, 6.4vw, 84px);
  letter-spacing: -0.05em;
  line-height: 0.94;
  text-wrap: balance;
}

.cta h2 .dot {
  color: #5C80EC;
}

.cta p {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.7);
  margin: 22px auto 0;
  max-width: 520px;
}

.cta .hero-cta {
  justify-content: center;
  margin-top: 36px;
}

/* Footer */
footer {
  background: var(--color-ink);
  color: rgba(255, 255, 255, 0.6);
  padding: 64px 0 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}

.foot-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.foot-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 0;
}

.foot-col a:hover {
  color: white;
}

.foot-about p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  max-width: 280px;
  margin-top: 18px;
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 900px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding: 130px 0 90px;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 36px;
  }

  .hero .sub {
    font-size: 16px;
  }

  .feat {
    padding: 48px 0;
  }

  .cta h2 {
    font-size: 40px;
  }
}
