/*!*************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[10].use[3]!./app/globals.css ***!
  \*************************************************************************************************************************************************************************************************************************************************************/
/* ============================================================================
   Polk Property — "Land Registry / Cadastral Ledger" design system.
   Warm paper light theme · Fraunces (display) · Archivo (UI) · Plex Mono (data).
   Fonts are injected as CSS variables by next/font in layout.tsx.
   ========================================================================== */

:root {
  /* — Core palette ——————————————————————————————————————————— */
  --paper:    #f4efe3;   /* page background */
  --paper-2:  #fbf8f1;   /* raised surfaces / cards */
  --paper-3:  #ece5d4;   /* sunken surfaces / inputs */
  --ink:      #211e17;   /* primary text */
  --ink-2:    #4a463c;   /* secondary text */
  --ink-3:    #837c6c;   /* muted text */
  --line:     #ddd4be;   /* hairline borders */
  --line-2:   #cabf9f;   /* stronger borders */

  --pine:       #1c6f4f; /* primary accent — land / equity */
  --pine-deep:  #0e4a34;
  --pine-tint:  #e1eee6;
  --clay:       #b5470f; /* warning — absentee */
  --clay-tint:  #f6e3d4;
  --brick:      #a8301f; /* danger — out-of-state / overdue */
  --brick-tint: #f3ddd6;
  --steel:      #3a6585; /* info — vacant / mobile home */
  --steel-tint: #dde9f0;
  --gold:       #8c6611; /* homestead amber */
  --gold-tint:  #f1e6cb;

  /* — Type ————————————————————————————————————————————————— */
  --font-display: var(--font-display-src, "Fraunces"), Georgia, "Times New Roman", serif;
  --font-sans: var(--font-sans-src, "Archivo"), ui-sans-serif, system-ui, sans-serif;
  --font-mono: var(--font-mono-src, "IBM Plex Mono"), ui-monospace, "SFMono-Regular", monospace;

  /* — Shape & depth ——————————————————————————————————————————— */
  --radius:    11px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(42, 34, 18, 0.05), 0 1px 1px rgba(42, 34, 18, 0.04);
  --shadow:    0 6px 22px -10px rgba(42, 34, 18, 0.20), 0 2px 7px -4px rgba(42, 34, 18, 0.12);
  --shadow-lg: 0 18px 48px -18px rgba(42, 34, 18, 0.30);

  /* — Legacy token aliases (keep inline styles in pages working) ——————— */
  --bg: var(--paper);
  --panel: var(--paper-2);
  --panel-2: var(--paper-3);
  --border: var(--line);
  --text: var(--ink);
  --muted: var(--ink-3);
  --accent: var(--pine);
  --green: var(--pine);
  --orange: var(--clay);
  --red: var(--brick);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background-color: var(--paper);
  /* Faint cadastral dot-grid — reads like survey/plat paper behind the content. */
  background-image: radial-gradient(circle at 1px 1px, rgba(33, 30, 23, 0.045) 1px, transparent 0);
  background-size: 24px 24px;
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--pine); color: var(--paper-2); }

a { color: var(--pine-deep); text-decoration: none; font-weight: 500; }
a:hover { color: var(--pine); text-decoration: underline; text-underline-offset: 2px; }

code, pre { font-family: var(--font-mono); font-size: 0.86em; }
pre {
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  overflow-x: auto;
}

/* ——— Top bar / brand ———————————————————————————————————————————— */
.topbar {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 28px;
  background: color-mix(in srgb, var(--paper-2) 86%, transparent);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand .mark { color: var(--pine); flex: none; }
.brand .word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1;
}
.brand .eyebrow {
  display: block;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 3px;
}
.brand a, .brand a:hover { color: inherit; text-decoration: none; }

.topnav { display: flex; align-items: center; gap: 4px; }
.topnav a {
  position: relative;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}
.topnav a:hover { color: var(--ink); background: var(--paper-3); text-decoration: none; }
.topnav a.active { color: var(--pine-deep); background: var(--pine-tint); }

