:root {
  --ink: #111315;
  --muted: #596069;
  --paper: #f8f7f3;
  --white: #ffffff;
  --line: #dedbd2;
  --charcoal: #15181d;
  --coral: #ff4f3d;
  --cyan: #19c8d2;
  --amber: #f5b84b;
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

body:not(.reduce-motion) .site-header {
  animation: headerDrop 1100ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

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

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

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 44px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(7, 9, 12, 0.72), rgba(7, 9, 12, 0));
}

.brand,
.main-nav,
.hero-actions,
.hero-metrics,
.range-row,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  font-size: 13px;
}

.main-nav {
  gap: 24px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.header-cta {
  padding: 11px 16px;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  font-size: 14px;
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  padding: 118px clamp(18px, 5vw, 72px) 64px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center right;
}

body:not(.reduce-motion) .hero-image {
  animation: heroZoom 2200ms ease-out both;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 7, 10, 0.96) 0%, rgba(5, 7, 10, 0.76) 38%, rgba(5, 7, 10, 0.15) 78%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.18), rgba(5, 7, 10, 0.62));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(680px, 100%);
}

body:not(.reduce-motion) .hero-content > * {
  opacity: 0;
  transform: translateY(22px);
  animation: heroReveal 1200ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

body:not(.reduce-motion) .hero-content > *:nth-child(1) {
  animation-delay: 220ms;
}

body:not(.reduce-motion) .hero-content > *:nth-child(2) {
  animation-delay: 400ms;
}

body:not(.reduce-motion) .hero-content > *:nth-child(3) {
  animation-delay: 580ms;
}

body:not(.reduce-motion) .hero-content > *:nth-child(4) {
  animation-delay: 760ms;
}

body:not(.reduce-motion) .hero-content > *:nth-child(5) {
  animation-delay: 980ms;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: #cb3f31;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(46px, 7vw, 88px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.48;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-button,
.secondary-button,
.price-card a,
.lead-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: var(--radius);
  font-weight: 900;
  border: 0;
  cursor: pointer;
  transition:
    transform 320ms ease,
    box-shadow 320ms ease,
    background-color 320ms ease,
    border-color 320ms ease;
}

.primary-button:hover,
.secondary-button:hover,
.price-card a:hover,
.lead-form button:hover,
.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.primary-button,
.lead-form button {
  background: var(--coral);
  color: var(--white);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.36);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 42px;
}

.hero-metrics div {
  min-width: 132px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.hero-metrics strong {
  display: block;
  font-size: 34px;
}

.hero-metrics span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.section-inner {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 92px 0;
}

.reveal {
  opacity: 1;
}

body:not(.reduce-motion) .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 1300ms ease,
    transform 1300ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 360ms ease,
    border-color 360ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

body:not(.reduce-motion) .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.split,
.calculator-layout,
.cta-layout,
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
}

.copy-stack p,
.section-heading p,
.calculator-section p,
.cta-band p,
.faq-section p,
.work-section p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 36px;
}

.section-heading.narrow {
  max-width: 760px;
}

.deliverables-section,
.process-section,
.faq-section {
  background: var(--white);
}

.deliverables-grid,
.pricing-grid,
.work-grid,
.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.deliverables-grid article,
.work-card,
.price-card,
.timeline article,
.calculator,
.lead-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.deliverables-grid article {
  min-height: 250px;
  padding: 24px;
}

.deliverables-grid article,
.work-card,
.price-card,
.timeline article,
.calculator,
.lead-form,
details {
  transition:
    transform 360ms ease,
    box-shadow 360ms ease,
    border-color 360ms ease;
}

.deliverables-grid article:hover,
.work-card:hover,
.price-card:hover,
.timeline article:hover,
.calculator:hover,
.lead-form:hover,
details:hover {
  box-shadow: 0 22px 46px rgba(17, 19, 21, 0.11);
  border-color: rgba(17, 19, 21, 0.18);
}

