/* DeepenSkill — public marketing site
   Editorial redesign: Playfair Display serif display type over Inter body,
   warm paper (#f7f4f0) + deep petrol (#101c27 / #0d3349) palette. */

:root{
  --paper: #f7f4f0;
  --paper-soft: #f3f1ed;
  --paper-softer: #efebe6;
  --paper-faint: #faf9f7;
  --ink: #171717;
  --ink-soft: #555555;
  --ink-softer: #626262;
  --ink-muted: #686868;
  --ink-faint: #777777;
  --ink-faintest: #999999;
  --rule: #e8e4df;
  --rule-strong: #dcd7d1;
  --rule-stronger: #d3cec7;
  --petrol-deep: #101c27;
  --petrol: #0d3349;
  --petrol-hover: #174e6e;
  --cream: #f7f4f0;
  --cream-dim: #c4ccce;
  --cream-dimmer: #aeb9be;
  --measure: 40rem;
  --wide: 76rem;
  font-size: 17px;
}

*{ box-sizing: border-box; }
html{
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}
body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg{ max-width: 100%; display: block; }
h1, h2, h3, blockquote{
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
}
a{ color: inherit; }
p{ margin: 0; }
ul, ol{ margin: 0; padding: 0; list-style: none; }
button{ font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--petrol);
  outline-offset: 3px;
}

.skip-link{
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1.25rem;
  z-index: 200;
  text-decoration: none;
  font-size: 0.9rem;
}
.skip-link:focus{ left: 1rem; top: 1rem; }

.wrap{
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 1024px){
  .wrap{ padding: 0 2.5rem; }
}
.prose{ max-width: var(--measure); }

/* ---------- entrance animation ---------- */
.enter{ animation: enter 0.85s cubic-bezier(.2,.8,.2,1) both; }
.enter-late{ animation: enter 0.85s 0.16s cubic-bezier(.2,.8,.2,1) both; }
@keyframes enter{
  from{ opacity: 0; transform: translateY(16px); }
  to{ opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce){
  .enter, .enter-late{ animation: none; }
}


/* ---------- buttons / links ---------- */
.btn{
  display: inline-block;
  background: var(--petrol);
  color: #fff;
  text-decoration: none;
  padding: 1rem 1.5rem;
  border-radius: 3px;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background-color .15s ease;
}
.btn:hover{ background: var(--petrol-hover); }
.btn.on-dark{ background: var(--petrol); }
.btn.ghost{
  background: transparent;
  border: 1px solid rgba(174,185,190,.6);
  color: var(--cream);
  padding: 0.97rem 1.5rem;
}
.btn.ghost:hover{ border-color: #fff; }
.btn.inverted{
  background: var(--cream);
  color: var(--petrol-deep);
}
.btn.inverted:hover{ background: #fff; }

.link-cta{
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--ink-faint);
  font-size: 0.92rem;
  font-weight: 500;
  padding-bottom: 1px;
}
.link-cta:hover{ border-bottom-color: var(--ink); }
.link-cta.on-dark{ color: var(--cream); border-bottom-color: var(--cream-dimmer); }
.link-cta.on-dark:hover{ border-bottom-color: var(--cream); }

/* ---------- nav ---------- */
.site-nav{
  position: absolute;
  left: 0; top: 0;
  z-index: 30;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,.15);
  color: var(--cream);
}
.site-nav .navbar{
  max-width: var(--wide);
  margin: 0 auto;
  height: 78px;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
@media (min-width: 1024px){
  .site-nav .navbar{ padding: 0 2.5rem; }
}
.wordmark{
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--cream);
  white-space: nowrap;
}
.navlinks{
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 0.92rem;
  color: var(--cream-dim);
}
.navlinks a{ text-decoration: none; transition: color .15s ease; }
.navlinks a:hover{ color: #fff; }
@media (min-width: 900px){
  .navlinks{ display: flex; }
}
.nav-cta{ display: none; }
@media (min-width: 900px){ .nav-cta{ display: inline-block; } }
.nav-toggle{
  font-size: 1.4rem;
  line-height: 1;
  color: var(--cream);
  padding: 0.4rem;
}
@media (min-width: 900px){ .nav-toggle{ display: none; } }

.mobile-menu{
  display: none;
  border-top: 1px solid rgba(255,255,255,.15);
  background: #111d27;
  padding: 1.4rem 1.5rem 1.6rem;
}
.mobile-menu.is-open{ display: block; }
@media (min-width: 900px){ .mobile-menu{ display: none !important; } }
.mobile-menu-links{
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  font-size: 0.98rem;
  color: #e7e5e1;
}
.mobile-menu-links a{ text-decoration: none; }
.mobile-menu .btn{ margin-top: 0.4rem; width: fit-content; }

/* ---------- hero ---------- */
.hero{
  position: relative;
  overflow: hidden;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  background: var(--petrol-deep);
  padding: 8.5rem 0 5rem;
}
@media (min-width: 1024px){
  .hero{ min-height: 100dvh; padding-bottom: 6.5rem; }
}
.hero-bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  mix-blend-mode: screen;
}
.hero-scrim{
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--petrol-deep) 0%, rgba(16,28,39,.9) 45%, rgba(16,28,39,.35) 100%);
}
.hero-portrait{
  display: none;
  position: absolute;
  right: 0; top: 0;
  height: 100%;
  width: 42%;
}
@media (min-width: 768px){
  .hero-portrait{ display: block; }
}
.hero-portrait img{
  height: 100%;
  width: 100%;
  object-fit: cover;
  opacity: 0.8;
}
.hero-portrait::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--petrol-deep) 0%, rgba(16,28,39,.15) 55%, transparent 100%);
}
.hero-inner{
  position: relative;
  width: 100%;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 1024px){ .hero-inner{ padding: 0 2.5rem; } }
