:root {
  --background: #f7f8fb;
  --surface: #ffffff;
  --surface-muted: #eef1f6;
  --text: #101626;
  --text-muted: #5c6474;
  --border: #dfe4ec;
  --accent: #4b4cff;
  --accent-dark: #3435d8;
  --dark: #101522;
  --dark-muted: #1b2233;
  --shadow: 0 24px 80px rgba(16, 22, 38, 0.12);
  --radius-large: 28px;
  --radius-medium: 18px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(223, 228, 236, 0.8);
  background: rgba(247, 248, 251, 0.9);
  backdrop-filter: blur(16px);
}

.nav-wrap {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  color: white;
  background: var(--accent);
  box-shadow: 0 10px 30px rgba(75, 76, 255, 0.3);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a:hover,
.text-link:hover,
.footer-links a:hover {
  color: var(--accent);
}

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  color: white !important;
  background: var(--text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 999px;
  background: var(--text);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 0 112px;
}

.hero::before {
  position: absolute;
  top: -220px;
  left: 50%;
  width: 720px;
  height: 720px;
  content: "";
  transform: translateX(-10%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(75, 76, 255, 0.14), transparent 68%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 72px;
  align-items: center;
}

.eyebrow,
.section-kicker,
.architecture-label {
  margin: 0 0 20px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.hero h1 {
  max-width: 800px;
  font-size: clamp(3.4rem, 7vw, 6.6rem);
}

.hero h1 span {
  display: block;
  color: var(--accent);
}

.hero-text {
  max-width: 720px;
  margin: 30px 0 0;
  color: var(--text-muted);
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 750;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: white;
  background: var(--accent);
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  border-color: var(--border);
  background: var(--surface);
}

.button-full {
  width: 100%;
}

.hero-note,
.form-note,
.form-status {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-note {
  margin-top: 18px;
}

.architecture-card {
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow);
}

.architecture-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.architecture-label {
  margin-bottom: 6px;
}

.architecture-description {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.architecture-symbol {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  color: white;
  background: var(--accent);
  box-shadow: 0 10px 30px rgba(75, 76, 255, 0.25);
}

.architecture-boundary {
  padding: 18px;
  border: 2px solid var(--accent);
  border-radius: 18px;
  background: rgba(75, 76, 255, 0.035);
}

.architecture-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.architecture-node {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  text-align: center;
  font-size: 0.94rem;
  font-weight: 750;
}

.architecture-node-external {
  background: var(--surface-muted);
}

.architecture-arrow {
  padding: 7px 0;
  color: var(--text-muted);
}

.architecture-arrow-external {
  text-align: center;
}

.architecture-group {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.section {
  padding: 112px 0;
}

.section-light {
  border-block: 1px solid var(--border);
  background: var(--surface);
}

.section-dark {
  color: white;
  background: var(--dark);
}

.two-column,
.founder-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.section h2 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}

.section-copy,
.section-heading > p,
.founder-copy > p,
.contact-grid > div > p {
  color: var(--text-muted);
  font-size: 1.08rem;
}

.section-copy p:first-child,
.founder-copy p:first-of-type {
  margin-top: 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 54px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  min-height: 280px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background: var(--surface);
}

.feature-number {
  margin-bottom: 54px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.feature-card h3 {
  margin: 0 0 14px;
  font-size: 1.28rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
}

.quote-block {
  max-width: 900px;
}

.quote-mark {
  margin: 0;
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 7rem;
  line-height: 0.7;
}

blockquote {
  margin: 20px 0 0;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.founder-card,
.contact-card {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.founder-card {
  display: flex;
  gap: 20px;
  align-items: center;
}

.founder-monogram {
  display: grid;
  width: 78px;
  height: 78px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 24px;
  color: white;
  background: var(--accent);
  font-size: 1.3rem;
  font-weight: 850;
}

.founder-card h3,
.founder-card p {
  margin: 0;
}

.founder-card p {
  margin-top: 4px;
  color: var(--text-muted);
}

.text-link {
  display: inline-flex;
  gap: 6px;
  margin-top: 18px;
  color: var(--accent);
  font-weight: 750;
}

.contact-section {
  background:
    linear-gradient(rgba(247, 248, 251, 0.96), rgba(247, 248, 251, 0.96)),
    radial-gradient(circle at 10% 20%, rgba(75, 76, 255, 0.3), transparent 36%);
}

.contact-card {
  display: grid;
  gap: 10px;
}

.contact-card label {
  margin-top: 8px;
  font-size: 0.9rem;
  font-weight: 750;
}

.contact-card input,
.contact-card textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  background: var(--background);
}

.contact-card input {
  height: 48px;
  padding: 0 14px;
}

.contact-card textarea {
  resize: vertical;
  padding: 14px;
}

.contact-card input:focus,
.contact-card textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(75, 76, 255, 0.12);
}

.form-note,
.form-status {
  margin: 4px 0 0;
}

.site-footer {
  padding: 64px 0 24px;
  color: white;
  background: var(--dark);
}

.footer-grid,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-grid p,
.footer-bottom p,
.footer-links {
  color: #aab2c3;
}

.footer-links {
  display: grid;
  gap: 10px;
  text-align: right;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

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

  .nav-links {
    position: absolute;
    top: 68px;
    right: 20px;
    display: none;
    width: min(320px, calc(100vw - 40px));
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: grid;
  }

  .hero-grid,
  .two-column,
  .founder-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero {
    padding-top: 72px;
  }

  .architecture-card {
    max-width: 620px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .hero,
  .section {
    padding-block: 76px;
  }

  .hero h1 {
    font-size: clamp(2.8rem, 14vw, 4.6rem);
  }

  .hero-actions,
  .footer-grid,
  .footer-bottom {
    flex-direction: column;
  }

  .feature-grid,
  .architecture-group {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 0;
  }

  .feature-number {
    margin-bottom: 30px;
  }

  .footer-links {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
