:root {
  --ink: #13202c;
  --muted: #5f7181;
  --night: #071b2f;
  --night-2: #0d2c49;
  --blue: #1268b3;
  --teal: #16a7a1;
  --green: #3aa66e;
  --amber: #d98b18;
  --coral: #d85d4f;
  --paper: #ffffff;
  --soft: #f4f8f9;
  --soft-teal: #e8f7f6;
  --line: #dbe5eb;
  --shadow: 0 18px 45px rgba(7, 27, 47, 0.12);
  --radius: 8px;
  --container: 1180px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 18px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--night);
  border-radius: var(--radius);
  transform: translateY(-140%);
}

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

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--teal), var(--amber));
  transform: scaleX(var(--scroll-progress, 0));
  transform-origin: left;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(219, 229, 235, 0.86);
  backdrop-filter: blur(14px);
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 12px 35px rgba(7, 27, 47, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 42%),
    linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: var(--radius);
  font-weight: 900;
  letter-spacing: 0;
  transition: transform 180ms ease;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  color: var(--night);
  font-size: 1.12rem;
  letter-spacing: 0;
}

.brand small {
  margin-top: 3px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav {
  display: none;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
  padding: 12px 16px 18px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.site-nav.is-open {
  display: grid;
  gap: 4px;
}

.site-nav a {
  padding: 12px;
  color: var(--night-2);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
  transition: color 160ms ease, background-color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
  background: var(--soft-teal);
}

.nav-toggle {
  display: inline-grid;
  gap: 5px;
  width: 44px;
  height: 44px;
  place-content: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--night);
  border-radius: 999px;
}

.header-cta {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  color: var(--paper);
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border: 0;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(18, 104, 179, 0.18);
  font-weight: 800;
  line-height: 1.15;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(18, 104, 179, 0.25);
}

.button-secondary {
  color: var(--paper);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.36);
  box-shadow: none;
}

.button-small {
  min-height: 40px;
  padding: 10px 16px;
  font-size: 0.9rem;
}

.header-cta {
  display: none;
}

.button-full {
  width: 100%;
}

.section {
  position: relative;
  padding: 72px 0;
  overflow: clip;
}

.section-soft {
  background:
    linear-gradient(135deg, rgba(22, 167, 161, 0.05), transparent 44%),
    var(--soft);
}

.section-dark {
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, #071b2f 0%, #0d2c49 58%, #125768 100%);
  background-size: 54px 54px, 54px 54px, auto;
  background-position:
    calc(var(--hero-shift, 0px) * -0.35) calc(var(--hero-shift, 0px) * -0.18),
    calc(var(--hero-shift, 0px) * 0.22) calc(var(--hero-shift, 0px) * -0.32),
    center;
}

.hero {
  min-height: calc(100svh - var(--header-height));
  padding: 66px 0 58px;
}

.hero-grid {
  display: grid;
  gap: 34px;
  align-items: center;
  min-height: calc(100svh - var(--header-height) - 124px);
}

.hero-content {
  animation: heroCopyIn 680ms ease both;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 12px;
  color: #65d5cc;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  color: inherit;
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(2.35rem, 12vw, 3.25rem);
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

.section h2 {
  color: var(--night);
  font-size: clamp(1.85rem, 8vw, 2.35rem);
  line-height: 1.1;
}

.section-dark h2 {
  color: var(--paper);
}

.hero-lead {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
  max-width: 690px;
  text-wrap: pretty;
}

.hero-short {
  margin: 18px 0 0;
  color: #dff9f6;
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 0;
}

.proof-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.proof-list li {
  padding: 7px 11px;
  color: #e0f8f6;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  animation: tagIn 520ms ease both;
}

.proof-list li:nth-child(1) { animation-delay: 180ms; }
.proof-list li:nth-child(2) { animation-delay: 230ms; }
.proof-list li:nth-child(3) { animation-delay: 280ms; }
.proof-list li:nth-child(4) { animation-delay: 330ms; }
.proof-list li:nth-child(5) { animation-delay: 380ms; }
.proof-list li:nth-child(6) { animation-delay: 430ms; }
.proof-list li:nth-child(7) { animation-delay: 480ms; }
.proof-list li:nth-child(8) { animation-delay: 530ms; }

.hero-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 28px;
  max-width: 590px;
}

.hero-metrics div {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  color: var(--paper);
  font-size: 1.12rem;
  line-height: 1.15;
}

.hero-metrics span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.84rem;
}

.hero-showcase {
  position: relative;
  width: min(100%, 720px);
  min-height: auto;
  justify-self: center;
  display: grid;
  gap: 14px;
  animation: heroVisualIn 820ms ease 180ms both;
  transform-style: preserve-3d;
}

.hero-showcase::before {
  content: "";
  position: absolute;
  inset: 9% 4% auto auto;
  width: 72%;
  height: 72%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(22, 167, 161, 0.1)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  transform: rotate(-4deg);
}

