@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=Chakra+Petch:wght@500;600;700&display=swap');

:root {
  --bg: #f4f5f7;
  --bg-soft: #eceff4;
  --panel: #ffffff;
  --ink: #0b0d10;
  --ink-soft: #4b525d;
  --brand-red: #e3212c;
  --brand-red-deep: #b4121c;
  --brand-black: #060709;
  --line: #d6dbe4;
  --ok: #168560;
  --shadow: 0 18px 40px rgba(9, 12, 18, 0.12);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: min(1140px, calc(100% - 2.4rem));
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-padding-top: 6.4rem;
}

body {
  font-family: 'Sora', 'Avenir Next', 'Segoe UI', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(80rem 50rem at 95% -10%, rgba(227, 33, 44, 0.12), transparent 62%),
    radial-gradient(58rem 42rem at -10% 12%, rgba(6, 7, 9, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(244, 245, 247, 0)),
    var(--bg);
  line-height: 1.5;
}

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

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

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

.section {
  padding: clamp(3.2rem, 6vw, 6rem) 0;
}

.section-compact {
  padding-top: clamp(2.1rem, 4.5vw, 3.3rem);
}

.section-title {
  font-size: clamp(1.65rem, 3.2vw, 2.4rem);
  line-height: 1.16;
  margin: 0 0 0.9rem;
}

.section-lead {
  max-width: 72ch;
  color: var(--ink-soft);
  margin: 0 0 2.1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  backdrop-filter: blur(10px);
  background: #ffffff;
  border-bottom: 1px solid rgba(11, 13, 16, 0.08);
}

.nav-wrap {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 1rem;
  align-items: center;
  min-height: 80px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 180px;
}

.brand-logo-media {
  display: grid;
  width: clamp(170px, 20vw, 235px);
  aspect-ratio: 760 / 360;
  overflow: hidden;
}

.brand-logo-media > * {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.brand-logo-fallback {
  display: block;
  opacity: 1;
  transition: opacity 200ms var(--ease-out);
}

.brand-logo-video {
  display: block;
  object-fit: contain;
  mix-blend-mode: multiply;
  opacity: 0;
  filter: saturate(1.05) contrast(1.14);
  transition: opacity 0.2s ease;
}

.brand-logo-media.is-playing .brand-logo-video {
  opacity: 0.9;
}

.brand-logo-media.is-playing .brand-logo-fallback {
  opacity: 0;
}

.site-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.site-nav a,
.nav-menu summary {
  padding: 0.42rem 0.72rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 180ms var(--ease-out), background-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.site-nav a:hover,
.site-nav a.active,
.nav-menu summary:hover,
.nav-menu.has-active summary {
  color: var(--brand-black);
  background: rgba(227, 33, 44, 0.09);
}

.nav-menu {
  position: relative;
}

.nav-menu summary {
  cursor: pointer;
  list-style: none;
}

.nav-menu summary::-webkit-details-marker {
  display: none;
}

.nav-menu summary::after {
  content: '+';
  margin-left: 0.3rem;
  color: var(--brand-red);
}

.nav-menu[open] summary::after {
  content: '-';
}

.nav-menu-panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  display: grid;
  min-width: 150px;
  padding: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow);
  z-index: 90;
}

.nav-menu-panel a {
  display: block;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  border: 0;
  background: var(--brand-black);
  color: #fff;
  border-radius: 999px;
  padding: 0.46rem 0.85rem;
  font: inherit;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.46rem;
  padding: 0.74rem 1.05rem;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), box-shadow 160ms var(--ease-out), background-color 160ms var(--ease-out), color 160ms var(--ease-out), border-color 160ms var(--ease-out);
  transform: translateZ(0);
  min-height: 44px;
  touch-action: manipulation;
}

.btn-solid {
  background: linear-gradient(135deg, var(--brand-red), #ff4b54);
  color: #fff;
  box-shadow: 0 9px 24px rgba(227, 33, 44, 0.3);
}

.btn-solid:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 25px rgba(227, 33, 44, 0.38);
}

.btn:active {
  transform: scale(0.97);
}

.btn-dark {
  background: var(--brand-black);
  color: #fff;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--brand-black);
  background: rgba(255, 255, 255, 0.66);
}

.btn-ghost:hover {
  border-color: var(--brand-red);
  color: var(--brand-red);
}

.nav-cta {
  white-space: nowrap;
}

.hero {
  padding: clamp(3.2rem, 8vw, 6.7rem) 0 clamp(2.7rem, 4.7vw, 4rem);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 760px;
}

