/* Tuckr base styles. Off-white and black first; teal and dark green only as small accents. */
:root {
  --bg: #f4f3ee;
  --surface: #ffffff;
  --surface-2: #ebeae3;
  --fg: #0b0b0b;
  --muted: #55544f;
  --dim: #8b8a83;
  --line: #e1dfd6;
  --line-2: #cfcdc3;
  --teal: #0c8578; /* greenish blue: links, highlights, focus */
  --teal-soft: #dcefea;
  --deep: #0e3b2f; /* dark green: success states */
  --danger: #c23a3a;
  --radius: 14px;
  --display: "Google Sans", ui-sans-serif, system-ui, sans-serif;
  --body: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono-font: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
.mono { font-family: var(--mono-font); font-size: 0.92em; }
::selection { background: var(--fg); color: var(--bg); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }

/* ---------- surfaces ---------- */
.glass { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- logos (monochrome masks) ---------- */
.lg { display: inline-block; width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; flex: none; }
.lgw { width: 34px; height: 34px; border-radius: 50%; display: inline-grid; place-items: center; flex: none; color: var(--fg); background: var(--surface-2); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 10px; font: 500 15px var(--body); border: 1px solid transparent;
  cursor: pointer; transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--fg); color: var(--bg); }
.btn-primary:hover { background: #2b2b2b; }
.btn-glass { background: transparent; border-color: var(--line-2); color: var(--fg); }
.btn-glass:hover { background: var(--surface); border-color: #b9b7ac; }
.btn-sm { padding: 8px 14px; font-size: 14px; }

/* ---------- navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50; height: 68px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 max(16px, calc((100% - 1120px) / 2));
  background: var(--bg);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font: 500 21px var(--display); letter-spacing: -0.03em; }
.mark { width: 28px; height: 28px; }
.links { display: flex; gap: 2px; }
.links a { padding: 8px 12px; border-radius: 8px; color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color 0.15s; }
.links a:hover { color: var(--fg); }
.nav-right { display: flex; align-items: center; gap: 10px; }
.menu { display: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; position: relative; }
.menu span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--fg); border-radius: 2px; transition: transform 0.2s; }
.menu span:first-child { top: 15px; }
.menu span:last-child { bottom: 15px; }
.menu[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- layout ---------- */
main { width: min(1120px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: 112px 0 0; }
.head { text-align: center; margin-bottom: 44px; }
.head h2, .safety h2, .final h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.1; margin-top: 12px; }
.kicker { display: inline-block; font: 500 12.5px var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); }

/* ---------- hero ---------- */
.hero { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 176px 0 40px; }
.hero > :not(canvas) { position: relative; z-index: 1; }
/* dithered coins either side of the hero copy (coin.js) */
.coin-dither { position: absolute; top: 250px; width: 210px; height: 210px; pointer-events: none; }
.coin-dither.left { left: -12px; }
.coin-dither.right { right: -12px; }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.04; margin: 0 0 22px; letter-spacing: -0.035em; max-width: 15em; }
.amp { color: var(--dim); }
.grad { color: var(--teal); }
.lead { font-size: 18.5px; color: var(--muted); max-width: 34em; margin: 0 auto; }
.lead b, .lead em { color: var(--fg); font-style: normal; font-weight: 500; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }

/* ---------- marquee ---------- */
.assets { padding: 72px 0 0; text-align: center; }
.assets .kicker { margin-bottom: 22px; color: var(--dim); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); padding: 5px 0; }
.track { display: flex; gap: 10px; width: max-content; animation: scroll 52s linear infinite; }
.reverse .track { animation-direction: reverse; animation-duration: 60s; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.chip { display: inline-flex; align-items: center; gap: 11px; padding: 7px 18px 7px 7px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); white-space: nowrap; }
.chip b { font: 500 15px var(--display); }
.chip small { color: var(--dim); font-size: 13px; }
.coin { width: 34px; height: 34px; flex: none; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.step { padding: 28px; }
.num { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; font: 500 15px var(--display); color: var(--bg); background: var(--fg); margin-bottom: 18px; }
.step h3, .card h3 { font-size: 21px; margin-bottom: 8px; }
.step p, .card p { color: var(--muted); font-size: 15.5px; }

/* ---------- features ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.card { padding: 30px; display: flex; flex-direction: column; gap: 6px; }
.c-trade { grid-column: span 4; }
/* dithered bots in the margins either side of the feature cards (coin.js) */
.bento { position: relative; }
.bot-dither { position: absolute; top: 50%; transform: translateY(-50%); width: 132px; height: 132px; pointer-events: none; }
.bot-dither.left { left: -146px; }
.bot-dither.right { right: -146px; }
.c-launch { grid-column: span 2; }
.c-auto, .c-strat { grid-column: span 3; }
.cmds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cmd { display: inline-block; align-self: flex-start; margin-top: 14px; padding: 7px 12px; border-radius: 8px; font: 500 13.5px var(--mono-font); color: var(--fg); background: var(--surface-2); }
.cmds .cmd { margin-top: 0; }
.cmd::before { content: "@tuckr "; color: var(--teal); }

/* ---------- safety ---------- */
.safety { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; padding: 48px; }
.safety-copy p { color: var(--muted); margin: 16px 0 26px; font-size: 16.5px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.checks li { padding: 16px 18px; border-radius: 12px; background: var(--bg); color: var(--muted); font-size: 14.5px; }
.checks b { display: block; color: var(--fg); font: 500 16px var(--display); margin-bottom: 3px; }

/* ---------- built on ---------- */
.built { padding: 96px 0 0; text-align: center; }
.built .kicker { color: var(--dim); }
.built-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 44px; margin-top: 22px; }
.wm { display: inline-flex; align-items: center; gap: 10px; font: 500 19px var(--display); color: var(--fg); opacity: 0.72; transition: opacity 0.15s; }
.wm:hover { opacity: 1; }
.wm .lg { width: 24px; height: 24px; }

/* ---------- faq ---------- */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 19px 0; font: 500 17px var(--display); display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--fg); font-size: 22px; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin-top: -4px; }

