/* indx v3 — warm paper canvas, ink type, lime accent.
   Space Grotesk / Space Mono. Everything degrades: no JS = fully visible page. */

/* ---------- fonts (self-hosted) ---------- */

@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/space-grotesk-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/space-grotesk-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/assets/fonts/space-grotesk-vietnamese.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/space-mono-400-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/space-mono-400-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/space-mono-400-vietnamese.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/space-mono-700-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/space-mono-700-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Mono'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/space-mono-700-vietnamese.woff2') format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB; }

/* ---------- tokens ---------- */

:root {
  --paper: #E9E7E1;         /* warm cream canvas */
  --ink: #141414;
  --lime: #7ED957;          /* signature accent — fills, caret, aurora */
  --lime-soft: #b6f24a;
  --leaf: #2F8F3E;          /* AA green for text on light surfaces */
  --hairline: #E4E2DC;
  --muted: #6F6E68;
  --muted-2: #56554f;
  --card: #ffffff;
  --dark: #141414;
  --dark-hairline: #2c2c2c;
  --maxw: 1120px;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-display);
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; border-radius: 4px; }

.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;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; font-family: var(--font-mono);
  font-size: 13px; padding: 10px 16px; border-radius: 8px; text-decoration: none;
  transition: top 0.2s ease-out;
}
.skip-link:focus { top: 12px; }

/* ---------- signature: the blinking caret ---------- */

.caret {
  display: inline-block;
  width: 0.42em; height: 0.95em;
  margin-left: 3px;
  background: var(--lime);
  vertical-align: -0.08em;
  animation: caret-blink 1.1s steps(1) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }

/* ---------- pills (all CTAs) ---------- */

