/* Unvela marketing site
   Brand tokens are the spec values.
   --teal is 2.8:1 on --bg, so small text and white-on-teal buttons
   use --teal-text / --teal-btn (same hue, deep enough for WCAG AA). */

:root {
  --bg: #EBF8F8;
  --bg2: #FFFFFF;
  --bg3: #DFF2F2;
  --surface: #F4FAFA;
  --surface2: #DFF2F2;
  --fg: #0A1628;
  --fg2: #2D5A58;
  --fg3: #6B9E9B;
  --teal: #0EA5A0;
  --teal2: #0D8B87;
  --teal-dim: rgba(14, 165, 160, 0.10);
  --teal-line: rgba(14, 165, 160, 0.22);
  --border: rgba(10, 22, 40, 0.09);
  --radius: 12px;
  --teal-text: #0A7C78;
  --teal-btn: #0A7C78;
  --teal-btn-hover: #08706C;
  --muted: #467573;
  --danger: #8E2F2F;
  --nav-h: calc(64px + env(safe-area-inset-top, 0px));
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --shadow: 0 20px 50px rgba(10, 22, 40, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color-scheme: only light;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg2);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

button {
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
.stat-num,
.wordmark,
.pillar-num,
.quote-mark,
.quote-block p {
  font-family: var(--font-display);
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--fg);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

p {
  line-height: 1.75;
}

a {
  color: inherit;
}

::selection {
  background: rgba(14, 165, 160, 0.28);
  color: var(--fg);
}

:focus-visible {
  outline: 2px solid var(--teal-text);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: 8px;
  z-index: 200;
  transform: translateY(-140%);
  background: var(--fg);
  color: #fff;
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 500;
}

.skip-link:focus {
  transform: none;
}

.container {
  width: min(1100px, 100%);
  margin-inline: auto;
  padding-inline: max(24px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
}

.section {
  padding: 96px 0;
}

.page > :first-child {
  padding-top: 120px;
}

.page .section + .section {
  padding-top: 0;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--teal-text);
  margin: 0 0 14px;
}

.lead {
  max-width: 640px;
  margin-top: 16px;
  color: var(--fg2);
  font-size: 1.0625rem;
}

.center {
  text-align: center;
}

.center h2,
.center .lead {
  margin-inline: auto;
}

.center h2 {
  max-width: 16em;
}

.center .btn-row {
  justify-content: center;
}

.divider {
  border-top: 1px solid var(--border);
}

/* Pages */
.page {
  display: none;
}

html[data-page="home"] #home,
html[data-page="product"] #product,
html[data-page="why"] #why,
html[data-page="clients"] #clients,
html[data-page="contact"] #contact,
.page.active {
  display: block;
}

/* Nav */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--nav-h);
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(235, 248, 248, 0.78);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
  min-width: 0;
}

.logo-mark {
  width: 32px;
  height: 32px;
  flex: none;
}

.wordmark {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--fg);
}

.wordmark em {
  font-style: normal;
  color: var(--teal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--fg2);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  padding: 8px 12px;
  border-radius: 999px;
}

.nav-links a:hover {
  background: var(--teal-dim);
  color: var(--fg);
}

.nav-links a.active {
  background: var(--teal-dim);
  color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--teal-line);
}

html[data-page="home"] .nav-links a[data-page="home"],
html[data-page="product"] .nav-links a[data-page="product"],
html[data-page="why"] .nav-links a[data-page="why"],
html[data-page="clients"] .nav-links a[data-page="clients"] {
  background: var(--teal-dim);
  color: var(--fg);
  box-shadow: inset 0 0 0 1px var(--teal-line);
}

.nav-links a.nav-cta {
  background: var(--teal-btn);
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  box-shadow: none;
}

.nav-links a.nav-cta:hover,
.nav-links a.nav-cta.active,
html[data-page="contact"] .nav-links a.nav-cta {
  background: var(--teal-btn-hover);
  color: #fff;
  box-shadow: none;
}

.nav-hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  border-radius: 10px;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-hamburger:hover {
  background: var(--teal-dim);
}

.nav-hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--fg);
  border-radius: 2px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 10px;
  padding: 14px 22px;
  min-height: 44px;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--teal-btn);
  color: #fff;
}

.btn-primary:hover {
  background: var(--teal-btn-hover);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: transparent;
  color: var(--fg2);
}

.btn-ghost:hover {
  border-color: rgba(10, 22, 40, 0.16);
  color: var(--fg);
}

