/* ==========================================================================
   Auctioneeros — public marketing site
   Static CSS. No build step. Cloudflare Pages compatible.
   ========================================================================== */

:root {
  --navy-900: #0b1623;
  --navy-800: #0f1d2e;
  --navy-700: #16273b;
  --navy-600: #1e3a5f;
  --slate-500: #5b7290;
  --slate-300: #9fb2c7;
  --slate-100: #e7eef6;
  --paper: #f6f8fb;
  --white: #ffffff;
  --amber-500: #f5a524;
  --amber-400: #ffb84d;
  --amber-600: #d98a08;
  --green-500: #2bb673;
  --line: #e2e9f1;
  --ink: #16222f;
  --ink-soft: #44566a;
  --shadow-sm: 0 1px 2px rgba(11, 22, 35, .06), 0 1px 3px rgba(11, 22, 35, .08);
  --shadow-md: 0 8px 24px rgba(11, 22, 35, .10);
  --shadow-lg: 0 24px 60px rgba(11, 22, 35, .18);
  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Prevent CSS-grid track blowout (grid/flex items default to min-width:auto) */
.hero-grid > *, .grid > *, .grid-2 > *, .grid-3 > *,
.price-grid > *, .steps > *, .law-grid > *, .form-row > * { min-width: 0; }

h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; color: var(--navy-900); letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.22rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--amber-600); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .8em 1.4em; border-radius: 999px;
  font-weight: 650; font-size: .98rem;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .12s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--amber-500); color: #2a1c02; box-shadow: 0 6px 18px rgba(245, 165, 36, .35); }
.btn-primary:hover { background: var(--amber-400); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.28); }
.btn-ghost:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.06); }
.btn-dark { background: var(--navy-800); color: var(--white); }
.btn-dark:hover { background: var(--navy-700); }
.btn-lg { padding: .95em 1.8em; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 22, 35, .92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .6em; font-weight: 800; font-size: 1.18rem; color: var(--white); letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand .logo { width: 30px; height: 30px; flex: none; }
.brand .tld { color: var(--amber-500); }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--slate-100); padding: .55em .8em; border-radius: 8px; font-size: .96rem; font-weight: 550; }
.nav-links a:hover { background: rgba(255,255,255,.08); text-decoration: none; }
.nav-links a.active { color: var(--white); background: rgba(245,165,36,.16); }
.nav-cta { margin-left: 8px; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); margin: 4px 0; border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(245,165,36,.18), transparent 60%),
    radial-gradient(900px 600px at -5% 10%, rgba(30,58,95,.55), transparent 55%),
    linear-gradient(180deg, var(--navy-900), var(--navy-800));
  color: var(--white);
  padding: 84px 0 96px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { color: var(--white); }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-size: .82rem; font-weight: 650; letter-spacing: .04em; text-transform: uppercase;
  color: var(--amber-400); background: rgba(245,165,36,.12);
  padding: .4em .9em; border-radius: 999px; margin-bottom: 18px;
  border: 1px solid rgba(245,165,36,.25);
}
.hero p.lead { font-size: 1.18rem; color: var(--slate-300); max-width: 36ch; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: .9rem; color: var(--slate-500); }

/* Hero mock panel */
.mock {
  background: linear-gradient(180deg, var(--navy-700), var(--navy-800));
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.18); }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2c3e52; display: inline-block; }
.mock-bar i:nth-child(1){ background:#ef6a5a; } .mock-bar i:nth-child(2){ background:#f5bf4f; } .mock-bar i:nth-child(3){ background:#56c878; }
.mock-bar .url { margin-left: 10px; font-size: .78rem; color: var(--slate-500); }
.mock-body { padding: 18px; display: grid; gap: 12px; }
.mock-row { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 12px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); border-radius: 10px; }
.mock-thumb { width: 44px; height: 44px; border-radius: 8px; background: linear-gradient(135deg, var(--navy-600), var(--slate-500)); }
.mock-line { height: 9px; border-radius: 5px; background: rgba(255,255,255,.16); }
.mock-line.sm { width: 55%; height: 7px; margin-top: 7px; background: rgba(255,255,255,.09); }
.mock-pill { font-size: .72rem; font-weight: 650; color: #0c2; padding: .25em .7em; border-radius: 999px; background: rgba(43,182,115,.16); color: #7be0ad; }

/* ---------- Sections ---------- */
.section { padding: 78px 0; }
.section.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head .eyebrow { color: var(--amber-600); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .14s ease, box-shadow .14s ease, border-color .14s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d2ddea; }
.card .ico {
  width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(245,165,36,.16), rgba(245,165,36,.06));
  color: var(--amber-600); margin-bottom: 16px;
}
.card .ico svg { width: 24px; height: 24px; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--ink-soft); margin: 0; font-size: .97rem; }
.card .tag { display:inline-block; font-size:.72rem; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color: var(--green-500); background: rgba(43,182,115,.12); padding:.25em .7em; border-radius:999px; margin-bottom:14px; }