.pill {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-size: 15px; font-weight: 500; font-family: var(--font-display);
  text-decoration: none; border-radius: 100px; padding: 12px 20px;
  border: none; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease-out;
}
.pill::after {                      /* colour shift layer — fades in on hover */
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit; opacity: 0;
  transition: opacity 0.35s ease-out;
}
.pill:hover { transform: translateY(-2px) scale(1.02); }
.pill:active { transform: translateY(0) scale(0.98); }
.pill:hover::after { opacity: 1; }
.pill .pill-arrow, .pill svg { width: 16px; height: 16px; flex: none; transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.pill:hover .pill-arrow { transform: translateX(3px); }

.pill-lg { font-size: 16px; padding: 15px 27px; }
.pill-full { width: 100%; }

.pill-dark { background: var(--ink); color: #fff; }
.pill-dark svg { color: #fff; }
.pill-dark:hover { box-shadow: 0 10px 26px -10px rgba(20, 20, 20, 0.55); }
.pill-dark::after { background: linear-gradient(120deg, #233123, #141414 62%); }

.pill-lime { background: var(--lime); color: var(--ink); font-weight: 600; }
.pill-lime svg { color: var(--ink); }
.pill-lime:hover { box-shadow: 0 10px 30px -8px rgba(126, 217, 87, 0.55); }
.pill-lime::after { background: linear-gradient(120deg, var(--lime-soft), var(--lime) 70%); }

.pill-ghost { background: var(--card); color: var(--ink); border: 1px solid var(--hairline); }
.pill-ghost:hover { box-shadow: 0 10px 24px -12px rgba(20, 20, 20, 0.28); }
.pill-ghost::after { background: linear-gradient(120deg, rgba(126, 217, 87, 0.18), rgba(255, 255, 255, 0)); }

.pill-ghost-dark { background: transparent; color: #fff; border: 1px solid #38372f; }
.pill-ghost-dark:hover { border-color: rgba(126, 217, 87, 0.5); }
.pill-ghost-dark::after { background: rgba(126, 217, 87, 0.1); }

.pill-outline { background: var(--card); color: var(--ink); border: 1px solid var(--ink); padding: 13px; }
.pill-outline:hover { box-shadow: 0 10px 24px -12px rgba(20, 20, 20, 0.35); }
.pill-outline::after { background: rgba(126, 217, 87, 0.16); }

.text-link {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500;
  border-bottom: 2px solid var(--lime); padding-bottom: 3px;
  transition: gap 0.25s ease-out;
}
.text-link:hover { gap: 13px; }
.text-link-light { color: #fff; }

/* ---------- nav ---------- */

.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(233, 231, 225, 0.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--hairline);
  transition: box-shadow 0.3s ease-out;
}
.nav.is-scrolled { box-shadow: 0 8px 30px -18px rgba(20, 20, 20, 0.25); }
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 16px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.nav-wordmark { font-weight: 600; font-size: 26px; letter-spacing: -0.04em; line-height: 1; }
.nav-toggle-input { display: none; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; margin: -8px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); display: block; border-radius: 1px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links > a:not(.pill) {
  font-size: 15px; color: #3A3934; text-decoration: none; font-weight: 500;
  transition: color 0.2s ease-out;
}
.nav-links > a:not(.pill):hover { color: var(--leaf); }
.nav-links .pill { font-size: 14px; padding: 11px 18px; }

/* ---------- hero ---------- */

.hero { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
}
.hero-bg svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-inner {
  position: relative;
  max-width: var(--maxw); margin: 0 auto; padding: 88px 32px 64px;
}
.hero-kicker { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.eyebrow {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em;
  color: var(--muted); text-transform: uppercase;
}
.avail-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em;
  color: var(--leaf); background: var(--card); border: 1px solid var(--hairline);
  padding: 5px 11px; border-radius: 100px;
}
.avail-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.hero-title {
  font-weight: 600; font-size: 76px; line-height: 1.02; letter-spacing: -0.035em;
  margin: 0; max-width: 920px; text-wrap: balance;
}
.hero-underline { position: relative; white-space: nowrap; }
.hero-underline-bar {
  position: absolute; left: 0; right: 0; bottom: 6px; height: 8px;
  background: var(--lime); border-radius: 4px; z-index: -1;
}
.hero-sub { font-size: 20px; line-height: 1.55; color: #3A3934; max-width: 640px; margin: 28px 0 0; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-ticker {
  display: flex; flex-wrap: wrap; gap: 28px; margin-top: 46px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em; color: var(--muted);
}
.tick-sep { color: #C8C6BF; }

/* ---------- sections ---------- */

.section-head { max-width: var(--maxw); margin: 0 auto; padding: 48px 32px 0; }
.section-gap { padding-top: 80px; }
#pricing.section-gap, #hosting.section-gap { padding-top: 80px; padding-bottom: 0; }
.section-eyebrow {
  font-family: var(--font-mono); font-size: 12px; color: var(--muted);
  letter-spacing: 0.1em; margin-bottom: 10px;
}
.section-head h2, #demos h2 {
  font-weight: 600; font-size: 40px; letter-spacing: -0.025em;
  margin: 0; max-width: 680px; line-height: 1.08;
}
.section-sub { font-size: 18px; color: var(--muted); margin: 14px 0 0; max-width: 560px; line-height: 1.5; }

/* rows rise in on scroll (JS adds motion; visible without JS) */
html.js [data-row] { opacity: 0; transform: translateY(28px); }
html.js.reduced-motion [data-row] { opacity: 1; transform: none; }

/* ---------- pricing ---------- */

.founders-note {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 28px;
  background: var(--card); border: 1px solid var(--hairline);
  border-left: 4px solid var(--lime); border-radius: 10px; padding: 16px 22px;
}
.founders-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em;
  color: var(--ink); background: var(--lime); padding: 6px 12px; border-radius: 100px; flex: none;
}
.founders-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.founders-copy { font-size: 15px; color: #2c2b27; line-height: 1.45; }
.founders-copy strong { font-weight: 600; }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 28px; }

.pricing-card {
  background: var(--card); border: 1px solid var(--hairline); border-radius: 12px;
  padding: 32px; display: flex; flex-direction: column;
}
.pricing-card-dark {
  background: var(--dark); color: #fff; border: none; position: relative;
  box-shadow: 0 24px 50px -26px rgba(20, 20, 20, 0.5);
}
.popular-tag {
  position: absolute; top: -11px; left: 32px; z-index: 2;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em;
  color: var(--ink); background: var(--lime); padding: 5px 11px; border-radius: 100px;
}
.card-eyebrow { font-family: var(--font-mono); font-size: 11px; color: #686761; letter-spacing: 0.06em; }
.pricing-card-dark .card-eyebrow { color: #9d9c95; }
.card-title { font-weight: 600; font-size: 24px; letter-spacing: -0.02em; margin: 14px 0 6px; }
.card-desc { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.5; }
.pricing-card-dark .card-desc { color: #bdbcb5; }
.card-price { font-weight: 600; font-size: 34px; letter-spacing: -0.02em; margin: 24px 0 22px; font-variant-numeric: tabular-nums; }
.card-price-talk { color: var(--leaf); }
.card-features {
  display: flex; flex-direction: column; gap: 11px;
  border-top: 1px solid #F1EFEA; padding-top: 22px; margin-bottom: 26px;
}
.pricing-card-dark .card-features { border-top-color: var(--dark-hairline); }
.card-features > div { display: flex; align-items: center; gap: 11px; font-size: 14px; color: #2c2b27; }
.pricing-card-dark .card-features > div { color: #eceae4; }
.card-features svg { width: 18px; height: 18px; color: var(--leaf); flex: none; }
.pricing-card-dark .card-features svg { color: var(--lime); }
.pricing-card .pill { margin-top: auto; }

.pricing-dots { display: none; justify-content: center; gap: 8px; margin-top: 18px; }
.pricing-dot { width: 7px; height: 7px; border-radius: 50%; background: #C8C6BF; }
.pricing-dot.is-active { background: var(--lime); }

.pricing-more {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  margin-top: 18px; background: var(--card); border: 1px solid var(--hairline);
  border-radius: 10px; padding: 20px 24px;
}
.pricing-more-title { font-weight: 600; font-size: 16px; letter-spacing: -0.01em; margin: 0 0 4px; }
.pricing-more-sub { font-size: 14px; color: var(--muted); }
.pricing-more .pill { flex: none; padding: 13px 22px; }

/* ---------- hosting ---------- */

.hosting-grid {
  background: var(--dark); color: #fff; border-radius: 16px; padding: 48px; margin-top: 36px;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center;
}
.hosting-features { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.hosting-features > div { display: flex; align-items: center; gap: 11px; font-size: 15px; color: #eceae4; }
.hosting-features svg { width: 18px; height: 18px; color: var(--lime); flex: none; }
.hosting-panel { border-left: 1px solid var(--dark-hairline); padding-left: 48px; }
.hosting-from { font-family: var(--font-mono); font-size: 11px; color: #9d9c95; letter-spacing: 0.06em; margin-bottom: 10px; }
.hosting-price { font-weight: 600; font-size: 46px; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.hosting-per { font-size: 20px; color: #9d9c95; font-weight: 500; }
.hosting-note { font-size: 14px; color: #bdbcb5; margin: 16px 0 26px; line-height: 1.5; }

/* ---------- demos carousel ---------- */

.demo-rail-wrap { margin-top: 36px; }
.demo-rail {
  display: flex; gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px max(32px, calc((100vw - 1120px) / 2 + 32px)) 24px;
  cursor: grab;
}
.demo-rail::-webkit-scrollbar { display: none; }
.demo-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.demo-rail.is-dragging .demo-slide { pointer-events: none; }

.demo-slide {
  flex: 0 0 400px;
  scroll-snap-align: start;
  scroll-margin-left: max(32px, calc((100vw - 1120px) / 2 + 32px));
  display: flex; flex-direction: column;
  background: var(--card); border: 1px solid var(--hairline); border-radius: 16px;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease-out;
}
.demo-slide:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(20, 20, 20, 0.35);
}
.demo-shot { display: flex; flex-direction: column; text-decoration: none; min-height: 300px; }
.browser-bar { background: #ECEBE5; padding: 12px 16px; display: flex; align-items: center; gap: 12px; flex: none; }
.browser-bar-dark { background: #252525; }
.browser-dots { display: flex; gap: 6px; }
.browser-dots span { width: 10px; height: 10px; border-radius: 50%; display: block; flex: none; }
.bd-red { background: #FF5F56; } .bd-yellow { background: #FFBD2E; } .bd-green { background: #27C93F; }
.browser-url {
  flex: 1; background: #fff; border-radius: 5px; padding: 5px 12px;
  font-family: var(--font-mono); font-size: 11px; color: #9a998f; letter-spacing: 0.04em;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.browser-url-dark { background: #1a1a1a; color: #555; }
.demo-preview { flex: 1; display: flex; flex-direction: column; overflow: hidden; position: relative; min-height: 260px; }

.demo-meta { padding: 24px 26px 26px; display: flex; flex-direction: column; align-items: flex-start; }
.demo-badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em;
  color: var(--muted); background: #F4F3EF; border: 1px solid var(--hairline);
  padding: 5px 12px; border-radius: 100px; margin-bottom: 14px;
}
.demo-badge-dot { color: var(--lime); }
.demo-meta h3 { font-weight: 600; font-size: 23px; letter-spacing: -0.02em; margin: 0; }
.demo-loc { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--muted); margin: 7px 0 0; }
.demo-desc { font-size: 14.5px; line-height: 1.55; color: var(--muted-2); margin: 12px 0 16px; }
.demo-link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto;
  color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500;
  border-bottom: 2px solid var(--lime); padding-bottom: 2px;
  transition: gap 0.25s ease-out;
}
.demo-link:hover { gap: 12px; }
.demo-link svg { width: 15px; height: 15px; color: var(--leaf); }
.demo-link-soon { border-bottom-color: var(--hairline); color: var(--muted); cursor: default; }

/* "your site here" slide */
.demo-slide-cta { border-style: dashed; border-color: #c9d9bd; }
.demo-preview-cta {
  align-items: center; justify-content: center; text-align: center;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(126, 217, 87, 0.16) 0%, transparent 55%),
    #F4F3EF;
  padding: 28px 24px;
}
.demo-cta-mark svg { width: 34px; height: 34px; color: var(--leaf); }
.demo-cta-line { font-weight: 600; font-size: 24px; letter-spacing: -0.02em; margin: 14px 0 4px; color: var(--ink); }
.demo-cta-sub { font-size: 12px; color: var(--muted); margin: 0 0 18px; }
.demo-cta-pill {
  display: inline-flex; padding: 9px 18px; background: var(--ink); color: #fff;
  border-radius: 100px; font-size: 12px; font-weight: 600;
}

.demo-controls {
  max-width: var(--maxw); margin: 4px auto 0; padding: 0 32px;
  display: flex; align-items: center; gap: 20px;
}
.demo-btn {
  width: 46px; height: 46px; border-radius: 50%; flex: none;
  background: var(--card); border: 1px solid var(--hairline); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease-out, border-color 0.3s ease-out;
}
.demo-btn svg { width: 18px; height: 18px; }
.demo-btn:hover { background: var(--lime); border-color: var(--lime); transform: scale(1.06); }
.demo-btn:active { transform: scale(0.94); }
.demo-progress { flex: 1; height: 2px; background: var(--hairline); border-radius: 1px; overflow: hidden; }
.demo-progress-fill {
  display: block; width: 25%; height: 100%; background: var(--lime);
  transform-origin: left; transition: width 0.2s ease-out;
}

/* ---------- contact / cta band ---------- */

.contact-section { max-width: var(--maxw); margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.cta-band {
  background: var(--dark); color: #fff; border-radius: 16px; padding: 72px 56px;
  text-align: center; position: relative; overflow: hidden;
}
.matrix-rain {
  position: absolute; top: 0; bottom: 0; width: 150px; height: 100%;
  pointer-events: none; opacity: 0.85;
}
.matrix-left { left: 0; -webkit-mask-image: linear-gradient(90deg, #000 30%, transparent 100%); mask-image: linear-gradient(90deg, #000 30%, transparent 100%); }
.matrix-right { right: 0; -webkit-mask-image: linear-gradient(270deg, #000 30%, transparent 100%); mask-image: linear-gradient(270deg, #000 30%, transparent 100%); }
.cta-content { position: relative; z-index: 1; }
.cta-logo { display: flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 24px; }
.cta-logo span { font-weight: 600; font-size: 34px; letter-spacing: -0.04em; }
.cta-band h2 {
  font-weight: 600; font-size: 48px; letter-spacing: -0.03em;
  margin: 0 auto; max-width: 680px; line-height: 1.06; text-wrap: balance;
}
.cta-sub { font-size: 18px; color: #bdbcb5; margin: 20px auto 0; max-width: 480px; line-height: 1.5; }
.cta-pills { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 36px; }
.cta-or { display: flex; align-items: center; gap: 14px; max-width: 420px; margin: 32px auto 0; }
.cta-or-line { flex: 1; height: 1px; background: #38372f; }
.cta-or span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; color: #9d9c95; }

.contact-form { display: flex; flex-direction: column; gap: 12px; max-width: 420px; margin: 20px auto 0; text-align: left; }
.contact-form input, .contact-form textarea {
  padding: 13px 16px; border-radius: 10px; border: 1px solid #38372f;
  background: rgba(255, 255, 255, 0.06); color: #fff; font-size: 15px; font-family: inherit;
  transition: border-color 0.25s ease-out;
}
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--lime); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #85847c; }
.contact-form .pill { font-size: 16px; padding: 14px; }

/* ---------- aurora cards (light take on the aurora border) ----------
   The card's own border is drawn as a slowly rotating conic gradient in brand
   greens (padding-box / border-box layering), with a cursor-following sheen. */

@property --aurora-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
:root { --aurora-angle: 0deg; } /* static ring for browsers without @property */

.aurora-card {
  --card-bg: linear-gradient(var(--card), var(--card));
  --aurora-quiet: var(--hairline);
  position: relative;
  border: 2px solid transparent;
  background:
    var(--card-bg) padding-box,
    conic-gradient(from var(--aurora-angle),
      var(--lime) 0deg, var(--lime-soft) 55deg, var(--aurora-quiet) 130deg,
      var(--leaf) 200deg, var(--lime) 255deg, var(--aurora-quiet) 320deg,
      var(--lime) 360deg) border-box;
  animation: aurora-spin 9s linear infinite;
  transition: box-shadow 0.4s ease-out;
}
.aurora-card:hover { box-shadow: 0 16px 44px -16px rgba(126, 217, 87, 0.5); }
.pricing-card-dark.aurora-card,
.aurora-dark {
  --card-bg: linear-gradient(var(--dark), var(--dark));
  --aurora-quiet: var(--dark-hairline);
}
.pricing-card-dark.aurora-card { box-shadow: 0 24px 50px -26px rgba(20, 20, 20, 0.5); }
.pricing-card-dark.aurora-card:hover {
  box-shadow: 0 24px 50px -26px rgba(20, 20, 20, 0.5), 0 16px 44px -16px rgba(126, 217, 87, 0.55);
}
@keyframes aurora-spin { to { --aurora-angle: 360deg; } }

/* hover reflection — a soft sheen that follows the cursor */
.aurora-card::after {
  content: ""; position: absolute; inset: 0; z-index: 3;
  border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.2), rgba(126, 217, 87, 0.07) 42%, transparent 64%);
  transition: opacity 0.4s ease-out;
}
.aurora-card:hover::after { opacity: 1; }

/* ---------- footer ---------- */

.footer { max-width: var(--maxw); margin: 0 auto; padding: 48px 32px 56px; }
.footer-row {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  border-top: 1px solid var(--hairline); padding-top: 28px;
}
.footer-brand { display: flex; align-items: center; gap: 11px; }
.footer-wordmark { font-weight: 600; font-size: 22px; letter-spacing: -0.04em; }
.footer-tag { font-family: var(--font-mono); font-size: 12px; color: #686761; margin-left: 8px; }
.footer-links { display: flex; gap: 24px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.footer-links a { color: var(--muted); text-decoration: none; transition: color 0.2s ease-out; }
.footer-links a:hover { color: var(--ink); }

/* ---------- responsive ---------- */

@media (max-width: 1024px) {
  .hero-title { font-size: 54px; }
}

@media (max-width: 768px) {
  .hero-inner { padding: 56px 20px 40px; }
  .hero-title { font-size: 36px; letter-spacing: -0.02em; }
  .hero-sub { font-size: 16px; }
  .hero-underline-bar { bottom: 3px; height: 6px; }

  .section-head { padding-left: 20px; padding-right: 20px; }
  .section-head h2, #demos h2 { font-size: 28px; }
  .section-gap { padding-top: 48px; }
  #services { padding-top: 40px; }
  .services-cards { padding: 0 20px 32px !important; }
  [data-stack-card] { position: static !important; padding-top: 20px !important; }
  [data-stack-inner] { grid-template-columns: 1fr !important; padding: 28px !important; gap: 28px !important; min-height: auto !important; }
  [data-stack-inner] h3 { font-size: 26px !important; }
  [data-stack-inner] > div:nth-child(2) { min-height: 200px !important; }

  .pricing-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; gap: 16px; margin: 24px -20px 0; padding: 12px 20px 18px;
    scrollbar-width: none;
  }
  .pricing-grid::-webkit-scrollbar { display: none; }
  .pricing-card { flex: 0 0 82%; scroll-snap-align: center; }
  .pricing-dots { display: flex; }

  .hosting-grid { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
  .hosting-panel { border-left: none; padding-left: 0; border-top: 1px solid var(--dark-hairline); padding-top: 28px; }
  .hosting-features { grid-template-columns: 1fr; }

  .demo-rail { padding-left: 20px; padding-right: 20px; gap: 16px; }
  .demo-slide { flex: 0 0 86%; scroll-margin-left: 20px; }
  .demo-controls { padding: 0 20px; }

  .contact-section { padding-left: 20px; padding-right: 20px; }
  .cta-band { padding: 48px 24px; }
  .cta-band h2 { font-size: 30px; }
  .matrix-rain { width: 70px; opacity: 0.65; }

  .footer-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-links { flex-wrap: wrap; }

  .nav-inner { padding: 16px 20px; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 18px;
    background: var(--paper); border-bottom: 1px solid var(--hairline);
    padding: 20px 24px 26px;
  }
  .nav-toggle-input:checked ~ .nav-links { display: flex; }
  .nav-links .pill { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 30px; }
  .pricing-card { flex: 0 0 88%; }
  .demo-slide { flex: 0 0 92%; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .caret { animation: none; }
  .aurora-card { animation: none; }
  .pill, .pill svg, .demo-slide, .demo-btn { transition: none; }
  .pill:hover { transform: none; }
  .demo-slide:hover { transform: none; }
}
