:root {
  --ink: #0d3431;
  --ink-soft: #34504c;
  --paper: #f7f1e5;
  --paper-deep: #ede2d0;
  --white: #fffdf7;
  --terracotta: #b75035;
  --terracotta-dark: #8d3c2a;
  --gold: #d6a22c;
  --blue: #dcecee;
  --sage: #81957f;
  --line: rgba(13, 52, 49, 0.22);
  --shadow: 0 22px 60px rgba(48, 39, 26, 0.12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(214, 162, 44, 0.08), transparent 25rem),
    radial-gradient(circle at 85% 60%, rgba(183, 80, 53, 0.04), transparent 28rem),
    linear-gradient(180deg, var(--paper), #fbf8f0 42%, var(--paper));
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

button, a, summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  transform: translateY(-180%);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  transition: transform 160ms ease;
}

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

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 5vw;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 241, 229, 0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.wordmark {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  font-size: 1.38rem;
  font-weight: 800;
  letter-spacing: 0.075em;
  color: var(--ink);
}

.wordmark span {
  color: var(--terracotta);
}

.brand-logo {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.45rem;
  display: block;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(13, 52, 49, 0.08);
  border: 1px solid var(--line);
  color: var(--ink);
}

.trust-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
  animation: pulse-dot 2.2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2vw, 2.4rem);
}

.desktop-nav a {
  position: relative;
  padding: 0.7rem 0;
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--ink);
  transition: color 180ms ease;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.35rem;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--terracotta);
  content: "";
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after,
.desktop-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.desktop-nav a.active {
  color: var(--terracotta);
  font-weight: 750;
}

.desktop-nav a.nav-site-link {
  font-weight: 800 !important;
  color: var(--terracotta) !important;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem !important;
  border: 1px solid var(--terracotta) !important;
  border-radius: 999px !important;
  background: rgba(183, 80, 53, 0.06);
  transition: all 180ms ease !important;
}

.desktop-nav a.nav-site-link::after {
  display: none !important;
}

.desktop-nav a.nav-site-link:hover {
  background: var(--terracotta) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(183, 80, 53, 0.25);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.15rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 750;
  color: var(--ink);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.header-cta:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-1px);
}

.mobile-nav {
  display: none;
}

/* Typography & General Layout */
main {
  flex: 1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5vw;
}

.section {
  padding: clamp(3.5rem, 6vw, 6rem) 0;
  border-bottom: 1px solid var(--line);
}

.section-alt {
  background: rgba(247, 241, 229, 0.45);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.1rem;
  color: var(--terracotta-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2rem;
  height: 2px;
  background: var(--terracotta);
  content: "";
}

.section-header {
  max-width: 720px;
  margin-bottom: 3.5rem;
}

.section-header.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header.centered .eyebrow {
  justify-content: center;
}

.section-header.centered .eyebrow::after {
  width: 2rem;
  height: 2px;
  background: var(--terracotta);
  content: "";
}

h1, h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  line-height: 1.15;
}

h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--ink);
  font-weight: 700;
}

p {
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}

.lead-p {
  font-size: clamp(1.06rem, 1.35vw, 1.25rem);
  line-height: 1.6;
  margin-top: 1.25rem;
  color: var(--ink-soft);
}

/* Hero Section */
.hero {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.2rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 0.75rem;
  font-size: 0.95rem;
  font-weight: 780;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.button-primary {
  border: 1px solid var(--terracotta);
  background: var(--terracotta);
  box-shadow: 0 10px 30px rgba(183, 80, 53, 0.2);
  color: var(--white);
}

.button-primary:hover {
  background: var(--terracotta-dark);
  transform: translateY(-2px);
}

.button-secondary {
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
}

.button-secondary:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-2px);
}

.button-outline {
  border: 1px solid var(--line);
  background: rgba(255, 253, 247, 0.8);
  color: var(--ink);
}

.button-outline:hover {
  border-color: var(--ink);
  background: var(--white);
  transform: translateY(-2px);
}