.hero-lead {
  font-size: clamp(1.08rem, 2vw, 1.18rem);
  color: var(--brand-black);
  max-width: 58ch;
}

.hero-bg-logo {
  position: absolute;
  right: clamp(-120px, -8vw, -40px);
  top: clamp(22px, 4vw, 54px);
  width: clamp(330px, 46vw, 700px);
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: multiply;
  z-index: 1;
  display: grid;
}

.hero-bg-logo > * {
  grid-area: 1 / 1;
  width: 100%;
  height: auto;
}

.hero-bg-logo video {
  opacity: 0;
  transition: opacity 0.2s ease;
}

.hero-bg-logo.is-playing video {
  opacity: 1;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-red);
  font-weight: 700;
  margin-bottom: 1.05rem;
}

.hero h1 {
  font-size: clamp(2rem, 5.4vw, 3.8rem);
  line-height: 1.04;
  margin: 0;
}

.hero-copy {
  margin-top: 1.1rem;
  color: var(--ink-soft);
  max-width: 64ch;
}

.typing-line {
  margin-top: 1rem;
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  font-weight: 600;
  color: var(--brand-black);
  min-height: 2.3rem;
}

.typing-line::after {
  content: '|';
  display: inline-block;
  margin-left: 0.2rem;
  color: var(--brand-red);
  animation: blink 0.8s steps(1, end) infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.55rem;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.3rem;
}

.trust-pill {
  border-radius: 999px;
  border: 1px solid rgba(11, 13, 16, 0.08);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(9, 12, 18, 0.05);
  padding: 0.55rem 0.9rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.15rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
}

.card h4,
.price-card h4 {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
}

.card p {
  margin: 0;
  color: var(--ink-soft);
}

.card .list,
.list {
  margin: 0.8rem 0 0;
  padding-left: 1.05rem;
  color: var(--ink-soft);
}

.list li + li {
  margin-top: 0.46rem;
}

.note {
  border-left: 4px solid var(--brand-red);
  padding: 0.72rem 0.9rem;
  background: rgba(227, 33, 44, 0.07);
  border-radius: 0 12px 12px 0;
  color: #2b1c1e;
}

.surface {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  padding: 1.3rem;
  box-shadow: var(--shadow);
}

.grouped-surface {
  padding: clamp(1.3rem, 2.8vw, 2.2rem);
}

.grouped-surface .section-lead {
  margin-bottom: 1.35rem;
}

.group-divider {
  margin: 1.5rem 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(11, 13, 16, 0.18), transparent);
}

.service-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.kicker {
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.76rem;
  color: var(--brand-red);
  margin-bottom: 0.3rem;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.price-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.22rem;
  display: grid;
  gap: 0.65rem;
}

.price-card.featured {
  border-color: rgba(227, 33, 44, 0.5);
  box-shadow: 0 16px 32px rgba(227, 33, 44, 0.2);
}

