:root {
  --ink: #0c1520;
  --ink-soft: #1c2b3a;
  --muted: #5b6b7a;
  --faint: #8a97a4;
  --bg: #f4f0e8;
  --bg-2: #efe9dd;
  --paper: #fffcf7;
  --paper-2: #f7f3eb;
  --line: #e4dccd;
  --line-strong: #d4c8b4;
  --accent: #1f7a68;
  --accent-dark: #165a4d;
  --accent-soft: #e7f4f0;
  --nav-link: #4f6259;
  --navy: #102033;
  --warn: #8a5a12;
  --warn-bg: #f8efd8;
  --danger: #9b2c2c;
  --shadow: 0 18px 50px rgba(16, 32, 51, 0.1);
  --shadow-lg: 0 28px 70px rgba(16, 32, 51, 0.16);
  --radius: 22px;
  --radius-sm: 14px;
  --header-h: 86px;
  --section-y: 64px;
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    radial-gradient(circle at 86% -8%, rgba(31, 122, 104, 0.14), transparent 28rem),
    radial-gradient(circle at 8% 0%, rgba(255, 252, 247, 0.9), transparent 22rem),
    linear-gradient(180deg, #ece6d8 0%, var(--bg) 18%, var(--bg) 100%);
  line-height: 1.6;
  min-height: 100%;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.03em; color: var(--navy); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 200;
}
.skip-link:focus {
  left: 12px;
}

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 80;
  padding-bottom: 6px;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

.navbar {
  display: flex;
  align-items: center;
  min-height: 72px;
  background: rgba(255, 252, 247, 0.92);
  border: 1px solid rgba(228, 220, 205, 0.9);
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(16, 32, 51, 0.06);
  backdrop-filter: blur(14px);
}

.site-header.scrolled .navbar {
  box-shadow: 0 16px 40px rgba(16, 32, 51, 0.1);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 22px;
  height: 72px;
  font-weight: 750;
  letter-spacing: -0.04em;
  font-size: 20px;
  border-right: 1px solid var(--line);
}

.logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ink);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.logo-mark svg { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  margin-left: auto;
  padding-right: 12px;
  gap: 2px;
}

.nav-links a {
  display: flex;
  align-items: center;
  height: 72px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 650;
  color: var(--nav-link);
  white-space: nowrap;
  position: relative;
  transition: color 0.18s ease;
}

/* Teal underline on hover ties the nav to the brand accent and matches the
   footer link treatment. Scoped away from the CTA, which is a .btn. */
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.nav-links a:not(.btn):hover,
.nav-links a:not(.btn):focus-visible { color: var(--accent-dark); }

.nav-links a:not(.btn):hover::after,
.nav-links a:not(.btn):focus-visible::after {
  opacity: 1;
  transform: none;
}

/* `.nav-links a` is more specific than `.btn`, so the CTA needs its colour
   restored explicitly or it inherits the muted link colour and fails contrast. */
.nav-links a.btn {
  height: 44px;
  margin-left: 8px;
  padding: 0 18px;
  color: #fff;
}

.menu-toggle {
  display: none;
  margin-right: 12px;
  border: 0;
  background: var(--ink);
  color: #fff;
  border-radius: 12px;
  width: 46px;
  height: 46px;
  font-size: 20px;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 14px;
  padding: 13px 20px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  cursor: pointer;
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 24px rgba(12, 21, 32, 0.16);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(12, 21, 32, 0.2); }
.btn:focus-visible { outline: 3px solid rgba(31, 122, 104, 0.45); outline-offset: 2px; }

.btn.secondary {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: none;
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: none;
  border: 1px solid var(--line);
}

.btn.accent {
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(31, 122, 104, 0.22);
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  border: 1px solid rgba(31, 122, 104, 0.18);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 750;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}

/* Hero */
.hero {
  padding: 56px 0 var(--section-y);
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 40px;
  align-items: center;
}

.hero-photo {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  height: 520px;
  box-shadow: var(--shadow-lg);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 22%;
}

.hero h1 {
  font-size: clamp(40px, 6.2vw, 72px);
  line-height: 0.98;
  margin: 0 0 20px;
  font-weight: 560;
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent-dark);
}

.hero .lead {
  font-size: 18px;
  color: #4d5d6c;
  max-width: 540px;
  margin: 0 0 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}


/* Trust */
.trust {
  padding: var(--section-y) 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  align-items: stretch;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 16px;
  box-shadow: 0 12px 34px rgba(16, 32, 51, 0.05);
}

.trust-photo {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  min-height: 100%;
}

.trust-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 460px;
}

