/* ============================================================
   AUREVIA — design system
   1. Tokens   2. Base   3. Layout   4. Components   5. Sections
   6. Mockups  7. Forms  8. Motion & responsive
   Change the look of the whole site by editing the tokens below.
   ============================================================ */

/* 1. TOKENS ------------------------------------------------ */
:root {
  --navy-950: #070f1a;
  --navy-900: #0b1626;
  --navy-800: #12233a;
  --navy-700: #1b3250;
  --navy-600: #2a4568;

  --gold-500: #e3a83b;
  --gold-400: #ebbb5e;
  --gold-300: #f3d08c;
  --gold-100: #fbf1dc;
  --gold-700: #8a5a00; /* gold used as text on light backgrounds */

  --paper: #f7f6f2;
  --paper-2: #efede6;
  --white: #ffffff;
  --ink: #0f1b2d;
  --muted: #55606e;
  --line: #e2dfd5;
  --control: #858c9a;
  --danger: #b42318;
  --success-bg: #e8f5ec;
  --success: #14452a;

  --font-sans: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-display: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11, 22, 38, 0.06), 0 1px 3px rgba(11, 22, 38, 0.05);
  --shadow-md: 0 10px 30px rgba(11, 22, 38, 0.1);
  --shadow-lg: 0 24px 60px rgba(11, 22, 38, 0.18);

  --container: 1160px;
  --header-h: 72px;
}

/* 2. BASE -------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
h1,
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.12;
  color: var(--navy-900);
}
h1 {
  font-size: clamp(2.35rem, 5.4vw, 3.9rem);
}
h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
}
h3,
.h3 {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--navy-900);
}
.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
}
:focus-visible {
  outline: 2px solid var(--navy-900);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--gold-400);
  border-radius: 4px;
}
::selection {
  background: var(--gold-300);
  color: var(--navy-900);
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 1000;
  background: var(--navy-900);
  color: #fff;
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 12px;
}
main:focus {
  outline: none;
}

/* 3. LAYOUT ------------------------------------------------ */
.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}
.container--narrow {
  width: min(780px, calc(100% - 40px));
}
.section {
  padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}
.section--tight {
  padding-top: clamp(2rem, 4vw, 3rem);
}
.section--alt {
  background: var(--paper-2);
}
.section--dark {
  background: var(--navy-900);
  color: #dfe5ee;
}
.section--dark h2,
.section--dark h3 {
  color: #fff;
}
.section--dark .lead,
.section--dark .eyebrow {
  color: #b5c0cf;
}
.grid {
  display: grid;
  gap: 20px;
}
.grid--1 {
  grid-template-columns: 1fr;
}
.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.section-actions {
  margin-top: 2.5rem;
}
.note {
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 70ch;
}
.note a {
  color: var(--navy-900);
  font-weight: 600;
}
.note--center {
  margin-inline: auto;
  text-align: center;
}
.prose p + p {
  margin-top: 1.1em;
}
.prose {
  color: var(--muted);
}

/* 4. COMPONENTS -------------------------------------------- */
/* Headings */
.section-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 46rem;
}
.section-head--center {
  margin-inline: auto;
  text-align: center;
}
.section-head--center .lead {
  margin-inline: auto;
}
.section-head h2 + .lead {
  margin-top: 1rem;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-700);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: currentColor;
  flex: none;
}
.section-head--center .eyebrow {
  justify-content: center;
}
.eyebrow--gold {
  color: var(--gold-400);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.8rem 1.4rem;
  border-radius: 10px;
  border: 2px solid transparent;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn .icon {
  transition: transform 0.2s ease;
}
.btn:hover .icon {
  transform: translateX(3px);
}
.btn--primary {
  background: var(--gold-500);
  color: var(--navy-900);
}
.btn--primary:hover {
  background: var(--gold-400);
}
.btn--dark {
  background: var(--navy-900);
  color: #fff;
}
.btn--dark:hover {
  background: var(--navy-700);
}
.btn--secondary {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--navy-900);
}
.btn--secondary:hover {
  background: var(--navy-900);
  color: #fff;
}
.btn--light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn--light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.btn--block {
  width: 100%;
}
.btn[disabled] {
  opacity: 0.65;
  cursor: progress;
  transform: none;
}