body.reduce-motion .deliverables-grid article:hover,
body.reduce-motion .work-card:hover,
body.reduce-motion .price-card:hover,
body.reduce-motion .timeline article:hover,
body.reduce-motion .calculator:hover,
body.reduce-motion .lead-form:hover,
body.reduce-motion details:hover,
body:not(.reduce-motion) .reveal.is-visible:hover {
  transform: translateY(-4px);
}

.icon-dot {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

body:not(.reduce-motion) .reveal.is-visible .icon-dot,
body:not(.reduce-motion) .reveal.is-visible .price-badge {
  animation: popIn 820ms cubic-bezier(0.2, 0.95, 0.25, 1.25) both;
}

.deliverables-grid p,
.timeline p,
.price-card li {
  color: var(--muted);
  line-height: 1.55;
}

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

.work-section .section-heading p {
  color: rgba(255, 255, 255, 0.7);
}

.work-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.work-card {
  position: relative;
  display: grid;
  gap: 16px;
  overflow: hidden;
  padding: 10px;
  color: var(--white);
  background: #0b0d10;
  border-color: rgba(255, 255, 255, 0.14);
}

.video-cover,
.video-shell {
  position: relative;
  display: block;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: calc(var(--radius) - 2px);
  background: #050609;
}

.video-cover {
  padding: 0;
  border: 0;
  cursor: pointer;
}

.video-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms ease, filter 900ms ease;
}

.video-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.18) 42%, rgba(0, 0, 0, 0.58)),
    linear-gradient(90deg, rgba(25, 200, 210, 0.18), rgba(255, 79, 61, 0.12));
  pointer-events: none;
}

.video-cover:hover img {
  transform: scale(1.05);
  filter: saturate(1.08) contrast(1.04);
}

.video-shell iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
  transform: translate(-50%, -50%);
  transition: transform 320ms ease, background-color 320ms ease;
}

.play-button::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 17px solid var(--charcoal);
}

.video-cover:hover .play-button {
  background: var(--white);
  transform: translate(-50%, -50%) scale(1.08);
}

.work-card-copy {
  padding: 0 10px 12px;
}

.work-card-copy span,
.work-card-copy strong {
  display: block;
}

.work-card-copy span {
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.work-card-copy strong {
  max-width: 12ch;
  font-size: 28px;
  line-height: 1;
}

.offer-section {
  background: #ece9df;
}

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

.price-card {
  position: relative;
  padding: 26px;
}

.price-card.featured {
  color: var(--white);
  background: var(--charcoal);
  border-color: var(--charcoal);
  overflow: hidden;
}

.price-card.featured::before {
  content: "";
  position: absolute;
  inset: -80px auto auto -90px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(25, 200, 210, 0.3), rgba(25, 200, 210, 0));
  pointer-events: none;
}

.plan-name {
  margin-bottom: 18px;
  color: #cb3f31;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
}

.featured .plan-name {
  color: var(--cyan);
}

.price {
  margin: 20px 0 6px;
  font-size: 28px;
  font-weight: 900;
}

.price-note {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.featured .price-note {
  color: rgba(255, 255, 255, 0.68);
}

.price-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 14px;
  padding: 0 10px;
  border-radius: var(--radius);
  background: rgba(25, 200, 210, 0.16);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.price-card ul {
  min-height: 138px;
  padding-left: 18px;
}

.featured li {
  color: rgba(255, 255, 255, 0.74);
}

.price-card a {
  width: 100%;
  color: var(--ink);
  background: #e9f4f5;
}

.featured a {
  background: var(--coral);
  color: var(--white);
}

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

.calculator {
  padding: 28px;
}

.calculator label {
  display: block;
  margin-bottom: 18px;
  font-weight: 900;
  font-size: 22px;
  line-height: 1.15;
}

.range-row {
  gap: 18px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--coral);
}

output {
  display: grid;
  place-items: center;
  flex: 0 0 54px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--charcoal);
  color: var(--white);
  font-weight: 900;
}

.calc-result {
  margin-top: 28px;
  padding: 22px;
  border-radius: var(--radius);
  background: #eefafa;
}

body:not(.reduce-motion) .calc-result strong {
  transition: transform 420ms ease, color 420ms ease;
}