.hero-content{ max-width: 950px; }
.hero .eyebrow{ color: var(--cream-dimmer); margin-bottom: 2rem; }
.hero h1{
  max-width: 940px;
  font-size: clamp(2.4rem, 7.5vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: var(--cream);
  margin: 0;
}
.hero h1 em{ font-style: italic; }
.hero .lede{
  margin-top: 2.5rem;
  max-width: 560px;
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--cream-dim);
}
.hero .ctarow{
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero .tertiary{
  margin-top: 1.6rem;
  font-size: 0.9rem;
  color: var(--cream-dimmer);
}
.hero .tertiary a{
  color: var(--cream-dim);
  text-decoration: none;
  border-bottom: 1px solid var(--cream-dimmer);
}
.hero .tertiary a:hover{ color: #fff; border-bottom-color: #fff; }
.hero .micro{
  margin-top: 1.4rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(255,255,255,.14);
  max-width: 34rem;
  font-size: 0.85rem;
  color: var(--cream-dimmer);
}

/* ---------- eyebrow / heading system ---------- */
.eyebrow{
  font-family: "Inter", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 1.1rem;
}
h2.display{
  font-size: clamp(2.1rem, 5vw, 4.4rem);
  line-height: 0.99;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 900px;
}
h2.display.tight{ max-width: 720px; }

/* ---------- sections ---------- */
section{ padding: 5.5rem 0; }
@media (min-width: 1024px){ section{ padding: 7.5rem 0; } }
.section-border-b{ border-bottom: 1px solid var(--rule); }
.section-border-y{ border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.section-border-t{ border-top: 1px solid var(--rule); }

/* ---------- photo break ---------- */
.photo-break{
  position: relative;
  overflow: hidden;
  height: 240px;
  margin-bottom: 3.5rem;
}
@media (min-width: 768px){ .photo-break{ height: 340px; } }
.photo-break img{ height: 100%; width: 100%; object-fit: cover; }
.photo-break-scrim{
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(16,28,39,.65), transparent);
}
.photo-break-caption{
  position: absolute;
  left: 1.5rem; bottom: 1.1rem;
  color: #fff;
  font-size: 0.92rem;
}

/* ---------- problem section ---------- */
.problem-grid{
  margin-top: 3.2rem;
  display: grid;
  gap: 2.6rem;
}
@media (min-width: 768px){
  .problem-grid{ grid-template-columns: 1fr 1fr; gap: 4.5rem; }
}
.problem-copy{
  font-size: 1.03rem;
  line-height: 1.85;
  color: var(--ink-soft);
}
.problem-copy p + p{ margin-top: 1.5rem; }
.pull-quote{
  border-left: 1px solid var(--petrol);
  padding-left: 1.6rem;
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-style: italic;
  line-height: 1.2;
  margin: 0;
}

/* ---------- what we do ---------- */
.wwd-head{ max-width: 720px; }
.wwd-head p{
  margin-top: 1.4rem;
  max-width: 560px;
  font-size: 1.03rem;
  line-height: 1.75;
  color: var(--ink-softer);
}
.card-grid{
  margin-top: 4rem;
  display: grid;
  border-top: 1px solid var(--rule-strong);
}
@media (min-width: 768px){
  .card-grid{ grid-template-columns: repeat(3, 1fr); }
}
.num-card{
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rule-strong);
  background: var(--paper-soft);
  padding: 2rem 1.5rem;
}
@media (min-width: 768px){
  .num-card{
    border-right: 1px solid var(--rule-strong);
    padding: 2.2rem 2rem;
  }
  .num-card:last-child{ border-right: none; }
}
.num-card .num{
  position: absolute;
  right: -0.7rem; top: -2.4rem;
  font-size: 8.5rem;
  line-height: 1;
  color: rgba(13,51,73,.08);
  pointer-events: none;
  user-select: none;
}
.num-card h3{
  position: relative;
  font-family: "Inter", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}
.num-card p{
  position: relative;
  margin-top: 1rem;
  max-width: 300px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ink-muted);
}
.wwd-closing{
  margin-top: 2.4rem;
  max-width: 620px;
  font-size: 0.98rem;
  line-height: 1.75;
  color: var(--ink-softer);
}

