/* ===== Shared design system for subpages (pilot, privacy, terms, security) ===== */
/* Tokens mirror :root in index.html. Keep in sync if tokens change. */

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

:root {
  --forest: #0E2118;
  --forest-hover: #0A1812;
  --forest-ice: #F6EEDD;
  --forest-wash: #FBF6EB;
  --cream: #F1E8D5;
  --cream-deep: #F6EEDD;
  --ink: #13271B;
  --text-body: #42523F;
  --text-muted: #6E7D6A;
  --text-light: #9AAC98;
  --white: #FBF6EB;
  --amber: #A07433;
  --amber-soft: #D4B88C;
  --tan-bright: #E6CFA3;
  --sage: #9AAC98;
  --panel: #13291D;
  --panel-2: #16301F;
  --border: rgba(19,39,27,.16);
  --border-soft: rgba(19,39,27,.09);
  --border-dark: rgba(212,184,140,.16);
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
  font-weight: 300;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(900px 600px at 80% -10%, rgba(160,116,51,.07), transparent 60%),
    radial-gradient(760px 520px at -5% 105%, rgba(19,39,27,.05), transparent 58%);
}

/* ===== NAV ===== */
.site-nav {
  position: sticky; top: 0; left: 0; right: 0; z-index: 100;
  min-height: 88px;
  padding: 12px 48px 18px;
  margin-bottom: 18px;
  display: flex; align-items: center; justify-content: space-between;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(241,232,213,.78);
  border-bottom: 1px solid var(--border-soft);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo .accent { color: var(--forest); font-style: italic; }
.site-nav .nav-logo img { height: 58px; width: auto; display: block; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
  font-size: 14px; font-weight: 400; color: var(--text-body);
  text-decoration: none; transition: color 0.2s ease;
}
.nav-links a:hover { color: #8A6228; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px; background: var(--forest); color: var(--cream);
  border-radius: 100px; font-family: var(--font-body); font-weight: 500; font-size: 14px;
  text-decoration: none; transition: all 0.2s ease;
}
.nav-cta:link,
.nav-cta:visited {
  color: var(--cream);
}
.nav-cta:hover { background: var(--panel-2); transform: translateY(-1px); box-shadow: none; }

/* ===== BUTTONS ===== */
.btn-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 24px; background: var(--forest); color: #F1E9D9;
  border: none; border-radius: 100px; font-size: 15px; font-weight: 500;
  font-family: var(--font-body); text-decoration: none; cursor: pointer;
  transition: all 0.25s ease;
}
.btn-cta:hover { background: var(--panel-2); transform: translateY(-2px); box-shadow: none; }
.btn-cta:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-cta .arrow { font-size: 16px; transition: transform 0.2s ease; }
.btn-cta:hover .arrow { transform: translate(2px, -2px); }

.btn-cta-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 17px 38px; background: transparent; color: var(--ink);
  border: 1px solid var(--border); border-radius: 100px;
  font-size: 15px; font-weight: 500; font-family: var(--font-body);
  text-decoration: none; cursor: pointer; transition: all 0.25s ease;
}
.btn-cta-secondary:hover { border-color: var(--amber); color: #8A6228; background: rgba(160,116,51,.05); transform: translateY(-2px); }

/* ===== PAGE HEADER (subpage heros) ===== */
.page-header {
  padding: 160px 48px 60px; text-align: center;
  background: linear-gradient(180deg, var(--forest-ice) 0%, var(--cream) 100%);
}
.page-header .kicker {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--forest);
  margin-bottom: 20px;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  max-width: 760px;
  margin: 0 auto 20px;
}
.page-header h1 em { color: #8A6228; font-style: italic; font-weight: 500; }
.page-header p {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-body);
  max-width: 620px;
  margin: 0 auto;
}
.page-header .meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 20px;
}

