/* ==========================================================================
   Clavity — Design System
   A clean, modern aesthetic built around the geometric black wordmark.
   ========================================================================== */

:root {
  /* Color */
  --ink: #0a0a0b;
  --ink-soft: #1a1a1d;
  --graphite: #52525b;
  --slate: #71717a;
  --mist: #a1a1aa;
  --line: #e7e7ea;
  --cloud: #f4f4f5;
  --paper: #fafafa;
  --white: #ffffff;
  --accent: #3b5bff;
  --accent-dark: #2942d6;
  --accent-soft: #eef1ff;
  --mint: #10b981;
  --amber: #f59e0b;

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;

  /* Spacing / shape */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(10, 10, 11, 0.04),
    0 2px 8px rgba(10, 10, 11, 0.04);
  --shadow: 0 4px 12px rgba(10, 10, 11, 0.06),
    0 16px 40px rgba(10, 10, 11, 0.08);
  --shadow-lg: 0 12px 32px rgba(10, 10, 11, 0.1),
    0 32px 80px rgba(10, 10, 11, 0.12);
  --maxw: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ------------------------------- Reset ---------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ------------------------------ Layout ---------------------------------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.section--tight {
  padding: 64px 0;
}

.section--paper {
  background: var(--paper);
}

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

/* ------------------------------ Type ------------------------------------ */
h1,
h2,
h3,
h4 {
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

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

.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin: 16px 0 14px;
}

.section-head p {
  color: var(--graphite);
  font-size: 1.1rem;
}

.lead {
  font-size: 1.2rem;
  color: var(--graphite);
}

/* ------------------------------ Buttons --------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    box-shadow 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn--primary {
  background: var(--ink);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(59, 91, 255, 0.28);
}

.btn--light {
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn--light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn--ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.btn--on-ink {
  background: var(--white);
  color: var(--ink);
}

.btn--on-ink:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--block {
  width: 100%;
}

/* ------------------------------ Header ---------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo img {
  height: 26px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav__links a {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--graphite);
  transition: color 0.2s var(--ease);
  position: relative;
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--ink);
}

.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* The in-menu CTA is only for the collapsed mobile menu; hide it on desktop
   so it doesn't duplicate the button in .nav__actions. */
.nav__links .btn {
  display: none;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* ------------------------------ Hero ------------------------------------ */
.hero {
  position: relative;
  padding: 128px 0 118px;
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #060a1e url("../hero.png") no-repeat center right / cover;
}

/* Left-to-right dark overlay so the headline stays legible over the art */
.hero__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    90deg,
    rgba(6, 10, 30, 0.94) 0%,
    rgba(6, 10, 30, 0.82) 32%,
    rgba(6, 10, 30, 0.35) 62%,
    rgba(6, 10, 30, 0.1) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero .eyebrow {
  color: #8ea0ff;
}

.hero .eyebrow::before {
  background: #8ea0ff;
}

.hero h1 .accent {
  color: #8ea0ff;
}

.hero__sub {
  color: rgba(255, 255, 255, 0.82) !important;
}

/* Buttons on the dark hero */
.hero .btn--primary {
  background: #fff;
  color: var(--ink);
}

.hero .btn--primary:hover {
  background: var(--accent);
  color: #fff;
}

.hero .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.hero .btn--ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4rem);
  letter-spacing: -0.03em;
  margin: 20px 0 22px;
}

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

.hero__sub {
  font-size: 1.2rem;
  color: var(--graphite);
  max-width: 520px;
}

.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.hero__rating {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stars {
  color: var(--amber);
  letter-spacing: 2px;
  font-size: 1rem;
}

.hero__rating span {
  font-size: 0.9rem;
  color: var(--graphite);
}

.hero__meta-divider {
  width: 1px;
  height: 32px;
  background: var(--line);
}

/* Phone mockup cluster */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: 280px;
  height: 570px;
  background: var(--ink);
  border-radius: 46px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
}

