@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;700&family=Instrument+Sans:wght@400;500;600;700&display=swap');

html {
  box-sizing: border-box;
  font-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

:root {
  --bg: #f5f8ff;
  --bg-deep: #e9eefb;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: #ffffff;
  --surface-soft: #f2f6ff;
  --surface-strong: #15243a;
  --text: #112038;
  --text-soft: #5d6f8a;
  --text-inverse: #f9fbff;
  --line: rgba(154, 173, 201, 0.24);
  --line-strong: rgba(154, 173, 201, 0.38);
  --brand: #26d8ab;
  --brand-2: #73b6ff;
  --brand-dark: #0f7a6c;
  --shadow: 0 28px 70px rgba(21, 36, 58, 0.14);
  --shadow-soft: 0 18px 40px rgba(21, 36, 58, 0.1);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

body {
  margin: 0;
  font-family: 'Instrument Sans', 'Segoe UI', sans-serif;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(38, 216, 171, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(115, 182, 255, 0.22), transparent 32%),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 48%, var(--bg-deep) 100%);
}

a {
  color: var(--brand-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(245, 248, 255, 0.72);
  backdrop-filter: blur(18px);
}

.header-inner,
.footer-inner,
.shell {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand-link,
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
  color: var(--text);
  font-family: 'Space Grotesk', 'Instrument Sans', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-link:hover {
  text-decoration: none;
}

.brand-link {
  min-width: 0;
  flex: 0 0 auto;
  max-width: min(42vw, 168px);
}

.brand-link img,
.brand img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
}

.brand-logo-full {
  height: 30px;
}

.footer-top .brand-logo-full {
  height: 24px;
}

.brand-logo-mark {
  height: 18px;
  width: 18px;
  flex: 0 0 auto;
}

.brand-link .brand-logo-mark {
  display: none;
}

.brand-text {
  white-space: nowrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.top-nav,
.footer-nav,
.sub-nav,
.cta-row,
.link-row,
.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.top-nav a,
.footer-nav a,
.sub-nav a {
  color: var(--text-soft);
  font-weight: 600;
}

.top-nav a {
  padding: 10px 14px;
  border-radius: 999px;
}

.top-nav a:hover,
.top-nav a.active,
.sub-nav a.active {
  color: var(--text);
  text-decoration: none;
}

.top-nav a.active {
  background: rgba(255, 255, 255, 0.86);
  box-shadow: inset 0 0 0 1px rgba(154, 173, 201, 0.18);
}

.shell {
  padding: 44px 0 72px;
}

.hero,
.card,
.feature-panel,
.app-card,
.info-card,
.panel,
.note {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(14px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.hero,
.card {
  padding: 34px;
}

.hero {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto -10% -35% auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(38, 216, 171, 0.18), transparent 68%);
  pointer-events: none;
}

.hero-grid,
.two-col,
.featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
}

.hero-copy h1,
h1 {
  margin: 0;
  font-family: 'Space Grotesk', 'Instrument Sans', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

h2,
h3 {
  margin: 0;
  font-family: 'Space Grotesk', 'Instrument Sans', sans-serif;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.35rem, 2vw, 2rem);
  margin-bottom: 12px;
}

h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

p,
li {
  color: #314156;
}

.lede {
  font-size: 1.12rem;
  color: var(--text-soft);
  max-width: 60ch;
}

.meta,
.eyebrow,
.section-intro {
  color: var(--text-soft);
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  font-weight: 700;
}

.section {
  margin-top: 26px;
}

.section-header {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.button-link,
.button-link.secondary,
.button-link.ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button-link:hover,
.button-link.secondary:hover,
.button-link.ghost:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.button-link {
  background: linear-gradient(135deg, var(--text), #213656);
  color: var(--text-inverse);
  box-shadow: 0 14px 28px rgba(17, 32, 56, 0.18);
}

.button-link.secondary {
  background: linear-gradient(135deg, rgba(38, 216, 171, 0.18), rgba(115, 182, 255, 0.2));
  color: var(--text);
}

.button-link.ghost {
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.66);
  color: var(--text);
}

.stat-grid,
.app-grid,
.info-grid,
.build-grid,
.future-grid {
  display: grid;
  gap: 18px;
}

.stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.app-grid,
.build-grid,
.info-grid,
.future-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.stat-card,
.app-card,
.info-card,
.build-card,
.feature-panel,
.panel,
.note {
  padding: 22px;
}

.stat-card,
.build-card,
.app-card,
.info-card,
.feature-panel,
.panel {
  background: rgba(255, 255, 255, 0.72);
}

.app-card,
.build-card,
.info-card,
.stat-card {
  display: grid;
  gap: 12px;
}

.app-card.placeholder {
  border-style: dashed;
}

.app-card.highlight {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(237, 246, 255, 0.88));
}

.icon-chip {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  max-width: 48px;
  max-height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  font-size: 1.2rem;
  background: linear-gradient(135deg, rgba(38, 216, 171, 0.22), rgba(115, 182, 255, 0.22));
  overflow: hidden;
}

.icon-chip img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover;
  display: block;
}

.app-card.highlight .icon-chip {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  max-width: 48px;
  max-height: 48px;
  flex: 0 0 48px;
  overflow: hidden;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.app-card.highlight .icon-chip img {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  max-width: 48px !important;
  max-height: 48px !important;
  object-fit: cover;
  display: block;
}

.pill-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pill-list li {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.95rem;
}

.sub-nav {
  margin: 18px 0 2px;
}

.sub-nav a {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid transparent;
}

.sub-nav a.active {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.95);
}

.list-clean {
  margin: 0;
  padding-left: 18px;
}

.list-clean li + li,
ul li + li {
  margin-top: 8px;
}

.note {
  background: linear-gradient(135deg, rgba(38, 216, 171, 0.16), rgba(115, 182, 255, 0.14));
  color: #17433d;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
}

.footer-inner {
  padding: 28px 0 40px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.footer-copy {
  color: var(--text-soft);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .hero-grid,
  .two-col,
  .featured-grid,
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .header-inner,
  .footer-top {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .footer-inner,
  .shell {
    width: min(100% - 24px, 1160px);
  }

  .hero,
  .card {
    padding: 22px 20px;
    border-radius: 20px;
  }

  h1,
  .hero-copy h1 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .brand-logo-full {
    height: 26px;
  }

  .footer-top .brand-logo-full {
    height: 22px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    gap: 14px;
  }

  .brand-link {
    flex: 0 0 auto;
  }

  .brand-link .brand-logo-full {
    display: none;
  }

  .brand-link .brand-logo-mark {
    display: block;
    height: 20px;
    width: 20px;
  }

  .top-nav {
    justify-content: center;
  }
}