.domain-break{ margin-top: 5rem; }
.domain-break img{ height: 260px; width: 100%; object-fit: cover; }
@media (min-width: 768px){ .domain-break img{ height: 360px; } }
.domain-break-caption{
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--ink-faintest);
}

.domain-block{
  margin-top: 3.5rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--rule-strong);
}
.domain-block .label{ font-size: 0.9rem; color: var(--ink-faint); margin-bottom: 1.5rem; }
.domain-list{
  display: grid;
  gap: 1rem 2rem;
  font-size: 0.98rem;
}
@media (min-width: 768px){ .domain-list{ grid-template-columns: repeat(3, 1fr); } }
.domain-list li{
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1rem;
  color: #303030;
}
.workon-block{
  margin-top: 2.4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  font-size: 0.94rem;
  line-height: 1.85;
  color: var(--ink-muted);
  max-width: var(--wide);
}
.workon-block strong{ color: var(--ink); font-weight: 600; }

/* ---------- process rail ---------- */
.process{
  position: relative;
  overflow: hidden;
  background: var(--paper-softer);
}
.process-bg{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.08;
  mix-blend-mode: multiply;
}
.process-inner{ position: relative; max-width: 62rem; }
.process-list{
  margin-top: 3.6rem;
  max-width: 850px;
  counter-reset: step;
}
.process-step{
  counter-increment: step;
  position: relative;
  display: grid;
  gap: 0.5rem;
  border-top: 1px solid var(--rule-stronger);
  padding: 1.6rem 0 1.6rem 1.8rem;
}
@media (min-width: 768px){
  .process-step{ grid-template-columns: 190px 1fr; gap: 2.4rem; }
}
.process-step::before{
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0; top: 1.75rem;
  font-variant-numeric: tabular-nums;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-faintest);
}
.process-step .rail{
  position: absolute;
  left: 0.62rem; top: 0; bottom: 0;
  width: 1px;
  background: rgba(13,51,73,.35);
}
.process-step .dot{
  position: absolute;
  left: 0.44rem; top: 1.9rem;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--petrol);
}
.process-step h3{
  font-family: "Inter", sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  margin: 0;
}
.process-step p{
  max-width: 570px;
  margin-top: 0.35rem;
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--ink-muted);
}

/* ---------- proof section ---------- */
.proof-layout{
  display: grid;
  gap: 3.5rem;
  border-left: 1px solid var(--petrol);
  padding-left: 1.5rem;
}
@media (min-width: 1024px){
  .proof-layout{ grid-template-columns: .85fr 1.15fr; gap: 5rem; align-items: start; padding-left: 2.5rem; }
}
.proof-figure img{
  height: 420px;
  width: 100%;
  object-fit: cover;
  filter: grayscale(.2);
  box-shadow: 12px 16px 30px rgba(26,38,45,.16);
}
.proof-figure figcaption{
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--ink-faintest);
}
.proof-lead{
  margin-top: 1.3rem;
  max-width: 560px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-softer);
}
.proof-list{
  margin-top: 2.6rem;
}
.proof-list li{
  border-top: 1px solid var(--rule-strong);
  padding: 1.5rem 0;
}
.proof-list h3{
  font-family: "Inter", sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  margin: 0;
}
.proof-list p{
  margin-top: 0.5rem;
  max-width: 470px;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--ink-muted);
}
.certs{
  margin-top: 2.8rem;
  padding-top: 2.2rem;
  border-top: 1px solid var(--rule-strong);
  display: grid;
  gap: 2rem;
}
@media (min-width: 640px){ .certs{ grid-template-columns: 1fr 1fr; } }
.certs h4{
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  margin: 0 0 0.55rem;
}
.certs p{ margin: 0; font-size: 0.96rem; color: var(--ink); }
.certs .verify{
  display: block;
  margin-top: 0.5rem;
  font-size: 0.83rem;
  color: var(--ink-faintest);
}