.hero-visual {
  position: relative;
  z-index: 1;
  width: min(82%, 560px);
  margin: 0 0 0 auto;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  transform: none;
}

.hero-visual img {
  width: 100%;
  border-radius: 6px;
}

.hero-photo {
  position: relative;
  z-index: 0;
  width: min(88%, 620px);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 27, 47, 0.12), rgba(7, 27, 47, 0.4)),
    linear-gradient(180deg, transparent 45%, rgba(7, 27, 47, 0.34));
  pointer-events: none;
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 16 / 10.6;
  object-fit: cover;
  transform: scale(1.02);
  animation: photoDrift 12s ease-in-out infinite;
}

.scan-beam {
  position: absolute;
  z-index: 2;
  top: 38%;
  left: 8%;
  width: 48%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255, 94, 80, 0.2), #ff6b5f, rgba(255, 94, 80, 0.2), transparent);
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(255, 94, 80, 0.82);
  opacity: 0.92;
  animation: scanSweep 2.8s ease-in-out infinite;
  pointer-events: none;
}

.hero-focus-card {
  position: relative;
  z-index: 2;
  width: min(82%, 380px);
  margin: 0 0 0 auto;
  padding: 18px 20px;
  color: var(--paper);
  background: rgba(7, 27, 47, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.23);
  backdrop-filter: blur(16px);
}

.maroc-strip {
  padding: 34px 0;
  background:
    linear-gradient(135deg, rgba(22, 167, 161, 0.1), transparent 42%),
    #ffffff;
  border-bottom: 1px solid var(--line);
}

.maroc-inner {
  display: grid;
  gap: 20px;
  align-items: center;
}

.maroc-strip .section-kicker {
  margin-bottom: 8px;
}

.maroc-strip h2 {
  margin: 0;
  color: var(--night);
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(1.45rem, 4vw, 2rem);
  line-height: 1.12;
  text-wrap: balance;
}

.maroc-strip p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

.maroc-strip ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.maroc-strip li {
  padding: 8px 12px;
  color: var(--night-2);
  background: var(--soft-teal);
  border: 1px solid #bde8e4;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 850;
}

.hero-focus-card span,
.hero-focus-card strong {
  display: block;
}

.hero-focus-card span {
  color: #65d5cc;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-focus-card strong {
  margin-top: 7px;
  font-size: 1rem;
  line-height: 1.35;
}

.section-heading {
  max-width: 880px;
  margin-bottom: 34px;
}

.section-heading p,
.split-layout p,
.annual-grid p,
.contact-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  text-wrap: pretty;
}

.section-heading.invert p,
.section-dark .section-note {
  color: rgba(255, 255, 255, 0.78);
}

.pain-grid,
.benefit-grid,
.feature-grid,
.screenshot-grid,
.audit-list {
  display: grid;
  gap: 18px;
}

.pain-card,
.info-card,
.feature-card,
.screenshot-card,
.result-panel,
.contact-form,
.audit-list article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(7, 27, 47, 0.06);
}

.pain-card,
.info-card,
.feature-card,
.audit-list article {
  position: relative;
  overflow: hidden;
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.pain-card::after,
.info-card::after,
.feature-card::after,
.audit-list article::after,
.screenshot-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(22, 167, 161, 0.12), transparent 44%);
  opacity: 0;
  transition: opacity 220ms ease;
  pointer-events: none;
}

.pain-card:hover,
.info-card:hover,
.feature-card:hover,
.audit-list article:hover,
.screenshot-card:hover {
  transform: translateY(-6px);
  border-color: rgba(22, 167, 161, 0.45);
  box-shadow: 0 18px 42px rgba(7, 27, 47, 0.1);
}

.pain-card:hover::after,
.info-card:hover::after,
.feature-card:hover::after,
.audit-list article:hover::after,
.screenshot-card:hover::after {
  opacity: 1;
}

.pain-card span,
.card-index {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
}

.pain-card:nth-child(2) span,
.info-card:nth-child(2n) .card-index {
  color: var(--teal);
}

.pain-card:nth-child(3) span,
.info-card:nth-child(3n) .card-index {
  color: var(--amber);
}

.pain-card h3,
.info-card h3,
.feature-card h3,
.process-list h3,
.screenshot-card h3,
.result-panel h3,
.audit-list h3 {
  margin: 0;
  color: var(--night);
  font-size: 1.12rem;
  line-height: 1.25;
  text-wrap: balance;
}

.pain-card p,
.info-card p,
.feature-card p,
.process-list p,
.screenshot-card p,
.audit-list p {
  margin: 10px 0 0;
  color: var(--muted);
}

