@import url("https://fonts.cdnfonts.com/css/gotham");

:root {
  --bg: #121212;
  --bg-inset: #0c0c0c;
  --fg: #ffffff;
  --primary: #286bfe;
  --primary-fg: #ffffff;
  --accent: var(--primary);
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --hairline: rgba(255, 255, 255, 0.08);
  --hairline-2: rgba(255, 255, 255, 0.14);
  --muted: rgba(255, 255, 255, 0.7);
  --supporting: rgba(255, 255, 255, 0.55);
  --faint: rgba(255, 255, 255, 0.45);
  --gutter: 16px;
  --header-h: 64px;
  --settle: cubic-bezier(0.32, 0.72, 0, 1);
  --slide: cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }

* { box-sizing: border-box; }
html { background: var(--bg); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Gotham", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 32px;
  border-radius: 9999px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background-color 300ms ease, color 300ms ease, opacity 300ms ease;
  white-space: nowrap;
}
.btn-primary { background: var(--primary); color: var(--primary-fg); }
.btn-primary:hover { background: rgba(40, 107, 254, 0.9); }
.btn-secondary { background: #ffffff; color: #0a0a0a; }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.88); }

.hero-title {
  font-size: clamp(2.75rem, 7.5vw, 5rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
}
.section-title {
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}
.hl { color: var(--accent); }
.lead { font-size: 1.0625rem; line-height: 1.6; color: var(--muted); margin: 0; }
.body { font-size: 1rem; line-height: 1.6; color: var(--muted); margin: 0; }

.section { padding: clamp(64px, 9vw, 120px) 0; }
.reach-claim { margin: 0; max-width: 960px; font-size: clamp(1.75rem, 3.6vw, 2.5rem); font-weight: 500; line-height: 1.14; letter-spacing: -0.02em; }
.reach-stat { font-size: 1.15em; letter-spacing: -0.03em; }
.reach-note { margin: 24px 0 0; color: var(--supporting); max-width: 960px; }
.section-head { margin-bottom: 48px; }

.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 48px) 0 clamp(64px, 9vw, 112px); overflow: hidden; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-veil { position: absolute; inset: 0; background: linear-gradient(to top, var(--bg) 0%, rgba(18, 18, 18, 0.55) 22%, rgba(18, 18, 18, 0.1) 45%, rgba(18, 18, 18, 0.1) 100%); }
.hero .wrap { position: relative; width: 100%; }
.hero-title { text-shadow: 0 4px 90px rgba(0, 0, 0, 0.45); }
@media (max-width: 899px) { .hero-veil { background: linear-gradient(to top, var(--bg) 0%, rgba(18, 18, 18, 0.7) 30%, rgba(18, 18, 18, 0.2) 60%, rgba(18, 18, 18, 0.1) 100%); } }
.hero-grid { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 28px; }
.hero .lead { color: #fff; max-width: 640px; text-shadow: 0 2px 80px rgba(0, 0, 0, 0.5); }
.hero-lead { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
@media (max-width: 639px) { .hero-actions .btn { height: 44px; padding: 0 22px; font-size: 0.875rem; } }

.code-label { font-size: 0.8125rem; color: var(--faint); margin: 0 0 10px; }
.code {
  margin: 0;
  background: var(--bg-inset);
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 20px 22px;
  font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.86);
  overflow-x: auto;
  white-space: pre;
  tab-size: 2;
}
.code .d { color: rgba(255, 255, 255, 0.42); }
.code .k { color: rgba(255, 255, 255, 0.62); }
.code .s { color: var(--accent); }

.connect-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) { .connect-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.facts { list-style: none; margin: 0; padding: 0; }
.facts li { padding: 22px 0; border-bottom: 1px solid var(--hairline); }
.facts li:first-child { padding-top: 0; }
.facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.facts h3 { margin: 0 0 6px; font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.01em; }
.facts p { margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--supporting); }

.compose-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 960px) { .compose-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.acc-item { padding: 22px 0; border-bottom: 1px solid var(--hairline); transition: opacity 140ms ease; }
.acc-item:first-child { padding-top: 0; }
.acc-item:last-child { border-bottom: 0; padding-bottom: 0; }
.acc-head {
  display: block;
  width: 100%;
  background: transparent;
  border: 0;
  color: var(--fg);
  cursor: default;
  padding: 0;
  margin: 0 0 6px;
  font-family: inherit;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-align: left;
}
.acc-caret { display: none; }
.acc-body-inner p { margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--supporting); }
.acc-body-inner .spec { display: none; }
@media (min-width: 960px) {
  .acc-item { opacity: 0.5; cursor: pointer; }
  .acc-item:hover, .acc-item[data-open="true"] { opacity: 1; }
  .acc-head { cursor: pointer; }
}
.spec {
  margin: 0;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 6px 24px;
}
.spec div { display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px; padding: 15px 0; border-bottom: 1px solid var(--hairline); }
.spec div:last-child { border-bottom: 0; }
.spec dt { margin: 0; font-size: 0.9375rem; color: var(--faint); }
.spec dd { margin: 0; font-size: 0.9375rem; line-height: 1.5; color: var(--fg); }
.detail { display: none; }
@media (min-width: 960px) { .detail { display: block; min-height: 320px; } }
.detail-inner { display: flex; flex-direction: column; gap: 24px; transition: opacity 200ms ease; }
.detail-inner p { margin: 0; font-size: 1rem; line-height: 1.6; color: var(--muted); max-width: 560px; }
.detail[data-swapping="true"] .detail-inner { opacity: 0; transition: opacity 180ms ease; }

.card-row { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 720px) { .card-row { grid-template-columns: repeat(3, 1fr); } }
.card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  padding: 24px;
  transition: background-color 300ms ease, border-color 300ms ease;
}
.card:hover { background: var(--surface); border-color: var(--hairline-2); }
.card h3 { margin: 0 0 8px; font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.01em; }
.card p { margin: 0 0 24px; font-size: 0.9375rem; line-height: 1.55; color: var(--supporting); }
.card .go { margin-top: auto; display: inline-flex; align-items: center; gap: 2px; font-size: 0.9375rem; font-weight: 500; }
.card .chev { color: var(--faint); }

.partner-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width: 900px) { .partner-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; } }
.partner-copy { display: flex; flex-direction: column; gap: 24px; }
.partner-photo { border-radius: 24px; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }

footer.site { background: var(--bg); border-top: 1px solid var(--hairline); padding: 64px 0 44px; margin-top: clamp(64px, 9vw, 120px); }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand img { height: 26px; width: auto; margin-bottom: 20px; }
.footer-brand .meta { font-size: 0.875rem; line-height: 1.7; color: var(--faint); }
.footer-brand .meta a { color: rgba(255, 255, 255, 0.7); text-decoration: none; }
.footer-col h4 { margin: 0 0 14px; font-size: 0.875rem; font-weight: 500; color: var(--faint); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.9375rem; color: rgba(255, 255, 255, 0.9); text-decoration: none; transition: opacity 160ms ease; }
.footer-col a:hover { opacity: 0.6; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
