:root {
  color-scheme: dark;
  --bg: #08090b;
  --bg-soft: #101317;
  --bg-muted: #15191f;
  --panel: #181d23;
  --line: rgba(238, 231, 214, 0.15);
  --text: #f4efe4;
  --muted: #b9c1bd;
  --soft: #8f9995;
  --teal: #4bc3ad;
  --teal-dark: #1d796d;
  --burgundy: #c96b75;
  --paper: #ead7b5;
  --shadow: rgba(0, 0, 0, 0.35);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--paper);
  color: #141210;
  padding: 0.7rem 0.9rem;
  border-radius: 8px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, 1120px);
  margin: 0 auto;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  display: grid;
  flex: 0 0 2.55rem;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  border: 1px solid rgba(234, 215, 181, 0.38);
  border-radius: 8px;
  background: rgba(8, 9, 11, 0.52);
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 850;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.95rem;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.2;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.1rem;
  color: rgba(244, 239, 228, 0.82);
  font-size: 0.91rem;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:focus-visible,
.nav-links a:hover,
.text-link:hover,
.text-link:focus-visible {
  color: var(--paper);
}

.hero {
  position: relative;
  display: flex;
  align-items: start;
  min-height: 86svh;
  overflow: hidden;
  isolation: isolate;
}

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

.hero-image {
  z-index: -2;
  object-fit: cover;
  object-position: 58% center;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 9, 11, 0.42) 0%, rgba(8, 9, 11, 0.78) 52%, #08090b 100%),
    linear-gradient(90deg, rgba(8, 9, 11, 0.92) 0%, rgba(8, 9, 11, 0.67) 46%, rgba(8, 9, 11, 0.22) 100%);
}

.hero-content {
  width: min(100% - 2rem, 1120px);
  margin: 0 auto;
  padding: 7.4rem 0 3rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.85rem;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 850;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  font-size: 3rem;
  font-weight: 860;
}

h2 {
  font-size: 2rem;
  font-weight: 820;
}

h3 {
  font-size: 1.12rem;
}

.hero-copy {
  max-width: 34rem;
  margin: 1.2rem 0 0;
  color: rgba(244, 239, 228, 0.86);
  font-size: 1.05rem;
}

.hero-actions,
.cta-actions {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.55rem;
}

.button {
  display: inline-flex;
  min-height: 3.45rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.08rem;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 0.76rem 1rem;
  text-align: center;
  text-decoration: none;
  font-weight: 850;
  line-height: 1.15;
  box-shadow: 0 1rem 2.5rem var(--shadow);
}

.button span {
  color: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  opacity: 0.78;
}

.button-primary {
  background: var(--paper);
  color: #16120d;
}

.button-secondary {
  background: rgba(16, 19, 23, 0.74);
  border-color: rgba(234, 215, 181, 0.3);
  color: var(--text);
  backdrop-filter: blur(14px);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button:focus-visible,
.text-link:focus-visible,
.brand:focus-visible,
.nav-links a:focus-visible {
  outline: 3px solid rgba(75, 195, 173, 0.55);
  outline-offset: 4px;
}

.section,
.intro-band,
.cta-section,
.site-footer {
  border-top: 1px solid var(--line);
}

.section {
  padding: 4.2rem 0;
  background: var(--bg);
}

.section-muted,
.intro-band {
  background: var(--bg-soft);
}

.section-inner {
  width: min(100% - 2rem, 1120px);
  margin: 0 auto;
}

.intro-band {
  padding: 2rem 0;
}

.intro-grid,
.audience-layout,
.about-layout,
.retry-layout,
.cta-layout,
.footer-layout {
  display: grid;
  gap: 1.5rem;
}

.intro-grid p,
.retry-layout p,
.cta-layout p,
.about-copy p {
  margin: 0;
  color: var(--muted);
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 1.6rem;
}

.service-grid,
.process-steps {
  display: grid;
  gap: 0.85rem;
}

.service-card,
.process-steps article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 1.15rem;
}

.service-card {
  min-height: 12.4rem;
}

.service-card p,
.process-steps p,
.audience-list p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.audience-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.audience-list div {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.audience-list span,
.process-steps span {
  color: var(--burgundy);
  font-size: 0.86rem;
  font-weight: 850;
}

.process-steps span {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(184, 92, 102, 0.14);
}

.about-section {
  background:
    linear-gradient(180deg, rgba(75, 195, 173, 0.06), transparent 34%),
    var(--bg);
}

.about-copy {
  display: grid;
  gap: 1rem;
}

.retry-section {
  background: var(--bg-muted);
}

.cta-section {
  padding: 4rem 0;
  background:
    linear-gradient(135deg, rgba(75, 195, 173, 0.14), rgba(184, 92, 102, 0.11)),
    #0b0d10;
}

.cta-actions {
  margin-top: 0;
}

.contact-form {
  display: grid;
  gap: 1rem;
  border: 1px solid rgba(234, 215, 181, 0.18);
  border-radius: 8px;
  background: rgba(8, 9, 11, 0.44);
  padding: 1rem;
  box-shadow: 0 1.4rem 3rem rgba(0, 0, 0, 0.22);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.42rem;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(244, 239, 228, 0.18);
  border-radius: 8px;
  background: rgba(16, 19, 23, 0.88);
  color: var(--text);
  padding: 0.8rem 0.85rem;
  line-height: 1.35;
}

.contact-form textarea {
  resize: vertical;
  min-height: 9rem;
}

.turnstile-field {
  min-height: 4.1rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(75, 195, 173, 0.74);
  outline: 3px solid rgba(75, 195, 173, 0.24);
}

.contact-form .form-honey {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-footer {
  display: grid;
  gap: 0.9rem;
  align-items: center;
}

.form-footer .button {
  width: 100%;
  cursor: pointer;
}

.text-link {
  color: var(--paper);
  font-weight: 800;
  text-decoration-color: rgba(234, 215, 181, 0.45);
  text-underline-offset: 0.26rem;
}

.site-footer {
  padding: 1.7rem 0;
  background: #060708;
  color: var(--soft);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

.message-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(75, 195, 173, 0.14), rgba(184, 92, 102, 0.1)),
    var(--bg);
}

.message-panel {
  width: min(100%, 36rem);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 1.35rem;
}

.message-panel h1 {
  max-width: 10ch;
  font-size: 2.4rem;
}

.message-panel p:not(.section-kicker) {
  margin: 1rem 0 1.3rem;
  color: var(--muted);
}

.message-link {
  display: inline-block;
  margin-top: 1rem;
}

@media (min-width: 560px) {
  .nav-links {
    display: flex;
  }

  .hero-actions,
  .cta-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }

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

  .form-footer {
    grid-template-columns: minmax(12rem, max-content) 1fr;
  }

  .button {
    min-width: 12rem;
  }

  h1 {
    font-size: 4rem;
  }
}

@media (min-width: 760px) {
  .site-header,
  .hero-content,
  .section-inner {
    width: min(100% - 3rem, 1120px);
  }

  .hero {
    min-height: 82svh;
  }

  .hero-content {
    padding-bottom: 4.5rem;
  }

  .hero-copy {
    font-size: 1.16rem;
  }

  h2 {
    font-size: 2.35rem;
  }

  .intro-grid,
  .about-layout,
  .retry-layout,
  .cta-layout {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
  }

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

  .audience-layout {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .footer-layout {
    grid-template-columns: 0.6fr 1.4fr;
  }
}

@media (min-width: 1040px) {
  .hero-content {
    padding-bottom: 5rem;
  }

  h1 {
    font-size: 5.2rem;
  }

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

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

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