.statement {
  margin-top: 30px;
  padding: 28px;
  color: var(--paper);
  background: linear-gradient(135deg, var(--night), var(--blue) 58%, var(--teal));
  border-radius: var(--radius);
  font-family: Manrope, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1.18;
  text-align: center;
}

.statement.compact {
  font-size: 1.25rem;
}

.section-note {
  margin: 30px 0 0;
  padding: 18px 20px;
  color: var(--night-2);
  background: var(--soft-teal);
  border: 1px solid #bde8e4;
  border-radius: var(--radius);
  font-weight: 800;
}

.section-note.inline {
  display: block;
  margin-top: 26px;
}

.field-section {
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
}

.split-layout {
  display: grid;
  gap: 30px;
}

.process-list {
  display: grid;
  gap: 14px;
}

.process-list article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 26px rgba(7, 27, 47, 0.05);
}

.process-list span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--paper);
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: var(--radius);
  font-weight: 900;
}

.photo-grid {
  display: grid;
  gap: 18px;
}

.photo-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(219, 229, 235, 0.92);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(7, 27, 47, 0.12);
  isolation: isolate;
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.photo-team {
  background-image: url("../img/photos/photo-team-inventory.webp");
  background-position: 44% center;
}

.photo-scan {
  background-image: url("../img/photos/photo-scan-warehouse.webp");
}

.photo-report {
  background-image: url("../img/photos/photo-report-audit.webp");
}

.photo-card:hover {
  box-shadow: 0 28px 70px rgba(7, 27, 47, 0.18);
}

.photo-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  transition: transform 420ms ease;
}

.photo-card:hover img {
  transform: scale(1.07);
}

.photo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 27, 47, 0.05), rgba(7, 27, 47, 0.76)),
    radial-gradient(circle at var(--pointer-x, 50%) var(--pointer-y, 50%), rgba(255, 255, 255, 0.2), transparent 28%);
  pointer-events: none;
}

.photo-overlay {
  position: absolute;
  inset: auto 18px 18px;
  z-index: 2;
  padding: 18px;
  color: var(--paper);
  background: rgba(7, 27, 47, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(12px);
}

.photo-overlay span {
  display: inline-flex;
  margin-bottom: 8px;
  color: #65d5cc;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.photo-overlay h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.26;
  text-wrap: balance;
}

.live-strip {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding: 12px;
  overflow-x: auto;
  color: var(--night);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(7, 27, 47, 0.06);
  scrollbar-width: none;
}

.live-strip::-webkit-scrollbar {
  display: none;
}

.live-strip span {
  position: relative;
  flex: 0 0 auto;
  padding: 9px 13px 9px 31px;
  background: var(--soft-teal);
  border: 1px solid #bde8e4;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 850;
}

.live-strip span::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 50%;
  width: 8px;
  height: 8px;
  background: var(--teal);
  border-radius: 50%;
  transform: translateY(-50%);
  box-shadow: 0 0 0 0 rgba(22, 167, 161, 0.42);
  animation: dotPulse 2s ease-in-out infinite;
}

.live-strip span:nth-child(2n)::before {
  background: var(--blue);
  animation-delay: 280ms;
}

.live-strip span:nth-child(3n)::before {
  background: var(--amber);
  animation-delay: 560ms;
}

.feature-card {
  min-height: 178px;
  padding-left: 30px;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 16px;
  width: 4px;
  height: 34px;
  background: linear-gradient(var(--teal), var(--blue));
  border-radius: 999px;
  transition: height 180ms ease;
}

.feature-card:nth-child(3n)::before {
  background: linear-gradient(var(--amber), var(--teal));
}

.feature-card:hover::before {
  height: 46px;
}

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

.screenshot-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.screenshot-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  transition: transform 260ms ease;
}

.screenshot-card:hover img {
  transform: scale(1.025);
}

.screenshot-card div {
  padding: 20px;
}

.annual-grid {
  display: grid;
  gap: 28px;
  align-items: start;
}

.result-panel {
  padding: 24px;
}

.result-panel ul {
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.result-panel li,
.contact-details a,
.contact-details span {
  position: relative;
  display: block;
}

.result-panel li {
  padding: 11px 0 11px 28px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.result-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 11px;
  height: 11px;
  background: var(--teal);
  border-radius: 50%;
}

.audit-list article {
  padding: 22px;
}

.contact-section {
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(7, 27, 47, 0.97), rgba(13, 44, 73, 0.96)),
    var(--night);
}

.contact-grid {
  display: grid;
  gap: 28px;
}

.contact-copy h2 {
  color: var(--paper);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  color: #def8f5;
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 20px;
  color: var(--ink);
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--night);
  font-size: 0.9rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  color: var(--ink);
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: none;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(22, 167, 161, 0.18);
}

.form-reassurance {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  padding: 30px 0;
  color: rgba(255, 255, 255, 0.78);
  background: #041424;
}