/* Cards */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.card h3 + p {
  margin-top: 0.6rem;
}
.card > p {
  color: var(--muted);
}
.panel:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
}
.feature .icon-tile {
  margin-bottom: 1.1rem;
}
.section--dark .card {
  background: var(--navy-800);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: none;
}
.section--dark .card > p {
  color: #b5c0cf;
}
.section--dark .card:hover {
  border-color: rgba(227, 168, 59, 0.5);
  box-shadow: none;
}
.icon-tile {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--gold-100);
  color: var(--gold-700);
  flex: none;
}
.section--dark .icon-tile {
  background: rgba(227, 168, 59, 0.14);
  color: var(--gold-400);
}
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-weight: 700;
  color: var(--navy-900);
  text-decoration: none;
  border-bottom: 2px solid var(--gold-500);
  padding-bottom: 2px;
}
.card-link:hover {
  color: var(--gold-700);
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.badge--available {
  background: #e3f3e8;
  color: #14452a;
}
.badge--planned {
  background: var(--paper-2);
  color: var(--muted);
  border: 1px solid var(--line);
}
.badge--concept {
  background: var(--gold-100);
  color: var(--gold-700);
}

/* Check list */
.check-list {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.25rem;
}
.check-list li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}
.check-list .icon {
  flex: none;
  margin-top: 0.2em;
  color: var(--gold-700);
}
.section--dark .check-list .icon,
.service-card--featured .check-list .icon {
  color: var(--gold-400);
}

/* FAQ */
.faq {
  border-top: 1px solid var(--line);
}
.faq__item {
  border-bottom: 1px solid var(--line);
}
.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy-900);
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker {
  display: none;
}
.faq__item summary::after {
  content: '+';
  content: '+' / '';
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gold-100);
  color: var(--gold-700);
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq__item[open] summary::after {
  transform: rotate(45deg);
}
.faq__answer {
  padding: 0 3rem 1.4rem 0;
  color: var(--muted);
}

/* Steps */
.steps {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}
.step__num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--gold-700);
  line-height: 1;
  padding-top: 0.15rem;
}
.step h3 + p {
  margin-top: 0.4rem;
  color: var(--muted);
}
.step__details {
  display: grid;
  gap: 0.35rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.97rem;
}
.step__details li {
  position: relative;
  padding-left: 1.2rem;
}
.step__details li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-500);
}
.process-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.process-card__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--gold-700);
  margin-bottom: 0.9rem;
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  right: -120px;
  top: -140px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  border: 1px solid rgba(227, 168, 59, 0.45);
  box-shadow: 0 0 0 44px rgba(227, 168, 59, 0.06), 0 0 0 88px rgba(227, 168, 59, 0.04);
  pointer-events: none;
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero__inner {
  max-width: 52rem;
}
.page-hero h1 + .lead {
  margin-top: 1.25rem;
}
.page-hero .actions {
  margin-top: 2rem;
}

/* CTA band */
.cta-band {
  position: relative;
  background: var(--navy-900);
  color: #fff;
  padding: clamp(3rem, 6vw, 4.75rem) 0;
  overflow: hidden;
}
.cta-band::after {
  content: '';
  position: absolute;
  right: 6%;
  top: -170px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(227, 168, 59, 0.3);
  box-shadow: 0 0 0 40px rgba(227, 168, 59, 0.05), 0 0 0 80px rgba(227, 168, 59, 0.03);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h2 {
  color: #fff;
  max-width: 22ch;
}
.cta-band p {
  margin-top: 0.8rem;
  color: #b5c0cf;
  max-width: 48ch;
}

/* 5. SECTIONS ---------------------------------------------- */
/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 246, 242, 0.94);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 6px 24px rgba(11, 22, 38, 0.08);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
  flex-wrap: wrap;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--navy-900);
}
.logo__word {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.logo--light {
  color: #fff;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.site-nav ul {
  display: flex;
  gap: 1.5rem;
}
.site-nav li a:not(.btn) {
  display: inline-block;
  padding: 0.35rem 0;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
}
.site-nav li a:not(.btn):hover,
.site-nav li a[aria-current='page'] {
  color: var(--navy-900);
}
.site-nav li a[aria-current='page'] {
  border-bottom-color: var(--gold-500);
}
.site-nav .btn {
  min-height: 44px;
  padding: 0.6rem 1.15rem;
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--navy-900);
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--navy-900);
  color: #dfe5ee;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem);
}
.hero::before {
  content: '';
  position: absolute;
  right: -180px;
  top: -200px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  border: 1px solid rgba(227, 168, 59, 0.25);
  box-shadow: 0 0 0 70px rgba(227, 168, 59, 0.035), 0 0 0 140px rgba(227, 168, 59, 0.025);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 {
  color: #fff;
}
.hero h1 em {
  font-style: italic;
  color: var(--gold-400);
}
.hero__lead {
  margin-top: 1.4rem;
  font-size: clamp(1.1rem, 1.7vw, 1.3rem);
  line-height: 1.6;
  color: #c4cedb;
  max-width: 34rem;
}
.hero .actions {
  margin-top: 2rem;
}
.hero__points {
  display: grid;
  gap: 0.6rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  max-width: 34rem;
  color: #c4cedb;
}
.hero__points li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
}
.hero__points .icon {
  color: var(--gold-400);
  flex: none;
  margin-top: 0.15em;
}