.phone::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 96px;
  height: 26px;
  background: var(--ink);
  border-radius: 0 0 16px 16px;
  z-index: 3;
}

.phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  background: linear-gradient(160deg, #f6f8ff 0%, #eef1ff 45%, #ffffff 100%);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 46px 22px 22px;
}

.phone__app-name {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.phone__app-tag {
  color: var(--slate);
  font-size: 0.85rem;
  margin-top: 2px;
}

.phone__card {
  margin-top: 22px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.phone__ring {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 6px auto 12px;
  background: conic-gradient(
    var(--accent) 0% 72%,
    var(--cloud) 72% 100%
  );
  display: grid;
  place-items: center;
}

.phone__ring::after {
  content: "72%";
  width: 88px;
  height: 88px;
  background: var(--white);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.3rem;
}

.phone__bar {
  height: 10px;
  border-radius: 6px;
  background: var(--cloud);
  margin-top: 12px;
}

.phone__bar.w70 { width: 70%; }
.phone__bar.w50 { width: 50%; }
.phone__bar.accent { background: var(--accent-soft); }

.phone__rows {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.phone__row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 12px;
  box-shadow: var(--shadow-sm);
}

.phone__dot {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  flex-shrink: 0;
  background: var(--accent-soft);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-weight: 700;
}

.phone__dot.mint { background: #e7f8f1; color: var(--mint); }
.phone__dot.amber { background: #fdf3e2; color: var(--amber); }

.phone__row-lines { flex: 1; }
.phone__row-lines span {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: var(--cloud);
}
.phone__row-lines span:first-child { width: 80%; margin-bottom: 6px; }
.phone__row-lines span:last-child { width: 45%; background: var(--line); }

.hero__float {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 600;
}

.hero__float--tl {
  top: 40px;
  left: -10px;
  animation: floaty 5s ease-in-out infinite;
}

.hero__float--br {
  bottom: 56px;
  right: -14px;
  animation: floaty 5s ease-in-out infinite 1.4s;
}

.hero__float .ico {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
}

.hero__float .ico.mint { background: #e7f8f1; color: var(--mint); }

.hero__float small {
  display: block;
  font-weight: 500;
  color: var(--slate);
  font-size: 0.72rem;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ----------------------------- Logo strip ------------------------------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 26px 0;
  overflow: hidden;
}

.marquee__label {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 18px;
}

.marquee__track {
  display: flex;
  gap: 64px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--mist);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

/* ------------------------------ Stats ----------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat {
  text-align: center;
}

.stat__num {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section--ink .stat__num {
  color: var(--white);
}

.stat__num .unit {
  color: var(--accent);
}

.stat__label {
  color: var(--slate);
  font-size: 0.95rem;
  margin-top: 4px;
}

.section--ink .stat__label {
  color: var(--mist);
}

/* ------------------------------ App cards ------------------------------- */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.app-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.app-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.app-card__icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: var(--white);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.app-card__icon svg {
  width: 30px;
  height: 30px;
}

.app-card__cat {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
}

.app-card h3 {
  font-size: 1.35rem;
  margin: 6px 0 10px;
}

.app-card p {
  color: var(--graphite);
  font-size: 0.98rem;
  flex: 1;
}

.app-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.app-card__rating {
  font-size: 0.88rem;
  color: var(--slate);
  display: flex;
  align-items: center;
  gap: 6px;
}

.app-card__link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.25s var(--ease), color 0.25s var(--ease);
}

.app-card__link:hover {
  color: var(--accent);
  gap: 10px;
}

/* Icon gradient palettes */
.grad-blue { background: linear-gradient(135deg, #3b5bff, #6f86ff); }
.grad-mint { background: linear-gradient(135deg, #10b981, #34d399); }
.grad-amber { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.grad-violet { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.grad-rose { background: linear-gradient(135deg, #f43f5e, #fb7185); }
.grad-sky { background: linear-gradient(135deg, #0ea5e9, #38bdf8); }
.grad-ink { background: linear-gradient(135deg, #1a1a1d, #3f3f46); }
.grad-teal { background: linear-gradient(135deg, #14b8a6, #2dd4bf); }

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

.feature {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature__icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.feature__icon svg { width: 24px; height: 24px; }

.feature h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.feature p {
  color: var(--graphite);
  font-size: 0.96rem;
}

/* Split feature rows */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.split + .split {
  margin-top: 100px;
}

.split--reverse .split__media {
  order: -1;
}

.split__media {
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, #f6f8ff, #eef1ff);
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
}

.split__media .glyph {
  width: 40%;
  height: 40%;
  opacity: 0.9;
  color: var(--accent);
}

.split__list {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.split__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--graphite);
}

.split__list .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.split__list .check svg { width: 13px; height: 13px; }

.split h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
}

.split p {
  color: var(--graphite);
  margin-top: 14px;
  font-size: 1.05rem;
}

/* ----------------------------- Testimonials ----------------------------- */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.quote__stars {
  color: var(--amber);
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.quote p {
  font-size: 1.02rem;
  color: var(--ink-soft);
  flex: 1;
}

.quote__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
}

.quote__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
}

.quote__meta strong {
  display: block;
  font-size: 0.95rem;
}

.quote__meta span {
  font-size: 0.85rem;
  color: var(--slate);
}

/* ------------------------------ CTA band -------------------------------- */
.cta {
  border-radius: var(--radius-xl);
  background: var(--ink);
  color: var(--white);
  padding: 72px 56px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
      500px 300px at 20% 0%,
      rgba(59, 91, 255, 0.35),
      transparent 60%
    ),
    radial-gradient(
      480px 320px at 90% 110%,
      rgba(16, 185, 129, 0.22),
      transparent 60%
    );
}

.cta > * {
  position: relative;
  z-index: 1;
}

.cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.cta p {
  color: var(--mist);
  font-size: 1.15rem;
  max-width: 540px;
  margin: 0 auto 30px;
}

.cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.16);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.store-badge:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
}

.store-badge svg { width: 24px; height: 24px; }

.store-badge small {
  display: block;
  font-size: 0.68rem;
  color: var(--mist);
  line-height: 1;
  margin-bottom: 2px;
}

.store-badge strong {
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.cta .store-badges { justify-content: center; }
.cta .store-badge {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

/* ------------------------------ Footer ---------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--mist);
  padding: 72px 0 32px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.7fr repeat(2, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand img {
  height: 24px;
  filter: invert(1);
  margin-bottom: 18px;
}

.footer__brand p {
  font-size: 0.95rem;
  max-width: 300px;
  margin-bottom: 20px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.footer__social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  color: var(--mist);
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.footer__social a:hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.footer__social svg { width: 18px; height: 18px; }

.footer__col h4 {
  color: var(--white);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col a {
  font-size: 0.95rem;
  color: var(--mist);
  transition: color 0.2s var(--ease);
}

.footer__col a:hover {
  color: var(--white);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 0.88rem;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__bottom a:hover { color: var(--white); }

/* ------------------------------ Page hero ------------------------------- */
.page-hero {
  padding: 80px 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero__glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
    600px 300px at 50% -20%,
    rgba(59, 91, 255, 0.1),
    transparent 65%
  );
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin: 16px 0 18px;
}

.page-hero p {
  color: var(--graphite);
  font-size: 1.2rem;
  max-width: 620px;
  margin: 0 auto;
}

/* ------------------------------ Filters --------------------------------- */
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 44px;
}

.filter-chip {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--graphite);
  background: var(--white);
  transition: all 0.25s var(--ease);
}

.filter-chip:hover {
  border-color: var(--ink);
}

.filter-chip.is-active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

/* ------------------------------ About ----------------------------------- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.value {
  display: flex;
  gap: 18px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
}

.value__num {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
}

.value h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.value p {
  color: var(--graphite);
  font-size: 0.97rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.member {
  text-align: center;
}

.member__photo {
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.member h3 {
  font-size: 1.1rem;
}

.member span {
  color: var(--slate);
  font-size: 0.92rem;
}

.timeline {
  max-width: 760px;
  margin: 0 auto;
}

.timeline__item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding-bottom: 40px;
  position: relative;
}

.timeline__item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 130px;
  top: 34px;
  bottom: 0;
  width: 2px;
  background: var(--line);
}

.timeline__year {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
  text-align: right;
  position: relative;
}

.timeline__year::after {
  content: "";
  position: absolute;
  right: -19px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--accent-soft);
}

.timeline__body h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.timeline__body p {
  color: var(--graphite);
}

/* ------------------------------ Contact --------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}

.contact-info > p {
  color: var(--graphite);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item__icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-item__icon svg { width: 22px; height: 22px; }

.contact-item strong {
  display: block;
  margin-bottom: 2px;
}

.contact-item span,
.contact-item a {
  color: var(--graphite);
  font-size: 0.96rem;
}

.contact-item a:hover { color: var(--accent); }

.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease),
    background 0.2s var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

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

.form__note {
  font-size: 0.85rem;
  color: var(--slate);
  margin-top: 14px;
  text-align: center;
}

.form__success {
  display: none;
  background: #e7f8f1;
  color: #047857;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.form__success.is-visible {
  display: block;
}

/* ------------------------------ FAQ ------------------------------------- */
.faq {
  max-width: 780px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
}

.faq__q .plus {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  position: relative;
  transition: transform 0.3s var(--ease);
}

.faq__q .plus::before,
.faq__q .plus::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.faq__q .plus::before { width: 14px; height: 2px; }
.faq__q .plus::after { width: 2px; height: 14px; transition: transform 0.3s var(--ease); }

.faq__item.is-open .plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.faq__a p {
  color: var(--graphite);
  padding-bottom: 24px;
  font-size: 1rem;
}

/* ------------------------------ Legal ----------------------------------- */
.legal {
  max-width: 800px;
  margin: 0 auto;
}

.legal h2 {
  font-size: 1.5rem;
  margin: 40px 0 14px;
}

.legal h3 {
  font-size: 1.15rem;
  margin: 26px 0 10px;
}

.legal p,
.legal li {
  color: var(--graphite);
  margin-bottom: 14px;
  font-size: 1rem;
}

.legal ul {
  list-style: disc;
  padding-left: 22px;
  margin-bottom: 14px;
}

.legal li {
  margin-bottom: 8px;
}

.legal__updated {
  color: var(--slate);
  font-size: 0.92rem;
  margin-bottom: 30px;
}

.legal a {
  color: var(--accent);
  text-decoration: underline;
}

/* ------------------------------ Reveal ---------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__float { animation: none; }
  html { scroll-behavior: auto; }
}

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { order: -1; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split__media { order: 0; }
  .split + .split { margin-top: 64px; }
  .app-grid,
  .feature-grid,
  .quote-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .nav__links,
  .nav__actions .btn { display: none; }
  .nav__toggle { display: flex; }

  .nav__links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-140%);
    transition: transform 0.35s var(--ease);
  }

  .nav__links.is-open {
    display: flex;
    transform: translateY(0);
  }

  .nav__links a {
    width: 100%;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .nav__links .btn {
    display: inline-flex;
    margin-top: 16px;
  }

  .app-grid,
  .feature-grid,
  .quote-grid,
  .values-grid,
  .team-grid,
  .form__row { grid-template-columns: 1fr; }

  .cta { padding: 48px 26px; }

  .footer__top { grid-template-columns: 1fr; gap: 30px; }

  .timeline__item { grid-template-columns: 64px 1fr; gap: 18px; }
  .timeline__item:not(:last-child)::before { left: 74px; }

  .hero__float { display: none; }
}