/* ——— Mobile bottom tab bar ————————————————————————————————————— */
.tabbar { display: none; }

main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 28px 64px;
}

/* ——— Headings ———————————————————————————————————————————————— */
h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 29px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--ink);
}
h3 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 28px 0 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
h3::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--line-2);
  flex: none;
}
h4 { font-family: var(--font-sans); font-size: 14px; font-weight: 600; margin: 0 0 8px; color: var(--ink); }

/* ——— Forms ———————————————————————————————————————————————————— */
input, select, textarea, button {
  font-family: var(--font-sans);
  color: inherit;
  font-size: 16px; /* 16px keeps iOS Safari from zooming on focus */
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  max-width: 100%;
}
input, select, textarea {
  width: 100%;
  background: var(--paper-2);
  border: 1px solid var(--line-2);
  transition: border-color 0.15s, box-shadow 0.15s;
}
input::placeholder, textarea::placeholder { color: var(--ink-3); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--pine);
  box-shadow: 0 0 0 3px var(--pine-tint);
}
textarea { resize: vertical; line-height: 1.5; }

button {
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  padding: 9px 16px;
  background: var(--pine);
  color: #fbf8f1;
  border: 1px solid var(--pine);
  box-shadow: var(--shadow-sm);
  transition: transform 0.08s, filter 0.15s, background 0.15s;
}
button:hover { filter: brightness(1.06); }
button:active { transform: translateY(1px); }
button.secondary {
  background: var(--paper-2);
  color: var(--ink);
  border-color: var(--line-2);
  box-shadow: none;
}
button.secondary:hover { background: var(--paper-3); filter: none; }

:focus-visible { outline: 2px solid var(--pine); outline-offset: 2px; border-radius: 4px; }

/* Anchor styled as a button (used for download links / API routes). */
a.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  background: var(--paper-2);
  color: var(--ink);
  border: 1px solid var(--line-2);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
}
a.btn:hover { background: var(--paper-3); text-decoration: none; }
a.btn.primary { background: var(--pine); color: #fbf8f1; border-color: var(--pine); }
a.btn.primary:hover { filter: brightness(1.06); background: var(--pine); }

/* Stacked label + control (CRM/pipeline forms). */
.field { display: flex; flex-direction: column; gap: 5px; }
.field > span { font-size: 11px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-3); }

/* ——— Layout primitives ———————————————————————————————————————— */
.row { display: flex; gap: 9px; flex-wrap: wrap; }
.grid { display: grid; grid-gap: 16px; gap: 16px; }
.grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
a.card { display: block; transition: transform 0.12s, box-shadow 0.15s, border-color 0.15s; }
a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-2); text-decoration: none; }

.kv { display: grid; grid-template-columns: 168px 1fr; grid-gap: 9px 14px; gap: 9px 14px; }
.kv dt { color: var(--ink-3); font-size: 12px; font-weight: 600; letter-spacing: 0.03em; text-transform: uppercase; align-self: center; }
.kv dd { margin: 0; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }

/* ——— Tables ——————————————————————————————————————————————————— */
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th, td { padding: 11px 12px; text-align: left; }
thead th {
  color: var(--ink-3);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  border-bottom: 1.5px solid var(--line-2);
  white-space: nowrap;
}
tbody tr { border-bottom: 1px solid var(--line); transition: background 0.12s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: color-mix(in srgb, var(--pine-tint) 45%, transparent); }
td.num, th.num { text-align: right; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
/* Parcel IDs and the first identifier cell read as ledger references. */
td a[href^="/parcel/"] { font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; }

/* ——— Tags / pills ———————————————————————————————————————————— */
.tag {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--paper-3);
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  white-space: nowrap;
}
.tag.green  { color: var(--pine-deep); background: var(--pine-tint);  border-color: color-mix(in srgb, var(--pine) 35%, transparent); }
.tag.orange { color: var(--clay);      background: var(--clay-tint);  border-color: color-mix(in srgb, var(--clay) 35%, transparent); }
.tag.red    { color: var(--brick);     background: var(--brick-tint); border-color: color-mix(in srgb, var(--brick) 35%, transparent); }
.tag.blue   { color: var(--steel);     background: var(--steel-tint); border-color: color-mix(in srgb, var(--steel) 35%, transparent); }