/* Audience strip */
.audience {
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.audience__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
  padding: 1.35rem 0;
}
.audience__inner > p {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.audience ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  color: var(--navy-800);
  font-weight: 600;
}
.audience li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.audience li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-500);
}

/* Service card */
.service-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.service-card--planned {
  background: transparent;
  box-shadow: none;
  border-style: dashed;
}
.service-card--planned:hover {
  transform: none;
  box-shadow: none;
}
.service-card--planned .icon-tile {
  background: var(--paper-2);
  color: var(--muted);
}
.service-card--featured {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #dfe5ee;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0 3rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
}
.service-card--featured .service-card__top {
  grid-column: 1;
}
.service-card--featured h3 {
  grid-column: 1;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}
.service-card--featured > p {
  grid-column: 1;
  color: #b5c0cf;
}
.service-card--featured .check-list {
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: center;
  margin-top: 0;
}
.service-card--featured .card-link {
  grid-column: 1;
  justify-self: start;
  color: #fff;
}
.service-card--featured .card-link:hover {
  color: var(--gold-300);
}
.service-card--featured .badge--available {
  background: rgba(227, 168, 59, 0.16);
  color: var(--gold-300);
}

/* Pricing */
.pricing-grid {
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
}
.price-card--featured {
  border: 2px solid var(--gold-500);
  box-shadow: var(--shadow-md);
}
.price-card__badge {
  position: absolute;
  top: -14px;
  left: 1.75rem;
  background: var(--gold-500);
  color: var(--navy-900);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
}
.price-card__desc {
  min-height: 3.2em;
}
.price-card__price {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.5rem;
}
.price-card__label,
.price-card__note {
  font-size: 0.9rem;
  color: var(--muted);
}
.price-card__amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1.1;
  font-weight: 600;
  color: var(--navy-900);
}
.price-card__pages {
  margin-top: 0.5rem;
  font-weight: 700;
  color: var(--navy-900);
}
.price-card .check-list {
  flex: 1;
  margin-bottom: 1.75rem;
}
.price-card .btn {
  width: 100%;
}

/* Project cards */
.project-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.project-card__visual {
  padding: 1.25rem 1.25rem 0;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}