/* ---------- credibility ---------- */
.credibility p{
  margin-top: 1.2rem;
  max-width: var(--measure);
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--ink-soft);
}
.stat-line{
  margin-top: 1.8rem;
  padding: 1.5rem 1.7rem;
  background: var(--paper-soft);
  border-left: 2px solid var(--petrol);
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--ink-softer);
  max-width: var(--wide);
}
.stat-line strong{ color: var(--ink); }
.stat-line .qualifier{
  display: block;
  margin-top: 0.6rem;
  font-size: 0.82rem;
  color: var(--ink-faintest);
}

/* ---------- why us ---------- */
.why-us{
  position: relative;
  overflow: hidden;
  background: var(--paper-faint);
}
.why-watermark{
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-size: 22vw;
  font-weight: 600;
  color: rgba(13,51,73,.045);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}
.why-inner{ position: relative; max-width: 62rem; }
.why-body p{
  margin-top: 1.4rem;
  max-width: var(--wide);
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--ink-soft);
}
.why-body p.muted{ color: var(--ink-muted); font-size: 0.96rem; }

.comparison{
  margin-top: 3.6rem;
  border-top: 1px solid #252525;
}
.comparison .row{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.5rem;
  border-bottom: 1px solid var(--rule-strong);
  padding: 1.4rem 0;
  font-size: 0.86rem;
}
@media (min-width: 640px){
  .comparison .row{
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 0.75rem;
    font-size: 0.92rem;
  }
}
.comparison .row.head{
  font-weight: 600;
  padding: 1rem 0;
}
.comparison .us{ color: var(--petrol); background: rgba(13,51,73,.04); padding: 0.35rem 0.6rem; margin: -0.35rem -0.6rem; }
.comparison .them{ color: var(--ink-faint); }
.comparison .dot{ margin-right: 0.5rem; }