.muted { color: var(--ink-3); }
.empty { padding: 40px 24px; text-align: center; color: var(--ink-3); }

.form-row { display: grid; grid-template-columns: 140px 1fr; grid-gap: 8px 12px; gap: 8px 12px; align-items: center; margin-bottom: 8px; }
.form-row label { color: var(--ink-3); }

.pagination { display: flex; gap: 10px; justify-content: space-between; align-items: center; margin-top: 20px; }
.pagination .muted { font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; font-size: 13px; }

/* ——— Preset cards ———————————————————————————————————————————— */
.preset-grid { display: grid; grid-gap: 12px; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); }
.preset-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-2);
  box-shadow: var(--shadow-sm);
  transition: transform 0.12s, box-shadow 0.15s, border-color 0.15s;
  height: 100%;
}
.preset-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--line-2); }
.preset-card.active { border-color: var(--pine); background: var(--pine-tint); box-shadow: var(--shadow); }
.preset-card h4 { margin: 0 0 6px; font-size: 14.5px; }
.preset-card p { margin: 0; color: var(--ink-3); font-size: 12.5px; line-height: 1.45; }

/* ——— Dashboard stat tiles ———————————————————————————————————— */
.stat-grid { display: grid; grid-gap: 12px; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); }
.stat {
  position: relative;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 16px 14px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.12s, box-shadow 0.15s;
}
a.stat:hover { transform: translateY(-2px); box-shadow: var(--shadow); text-decoration: none; }
.stat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--pine); }
.stat .n { font-family: var(--font-display); font-weight: 600; font-size: 30px; line-height: 1; color: var(--ink); font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.stat .l { color: var(--ink-3); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 8px; }

/* ——— Pipeline board ——————————————————————————————————————————— */
.board { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(265px, 1fr); grid-gap: 14px; gap: 14px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x proximity; }
.board-col { background: color-mix(in srgb, var(--paper-3) 55%, transparent); border: 1px solid var(--line); border-radius: var(--radius); padding: 13px; min-width: 265px; scroll-snap-align: start; }
.board-col h4 { margin: 0 0 12px; font-size: 13px; display: flex; justify-content: space-between; align-items: center; }
.board-col h4 .muted { font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; font-weight: 700; }
.board-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 11px 12px;
  margin-bottom: 9px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.1s, box-shadow 0.15s;
}
.board-card:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.board-card a { font-weight: 600; color: var(--ink); }
.board-card .meta { color: var(--ink-3); font-size: 12px; margin-top: 4px; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }

/* ——— AI Smart Search bar ————————————————————————————————————— */
.ai-search {
  margin: 4px 0 8px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--pine) 32%, var(--line));
  background:
    radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--pine-tint) 80%, transparent), transparent 60%),
    var(--paper-2);
  box-shadow: var(--shadow-sm);
}
.ai-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ai-search .ai-spark {
  font-size: 18px;
  color: var(--pine);
  flex: none;
  line-height: 1;
}
.ai-search input {
  flex: 1 1;
  min-width: 200px;
  background: var(--paper);
  border-color: color-mix(in srgb, var(--pine) 25%, var(--line-2));
}
.ai-search .ai-go {
  flex: none;
  background: var(--pine);
  border-color: var(--pine);
  white-space: nowrap;
}
.ai-search .ai-go::before { content: "✦ "; }
.ai-search .ai-go:disabled { opacity: 0.65; cursor: progress; }
.ai-error { margin: 8px 0 0; font-size: 13px; color: var(--brick); }

