/* ============================================================
   SKYDDA — styles.css
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  --orange:    #E55A1A;
  --dark:      #111111;
  --dark2:     #1A1A1A;
  --light-bg:  #F5F4EF;
  --white:     #FFFFFF;
  --text:      #1A1A1A;
  --muted:     #666666;
  --border:    #E2E0DB;
  --nav-h:     64px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Playfair Display', Georgia, serif; line-height: 1.15; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ---------- Utilities ---------- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 48px; }
.orange { color: var(--orange); }

/* Offset anchors so fixed nav doesn't cover them */
section[id] { scroll-margin-top: var(--nav-h); }

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px;
  background: var(--orange); color: white;
  border-radius: 4px; font-size: 0.875rem; font-weight: 500;
  transition: background 0.2s;
  white-space: nowrap;
}
.btn-primary:hover { background: #cf4e16; }

.btn-ghost {
  display: inline-flex; align-items: center;
  color: var(--text); font-size: 0.875rem; font-weight: 400;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.btn-ghost:hover { border-color: var(--text); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 28px;
  border: 1px solid rgba(255,255,255,0.5);
  color: white; border-radius: 4px;
  font-size: 0.875rem; font-weight: 400;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: white; background: rgba(255,255,255,0.08); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 48px;
  min-height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
}
/* Nav end: CTA + hamburger grouped */
.nav-end { display: flex; align-items: center; gap: 16px; }
/* Hamburger button */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 36px; height: 36px;
  background: none; border: none; cursor: pointer;
  padding: 6px; border-radius: 4px; flex-shrink: 0;
}
.nav-hamburger span {
  display: block; width: 100%; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform 0.22s ease, opacity 0.22s ease;
  transform-origin: center;
}
.nav.menu-open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.menu-open .nav-hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav.menu-open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Mobile drawer */
.nav-drawer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.32s cubic-bezier(0.4,0,0.2,1);
  background: rgba(255,255,255,0.98);
}
.nav.menu-open .nav-drawer { max-height: 500px; }
.nav-drawer-links {
  list-style: none; margin: 0 20px;
  border-top: 1px solid var(--border);
}
.nav-drawer-links a {
  display: block; padding: 15px 0;
  font-size: 1rem; color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}
.nav-drawer-links a:hover { color: var(--orange); }
.nav-drawer-cta { margin: 16px 20px 24px; }
.logo {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem; font-weight: 700;
  color: var(--text);
}
.logo-bird { width: 28px; height: 28px; object-fit: contain; flex-shrink: 0; }
.nav-links {
  display: flex; list-style: none; gap: 36px;
}
.nav-links a {
  font-size: 0.875rem; font-weight: 400; color: var(--text);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--orange); }
.nav-links a.active { color: var(--orange); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex; align-items: center;
  background: var(--white);
  overflow: hidden;
}
.hero-inner {
  max-width: 1160px; margin: 0 auto; padding: 80px 48px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: center;
  width: 100%;
}
.hero-tag {
  display: inline-block;
  color: var(--orange); font-size: 0.8rem; font-weight: 500;
  letter-spacing: 0.04em; text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700; color: var(--text);
  margin-bottom: 24px;
}
.hero-title em { font-style: italic; }
.hero-body {
  font-size: 1rem; line-height: 1.75;
  color: var(--muted); max-width: 460px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; align-items: center; gap: 28px; }
.hero-visual { display: flex; justify-content: flex-end; align-items: center; }
#hero-bird { max-width: 100%; height: auto; }

/* ============================================================
   HOW INTRO
   ============================================================ */