/* ---------- Logos / trust strip ---------- */
.strip { padding: 30px 0; background: var(--navy-900); color: var(--slate-300); }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; justify-content: center; font-size: .92rem; }
.strip b { color: var(--white); }
.strip .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--amber-500); display:inline-block; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 26px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -16px; left: 24px; width: 36px; height: 36px; border-radius: 50%; background: var(--amber-500); color: #2a1c02; font-weight: 800; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.step h3 { margin-top: 10px; }
.step p { color: var(--ink-soft); margin: 0; font-size: .96rem; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); }
.plan.featured { border: 2px solid var(--amber-500); box-shadow: var(--shadow-md); position: relative; }
.plan.featured .badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--amber-500); color: #2a1c02; font-size: .74rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: .35em 1em; border-radius: 999px; }
.plan h3 { font-size: 1.15rem; }
.plan .price { font-size: 2.6rem; font-weight: 800; color: var(--navy-900); letter-spacing: -.03em; margin: .1em 0 0; }
.plan .price small { font-size: .98rem; font-weight: 600; color: var(--ink-soft); }
.plan .price.custom { font-size: 1.9rem; }
.plan .sub { color: var(--ink-soft); font-size: .95rem; margin-bottom: 18px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 11px; }
.plan li { display: flex; gap: .6em; align-items: flex-start; font-size: .96rem; color: var(--ink); }
.plan li svg { width: 18px; height: 18px; color: var(--green-500); flex: none; margin-top: 3px; }
.plan .btn { margin-top: auto; justify-content: center; }

/* ---------- Compliance ---------- */
.compliance-hero { background: linear-gradient(180deg, var(--navy-900), var(--navy-800)); color: #fff; padding: 70px 0; }
.compliance-hero .free-pill { display:inline-flex; align-items:center; gap:.5em; background: rgba(43,182,115,.16); color:#7be0ad; border:1px solid rgba(43,182,115,.3); padding:.45em 1em; border-radius:999px; font-weight:700; font-size:.85rem; margin-bottom:18px; }
.compliance-hero h1 { color:#fff; }
.compliance-hero p { color: var(--slate-300); font-size: 1.12rem; max-width: 58ch; }
.law-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.law { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; box-shadow: var(--shadow-sm); transition: border-color .14s, transform .14s; }
.law:hover { border-color: var(--amber-500); transform: translateY(-2px); }
.law h4 { margin: 0 0 4px; font-size: 1.02rem; }
.law p { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.law .links { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.law .links a { font-size: .82rem; background: var(--paper); border: 1px solid var(--line); padding: .3em .7em; border-radius: 7px; color: var(--navy-600); font-weight: 600; }
.law .links a:hover { background: var(--slate-100); text-decoration: none; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy-800), var(--navy-600)); color: #fff; border-radius: 20px; padding: 52px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--slate-300); max-width: 50ch; margin: 0 auto 24px; font-size: 1.08rem; }

/* ---------- Forms ---------- */
.form-wrap { max-width: 720px; margin: 0 auto; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 650; font-size: .92rem; margin-bottom: 6px; color: var(--navy-900); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8em .9em; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; color: var(--ink); background: var(--white); transition: border-color .14s, box-shadow .14s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber-500); box-shadow: 0 0 0 3px rgba(245,165,36,.18); }
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: .82rem; color: var(--slate-500); margin-top: 5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .85rem; color: var(--ink-soft); text-align: center; margin-top: 16px; }
.form-success { display: none; text-align: center; padding: 30px; background: rgba(43,182,115,.08); border: 1px solid rgba(43,182,115,.3); border-radius: var(--radius); color: var(--navy-900); }
.form-success.show { display: block; }
.form-success svg { width: 44px; height: 44px; color: var(--green-500); margin-bottom: 10px; }

/* ---------- Page header (interior) ---------- */
.page-head { background: linear-gradient(180deg, var(--navy-900), var(--navy-800)); color: #fff; padding: 62px 0 56px; text-align: center; }
.page-head h1 { color: #fff; margin-bottom: .2em; }
.page-head p { color: var(--slate-300); font-size: 1.12rem; max-width: 56ch; margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--slate-300); padding: 56px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color: #fff; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-grid a { color: var(--slate-300); font-size: .94rem; }
.footer-grid a:hover { color: #fff; text-decoration: none; }
.footer-brand p { font-size: .94rem; max-width: 34ch; color: var(--slate-500); }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .86rem; color: var(--slate-500); }

/* ---------- Misc ---------- */
.center { text-align: center; }
.mt-32 { margin-top: 32px; }
.muted { color: var(--ink-soft); }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero .mock { width: 100%; max-width: 460px; }
  .grid-3, .price-grid, .steps, .law-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--navy-900); border-bottom: 1px solid rgba(255,255,255,.1);
    padding: 12px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .8em 1em; }
  .nav-cta { margin: 6px 0 0; }
  .nav-toggle { display: block; }
  .grid-3, .grid-2, .price-grid, .steps, .law-grid, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .hero { padding: 56px 0 64px; }
  .cta-band { padding: 36px 22px; }
  .plan.featured { order: -1; }
}
