/*
Theme Name: Cryp-Sure
Theme URI: https://cryp-sure.com
Author: 1B-i Holding Limited
Author URI: https://cryp-sure.com
Description: Cryp-Sure marketing site theme v1.16 — added PAS (Policy Administration System) core-system band beneath the six demo cards on homepage; updated section lead copy to reflect "six surfaces, one core"; added PAS to footer.
Version: 1.16.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: Proprietary
License URI: https://cryp-sure.com
Text Domain: crypsure
*/

/* =====================================================================
   GLOBAL STYLES — extracted verbatim from the original landing page so
   the homepage renders identically. Inner page styles are appended at
   the bottom of this file under the "INNER PAGES" section.
   ===================================================================== */

  /* ================= TOKENS ================= */
  :root {
    --bg: #FFFFFF;
    --bg-warm: #F5F3EE;
    --paper: #FBFAF6;
    --ink: #1A1A1A;
    --ink-2: #3E3E3E;
    --muted: #6B6B6B;
    --muted-2: #9B9B9B;
    --line: #D8D8D8;
    --line-soft: #E5E0D5;
    --brand-red: #F12228;
    --brand-red-deep: #C71820;
    --brand-red-soft: #FDEBEC;

    --ff-display: 'Fraunces', Georgia, serif;
    --ff-body: 'Instrument Sans', system-ui, sans-serif;
    --ff-mono: 'JetBrains Mono', ui-monospace, monospace;

    --max-w: 1180px;
    --gutter: clamp(1.25rem, 4vw, 2.5rem);
  }

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

  html { scroll-behavior: smooth; }
  body {
    font-family: var(--ff-body);
    background: var(--bg);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
  }

  img { max-width: 100%; display: block; }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; border: 0; background: none; }

  ::selection { background: var(--brand-red); color: white; }

  .wrap {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--gutter);
  }

  /* ================= NAV ================= */
  .nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
  }
  .nav.scrolled { border-bottom-color: var(--line-soft); }
  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: 22px;
    letter-spacing: -0.02em;
  }
  .logo-mark {
    /* Large-format header logo for the C-S_prime.png (shield + wordmark).
       If you ever swap back to a shield-only logo, halve these values. */
    height: 80px;
    width: auto;
    max-width: 520px;
    display: block;
    object-fit: contain;
  }
  @media (max-width: 640px) {
    /* Scale down on narrow screens so the logo doesn't overwhelm the nav. */
    .logo-mark { height: 52px; max-width: 340px; }
  }
  .logo-mark.footer-variant {
    /* Slightly smaller in the footer, and inverted to white via CSS filter.
       The C-S_prime.png file has clean transparent background, so this filter
       produces a clean white logo without the "white box" artifact. */
    filter: brightness(0) invert(1);
    height: 72px;
    max-width: 460px;
  }
  @media (max-width: 640px) {
    .logo-mark.footer-variant { height: 48px; max-width: 310px; }
  }
  .nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--ink);
    color: white;
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: all 0.18s ease;
  }
  .nav-cta:hover {
    background: var(--brand-red);
    transform: translateY(-1px);
  }
  .nav-cta::after {
    content: '→';
    font-family: var(--ff-mono);
    font-weight: 500;
    transition: transform 0.2s ease;
  }
  .nav-cta:hover::after { transform: translateX(3px); }

  /* ================= NAV MENU (Appearance → Menus, primary location) ================= */
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    margin: 0 24px 0 auto;
    padding: 0;
    list-style: none;
  }
  .nav-menu li { list-style: none; }
  .nav-menu a {
    color: var(--ink);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: -0.005em;
    padding: 6px 2px;
    border-bottom: 1px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
  }
  .nav-menu a:hover {
    color: var(--brand-red);
    border-bottom-color: var(--brand-red);
  }
  .nav-menu .current-menu-item > a,
  .nav-menu .current_page_item > a {
    color: var(--brand-red);
    border-bottom-color: var(--brand-red);
  }

  /* Mobile: hide the menu below 860px. For now the CTA stays visible; a
     full hamburger can be added later if needed. */
  @media (max-width: 860px) {
    .nav-menu { display: none; }
  }

  /* ================= HERO ================= */
  .hero {
    padding: clamp(70px, 13vw, 140px) 0 clamp(80px, 10vw, 120px);
    position: relative;
    overflow: hidden;
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(48px, 8vw, 80px);
    align-items: center;
  }
  @media (min-width: 900px) {
    .hero-grid { grid-template-columns: 1.15fr 1fr; }
  }
  .hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--ff-mono);
    font-size: 11.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 26px;
    font-weight: 500;
  }
  .hero-kicker::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--brand-red);
    border-radius: 50%;
    animation: pulse 2.2s ease-in-out infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(0.75); }
  }
  .hero-title {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: clamp(38px, 6.5vw, 68px);
    line-height: 1.03;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin-bottom: 28px;
  }
  .hero-title em {
    font-style: italic;
    color: var(--brand-red);
    font-weight: 400;
  }
  .hero-sub {
    font-size: clamp(16px, 1.5vw, 19px);
    color: var(--ink-2);
    line-height: 1.55;
    max-width: 560px;
    margin-bottom: 40px;
  }
  .hero-sub strong {
    color: var(--ink);
    font-weight: 600;
  }
  .hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
  }
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: all 0.2s ease;
  }
  .btn-primary {
    background: var(--brand-red);
    color: white;
  }
  .btn-primary:hover {
    background: var(--brand-red-deep);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px -6px rgba(241, 34, 40, 0.5);
  }
  .btn-primary::after {
    content: '→';
    font-family: var(--ff-mono);
    transition: transform 0.2s ease;
  }
  .btn-primary:hover::after { transform: translateX(3px); }
  .btn-secondary {
    color: var(--ink);
    border: 1px solid var(--line);
    background: transparent;
  }
  .btn-secondary:hover {
    border-color: var(--ink);
    transform: translateY(-1px);
  }
  .btn-secondary::after {
    content: '↗';
    font-family: var(--ff-mono);
    opacity: 0.6;
  }

  /* Hero visual — layered phone mockups */
  .hero-visual {
    position: relative;
    height: clamp(420px, 52vw, 600px);
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero-phone {
    position: absolute;
    width: 220px;
    height: 450px;
    background: #16181D;
    border-radius: 32px;
    padding: 10px;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.3), 0 20px 40px -30px rgba(0,0,0,0.4);
  }
  .hero-phone-screen {
    width: 100%;
    height: 100%;
    background: #0A0E1A;
    border-radius: 23px;
    overflow: hidden;
    position: relative;
    color: white;
  }
  .hero-phone-1 {
    transform: rotate(-7deg) translateX(-55%);
    z-index: 1;
  }
  .hero-phone-2 {
    transform: rotate(5deg) translateX(55%);
    z-index: 2;
  }
  /* Phone 1 — incident detection preview */
  .hp1-banner {
    background: linear-gradient(180deg, #FF4757 0%, #D8394D 100%);
    padding: 20px 18px;
    color: white;
  }
  .hp1-banner-kicker {
    font-family: var(--ff-mono);
    font-size: 8.5px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.85;
    margin-bottom: 4px;
  }
  .hp1-banner-title {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: 15px;
    line-height: 1.2;
    letter-spacing: -0.01em;
  }
  .hp1-card {
    margin: 12px 12px;
    padding: 12px;
    background: #10152B;
    border: 1px solid #1E2540;
    border-radius: 10px;
    font-size: 10.5px;
  }
  .hp1-card-h {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
  }
  .hp1-card-type {
    font-family: var(--ff-mono);
    font-size: 8px;
    color: #FF4757;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
  }
  .hp1-card-title { font-weight: 700; font-size: 11px; margin-top: 2px; }
  .hp1-card-amt {
    font-family: var(--ff-display);
    font-weight: 500;
    color: #FF4757;
    font-size: 14px;
    text-align: right;
  }
  .hp1-card-amt-lbl {
    font-size: 7.5px;
    color: #6A7594;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-top: 2px;
  }
  .hp1-card-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    font-size: 9.5px;
    border-top: 1px solid #1E2540;
  }
  .hp1-card-row .lbl { color: #6A7594; }
  .hp1-card-row .val { font-family: var(--ff-mono); color: white; }
  .hp1-cta {
    margin: 12px 12px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(241,34,40,0.15) 0%, rgba(241,34,40,0.03) 100%);
    border: 1px solid rgba(241,34,40,0.35);
    border-radius: 10px;
  }
  .hp1-cta-title {
    font-size: 10.5px;
    font-weight: 700;
    margin-bottom: 4px;
  }
  .hp1-cta-title em { color: var(--brand-red); font-style: normal; font-weight: 500; font-family: var(--ff-display); }
  .hp1-cta-body {
    font-size: 9.5px;
    color: #A6B0C8;
    line-height: 1.4;
    margin-bottom: 10px;
  }
  .hp1-cta-btn {
    background: var(--brand-red);
    color: white;
    text-align: center;
    padding: 8px 10px;
    border-radius: 7px;
    font-size: 10px;
    font-weight: 700;
  }

  /* Phone 2 — payout moment */
  .hp2-hero {
    padding: 50px 14px 20px;
    text-align: center;
    position: relative;
  }
  .hp2-hero::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(0,224,138,0.32), transparent 60%);
    filter: blur(14px);
    z-index: 0;
  }
  .hp2-check {
    width: 48px;
    height: 48px;
    background: #00E08A;
    border-radius: 50%;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 24px -8px rgba(0,224,138,0.55);
    position: relative;
    z-index: 1;
  }
  .hp2-check svg {
    width: 20px; height: 20px; stroke: #0A0E1A; fill: none; stroke-width: 3.5;
  }
  .hp2-title {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.01em;
  }
  .hp2-title em {
    font-style: italic;
    color: #00E08A;
  }
  .hp2-amt {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: 28px;
    color: #00E08A;
    letter-spacing: -0.025em;
    margin: 8px 0 4px;
    position: relative;
    z-index: 1;
  }
  .hp2-amt .currency {
    font-size: 18px;
    color: #A6B0C8;
    font-weight: 400;
    margin-right: 2px;
  }
  .hp2-speed {
    font-family: var(--ff-mono);
    font-size: 9px;
    color: #A6B0C8;
    position: relative;
    z-index: 1;
  }
  .hp2-speed strong { color: white; font-weight: 600; }
  .hp2-tx {
    margin: 14px 12px;
    background: #10152B;
    border: 1px solid #1E2540;
    border-radius: 10px;
    padding: 10px 12px;
  }
  .hp2-tx-h {
    display: flex;
    justify-content: space-between;
    font-size: 8.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    padding-bottom: 6px;
    border-bottom: 1px solid #1E2540;
  }
  .hp2-tx-h .chain {
    font-family: var(--ff-mono);
    font-weight: 500;
    color: #A6B0C8;
    letter-spacing: normal;
    text-transform: none;
    font-size: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }
  .hp2-tx-h .chain::before {
    content: '';
    width: 4px;
    height: 4px;
    background: #627EEA;
    border-radius: 50%;
  }
  .hp2-tx-row {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    padding: 3px 0;
  }
  .hp2-tx-row .lbl { color: #6A7594; }
  .hp2-tx-row .val { font-family: var(--ff-mono); color: white; }
  .hp2-tx-row .val.green { color: #00E08A; font-weight: 600; }

  /* ================= WEDGE ================= */
  .wedge {
    padding: clamp(60px, 8vw, 100px) 0;
    background: var(--bg-warm);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
  }
  .wedge-inner {
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
  }
  .wedge h2 {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: clamp(26px, 3.5vw, 40px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--ink);
  }
  .wedge h2 em {
    font-style: italic;
    color: var(--brand-red);
    font-weight: 400;
  }
  .wedge-meta {
    display: flex;
    justify-content: center;
    gap: clamp(24px, 4vw, 48px);
    margin-top: 40px;
    flex-wrap: wrap;
  }
  .wedge-stat {
    text-align: center;
  }
  .wedge-stat-value {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: clamp(28px, 3.5vw, 38px);
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1;
  }
  .wedge-stat-label {
    font-family: var(--ff-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    margin-top: 8px;
    font-weight: 500;
  }

  /* ================= SECTION HEADER ================= */
  .section { padding: clamp(80px, 10vw, 140px) 0; }
  .section-head {
    margin-bottom: clamp(40px, 5vw, 64px);
    max-width: 760px;
  }
  .section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-red);
    margin-bottom: 18px;
    font-weight: 600;
  }
  .section-kicker::before {
    content: '';
    width: 18px;
    height: 1.5px;
    background: var(--brand-red);
  }
  .section-title {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: clamp(30px, 4.5vw, 50px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 18px;
  }
  .section-title em {
    font-style: italic;
    color: var(--brand-red);
    font-weight: 400;
  }
  .section-lead {
    font-size: clamp(16px, 1.5vw, 18px);
    color: var(--ink-2);
    line-height: 1.6;
    max-width: 620px;
  }

  /* ================= DEMOS SECTION (the hero of the page) ================= */
  .demos-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
  }
  @media (min-width: 680px) { .demos-grid { grid-template-columns: 1fr 1fr; } }
  @media (min-width: 1000px) {
    .demos-grid {
      grid-template-columns: 1.4fr 1fr 1fr;
      grid-template-rows: auto auto;
    }
    .demo-card.featured {
      grid-row: span 2;
    }
  }

  .demo-card {
    background: var(--paper);
    border: 1px solid var(--line-soft);
    border-radius: 18px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    min-height: 280px;
    text-decoration: none;
    color: inherit;
  }
  .demo-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--brand-red);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.25s ease;
  }
  .demo-card:hover {
    border-color: var(--ink);
    transform: translateY(-3px);
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.12);
  }
  .demo-card:hover::before { transform: scaleY(1); }

  .demo-card.featured {
    background: linear-gradient(140deg, var(--paper) 0%, var(--bg-warm) 100%);
    min-height: 400px;
  }

  .demo-tag {
    font-family: var(--ff-mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-red);
    font-weight: 600;
    margin-bottom: 14px;
  }
  .demo-card-title {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: clamp(20px, 2.2vw, 26px);
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin-bottom: 10px;
  }
  .demo-card-title em { font-style: italic; color: var(--brand-red); }
  .demo-card-desc {
    color: var(--ink-2);
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: auto;
    padding-bottom: 20px;
  }
  .demo-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    padding-top: 14px;
    border-top: 1px solid var(--line-soft);
    align-self: flex-start;
  }
  .demo-card-cta .arrow {
    font-family: var(--ff-mono);
    transition: transform 0.2s ease;
  }
  .demo-card:hover .demo-card-cta .arrow { transform: translateX(4px); }
  .demo-card-cta .url {
    font-family: var(--ff-mono);
    font-size: 11px;
    color: var(--muted);
    font-weight: 400;
    margin-left: 8px;
  }

  /* Featured card gets a mini-preview visual */
  .demo-preview {
    margin: 14px -12px 0;
    padding: 20px;
    background: #0A0E1A;
    border-radius: 12px;
    color: white;
    position: relative;
    overflow: hidden;
  }
  .demo-preview-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 12px;
    border-bottom: 1px solid #1E2540;
  }
  .demo-preview-row:last-child { border-bottom: none; }
  .demo-preview-row .lbl { color: #6A7594; font-family: var(--ff-mono); font-size: 10px; }
  .demo-preview-row .val { font-family: var(--ff-mono); }
  .demo-preview-row .val.red { color: var(--brand-red); font-weight: 600; }
  .demo-preview-row .val.green { color: #00E08A; font-weight: 600; }
  .demo-preview-row .val.amber { color: #E5A84B; font-weight: 600; }

  /* ================= PAS CORE SYSTEM BAND ================= */
  /* Distinct visual treatment from the demo cards above — darker, wider,
     positioned as the architectural layer underneath the surfaces. */
  .pas-band {
    display: block;
    margin-top: 32px;
    background: #0A0E1A;
    color: #FFFFFF;
    border-radius: 16px;
    padding: clamp(28px, 4vw, 48px);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  .pas-band::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--brand-red);
  }
  .pas-band:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(10, 14, 26, 0.18);
  }
  .pas-band-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: center;
  }
  @media (min-width: 880px) {
    .pas-band-grid {
      grid-template-columns: 1.4fr 1fr;
      gap: 48px;
    }
  }
  .pas-band-tag {
    font-family: var(--ff-mono);
    font-size: 11px;
    color: var(--brand-red);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 14px;
  }
  .pas-band-title {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: clamp(28px, 3.5vw, 40px);
    line-height: 1.1;
    letter-spacing: -0.015em;
    color: #FFFFFF;
    margin: 0 0 16px 0;
  }
  .pas-band-title em {
    font-style: italic;
    color: var(--brand-red);
  }
  .pas-band-desc {
    font-size: 15.5px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 22px 0;
    max-width: 560px;
  }
  .pas-band-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--ff-mono);
    font-size: 12px;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    transition: background 0.15s ease, border-color 0.15s ease;
  }
  .pas-band:hover .pas-band-cta {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.28);
  }
  .pas-band-cta .arrow {
    font-size: 14px;
    transition: transform 0.2s ease;
  }
  .pas-band:hover .pas-band-cta .arrow { transform: translateX(3px); }

  /* Right-side stats panel */
  .pas-band-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
  }
  .pas-stat {
    padding: 4px 2px;
  }
  .pas-stat-value {
    font-family: var(--ff-display);
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 600;
    color: #FFFFFF;
    letter-spacing: -0.01em;
    line-height: 1.1;
    margin-bottom: 6px;
  }
  .pas-stat-label {
    font-family: var(--ff-mono);
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.3;
  }

  /* ================= PRODUCT STRATIFICATION ================= */
  .products {
    background: var(--bg-warm);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
  }
  .products-grid {
    display: grid;
    gap: 2px;
    grid-template-columns: 1fr;
    background: var(--line-soft);
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    overflow: hidden;
  }
  @media (min-width: 760px) { .products-grid { grid-template-columns: 1fr 1fr; } }
  @media (min-width: 1100px) { .products-grid { grid-template-columns: repeat(5, 1fr); } }

  .product-cell {
    background: var(--paper);
    padding: 32px 26px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .product-cell .code {
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brand-red);
    font-weight: 600;
  }
  .product-cell h3 {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: 22px;
    letter-spacing: -0.015em;
    line-height: 1.15;
  }
  .product-cell .desc {
    font-size: 13.5px;
    color: var(--ink-2);
    line-height: 1.55;
    flex: 1;
  }
  .product-cell .who {
    font-family: var(--ff-mono);
    font-size: 11px;
    color: var(--muted);
    padding-top: 12px;
    border-top: 1px solid var(--line-soft);
    display: flex;
    justify-content: space-between;
  }
  .product-cell .who .target {
    color: var(--ink);
    font-weight: 500;
  }

  /* ================= HOW IT WORKS ================= */
  .how-grid {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr;
  }
  @media (min-width: 900px) {
    .how-grid { grid-template-columns: 1fr 1fr; gap: 60px; }
  }
  .how-block {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .how-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-red);
    font-weight: 600;
  }
  .how-label .num {
    width: 26px;
    height: 26px;
    background: var(--brand-red);
    color: white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 700;
    font-family: var(--ff-body);
  }
  .how-block h3 {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: 28px;
    letter-spacing: -0.015em;
    line-height: 1.15;
  }
  .how-block h3 em { font-style: italic; color: var(--brand-red); }
  .how-block p {
    color: var(--ink-2);
    line-height: 1.6;
    font-size: 15px;
  }
  .how-stages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-top: 8px;
    padding: 16px;
    background: var(--paper);
    border: 1px solid var(--line-soft);
    border-radius: 12px;
  }
  .how-stage {
    text-align: center;
    font-size: 11px;
  }
  .how-stage .sn {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    background: var(--brand-red-soft);
    color: var(--brand-red);
    border-radius: 50%;
    font-weight: 700;
    font-family: var(--ff-mono);
    margin-bottom: 6px;
    font-size: 11px;
  }
  .how-stage .st {
    font-weight: 600;
    color: var(--ink);
    font-size: 11px;
    line-height: 1.25;
  }
  .how-engine {
    margin-top: 8px;
    padding: 20px;
    background: var(--paper);
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .how-engine-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 12.5px;
    border-bottom: 1px solid var(--line-soft);
  }
  .how-engine-row:last-child { border-bottom: none; }
  .how-engine-row .lbl {
    font-family: var(--ff-mono);
    color: var(--muted);
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
  }
  .how-engine-row .val {
    color: var(--ink);
    font-weight: 500;
  }

  /* ================= TEAM ================= */
  .team-grid {
    display: grid;
    gap: 2px;
    grid-template-columns: 1fr;
    background: var(--line-soft);
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    overflow: hidden;
  }
  @media (min-width: 700px) { .team-grid { grid-template-columns: 1fr 1fr; } }
  @media (min-width: 1000px) { .team-grid { grid-template-columns: repeat(3, 1fr); } }

  .team-cell {
    background: var(--paper);
    padding: 32px 28px;
  }
  .team-initials {
    width: 56px;
    height: 56px;
    background: var(--ink);
    color: white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-family: var(--ff-display);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 18px;
    letter-spacing: -0.01em;
  }
  .team-name {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: 20px;
    letter-spacing: -0.01em;
    margin-bottom: 2px;
  }
  .team-role {
    font-family: var(--ff-mono);
    font-size: 11px;
    color: var(--brand-red);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 14px;
  }
  .team-bio {
    font-size: 13.5px;
    color: var(--ink-2);
    line-height: 1.55;
  }
  .team-cta-wrap {
    margin-top: 30px;
    text-align: center;
  }
  .inline-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-weight: 600;
    font-size: 14px;
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    transition: border-color 0.2s ease;
  }
  .inline-link:hover { border-color: var(--brand-red); }
  .inline-link::after { content: '→'; font-family: var(--ff-mono); }

  /* ================= STRUCTURE / COMPLIANCE ================= */
  .structure {
    background: var(--ink);
    color: white;
  }
  .structure .section-title { color: white; }
  .structure .section-lead { color: #BCBCBC; }
  .structure-grid {
    display: grid;
    gap: 2px;
    grid-template-columns: 1fr;
    background: #303030;
    border-radius: 14px;
    overflow: hidden;
    margin-top: 44px;
  }
  @media (min-width: 700px) { .structure-grid { grid-template-columns: 1fr 1fr; } }
  @media (min-width: 1000px) { .structure-grid { grid-template-columns: repeat(4, 1fr); } }

  .structure-cell {
    background: #1F1F1F;
    padding: 28px 24px;
  }
  .structure-stage {
    font-family: var(--ff-mono);
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #9B9B9B;
    font-weight: 600;
    margin-bottom: 10px;
  }
  .structure-country {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: 22px;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
  }
  .structure-desc {
    font-size: 13px;
    color: #BCBCBC;
    line-height: 1.55;
  }
  .structure-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-family: var(--ff-mono);
    font-size: 10.5px;
    color: #BCBCBC;
  }
  .structure-status::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #00E08A;
    border-radius: 50%;
  }
  .structure-status.pending::before {
    background: #E5A84B;
  }

  /* ================= FINAL CTA ================= */
  .final-cta {
    padding: clamp(80px, 10vw, 140px) 0;
    text-align: center;
  }
  .final-cta-title {
    font-family: var(--ff-display);
    font-weight: 500;
    font-size: clamp(34px, 5vw, 58px);
    letter-spacing: -0.025em;
    line-height: 1.05;
    max-width: 780px;
    margin: 0 auto 24px;
  }
  .final-cta-title em { font-style: italic; color: var(--brand-red); }
  .final-cta-sub {
    font-size: 17px;
    color: var(--ink-2);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.55;
  }
  .final-cta .btn-primary {
    padding: 18px 32px;
    font-size: 16px;
  }

  /* Let's Talk — contact form embed.
     Styles apply cleanly to WPForms output; safe to leave even if you swap plugins. */
  .final-cta-form-wrap {
    max-width: 640px;
    margin: 0 auto;
    text-align: left;
  }
  .final-cta-form-wrap .wpforms-container {
    margin: 0 !important;
    padding: 0 !important;
  }
  .final-cta-form-wrap .wpforms-form,
  .final-cta-form-wrap form {
    background: var(--bg-warm);
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    padding: clamp(24px, 3.5vw, 36px);
  }
  .final-cta-form-wrap label,
  .final-cta-form-wrap .wpforms-field-label {
    font-family: var(--ff-mono);
    font-size: 11px !important;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
    margin-bottom: 6px !important;
    display: block;
  }
  .final-cta-form-wrap input[type="text"],
  .final-cta-form-wrap input[type="email"],
  .final-cta-form-wrap input[type="tel"],
  .final-cta-form-wrap select,
  .final-cta-form-wrap textarea {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 14px !important;
    font-family: var(--ff-body) !important;
    font-size: 15px !important;
    color: var(--ink) !important;
    background: #FFFFFF !important;
    border: 1px solid var(--line) !important;
    border-radius: 8px !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box !important;
  }
  .final-cta-form-wrap input[type="text"]:focus,
  .final-cta-form-wrap input[type="email"]:focus,
  .final-cta-form-wrap select:focus,
  .final-cta-form-wrap textarea:focus {
    outline: none !important;
    border-color: var(--brand-red) !important;
    box-shadow: 0 0 0 3px rgba(241, 34, 40, 0.12) !important;
  }
  .final-cta-form-wrap textarea {
    min-height: 110px;
    resize: vertical;
  }
  .final-cta-form-wrap .wpforms-field {
    margin-bottom: 18px !important;
    padding: 0 !important;
  }
  /* Two-column rows where WPForms uses wpforms-one-half */
  .final-cta-form-wrap .wpforms-one-half {
    width: calc(50% - 8px) !important;
    display: inline-block;
    vertical-align: top;
  }
  .final-cta-form-wrap .wpforms-one-half + .wpforms-one-half {
    margin-left: 16px !important;
  }
  /* Submit button */
  .final-cta-form-wrap button[type="submit"],
  .final-cta-form-wrap .wpforms-submit {
    width: 100%;
    padding: 16px 24px !important;
    font-family: var(--ff-body) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #FFFFFF !important;
    background: var(--brand-red) !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer;
    transition: background 0.15s ease;
    letter-spacing: 0;
  }
  .final-cta-form-wrap button[type="submit"]:hover,
  .final-cta-form-wrap .wpforms-submit:hover {
    background: var(--brand-red-deep) !important;
  }
  /* Confirmation message */
  .final-cta-form-wrap .wpforms-confirmation-container {
    background: var(--bg-warm);
    border: 1px solid var(--line-soft);
    border-left: 3px solid var(--brand-red);
    border-radius: 8px;
    padding: 20px 22px;
    color: var(--ink);
    font-family: var(--ff-display);
    font-size: 16px;
  }
  /* Required asterisk */
  .final-cta-form-wrap .wpforms-required-label {
    color: var(--brand-red);
  }
  /* Validation errors */
  .final-cta-form-wrap .wpforms-error {
    font-size: 12px !important;
    color: var(--brand-red) !important;
    margin-top: 4px !important;
  }
  @media (max-width: 560px) {
    .final-cta-form-wrap .wpforms-one-half {
      width: 100% !important;
      display: block;
      margin-left: 0 !important;
      margin-bottom: 18px !important;
    }
  }

  /* ================= FOOTER ================= */
  .footer {
    background: var(--ink);
    color: #BCBCBC;
    padding: 60px 0 40px;
    font-size: 13.5px;
  }
  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 40px;
  }
  @media (min-width: 760px) {
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
  }
  .footer-brand .logo { color: white; font-size: 24px; }
  .footer-brand p {
    margin-top: 14px;
    color: #9B9B9B;
    max-width: 320px;
    font-size: 13px;
    line-height: 1.55;
  }
  .footer-col h4 {
    font-family: var(--ff-mono);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: white;
    font-weight: 600;
    margin-bottom: 16px;
  }
  .footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .footer-col a:hover { color: white; }
  .footer-bottom {
    padding-top: 24px;
    border-top: 1px solid #303030;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #6B6B6B;
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer-bottom .legal {
    font-family: var(--ff-mono);
  }

  /* ================= ACCESSIBILITY ================= */
  :focus-visible {
    outline: 2px solid var(--brand-red);
    outline-offset: 3px;
    border-radius: 4px;
  }

  @media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  }

