:root {
  color-scheme: light dark;
  --font: 'Space Grotesk', system-ui, -apple-system, sans-serif;
}

:root.theme-transition * {
  transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease,
    box-shadow 220ms ease, fill 220ms ease, stroke 220ms ease;
}

:root.theme-transition .animate {
  transition-duration: 420ms;
}

:root.theme-transition .btn {
  transition-duration: 200ms;
}

:root[data-theme='dark'] {
  --bg: #05060a;
  --bg-soft: #0c0f18;
  --panel: #0f1422;
  --panel-alt: #0a0e19;
  --text: #e8ecf8;
  --muted: #9aa5c1;
  --accent: #ff7a50;
  --accent-2: #4dd8ff;
  --border: #1c2335;
  --card: #11192b;
  --shadow: 0 25px 80px rgba(0, 0, 0, 0.45);
  --glow-a: rgba(77, 216, 255, 0.08);
  --glow-b: rgba(255, 122, 80, 0.08);
  --nav-bg: rgba(5, 6, 10, 0.78);
  --veil: rgba(255, 255, 255, 0.02);
  --veil-strong: rgba(255, 255, 255, 0.06);
}

:root[data-theme='light'] {
  --bg: #f5f7fb;
  --bg-soft: #ffffff;
  --panel: #ffffff;
  --panel-alt: #f0f4fa;
  --text: #0a1a2f;
  --muted: #5c6b86;
  --accent: #ff6a3d;
  --accent-2: #008ecc;
  --border: #d9e1f1;
  --card: #ffffff;
  --shadow: 0 16px 40px rgba(15, 32, 61, 0.12);
  --glow-a: rgba(0, 142, 204, 0.08);
  --glow-b: rgba(255, 106, 61, 0.08);
  --nav-bg: rgba(255, 255, 255, 0.9);
  --veil: rgba(10, 20, 40, 0.04);
  --veil-strong: rgba(10, 20, 40, 0.08);
}

* {
  box-sizing: border-box;
}

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

@keyframes fade-up {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
  will-change: transform, opacity;
}

.animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.d1 {
  transition-delay: 80ms;
}
.d2 {
  transition-delay: 160ms;
}
.d3 {
  transition-delay: 240ms;
}
.d4 {
  transition-delay: 320ms;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: radial-gradient(circle at 20% 20%, var(--glow-a), transparent 30%),
    radial-gradient(circle at 80% 0%, var(--glow-b), transparent 25%),
    var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--veil-strong);
  padding: 0;
  cursor: pointer;
  transition: transform 0.15s ease, border 0.2s ease, background 0.2s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
}

.theme-toggle:active {
  transform: scale(0.95);
}

[data-theme='dark'] .theme-toggle {
  background: var(--accent);
  border-color: var(--accent);
  color: #0b0f1a;
  box-shadow: 0 0 0 3px rgba(255, 122, 80, 0.22);
}

[data-theme='dark'] .theme-toggle:hover {
  background: #ff8c6b;
  border-color: #ff8c6b;
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.35s ease;
}

[data-theme='dark'] .icon-sun {
  display: none;
}

[data-theme='light'] .icon-moon {
  display: none;
}

[data-theme='light'] .icon-sun {
  transform: rotate(-10deg);
}

[data-theme='dark'] .icon-moon {
  transform: rotate(10deg);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 6vw;
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.logo {
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: 1.2rem;
  text-transform: lowercase;
}

.logo span {
  color: var(--accent);
}

.nav nav {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 0.95rem;
}

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

.nav .pill {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: all 0.2s ease;
}

.nav .pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  padding: 72px 6vw;
  align-items: center;
}

.hero__text h1 {
  font-size: clamp(2.5rem, 5vw, 3.6rem);
  line-height: 1.05;
  margin: 8px 0 14px;
}

.hero__text .lede {
  color: var(--muted);
  max-width: 640px;
}

.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--accent-2);
  font-weight: 600;
}

.cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 22px 0 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  transition: transform 0.15s ease, border 0.2s ease, background 0.2s ease;
}

