/* Mojo4K — Conwest-inspired design system, set in Trebuchet MS */
:root {
  --black: #1d1d1d;
  --accent: #ff8800;
  --yellow: #ffd118;
  --sage: #7c7b66;
  --mist: #d2dcda;
  --grit: #cdccbc;

  --bg: #ffffff;
  --band: #ededed;
  --surface: #f7f6f1;
  --panel: #f2f2ef;
  --footer: #1f1f1f;

  --text-strong: #1d1d1d;
  --text: #3f3c35;
  --muted: #6c695f;
  --soft: #9c9990;

  --line: rgba(20, 20, 20, 0.08);
  --line-strong: rgba(20, 20, 20, 0.14);

  --font: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Tahoma, sans-serif;

  --gutter: clamp(16px, 2vw, 38px);
  --wrap: min(calc(100vw - 2 * var(--gutter)), 1480px);
  --gap: clamp(56px, 7vw, 120px);

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --fast: 0.16s;
  --base: 0.24s;

  --radius: 16px;
  --shadow: 0 14px 38px rgba(20, 20, 20, 0.05);
  --shadow-card: 0 18px 44px rgba(29, 29, 29, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.56;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid rgba(20, 20, 20, 0.4); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--black); color: #fff; padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 16px; }

.wrap { width: var(--wrap); margin-inline: auto; }

/* ---------- Type ---------- */
.display {
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: #fff;
  max-width: 14ch;
}
.headline {
  font-size: clamp(1.8rem, 3.6vw, 2.9rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--text-strong);
  max-width: 20ch;
}
.headline--light { color: #fff; }
.title-lg { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.03em; color: var(--text-strong); line-height: 1.15; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8rem; letter-spacing: 0.04em; color: var(--muted);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.eyebrow--light { color: rgba(255, 255, 255, 0.8); }
.meta { font-size: 1rem; color: var(--muted); max-width: 42ch; }
.link { text-decoration: underline; text-underline-offset: 0.2em; color: var(--text-strong); }

/* ---------- Buttons ---------- */
.button-link {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 24px;
  border-radius: 999px; border: 0; cursor: pointer;
  font-size: 0.9rem; font-weight: 400; letter-spacing: -0.005em; white-space: nowrap;
  transition: background var(--base) var(--ease-out), color var(--base) var(--ease-out), transform var(--fast) var(--ease-out), border-color var(--base) var(--ease-out);
}
.button-link:active { transform: scale(0.97); }
.button-link--primary { background: var(--black); color: var(--mist); }
.button-link--secondary { background: var(--mist); color: var(--black); }
.button-link--light { background: #fff; color: var(--black); }
.button-link--accent { background: var(--accent); color: var(--black); }
.button-link--ghost { background: rgba(255, 255, 255, 0.08); color: #fff; border: 1px solid rgba(255, 255, 255, 0.35); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
@media (hover: hover) {
  .button-link--primary:hover, .button-link--secondary:hover, .button-link--light:hover, .button-link--ghost:hover { background: var(--accent); color: var(--black); border-color: var(--accent); }
  .button-link--accent:hover { background: var(--black); color: #fff; }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 16px; left: 0; right: 0; z-index: 50;
  pointer-events: none;
}
.nav__inner {
  pointer-events: auto;
  width: var(--wrap); margin-inline: auto; height: 64px;
  display: flex; align-items: center; gap: 24px;
  padding: 0 12px 0 18px; border-radius: 8px;
  color: #fff;
  transition: background var(--base) var(--ease-out), color var(--base) var(--ease-out), box-shadow var(--base) var(--ease-out);
}
.nav.is-scrolled .nav__inner {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(36px) saturate(1.4); -webkit-backdrop-filter: blur(36px) saturate(1.4);
  color: var(--text-strong);
  box-shadow: 0 1px 0 var(--line), var(--shadow);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.03em; font-size: 1.15rem; }
.brand__mark {
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  background: var(--accent); color: var(--black); font-size: 0.95rem; font-weight: 700;
}
.nav__links { display: flex; gap: 28px; margin-left: auto; font-size: 0.92rem; }
.nav__links a { opacity: 0.78; transition: opacity var(--fast); }
.nav__links a:hover, .nav__links a.is-active { opacity: 1; }
.nav.is-scrolled .nav__links a { color: var(--muted); opacity: 1; }
.nav.is-scrolled .nav__links a:hover, .nav.is-scrolled .nav__links a.is-active { color: var(--text-strong); }
.nav__cta { min-height: 40px; }
.nav:not(.is-scrolled) .nav__cta { background: #fff; color: var(--black); }

.burger { display: none; margin-left: auto; width: 42px; height: 42px; border: 0; background: transparent; border-radius: 8px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; transition: transform var(--base) var(--ease-io), top var(--base) var(--ease-io); }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

.overlay {
  position: fixed; inset: 0; z-index: 40; background: var(--bg);
  display: flex; align-items: flex-end; padding: 120px var(--gutter) 48px;
  opacity: 0; transition: opacity var(--base) var(--ease-out);
}
.overlay[hidden] { display: none; }
.overlay.is-open { opacity: 1; }
.overlay nav { display: flex; flex-direction: column; gap: 6px; }
.overlay a { font-size: clamp(2.2rem, 10vw, 3.4rem); font-weight: 700; letter-spacing: -0.045em; color: var(--text-strong); line-height: 1.1; }
body.menu-open { overflow: hidden; }
body.menu-open .nav__inner { color: var(--text-strong); background: transparent; box-shadow: none; backdrop-filter: none; }

@media (max-width: 860px) {
  .nav__links, .nav__cta { display: none; }
  .burger { display: block; }
}

/* ---------- Hero ---------- */
.hero { padding: 0; }
.hero__frame {
  position: relative; min-height: 100vh; min-height: 100dvh;
  margin: 0 auto; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 140px var(--gutter) 32px;
  background: #0d0d0f; color: #fff;
  border-radius: 0;
  transform-origin: top center;
  will-change: transform, border-radius;
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__slide {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.4s var(--ease-io), transform 7s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.15) 35%, rgba(0, 0, 0, 0.82) 100%), linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, transparent 65%); }
.hero__content { position: relative; width: var(--wrap); margin-inline: auto; padding-bottom: clamp(40px, 7vh, 80px); }
.hero__lede { margin-top: 24px; max-width: 46ch; font-size: clamp(1rem, 1.3vw, 1.2rem); color: rgba(255, 255, 255, 0.82); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hero__stats {
  position: relative; width: var(--wrap); margin: 0 auto; padding: 24px 0 0; list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.hero__stats strong { display: block; font-size: clamp(1.4rem, 2.4vw, 2.1rem); letter-spacing: -0.04em; font-weight: 700; }
.hero__stats span { font-size: 0.85rem; color: rgba(255, 255, 255, 0.65); }
@media (max-width: 640px) { .hero__stats { grid-template-columns: repeat(2, 1fr); row-gap: 20px; } }

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-6vw, 4vw, 0) scale(1.12); }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--gap); }
.band { background: var(--band); }
.band--mist { background: var(--mist); }
.section__head { margin-bottom: clamp(36px, 5vw, 64px); }
.section__head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section__head--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section__head--center .headline { margin-inline: auto; }

.statement__text {
  font-size: clamp(1.6rem, 3.4vw, 2.8rem);
  line-height: 1.12; letter-spacing: -0.035em; font-weight: 400;
  color: var(--text-strong); max-width: 30ch;
}

/* ---------- Cards ---------- */
.card { background: var(--bg); border-radius: var(--radius); padding: clamp(24px, 2.4vw, 36px); box-shadow: 0 0 0 1px var(--line); }

.features { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
.feature { display: flex; flex-direction: column; gap: 12px; min-height: 240px; transition: transform var(--base) var(--ease-out), box-shadow var(--base) var(--ease-out); }
.feature p { color: var(--muted); }
.feature__num { font-size: 0.8rem; color: var(--soft); margin-bottom: auto; padding-bottom: 32px; }
.feature--lead { grid-row: span 2; background: var(--black); color: var(--mist); }
.feature--lead .title-lg { color: #fff; font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.feature--lead p { color: rgba(210, 220, 218, 0.8); }
.feature--lead .feature__num { color: var(--accent); }
.feature__visual { display: flex; gap: 8px; margin-top: 24px; }
.feature__visual span { padding: 8px 14px; border-radius: 999px; font-size: 0.85rem; border: 1px solid rgba(255, 255, 255, 0.2); }
.feature__visual span:first-child { background: var(--accent); color: var(--black); border-color: var(--accent); }
@media (hover: hover) { .feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); } }
@media (max-width: 960px) { .features { grid-template-columns: 1fr 1fr; } .feature--lead { grid-column: span 2; grid-row: auto; } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } .feature--lead { grid-column: auto; } .feature { min-height: 0; } }

/* ---------- Categories ---------- */
.categories { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(220px, 22vw, 340px); gap: 16px; }
.tile--tall { grid-row: span 2; }
.tile--wide { grid-column: span 2; }
.category {
  position: relative; overflow: hidden; border-radius: var(--radius);
  padding: 24px; color: #fff; background: #111;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  isolation: isolate;
}
.category img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.9s var(--ease-out); }
.category::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.78) 100%), rgba(0, 0, 0, 0.12); transition: background var(--base) var(--ease-out); }
.category__label { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; }
.tile--tall .category__label { font-size: clamp(1.8rem, 3.2vw, 2.8rem); }
.category__meta { font-size: 0.9rem; color: rgba(255, 255, 255, 0.82); }
@media (hover: hover) { .category:hover img { transform: scale(1.05); } }
@media (max-width: 900px) { .categories { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; } }
@media (max-width: 560px) {
  .categories { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .tile--tall { grid-row: span 1; } .tile--wide { grid-column: auto; }
}

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-strong); }
.step { padding: 32px 32px 8px 0; display: flex; flex-direction: column; gap: 12px; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line-strong); }
.step p { color: var(--text); max-width: 34ch; }
.step__num { font-size: clamp(3rem, 6vw, 5rem); font-weight: 700; letter-spacing: -0.06em; line-height: 1; color: var(--text-strong); margin-bottom: 24px; }
@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 28px 0; border-left: 0; }
  .step + .step { border-top: 1px solid var(--line-strong); }
}

