:root {
  --background: 220 30% 97%;
  --surface: 0 0% 100%;
  --surface-muted: 220 24% 93%;
  --border: 220 18% 87%;
  --text-primary: 226 40% 12%;
  --text-secondary: 224 16% 34%;
  --text-muted: 222 12% 48%;
  --accent: 243 75% 58%;
  --accent-2: 190 95% 42%;
  --success: 152 64% 36%;
  --warning: 35 92% 44%;
  --danger: 350 78% 50%;
  --info: 214 90% 50%;
  --shadow: 226 40% 20%;
  --glow: 243 75% 58%;
  --hero-text: 220 30% 98%;
}

:root.dark {
  --background: 228 32% 5%;
  --surface: 227 26% 9%;
  --surface-muted: 226 22% 14%;
  --border: 226 18% 20%;
  --text-primary: 220 30% 96%;
  --text-secondary: 222 16% 74%;
  --text-muted: 222 11% 56%;
  --accent: 242 88% 68%;
  --accent-2: 187 92% 52%;
  --success: 152 60% 48%;
  --warning: 40 92% 58%;
  --danger: 350 88% 64%;
  --info: 208 92% 64%;
  --shadow: 0 0% 0%;
  --glow: 242 88% 68%;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: hsl(var(--background));
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  color: hsl(var(--text-primary));
  font-family:
    Inter,
    "Segoe UI Variable Text",
    "Segoe UI",
    system-ui,
    Tajawal,
    Arial,
    sans-serif;
  font-feature-settings: "cv02", "cv03", "cv04", "ss01";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background:
    linear-gradient(180deg, hsl(var(--background)), hsl(var(--surface-muted) / 0.62) 48%, hsl(var(--background))),
    hsl(var(--background));
}

body.menu-locked {
  overflow: hidden;
}

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

button,
a,
input,
select,
textarea {
  transition:
    color 150ms ease,
    background-color 150ms ease,
    border-color 150ms ease,
    box-shadow 200ms ease,
    transform 150ms ease,
    opacity 150ms ease;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px hsl(var(--background)),
    0 0 0 4px hsl(var(--accent) / 0.7);
}

::selection {
  background: hsl(var(--accent) / 0.24);
}

img,
svg {
  display: block;
}

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

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

h1,
h2,
h3,
p,
strong,
span,
li,
a,
button {
  overflow-wrap: anywhere;
}

svg {
  fill: currentColor;
}

.site-frame {
  min-height: 100vh;
  overflow: clip;
}

.glass {
  background: hsl(var(--surface) / 0.78);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid hsl(var(--border) / 0.76);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, hsl(var(--accent)), hsl(var(--accent-2)));
  border-radius: 8px;
  box-shadow:
    0 0 0 1px hsl(var(--glow) / 0.24),
    0 14px 28px hsl(var(--glow) / 0.28);
}

.brand-mark svg {
  width: 22px;
  height: 22px;
}