/* AI deal shortlist (ranked results). */
.shortlist { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.shortlist-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 10px 12px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.shortlist-rank {
  flex: none;
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 999px;
  background: var(--pine); color: #fbf8f1;
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  font-feature-settings: "tnum";
  font-variant-numeric: tabular-nums;
}

/* Banner showing how the AI interpreted a query. */
.ai-note {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 14px;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  background: var(--pine-tint);
  border: 1px solid color-mix(in srgb, var(--pine) 28%, transparent);
  color: var(--pine-deep);
  font-size: 13.5px;
}
.ai-note .ai-spark { color: var(--pine); font-weight: 700; }

/* AI outreach draft blocks. */
.draft {
  background: var(--paper-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
}
.draft p { color: var(--ink); line-height: 1.5; }

/* ——— Bulk action bar (leads selection) ——————————————————————— */
.bulkbar {
  position: -webkit-sticky;
  position: sticky;
  top: 64px;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px 14px;
  margin-bottom: 12px;
  background: var(--pine-tint);
  border: 1px solid color-mix(in srgb, var(--pine) 30%, transparent);
  border-radius: var(--radius-sm);
}
.bulkbar .bulk-all { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--pine-deep); cursor: pointer; }
.bulkbar input[type="checkbox"] { width: 17px; height: 17px; accent-color: var(--pine); cursor: pointer; }
.bulkbar button:disabled { opacity: 0.5; cursor: not-allowed; filter: none; }
/* Row checkboxes in the leads table. */
td input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--pine); cursor: pointer; }

/* ——— Activity timeline ———————————————————————————————————————— */
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline > li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.timeline > li:last-child { border-bottom: none; }
.timeline > li.task-open { border-left: 2px solid var(--clay); padding-left: 12px; margin-left: -14px; }

/* ============================================================================
   Mobile (≤ 760px)
   ========================================================================== */
@media (max-width: 760px) {
  body { font-size: 15px; }

  .topbar { padding: 12px 16px; }
  .topnav { display: none; }                 /* desktop nav hidden — bottom bar takes over */
  .brand .word { font-size: 18px; }

  main { padding: 20px 14px calc(76px + env(safe-area-inset-bottom)); }

  h2 { font-size: 24px; }
  h3 { margin: 22px 0 10px; }

  /* Fixed app-style bottom tab bar */
  .tabbar {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 50;
    justify-content: space-around;
    align-items: stretch;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--paper-2) 94%, transparent);
    -webkit-backdrop-filter: blur(12px);
            backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px -12px rgba(42, 34, 18, 0.25);
  }
  .tab {
    flex: 1 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 2px;
    color: var(--ink-3);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.01em;
    border-radius: 10px;
  }
  .tab:hover { text-decoration: none; }
  .tab.active { color: var(--pine); }
  .tab.active .tab-ico { background: var(--pine-tint); }
  .tab-ico { display: flex; align-items: center; justify-content: center; width: 40px; height: 26px; border-radius: 999px; transition: background 0.15s; }

  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }

  .kv { grid-template-columns: 1fr; gap: 1px 0; }
  .kv dt { margin-top: 9px; }
  .kv dt:first-child { margin-top: 0; }

  .form-row { grid-template-columns: 1fr; gap: 4px; }
  .card { padding: 14px; }
  button { padding: 11px 16px; }
  .pagination { gap: 12px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat .n { font-size: 26px; }

  /* — Reflow opted-in tables into stacked cards (no horizontal scroll) — */
  .table-cards thead { display: none; }
  .table-cards, .table-cards tbody, .table-cards tr, .table-cards td { display: block; width: 100%; }
  .table-cards tr {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--paper-2);
    box-shadow: var(--shadow-sm);
    padding: 6px 14px;
    margin-bottom: 10px;
  }
  .table-cards tr:hover { background: var(--paper-2); }
  .table-cards td {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 18px;
    text-align: right;
    padding: 8px 0;
    border-bottom: 1px dashed var(--line);
  }
  .table-cards td:last-child { border-bottom: none; }
  .table-cards td::before {
    content: attr(data-label);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 10.5px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-3);
    text-align: left;
    flex: none;
  }
  .table-cards td.num { text-align: right; }
  .table-cards td[data-label=""] { justify-content: flex-end; }
  .table-cards td[data-label=""]::before { display: none; }
}

