/* ================================================================
   GEO™ AUDIT LANDING PAGE — Styles specific to /geo-audit.html
   Self-contained landing-page stylesheet (does not use subpage.css).
   Loads after: tokens.css → base.css → geo-audit.css
================================================================ */

@layer layout {

  /* ── Layout Containers ──────────────────────────────────────── */
  .wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
  }

  .wrap-narrow {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 40px;
  }

  /* ── Nav Logo (shared pattern) ──────────────────────────────── */
  .nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  /* ── Landing-Page Nav ───────────────────────────────────────── */
  .lp-nav {
    padding: 24px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
  }

  .nav-word {
    font-family: var(--serif);
    font-size: 19px;
    color: var(--t-head);
    letter-spacing: .05em;
  }

  .nav-word b {
    color: var(--gold);
    font-weight: 400;
  }

  .nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--gold);
    color: var(--bg);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .09em;
    text-transform: uppercase;
    border-radius: 100px;
    transition: background .2s, transform .2s var(--ease);
  }

  .nav-cta:hover {
    background: var(--gold-mid);
    transform: translateY(-1px);
  }

  /* ── Hero ────────────────────────────────────────────────────── */
  .hero {
    padding: 88px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
  }

  .hero-bg-orb {
    position: absolute;
    width: 900px;
    height: 900px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(138, 102, 32, .055) 0%, transparent 65%);
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(80px);
    pointer-events: none;
  }

  .dot-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(138, 102, 32, .15) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse 75% 70% at 50% 30%, black 10%, transparent 100%);
  }

  .hero-inner {
    position: relative;
    z-index: 1;
  }

  /* Alert bar */
  .alert-bar {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(138, 102, 32, .08);
    border: 1px solid var(--line-g);
    border-radius: 100px;
    padding: 8px 20px;
    margin-bottom: 36px;
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--gold);
  }

  .alert-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    animation: lp-pulse 2s ease infinite;
    flex-shrink: 0;
  }

  @keyframes lp-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .25; transform: scale(.55); }
  }

  .hero-h1 {
    font-family: var(--serif);
    font-size: clamp(38px, 4.8vw, 68px);
    font-weight: 300;
    line-height: 1.06;
    letter-spacing: -.018em;
    color: var(--t-head);
    margin-bottom: 28px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-h1 em {
    font-style: italic;
    color: var(--gold);
  }

  .hero-sub {
    font-size: 17px;
    color: var(--t-body);
    line-height: 1.84;
    max-width: 560px;
    margin: 0 auto 48px;
  }

  .hero-sub strong {
    color: var(--t-head);
    font-weight: 400;
  }

  /* CTA cluster */
  .hero-cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 17px 42px;
    background: var(--gold);
    color: var(--bg);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .09em;
    text-transform: uppercase;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: background .2s, transform .25s var(--ease), box-shadow .25s;
  }

  .btn-primary:hover {
    background: var(--gold-mid);
    transform: translateY(-3px);
    box-shadow: 0 16px 44px rgba(138, 102, 32, .24);
  }

  .btn-primary svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .hero-qualifier {
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: .1em;
    color: var(--t-muted);
    text-transform: uppercase;
  }

  /* ── AI Scenario Section ────────────────────────────────────── */
  .scenario-section {
    padding: 80px 0;
  }

  .scenario-label {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    text-align: center;
  }

  .scenario-h {
    font-family: var(--serif);
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 300;
    color: var(--t-head);
    line-height: 1.06;
    text-align: center;
    margin-bottom: 16px;
  }

  .scenario-h em {
    font-style: italic;
    color: var(--gold);
  }

  .scenario-sub {
    font-size: 15px;
    color: var(--t-body);
    line-height: 1.84;
    text-align: center;
    max-width: 520px;
    margin: 0 auto 56px;
  }

  /* Chat Mock */
  .chat-mock {
    max-width: 640px;
    margin: 0 auto 56px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
  }

  .chat-bar {
    background: var(--bg-alt);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--t-muted);
  }

  .chat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--line-g);
  }

  .chat-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .chat-bubble {
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.65;
    max-width: 88%;
  }

  .chat-bubble.user {
    background: rgba(138, 102, 32, .10);
    border: 1px solid var(--line-g);
    align-self: flex-end;
    color: var(--t-head);
    border-bottom-right-radius: 4px;
  }

  .chat-bubble.ai {
    background: var(--bg);
    border: 1px solid var(--line);
    align-self: flex-start;
    color: var(--t-body);
    border-bottom-left-radius: 4px;
  }

  .chat-bubble.ai strong {
    color: var(--t-head);
    font-weight: 400;
  }

  .chat-bubble.ai .missing {
    display: inline-block;
    background: rgba(180, 60, 40, .08);
    border: 1px solid rgba(180, 60, 40, .2);
    border-radius: 6px;
    padding: 1px 8px;
    color: rgba(160, 50, 30, .8);
    font-style: italic;
  }

  .chat-caption {
    text-align: center;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .1em;
    color: var(--t-muted);
    text-transform: uppercase;
  }

  /* ── What's at Stake ────────────────────────────────────────── */
  .stakes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 96px;
  }

  .stake-card {
    background: var(--card);
    padding: 38px 32px;
    position: relative;
    overflow: hidden;
    transition: background .25s var(--ease);
  }

  .stake-card:hover {
    background: var(--card-h);
  }

  .stake-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity .35s;
  }

  .stake-card:hover::after {
    opacity: 1;
  }

  .stake-icon {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .stake-title {
    font-family: var(--serif);
    font-size: 20px;
    color: var(--t-head);
    font-weight: 300;
    margin-bottom: 10px;
    line-height: 1.2;
  }

  .stake-p {
    font-size: 13px;
    color: var(--t-muted);
    line-height: 1.78;
  }

  .stake-p strong {
    color: var(--t-body);
    font-weight: 400;
  }

  /* ── Who It's For ───────────────────────────────────────────── */
  .who-section {
    margin-bottom: 96px;
  }

  .who-label {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    text-align: center;
  }

  .who-h {
    font-family: var(--serif);
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 300;
    color: var(--t-head);
    line-height: 1.06;
    text-align: center;
    margin-bottom: 48px;
  }

  .who-h em {
    font-style: italic;
    color: var(--gold);
  }

  .who-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
  }

  .who-card {
    background: var(--card);
    padding: 40px 34px;
    transition: background .25s var(--ease);
    position: relative;
    overflow: hidden;
  }

  .who-card:hover {
    background: var(--card-h);
  }

  .who-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity .4s;
  }

  .who-card:hover::before {
    opacity: 1;
  }

  .who-practice {
    font-family: var(--serif);
    font-size: 26px;
    color: var(--t-head);
    font-weight: 300;
    margin-bottom: 6px;
    line-height: 1.1;
  }

  .who-practice em {
    font-style: italic;
    color: var(--gold);
  }

  .who-type {
    font-family: var(--mono);
    font-size: 8.5px;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
  }

  .who-p {
    font-size: 13px;
    color: var(--t-muted);
    line-height: 1.78;
    margin-bottom: 20px;
  }

  .who-p strong {
    color: var(--t-body);
    font-weight: 400;
  }

  .who-signals {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .who-signal {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 12.5px;
    color: var(--t-body);
    line-height: 1.5;
  }

  .who-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
    margin-top: 7px;
  }

  /* ── What You Get (Deliverables) ────────────────────────────── */
  .deliverable-section {
    margin-bottom: 96px;
  }

  .del-label {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
  }

  .del-h {
    font-family: var(--serif);
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 300;
    color: var(--t-head);
    line-height: 1.06;
    margin-bottom: 48px;
  }

  .del-h em {
    font-style: italic;
    color: var(--gold);
  }

  .del-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
  }

  .del-main {
    background: var(--card);
    padding: 52px 48px;
  }

  .del-aside {
    background: var(--bg-alt);
    padding: 52px 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
  }

  .del-items {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .del-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
  }

  .del-num {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--gold);
    letter-spacing: .08em;
    flex-shrink: 0;
    width: 24px;
    margin-top: 3px;
  }

  .del-content-title {
    font-family: var(--serif);
    font-size: 20px;
    color: var(--t-head);
    font-weight: 300;
    margin-bottom: 5px;
  }

  .del-content-p {
    font-size: 13px;
    color: var(--t-muted);
    line-height: 1.75;
  }

  .del-content-p strong {
    color: var(--t-body);
    font-weight: 400;
  }

  .del-aside-label {
    font-family: var(--mono);
    font-size: 8.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--t-muted);
    margin-bottom: 12px;
  }

  .del-aside-val {
    font-family: var(--serif);
    font-size: 38px;
    font-weight: 300;
    color: var(--t-head);
    line-height: 1;
    margin-bottom: 6px;
  }

  .del-aside-val em {
    color: var(--gold);
    font-style: normal;
  }

  .del-aside-note {
    font-size: 12.5px;
    color: var(--t-muted);
    line-height: 1.6;
  }

  .del-aside-rule {
    height: 1px;
    background: var(--line);
  }

  /* ── Qualifier ──────────────────────────────────────────────── */
  .qualifier-section {
    margin-bottom: 96px;
  }

  .qual-block {
    background: var(--card);
    border: 1px solid var(--line-g);
    border-radius: 20px;
    padding: 56px 52px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
  }

  .qual-label {
    font-family: var(--mono);
    font-size: 8.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--t-muted);
    margin-bottom: 12px;
  }

  .qual-h {
    font-family: var(--serif);
    font-size: clamp(26px, 3vw, 40px);
    font-weight: 300;
    color: var(--t-head);
    line-height: 1.08;
    margin-bottom: 16px;
  }

  .qual-h em {
    font-style: italic;
    color: var(--gold);
  }

  .qual-p {
    font-size: 14px;
    color: var(--t-body);
    line-height: 1.84;
  }

  .qual-p strong {
    color: var(--t-head);
    font-weight: 400;
  }

  .qual-list-label {
    font-family: var(--mono);
    font-size: 8.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--t-muted);
    margin-bottom: 18px;
  }

  .qual-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .qual-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--t-body);
    line-height: 1.55;
  }

  .qual-icon {
    flex-shrink: 0;
    margin-top: 2px;
  }

  .qual-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .qual-item strong {
    color: var(--t-head);
    font-weight: 400;
  }

  /* ── Form Section (full-width background) ───────────────────── */
  .form-section {
    padding: 80px 0 96px;
    position: relative;
    overflow: hidden;
  }

  .form-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(138, 102, 32, .05) 0%, transparent 55%);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    pointer-events: none;
  }

  .form-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
  }

  .form-eyebrow {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
  }

  .form-h {
    font-family: var(--serif);
    font-size: clamp(30px, 4vw, 56px);
    font-weight: 300;
    color: var(--t-head);
    line-height: 1.04;
    margin-bottom: 16px;
  }

  .form-h em {
    font-style: italic;
    color: var(--gold);
  }

  .form-sub {
    font-size: 15px;
    color: var(--t-body);
    line-height: 1.82;
    margin-bottom: 44px;
  }

  /* Form card */
  .form-card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 44px 40px;
    text-align: left;
  }

  .field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-bottom: 18px;
  }

  .field label {
    font-family: var(--mono);
    font-size: 8.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--t-muted);
  }

  .field input,
  .field select {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 13px 16px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 300;
    color: var(--t-head);
    outline: none;
    width: 100%;
    transition: border-color .2s, box-shadow .2s, background .2s;
    appearance: none;
    -webkit-appearance: none;
  }

  .field input::placeholder {
    color: var(--t-muted);
  }

  .field input:focus,
  .field select:focus {
    border-color: var(--line-g);
    background: var(--bg-alt);
    box-shadow: 0 0 0 3px rgba(138, 102, 32, .08);
  }

  .field select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M2 4l4 4 4-4' stroke='%238A6620' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    background-color: var(--bg);
  }

  .field select option {
    background: var(--bg);
    color: var(--t-head);
  }

  .field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .req {
    color: var(--gold);
    margin-left: 2px;
  }

  /* Error state */
  .field input.error,
  .field select.error {
    border-color: rgba(180, 60, 40, .4);
  }

  .field-error {
    font-size: 11px;
    color: rgba(160, 50, 30, .8);
    font-family: var(--mono);
    letter-spacing: .04em;
    margin-top: -12px;
    margin-bottom: 4px;
  }

  /* Submit row */
  .form-submit-row {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
  }

  .btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 36px;
    background: var(--gold);
    color: var(--bg);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .09em;
    text-transform: uppercase;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: background .2s, transform .25s var(--ease), box-shadow .25s;
  }

  .btn-submit:hover {
    background: var(--gold-mid);
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(138, 102, 32, .22);
  }

  .btn-submit:disabled {
    opacity: .6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
  }

  .btn-submit svg {
    width: 13px;
    height: 13px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .submit-note {
    font-size: 11.5px;
    color: var(--t-muted);
    font-family: var(--mono);
    letter-spacing: .04em;
    line-height: 1.6;
  }

  /* ── Thank You State ────────────────────────────────────────── */
  #thankYou {
    display: none;
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
  }

  #thankYou.show {
    display: block;
  }

  .ty-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(138, 102, 32, .08);
    border: 1px solid var(--line-g);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
  }

  .ty-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--gold);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .ty-h {
    font-family: var(--serif);
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 300;
    color: var(--t-head);
    line-height: 1.06;
    margin-bottom: 16px;
  }

  .ty-h em {
    font-style: italic;
    color: var(--gold);
  }

  .ty-p {
    font-size: 15px;
    color: var(--t-body);
    line-height: 1.84;
    margin-bottom: 10px;
  }

  .ty-p strong {
    color: var(--t-head);
    font-weight: 400;
  }

  /* Thank-you CTA link (replaces inline styles from original) */
  .ty-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 100px;
    border: 1px solid var(--line-g);
    color: var(--gold);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: background .2s, transform .2s var(--ease);
  }

  .ty-cta:hover {
    background: rgba(138, 102, 32, .07);
    transform: translateY(-1px);
  }

  /* ── Landing-Page Footer ────────────────────────────────────── */
  .lp-footer {
    padding: 28px 40px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 9.5px;
    color: var(--t-muted);
    letter-spacing: .08em;
    text-transform: uppercase;
    flex-wrap: wrap;
    gap: 10px;
  }

  .lp-footer a {
    transition: color .2s;
  }

  .lp-footer a:hover {
    color: var(--gold);
  }

  /* ── Scroll Reveal (self-contained for LP) ──────────────────── */
  .rev {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .72s var(--ease), transform .72s var(--ease);
  }

  .rev.on {
    opacity: 1;
    transform: none;
  }

  .d1 { transition-delay: .08s; }
  .d2 { transition-delay: .16s; }
  .d3 { transition-delay: .24s; }

  /* ── Responsive ─────────────────────────────────────────────── */
  @media (max-width: 1024px) {
    .del-grid {
      grid-template-columns: 1fr;
    }

    .del-aside {
      border-top: 1px solid var(--line);
      flex-direction: row;
      flex-wrap: wrap;
      gap: 24px;
    }

    .del-aside-rule {
      display: none;
    }

    .qual-block {
      grid-template-columns: 1fr;
      gap: 32px;
    }
  }

  @media (max-width: 768px) {
    .wrap,
    .wrap-narrow {
      padding: 0 20px;
    }

    .lp-nav {
      padding: 20px;
    }

    .lp-footer {
      padding: 24px 20px;
      flex-direction: column;
      align-items: flex-start;
      gap: 8px;
    }

    .hero {
      padding: 60px 0 64px;
    }

    .stakes-grid,
    .who-grid {
      grid-template-columns: 1fr;
    }

    .field-row {
      grid-template-columns: 1fr;
    }

    .form-card {
      padding: 32px 24px;
    }

    .qual-block {
      padding: 36px 28px;
    }

    .del-main,
    .del-aside {
      padding: 36px 28px;
    }
  }
}