body:not(.reduce-motion) .calc-result strong.is-updating {
  transform: scale(1.06);
  color: #cb3f31;
}

.calc-result span,
.calc-result strong {
  display: block;
}

.calc-result strong {
  margin-top: 6px;
  font-size: 36px;
  color: var(--charcoal);
}

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

.timeline article {
  padding: 26px;
}

.timeline span {
  display: inline-block;
  margin-bottom: 28px;
  color: #cb3f31;
  font-weight: 900;
}

.cta-band {
  color: var(--white);
  background: var(--charcoal);
}

.cta-band .section-inner {
  padding: 82px 0;
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.72);
}

.lead-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.lead-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 14px 12px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.09);
  font: inherit;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input::placeholder,
.lead-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

.lead-form button[disabled] {
  cursor: wait;
  opacity: 0.72;
}

.lead-form-status {
  min-height: 1.45em;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  font-weight: 700;
}

.lead-form-status.is-success {
  color: #b9f7d2;
}

.lead-form-status.is-error {
  color: #ffd1c7;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 900;
}

details p {
  margin: 12px 0 0;
}

.site-footer {
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 4vw, 44px);
  background: #0b0d10;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer span {
  color: var(--white);
  font-weight: 900;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--white);
}

.footer-links button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.legal-page .site-header {
  position: sticky;
  color: var(--white);
  background: rgba(11, 13, 16, 0.96);
}

.legal-main {
  background: var(--paper);
}

.legal-hero,
.legal-content {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
}

.legal-hero {
  padding: 86px 0 36px;
}

.legal-hero h1 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: clamp(42px, 7vw, 76px);
}

.legal-hero p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.legal-content {
  display: grid;
  gap: 16px;
  padding: 0 0 86px;
}

.legal-content article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.legal-content h2 {
  margin-bottom: 16px;
  font-size: clamp(24px, 3vw, 34px);
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.legal-content p:last-child,
.legal-content ul:last-child {
  margin-bottom: 0;
}

.legal-content a {
  color: #cb3f31;
  font-weight: 800;
}

.cookie-banner {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  width: min(780px, calc(100% - 28px));
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(11, 13, 16, 0.96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner h2 {
  margin-bottom: 8px;
  font-size: 20px;
  color: var(--white);
}

.cookie-banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  gap: 10px;
}

.primary-cookie-button,
.secondary-cookie-button,
.video-consent button {
  min-height: 44px;
  padding: 0 16px;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.primary-cookie-button,
.video-consent button {
  border: 0;
  color: var(--white);
  background: var(--coral);
}

.secondary-cookie-button {
  border: 0;
  color: var(--ink);
  background: var(--white);
}

.video-consent {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-content: center;
  gap: 14px;
  padding: 22px;
  color: var(--white);
  text-align: center;
  background: rgba(5, 6, 9, 0.86);
}

.video-consent p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.45;
}

@keyframes headerDrop {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.06);
    filter: saturate(0.86);
  }

  to {
    transform: scale(1);
    filter: saturate(1);
  }
}

@keyframes heroReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes popIn {
  0% {
    transform: scale(0.72);
  }

  70% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

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

  .split,
  .calculator-layout,
  .cta-layout,
  .faq-layout,
  .pricing-grid,
  .work-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

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

  .price-card ul {
    min-height: auto;
  }

  .work-card {
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 14px 16px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 100vh;
    padding: 98px 18px 38px;
  }

  .hero-image {
    object-position: 66% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(5, 7, 10, 0.97) 0%, rgba(5, 7, 10, 0.82) 62%, rgba(5, 7, 10, 0.44) 100%),
      linear-gradient(180deg, rgba(5, 7, 10, 0.12), rgba(5, 7, 10, 0.72));
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 34px;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .hero-metrics div {
    flex: 1 1 100%;
  }

  .section-inner {
    width: min(100% - 28px, var(--max));
    padding: 68px 0;
  }

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .legal-content article {
    padding: 22px;
  }

  .cookie-banner {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    width: 100%;
  }

  .primary-cookie-button,
  .secondary-cookie-button {
    flex: 1;
  }
}