/* ——— Loading skeletons (Suspense fallbacks) ——————————————————— */
.sk {
  display: inline-block;
  background: linear-gradient(
    100deg,
    var(--paper-3) 28%,
    color-mix(in srgb, var(--paper-2) 70%, var(--paper-3)) 48%,
    var(--paper-3) 68%
  );
  background-size: 200% 100%;
  animation: sk-shimmer 1.25s ease-in-out infinite;
  border-radius: 6px;
}
@keyframes sk-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sk { animation: none; }
}
.sk-stack { display: flex; flex-direction: column; gap: 9px; }
.sk-trow {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
}
.sk-trow > .sk:first-child { flex: none; }
.sk-trow > .sk:nth-child(2) { flex: 1 1; }
.sk-thead { background: color-mix(in srgb, var(--paper-3) 50%, transparent); }
.sk-trow:last-child { border-bottom: none; }

/* ============================================================================
   Public /sell landing page (full-bleed, no app chrome)
   ========================================================================== */
.lp { color: var(--ink); }
@keyframes lp-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.lp-anim { opacity: 0; animation: lp-up 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
@media (prefers-reduced-motion: reduce) { .lp-anim { animation: none; opacity: 1; } }

.lp-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(16px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}
.lp-bar .brand .word { font-size: 19px; }
.lp-phone {
  font-family: var(--font-display); font-weight: 600; font-size: 17px;
  color: var(--pine-deep); text-decoration: none; white-space: nowrap;
}
.lp-phone:hover { color: var(--pine); text-decoration: none; }

.lp-hero {
  position: relative; overflow: hidden;
  padding: clamp(28px, 5vw, 64px) clamp(16px, 6vw, 80px) clamp(40px, 6vw, 80px);
  background:
    radial-gradient(110% 80% at 85% -15%, var(--pine-tint), transparent 55%),
    radial-gradient(90% 70% at 0% 110%, var(--gold-tint), transparent 50%),
    var(--paper);
}
.lp-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; grid-gap: clamp(28px, 4vw, 56px); gap: clamp(28px, 4vw, 56px); align-items: center; max-width: 1180px; margin: 0 auto; }
.lp-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--pine); margin: 0 0 14px; }
.lp-h1 {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(33px, 5vw, 56px); line-height: 1.04; letter-spacing: -0.02em;
  margin: 0 0 18px; color: var(--ink);
}
.lp-h1 em { font-style: italic; color: var(--pine-deep); }
.lp-sub { font-size: clamp(16px, 1.5vw, 19px); line-height: 1.5; color: var(--ink-2); max-width: 30em; margin: 0 0 22px; }
.lp-checks { list-style: none; margin: 0; padding: 0; display: grid; grid-gap: 10px; gap: 10px; }
.lp-checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.lp-checks svg { flex: none; color: var(--pine); margin-top: 2px; }

/* Form card */
.lp-card {
  background: var(--paper-2); border: 1px solid var(--line-2); border-radius: 16px;
  padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow-lg);
}
.lp-card h2 { font-family: var(--font-display); font-weight: 600; font-size: 23px; margin: 0 0 4px; }
.lp-card .lp-card-sub { color: var(--ink-3); font-size: 13.5px; margin: 0 0 18px; }
.lp-form { display: flex; flex-direction: column; gap: 12px; }
.lp-form .field > span { font-size: 12px; }
.lp-form input, .lp-form select, .lp-form textarea { padding: 12px 13px; border-radius: 10px; }
.lp-cta {
  width: 100%; margin-top: 4px; padding: 15px; font-size: 16px; border-radius: 11px;
  background: var(--pine); border-color: var(--pine);
}
.lp-cta:hover { filter: brightness(1.07); }
.lp-fineprint { font-size: 11.5px; color: var(--ink-3); margin: 10px 0 0; text-align: center; }
.lp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Trust strip */
.lp-trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(14px, 4vw, 48px);
  padding: 20px clamp(16px, 6vw, 80px); background: var(--ink);
  color: var(--paper-2);
}
.lp-trust span { font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.lp-trust svg { color: var(--pine-tint); }

/* Generic content sections */
.lp-section { padding: clamp(44px, 6vw, 76px) clamp(16px, 6vw, 80px); max-width: 1100px; margin: 0 auto; }
.lp-section.alt { background: var(--paper-3); max-width: none; }
.lp-section.alt .lp-inner { max-width: 1100px; margin: 0 auto; }
.lp-kicker { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 8px; }
.lp-h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 3.5vw, 38px); line-height: 1.1; letter-spacing: -0.01em; text-align: center; margin: 0 0 36px; }

