/*
Theme Name: Corridoré
Theme URI: https://corridore.example
Description: Corridoré marketing site. Case acquisition intelligence for accident firms. Edit every section, your links, colors, and light or dark default from Appearance, Customize. The app, sign in, and admin live in your separate Corridoré app and are linked from here.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: corridor
*/


  :root, [data-theme="dark"] {
    --bg: #0d1014; --bg2: #11161d; --panel: #11161d; --panel2: #161b22;
    --line: #232a34; --text: #e7ecf2; --muted: #8b97a7;
    --amber: #ffb020; --amber2: #ffc857; --accent-ink: #ffb020;
    --red: #ff4d4d; --green: #3fb950; --blue: #6fc3ff;
    --nav-bg: rgba(13, 16, 20, 0.82);
    --band-bg: linear-gradient(180deg, #14110a 0%, #0f1014 100%);
    --band-card-border: #3a2f12;
    --card-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
    --display: "Archivo", system-ui, sans-serif;
    --display2: "Archivo", system-ui, sans-serif;
    --body: "Archivo", system-ui, sans-serif;
    --mono: "IBM Plex Mono", ui-monospace, monospace;
    --wordmark: "Michroma", "Archivo", system-ui, sans-serif;
  }
  [data-theme="light"] {
    --bg: #f4f1ea; --bg2: #ece8dd; --panel: #ffffff; --panel2: #f6f2e9;
    --line: #e2dccd; --text: #0d1014; --muted: #6f6757;
    --amber: #ffb020; --amber2: #e89f00; --accent-ink: #9a6200;
    --red: #c4392f; --green: #2f8f43; --blue: #2f7fb5;
    --nav-bg: rgba(244, 241, 234, 0.86);
    --band-bg: linear-gradient(180deg, #fbf3df 0%, #f4f1ea 100%);
    --band-card-border: #ecdfbe;
    --card-shadow: 0 18px 44px rgba(70, 60, 30, 0.12);
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0; background: var(--bg); color: var(--text);
    font-family: var(--body); font-size: 16px; line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background .25s ease, color .25s ease;
  }
  a { color: inherit; text-decoration: none; }
  .wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }

  .eyebrow {
    font-family: var(--mono); font-size: 12px; font-weight: 500;
    letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-ink);
  }
  h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.01em; line-height: 1.08; margin: 0; }
  p { margin: 0; }

  /* ---- nav ---- */
  .nav {
    position: sticky; top: 0; z-index: 100;
    background: var(--nav-bg); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .nav-in { display: flex; align-items: center; gap: 18px; height: 64px; }
  .brand { display: flex; align-items: center; gap: 10px; font-family: var(--wordmark); font-weight: 400; font-size: 15px; letter-spacing: 0.005em; white-space: nowrap; }
  .brand .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(255, 176, 32, 0.18); }
  .wordmark-e { position: relative; display: inline-block; color: var(--amber); font-style: normal; }
  .wordmark-e i { position: absolute; left: 50%; top: 0.05em; width: 0.3em; height: 0.1em; background: var(--amber); border-radius: 0.06em; transform: translateX(-50%) rotate(-24deg); }
  .wordmark-lg { font-family: var(--wordmark); font-weight: 400; letter-spacing: 0.005em; white-space: nowrap; }
  .nav-links { display: flex; gap: 26px; margin-left: auto; align-items: center; }
  .nav-links a { color: var(--muted); font-size: 14px; font-weight: 500; }
  .nav-links a:hover { color: var(--text); }
  .nav-cta { display: inline-flex; align-items: center; }
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: var(--display2); font-weight: 600; font-size: 14px; letter-spacing: 0.01em;
    padding: 11px 18px; border-radius: 9px; cursor: pointer; border: 1px solid transparent;
    transition: transform .12s ease, background .12s ease, border-color .12s ease;
  }
  .btn-primary { background: var(--amber); color: #14181d; }
  .btn-primary:hover { background: var(--amber2); transform: translateY(-1px); }
  .btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
  .btn-ghost:hover { border-color: var(--muted); transform: translateY(-1px); }
  .nav-toggle { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 8px; margin-left: auto; }
  .nav-toggle svg { width: 26px; height: 26px; }

  /* ---- hero ---- */
  .hero { padding: 86px 0 76px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
  .hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
  .hero h1 { font-size: 50px; margin: 18px 0 0; }
  .hero h1 .accent { color: var(--accent-ink); }
  .hero-sub { color: var(--muted); font-size: 18px; max-width: 33em; margin-top: 20px; }
  .hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
  .hero-chips { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; }
  .chip {
    font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.04em; color: var(--muted);
    border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; background: var(--bg2);
  }
  .chip b { color: var(--amber); font-weight: 500; }

  /* ---- signature hotspot map ---- */
  .map-card {
    position: relative; border: 1px solid var(--line); border-radius: 16px;
    background: radial-gradient(120% 120% at 70% 10%, #141b24 0%, #0f141a 70%);
    padding: 14px; box-shadow: var(--card-shadow);
  }
  .map-head { display: flex; align-items: center; justify-content: space-between; padding: 4px 6px 10px; }
  .map-head .label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
  .map-head .live { display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; color: var(--green); }
  .map-head .live i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
  .map-svg { width: 100%; height: auto; display: block; border-radius: 11px; }
  .hp { transform-origin: center; }
  .map-legend { display: flex; gap: 16px; padding: 11px 6px 4px; }
  .map-legend span { display: flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
  .map-legend i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
  @media (prefers-reduced-motion: no-preference) {
    .pulse { animation: pulse 2.6s ease-in-out infinite; }
    @keyframes pulse { 0%, 100% { opacity: 0.18; r: 26; } 50% { opacity: 0.04; r: 40; } }
  }

  /* ---- section scaffolding ---- */
  .section { padding: 78px 0; border-bottom: 1px solid var(--line); }
  .section-head { max-width: 40em; }
  .section-head h2 { font-size: 32px; margin-top: 12px; }
  .section-head p { color: var(--muted); font-size: 17px; margin-top: 14px; }

  /* ---- problem ---- */
  .problem .lede { font-family: var(--display2); font-weight: 600; font-size: 26px; line-height: 1.3; max-width: 20em; }
  .problem .lede b { color: var(--accent-ink); font-weight: 600; }
  .problem p.body { color: var(--muted); font-size: 17px; max-width: 38em; margin-top: 20px; }

  /* ---- capability grid ---- */
  .cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
  .cap {
    border: 1px solid var(--line); border-radius: 14px; background: var(--panel);
    padding: 22px; transition: border-color .15s ease, transform .15s ease;
  }
  .cap:hover { border-color: #36404d; transform: translateY(-2px); }
  .cap .ico { width: 38px; height: 38px; border-radius: 9px; background: var(--panel2); display: grid; place-items: center; margin-bottom: 14px; }
  .cap .ico svg { width: 20px; height: 20px; stroke: var(--accent-ink); fill: none; stroke-width: 1.8; }
  .cap h3 { font-family: var(--display2); font-size: 16.5px; font-weight: 700; }
  .cap p { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
  .cap .tag { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); border: 1px solid #243240; border-radius: 5px; padding: 2px 6px; margin-left: 8px; vertical-align: middle; }

  /* ---- differentiator band ---- */
  .band { background: var(--band-bg); border-bottom: 1px solid var(--line); }
  .band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
  .band-card { border: 1px solid var(--band-card-border); border-radius: 14px; padding: 26px; background: rgba(255, 176, 32, 0.04); }
  .band-card .k { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-ink); }
  .band-card h3 { font-family: var(--display2); font-size: 21px; font-weight: 700; margin-top: 10px; }
  .band-card p { color: var(--muted); font-size: 15.5px; margin-top: 12px; }

  /* ---- steps ---- */
  .steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
  .step { border-top: 2px solid var(--amber); padding-top: 16px; }
  .step .n { font-family: var(--mono); font-size: 13px; color: var(--accent-ink); }
  .step h3 { font-family: var(--display2); font-size: 16px; font-weight: 700; margin-top: 10px; }
  .step p { color: var(--muted); font-size: 14px; margin-top: 8px; }

  /* ---- audience ---- */
  .aud-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
  .aud { border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; background: var(--panel); font-family: var(--display2); font-weight: 600; font-size: 15px; }
  .aud span { color: var(--muted); font-family: var(--body); font-weight: 400; font-size: 13px; display: block; margin-top: 2px; }

  /* ---- compliance ---- */
  .trust { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
  .trust .points { display: flex; flex-direction: column; gap: 16px; }
  .trust .pt { display: flex; gap: 12px; }
  .trust .pt .bullet { width: 8px; height: 8px; border-radius: 50%; background: var(--green); margin-top: 9px; flex: 0 0 8px; }
  .trust .pt b { font-family: var(--display2); font-weight: 600; }
  .trust .pt p { color: var(--muted); font-size: 14.5px; margin-top: 2px; }

  /* ---- pricing ---- */
  .price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
  .tier { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 22px; display: flex; flex-direction: column; }
  .tier.feature { border-color: var(--amber); box-shadow: 0 0 0 1px rgba(255, 176, 32, 0.25); }
  .tier .name { font-family: var(--display2); font-weight: 700; font-size: 18px; }
  .tier .price { font-family: var(--display); font-weight: 700; font-size: 26px; margin-top: 8px; }
  .tier .price span { font-family: var(--mono); font-size: 12px; font-weight: 400; color: var(--muted); letter-spacing: 0.02em; }
  .tier .who { color: var(--muted); font-size: 13px; margin-top: 6px; min-height: 34px; }
  .price-note { color: var(--muted); font-size: 13px; margin-top: 20px; max-width: 52em; }
  .tier ul { list-style: none; padding: 0; margin: 16px 0 20px; display: flex; flex-direction: column; gap: 9px; }
  .tier li { font-size: 13.5px; color: var(--text); padding-left: 20px; position: relative; }
  .tier li::before { content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--amber); }
  .tier .btn { margin-top: auto; width: 100%; }

  /* ---- faq ---- */
  .faq { max-width: 760px; margin-top: 34px; }
  .qa { border-top: 1px solid var(--line); padding: 20px 0; }
  .qa:last-child { border-bottom: 1px solid var(--line); }
  .qa h3 { font-family: var(--display2); font-size: 17px; font-weight: 600; }
  .qa p { color: var(--muted); font-size: 15px; margin-top: 8px; }

  /* ---- final cta ---- */
  .final { text-align: center; padding: 92px 0; }
  .final h2 { font-size: 38px; }
  .final p { color: var(--muted); font-size: 18px; margin: 16px auto 0; max-width: 30em; }
  .final .hero-cta { justify-content: center; margin-top: 28px; }
  .lead-form { max-width: 540px; margin: 30px auto 0; display: flex; flex-direction: column; gap: 12px; text-align: left; }
  .lf-row { display: flex; gap: 12px; }
  .lead-form input, .lead-form select, .lead-form textarea {
    width: 100%; background: var(--panel); color: var(--text); border: 1px solid var(--line);
    border-radius: 9px; padding: 12px 13px; font-family: var(--body); font-size: 14.5px;
  }
  .lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: none; border-color: var(--amber); }
  .lead-form textarea { resize: vertical; }
  .lead-form .btn { margin-top: 4px; }
  .lead-form .hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
  .lead-thanks { max-width: 540px; margin: 30px auto 0; border: 1px solid #1c5230; background: rgba(63, 185, 80, 0.08); color: var(--text); border-radius: 12px; padding: 22px; }
  .lead-thanks b { color: var(--green); }
  .lead-error { max-width: 540px; margin: 12px auto 0; color: var(--red); font-size: 14px; }
  @media (max-width: 620px) { .lf-row { flex-direction: column; } }

  /* ---- footer ---- */
  footer { padding: 40px 0 56px; }
  .foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
  .foot .brand { font-size: 15px; }
  .foot .meta { color: var(--muted); font-size: 13px; }
  .foot a.mail { color: var(--accent-ink); }
  .disclaimer { color: var(--muted); font-size: 12px; margin-top: 18px; max-width: 60em; line-height: 1.6; opacity: 0.8; }

  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
  .reveal.in { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

  .nav-login { color: var(--muted); font-size: 14px; font-weight: 500; cursor: pointer; }
  .nav-login:hover { color: var(--text); }
  .brand-mark { display: block; flex: 0 0 auto; }
  .theme-toggle { background: none; border: 1px solid var(--line); color: var(--muted); width: 36px; height: 36px; border-radius: 9px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
  .theme-toggle:hover { color: var(--text); border-color: var(--muted); }
  .theme-toggle svg { width: 17px; height: 17px; }
  .theme-toggle .moon { display: none; }
  [data-theme="light"] .theme-toggle .sun { display: none; }
  [data-theme="light"] .theme-toggle .moon { display: inline; }
  .auth-overlay { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(8, 10, 13, 0.74); backdrop-filter: blur(6px); }
  .auth-overlay[hidden] { display: none; }
  .auth-card { position: relative; width: 100%; max-width: 404px; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
  .auth-close { position: absolute; top: 12px; right: 14px; background: none; border: 0; color: var(--muted); font-size: 24px; line-height: 1; cursor: pointer; padding: 4px; }
  .auth-close:hover { color: var(--text); }
  .auth-brand { display: flex; align-items: center; gap: 9px; font-family: var(--wordmark); font-weight: 400; font-size: 15px; white-space: nowrap; }
  .auth-brand .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(255, 176, 32, 0.18); }
  .auth-tabs { display: flex; gap: 6px; margin: 20px 0 4px; background: var(--bg2); border: 1px solid var(--line); border-radius: 10px; padding: 4px; }
  .auth-tab { flex: 1; background: none; border: 0; color: var(--muted); font-family: var(--display2); font-weight: 600; font-size: 13.5px; padding: 9px; border-radius: 7px; cursor: pointer; }
  .auth-tab.active { background: var(--panel2); color: var(--text); }
  .auth-h { font-family: var(--display2); font-size: 20px; font-weight: 700; margin: 16px 0 0; }
  .auth-form { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
  .af { display: flex; flex-direction: column; gap: 5px; }
  .af[hidden] { display: none; }
  .af span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
  .af input { background: var(--bg2); color: var(--text); border: 1px solid var(--line); border-radius: 9px; padding: 11px 12px; font-family: var(--body); font-size: 14.5px; }
  .af input:focus { outline: none; border-color: var(--amber); }
  .auth-form .btn { margin-top: 6px; width: 100%; }
  .auth-msg { font-size: 13px; border-radius: 8px; padding: 10px 12px; }
  .auth-msg[hidden] { display: none; }
  .auth-msg.err { color: var(--red); border: 1px solid #4a2630; background: rgba(255, 77, 77, 0.07); }
  .auth-msg.ok { color: var(--green); border: 1px solid #1c5230; background: rgba(63, 185, 80, 0.08); }
  .auth-switch { color: var(--muted); font-size: 13px; margin-top: 16px; text-align: center; }
  .auth-switch a { color: var(--accent-ink); cursor: pointer; }

  /* ---- responsive ---- */
  @media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .hero h1 { font-size: 38px; }
    .cap-grid { grid-template-columns: 1fr 1fr; }
    .steps { grid-template-columns: 1fr 1fr; }
    .price-grid { grid-template-columns: 1fr 1fr; }
    .band-grid, .trust { grid-template-columns: 1fr; gap: 16px; }
  }
  @media (max-width: 620px) {
    .nav-links { display: none; }
    .nav-links.open {
      display: flex; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column;
      gap: 0; background: var(--bg2); border-bottom: 1px solid var(--line); padding: 8px 24px 16px; margin: 0;
    }
    .nav-links.open a { padding: 12px 0; border-bottom: 1px solid var(--line); }
    .nav-links.open .nav-cta { margin-top: 12px; }
    .nav-toggle { display: inline-flex; }
    .hero h1 { font-size: 31px; }
    .hero-sub, .section-head p { font-size: 16px; }
    .cap-grid, .steps, .price-grid { grid-template-columns: 1fr; }
    .section { padding: 56px 0; }
    .section-head h2 { font-size: 26px; }
    .problem .lede { font-size: 22px; }
    .final h2 { font-size: 29px; }
  }