/* ---------- final + footer ---------- */
.final { text-align: center; padding: 72px 24px; background: var(--fg); border-color: var(--fg); color: var(--bg); }
.final p { color: #b9b8b1; margin: 14px 0 28px; font-size: 17px; }
.final b { color: var(--bg); }
.final .btn-primary { background: var(--bg); color: var(--fg); }
.final .btn-primary:hover { background: #fff; }
.foot { width: min(1120px, calc(100% - 32px)); margin: 104px auto 0; padding: 32px 0 40px; border-top: 1px solid var(--line); }
.foot-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot nav a { color: var(--muted); font-size: 14px; }
.foot nav a:hover { color: var(--fg); }
.fine { color: var(--dim); font-size: 12.5px; margin-top: 22px; max-width: 70em; }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .coin-dither { display: none; }
}
/* the bots need the side margins: only on screens wide enough to have them */
@media (max-width: 1420px) {
  .bot-dither { display: none; }
}
@media (max-width: 980px) {
  .hero { padding-top: 148px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .c-trade { grid-column: span 2; }
  .c-launch, .c-auto, .c-strat { grid-column: span 1; }
  .c-launch { grid-column: span 2; }
  .safety { grid-template-columns: 1fr; padding: 32px; }
}
@media (max-width: 760px) {
  .links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; padding: 6px 16px 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .links.open { display: flex; }
  .links a { padding: 12px 4px; }
  .menu { display: inline-block; }
  .steps, .bento, .checks { grid-template-columns: 1fr; }
  .c-trade, .c-launch, .c-auto, .c-strat { grid-column: span 1; }
  .section { padding-top: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