/* Hero */
.hero {
  position: relative;
  padding: 120px 0 72px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  right: -80px;
  top: 20px;
  background: radial-gradient(circle, rgba(14, 165, 160, 0.18), rgba(14, 165, 160, 0) 68%);
  pointer-events: none;
}

.hero .container {
  position: relative;
}

.hero-mark {
  position: absolute;
  top: 132px;
  right: max(24px, calc((100% - 1100px) / 2 + 24px));
  width: 240px;
  height: 240px;
  pointer-events: none;
}

.hero-mark svg {
  width: 100%;
  height: 100%;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border-radius: 999px;
  background: var(--teal-dim);
  border: 1px solid var(--teal-line);
  color: var(--teal-text);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 22px;
}

.hero-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  flex: none;
}

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

.hero-title span {
  color: var(--teal);
}

.hero-sub {
  max-width: 540px;
  margin-top: 20px;
  font-size: 1.0625rem;
  color: var(--fg2);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  max-width: 720px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.stat-num {
  display: block;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--fg);
}

.stat-label {
  display: block;
  margin-top: 6px;
  max-width: 18ch;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--muted);
}

/* Logos */
.logos-bar {
  background: var(--bg3);
  padding: 28px 0;
}

.logos-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.logo-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.logo-pill {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--fg2);
}

/* Cards and grids */
.features-grid,
.use-cases,
.pillars {
  display: grid;
  gap: 24px;
  margin-top: 40px;
}

.features-grid,
.use-cases,
.pillars {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.pillar {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.feature-card:hover,
.pillar:hover {
  border-color: var(--teal-line);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--teal-dim);
  display: grid;
  place-items: center;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-card h3,
.pillar h3 {
  margin: 16px 0 10px;
}

.feature-card p,
.pillar p,
.phase p {
  color: var(--fg2);
}

.uc-kicker,
.phase-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-text);
}

.feature-card .uc-kicker {
  margin-bottom: 0;
}

.feature-card .uc-kicker + h3 {
  margin-top: 10px;
}

.use-cases .feature-card {
  display: flex;
  flex-direction: column;
}

.uc-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 18px;
}

.uc-metric {
  background: var(--teal-dim);
  color: var(--teal-text);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.3;
}

.pillar-num {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--teal);
}

.phases {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg2);
}

.phase {
  padding: 28px 24px;
  border-right: 1px solid var(--border);
}

.phase:last-child {
  border-right: 0;
}

.phase h3 {
  margin: 10px 0;
}

/* Product */
.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 60px;
  align-items: center;
}

.product-visual {
  background: var(--fg);
  color: #E7F4F4;
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.pv-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 14px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #B7D6D4;
}

.pv-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(14, 165, 160, 0.22);
  flex: none;
}

.pv-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pv-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px 12px;
  align-items: center;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.pv-index {
  min-width: 46px;
  height: 40px;
  padding: 0 8px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(14, 165, 160, 0.14);
  color: #9FF0EC;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
}

.pv-label {
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.3;
}

.pv-sub {
  margin-top: 2px;
  color: #C5E0DE;
  font-size: 0.75rem;
  line-height: 1.45;
}

.pv-badge {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #042E2C;
  background: var(--teal);
  border-radius: 999px;
  padding: 5px 8px;
  white-space: nowrap;
}

.pv-badge.phase2 {
  background: rgba(255, 255, 255, 0.1);
  color: #E4F4F3;
}

/* Why */
.why-hero {
  background:
    radial-gradient(900px 320px at 50% 0%, rgba(14, 165, 160, 0.16), transparent 70%),
    var(--bg3);
  padding: 120px 0 80px;
  text-align: center;
}

.why-hero h2 {
  max-width: 16em;
  margin-inline: auto;
}

.why-hero .lead {
  margin-inline: auto;
}

.quote-block {
  margin-top: 48px;
  background: var(--bg3);
  border: 1px solid var(--teal-line);
  border-radius: var(--radius);
  padding: 36px 40px;
}

.quote-mark {
  display: block;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 0.7;
  color: var(--teal);
  margin-bottom: 8px;
}

.quote-block p {
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--fg);
  max-width: 22em;
}

.quote-block footer {
  margin-top: 18px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--fg2);
}

/* Comparison */
.table-wrap {
  margin-top: 20px;
  overflow: visible;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.comparison-table {
  width: 100%;
  min-width: 760px;
  border-collapse: separate;
  border-spacing: 0;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
  font-size: 0.9375rem;
  background: #fff;
}

.comparison-table thead th {
  position: sticky;
  top: var(--nav-h);
  z-index: 2;
  background: var(--surface);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--fg);
}