/* ---------- partners ---------- */
.partners{ background: var(--paper-softer); }
.partners p{
  margin-top: 1.3rem;
  max-width: var(--wide);
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--ink-soft);
}
.partner-ctas{
  margin-top: 2rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.partner-note{
  margin-top: 1.8rem;
  font-size: 0.86rem;
  color: var(--ink-faintest);
}

/* ---------- final CTA ---------- */
.final-cta{
  position: relative;
  overflow: hidden;
  background: var(--petrol-deep);
  color: var(--cream);
  text-align: center;
  padding: 6.5rem 0;
}
@media (min-width: 1024px){ .final-cta{ padding: 9rem 0; } }
.final-cta-bg{
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  height: 100%;
  width: 115%;
  object-fit: cover;
  opacity: 0.14;
  filter: blur(2px);
}
.final-cta-inner{
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.final-cta .eyebrow{ color: var(--cream-dimmer); }
.final-cta h2{
  font-size: clamp(2.2rem, 5.5vw, 4.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0;
}
.final-cta p.body{
  margin: 1.5rem auto 0;
  max-width: 480px;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--cream-dim);
}
.final-cta .ctarow{
  margin-top: 2.2rem;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.final-cta .refline{
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: 0.88rem;
  color: var(--cream-dimmer);
}

/* ---------- footer ---------- */
footer{
  border-top: 1px solid var(--rule);
  padding: 2.4rem 0;
}
footer .wrap{
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  font-size: 0.9rem;
  color: var(--ink-faint);
}
@media (min-width: 768px){
  footer .wrap{ flex-direction: row; align-items: center; justify-content: space-between; }
}
footer .wordmark{ font-size: 1.15rem; color: var(--ink); }
footer .foot-links{
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
footer .foot-links a{ text-decoration: none; }
footer .foot-links a:hover{ color: var(--petrol); }
footer .foot-links button{ text-decoration: none; }
footer .foot-links button:hover{ color: var(--petrol); }

/* ---------- modal ---------- */
.modal-overlay{
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(23,32,42,.6);
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.modal-overlay.is-open{ display: flex; }
.modal{
  position: relative;
  width: 100%;
  max-width: 500px;
  background: var(--paper);
  padding: 2.5rem 2rem;
  box-shadow: 0 24px 60px rgba(16,28,39,.35);
  max-height: 90vh;
  overflow-y: auto;
}
@media (min-width: 768px){ .modal{ padding: 3rem 2.5rem; } }
.modal-close{
  position: absolute;
  right: 1.2rem; top: 1rem;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink-faint);
}
.modal-close:hover{ color: var(--ink); }
.modal .kicker{ font-size: 0.9rem; color: var(--ink-softer); margin: 0; }
.modal h2{
  margin-top: 0.7rem;
  font-size: 2.1rem;
}
.modal-form{ margin-top: 2rem; display: grid; gap: 1rem; }
.modal-form label{
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-softer);
  margin-bottom: 0.4rem;
}
.modal-form input, .modal-form textarea{
  width: 100%;
  border: 1px solid var(--rule-stronger);
  background: transparent;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 0.94rem;
  color: var(--ink);
  outline: none;
}
.modal-form input::placeholder, .modal-form textarea::placeholder{ color: #999; }
.modal-form input:focus, .modal-form textarea:focus{ border-color: var(--petrol); }
.modal-form textarea{ resize: none; }
.modal-hint{
  font-size: 0.8rem;
  color: var(--ink-faintest);
  margin: -0.2rem 0 0.2rem;
}
.modal-form .btn{ width: 100%; text-align: center; margin-top: 0.3rem; }

.modal-confirm{ padding: 1rem 0; }
.modal-confirm h2{ font-size: 2.2rem; margin: 0; }
.modal-confirm p{
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--ink-muted);
}
.modal-confirm .link-cta{ display: inline-block; margin-top: 1rem; }

/* ---------- 404 ---------- */
body.notfound-body{ background: var(--petrol-deep); color: var(--cream); }
main.notfound{
  max-width: 40rem;
  margin: 0 auto;
  padding: 7rem 1.5rem;
  min-height: 100dvh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
main.notfound .eyebrow{ color: var(--cream-dimmer); }
main.notfound h1{
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 1.1rem;
  color: var(--cream);
}
main.notfound p{ color: var(--cream-dim); margin: 0 0 2rem; max-width: 34rem; line-height: 1.7; }

/* ---------- SEO landing pages (shared, non-hero) ---------- */
.site-nav.solid{
  position: static;
  background: var(--petrol-deep);
}
.nav-dropdown{ position: relative; }
.nav-dropdown-toggle{
  font: inherit;
  color: inherit;
}
.nav-dropdown-menu{
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  margin-top: 0.6rem;
  padding: 0.5rem 0;
  background: #111d27;
  border: 1px solid rgba(255,255,255,.15);
  z-index: 40;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu{ display: block; }
.nav-dropdown-menu a{
  display: block;
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  color: var(--cream-dim);
  text-decoration: none;
  white-space: nowrap;
}
.nav-dropdown-menu a:hover{ color: #fff; background: rgba(255,255,255,.06); }

.breadcrumb{
  font-size: 0.82rem;
  color: var(--ink-faint);
  margin: 0 0 1.6rem;
}
.breadcrumb a{ color: var(--ink-faint); text-decoration: none; }
.breadcrumb a:hover{ color: var(--petrol); }

.page-header{ padding-bottom: 0; }
.page-header h1{
  font-size: clamp(2.1rem, 5.2vw, 4.2rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
  max-width: 900px;
  margin: 0;
  color: var(--ink);
}
.page-header .lede{
  margin-top: 1.5rem;
  max-width: var(--measure);
  font-size: 1.06rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.page-section h2{
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1.2rem;
  color: var(--ink);
}
.page-section h2 a{
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.page-section h2 a:hover{ border-bottom-color: var(--rule); }
.page-section p{
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--ink-soft);
}
.page-section p + p{ margin-top: 1.3rem; }

.footer-caps{
  border-top: 1px solid var(--rule);
  padding-top: 1.4rem;
  margin-top: 1.4rem;
}
.footer-caps .eyebrow{ margin: 0 0 0.9rem; }

/* ---------- code block (evidence page: command + verify output) ---------- */
.code-block{
  margin-top: 1.2rem;
  padding: 1.3rem 1.5rem;
  background: var(--petrol-deep);
  color: var(--cream);
  border-radius: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.86rem;
  line-height: 1.65;
  overflow-x: auto;
  max-width: var(--wide);
}
.code-block.tall{ max-height: 22rem; overflow-y: auto; }
.code-label{
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  margin: 1.8rem 0 0;
}
.code-label:first-child{ margin-top: 0; }
.file-links{
  margin-top: 1.6rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