.trust-grid > div { padding: 12px 16px 12px 4px; }

.trust h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.12;
  margin: 0 0 12px;
}

.trust p { margin: 0 0 10px; color: var(--muted); }

.trust-points {
  display: grid;
  gap: 12px;
}

.trust-point {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
}

.trust-point strong { display: block; margin-bottom: 4px; font-size: 14.5px; }
.trust-point p { margin: 0; font-size: 14px; }

/* Opportunities */
.section { padding: var(--section-y) 0; }

.section-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 26px;
}

.section-head h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.05;
  margin: 8px 0 0;
}

.section-head p { margin: 0; color: var(--muted); }

.dev-banner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--warn-bg);
  border: 1px solid #ead7a8;
  color: #5c4310;
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 13.5px;
  margin-bottom: 20px;
}

.dev-banner strong {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #5c4310;
  color: #fff;
  border-radius: 999px;
  padding: 3px 8px;
  margin-right: 8px;
}

.category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.cat-chip {
  border: 1px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 650;
  cursor: pointer;
}

.cat-chip:hover,
.cat-chip:focus-visible { border-color: var(--accent); color: var(--accent-dark); }

.cat-chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.listings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.listings-shell {
  display: grid;
  gap: 18px;
}

.listing-more {
  display: flex;
  justify-content: center;
}

.listing-more-btn {
  min-width: 220px;
}

.listing-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 8px 22px rgba(16, 32, 51, 0.04);
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

/* Full-width artwork; fixed height on laptop, 16:9 on smaller screens. */
.listing-media {
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: transparent;
}

.listing-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.listing-card:hover .listing-media img {
  transform: scale(1.02);
}

.listing-body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.listing-card:hover,
.listing-card:focus-visible {
  transform: translateY(-2px);
  border-color: #c9e4dc;
  box-shadow: 0 16px 36px rgba(16, 32, 51, 0.08);
}

.listing-card .badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-bottom: 8px;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 750;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}


/* Category names are longer than a status label, so drop the uppercase
   tracking that suits short badges and let them read as words. */
.badge-cat {
  background: var(--accent-soft);
  color: var(--accent-dark);
  text-transform: none;
  letter-spacing: 0;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
}

.badge-open {
  background: #102033;
  color: #fff;
}

.listing-card h3 {
  margin: 0 0 4px;
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.25;
}

.listing-cat {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 650;
}

.listing-card p {
  margin: 0 0 10px;
  color: #536273;
  font-size: 13px;
  line-height: 1.45;
  flex: 1;
}

.listing-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 750;
  font-size: 13px;
  color: var(--accent-dark);
}

.empty-listings {
  grid-column: 1 / -1;
  text-align: center;
  padding: 28px;
  color: var(--muted);
  background: var(--paper);
  border: 1px dashed var(--line-strong);
  border-radius: 18px;
}

/* Drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 21, 32, 0.42);
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(520px, 100%);
  background: var(--paper);
  z-index: 121;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  box-shadow: -20px 0 50px rgba(12, 21, 32, 0.18);
  display: flex;
  flex-direction: column;
}

.drawer.open { transform: none; }

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 22px 22px 12px;
  border-bottom: 1px solid var(--line);
}

.drawer-head h2 {
  margin: 8px 0 4px;
  font-size: 30px;
  line-height: 1.1;
}

.drawer-close {
  border: 1px solid var(--line);
  background: #fff;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 20px;
}

.drawer-body {
  padding: 20px 22px 28px;
  overflow: auto;
}

.drawer-body h3 {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 20px 0 8px;
}

.drawer-body p { color: #4f5f6e; }

.drawer-body ul {
  margin: 0;
  padding-left: 18px;
  color: #4f5f6e;
}

.drawer-body li { margin: 6px 0; }

.kind-note {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 13.5px;
  color: #4f5f6e;
}

.drawer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

body.drawer-open { overflow: hidden; }

.drawer-media {
  margin: 0 0 16px;
  border-radius: 16px;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--paper-2);
}

.drawer-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Flexibility types */

.flex-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.flex-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 28px rgba(16, 32, 51, 0.04);
}

.flex-media {
  margin: 0;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
}

.flex-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flex-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.flex-plain {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

.flex-card h3 {
  margin: 0 0 10px;
  font-size: 26px;
}

.flex-body p {
  margin: 0 0 12px;
  color: #536273;
  font-size: 14.5px;
}

.flex-examples {
  margin: auto 0 0 !important;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--muted) !important;
}







/* Profile USP */
.usp-split {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  background: var(--navy);
  border-radius: 36px;
  overflow: hidden;
}