.project-card__visual .mock {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: 0;
  box-shadow: none;
}
.project-card__img {
  width: 100%;
  height: auto;
  border-radius: 10px 10px 0 0;
}
.project-card__body {
  padding: 1.5rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.project-card__tag {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.project-card__fiction {
  margin-top: 0.25rem;
  font-size: 0.92rem;
  color: var(--muted);
  font-style: italic;
}
.project-card__facts {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.1rem;
}
.project-card__facts dt {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.project-card__facts dd {
  color: var(--muted);
  margin-top: 0.15rem;
}

/* Contact page */
.contact-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.contact-aside {
  display: grid;
  gap: 20px;
  position: sticky;
  top: calc(var(--header-h) + 20px);
}
.contact-list {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.25rem;
}
.contact-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.contact-list .icon {
  color: var(--gold-700);
  margin-top: 0.2em;
  flex: none;
}
.contact-list span {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-list a,
.contact-list p {
  color: var(--navy-900);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.next-steps {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
  counter-reset: step;
}
.next-steps li {
  position: relative;
  padding-left: 2.6rem;
  color: var(--muted);
  counter-increment: step;
}
.next-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.9rem;
  height: 1.9rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--gold-400);
  font-weight: 700;
  font-size: 0.9rem;
}
.next-steps strong {
  color: var(--navy-900);
}
.system-page {
  min-height: 55vh;
}
.system-page h1 {
  margin-bottom: 1.25rem;
}
.system-page .actions {
  margin-top: 2rem;
}
.owner__role {
  color: var(--gold-700);
  font-weight: 700;
  margin: 0.25rem 0 1rem;
}

/* Footer */
.site-footer {
  background: var(--navy-950);
  color: #aab6c6;
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr;
  gap: 2.5rem;
}
.site-footer__brand p {
  margin-top: 1rem;
  max-width: 30ch;
  font-size: 0.97rem;
}
.site-footer__title {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 1rem;
}
.site-footer ul {
  display: grid;
  gap: 0.6rem;
}
.site-footer a {
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.site-footer :focus-visible {
  outline-color: #fff;
}
.site-footer__contact li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}
.site-footer__contact .icon {
  color: var(--gold-400);
  margin-top: 0.2em;
  flex: none;
}
.site-footer__contact a,
.site-footer__contact span {
  overflow-wrap: anywhere;
}
.site-footer__social {
  margin-top: 1rem;
}
.site-footer__legal {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: 1.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* 6. MOCKUPS ----------------------------------------------- */
.mock {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  container-type: inline-size;
}
.mock__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #f1efe9;
  border-bottom: 1px solid var(--line);
}
.mock__bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d5d1c6;
}
.mock__url {
  flex: 1;
  margin-left: 10px;
  padding: 3px 12px;
  border-radius: 6px;
  background: #fff;
  color: #7c828c;
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mock__body {
  position: relative;
  aspect-ratio: 16 / 11;
  background: var(--p-bg);
  color: var(--p-fg);
  overflow: hidden;
}
.mock__nav {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 4.2cqw;
  padding: 3.2cqw 4.5cqw;
  font-size: 2.6cqw;
  font-weight: 600;
  border-bottom: 1px solid color-mix(in srgb, var(--p-fg) 14%, transparent);
}
.mock__nav b {
  margin-right: auto;
  font-size: 3.2cqw;
  letter-spacing: 0.04em;
}
.mock__copy {
  position: relative;
  z-index: 3;
  padding: 5.5cqw 4.5cqw;
  max-width: 60%;
}
.mock__copy small {
  display: block;
  font-size: 2.3cqw;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.8;
}
.mock__copy strong {
  display: block;
  margin: 2cqw 0 3.2cqw;
  font-family: var(--font-display);
  font-size: 6.8cqw;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.mock__cta {
  display: inline-block;
  padding: 1.7cqw 3cqw;
  border-radius: 1.2cqw;
  background: var(--p-cta);
  color: var(--p-ctafg);
  font-size: 2.5cqw;
  font-weight: 700;
}
.mock__art {
  position: absolute;
  inset: auto 0 0 0;
  height: 62%;
  z-index: 1;
}
.mock__art svg {
  width: 100%;
  height: 100%;
}
/* Scenes that sit in the lower-right corner so they never run under the headline */
.mock__art--right {
  inset: auto 0 0 auto;
  width: 46%;
  height: 56%;
}

/* Hero visual: desktop + phone + chips */
.hero-visual {
  position: relative;
  padding: 0 0 2.5rem;
}
.hero-visual__desktop {
  position: relative;
  z-index: 1;
  transform: rotate(1.2deg);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 255, 255, 0.12);
}
.hero-visual__stage {
  position: relative;
}
.hero-visual__phone {
  position: absolute;
  z-index: 3;
  right: -14px;
  bottom: -2.5rem;
  width: 30%;
  min-width: 118px;
}
.phone {
  background: #0b1626;
  border-radius: 24px;
  padding: 6px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transform: rotate(-3deg);
}
.phone__notch {
  width: 34%;
  height: 5px;
  margin: 2px auto 6px;
  border-radius: 4px;
  background: #2a4568;
}
.phone__screen {
  position: relative;
  aspect-ratio: 9 / 17;
  background: #f6f1e6;
  color: #1b2a3d;
  border-radius: 18px;
  padding: 10px 9px;
  overflow: hidden;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.phone__screen b {
  font-size: 7.5cqw;
  letter-spacing: 0.04em;
}
.phone__screen strong {
  font-family: var(--font-display);
  font-size: 13.5cqw;
  line-height: 1.05;
  font-weight: 600;
  margin: 2px 0 3px;
}
.phone__screen .mock__cta {
  align-self: flex-start;
  font-size: 7cqw;
  padding: 4cqw 7cqw;
  border-radius: 3cqw;
  --p-cta: #0b1626;
  --p-ctafg: #fff;
}
.phone__art {
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  --p-bg: #f6f1e6;
  --p-fg: #1b2a3d;
  --p-a: #c9a25c;
  --p-b: #e3a83b;
}
.phone__art svg {
  width: 100%;
  height: 100%;
}
.hero-visual__chips {
  position: absolute;
  z-index: 4;
  left: -10px;
  bottom: -4px;
  display: grid;
  gap: 8px;
}
.hero-visual__chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  color: var(--navy-900);
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
}
.hero-visual__chips .icon {
  color: var(--gold-700);
}

/* 7. FORMS ------------------------------------------------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-md);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem 1.25rem;
}
.field {
  display: grid;
  gap: 0.4rem;
  align-content: start;
  min-width: 0;
}
.field--wide {
  grid-column: 1 / -1;
}
.field label {
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--navy-900);
}
.req {
  color: var(--danger);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.7rem 0.9rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--control);
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230b1626' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--navy-600);
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  border-color: var(--navy-900);
  outline: 2px solid var(--navy-900);
  outline-offset: 1px;
  box-shadow: 0 0 0 5px var(--gold-300);
  border-radius: 10px;
}
.field__hint {
  font-size: 0.9rem;
  color: var(--muted);
}
.field__error {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--danger);
}
.field--invalid input,
.field--invalid select,
.field--invalid textarea {
  border-color: var(--danger);
  background-color: #fff8f7;
}
.form-note {
  margin: 1.25rem 0 1.5rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.form-status {
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.form-status p + p {
  margin-top: 0.5rem;
}
.form-status--error {
  background: #fdf0ee;
  border: 1px solid #f0b8b1;
  color: #7a1a10;
}
.form-status--error a {
  color: inherit;
  font-weight: 700;
}
.form-status--success {
  background: var(--success-bg);
  border: 1px solid #a9d5b8;
  color: var(--success);
  margin: 0;
  padding: 1.75rem;
}
.form-status--success h3 {
  color: var(--success);
  margin-bottom: 0.4rem;
}
.form-status[hidden],
.field__error[hidden] {
  display: none;
}

/* 8. MOTION & RESPONSIVE ----------------------------------- */
/* Content stays visible without JavaScript; with JS it fades up as you scroll. */
.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
.js .reveal.card.is-visible:hover {
  transform: translateY(-3px);
}
.js .reveal.panel.is-visible:hover {
  transform: none;
}

@media (max-width: 1020px) {
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }
  .service-card--featured {
    grid-template-columns: 1fr;
  }
  .service-card--featured .check-list {
    grid-column: 1;
    grid-row: auto;
    margin-top: 1.25rem;
  }
}

@media (max-width: 900px) {
  .js .nav-toggle {
    display: inline-flex;
  }
  .site-header__inner {
    min-height: var(--header-h);
  }
  .site-nav {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 1rem;
    padding: 0.5rem 0 1.25rem;
  }
  .js .site-nav {
    display: none;
  }
  .js .site-nav.is-open {
    display: flex;
  }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .site-nav li a:not(.btn) {
    display: block;
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }
  .site-nav li a[aria-current='page'] {
    border-bottom-color: var(--gold-500);
  }
  .site-nav .btn {
    width: 100%;
  }
  .process-layout,
  .split,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-aside {
    position: static;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 1rem;
  }
  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .faq__answer {
    padding-right: 0;
  }
  .step {
    grid-template-columns: 44px 1fr;
  }
  .hero-visual__chips {
    position: static;
    margin-top: 2.25rem;
    display: flex;
    flex-wrap: wrap;
  }
  .hero-visual {
    padding-bottom: 0;
  }
  .hero-visual__phone {
    right: -6px;
    bottom: -1.25rem;
  }
  .cta-band__inner .actions,
  .cta-band__inner .btn {
    width: 100%;
  }
  .page-hero .actions .btn,
  .hero .actions .btn {
    width: 100%;
  }
}

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