/* ===== PROSE (legal pages) ===== */
.prose {
  max-width: 720px;
  margin: 0 auto;
  padding: 80px 48px 120px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-body);
}
.prose h2 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--ink);
  margin-top: 56px;
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin-top: 32px;
  margin-bottom: 12px;
}
.prose p { margin-bottom: 18px; }
.prose ul, .prose ol { margin: 0 0 18px 24px; }
.prose li { margin-bottom: 8px; }
.prose a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s;
}
.prose a:hover { color: var(--forest-hover); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose hr {
  border: 0;
  height: 1px;
  background: var(--border);
  margin: 48px 0;
}
.prose .note {
  background: var(--forest-ice);
  border-left: 3px solid var(--forest);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  margin: 32px 0;
  font-size: 15px;
}
.prose code {
  font-family: 'SF Mono', Monaco, monospace;
  font-size: 0.9em;
  background: var(--forest-ice);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ===== SEO SERVICE LANDING PAGES ===== */
.service-hero {
  padding: 150px 48px 76px;
  background:
    radial-gradient(900px 520px at 85% -20%, rgba(160,116,51,.11), transparent 60%),
    linear-gradient(180deg, var(--forest-ice) 0%, var(--cream) 100%);
}
.service-hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 54px;
  align-items: center;
}
.service-kicker {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--forest);
  margin-bottom: 18px;
}
.service-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 760px;
}
.service-hero h1 em { color: #8A6228; font-style: italic; font-weight: 500; }
.service-lead {
  font-size: 19px;
  line-height: 1.65;
  color: var(--text-body);
  max-width: 680px;
  margin: 24px 0 0;
}
.service-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.service-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 34px; max-width: 650px; }
.service-proof div { border: 1px solid var(--border); background: rgba(255,255,255,0.46); border-radius: var(--radius-sm); padding: 14px; }
.service-proof b { display: block; color: var(--forest); font-family: var(--font-display); font-size: 22px; line-height: 1; margin-bottom: 6px; }
.service-proof span { display: block; color: var(--text-muted); font-size: 12px; }
.service-card { background: linear-gradient(160deg,var(--panel),var(--forest-hover)); color: #F1E9D9; border: 1px solid var(--border-dark); border-radius: var(--radius); padding: 34px; box-shadow: 0 24px 60px -20px rgba(0,0,0,.55); }
.service-card h2 { font-family: var(--font-display); font-size: 28px; font-weight: 500; margin-bottom: 18px; }
.service-card ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.service-card li { color: #D8CFBE; font-size: 14px; line-height: 1.5; }
.service-card li::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--amber-soft); margin-right: 10px; transform: translateY(-1px); }
.service-content { max-width: 1120px; margin: 0 auto; padding: 82px 48px 110px; }
.service-section { margin-top: 72px; }
.service-section:first-child { margin-top: 0; }
.service-section h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 780px;
}
.service-section > p { color: var(--text-body); font-size: 17px; line-height: 1.75; max-width: 780px; margin-top: 18px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.service-tile { background: var(--forest-wash); border: 1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 24px; }
.service-tile h3 { font-family: var(--font-display); font-size: 22px; font-weight: 500; margin-bottom: 10px; }
.service-tile p { color: var(--text-body); font-size: 14px; line-height: 1.65; }
.service-tile a { color: var(--forest); font-weight: 500; text-decoration: none; }
.service-tile a:hover { color: #8A6228; }
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; margin-top: 26px; color: var(--text-body); }
.service-list li { margin-left: 18px; line-height: 1.55; }
.service-list a {
  color: var(--forest);
  font-weight: 500;
  text-decoration-color: rgba(160,116,51,.42);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.service-list a:hover {
  color: #8A6228;
  text-decoration-color: rgba(160,116,51,.78);
}
.service-trust {
  background: var(--forest-wash);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 30px;
  margin-top: 32px;
}
.service-trust h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.16;
  margin-bottom: 18px;
}
.service-trust ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  color: var(--text-body);
}
.service-trust li {
  margin-left: 18px;
  line-height: 1.55;
}
.service-arabic {
  margin-top: 32px;
  padding: 28px;
  background: var(--forest-wash);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
}
.service-arabic h3 {
  font-family: "IBM Plex Sans Arabic", var(--font-body);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 12px;
}
.service-arabic p {
  color: var(--text-body);
  font-family: "IBM Plex Sans Arabic", var(--font-body);
  font-size: 16px;
  line-height: 1.9;
}
.service-arabic .service-list {
  direction: rtl;
  font-family: "IBM Plex Sans Arabic", var(--font-body);
}
.service-faq { border-top: 1px solid var(--border); margin-top: 30px; }
.service-faq details { border-bottom: 1px solid var(--border); padding: 20px 0; }
.service-faq summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.service-faq p { color: var(--text-body); margin-top: 12px; line-height: 1.7; }
.service-cta-band { margin-top: 72px; background: linear-gradient(170deg,var(--panel),var(--forest-hover)); color: #F1E9D9; border: 1px solid var(--border-dark); border-radius: var(--radius); padding: 38px; display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.service-cta-band h2 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 42px); font-weight: 400; line-height: 1.08; }
.service-cta-band p { margin-top: 10px; color: rgba(250,247,240,0.72); }
.service-cta-band .btn-cta { background: var(--amber-soft); color: #10251A; flex-shrink: 0; }
.service-cta-band .btn-cta:hover { background: var(--tan-bright); }

/* ===== FOOTER ===== */
.site-footer { background: var(--forest-hover); padding: 72px 48px 36px; color: rgba(241,233,217,0.6); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; max-width: 1200px; margin: 0 auto 56px; }
.footer-brand .nav-logo { color: var(--cream); margin-bottom: 18px; display: inline-block; }
.footer-brand .nav-logo img { height: 58px; width: auto; display: block; }
.footer-brand .nav-logo .accent { color: var(--amber-soft); }
.footer-brand p { font-size: 14px; line-height: 1.6; max-width: 320px; }
.footer-col h4 {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .12em; color: var(--amber-soft);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14px; color: #D8CFBE; text-decoration: none; transition: color 0.2s; }
.footer-col a:hover { color: var(--tan-bright); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto; padding-top: 32px; border-top: 1px solid rgba(250,247,240,0.08);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(250,247,240,0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .site-nav { padding: 12px 24px 18px; margin-bottom: 14px; }
  .nav-links { display: none; }
  .page-header { padding: 130px 24px 50px; }
  .service-hero { padding: 128px 24px 62px; }
  .service-hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .service-content { padding: 64px 24px 96px; }
  .service-proof, .service-grid, .service-list, .service-trust ul { grid-template-columns: 1fr; }
  .service-cta-band { display: block; }
  .service-cta-band .btn-cta { margin-top: 24px; }
  .prose { padding: 60px 24px 80px; }
  .site-footer { padding: 56px 24px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