.usp-photo {
  margin: 0;
  min-height: 100%;
}

.usp-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 520px;
}

.usp {
  background: var(--navy);
  color: #fff;
  border-radius: 0;
  padding: 42px 36px;
  overflow: hidden;
  position: relative;
}

.usp::before {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;
  right: -60px;
  bottom: -80px;
  background: rgba(31, 122, 104, 0.28);
  border-radius: 50%;
}

.usp .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  color: #d7efe8;
  border-color: rgba(255, 255, 255, 0.12);
}

.usp h2 {
  color: #fff;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.98;
  margin: 0 0 16px;
  max-width: 16ch;
}

.usp p {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.74);
  margin: 0 0 22px;
}

.usp-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.usp-item {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  padding: 16px;
}

.usp-item h3 { color: #fff; font-family: var(--sans); font-size: 15px; margin: 0 0 6px; font-weight: 700; letter-spacing: 0; }
.usp-item p { margin: 0; font-size: 14px; color: rgba(255, 255, 255, 0.68); }

/* AI */



.section-photo {
  margin: 0 0 28px;
  border-radius: 28px;
  overflow: hidden;
  height: 280px;
}

.section-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 28%;
}







/* Values */



/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  counter-reset: step;
}

.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  min-height: 210px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  margin-bottom: 14px;
}

.step h3 { margin: 0 0 8px; font-size: 22px; }
.step p { margin: 0; color: var(--muted); font-size: 14.5px; }

/* Profile form */
.profile-shell {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 28px;
  background: linear-gradient(160deg, #fffdf8, #eaf4f0);
  border: 1px solid var(--line);
  border-radius: 32px;
  padding: 28px;
}

.profile-photo {
  margin: 0 0 20px;
  border-radius: 18px;
  overflow: hidden;
  height: 180px;
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-copy h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  margin: 8px 0 12px;
}

.profile-copy p { color: var(--muted); }

.interest-summary {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  margin-top: 18px;
}

.interest-summary h3 {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.pinned-role {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  background: var(--accent-soft);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
}

.pinned-role button {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--accent-dark);
  font-weight: 700;
}

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 0;
  box-shadow: 0 16px 40px rgba(16, 32, 51, 0.06);
}

.field { margin-bottom: 16px; }

.field label {
  display: block;
  font-size: 13px;
  font-weight: 750;
  margin-bottom: 6px;
}

.req { color: var(--accent-dark); }

.hint {
  display: block;
  margin: 6px 0 0;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}

.field textarea { min-height: 96px; resize: vertical; }

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(31, 122, 104, 0.12);
}

.field.error input,
.field.error textarea,
.field.error .phone-row {
  box-shadow: 0 0 0 3px rgba(155, 44, 44, 0.12);
}

.field-error {
  display: none;
  color: var(--danger);
  font-size: 12.5px;
  margin-top: 6px;
}

.field.error .field-error { display: block; }

.phone-row {
  display: grid;
  grid-template-columns: 148px 1fr;
  gap: 8px;
}

.country-select {
  position: relative;
}

.country-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  border: 1px solid var(--line-strong);
  background: var(--paper-2);
  border-radius: 12px;
  padding: 12px 10px;
  cursor: pointer;
  font-weight: 700;
}

.country-menu {
  display: none;
  position: absolute;
  z-index: 5;
  left: 0;
  right: auto;
  top: calc(100% + 6px);
  width: min(280px, 70vw);
  max-height: 240px;
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.country-menu.open { display: block; }

.country-menu button {
  width: 100%;
  text-align: left;
  border: 0;
  background: #fff;
  padding: 10px 12px;
  cursor: pointer;
}

.country-menu button:hover,
.country-menu button[aria-selected="true"] { background: var(--accent-soft); }

.skill-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-chips label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-weight: 600;
  font-size: 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  cursor: pointer;
  background: var(--paper-2);
}

.skill-chips input { accent-color: var(--accent); }

.interest-fieldset {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  margin: 0 0 16px;
}

.interest-fieldset legend {
  font-size: 13px;
  font-weight: 750;
  padding: 0 6px;
}

.interest-list {
  display: grid;
  gap: 8px;
}

.interest-list label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  font-weight: 550;
}

.disclosure {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 14.5px;
  color: var(--ink-soft);
  margin: 8px 0 14px;
  line-height: 1.55;
}

.disclosure a {
  color: var(--accent-dark);
  text-decoration: underline;
  font-weight: 700;
}

.checks { display: grid; gap: 12px; margin: 0 0 16px; }

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: #334556;
}

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

.check.optional { color: var(--muted); }

.submit-btn { width: 100%; }