.comparison-table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  font-weight: 500;
  color: var(--fg);
  min-width: 220px;
}

.comparison-table thead th:first-child {
  left: 0;
  z-index: 3;
}

.comparison-table .col-unvela {
  background: #e7f6f5;
}

.comparison-table thead .col-unvela {
  background: #d5f0ee;
}

.comparison-table tr:last-child th,
.comparison-table tr:last-child td {
  border-bottom: 0;
}

.yes {
  color: var(--teal-text);
  font-weight: 700;
}

.no {
  color: #6E4C4A;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 48px;
  align-items: start;
  margin-top: 40px;
}

.contact-form,
.form-success {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 48px 36px;
}

.form-success svg {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
}

.form-success p {
  color: var(--fg);
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg);
}

.optional {
  color: var(--muted);
  font-weight: 400;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--fg);
  font-size: 16px;
  line-height: 1.4;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%230A7C78' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.contact-form select:invalid {
  color: var(--muted);
}

.contact-form select option {
  color: var(--fg);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--teal);
  outline: 2px solid var(--teal-line);
  outline-offset: 1px;
}

.contact-form input[aria-invalid="true"],
.contact-form select[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error,
.form-error {
  color: var(--danger);
  font-size: 0.8125rem;
  line-height: 1.4;
  margin-top: 6px;
}

.field-error:empty,
.form-error:empty {
  display: none;
}

::placeholder {
  color: var(--muted);
  opacity: 1;
}

.form-submit {
  width: 100%;
  margin-top: 8px;
  border: 0;
  border-radius: 10px;
  background: var(--teal-btn);
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  min-height: 48px;
  padding: 14px 18px;
}

.form-submit:hover {
  background: var(--teal-btn-hover);
}

.form-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.info-icon {
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 10px;
  background: var(--teal-dim);
  display: grid;
  place-items: center;
}

.info-icon svg {
  width: 24px;
  height: 24px;
}

.info-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.info-card p {
  color: var(--fg2);
  font-size: 0.95rem;
}

.cta-band {
  background: linear-gradient(180deg, rgba(14, 165, 160, 0), rgba(14, 165, 160, 0.1));
}

/* Footer */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.footer-inner {
  width: min(1100px, 100%);
  margin-inline: auto;
  padding: 48px max(24px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px 32px;
}

.footer-brand .logo-mark {
  width: 36px;
  height: 36px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
  flex: 1;
}

.footer-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.footer-links a:hover,
html[data-page="home"] .footer-links a[data-page="home"],
html[data-page="product"] .footer-links a[data-page="product"],
html[data-page="why"] .footer-links a[data-page="why"],
html[data-page="clients"] .footer-links a[data-page="clients"],
html[data-page="contact"] .footer-links a[data-page="contact"] {
  color: var(--fg);
}

.footer-copy {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
}

/* 404 */
.missing {
  padding: 160px 0 120px;
  min-height: calc(100vh - 180px);
}

/* Breakpoints */
@media (max-width: 1100px) {
  .hero-mark {
    display: none;
  }
}

@media (max-width: 860px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .use-cases,
  .pillars,
  .phases,
  .product-hero,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .product-hero,
  .contact-grid {
    gap: 32px;
  }

  .phase {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .phase:last-child {
    border-bottom: 0;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .table-wrap {
    overflow-x: auto;
  }

  .comparison-table thead th {
    top: 0;
  }
}

@media (max-width: 680px) {
  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 8px 16px 16px;
    background: rgba(244, 250, 250, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
  }

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

  .nav-links li,
  .nav-links a {
    width: 100%;
  }

  .nav-links a {
    padding: 12px;
  }

  .nav-links a.nav-cta {
    justify-content: center;
  }
}

@media (max-width: 580px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 12px;
  }

  .stat-label {
    font-size: 0.75rem;
  }

  .quote-block,
  .contact-form,
  .form-success {
    padding: 24px;
  }

  .pv-row {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .pv-badge {
    grid-column: 2;
    justify-self: start;
  }
}

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

  .btn-primary:hover {
    transform: none;
  }
}

@media print {
  .site-nav,
  .skip-link,
  .nav-hamburger {
    display: none !important;
  }

  .page {
    display: block !important;
    break-before: page;
  }

  #home {
    break-before: auto;
  }

  body {
    background: #fff;
  }

  .hero {
    padding-top: 24px;
  }
}