.brand-name {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(120deg, hsl(var(--accent)), hsl(var(--accent-2)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-subtitle {
  display: block;
  margin-top: 3px;
  font-size: 0.72rem;
  color: hsl(var(--text-muted));
  white-space: nowrap;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 4px;
}

.site-nav a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border-radius: 8px;
  padding: 0 13px;
  color: hsl(var(--text-secondary));
  font-size: 0.9rem;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: hsl(var(--accent));
  background: hsl(var(--accent) / 0.1);
}

.header-actions,
.hero-actions,
.form-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button,
.primary-link,
.secondary-link,
.menu-button {
  border: 0;
  cursor: pointer;
}

.icon-button {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  padding: 0 12px;
  color: hsl(var(--text-secondary));
  background: hsl(var(--surface) / 0.8);
  font-size: 0.86rem;
  font-weight: 700;
}

.icon-button:hover {
  border-color: hsl(var(--accent) / 0.42);
  color: hsl(var(--text-primary));
  background: hsl(var(--surface-muted) / 0.7);
}

.icon-button svg {
  width: 17px;
  height: 17px;
}

.icon-button.square {
  width: 38px;
  padding: 0;
}

.theme-moon,
:root.dark .theme-sun {
  display: none;
}

:root.dark .theme-moon {
  display: block;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 8px;
  padding: 0 15px;
  font-size: 0.91rem;
  font-weight: 800;
  text-align: center;
}

.primary-link {
  color: white;
  background: linear-gradient(135deg, hsl(var(--accent)), hsl(var(--accent-2)));
  box-shadow:
    0 0 0 1px hsl(var(--glow) / 0.25),
    0 8px 24px hsl(var(--glow) / 0.32);
}

.primary-link:hover {
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px hsl(var(--glow) / 0.34),
    0 12px 32px hsl(var(--glow) / 0.42);
}

.secondary-link {
  border: 1px solid hsl(var(--border) / 0.9);
  color: hsl(var(--text-primary));
  background: hsl(var(--surface) / 0.82);
}

.secondary-link:hover {
  border-color: hsl(var(--accent) / 0.42);
  background: hsl(var(--surface-muted) / 0.82);
}

.large {
  min-height: 46px;
  padding: 0 18px;
}

.primary-link svg {
  width: 18px;
  height: 18px;
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  background: hsl(var(--surface));
  color: hsl(var(--text-primary));
}

.menu-bars,
.menu-bars::before,
.menu-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.menu-bars::before {
  transform: translateY(-6px);
}

.menu-bars::after {
  transform: translateY(4px);
}

.hero-section {
  position: relative;
  min-height: 84svh;
  display: grid;
  align-items: center;
  padding: 132px clamp(20px, 5vw, 72px) 74px;
  color: hsl(var(--hero-text));
  isolation: isolate;
}

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

.hero-image {
  z-index: -2;
  object-fit: cover;
}

.hero-scrim {
  z-index: -1;
  background:
    linear-gradient(90deg, hsl(226 48% 4% / 0.92) 0%, hsl(226 42% 7% / 0.76) 39%, hsl(226 40% 7% / 0.34) 72%, hsl(226 40% 7% / 0.56) 100%),
    linear-gradient(0deg, hsl(226 35% 4% / 0.56), transparent 36%);
}

[dir="rtl"] .hero-scrim {
  background:
    linear-gradient(270deg, hsl(226 48% 4% / 0.92) 0%, hsl(226 42% 7% / 0.76) 39%, hsl(226 40% 7% / 0.34) 72%, hsl(226 40% 7% / 0.56) 100%),
    linear-gradient(0deg, hsl(226 35% 4% / 0.56), transparent 36%);
}

.hero-content {
  width: min(760px, 100%);
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: hsl(var(--accent-2));
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

[dir="rtl"] .eyebrow {
  letter-spacing: 0;
}

.eyebrow::before {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: currentColor;
  box-shadow: 0 0 0 4px hsl(var(--accent-2) / 0.12);
  content: "";
}

.hero-section h1 {
  max-width: 720px;
  margin-top: 18px;
  font-size: clamp(2.45rem, 6vw, 5rem);
  font-weight: 850;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 650px;
  margin-top: 24px;
  color: hsl(var(--hero-text) / 0.82);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-actions {
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-metrics {
  display: grid;
  max-width: 680px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 36px 0 0;
}

.hero-metrics div {
  min-width: 0;
  border: 1px solid hsl(220 24% 90% / 0.18);
  border-radius: 8px;
  padding: 13px;
  background: hsl(226 36% 8% / 0.5);
  backdrop-filter: blur(14px);
}

.hero-metrics dt {
  color: hsl(var(--hero-text) / 0.66);
  font-size: 0.76rem;
}

.hero-metrics dd {
  margin: 5px 0 0;
  color: hsl(var(--hero-text));
  font-size: 1.36rem;
  font-weight: 850;
}

.signal-strip {
  margin-top: -38px;
  padding: 0 clamp(20px, 5vw, 72px);
  position: relative;
  z-index: 3;
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
}

.signal-card,
.module-card,
.about-card,
.interest-form,
.journey-panel,
.readiness-panel,
.capability-panel {
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  background: hsl(var(--surface));
  box-shadow:
    0 1px 2px hsl(var(--shadow) / 0.05),
    0 4px 12px hsl(var(--shadow) / 0.06),
    0 16px 40px hsl(var(--shadow) / 0.07);
}

.signal-card {
  min-height: 116px;
  padding: 16px;
}

.signal-card strong,
.module-card strong,
.about-card strong {
  display: block;
  color: hsl(var(--text-primary));
  font-size: 0.94rem;
  line-height: 1.3;
}

.signal-card span,
.module-card span,
.about-card span {
  display: block;
  margin-top: 8px;
  color: hsl(var(--text-secondary));
  font-size: 0.86rem;
  line-height: 1.55;
}

.page-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 96px 0 0;
}

.section-heading {
  max-width: 780px;
}

.section-heading h2,
.about-copy h2,
.contact-copy h2 {
  margin-top: 12px;
  color: hsl(var(--text-primary));
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 820;
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.about-copy p:not(.eyebrow),
.contact-copy p:not(.eyebrow) {
  margin-top: 16px;
  color: hsl(var(--text-secondary));
  font-size: 1rem;
  line-height: 1.75;
}

.workbench {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 16px;
  margin-top: 34px;
}

.workbench-tabs {
  display: grid;
  align-content: start;
  gap: 8px;
}

.tab-button,
.journey-button {
  display: flex;
  width: 100%;
  min-height: 60px;
  align-items: center;
  gap: 12px;
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  padding: 12px;
  color: hsl(var(--text-secondary));
  background: hsl(var(--surface) / 0.78);
  text-align: start;
  cursor: pointer;
}

.tab-button:hover,
.journey-button:hover,
.tab-button.is-active,
.journey-button.is-active {
  border-color: hsl(var(--accent) / 0.45);
  color: hsl(var(--accent));
  background: hsl(var(--accent) / 0.1);
}

.tab-icon,
.detail-icon,
.journey-index,
.module-icon,
.about-icon {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  color: hsl(var(--accent));
  background: hsl(var(--accent) / 0.11);
}

.tab-icon svg,
.detail-icon svg,
.module-icon svg,
.about-icon svg {
  width: 18px;
  height: 18px;
}

.tab-button strong,
.journey-button strong {
  display: block;
  color: currentColor;
  font-size: 0.92rem;
}

.tab-button span:not(.tab-icon),
.journey-button span:not(.journey-index) {
  display: block;
  margin-top: 3px;
  color: hsl(var(--text-muted));
  font-size: 0.77rem;
  line-height: 1.35;
}

.capability-panel {
  min-height: 438px;
  padding: 22px;
}

.detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.detail-title {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
}

.detail-title h3 {
  color: hsl(var(--text-primary));
  font-size: 1.35rem;
}

.detail-title p {
  margin-top: 6px;
  color: hsl(var(--text-muted));
  font-size: 0.86rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid hsl(var(--success) / 0.26);
  border-radius: 8px;
  padding: 7px 9px;
  color: hsl(var(--success));
  background: hsl(var(--success) / 0.1);
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
}

.detail-body {
  margin-top: 22px;
  color: hsl(var(--text-secondary));
  line-height: 1.72;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 18px;
  margin-top: 22px;
}

.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: hsl(var(--text-secondary));
  font-size: 0.92rem;
  line-height: 1.52;
}

.check-list li::before {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 2px;
  border-radius: 5px;
  color: white;
  background: hsl(var(--success));
  content: "\2713";
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 900;
}

.metric-stack {
  display: grid;
  gap: 8px;
}

.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  padding: 12px;
  background: hsl(var(--surface-muted) / 0.55);
}

.metric-row span {
  color: hsl(var(--text-muted));
  font-size: 0.8rem;
}

.metric-row strong {
  color: hsl(var(--text-primary));
  font-size: 1rem;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.module-card,
.about-card {
  padding: 16px;
}

.module-card {
  min-height: 164px;
}

.module-icon,
.about-icon {
  margin-bottom: 14px;
}

.pdpl-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 16px;
  margin-top: 34px;
}

.journey-panel,
.readiness-panel {
  padding: 18px;
}

.section-line {
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-line h3 {
  color: hsl(var(--text-primary));
  font-size: 1rem;
}

.section-line span {
  height: 1px;
  flex: 1;
  background: hsl(var(--border));
}

.journey-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.journey-button {
  min-height: 92px;
  flex-direction: column;
  align-items: flex-start;
}

.journey-index {
  width: 28px;
  height: 28px;
  font-size: 0.8rem;
  font-weight: 900;
}

.journey-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.8fr);
  gap: 18px;
  margin-top: 18px;
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  padding: 16px;
  background: hsl(var(--surface-muted) / 0.5);
}

.journey-detail h4 {
  margin: 0;
  color: hsl(var(--text-primary));
  font-size: 1.16rem;
}

.journey-detail p {
  margin-top: 10px;
  color: hsl(var(--text-secondary));
  line-height: 1.65;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag {
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  padding: 6px 8px;
  color: hsl(var(--text-secondary));
  background: hsl(var(--surface));
  font-size: 0.76rem;
  font-weight: 800;
}

.readiness-score {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 18px;
}

.score-ring {
  --score: 0%;
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  border-radius: 50%;
  color: hsl(var(--text-primary));
  background:
    conic-gradient(hsl(var(--accent-2)) var(--score), hsl(var(--surface-muted)) 0),
    hsl(var(--surface-muted));
  position: relative;
}

.score-ring::after {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  background: hsl(var(--surface));
  content: "";
}

.score-ring span {
  position: relative;
  z-index: 1;
  font-size: 1.35rem;
  font-weight: 850;
}

.readiness-score p {
  color: hsl(var(--text-secondary));
  font-size: 0.92rem;
  line-height: 1.62;
}

.readiness-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.readiness-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  padding: 11px;
  background: hsl(var(--surface-muted) / 0.44);
}

.readiness-item input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: hsl(var(--accent));
}

.readiness-item strong {
  display: block;
  color: hsl(var(--text-primary));
  font-size: 0.88rem;
}

.readiness-item span {
  display: block;
  margin-top: 3px;
  color: hsl(var(--text-muted));
  font-size: 0.78rem;
  line-height: 1.4;
}

.readiness-next {
  margin-top: 12px;
  border: 1px solid hsl(var(--accent-2) / 0.28);
  border-radius: 8px;
  padding: 12px;
  color: hsl(var(--text-secondary));
  background: hsl(var(--accent-2) / 0.08);
  font-size: 0.86rem;
  line-height: 1.55;
}

.about-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 26px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-section {
  align-items: start;
  padding-bottom: 82px;
}

.contact-notes {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.contact-note {
  display: flex;
  gap: 10px;
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  padding: 12px;
  background: hsl(var(--surface) / 0.76);
  color: hsl(var(--text-secondary));
  font-size: 0.9rem;
  line-height: 1.48;
}

.contact-note::before {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  margin-top: 5px;
  border-radius: 3px;
  background: hsl(var(--accent-2));
  content: "";
}

.interest-form {
  display: grid;
  gap: 18px;
  padding: 20px;
}

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

label,
fieldset {
  min-width: 0;
}

label > span,
legend {
  display: block;
  margin-bottom: 7px;
  color: hsl(var(--text-primary));
  font-size: 0.88rem;
  font-weight: 800;
}

fieldset {
  margin: 0;
  border: 0;
  padding: 0;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  color: hsl(var(--text-primary));
  background: hsl(var(--background));
}

input,
select {
  height: 42px;
  padding: 0 12px;
}

textarea {
  min-height: 112px;
  resize: vertical;
  padding: 12px;
  line-height: 1.5;
}

input:hover,
select:hover,
textarea:hover,
input:focus,
select:focus,
textarea:focus {
  border-color: hsl(var(--accent) / 0.52);
}

small {
  display: block;
  min-height: 17px;
  margin-top: 5px;
  color: hsl(var(--danger));
  font-size: 0.75rem;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.choice {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  border: 1px solid hsl(var(--border));
  border-radius: 8px;
  padding: 10px;
  background: hsl(var(--surface-muted) / 0.38);
  cursor: pointer;
}

.choice:has(input:checked) {
  border-color: hsl(var(--accent) / 0.45);
  background: hsl(var(--accent) / 0.1);
}

.choice input {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  flex: 0 0 auto;
  accent-color: hsl(var(--accent));
}

.choice span {
  color: hsl(var(--text-secondary));
  font-size: 0.84rem;
  line-height: 1.35;
}

.range-label input {
  padding: 0;
  accent-color: hsl(var(--accent));
}

.range-label output {
  display: block;
  margin-top: 4px;
  color: hsl(var(--text-muted));
  font-size: 0.8rem;
}

.form-actions {
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.form-status {
  min-height: 44px;
  flex: 1;
  border-radius: 8px;
  padding: 11px 12px;
  color: hsl(var(--text-muted));
  background: hsl(var(--surface-muted) / 0.45);
  font-size: 0.86rem;
  line-height: 1.45;
}

.form-status.is-success {
  color: hsl(var(--success));
  background: hsl(var(--success) / 0.1);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid hsl(var(--border));
  padding: 24px clamp(20px, 5vw, 72px);
  color: hsl(var(--text-muted));
  font-size: 0.83rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 420ms ease,
    transform 420ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: auto auto 1fr;
  }

  .menu-button {
    display: grid;
  }

  .site-nav {
    position: fixed;
    inset: 72px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid hsl(var(--border));
    border-radius: 8px;
    padding: 10px;
    background: hsl(var(--surface));
    box-shadow:
      0 1px 2px hsl(var(--shadow) / 0.05),
      0 14px 38px hsl(var(--shadow) / 0.16);
  }

  .site-header[data-menu-open="true"] .site-nav {
    display: flex;
  }

  .header-actions {
    justify-self: end;
  }

  .brand-subtitle,
  .icon-button[data-label="locale"] span {
    display: none;
  }

  .signal-grid,
  .module-grid,
  .journey-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workbench,
  .pdpl-layout,
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .site-header {
    display: flex;
    min-height: 66px;
    gap: 10px;
    padding: 10px 14px;
  }

  .brand {
    order: 1;
    flex: 0 1 auto;
    min-width: 0;
  }

  .brand-name {
    white-space: nowrap;
  }

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

  .header-actions {
    order: 2;
    flex: 0 0 auto;
    margin-inline-start: auto;
    justify-self: end;
    gap: 6px;
    position: fixed;
    top: 14px;
    right: auto;
    left: calc(100vw - 104px);
    z-index: 25;
    display: none;
  }

  .menu-button {
    order: 3;
    flex: 0 0 40px;
    position: fixed;
    top: 14px;
    right: auto;
    left: calc(100vw - 54px);
    z-index: 25;
    display: none;
  }

  .site-nav {
    position: fixed;
    top: 66px;
    right: auto;
    left: 0;
    width: min(100vw, 390px);
    display: flex;
    flex-direction: row;
    gap: 4px;
    border-width: 1px 0;
    border-style: solid;
    border-color: hsl(var(--border));
    border-radius: 0;
    padding: 6px 8px;
    background: hsl(var(--surface) / 0.92);
    box-shadow: none;
  }

  .site-nav a {
    flex: 1 1 0;
    min-width: 0;
    min-height: 32px;
    justify-content: center;
    padding: 0 4px;
    font-size: 0.74rem;
    text-align: center;
  }

  .site-nav a[href="#about"] {
    display: none;
  }

  .icon-button[data-label="locale"] {
    width: 38px;
    padding: 0;
  }

  .header-actions .primary-link {
    display: none;
  }

  .icon-button.square {
    display: none;
  }

  .hero-section {
    min-height: 88svh;
    padding: 152px 20px 58px;
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }

  .hero-copy {
    max-width: 34ch;
    font-size: 0.98rem;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .large {
    width: 100%;
    max-width: 290px;
  }

  .hero-metrics,
  .signal-grid,
  .module-grid,
  .workbench-tabs,
  .detail-grid,
  .journey-detail,
  .readiness-score,
  .about-grid,
  .form-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .signal-strip {
    margin-top: -24px;
    padding: 0 16px;
  }

  .page-section {
    width: min(100% - 32px, 1180px);
    padding-top: 72px;
  }

  .capability-panel {
    padding: 16px;
  }

  .detail-head,
  .form-actions,
  .site-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .trust-badge {
    align-self: flex-start;
  }
}

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