.form-status[aria-live] {
  min-height: 0;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
}

.faq-grid > .reveal h2 {
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.05;
  margin: 8px 0 0;
}

.faq-grid > .reveal > p:not(.eyebrow) {
  margin: 14px 0 0;
  color: var(--muted);
}

.faq-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  text-align: left;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  font-weight: 750;
  cursor: pointer;
}

.faq-a {
  display: none;
  padding: 0 18px 16px;
  color: var(--muted);
}

.faq-card.open .faq-a { display: block; }

/* Final CTA */
.final-cta {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: var(--navy);
  border: 0;
  border-radius: 32px;
  padding: 0;
  min-height: 400px;
  display: grid;
  place-items: center;
}

.final-cta-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
}

.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 21, 32, 0.28), rgba(12, 21, 32, 0.62));
}

.final-cta-copy {
  position: relative;
  z-index: 1;
  padding: 56px 28px;
}

.final-cta h2 {
  font-size: clamp(32px, 4.5vw, 52px);
  margin: 0 0 12px;
  color: #fff;
}

.final-cta p {
  margin: 0 auto 22px;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
}

.final-cta .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #e8f3ef;
  border-color: rgba(255, 255, 255, 0.16);
}

/* Footer */
.site-footer {
  margin-top: 40px;
  background: #09141f;
  color: #fff;
  padding: 44px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 28px;
}

.site-footer .brand { border: 0; height: auto; padding: 0; color: #fff; }
.site-footer p,
.site-footer li { color: rgba(255, 255, 255, 0.68); font-size: 14px; }

.site-footer h3 {
  font-family: var(--sans);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  margin: 0 0 12px;
}

.footer-links { display: grid; gap: 8px; justify-items: start; }

.footer-links a,
.site-footer a:not(.brand) {
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.site-footer a:not(.brand):hover,
.site-footer a:not(.brand):focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Keep Legal / Contact column body copy white to match the headings and links */
.footer-grid > div:nth-child(2) p,
.footer-grid > div:nth-child(3) p {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 28px;
  padding-top: 16px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
}

/* Legal / thank you */
.legal-hero,
.thankyou { padding: 40px 0 64px; }

.legal-card,
.thankyou-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.legal-card h1,
.thankyou-card h1 {
  font-size: clamp(34px, 5vw, 56px);
  margin: 0 0 12px;
}

.legal-card h2 { margin-top: 28px; font-size: 26px; }
.legal-card p,
.legal-card li { color: var(--muted); }

.thankyou-interests {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0;
}

.thankyou-interests span {
  background: var(--accent-soft);
  color: var(--accent-dark);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 700;
  font-size: 13.5px;
}

.company-view {
  background: var(--navy);
  color: #fff;
  border-radius: 20px;
  padding: 20px;
  margin: 20px 0;
}

.company-view h2 { color: #fff; font-size: 20px; margin: 0 0 12px; }
.company-view p { color: rgba(255, 255, 255, 0.72); margin: 0 0 8px; }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: 0.55s ease;
}

.reveal.show { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 86px;
    left: 20px;
    right: 20px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 12px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    height: auto;
  }

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

  .nav-links a {
    height: 46px;
    justify-content: flex-start;
  }

  /* The underline is positioned for the 72px desktop bar, so drop it in the
     mobile drawer and rely on the colour change instead. */
  .nav-links a:not(.btn)::after { display: none; }

  .nav-links .btn {
    margin: 8px 0 4px;
    width: 100%;
  }

  .menu-toggle { display: grid; place-items: center; margin-left: auto; }

  .hero-grid,
  .trust-grid,
  .section-head,
  .faq-grid,
  .profile-shell,
  .usp-split,
  .footer-grid { grid-template-columns: 1fr; }

  .hero-photo { height: 420px; }
  .trust-photo img,
  .usp-photo img { min-height: 280px; }

  .listings,
  .usp-grid,
  .flex-grid,
  .steps { grid-template-columns: 1fr 1fr; }

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

@media (max-width: 640px) {
  :root { --section-y: 48px; }
  .container { width: min(100% - 24px, 1140px); }
  .hero-actions .btn,
  .final-cta .btn { width: 100%; }
  .listings,
  .usp-grid,
  .flex-grid,
  .steps,
  .footer-grid { grid-template-columns: 1fr; }

  .phone-row { grid-template-columns: 1fr; }
  .usp, .profile-shell, .legal-card, .thankyou-card { padding: 22px; border-radius: 24px; }
  .drawer { width: 100%; }
  h1, .hero h1 { font-size: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .listing-card, .drawer, .drawer-backdrop { transition: none; }
}
