/* Bidfloc — coming soon. Deep navy, an oversized wordmark, sand accents. Written by hand. */

:root {
  --navy: #0f1a2e;
  --navy-2: #16243d;
  --panel: rgba(255, 255, 255, .04);
  --line: rgba(255, 255, 255, .12);
  --text: #eef2f8;
  --muted: #93a2bd;
  --sand: #e9c46a;
  --on-sand: #241a05;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: linear-gradient(180deg, var(--navy-2), var(--navy) 320px);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.64;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--sand); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }

/* header */
.top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex; align-items: baseline; gap: 10px;
  color: var(--text);
  font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  font-size: .86rem;
}
.brand:hover { text-decoration: none; }
.brand i { color: var(--sand); font-style: normal; }
.top nav { display: flex; gap: 22px; }
.top nav a { color: var(--muted); font-size: .85rem; }
.top nav a:hover, .top nav a.active { color: var(--sand); }

/* bleeding wordmark */
.bleed {
  overflow: hidden;
  padding: clamp(30px, 6vw, 64px) 0 0;
}
.bleed h1 {
  margin: 0;
  white-space: nowrap;
  font-size: clamp(3.4rem, 17vw, 11rem);
  line-height: .92;
  letter-spacing: -.05em;
  font-weight: 850;
  color: var(--text);
  margin-right: -.14em;
}
.bleed h1 em {
  font-style: normal;
  -webkit-text-stroke: 2px var(--sand);
  color: transparent;
}

.lede {
  padding: clamp(14px, 2vw, 22px) 0 clamp(28px, 5vw, 46px);
  max-width: 54ch;
}
.lede p { margin: 0 0 12px; color: var(--muted); }
.lede p:first-child { color: #cfd8e8; font-size: 1.06rem; }
.lede p:last-child { margin-bottom: 0; }

/* numbered columns */
.numbers {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(28px, 5vw, 44px);
}
.numbers > div { background: var(--navy); padding: 20px 22px; }
.numbers b {
  display: block; margin-bottom: 10px;
  color: var(--sand);
  font-size: .74rem; letter-spacing: .22em;
}
.numbers h2 { margin: 0 0 6px; font-size: .98rem; font-weight: 750; letter-spacing: -.01em; }
.numbers p { margin: 0; color: var(--muted); font-size: .89rem; }

/* form */
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: clamp(22px, 3.6vw, 34px);
}
.panel > h2 {
  margin: 0 0 4px;
  font-size: 1.05rem; font-weight: 750; letter-spacing: -.015em;
}
.panel .hint { margin: 0 0 22px; color: var(--muted); font-size: .9rem; }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }

.field { margin-bottom: 16px; }
.field.full { grid-column: 1 / -1; }
.field label {
  display: block; margin-bottom: 6px;
  color: var(--muted);
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
}
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit; font-size: .96rem;
  color: var(--text);
  background: rgba(0, 0, 0, .22);
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border-color .18s, box-shadow .18s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--sand);
  box-shadow: 0 0 0 3px rgba(233, 196, 106, .16);
}
.field .invalid { border-color: #e2705f; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 34px;
  font: inherit; font-size: .78rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--on-sand); background: var(--sand);
  border: 0; border-radius: 4px;
  cursor: pointer;
  transition: background .18s, transform .18s;
}
.btn:hover { background: #f2d183; transform: translateY(-1px); }
.btn:disabled { opacity: .55; cursor: default; transform: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { margin: 13px 0 0; min-height: 1.2em; font-size: .88rem; }
.status.ok { color: var(--sand); }
.status.err { color: #f0937f; }

/* footer */
.base {
  margin-top: clamp(30px, 5vw, 50px);
  padding: 22px 0 40px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--muted); font-size: .82rem;
}
.base nav { display: flex; gap: 20px; }
.base a { color: var(--muted); }
.base a:hover { color: var(--sand); }
.base p { margin: 0; }

/* legal */
.doc { max-width: 820px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 40px); }
.doc .sheet {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: clamp(26px, 4.4vw, 46px);
}
.doc h1 { margin: 0 0 12px; font-size: clamp(1.9rem, 4.8vw, 2.6rem); letter-spacing: -.035em; }
.stamp {
  display: inline-block; margin: 0 0 30px;
  color: var(--muted);
  font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
}
.doc h2 {
  margin: 32px 0 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 1rem; font-weight: 750; letter-spacing: -.01em;
  text-transform: none; color: var(--text);
}
.doc h2:first-of-type { margin-top: 0; border-top: 0; padding-top: 0; }
.doc p, .doc li { color: #c3cddd; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: .5em; }
.doc-actions {
  margin-top: 40px; padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 16px;
}
.doc-actions .btn { width: auto; }
.ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--line);
}
.ghost:hover { background: rgba(255, 255, 255, .06); }

@media (max-width: 860px) {
  .numbers { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .grid2 { grid-template-columns: 1fr; }
  .base { flex-direction: column; }
}