/* ---------- Devices ---------- */
.devices { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line-strong); }
.device { padding: 28px 16px 8px 0; display: flex; flex-direction: column; gap: 4px; }
.device svg { width: 44px; height: 44px; fill: none; stroke: var(--text-strong); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 16px; }
.device span { font-weight: 700; color: var(--text-strong); letter-spacing: -0.02em; }
.device small { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 1000px) { .devices { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .devices { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Pricing ---------- */
.pricing { background: #121212; color: rgba(255, 255, 255, 0.78); position: relative; overflow: hidden; isolation: isolate; }
.pricing::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: -20%; width: 120vw; height: 70%;
  transform: translateX(-50%);
  background: radial-gradient(50% 60% at 50% 40%, rgba(255, 136, 0, 0.22), transparent 70%);
}
.pricing__lede { margin-top: 16px; max-width: 48ch; color: rgba(255, 255, 255, 0.65); }
.devtabs {
  position: relative; display: inline-grid; grid-template-columns: repeat(5, 1fr);
  margin-top: 32px; padding: 5px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.devtabs__pill {
  position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc((100% - 10px) / 5);
  border-radius: 999px; background: var(--accent); box-shadow: 0 8px 24px rgba(255, 136, 0, 0.35);
  transform: translateX(calc(var(--i, 0) * 100%)); transition: transform 0.45s var(--ease-out);
}
.devtabs__btn {
  position: relative; z-index: 1; border: 0; background: transparent; cursor: pointer;
  padding: 11px 20px; border-radius: 999px; font-size: 0.9rem; white-space: nowrap;
  color: rgba(255, 255, 255, 0.7); transition: color var(--base) var(--ease-out);
}
.devtabs__btn b { font-weight: 700; }
.devtabs__btn:hover { color: #fff; }
.devtabs__btn.is-active { color: var(--black); }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  padding: clamp(24px, 2.2vw, 32px); border-radius: 20px;
  background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  transition: transform var(--base) var(--ease-out), box-shadow var(--base) var(--ease-out), background var(--base) var(--ease-out);
}
@media (hover: hover) { .plan:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 24px 60px rgba(0, 0, 0, 0.4); } }
.plan__name { font-size: 1.1rem; font-weight: 700; color: #fff; letter-spacing: -0.02em; }
.plan__price { display: flex; align-items: flex-start; margin-top: 20px; color: #fff; line-height: 1; }
.plan__cur { font-size: 1.5rem; font-weight: 700; margin-top: 0.35em; margin-right: 2px; }
.plan__amount { font-size: clamp(3.4rem, 5vw, 4.6rem); font-weight: 700; letter-spacing: -0.06em; display: inline-block; }
.plan__per { align-self: flex-end; margin: 0 0 0.6em 8px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.55); }
.plan__sub { display: flex; align-items: center; gap: 10px; margin-top: 12px; min-height: 26px; font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); }
.plan__save { padding: 3px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; background: rgba(255, 209, 24, 0.14); color: var(--yellow); }
.plan__devices { margin-top: 6px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); }
.plan__cta {
  display: flex; align-items: center; justify-content: center; min-height: 48px; margin: 22px 0 24px;
  border-radius: 999px; font-size: 0.92rem; background: #fff; color: var(--black);
  transition: background var(--base) var(--ease-out), color var(--base) var(--ease-out), transform var(--fast) var(--ease-out);
}
.plan__cta:active { transform: scale(0.97); }
@media (hover: hover) { .plan__cta:hover { background: var(--accent); color: var(--black); } }
.plan__list { list-style: none; padding: 22px 0 0; margin: 0; display: flex; flex-direction: column; gap: 11px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.plan__list li { position: relative; padding-left: 28px; font-size: 0.9rem; line-height: 1.4; color: rgba(255, 255, 255, 0.82); }
.plan__list li::before {
  content: ""; position: absolute; left: 0; top: 0.05em; width: 18px; height: 18px; border-radius: 50%;
  background: rgba(255, 136, 0, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='%23ff8800' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.plan__badge {
  position: absolute; top: 22px; right: 22px; padding: 5px 12px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.01em;
  background: rgba(255, 255, 255, 0.1); color: #fff;
}
.plan--featured {
  background: linear-gradient(165deg, #ff9a1f 0%, #ff8800 45%, #e86f00 100%);
  box-shadow: 0 30px 80px rgba(255, 136, 0, 0.3);
  transform: translateY(-12px);
}
.plan--featured, .plan--featured .plan__name, .plan--featured .plan__price { color: var(--black); }
.plan--featured .plan__per, .plan--featured .plan__sub, .plan--featured .plan__devices { color: rgba(29, 29, 29, 0.7); }
.plan--featured .plan__save { background: var(--black); color: var(--yellow); }
.plan--featured .plan__badge { background: var(--black); color: var(--yellow); }
.plan--featured .plan__cta { background: var(--black); color: #fff; }
.plan--featured .plan__list { border-color: rgba(29, 29, 29, 0.15); }
.plan--featured .plan__list li { color: var(--black); }
.plan--featured .plan__list li::before { background: rgba(29, 29, 29, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='%231d1d1d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
@media (hover: hover) {
  .plan--featured:hover { transform: translateY(-18px); background: linear-gradient(165deg, #ffa53a 0%, #ff8800 45%, #e86f00 100%); box-shadow: 0 36px 90px rgba(255, 136, 0, 0.4); }
  .plan--featured .plan__cta:hover { background: #fff; color: var(--black); }
}
.plan--featured { padding-top: 58px; overflow: visible; }
.plan--featured::before {
  content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: 22px;
  background: conic-gradient(from var(--a, 0deg), #ffd118, #ff8800, #fff3c4, #ff8800, #ffd118);
  filter: blur(14px); opacity: 0.55; animation: spin 6s linear infinite;
}
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --a: 360deg; } }
.plan--featured { isolation: isolate; }
.plan__ribbon {
  position: absolute; top: 0; left: 0; right: 0; padding: 9px 16px; border-radius: 20px 20px 0 0;
  background: var(--black); color: var(--yellow); text-align: center;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.plan__bonus {
  display: flex; gap: 12px; align-items: center; margin-top: 18px; padding: 14px;
  border-radius: 14px; background: rgba(29, 29, 29, 0.92); color: #fff;
  box-shadow: 0 10px 30px rgba(29, 29, 29, 0.25);
}
.plan__bonus svg { flex: none; width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--yellow); fill: none; stroke: var(--black); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.plan__bonus div { display: flex; flex-direction: column; line-height: 1.25; }
.plan__bonus-tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--yellow); }
.plan__bonus strong { font-size: 0.95rem; letter-spacing: -0.01em; }
.plan__bonus small { font-size: 0.78rem; color: rgba(255, 255, 255, 0.6); }
.plan--featured .plan__cta { margin-top: 18px; }
.plan--featured.reveal:not(.is-in) { transform: translateY(24px); }
.plan__amount.is-updating, .plan__monthly.is-updating { animation: tick 0.42s var(--ease-out); }
@keyframes tick { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.plans__note { text-align: center; margin-top: 36px; color: rgba(255, 255, 255, 0.5); font-size: 0.9rem; }

@media (max-width: 1100px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .plan--featured { transform: none; }
}
@media (max-width: 640px) {
  .plans { grid-template-columns: 1fr; }
  .plan--featured { order: -1; }
  .devtabs { display: grid; width: 100%; }
  .devtabs__btn { padding: 10px 4px; font-size: 0.82rem; }
  .devtabs__btn span { display: none; }
}

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote { margin: 0; padding: 28px 0 0; border-top: 1px solid var(--line-strong); display: flex; flex-direction: column; gap: 20px; }
.quote blockquote { margin: 0; font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.35; letter-spacing: -0.02em; color: var(--text-strong); }
.quote figcaption { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq .section__head { position: sticky; top: 110px; }
.faq .meta { margin-top: 18px; }
.faq__list { border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-size: clamp(1.05rem, 1.4vw, 1.25rem); font-weight: 700; letter-spacing: -0.025em; color: var(--text-strong);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::before, .faq__item summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 2px; background: currentColor; transition: transform var(--base) var(--ease-io); }
.faq__item summary::after { transform: rotate(90deg); }
.faq__item[open] summary::after { transform: rotate(0deg); }
.faq__item p { padding: 0 40px 24px 0; color: var(--text); max-width: 62ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq .section__head { position: static; } }

/* ---------- CTA ---------- */
.cta__panel {
  border-radius: 18px; overflow: hidden; position: relative;
  background: var(--black); isolation: isolate;
  color: rgba(255, 255, 255, 0.82);
  padding: clamp(28px, 5vw, 72px);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end;
}
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0.55; }
.cta__panel::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20, 20, 20, 0.9) 0%, rgba(20, 20, 20, 0.7) 50%, rgba(20, 20, 20, 0.9) 100%); }
.cta__copy p:last-child { margin-top: 20px; max-width: 40ch; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.65); }
.form input, .form select {
  height: 48px; padding: 0 16px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06); color: #fff; font-size: 0.95rem;
  transition: border-color var(--base) var(--ease-out), background var(--base) var(--ease-out);
}
.form select option { color: var(--black); }
.form input:focus, .form select:focus { outline: none; border-color: var(--accent); background: rgba(255, 255, 255, 0.1); }
.form input.is-invalid { border-color: #ff5a4f; }
.form__full { grid-column: 1 / -1; }
.form__submit { grid-column: 1 / -1; min-height: 50px; margin-top: 8px; }
.form__status { grid-column: 1 / -1; font-size: 0.9rem; min-height: 1.4em; color: var(--yellow); }
@media (max-width: 860px) { .cta__panel { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { background: var(--footer); color: rgba(255, 255, 255, 0.7); padding-top: clamp(56px, 7vw, 96px); overflow: hidden; }
.footer__inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; }
.brand--light { color: #fff; }
.footer__brand p { margin-top: 16px; max-width: 32ch; }
.footer__cols { display: flex; gap: clamp(40px, 6vw, 96px); }
.footer__cols h4 { color: #fff; font-size: 0.9rem; margin-bottom: 14px; font-weight: 700; }
.footer__cols a { display: block; padding: 4px 0; font-size: 0.92rem; transition: color var(--fast); }
.footer__cols a:hover { color: var(--accent); }
.footer__word {
  grid-column: 1 / -1; font-size: clamp(5rem, 22vw, 20rem); font-weight: 700; letter-spacing: -0.07em;
  line-height: 0.8; color: #fff; opacity: 0.06; margin: 24px 0 -0.08em; white-space: nowrap;
}
.footer__base { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px 0 32px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.85rem; }
.footer__base a:hover { color: var(--accent); }
@media (max-width: 640px) { .footer__inner { grid-template-columns: 1fr; } }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-words .w { display: inline-block; opacity: 0; transform: translateY(0.4em); transition: opacity 0.62s var(--ease-out), transform 0.62s var(--ease-out); transition-delay: calc(var(--i) * 18ms); }
.reveal-words.is-in .w { opacity: 1; transform: none; }
.no-js .reveal, .no-js .reveal-words .w { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .reveal-words .w { opacity: 1; transform: none; }
}