/* =====================================================================
   INNER PAGES — About, Contact, Legal, product deep-dives.
   These pages render through page.php using the shared nav + footer.
   Inherits all design tokens (fonts, colors, spacing) from above.
   ===================================================================== */

.page-main {
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(5rem, 10vw, 9rem);
  min-height: 60vh;
  background: var(--bg);
}

.page-header {
  max-width: 780px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem);
  text-align: left;
  padding: 0 var(--gutter);
}

.page-kicker {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}

.page-title {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.page-title em {
  font-style: italic;
  color: var(--brand-red);
}

.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-2);
}

/* Pages with team grids, product cards, or other wide layouts
   opt in by adding body class 'wide-layout' via page-specific class.
   Ships with About (team grid) and Product (demo cards) using this. */
body.page-template-default.wide-layout-page .page-content,
body.wide-layout-page .page-content {
  max-width: 1100px;
}

.page-content h2 {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 2.5rem 0 1rem;
}

.page-content h3 {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--ink);
  margin: 2rem 0 0.75rem;
}

.page-content p { margin-bottom: 1.1rem; }

.page-content a {
  color: var(--brand-red);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.page-content a:hover { color: var(--brand-red-deep); }

.page-content ul, .page-content ol {
  margin: 0 0 1.1rem 1.4rem;
}
.page-content li { margin-bottom: 0.4rem; }

.page-content strong { color: var(--ink); font-weight: 600; }

.page-content blockquote {
  border-left: 3px solid var(--brand-red);
  padding: 0.4rem 0 0.4rem 1.25rem;
  margin: 1.5rem 0;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--ink);
}

.page-content img {
  border-radius: 10px;
  margin: 1.5rem 0;
}

.page-content hr {
  border: 0;
  border-top: 1px solid var(--line-soft);
  margin: 2.5rem 0;
}

.page-content code {
  font-family: var(--ff-mono);
  font-size: 0.9em;
  background: var(--bg-warm);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

/* 404 page */
.error-404 {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: clamp(4rem, 10vw, 8rem) var(--gutter);
}
.error-404 .error-code {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.error-404 h1 {
  font-family: var(--ff-display);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.error-404 p {
  color: var(--muted);
  margin-bottom: 2rem;
}

/* WordPress admin bar spacing adjustment (only visible when logged in) */
html[lang] { scroll-padding-top: 70px; }
