/* TEU Club – site styles */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/space-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --bg: #ECEEF1;
  --ink: #101418;
  --text: #3D434A;
  --muted: #5C626A;
  --line: #D3D8DE;
  --line-soft: #E4E7EB;
  --card: #FFFFFF;
  --ral: #383E42;
  --accent: #C2410C;
  --accent-text: #8A3208;
  --corrugation: repeating-linear-gradient(90deg, #ECEEF1 0 36px, #DFE2E6 42px, #E5E8EB 48px 84px, #F4F5F7 90px, #ECEEF1 96px);
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); background-image: var(--corrugation); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: var(--ink); }
a:hover { color: #B8430A; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--display); margin: 0; }
p { margin: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.eyebrow { font-family: var(--mono); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-text); }
.h2 { font-size: clamp(30px, 4vw, 40px); letter-spacing: -0.02em; line-height: 1.1; }
.lead { font-size: 18px; line-height: 1.6; color: var(--text); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 10px 14px; border-radius: 6px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(236,238,241,0.92); backdrop-filter: blur(8px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 36px; width: auto; display: block; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); }
.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav a { text-decoration: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 6px; font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; border: 1px solid transparent; }
.btn-dark { background: var(--ink); color: #fff !important; }
.btn-dark:hover { background: #2A3038; }
.btn-accent { background: var(--accent); color: #fff !important; }
.btn-accent:hover { background: #A8380A; }
.btn-ghost { border-color: var(--ink); background: transparent; }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.menu-btn { display: none; min-height: 44px; min-width: 44px; border: 1px solid var(--line); border-radius: 6px; background: #fff; cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 0 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-top: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; border-top: 0; }
}

/* Hero */
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 64px; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; }
.hero h1 { font-weight: 700; font-size: clamp(38px, 5.4vw, 66px); line-height: 1.03; letter-spacing: -0.03em; }
.hero .lead { font-size: 19px; max-width: 520px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Container board */
.box { position: relative; border-radius: 3px; padding: 50px 44px 46px; color: #E9E8E3;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 32%, rgba(0,0,0,0) 68%, rgba(20,16,10,0.30) 100%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 14px, rgba(0,0,0,0.30) 19px, rgba(0,0,0,0.17) 22px 36px, rgba(255,255,255,0.13) 41px, rgba(255,255,255,0.05) 44px), var(--ral);
  box-shadow: 0 30px 50px rgba(16,20,24,0.32), 0 6px 12px rgba(16,20,24,0.18); }
.box .post { position: absolute; top: 0; bottom: 0; width: 26px; }
.box .post.l { left: 0; background: linear-gradient(90deg, #262B2E 0%, #4B5257 38%, #3A4044 62%, #23282B 100%); }
.box .post.r { right: 0; background: linear-gradient(90deg, #23282B 0%, #3A4044 38%, #4B5257 62%, #262B2E 100%); }
.box .rail { position: absolute; left: 0; right: 0; }
.box .rail.t { top: 0; height: 18px; background: linear-gradient(180deg, #535A5F 0%, #41474B 45%, #2A2F32 100%); box-shadow: 0 3px 6px rgba(0,0,0,0.35); }
.box .rail.b { bottom: 0; height: 20px; background: linear-gradient(180deg, #2A2F32 0%, #3E4448 40%, #24292C 100%); box-shadow: 0 -3px 6px rgba(0,0,0,0.30); }
.box .cast { position: absolute; width: 46px; height: 38px; z-index: 2; border-radius: 2px; background: linear-gradient(135deg, #565D62 0%, #33393C 55%, #1F2326 100%); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; }
.box .cast::after { content: ""; width: 20px; height: 10px; border-radius: 5px; background: radial-gradient(ellipse at center, #000 40%, #15181A 100%); box-shadow: inset 0 1px 2px rgba(0,0,0,0.8); }
.box .cast.tl { top: -6px; left: -4px; } .box .cast.tr { top: -6px; right: -4px; }
.box .cast.bl { bottom: -6px; left: -4px; } .box .cast.br { bottom: -6px; right: -4px; }
.box-title { position: relative; margin-bottom: 16px; padding: 0 4px; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,0.5); }
.board { position: relative; background: rgba(12,15,18,0.94); border-radius: 6px; padding: 4px 18px; box-shadow: 0 2px 6px rgba(0,0,0,0.45), inset 0 0 0 1px rgba(255,255,255,0.08); }
.post-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; border-bottom: 1px solid #2A3038; }
.post-row > div:first-child { min-width: 0; }
.post-row:last-child { border-bottom: 0; }
.post-main { font-family: var(--mono); font-size: 15px; color: #fff; }
.post-main .side { color: #F4A574; }
.post-sub { font-size: 13px; color: #A8AEB5; margin-top: 6px; }
.box-foot { position: relative; padding: 14px 4px 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; font-size: 13px; color: #fff; text-shadow: 0 1px 1px rgba(0,0,0,0.5); }
.box-foot a { color: #fff; font-weight: 600; font-size: 14px; text-underline-offset: 3px; }
@media (max-width: 520px) { .box { padding: 44px 30px 40px; } .box .post { width: 18px; } }

/* Locked values */
.locked { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.locked .blur { filter: blur(5px); user-select: none; }
.locked svg { flex: none; }

/* Sections */
.section { padding-top: 80px; }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: 32px; }
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 80px 0; margin-top: 0; }
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 22px; }
.card p { line-height: 1.6; color: var(--text); }
.steps { display: flex; gap: 6px; margin-bottom: 6px; }
.steps span { width: 28px; height: 3px; border-radius: 2px; background: #CDD2D8; }
.steps span.on { background: var(--ink); }

/* Split sections (buyers / sellers) */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 48px; align-items: start; }
.split-copy { display: flex; flex-direction: column; gap: 16px; }
.mini-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.mini { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.mini h3 { font-size: 18px; }
.mini p { line-height: 1.55; color: var(--text); font-size: 15px; }
.mini.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.mini.dark p { color: #D4D7DB; }

/* Listings */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.tabs { display: inline-flex; align-self: flex-start; padding: 4px; gap: 4px; background: var(--bg); border-radius: 8px; flex-wrap: wrap; }
.tabs button { font: inherit; font-size: 14px; font-weight: 600; min-height: 44px; padding: 0 18px; border: 0; border-radius: 6px; cursor: pointer; background: transparent; color: var(--muted); }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(16,20,24,0.15); }
.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .field .label { font-size: 14px; font-weight: 600; color: var(--ink); }
.filters label { font-size: 13px; color: var(--text); }
select, input[type="text"], input[type="email"], textarea { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #AEB5BD; border-radius: 6px; }
select { min-height: 46px; padding: 0 12px; cursor: pointer; }
select:disabled { background: #F1F3F5; color: var(--muted); cursor: not-allowed; }
.table-wrap { overflow-x: auto; border-top: 1px solid var(--line); }
table { width: 100%; min-width: 820px; border-collapse: collapse; font-size: 15px; }
th { text-align: left; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 14px 12px 10px; }
td { padding: 14px 12px; border-top: 1px solid var(--line-soft); white-space: nowrap; }
th:first-child, td:first-child { padding-left: 0; }
th:last-child, td:last-child { padding-right: 0; }
td.mono { font-family: var(--mono); font-weight: 500; }
.num { text-align: right; }
td.dim { color: var(--muted); font-size: 13px; }
.panel-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; font-size: 13px; color: var(--muted); }
.panel-foot a { font-weight: 600; font-size: 14px; text-underline-offset: 3px; }
.empty { padding: 28px 0; color: var(--muted); }

/* Trust */
.trust { background: repeating-linear-gradient(90deg, #14191E 0 36px, #0E1215 42px, #111519 48px 84px, #1A2026 90px, #14191E 96px); color: #fff; padding: 80px 0; margin-top: 80px; }
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 32px; margin: 40px 0; }
.trust-grid div { display: flex; flex-direction: column; gap: 10px; border-top: 2px solid var(--accent); padding-top: 18px; }
.trust-grid h3 { font-size: 20px; }
.trust-grid p { line-height: 1.6; color: #C9CDD2; }
.trust .note { font-size: 15px; color: #A8AEB5; }

/* FAQ */
.faq { max-width: 900px; }
.faq-list { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 4px 24px; }
.faq-list details { border-bottom: 1px solid var(--line-soft); }
.faq-list details:last-child { border-bottom: 0; }
.faq-list summary { cursor: pointer; padding: 20px 0; font-family: var(--display); font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--mono); color: var(--muted); }
.faq-list details[open] summary::after { content: "–"; }
.faq-list p { margin: 0 0 20px; font-size: 16px; line-height: 1.65; color: var(--text); max-width: 760px; }
.faq-more { margin-top: 20px; font-size: 15px; color: var(--muted); }

/* Waitlist */
.waitlist { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 48px; align-items: start; padding-top: 88px; padding-bottom: 88px; }
.waitlist h2 { font-size: clamp(32px, 4.4vw, 44px); letter-spacing: -0.02em; line-height: 1.05; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 32px; }
form { display: flex; flex-direction: column; gap: 18px; }
input[type="text"], input[type="email"] { padding: 13px 14px; }
textarea { padding: 12px 14px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 14px; }
.optional { font-weight: 400; color: var(--muted); }
.hint { font-size: 13px; color: var(--muted); }
.segmented { display: flex; flex-wrap: wrap; gap: 8px; border: 0; margin: 0; padding: 0; }
.segmented legend { font-size: 14px; font-weight: 600; margin-bottom: 8px; padding: 0; }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented label { min-height: 44px; padding: 0 20px; display: inline-flex; align-items: center; border: 1px solid #AEB5BD; border-radius: 6px; font-weight: 600; font-size: 15px; cursor: pointer; background: #fff; }
.segmented input:checked + label { background: var(--ink); border-color: var(--ink); color: #fff; }
.segmented input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--text); }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--ink); }
.hp { position: absolute; left: -5000px; }
.form-error { color: #A11; font-size: 14px; }
.thanks[hidden], .form[hidden], [hidden] { display: none !important; }
.thanks { display: flex; flex-direction: column; gap: 14px; padding: 24px 0; }
.thanks h3 { font-size: 28px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 28px; padding-bottom: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.site-footer a { color: var(--muted); }

/* Legal page */
.legal { max-width: 760px; padding-top: 64px; padding-bottom: 88px; }
.legal h1 { font-size: clamp(32px, 4.4vw, 44px); letter-spacing: -0.02em; margin-bottom: 8px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal p, .legal li { line-height: 1.7; color: var(--text); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; }
.legal .box-note { background: #FFF8E1; border: 1px solid #F0D58A; border-radius: 8px; padding: 14px 16px; margin: 20px 0; font-size: 14px; }

/* Small phones */
@media (max-width: 520px) {
  .brand img { height: 30px; }
  .brand span { font-size: 20px; }
  .box { padding: 40px 22px 36px; }
  .board { padding: 2px 14px; }
  .post-row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .post-main { font-size: 14px; line-height: 1.5; }
  .post-sub { margin-top: 4px; }
  .hdr-cta { min-height: 44px; padding: 0 14px; font-size: 14px; white-space: nowrap; }
}

/* Members-only note and full-width card */
.members-note { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 14px; background: #F1F3F5; border-radius: 8px; font-size: 14px; color: var(--text); }
.members-note[hidden] { display: none; }
.span-all { grid-column: 1 / -1; }

/* Hero: how a post works */
.req { padding: 16px 0 14px; border-bottom: 1px solid #2A3038; }
.req-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 12px; color: #A8AEB5; }
.tag { font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: #F4A574; }
.req-main { font-family: var(--display); font-weight: 700; font-size: 24px; color: #fff; margin-top: 8px; line-height: 1.2; }
.offers-head { display: flex; justify-content: space-between; padding: 12px 0 2px; font-size: 13px; font-weight: 600; color: #fff; }
.offer-who { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: 15px; }
.offer-who .blur, .offer-price .blur { filter: blur(5px); user-select: none; }
.verified { font-size: 11px; font-weight: 600; color: #0E1215; background: #CDE7D4; border-radius: 999px; padding: 2px 8px; filter: none; }
.offer-price { font-family: var(--mono); font-size: 17px; font-weight: 500; color: #fff; }
@media (max-width: 520px) { .req-main { font-size: 20px; } .offer-price { align-self: flex-end; } }
@media (max-width: 520px) { .post-row.offer { flex-direction: row; align-items: center; } }

/* Hero: animated deal map */
.map-board { padding: 14px; }
.map { position: relative; width: 100%; aspect-ratio: 1000 / 470; }
.map > img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map-arc { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.map-arc path { fill: none; stroke: #F4A574; stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 6 7; opacity: 0; transition: opacity .5s; }
.map-board.s3 .map-arc path { opacity: 1; animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -26; } }
.pin { position: absolute; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px rgba(194,65,12,0.35); opacity: 0; transform: scale(.4); transition: opacity .4s, transform .4s; }
.pin::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(244,165,116,0.7); animation: ping 1.8s ease-out infinite; }
@keyframes ping { from { transform: scale(.5); opacity: 1; } to { transform: scale(2); opacity: 0; } }
.pin.seller { background: #E9EDF1; box-shadow: 0 0 0 3px rgba(233,237,241,0.3); }
.pin.seller::after { border-color: rgba(233,237,241,0.6); }
.pin i { position: absolute; left: 50%; top: -22px; transform: translateX(-50%); font-style: normal; font-size: 11px; font-weight: 600; color: #fff; white-space: nowrap; text-shadow: 0 1px 2px rgba(0,0,0,0.8); }
.chat { display: flex; flex-direction: column; gap: 8px; padding: 12px 4px 4px; min-height: 148px; }
.msg { max-width: 82%; padding: 9px 12px; border-radius: 12px; font-size: 14px; line-height: 1.4; opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .45s; }
.msg b { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .05em; text-transform: uppercase; font-weight: 500; margin-bottom: 2px; }
.msg.buyer { align-self: flex-start; background: #fff; color: var(--ink); border-bottom-left-radius: 3px; }
.msg.buyer b { color: var(--accent-text); }
.msg.seller { align-self: flex-end; background: #2A3038; color: #fff; border-bottom-right-radius: 3px; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.12); }
.msg.seller b { color: #C9CDD2; }
.msg.show { opacity: 1; transform: none; }
.chip { position: absolute; transform: translate(-50%, -50%) scale(.9); padding: 5px 11px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; opacity: 0; transition: opacity .4s, transform .4s; box-shadow: 0 4px 12px rgba(0,0,0,0.35); }
.chip.show { transform: translate(-50%, -50%) scale(1); }
.map-board.fade .pin, .map-board.fade .msg, .map-board.fade .chip, .map-board.fade .map-arc path { opacity: 0 !important; transition: opacity .5s; }
@media (max-width: 520px) { .map-board { padding: 8px; } .msg { font-size: 13px; max-width: 90%; } .chip { font-size: 11px; } .pin i { font-size: 10px; top: -19px; } .chat { min-height: 160px; } }
@media (prefers-reduced-motion: reduce) { .pin::after, .map-board.s3 .map-arc path { animation: none; } .pin, .msg, .chip { transition: none; } }
.map .pin.show, .map .chip.show { opacity: 1; }
.pin.show { transform: scale(1); }

/* Match chip sits under the chat */
.chat .chip { position: static; align-self: center; margin-top: 4px; transform: scale(.9); }
.chat .chip.show { opacity: 1; transform: scale(1); }
.chat { min-height: 200px; }
@media (max-width: 520px) { .chat { min-height: 214px; } }

/* Share after sign-up */
.share { margin-top: 8px; padding-top: 20px; border-top: 1px solid rgba(0,0,0,.1); display: flex; flex-direction: column; gap: 6px; }
.share-title { font-weight: 600; font-size: 18px; margin: 0; }
.share-sub { margin: 0 0 8px; color: #555; font-size: 15px; }
.share-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; }
.share .btn-ghost, .share .btn-ghost:visited { color: var(--ink); }
.share .btn-ghost:hover { background: var(--ink); color: #fff; }