.lp-steps { display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 22px; gap: 22px; }
.lp-step { text-align: center; }
.lp-step .num {
  width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--pine-tint); color: var(--pine-deep);
  font-family: var(--font-display); font-weight: 600; font-size: 20px;
  border: 1px solid color-mix(in srgb, var(--pine) 30%, transparent);
}
.lp-step h3 { font-size: 17px; margin: 0 0 6px; text-transform: none; letter-spacing: 0; color: var(--ink); display: block; }
.lp-step h3::before { content: none; }
.lp-step p { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; margin: 0; }

.lp-cta-band { text-align: center; padding: clamp(44px, 6vw, 72px) clamp(16px, 6vw, 80px); background: var(--pine); color: var(--paper-2); }
.lp-cta-band h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 3.5vw, 40px); margin: 0 0 10px; color: #fff; }
.lp-cta-band p { color: color-mix(in srgb, #fff 82%, var(--pine)); margin: 0 0 22px; font-size: 16px; }
.lp-cta-band a.btn { background: var(--paper-2); color: var(--pine-deep); border: none; padding: 14px 26px; font-size: 16px; border-radius: 11px; }

.lp-foot { text-align: center; padding: 26px 16px; color: var(--ink-3); font-size: 12.5px; }

/* Thank-you screen */
.lp-thanks { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.lp-thanks .lp-card { max-width: 460px; text-align: center; }
.lp-thanks svg { color: var(--pine); margin: 0 auto 8px; }

@media (max-width: 820px) {
  .lp-hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .lp-steps { grid-template-columns: 1fr; gap: 28px; }
  .lp-bar .lp-phone { font-size: 15px; }
}

/* The scrolling wrapper used around tables: let opted-in card tables overflow freely. */
.card.table-wrap { padding: 0; overflow-x: auto; }
@media (max-width: 760px) {
  .card.table-wrap { border: none; background: transparent; box-shadow: none; overflow: visible; }
}

/* ==========================================================================
   Post Agent — layout + toggle switches
   ========================================================================== */

/* Row that holds the count picker + toggles */
.agent-row {
  display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap;
}
.agent-toggles {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap; flex: 1 1;
}

/* Toggle switch (accessible role="switch") */
.toggle {
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: none; padding: 0; cursor: pointer;
  font: inherit; color: var(--ink); white-space: nowrap;
}
.toggle:disabled { opacity: .45; cursor: not-allowed; }
.toggle-track {
  position: relative;
  width: 36px; height: 20px;
  background: var(--line-2);
  border-radius: 10px;
  transition: background .15s;
  flex: 0 0 auto;
}
.toggle.on .toggle-track { background: var(--pine); }
.toggle-thumb {
  position: absolute; top: 2px; left: 2px;
  width: 16px; height: 16px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0,0,0,.18);
  transition: transform .15s;
}
.toggle.on .toggle-thumb { transform: translateX(16px); }
.toggle-label { font-size: 13.5px; }

/* Generate button */
.agent-gen-btn { width: 100%; }

/* Schedule grid */
.agent-schedule-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-gap: 12px; gap: 12px;
  align-items: end; margin-bottom: 12px;
}
.agent-actions {
  display: flex; gap: 14px; align-items: center; flex-wrap: wrap;
}

/* Draft cards */
.draft-card {
  display: flex; gap: 12px; align-items: flex-start;
}
.draft-img {
  width: 120px; height: 120px; object-fit: cover;
  border-radius: var(--radius-sm); flex: 0 0 auto;
}
.draft-img-placeholder {
  width: 120px; height: 120px; display: grid; place-items: center;
  text-align: center; font-size: 11px;
  border: 1px dashed var(--line-2); border-radius: var(--radius-sm);
  flex: 0 0 auto; padding: 6px;
}
.draft-caption {
  width: 100%; font: inherit; color: inherit; background: var(--paper);
  border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  padding: 8px 10px; font-size: 14px;
}

@media (max-width: 760px) {
  .agent-row { flex-direction: column; align-items: stretch; gap: 12px; }
  .agent-toggles { gap: 12px; }
  .agent-schedule-grid { grid-template-columns: 1fr; }
  .agent-actions { flex-direction: column; align-items: stretch; }
  .agent-actions button { width: 100%; }
  .draft-card { flex-direction: column; }
  .draft-img { width: 100%; height: 180px; }
  .draft-img-placeholder { width: 100%; height: 100px; }
}

/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[13].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"app\\layout.tsx","import":"Fraunces","arguments":[{"subsets":["latin"],"display":"swap","axes":["opsz"],"variable":"--font-display-src"}],"variableName":"display"} ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* vietnamese */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/7452ca4a93358909-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/e0ecb571b51ea3b5-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/_next/static/media/6e8c7cb283336a9d-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'Fraunces Fallback';src: local("Times New Roman");ascent-override: 84.71%;descent-override: 22.09%;line-gap-override: 0.00%;size-adjust: 115.45%
}.__className_fdb222 {font-family: 'Fraunces', 'Fraunces Fallback';font-style: normal
}.__variable_fdb222 {--font-display-src: 'Fraunces', 'Fraunces Fallback'
}