/* Key Metrics Box in Hero */
.hero-card {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--white);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-card-title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
}

.metric-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(13, 52, 49, 0.1);
}

.metric-row:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.metric-value {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--ink);
}

.metric-label {
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: right;
  max-width: 22ch;
}

/* Cycle de Cyberdéfense Active (Boucle Cybernétique) */
.cycle-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.step-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(48, 39, 26, 0.05);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  min-height: 270px;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(48, 39, 26, 0.1);
  border-color: rgba(13, 52, 49, 0.4);
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.step-code {
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  color: var(--terracotta);
  background: rgba(183, 80, 53, 0.1);
  padding: 0.2rem 0.55rem;
  border-radius: 0.4rem;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 0.65rem;
}

.step-desc {
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--ink-soft);
  flex-grow: 1;
}

.step-tech {
  margin-top: 1.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(13, 52, 49, 0.08);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.step-tech-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
}

/* Posture Cards Grid */
.posture-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

.posture-card {
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--white);
  box-shadow: 0 10px 25px rgba(48, 39, 26, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.posture-card-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.5rem;
}

.posture-card-status {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.5rem;
}

.status-dot-active {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.7);
}

.posture-card-detail {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* Subcontractor Table (RGPD Art. 28) */
.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--white);
  box-shadow: var(--shadow);
  margin-top: 2rem;
}

.trust-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.trust-table th {
  background: var(--paper-deep);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--line);
}

.trust-table td {
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid rgba(13, 52, 49, 0.1);
  color: var(--ink-soft);
  vertical-align: middle;
}

.trust-table tr:last-child td {
  border-bottom: none;
}

.trust-table tr:hover td {
  background: rgba(247, 241, 229, 0.35);
}

.td-entity {
  font-weight: 750;
  color: var(--ink);
}

.location-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  background: rgba(13, 52, 49, 0.07);
  padding: 0.25rem 0.6rem;
  border-radius: 0.4rem;
}

/* Compliance Cards (NIS 2 / ANSSI) */
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.compliance-card {
  padding: clamp(1.6rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--white);
  box-shadow: 0 14px 35px rgba(48, 39, 26, 0.06);
}

.compliance-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.compliance-title::before {
  content: "§";
  color: var(--terracotta);
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.3rem;
}

/* VDP & RFC 9116 Call to action banner */
.action-box {
  padding: clamp(2rem, 4vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: linear-gradient(135deg, var(--white), rgba(247, 241, 229, 0.9));
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
}

.action-box h3 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  margin-bottom: 0.85rem;
}

.action-box p {
  max-width: 58ch;
  margin: 0 auto 1.8rem;
}

.action-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* VDP Page Specific Styles */
.vdp-main {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.vdp-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 5vw;
}

.vdp-intro {
  margin-bottom: 3.5rem;
}

.vdp-section {
  padding: 2rem 2.2rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(48, 39, 26, 0.05);
  margin-bottom: 1.75rem;
}

.vdp-section h2 {
  font-size: 1.45rem;
  margin-bottom: 1rem;
  color: var(--ink);
}

.vdp-section ul {
  margin: 1rem 0 0;
  padding-left: 1.4rem;
  color: var(--ink-soft);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.vdp-section li strong {
  color: var(--ink);
}

.email-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.4rem;
  margin: 1.25rem 0;
  background: var(--paper-deep);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 700;
  color: var(--ink);
}

.email-box-badge {
  font-size: 0.75rem;
  font-family: var(--sans);
  color: var(--ink-soft);
  background: rgba(13, 52, 49, 0.08);
  padding: 0.25rem 0.55rem;
  border-radius: 0.4rem;
}