.recommended-label {
  justify-self: start;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: var(--brand-red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fit-guidance {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.fit-guidance strong {
  color: var(--ink);
}

.price-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.price {
  font-family: 'Chakra Petch', sans-serif;
  font-size: 1.45rem;
  margin: 0;
}

.small {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.bundle-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--panel);
}

.bundle-table th,
.bundle-table td {
  padding: 0.86rem 0.8rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.bundle-table th {
  background: #f0f3f7;
  font-weight: 700;
}

.bundle-table tr:last-child td {
  border-bottom: 0;
}

.table-scroll {
  overflow-x: auto;
  border-radius: var(--radius-sm);
}

.comparison-table {
  min-width: 760px;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  width: 22%;
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
  padding: 0.15rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  padding: 0.85rem 1.7rem 0.85rem 0;
  font-weight: 700;
  position: relative;
}

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0.1rem;
  color: var(--brand-red);
  font-size: 1.2rem;
}

.faq-item[open] summary::after {
  content: '-';
}

.faq-item p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.fit-call-cta {
  max-width: 780px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

label {
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
  display: block;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #c8cfda;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 0.72rem 0.8rem;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(227, 33, 44, 0.24);
  border-color: var(--brand-red);
}

textarea {
  resize: vertical;
  min-height: 110px;
}

input[type='checkbox'] {
  width: auto;
  padding: 0;
  margin-right: 0.45rem;
  accent-color: var(--brand-red);
}

.form-consent {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.form-consent input {
  flex: 0 0 auto;
  margin-top: 0.16rem;
}

.form-consent label {
  margin: 0;
  font-weight: 500;
}

.form-consent a {
  color: var(--brand-red-deep);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.inline-check {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.calc-result {
  margin-top: 1rem;
  border: 1px solid rgba(22, 133, 96, 0.35);
  background: rgba(22, 133, 96, 0.08);
  color: #124f3c;
  border-radius: 14px;
  padding: 0.95rem;
}

.calc-result strong {
  display: inline-block;
  min-width: 165px;
}

.calc-result p {
  margin: 0.35rem 0;
}

#pages-help {
  margin: 0.35rem 0 0;
}

.step-number {
  display: inline-flex;
  min-width: 2.25rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  background: rgba(227, 33, 44, 0.1);
  color: var(--brand-red-deep);
  font-family: 'Chakra Petch', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
}

.status {
  margin-top: 0.8rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.work-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 0 0 1.4rem;
}

.work-stat {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(155deg, #ffffff, #eff2f7);
  padding: 0.85rem 0.95rem;
}

.work-stat strong {
  display: block;
  font-family: 'Chakra Petch', sans-serif;
  font-size: 1.35rem;
  line-height: 1;
}

.work-stat span {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.work-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--panel);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.work-shot {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(20rem 11rem at -5% 5%, rgba(227, 33, 44, 0.22), transparent 70%),
    linear-gradient(145deg, #edf1f8, #ffffff);
}

.work-shot::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 12, 18, 0.02), rgba(9, 12, 18, 0.42) 86%),
    linear-gradient(90deg, rgba(227, 33, 44, 0.15), transparent 30%);
  pointer-events: none;
}

.work-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.35s ease;
}

.work-card:hover .work-shot img {
  transform: scale(1.035);
}

.work-domain {
  position: absolute;
  left: 0.72rem;
  bottom: 0.72rem;
  z-index: 2;
  font-size: 0.74rem;
  letter-spacing: 0.03em;
  padding: 0.24rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(5, 8, 12, 0.52);
  color: #ffffff;
  backdrop-filter: blur(4px);
  max-width: calc(100% - 1.4rem);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-content {
  display: grid;
  gap: 0.72rem;
  padding: 1rem 1rem 1.1rem;
}

.work-content h3 {
  margin: 0;
}

.work-content p {
  margin: 0;
  color: var(--ink-soft);
}

.work-impact {
  padding-left: 0.75rem;
  border-left: 3px solid rgba(227, 33, 44, 0.26);
  color: #31404b;
  font-size: 0.9rem;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.work-tags span {
  font-size: 0.74rem;
  color: #3d4651;
  border: 1px solid #cfd5df;
  border-radius: 999px;
  padding: 0.22rem 0.48rem;
  background: #f5f7fb;
}

.work-note {
  margin-top: 1rem;
}

footer {
  margin-top: clamp(2.2rem, 5vw, 4rem);
  border-top: 1px solid rgba(11, 13, 16, 0.1);
  background: #fff;
}

.footer-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.35fr 1fr;
  padding: 1.4rem 0 1.6rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  column-gap: 1.6rem;
  row-gap: 0.4rem;
  align-content: start;
  justify-content: start;
}

.footer-links a {
  padding: 0;
  border: 0;
  border-radius: 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.footer-links a:hover {
  color: var(--brand-red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

:focus-visible {
  outline: 3px solid rgba(227, 33, 44, 0.35);
  outline-offset: 3px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1040px) {
  .nav-wrap {
    grid-template-columns: auto auto 1fr;
  }

  .site-nav {
    grid-column: 1 / -1;
    order: 4;
    justify-content: flex-start;
    padding-bottom: 0.95rem;
  }

  .nav-cta {
    justify-self: end;
  }

  .hero-grid,
  .grid-3,
  .price-grid,
  .service-panel,
  .work-grid {
    grid-template-columns: 1fr;
  }

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

  .bundle-table {
    display: block;
    overflow-x: auto;
  }
}

@media (max-width: 760px) {
  .nav-wrap {
    grid-template-columns: auto auto 1fr;
    gap: 0.65rem;
  }

  .brand-logo-video {
    width: 100%;
  }

  .brand-logo-media {
    width: clamp(148px, 50vw, 190px);
  }

  .hero-bg-logo {
    width: clamp(250px, 70vw, 360px);
    right: -70px;
    top: 22px;
    opacity: 0.15;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: start;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 0.9rem;
    gap: 0.35rem;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 10px;
  }

  .nav-menu {
    width: 100%;
  }

  .nav-menu summary {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 10px;
  }

  .nav-menu-panel {
    position: static;
    min-width: 0;
    margin-top: 0.35rem;
    box-shadow: none;
  }

  .nav-cta {
    display: inline-flex;
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
    margin-top: 0.2rem;
  }

  .trust-row,
  .form-grid,
  .work-stats {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
