/* Link Clicks Inc. — www.linkclicks.com
 *
 * Same family as the MarketingBase landing page (black, Sora/Inter, gradient glows),
 * with blue beside the orange because this is the parent company's site.
 *
 * iOS rule carried over from MarketingBase: no `filter: blur()` anywhere. Safari on
 * iOS paints a blurred layer on the main thread and the MarketingBase page froze for
 * about 14 seconds on it. Every glow here is a radial gradient instead.
 */

:root {
  --bg: #000;
  --surface: #0a0a0c;
  --surface-2: #121215;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --dim: #71717a;
  --orange: #ff7a1a;
  --orange-hi: #ffb347;
  --orange-lo: #ff4d14;
  --blue: #3b6cff;
  --blue-hi: #7aa2ff;
  --blue-deep: #012d98;
  --grad: linear-gradient(115deg, #ffb347 0%, #ff7a1a 45%, #ff4d14 100%);
  --grad-blue: linear-gradient(115deg, #7aa2ff 0%, #3b6cff 50%, #1f3fd1 100%);
  --display: 'Sora', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-wrap: balance;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

[id] {
  scroll-margin-top: 90px;
}

:focus-visible {
  outline: 2px solid var(--orange-hi);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--text);
  color: #000;
  font-weight: 600;
}

.skip:focus {
  left: 12px;
}

.grad {
  background: linear-gradient(100deg, #ffb347, #ff7a1a, #ff4d14, #ff7a1a, #ffb347);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 7s linear infinite;
}

.grad-blue {
  background: linear-gradient(100deg, #9ab8ff, #3b6cff, #7aa2ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes shimmer {
  to {
    background-position: -220% 0;
  }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 24px;
  border: 1px solid transparent;
  border-radius: 14px;
  font: 600 16px/1 var(--body);
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
}

.btn svg {
  transition: transform 0.25s var(--ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--grad);
  color: #140700;
  box-shadow: 0 10px 34px -10px rgba(255, 122, 26, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 44px -10px rgba(255, 122, 26, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: rgba(122, 162, 255, 0.6);
  background: rgba(59, 108, 255, 0.1);
}

.btn-small {
  padding: 11px 18px;
  font-size: 15px;
  border-radius: 12px;
}

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

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}

.nav-scrolled {
  background: rgba(0, 0, 0, 0.72);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}

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

.brand img {
  width: 170px;
  height: auto;
}

.nav-links {
  display: flex;
  gap: 30px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text);
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 120px 0 96px;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* Glows: radial gradients sized like a blurred disc, never filter: blur(). */
.glow {
  position: absolute;
  border-radius: 50%;
}

.glow-a {
  width: 1100px;
  height: 1100px;
  top: -520px;
  left: -360px;
  opacity: 0.5;
  background: radial-gradient(closest-side, rgba(59, 108, 255, 1) 10%, rgba(59, 108, 255, 0.76) 30%, rgba(59, 108, 255, 0.4) 50%, rgba(59, 108, 255, 0.12) 72%, transparent 100%);
  animation: drift-a 22s var(--ease) infinite alternate;
}

.glow-b {
  width: 980px;
  height: 980px;
  top: -440px;
  right: -320px;
  opacity: 0.42;
  background: radial-gradient(closest-side, rgba(255, 122, 26, 1) 10%, rgba(255, 122, 26, 0.76) 30%, rgba(255, 122, 26, 0.4) 50%, rgba(255, 122, 26, 0.12) 72%, transparent 100%);
  animation: drift-b 26s var(--ease) infinite alternate;
}

.glow-c {
  width: 820px;
  height: 820px;
  bottom: -560px;
  left: 30%;
  opacity: 0.26;
  background: radial-gradient(closest-side, rgba(1, 45, 152, 1) 10%, rgba(1, 45, 152, 0.7) 35%, rgba(1, 45, 152, 0.25) 65%, transparent 100%);
}

@keyframes drift-a {
  to {
    transform: translate3d(140px, 90px, 0) scale(1.08);
  }
}

@keyframes drift-b {
  to {
    transform: translate3d(-120px, 120px, 0) scale(1.1);
  }
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
}

.hero-inner {
  text-align: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 14px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.pill b {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--grad-blue);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.hero h1 {
  margin: 28px auto 0;
  max-width: 15ch;
  font-size: clamp(2.6rem, 6.8vw, 5.4rem);
  font-weight: 800;
  letter-spacing: -0.045em;
}

.hero-sub {
  max-width: 680px;
  margin: 26px auto 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 38px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  max-width: 900px;
  margin: 72px auto 0;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--line);
}

.hero-stats div {
  padding: 22px 18px;
  background: rgba(10, 10, 12, 0.88);
}

.hero-stats b {
  display: block;
  font: 700 clamp(1.5rem, 3vw, 2rem) / 1.1 var(--display);
  letter-spacing: -0.03em;
}

.hero-stats span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

/* ---------- marquee ---------- */

.marquee {
  position: relative;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee ul {
  display: flex;
  gap: 56px;
  padding-right: 56px;
}

.marquee li {
  color: var(--dim);
  font: 700 21px/1 var(--display);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.marquee li:nth-child(3n + 2) {
  color: #8f98b8;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

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

.section {
  position: relative;
  padding: 200px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--orange-hi);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-blue {
  color: var(--blue-hi);
}

.section-head {
  max-width: 760px;
}

.section-head.center {
  margin: 0 auto;
  text-align: center;
}

.section-head h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 700;
}

.section-head p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 18px;
}

/* ---------- products ---------- */

.products {
  display: grid;
  gap: 28px;
  margin-top: 64px;
}

.product {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 48px;
  align-items: center;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  overflow: hidden;
}

.product::before {
  content: '';
  position: absolute;
  inset: auto -20% -60% auto;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.35;
  background: radial-gradient(closest-side, var(--glow, rgba(255, 122, 26, 0.9)), transparent 70%);
}

.product-cyclecam {
  --glow: rgba(59, 108, 255, 0.85);
}

.product > * {
  position: relative;
}

.product-logo {
  height: 32px;
  width: auto;
}

.product-kind {
  display: inline-block;
  margin-top: 22px;
  padding: 5px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
}

.product h3 {
  margin-top: 16px;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}

.product p {
  margin-top: 14px;
  color: var(--muted);
}

.ticks {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.ticks li {
  position: relative;
  padding-left: 30px;
  color: #d4d4d8;
  font-size: 16px;
}

.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: rgba(255, 122, 26, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffb347' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.product-cyclecam .ticks li::before {
  background-color: rgba(59, 108, 255, 0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237aa2ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
}

.product-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

/* The two store badges travel together: same height, side by side, on their own row
   below the website button. */
.stores {
  display: flex;
  flex: 0 0 100%;
  flex-wrap: nowrap;
  align-items: center;
  gap: 10px;
}

.store {
  display: block;
  line-height: 0;
}

.store img {
  height: 44px;
  width: auto;
}

.product-visual {
  display: flex;
  justify-content: center;
}

.frame {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.frame-bar {
  display: flex;
  gap: 7px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.frame-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3f3f46;
}

.frame-bar i:first-child {
  background: var(--orange);
}

.phones {
  max-width: 420px;
}

/* Work: sites built for other businesses. Same card as a product, with the client's
   name set in type instead of a logo, and less space above since it follows products. */
.section.section-tight {
  padding-top: 0;
}

.product .work-name {
  margin-top: 0;
  color: var(--text);
  font-family: var(--display);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.product-work {
  --glow: rgba(59, 108, 255, 0.85);
}

.product-work .ticks li::before {
  background-color: rgba(59, 108, 255, 0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237aa2ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
}

/* ---------- services ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 60px;
}

.card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(59, 108, 255, 0.2), transparent 60%);
}

.card:nth-child(even)::before {
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 122, 26, 0.18), transparent 60%);
}

.card:hover {
  border-color: rgba(122, 162, 255, 0.45);
}

.card:nth-child(even):hover {
  border-color: rgba(255, 122, 26, 0.45);
}

.card:hover::before {
  opacity: 1;
}

.card > * {
  position: relative;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(59, 108, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(59, 108, 255, 0.35);
  color: var(--blue-hi);
}

.card:nth-child(even) .card-icon {
  background: rgba(255, 122, 26, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 122, 26, 0.35);
  color: var(--orange-hi);
}

.card h3 {
  margin-top: 22px;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15.5px;
}

.card-wide {
  grid-column: span 2;
}

/* ---------- stack ---------- */

.stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips li {
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  font-weight: 500;
  font-size: 15px;
}

.chips li.hot {
  border-color: rgba(255, 122, 26, 0.45);
  background: rgba(255, 122, 26, 0.08);
}

.chips li.cool {
  border-color: rgba(59, 108, 255, 0.5);
  background: rgba(59, 108, 255, 0.1);
}

.code {
  margin-top: 28px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  color: #d4d4d8;
  font: 14px/1.7 var(--mono);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.code .k {
  color: var(--blue-hi);
}

.code .s {
  color: var(--orange-hi);
}

.code .c {
  color: var(--dim);
}

/* ---------- history ---------- */

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 22px;
  margin-top: 64px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 9px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--orange), var(--orange-lo));
  opacity: 0.6;
}

.timeline li {
  position: relative;
  padding-top: 40px;
}

.timeline li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #000;
  border: 3px solid var(--blue-hi);
}

.timeline li:nth-child(n + 4)::before {
  border-color: var(--orange);
}

.timeline b {
  display: block;
  font: 700 1.6rem/1 var(--display);
  letter-spacing: -0.03em;
}

.timeline h3 {
  margin-top: 12px;
  font-size: 1.12rem;
  font-weight: 600;
}

.timeline p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 15.5px;
}

/* ---------- contact ---------- */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: start;
}

.contact-aside {
  position: sticky;
  top: 110px;
}

.contact-points {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.contact-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: #d4d4d8;
}

.contact-points svg {
  flex: none;
  margin-top: 3px;
  color: var(--orange-hi);
}

.linkedin-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  color: var(--blue-hi);
  font-weight: 600;
}

.linkedin-cta:hover {
  color: #fff;
}

.form {
  padding: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.field label {
  color: #d4d4d8;
  font-size: 14px;
  font-weight: 500;
}

.field label span {
  color: var(--dim);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.5);
  color: var(--text);
  font: 16px/1.4 var(--body);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 42px;
}

.field select option {
  background: #121215;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(122, 162, 255, 0.8);
  box-shadow: 0 0 0 4px rgba(59, 108, 255, 0.2);
}

.field-hint {
  color: var(--dim);
  font-size: 13px;
}

/* The spam trap: present for bots, invisible and unreachable for people. */
.trap {
  position: absolute !important;
  left: -10000px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 6px;
}

.form-note {
  color: var(--dim);
  font-size: 13.5px;
}

.form-note a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-status {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 15px;
}

.form-status[hidden] {
  display: none;
}

.form-status.ok {
  border: 1px solid rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.1);
  color: #bbf7d0;
}

.form-status.err {
  border: 1px solid rgba(249, 112, 62, 0.5);
  background: rgba(249, 112, 62, 0.1);
  color: #fed7aa;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

/* ---------- final band ---------- */

.final {
  position: relative;
  overflow: hidden;
  padding: 110px 0;
  text-align: center;
  isolation: isolate;
}

.final::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 50%;
  width: 1200px;
  height: 700px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  opacity: 0.45;
  background: radial-gradient(closest-side, rgba(59, 108, 255, 0.85), rgba(255, 122, 26, 0.35) 55%, transparent 100%);
}

.final h2 {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 800;
}

.final p {
  max-width: 560px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.final .hero-cta {
  margin-top: 32px;
}

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

.footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand img {
  width: 160px;
}

.footer-brand p {
  max-width: 340px;
  margin-top: 16px;
}

.footer h4 {
  margin: 0 0 14px;
  color: var(--text);
  font: 600 14px/1 var(--body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer li + li {
  margin-top: 10px;
}

.footer a:hover {
  color: var(--text);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.socials a:hover {
  color: #fff;
  border-color: rgba(122, 162, 255, 0.6);
  background: rgba(59, 108, 255, 0.12);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 14px;
}

/* ---------- plain pages (privacy, 404) ---------- */

.page {
  padding: 150px 0 100px;
}

.page .wrap {
  max-width: 780px;
}

.page h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
}

.page h2 {
  margin-top: 40px;
  font-size: 1.4rem;
  font-weight: 600;
}

.page p,
.page li {
  margin-top: 14px;
  color: #d4d4d8;
}

.page ul {
  padding-left: 20px;
  list-style: disc;
}

.page a {
  color: var(--blue-hi);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page .lead {
  color: var(--muted);
  font-size: 18px;
}

/* ---------- reveal (only once JS has said it is running) ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease) var(--d, 0ms), transform 0.9s var(--ease) var(--d, 0ms);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

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

@media (max-width: 1000px) {
  .product,
  .stack,
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .product {
    gap: 36px;
    padding: 36px;
  }

  .contact-aside {
    position: static;
  }

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

  .card-wide {
    grid-column: span 2;
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 40px;
  }

  .timeline::before {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .section {
    padding: 84px 0;
  }

  .hero {
    padding: 140px 0 72px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* Each drifting glow costs a big GPU layer on a phone: keep them still. */
  .glow {
    animation: none;
  }
}

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

  .brand img {
    width: 140px;
  }

  .nav .btn-small {
    padding: 10px 14px;
    font-size: 14px;
  }

  .cards,
  .form-row,
  .timeline,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .card-wide {
    grid-column: auto;
  }

  .product {
    padding: 26px 22px;
    border-radius: 22px;
  }

  .form {
    padding: 24px 20px;
  }

  .hero-cta .btn {
    width: 100%;
  }
}

@media (hover: none) and (pointer: coarse) {
  .glow {
    animation: none;
  }
}

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

  html {
    scroll-behavior: auto;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