.how-intro {
  background: var(--white);
  padding: 80px 0;
}
.how-intro-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
/* Code window */
.code-window {
  background: #FAFAFA;
  border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden;
  font-family: 'Courier New', 'Menlo', monospace;
  font-size: 0.78rem;
}
.code-bar {
  background: #EFEFEF; padding: 9px 14px;
  display: flex; align-items: center; gap: 6px;
  border-bottom: 1px solid var(--border);
}
.code-bar-label { margin-left: 8px; font-size: 0.72rem; color: var(--muted); font-family: 'Inter', sans-serif; }
.code-body { padding: 20px; line-height: 1.7; color: #333; white-space: pre; overflow: hidden; }
/* Dots */
.dot { width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0; }
.dot.red    { background: #FF5F57; }
.dot.yellow { background: #FEBC2E; }
.dot.green  { background: #28C840; }
.dot.gray   { background: #D0CFC9; }
/* How intro text — matches .what-text style */
.how-intro-text h3 {
  font-size: 1.6rem; margin-bottom: 14px;
  font-family: 'Inter', sans-serif; font-weight: 600;
}
.how-intro-text p { font-size: 0.95rem; line-height: 1.75; color: var(--muted); }

/* ============================================================
   PROBLEM
   ============================================================ */
.problem { padding: 100px 0 0; background: var(--white); }
/* Newspaper editorial layout */
.problem-editorial {
  max-width: 700px;
  margin: 0 auto 80px;
  text-align: center;
  background:
    /* fold shadow — lower half marginally darker */
    linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.04) 46%, rgba(0,0,0,0.07) 100%),
    /* age & wear at corners */
    radial-gradient(ellipse at 8%  8%,  rgba(160,120,55,0.14) 0%, transparent 40%),
    radial-gradient(ellipse at 93% 5%,  rgba(140,105,50,0.11) 0%, transparent 34%),
    radial-gradient(ellipse at 92% 94%, rgba(155,115,55,0.12) 0%, transparent 38%),
    radial-gradient(ellipse at 6%  93%, rgba(145,108,52,0.10) 0%, transparent 36%),
    #FFF1E5;
  padding: 36px 64px 44px;
  transform: rotate(-0.5deg) skewX(0.2deg);
  position: relative;
  filter:
    drop-shadow(2px 10px 32px rgba(0,0,0,0.24))
    drop-shadow(0px 1px 3px rgba(160,120,72,0.42))
    drop-shadow(-2px 4px 14px rgba(0,0,0,0.12));
  clip-path: polygon(
    /* top edge */
    0% 0%, 100% 0%,
    /* right side — straight */
    100% 100%,
    /* bottom edge */
    0% 100%,
    /* left side — jagged up */
    2% 97%,    0% 94.5%, 3% 92%,    0% 89.5%,
    1.5% 87%,  0% 84.5%, 3.5% 82%,  0% 79.5%,
    2%   77%,  0% 74.5%, 3%   72%,  0.5% 69.5%,
    2.5% 67%,  0% 64.5%, 3%   62%,  0% 59.5%,
    2%   57%,  0% 54.5%, 3.5% 52%,  0.5% 49.5%,
    3%   47%,  0% 44.5%, 2%   42%,  0% 39.5%,
    3.5% 37%,  0% 34.5%, 2%   32%,  0.5% 29.5%,
    2%   27%,  0% 24.5%, 3%   22%,  0% 19.5%,
    3%   17%,  0% 14.5%, 2.5% 12%,  0% 9.5%,
    2.5% 7%,   0% 4.5%,  2%   2%
  );
}
.problem-editorial::before { display: none; }
.problem-editorial::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    /* horizontal fold crease ~45% down */
    linear-gradient(180deg,
      transparent 44.8%,
      rgba(120,82,32,0.28) 45.1%,
      rgba(170,118,46,0.16) 45.5%,
      rgba(120,82,32,0.10) 46%,
      transparent 46.4%
    ),
    /* faint vertical centre crease */
    linear-gradient(90deg,
      transparent 49.2%,
      rgba(120,82,32,0.10) 49.6%,
      rgba(155,105,42,0.08) 50%,
      rgba(120,82,32,0.06) 50.4%,
      transparent 50.8%
    );
}
.problem-masthead {
  display: flex;
  justify-content: center;
  align-items: baseline;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #B8946A;
}
.pm-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  color: #7A6248;
  letter-spacing: 0.04em;
}
.pm-section {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #7A6248;
  margin-bottom: 14px;
}
.problem-column-rule {
  display: flex; flex-direction: column; gap: 5px;
  margin-bottom: 18px;
}
.problem-column-rule::before,
.problem-column-rule::after {
  content: ''; display: block; width: 100%;
}
.problem-column-rule::before { height: 3px; background: #1A1A1A; }
.problem-column-rule::after  { height: 1px; background: #1A1A1A; }
.problem-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 900;
  line-height: 1.18;
  color: #1A1A1A;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.problem-headline .orange { color: #C0390A; }
.problem-sub {
  font-size: 0.95rem;
  line-height: 1.85;
  color: #4A3728;
  border-top: 1px solid #C8A882;
  padding-top: 20px;
  font-style: italic;
  font-family: 'Playfair Display', serif;
}
/* Trust shape */
.trust-shape {
  position: relative;
  background: var(--orange);
  color: white;
  max-width: 860px;
  margin: 0 auto;
  padding: 64px 72px;
  clip-path: polygon(
    28px 0%, calc(100% - 28px) 0%,
    100% 28px, 100% calc(100% - 28px),
    calc(100% - 28px) 100%, 28px 100%,
    0% calc(100% - 28px), 0% 28px
  );
}
.trust-corners {
  position: absolute; inset: 0;
  display: grid; grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  pointer-events: none;
}
.trust-corners span {
  display: flex;
  font-size: 1.2rem; opacity: 0.5; color: white;
  padding: 18px 24px;
}
.trust-corners span:nth-child(1) { align-items: flex-start; justify-content: flex-start; }
.trust-corners span:nth-child(2) { align-items: flex-start; justify-content: flex-end; }
.trust-corners span:nth-child(3) { align-items: flex-end;   justify-content: flex-start; }
.trust-corners span:nth-child(4) { align-items: flex-end;   justify-content: flex-end; }
.trust-body p {
  font-size: 1.05rem; line-height: 1.75;
  margin-bottom: 20px; text-align: center;
}
.trust-body p:last-child { margin-bottom: 0; }
.trust-body strong { font-weight: 700; }
.trust-title {
  font-size: 1.45rem; font-weight: 700;
  font-family: 'Inter', sans-serif;
  line-height: 1.35; margin-bottom: 18px;
  text-align: center; color: white;
  letter-spacing: -0.02em;
}

/* ============================================================
   WHY TRUST
   ============================================================ */
.why-trust { padding: 100px 48px; max-width: 1160px; margin: 0 auto; }
.why-trust p {
  font-size: 1.15rem; line-height: 1.8;
  margin-bottom: 24px; max-width: 680px;
}
.why-trust p:last-child { margin-bottom: 0; }
.nothing-black-box {
  font-size: 1.5rem !important;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
}
/* v2 emphatic why-trust */
.why-trust-v2 { max-width: 860px; margin: 0 auto; }
.why-trust-claims {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px; margin-bottom: 72px;
}
.why-trust-claims p {
  font-size: 1.1rem; line-height: 1.78;
  color: var(--text); max-width: none; margin-bottom: 0;
}
.why-trust-statement { text-align: center; }
.wts-rule { height: 3px; background: var(--text); }
.wts-rule--thin2 { height: 1px; background: var(--text); margin-top: 5px; }
.wts-rule--thin  { height: 1px; background: var(--text); margin-top: 28px; }
.why-trust-v2 .wts-text {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -0.03em;
  padding: 28px 0 0;
  margin: 0; max-width: none;
  white-space: nowrap;
}
.wts-accent {
  color: var(--orange);
  font-style: italic;
}
/* left-aligned clipping (v2 only) */
.problem-editorial--left {
  margin-left: 0;
  margin-right: auto;
  transform: rotate(0.3deg);
}
/* two-column problem layout (v2 only) */
.problem-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  padding-bottom: 80px;
}
.problem-split .problem-editorial {
  margin: 0;
  transform: rotate(-0.4deg);
}
.problem-trust-text h3 {
  font-size: 1.6rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  color: var(--text);
}
.problem-trust-text p {
  font-size: 0.95rem;
  line-height: 1.78;
  color: var(--muted);
}

/* ============================================================
   INVESTIGATION TRACE
   ============================================================ */
.trace-section { padding: 40px 0 80px; }
.what-mockup-img {
  display: block;
  width: 100%; height: auto;
  /* clip-path trims the right edge where a partial callout box is cropped in the PNG;
     round 10px preserves the corner radius without needing border-radius */
  clip-path: inset(0 5% 0 0 round 10px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
.trace-img {
  display: block;
  width: 100%; max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 24px;
}
.trace-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
  font-size: 0.72rem; color: var(--muted);
  font-family: 'Courier New', monospace;
  letter-spacing: 0.03em;
}
.trace-live { color: var(--orange); }
.trace-diagram {
  display: flex; align-items: center;
  background: white; border: 1px solid var(--border);
  border-radius: 10px; padding: 32px 28px;
  gap: 0;
}
/* Inputs */
.trace-inputs {
  display: flex; flex-direction: column;
  gap: 18px; flex-shrink: 0;
}
.trace-src {
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.1em; color: var(--muted);
  line-height: 1.3;
}
/* Lines in */
.trace-lines {
  display: flex; flex-direction: column;
  justify-content: space-around;
  gap: 18px;
  margin: 0 12px;
  flex-shrink: 0;
}
.trace-line {
  height: 1px; width: 36px; background: #CCC;
}
/* Box */
.trace-box {
  flex: 1;
  border: 1.5px solid var(--orange);
  border-radius: 6px; padding: 18px 16px;
}
.trace-box-label {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em;
  color: var(--orange); text-align: center; margin-bottom: 16px;
}
.trace-steps {
  display: flex; align-items: center;
  justify-content: center; gap: 6px;
}
.trace-step { text-align: center; }
.step-icon {
  width: 38px; height: 38px;
  border-radius: 50%; border: 1.5px solid var(--text);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 6px; color: var(--text);
}
.step-icon svg { width: 18px; height: 18px; }
.trace-step span {
  font-size: 0.55rem; font-weight: 700;
  letter-spacing: 0.08em; color: var(--muted);
  display: block;
}
.trace-arrow { color: #BBB; font-size: 1.1rem; flex-shrink: 0; }
.trace-footer {
  font-size: 0.55rem; letter-spacing: 0.12em;
  text-align: center; color: var(--muted);
  margin-top: 14px; font-weight: 500;
}
/* Lines out */
.trace-out-lines {
  display: flex; flex-direction: column;
  justify-content: center; gap: 40px;
  margin: 0 12px; flex-shrink: 0;
}
.trace-out-line {
  height: 1px; width: 32px; background: #CCC;
}
/* Outputs */
.trace-outputs {
  display: flex; flex-direction: column;
  gap: 12px; flex-shrink: 0;
}
.trace-out {
  padding: 10px 14px; border-radius: 4px;
  min-width: 180px;
}
.trace-out.escalated { background: var(--orange); color: white; }
.trace-out.dismissed { background: var(--light-bg); border: 1px solid var(--border); }
.trace-out-title {
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.04em;
}
.trace-out-sub {
  font-size: 0.58rem; margin-top: 4px; opacity: 0.75;
}

/* ============================================================
   WHAT IS SKYDDA
   ============================================================ */
.what-section { padding: 100px 0; background: var(--white); }
.section-heading { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: 60px; }
.what-row {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  margin-bottom: 80px;
}
.what-row.reverse { direction: rtl; }
.what-row.reverse > * { direction: ltr; }
.what-text h3 {
  font-size: 1.6rem; margin-bottom: 14px;
  font-family: 'Inter', sans-serif; font-weight: 600;
}
.what-text p { font-size: 0.95rem; line-height: 1.75; color: var(--muted); }
/* Mock window */
.mock-window {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
}
.mock-window.dark { background: #1C1C1C; border-color: #2E2E2E; }
.mock-bar {
  background: #F0EFEA; padding: 9px 14px;
  display: flex; align-items: center; gap: 6px;
  border-bottom: 1px solid var(--border);
}
.mock-bar.dark { background: #2A2A2A; border-color: #333; }
.mock-bar-meta {
  font-size: 0.7rem; color: var(--muted);
  margin-left: 10px; font-family: 'Courier New', monospace;
}
.mock-bar-meta.muted { color: #555; }
.mock-bar-chip {
  background: rgba(229,90,26,0.12); color: var(--orange);
  font-size: 0.62rem; padding: 2px 7px; border-radius: 3px;
  margin-left: 6px;
}
.live-dot { color: #2AAA4A; }
/* Mock body */
.mock-body { padding: 20px; }
.mock-body.dark { color: #CCC; }
.mock-throughput { margin-bottom: 16px; }
.mock-label { font-size: 0.65rem; color: var(--muted); letter-spacing: 0.05em; margin-bottom: 10px; }
.mock-sources { display: flex; flex-direction: column; gap: 6px; margin-bottom: 10px; }
.mock-src-row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.75rem; padding: 4px 0;
  border-bottom: 1px solid var(--border);
}
.src-rate { color: var(--muted); font-size: 0.7rem; }
.mock-pipeline-label { font-size: 0.65rem; color: var(--orange); font-weight: 600; }
.mock-divider { height: 1px; background: var(--border); margin: 14px 0; }
.mock-kpis { display: flex; gap: 20px; flex-wrap: wrap; }
.mock-kpi {}
.kpi-val { font-size: 1.2rem; font-weight: 700; font-family: 'Playfair Display', serif; }
.kpi-val.orange { color: var(--orange); }
.kpi-lbl { font-size: 0.65rem; color: var(--muted); margin-top: 2px; }
/* Report mockup */
.report-heading {
  font-size: 0.85rem; line-height: 1.5; color: #CCC;
  margin-bottom: 18px;
}
.report-heading em { color: var(--orange); font-style: italic; }
.report-metrics { display: flex; gap: 16px; margin-bottom: 18px; }
.rmetric {}
.rm-val { font-size: 1.3rem; font-weight: 700; color: white; }
.rm-delta { font-size: 0.68rem; font-weight: 600; margin-top: 2px; }
.rm-delta.down { color: var(--orange); }
.rm-delta.up   { color: #4CAF50; }
.rm-lbl { font-size: 0.62rem; color: #666; margin-top: 2px; }
.report-log { display: flex; flex-direction: column; gap: 5px; }
.rlog-row { display: flex; align-items: center; gap: 10px; font-size: 0.7rem; }
.rlog-time { color: #555; min-width: 32px; }
.rlog-action { color: #AAA; flex: 1; }
.rlog-tag {
  font-size: 0.6rem; padding: 1px 6px; border-radius: 3px;
  white-space: nowrap;
}
.rlog-tag.ml     { background: rgba(99,99,200,0.25); color: #9999EE; }
.rlog-tag.rules  { background: rgba(229,90,26,0.2);  color: var(--orange); }
.rlog-tag.policy { background: rgba(70,160,70,0.2);  color: #6CCF6C; }
.rlog-tag.fp     { background: rgba(150,150,150,0.2); color: #AAA; }

/* ============================================================
   WHY CISOS
   ============================================================ */
.why-cisos { padding: 100px 0; background: var(--light-bg); }
.why-cisos-grid {
  display: grid; grid-template-columns: 1fr 1.6fr;
  gap: 80px; align-items: start;
}
.why-left h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  position: sticky; top: calc(var(--nav-h) + 32px);
}
.why-right { display: flex; flex-direction: column; }
.why-item {
  padding: 28px 24px;
  margin: 0 -24px;
  border-radius: 10px;
  cursor: default;
  outline: none;
  transition: background 0.22s ease, box-shadow 0.22s ease;
}
.why-item:first-child { padding-top: 0; }
.why-item:hover,
.why-item:focus {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
}
.why-num {
  font-size: clamp(3rem, 4.5vw, 5rem); font-weight: 700;
  color: var(--orange); font-family: 'Playfair Display', serif;
  line-height: 1; margin-bottom: 10px;
  transition: transform 0.22s ease;
  display: inline-block;
}
.why-item:hover .why-num,
.why-item:focus .why-num {
  transform: translateX(5px);
}
.why-item h3 {
  font-size: 1.1rem; font-weight: 600;
  font-family: 'Inter', sans-serif;
  margin-bottom: 10px; color: var(--text);
  transition: color 0.22s ease;
}
.why-item:hover h3,
.why-item:focus h3 {
  color: var(--orange);
}
.why-item p { font-size: 0.9rem; line-height: 1.75; color: var(--muted); }
.why-divider { border: none; border-top: 1px solid var(--border); margin: 0; }

/* ============================================================
   WHO IS IT FOR
   ============================================================ */
.who-section { padding: 100px 0; background: var(--white); }
.who-grid { display: flex; flex-direction: column; gap: 16px; }
.who-card {
  display: grid; grid-template-columns: 260px 1fr;
  border: 1px solid var(--border); border-radius: 14px; overflow: hidden;
  transition: box-shadow 0.26s ease, transform 0.26s ease, border-color 0.26s ease;
  cursor: default;
}
.who-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.11);
  border-color: rgba(229,90,26,0.35);
}
.who-img {
  height: 210px; display: flex;
  align-items: center; justify-content: center;
  transition: filter 0.26s ease;
}
.who-card:hover .who-img { filter: brightness(1.12) saturate(1.08); }
.who-icon { width: 64px; height: 64px; filter: drop-shadow(0 2px 12px rgba(255,255,255,0.25)); }
.who-body { padding: 32px 44px; display: flex; flex-direction: column; justify-content: center; }
.who-body h3 {
  font-size: 1.75rem; font-weight: 700;
  font-family: 'Inter', sans-serif; margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.who-body p { font-size: 0.9rem; line-height: 1.78; color: var(--muted); }

/* ============================================================
   SUCCESS IN NUMBERS
   ============================================================ */
.dark { background: var(--dark); color: white; }
.success-section { padding: 100px 0; }
.success-heading {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 56px;
}
.stats-row {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 0; margin-bottom: 72px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.stat {
  padding: 24px 0 28px;
  border-right: 1px solid rgba(255,255,255,0.07);
  position: relative;
  transition: background 0.22s ease;
  cursor: default;
}
.stat:last-child { border-right: none; }
.stat::after {
  content: '';
  position: absolute; bottom: -1px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width 0.3s ease;
}
.stat:hover::after { width: 100%; }
.stat:hover { background: rgba(229,90,26,0.04); }
.stat-num {
  font-size: clamp(3rem, 4.5vw, 5rem); font-weight: 700;
  font-family: 'Playfair Display', serif;
  line-height: 1; margin-bottom: 12px;
  color: white;
  letter-spacing: -0.02em;
}
.stat-sfx { color: var(--orange); font-size: 0.6em; vertical-align: super; }
.stat-lbl { font-size: 0.78rem; color: #999; line-height: 1.5; letter-spacing: 0.01em; }
/* Testimonial */
.testimonial {
  background: linear-gradient(135deg, rgba(229,90,26,0.07) 0%, rgba(255,255,255,0.02) 60%);
  border: 1px solid rgba(229,90,26,0.2);
  border-left: 3px solid var(--orange);
  border-radius: 0 14px 14px 0;
  padding: 52px 56px 48px;
  position: relative; overflow: hidden;
}
.testimonial-quote {
  position: absolute; top: -24px; left: 36px;
  font-size: 14rem; line-height: 1;
  color: rgba(229,90,26,0.1);
  font-family: 'Playfair Display', serif;
  pointer-events: none; user-select: none;
}
.testimonial-text {
  font-size: 1.2rem; line-height: 1.85;
  color: #DDD; margin-bottom: 32px; max-width: 740px;
  font-family: 'Lora', Georgia, serif;
  font-style: italic; font-weight: 400;
  position: relative; z-index: 1;
}
.testimonial-attr {
  display: flex; align-items: center; gap: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  position: relative; z-index: 1;
}
.testimonial-attr-dot {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--orange); opacity: 0.85;
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; color: white;
}
.testimonial-attr-text {}
.testimonial-attr { font-size: 0.82rem; color: #666; }
.testimonial-attr strong { color: white; display: block; margin-bottom: 2px; font-size: 0.9rem; }

/* ============================================================
   DAY ONE
   ============================================================ */
.day-one {
  padding: 80px 0 100px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.day-one-heading { font-size: clamp(1.4rem, 2.5vw, 2rem); margin-bottom: 40px; }
.day-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
/* Row 2 has 2 items — offset them */
.day-card:nth-child(4) { grid-column: 1; }
.day-card:nth-child(5) { grid-column: 2; }
.day-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 8px; padding: 24px;
  transition: background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
  cursor: default;
}
.day-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(122,154,42,0.45);
  box-shadow: 0 6px 28px rgba(0,0,0,0.28);
  transform: translateY(-2px);
}
.day-icon { width: 34px; height: 34px; margin-bottom: 14px; }
.day-icon svg { width: 34px; height: 34px; overflow: visible; transition: filter 0.22s ease; }
.day-card:hover .day-icon svg {
  filter: brightness(1.5) drop-shadow(0 0 5px rgba(122,154,42,0.55));
}
.day-card p { font-size: 1.1rem; line-height: 1.6; color: #AAA; }
.day-card p strong { color: white; font-weight: 600; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta {
  padding: 140px 0;
  overflow: hidden;
}
.cta-inner {
  display: flex; justify-content: center; align-items: center;
  gap: 80px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 48px;
}
#cta-bird {
  flex-shrink: 0;
  pointer-events: none; opacity: 1;
}
.cta-content {
  position: relative; z-index: 1;
  max-width: 520px; text-align: left;
}
.cta-content h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: white; margin-bottom: 32px; line-height: 1.2;
}
.cta-content h2 em { font-style: italic; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 32px 0;
}
.footer-inner {
  max-width: 1160px; margin: 0 auto; padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.footer-logo { color: white; }
.footer-copy { font-size: 0.8rem; color: #555; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ---- Tablet (≤900px): stack major two-column layouts ---- */
@media (max-width: 900px) {
  .hero-inner,
  .how-intro-grid,
  .what-row,
  .what-row.reverse,
  .why-cisos-grid { grid-template-columns: 1fr; }

  .what-row.reverse { direction: ltr; }
  .hero-visual { display: none; }
  #cta-bird { display: none; }

  .hero { min-height: auto; }
  .hero-inner { padding: 96px 48px 96px; }

  .how-intro { padding: 60px 0; }
  .how-intro-grid { gap: 40px; }
  .what-section { padding: 80px 0; }
  .what-row { gap: 36px; margin-bottom: 56px; }
  .why-cisos { padding: 80px 0; }
  .why-trust { padding: 80px 24px; }
  .who-section { padding: 80px 0; }
  .success-section { padding: 80px 0; }
  .day-one { padding: 60px 0 80px; }
  .problem { padding: 80px 0 0; }

  .stats-row { grid-template-columns: repeat(3, 1fr); }
  .day-grid  { grid-template-columns: 1fr 1fr; }
  .day-card:nth-child(4),
  .day-card:nth-child(5) { grid-column: auto; }

  .who-card { grid-template-columns: 1fr; }
  .who-img  { height: 140px; }

  .trust-shape { padding: 48px 36px; }

  /* Trace: allow horizontal scroll on smaller tablets */
  .trace-section { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .trace-diagram { min-width: 600px; }
}

/* ---- Nav hamburger (≤768px: iPad portrait and smaller) ---- */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta   { display: none; }
  .nav-hamburger { display: flex; }
  .nav-inner { padding: 0 24px; }
}

/* ---- Mobile (≤600px) ---- */
@media (max-width: 600px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  .hero-inner { padding: 48px 20px 56px; }
  .hero { min-height: auto; }
  .footer-inner { padding: 0 20px; flex-direction: column; text-align: center; gap: 16px; }

  .stats-row { grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 48px; }
  .day-grid  { grid-template-columns: 1fr; }
  .day-card:nth-child(4),
  .day-card:nth-child(5) { grid-column: auto; }

  .trust-shape {
    padding: 36px 20px;
    clip-path: polygon(
      16px 0%, calc(100% - 16px) 0%,
      100% 16px, 100% calc(100% - 16px),
      calc(100% - 16px) 100%, 16px 100%,
      0% calc(100% - 16px), 0% 16px
    );
  }
  .trust-body p { font-size: 0.92rem; }
  .problem-editorial { margin-bottom: 48px; padding: 28px 24px 36px; transform: rotate(-0.2deg); }
  .problem-headline { font-size: clamp(1.5rem, 5.5vw, 2.2rem); }
  .pm-meta { display: none; }
  .problem-sub { font-size: 0.9rem; }

  .cta { padding: 80px 20px; }
  .cta-content h2 { font-size: clamp(1.6rem, 5.5vw, 2.4rem); }

  .testimonial { padding: 32px 20px; }
  .testimonial-text { font-size: 0.92rem; }
  .success-heading { font-size: 1.6rem; margin-bottom: 40px; }

  .why-item { margin: 0 -12px; padding: 22px 12px; }
  .why-cisos-grid { gap: 40px; }
  .why-left h2 { position: static; }

  .who-body { padding: 20px; }
  .section-heading { margin-bottom: 40px; }
  .day-one-heading { margin-bottom: 28px; }

  .report-metrics { flex-wrap: wrap; gap: 12px; }
  .trace-section { padding: 20px 0 56px; }
}

/* ---- Small phones (≤420px) ---- */
@media (max-width: 420px) {
  .container { padding: 0 16px; }
  .nav-inner { padding: 0 16px; }
  .hero-inner { padding: 40px 16px 48px; }
  .footer-inner { padding: 0 16px; }
  .hero-title { font-size: clamp(1.8rem, 7vw, 2.2rem); }
  .stats-row { grid-template-columns: 1fr 1fr; gap: 16px; }
}