/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[13].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"app\\layout.tsx","import":"Archivo","arguments":[{"subsets":["latin"],"display":"swap","variable":"--font-sans-src"}],"variableName":"sans"} ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* vietnamese */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/b06b356f834173cc-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/23d669af23d19c95-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 100%;
  font-display: swap;
  src: url(/_next/static/media/1a4aa50920b5315c-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'Archivo Fallback';src: local("Arial");ascent-override: 88.96%;descent-override: 21.28%;line-gap-override: 0.00%;size-adjust: 98.70%
}.__className_5afde0 {font-family: 'Archivo', 'Archivo Fallback';font-style: normal
}.__variable_5afde0 {--font-sans-src: 'Archivo', 'Archivo Fallback'
}

/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[2].use[1]!./node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[13].oneOf[2].use[2]!./node_modules/next/font/google/target.css?{"path":"app\\layout.tsx","import":"IBM_Plex_Mono","arguments":[{"subsets":["latin"],"weight":["400","500","600"],"display":"swap","variable":"--font-mono-src"}],"variableName":"mono"} ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/58f386aa6b1a2a92-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/011e180705008d6f-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/7ba5fb2a8c88521c-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/92eeb95d069020cc-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/_next/static/media/d3ebbfd689654d3a-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/ef4d5661765d0e49-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/d29838c109ef09b4-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/e40af3453d7c920a-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/99dcf268bda04fe5-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/_next/static/media/98e207f02528a563-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/73cb51aac9c97f90-s.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/d26bbd13d6b70f89-s.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/20535187d867b7b9-s.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/5356a6a4f2c8c8d8-s.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/_next/static/media/db96af6b531dc71f-s.p.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}@font-face {font-family: 'IBM Plex Mono Fallback';src: local("Arial");ascent-override: 76.16%;descent-override: 20.43%;line-gap-override: 0.00%;size-adjust: 134.59%
}.__className_595324 {font-family: 'IBM Plex Mono', 'IBM Plex Mono Fallback';font-style: normal
}.__variable_595324 {--font-mono-src: 'IBM Plex Mono', 'IBM Plex Mono Fallback'
}