/* Site Footer */
.site-footer {
  display: block;
  width: 100%;
  padding: 3.5rem 5vw 2.5rem;
  background: #082725;
  color: rgba(255, 253, 247, 0.75);
  font-size: 0.82rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-wordmark {
  color: var(--white);
}

.footer-brand-mission {
  margin: 0;
  color: rgba(255, 253, 247, 0.72);
  line-height: 1.55;
  max-width: 34ch;
  font-size: 0.84rem;
}

.footer-status-badge {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.2rem;
}

.footer-status-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: rgba(255, 253, 247, 0.9);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.footer-status-link:hover,
.footer-status-link:focus-visible {
  background: rgba(16, 185, 129, 0.22);
  border-color: rgba(16, 185, 129, 0.6);
  color: var(--white);
}

.footer-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.8);
  display: inline-block;
  flex-shrink: 0;
}

.footer-col-title {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f0bd9d;
}

.footer-nav-col,
.footer-contact-col {
  display: flex;
  flex-direction: column;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  color: rgba(255, 253, 247, 0.72);
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.footer-contact {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: rgba(255, 253, 247, 0.75);
}

.footer-contact a {
  color: rgba(255, 253, 247, 0.85);
  text-decoration: none;
  transition: color 180ms ease;
}

.footer-contact a:hover {
  color: var(--white);
}

.footer-external-links {
  margin-top: 1rem;
}

.footer-site-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white) !important;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.footer-site-link:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-bar {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.78rem;
  color: rgba(255, 253, 247, 0.65);
}

/* Subpages & Rich Detail Sections */
.page-hero {
  padding: clamp(3rem, 6vw, 5.5rem) 0 3rem;
  border-bottom: 1px solid var(--line);
}

.page-intro {
  max-width: 820px;
}

.detail-card {
  padding: clamp(1.8rem, 3.5vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--white);
  box-shadow: 0 14px 35px rgba(48, 39, 26, 0.05);
  margin-bottom: 2rem;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.detail-card:hover {
  border-color: rgba(13, 52, 49, 0.35);
  box-shadow: 0 18px 45px rgba(48, 39, 26, 0.08);
}

.detail-card h2,
.detail-card h3 {
  color: var(--ink);
  margin-bottom: 0.85rem;
}

.detail-card p {
  color: var(--ink-soft);
  line-height: 1.65;
}

.bullet-list {
  margin: 1.25rem 0 0;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--ink-soft);
}

.bullet-list li strong {
  color: var(--ink);
}

.code-box {
  background: var(--ink);
  color: var(--paper);
  padding: 1.5rem;
  border-radius: 1rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.84rem;
  line-height: 1.6;
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin: 1.5rem 0;
}

.grid-2-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(13, 52, 49, 0.08);
  border: 1px solid var(--line);
  color: var(--ink);
}

.badge-pill.terracotta {
  background: rgba(183, 80, 53, 0.1);
  border-color: rgba(183, 80, 53, 0.3);
  color: var(--terracotta-dark);
}

/* Responsive Breakpoints */
@media (max-width: 1100px) {
  .site-header {
    min-height: 64px;
    padding: 0 1.25rem;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .mobile-nav {
    position: relative;
    display: block;
  }

  .mobile-nav summary {
    display: grid;
    width: 44px;
    height: 44px;
    place-content: center;
    gap: 4px;
    cursor: pointer;
    list-style: none;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav summary span {
    pointer-events: none;
    width: 21px;
    height: 2px;
    background: var(--ink);
  }

  .mobile-nav nav {
    position: absolute;
    top: 50px;
    right: 0;
    display: grid;
    width: min(84vw, 320px);
    max-height: calc(100dvh - 76px);
    overflow-y: auto;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 50;
  }

  .mobile-nav nav a {
    min-height: 50px;
    padding: 0.9rem 1.2rem;
    border-bottom: 1px solid var(--line);
    background: transparent;
    font-weight: 700;
    color: var(--ink);
    text-align: left;
    display: flex;
    align-items: center;
  }

  .mobile-nav nav > .mobile-nav-cta {
    border-bottom: 0;
    background: var(--terracotta);
    color: var(--white);
  }

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

  .step-card:last-child {
    grid-column: span 2;
  }

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

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

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

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

  .step-card:last-child {
    grid-column: span 1;
  }

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

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .site-footer {
    padding: 2.5rem 1.25rem 3rem;
  }

  .email-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}