.btn.full {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.btn.primary {
  background: linear-gradient(120deg, var(--accent), #ffb36f);
  color: #0b0c12;
  border-color: transparent;
}

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

.btn:hover {
  transform: translateY(-1px);
}

.quick-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.quick-metrics div {
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--veil);
}

.quick-metrics strong {
  display: block;
  font-size: 1.4rem;
}

.hero__card {
  background: linear-gradient(160deg, rgba(77, 216, 255, 0.08), rgba(255, 122, 80, 0.08));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  animation: floaty 9s ease-in-out infinite;
}

.hero__card h2 {
  margin: 10px 0 8px;
}

.hero__card ul {
  padding-left: 18px;
  color: var(--muted);
}

.hero__card li + li {
  margin-top: 6px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: var(--veil-strong);
  border-radius: 999px;
  font-size: 0.85rem;
  border: 1px solid var(--border);
}

.mini-callout {
  margin-top: 14px;
  padding: 12px;
  border-radius: 12px;
  background: var(--veil-strong);
  border: 1px dashed rgba(255, 122, 80, 0.3);
  color: var(--muted);
}

.panel {
  padding: 64px 6vw;
  background: var(--bg-soft);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.panel.alt {
  background: var(--panel-alt);
}

.section-header h2 {
  margin: 6px 0 6px;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.section-header .sub {
  color: var(--muted);
  max-width: 640px;
}

.grid.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.service-list {
  margin-top: 18px;
}

.service-index {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 18px;
  margin: 10px 0 0;
  color: var(--muted);
}

.service {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.rate {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 122, 80, 0.12);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

.services .card.service .btn {
  margin-top: auto;
  align-self: flex-start;
}

.grid.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  align-items: center;
  margin-top: 20px;
}

.about-photo img {
  width: 100%;
  max-width: 320px;
  display: block;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  object-fit: cover;
  justify-self: center;
  margin: 0 auto;
}

.about-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.about-pill-row.tight {
  gap: 6px;
}

.about-card {
  gap: 10px;
}

.about-list {
  margin: 0 0 8px 18px;
  color: var(--muted);
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  min-height: 170px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.card h3 {
  margin: 4px 0 8px;
}

.card p {
  color: var(--muted);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  border-color: rgba(255, 122, 80, 0.35);
}

.card.price {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

.price-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price-value {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-weight: 700;
  font-size: 2rem;
}

.price-value .currency {
  font-size: 1.1rem;
  color: var(--muted);
}

.price-value .term {
  font-size: 0.95rem;
  color: var(--muted);
}

.price-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  flex: 1;
}

.price-list li + li {
  margin-top: 6px;
}

.price .btn.full {
  justify-content: center;
}

.price.featured {
  border: 1px solid rgba(255, 122, 80, 0.5);
  box-shadow: var(--shadow);
}

.tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 0.8rem;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(255, 122, 80, 0.14);
  color: var(--accent);
}

.tag.accent {
  background: rgba(255, 122, 80, 0.22);
  color: var(--accent);
  font-weight: 700;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.step {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: 14px;
  background: linear-gradient(120deg, var(--veil), transparent);
  border: 1px solid var(--border);
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 122, 80, 0.14);
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--accent);
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 16px;
}

.logo-chip {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--veil);
  color: var(--muted);
}

.quote {
  padding: 18px;
  border-left: 3px solid var(--accent);
  background: rgba(255, 122, 80, 0.08);
  border-radius: 12px;
  color: var(--text);
  max-width: 720px;
}

.quote span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.contact {
  display: flex;
  justify-content: center;
}

.contact-card {
  width: min(820px, 100%);
  background: linear-gradient(180deg, var(--glow-a), var(--bg));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.form {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
}

input:not([type='checkbox']),
textarea,
select {
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 12px;
  background: var(--panel-alt);
  color: var(--text);
  font: inherit;
}

input:not([type='checkbox']):focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(255, 122, 80, 0.5);
}

input[type='checkbox'] {
  width: 18px;
  height: 18px;
  border: 1px solid var(--border);
  border-radius: 6px;
  accent-color: var(--accent);
  cursor: pointer;
}

input[type='checkbox']:focus-visible {
  outline: 2px solid rgba(255, 122, 80, 0.6);
  outline-offset: 2px;
}

textarea {
  resize: vertical;
}

.options {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  background: var(--panel-alt);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.options legend {
  font-weight: 700;
  padding: 0 4px;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px 12px;
}

.option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 8px;
  align-items: center;
  font-weight: 500;
  line-height: 1.25;
}

.option span {
  display: inline-block;
  font-size: 0.9rem;
  line-height: 1.25;
}

.option input {
  margin: 0;
  flex-shrink: 0;
}

.hint {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.9rem;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.form-actions .muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.hidden {
  display: none;
}

.footer {
  padding: 32px 6vw;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
}

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

.footer-links {
  display: flex;
  gap: 14px;
}

.muted {
  color: var(--muted);
}

@media (max-width: 640px) {
  .hero {
    padding-top: 52px;
  }
  .nav nav {
    display: none;
  }
  .contact-card {
    padding: 20px;
  }
}