.footer-inner {
  display: grid;
  gap: 16px;
  align-items: center;
}

.footer-brand strong {
  color: var(--paper);
}

.footer-brand small {
  color: #65d5cc;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #65d5cc;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 520ms ease, transform 520ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

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

@keyframes heroVisualIn {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }

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

@keyframes showcaseFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes photoDrift {
  0%,
  100% {
    transform: scale(1.02) translate3d(0, 0, 0);
  }

  50% {
    transform: scale(1.07) translate3d(-10px, -4px, 0);
  }
}

@keyframes scanSweep {
  0%,
  100% {
    transform: translateY(-18px) scaleX(0.62);
    opacity: 0.38;
  }

  45% {
    transform: translateY(44px) scaleX(1);
    opacity: 1;
  }
}

@keyframes dotPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(22, 167, 161, 0.42);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(22, 167, 161, 0);
  }
}

@keyframes tagIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }

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

@media (min-width: 680px) {
  .container {
    width: min(100% - 48px, var(--container));
  }

  .hero {
    padding: 86px 0 72px;
  }

  .hero h1 {
    font-size: clamp(3.05rem, 6vw, 4.15rem);
  }

  .section h2 {
    font-size: clamp(2.15rem, 4vw, 3rem);
  }

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

  .hero-metrics div {
    display: block;
  }

  .hero-metrics span {
    margin-top: 5px;
  }

  .pain-grid,
  .benefit-grid,
  .feature-grid,
  .screenshot-grid,
  .audit-list,
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-card-large {
    grid-row: span 2;
    min-height: 680px;
  }

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

  .field-wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 980px) {
  .section {
    padding: 96px 0;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 5vw, 4.6rem);
    line-height: 0.98;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(450px, 1.08fr);
    gap: clamp(34px, 4vw, 72px);
  }

  .hero-showcase {
    justify-self: end;
  }

  .maroc-inner {
    grid-template-columns: minmax(260px, 0.92fr) minmax(0, 1.08fr);
  }

  .maroc-strip ul {
    grid-column: 1 / -1;
  }

  .photo-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  }

  .hero-focus-card {
    position: absolute;
    right: clamp(10px, 4vw, 36px);
    bottom: clamp(-22px, -2vw, -10px);
    width: min(335px, 74%);
    margin: 0;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .site-nav a {
    padding: 10px 8px;
    font-size: 0.86rem;
    white-space: nowrap;
  }

  .nav-toggle {
    display: none;
  }

  .header-cta {
    display: inline-flex;
  }

  .pain-grid,
  .benefit-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .split-layout,
  .annual-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  }

  .sticky-copy {
    position: sticky;
    top: calc(var(--header-height) + 30px);
  }

  .footer-inner {
    grid-template-columns: auto 1fr auto auto auto;
  }
}

@media (min-width: 1180px) {
  .site-nav a {
    padding-inline: 10px;
    font-size: 0.9rem;
  }
}

@media (max-width: 979px) {
  :root {
    --header-height: 70px;
  }

  .hero {
    min-height: auto;
    padding: 52px 0 52px;
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .site-nav a {
    min-height: 46px;
    display: flex;
    align-items: center;
  }

  .sticky-copy {
    position: static;
  }
}

@media (max-width: 679px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .hero-actions .button,
  .button-full {
    width: 100%;
  }

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

  .proof-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    text-align: center;
  }

  .section {
    padding: 54px 0;
  }

  .hero-photo {
    width: 100%;
  }

  .hero-photo img {
    aspect-ratio: 4 / 3;
  }

  .hero-visual {
    width: 100%;
    transform: none;
  }

  .scan-beam {
    top: 36%;
    left: 8%;
    width: 62%;
  }

  .hero-focus-card {
    width: 100%;
  }

  .pain-card,
  .info-card,
  .feature-card,
  .result-panel,
  .audit-list article,
  .screenshot-card div,
  .statement {
    padding: 20px;
  }

  .feature-card {
    min-height: auto;
  }

  .photo-card,
  .photo-card-large {
    min-height: 360px;
  }

  .photo-overlay {
    inset: auto 14px 14px;
    padding: 15px;
  }

  .footer-inner {
    text-align: center;
  }

  .footer-inner .brand,
  .site-footer nav {
    justify-content: center;
  }
}

@media (min-width: 980px) and (max-width: 1120px) {
  .header-cta {
    display: none;
  }
}

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

  .button:hover,
  .brand:hover .brand-mark,
  .pain-card:hover,
  .info-card:hover,
  .feature-card:hover,
  .audit-list article:hover,
  .screenshot-card:hover,
  .screenshot-card:hover img,
  .hero-showcase,
  .hero-content,
  .hero-photo img,
  .scan-beam,
  .live-strip span::before,
  .reveal,
  .reveal.is-visible {
    transform: none;
    opacity: 1;
    animation: none;
  }
}
