/* LINX marketing site — shares the product's tokens (paper / ink / brand lime, Geist). */

@font-face { font-family: 'Geist'; font-weight: 400; font-display: swap; src: url('https://cdn.jsdelivr.net/npm/@fontsource/geist-sans@5.2.0/files/geist-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Geist'; font-weight: 500; font-display: swap; src: url('https://cdn.jsdelivr.net/npm/@fontsource/geist-sans@5.2.0/files/geist-sans-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Geist'; font-weight: 600; font-display: swap; src: url('https://cdn.jsdelivr.net/npm/@fontsource/geist-sans@5.2.0/files/geist-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Geist'; font-weight: 700; font-display: swap; src: url('https://cdn.jsdelivr.net/npm/@fontsource/geist-sans@5.2.0/files/geist-sans-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'GeistMono'; font-weight: 400; font-display: swap; src: url('https://cdn.jsdelivr.net/npm/@fontsource/geist-mono@5.2.0/files/geist-mono-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'GeistMono'; font-weight: 500; font-display: swap; src: url('https://cdn.jsdelivr.net/npm/@fontsource/geist-mono@5.2.0/files/geist-mono-latin-500-normal.woff2') format('woff2'); }

:root {
  --paper: #fbfbf8;
  --paper-2: #f2f2ee;
  --surface: #ffffff;
  --line: #e1e3e8;
  --ink: #1c2029;
  --ink-2: #454b57;
  --ink-3: #6c7280;
  --lime: #c6e64b;
  --lime-ink: #3d5410;
  --lime-soft: #eef8cf;
  --amber-soft: #fbefd6;
  --amber-ink: #6e4f15;
  --sans: 'Geist', ui-sans-serif, -apple-system, system-ui, sans-serif;
  --mono: 'GeistMono', ui-monospace, 'SF Mono', Menlo, monospace;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.08; font-weight: 600; }
h1 { font-size: clamp(40px, 6vw, 68px); letter-spacing: -0.035em; }
h2 { font-size: clamp(30px, 3.6vw, 42px); }
h3 { font-size: 20px; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0; }
.lede { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 36em; }
.muted { color: var(--ink-3); }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 12px;
  font: 600 15px/1 var(--sans); text-decoration: none; border: 1px solid transparent;
  transition: background-color .15s, border-color .15s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2d323d; }
.btn-secondary { background: transparent; color: var(--ink); border-color: #c9ccd3; }
.btn-secondary:hover { border-color: var(--ink); }

/* ── nav ── */
.nav { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.brand svg { width: 30px; height: 30px; }
.brand small { font-weight: 500; font-size: 13px; color: var(--ink-3); letter-spacing: 0; }
.nav-links { display: flex; gap: 24px; margin-left: 12px; }
.nav-links a { text-decoration: none; font-size: 15px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-cta .signin { text-decoration: none; font-size: 15px; color: var(--ink-2); }
.nav-cta .btn { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }

/* ── hero ── */
.hero { padding: 56px 0 88px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.hero h1 { max-width: 11.5em; }
.hero .lede { margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--ink-3); }

/* The badge on its lanyard + the lead it becomes. */
.stage { position: relative; height: 580px; --badge-x: 40%; }
.lanyard { position: absolute; left: var(--badge-x); top: -80px; width: 120px; height: 160px; transform: translateX(-50%); }
.lanyard::before, .lanyard::after {
  content: ''; position: absolute; top: 0; width: 22px; height: 150px; background: #2c4a7a;
  border-radius: 3px;
}
.lanyard::before { left: 8px; transform: rotate(-13deg); transform-origin: top; }
.lanyard::after { right: 8px; transform: rotate(13deg); transform-origin: top; }
.clip { position: absolute; left: var(--badge-x); top: 58px; width: 26px; height: 34px; transform: translateX(-50%); background: linear-gradient(#cfd3da, #9ba1ab); border-radius: 5px 5px 7px 7px; z-index: 2; }

.badge {
  position: absolute; left: var(--badge-x); top: 84px; width: 300px; height: 420px; margin-left: -150px;
  background: var(--surface); border-radius: 18px; padding: 44px 26px 24px;
  box-shadow: 0 30px 60px -20px rgba(28, 32, 41, .35), 0 0 0 1px rgba(28, 32, 41, .06);
  transform: rotate(-3deg); transform-origin: 50% -60px;
}
.badge::before { content: ''; position: absolute; left: 50%; top: 16px; width: 48px; height: 10px; margin-left: -24px; border-radius: 99px; background: var(--paper-2); box-shadow: inset 0 1px 2px rgba(0,0,0,.18); }
.badge-event { font: 500 12px/1.2 var(--mono); color: var(--ink-3); letter-spacing: .02em; }
.badge-name { margin-top: 18px; font-size: 34px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; }
.badge-role { margin-top: 10px; font-size: 15px; color: var(--ink-2); line-height: 1.35; }
.badge-qr { position: absolute; left: 26px; bottom: 26px; width: 104px; height: 104px; overflow: hidden; border-radius: 4px; }
.badge-qr img { width: 100%; height: 100%; }
.badge-type { position: absolute; right: 26px; bottom: 26px; font: 500 12px/1 var(--mono); color: var(--ink-3); text-align: right; }
.badge-type strong { display: block; margin-top: 6px; font-size: 22px; color: var(--ink); letter-spacing: -0.01em; }
.scanline { position: absolute; left: -6px; right: -6px; top: 0; height: 3px; background: var(--lime); box-shadow: 0 0 14px 3px var(--lime); opacity: 0; }

.lead {
  position: absolute; right: -8px; bottom: -6px; width: 290px; padding: 18px 20px;
  background: var(--ink); color: #fff; border-radius: 16px;
  box-shadow: 0 24px 50px -18px rgba(28, 32, 41, .55);
}
.lead-top { display: flex; align-items: center; gap: 10px; }
.tier { font: 600 12px/1 var(--mono); background: var(--lime); color: var(--ink); padding: 5px 8px; border-radius: 6px; }
.lead-name { font-weight: 600; font-size: 16px; }
.lead ul { margin: 12px 0 0; padding: 0; list-style: none; font-size: 13.5px; color: #c9cdd6; }
.lead li { padding: 3px 0 3px 18px; position: relative; }
.lead li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 7px; height: 4px; border-left: 2px solid var(--lime); border-bottom: 2px solid var(--lime); transform: rotate(-45deg); }
.lead-crm { margin-top: 12px; padding-top: 12px; border-top: 1px solid #353a46; font-size: 13px; color: #aeb3bd; }
.lead-crm b { color: #fff; font-weight: 500; }

@media (prefers-reduced-motion: no-preference) {
  .badge { animation: swing 1.6s cubic-bezier(.3, .7, .3, 1) both; }
  .scanline { animation: scan 1.1s ease-in-out 1.1s both; }
  .lead { animation: arrive .5s cubic-bezier(.2, .8, .2, 1) 2.2s both; }
}
@keyframes swing { 0% { transform: rotate(7deg); } 45% { transform: rotate(-5deg); } 75% { transform: rotate(-2deg); } 100% { transform: rotate(-3deg); } }
@keyframes scan { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes arrive { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ── proof ── */
.proof { border-block: 1px solid var(--line); padding: 22px 0; font-size: 15px; color: var(--ink-2); }
.proof .wrap { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: baseline; }
.proof strong { color: var(--ink); font-weight: 600; }

/* ── sections ── */
section { padding: 104px 0; scroll-margin-top: 48px; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.section-head { max-width: 40em; }
.section-head p { margin-top: 16px; }

/* one lead's day — a real timeline */
.journey { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.journey::before { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--line); }
.step { position: relative; padding: 32px 22px 0 0; }
.step::before { content: ''; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 2px solid var(--ink); }
.step.hot::before { background: var(--lime); border-color: var(--ink); }
.step time { font: 500 13px/1 var(--mono); color: var(--ink-3); }
.step h3 { margin-top: 10px; font-size: 18px; }
.step p { margin-top: 8px; font-size: 15px; color: var(--ink-2); }

/* feature rows: text beside a real piece of UI */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: center; }
.feature + .feature { margin-top: 112px; }
.feature.flip .feature-copy { order: 2; }
.feature-copy p { margin-top: 16px; }
.checks { margin: 22px 0 0; padding: 0; list-style: none; }
.checks li { padding: 9px 0 9px 30px; border-top: 1px solid var(--line); position: relative; color: var(--ink-2); font-size: 16px; }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks li::before { content: ''; position: absolute; left: 4px; top: 17px; width: 10px; height: 5px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg); }
.checks b { color: var(--ink); font-weight: 600; }

/* phone capture mock */
.phone { width: 300px; margin-inline: auto; padding: 12px; border-radius: 42px; background: var(--ink); box-shadow: 0 40px 80px -30px rgba(28,32,41,.5); }
.phone-screen { border-radius: 32px; background: var(--paper); padding: 26px 18px 20px; min-height: 520px; }
.phone-bar { display: flex; justify-content: space-between; font: 500 11px/1 var(--mono); color: var(--ink-3); }
.methods { display: flex; gap: 6px; margin-top: 18px; }
.methods span { flex: 1; text-align: center; font-size: 12px; font-weight: 600; padding: 8px 0; border-radius: 9px; background: var(--paper-2); color: var(--ink-3); }
.methods span.on { background: var(--ink); color: #fff; }
.viewfinder { position: relative; margin-top: 14px; height: 210px; border-radius: 16px; background: #2a2f3a; overflow: hidden; }
.viewfinder .card { position: absolute; left: 34px; top: 44px; width: 170px; height: 104px; border-radius: 6px; background: #f7f6f1; transform: rotate(-6deg); padding: 14px; }
.viewfinder .card i { display: block; height: 7px; border-radius: 3px; background: #c6c9cf; margin-bottom: 8px; }
.viewfinder .card i:first-child { width: 70%; height: 10px; background: #8c919b; }
.viewfinder .corners { position: absolute; inset: 22px; border: 2px dashed rgba(198, 230, 75, .8); border-radius: 12px; }
.field { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; display: flex; justify-content: space-between; }
.field span { color: var(--ink-3); }
.conf { font: 500 11px/1 var(--mono); color: var(--lime-ink); background: var(--lime-soft); padding: 4px 6px; border-radius: 5px; }

/* AI lead panel mock */
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: 0 24px 60px -30px rgba(28,32,41,.25); }
.panel-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.panel-row:first-of-type { border-top: 0; }
.panel-row span { color: var(--ink-3); }
.score { display: flex; align-items: baseline; gap: 12px; padding: 16px 18px; border-radius: 12px; background: var(--lime-soft); color: var(--lime-ink); margin-bottom: 16px; }
.score b { font-size: 34px; letter-spacing: -0.03em; color: var(--ink); }
.draft { margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: var(--paper-2); font-size: 14px; color: var(--ink-2); line-height: 1.5; }

/* integrations */
.integrations { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.integrations span { padding: 10px 16px; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); font-size: 15px; font-weight: 500; }

/* organizers band */
.organizers { background: var(--ink); color: #fff; }
.organizers .lede, .organizers .muted { color: #b9bec8; }
.organizers .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; }
.organizers dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 34px 40px; }
.organizers dt { font-weight: 600; font-size: 17px; }
.organizers dd { margin: 8px 0 0; color: #b9bec8; font-size: 15px; }
.organizers .btn-secondary { color: #fff; border-color: #545a67; margin-top: 30px; }
.organizers .btn-secondary:hover { border-color: #fff; }

/* trust */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 48px; }
.trust p { margin-top: 10px; color: var(--ink-2); font-size: 16px; }

/* pricing: one comparison, columns divided by rules */
.pricing { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.plan { padding: 30px 30px 8px 0; }
.plan + .plan { padding-left: 30px; border-left: 1px solid var(--line); }
.plan .price { margin-top: 14px; font-size: 44px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.plan .price small { font-size: 15px; font-weight: 400; color: var(--ink-3); letter-spacing: 0; }
.plan > p { margin-top: 12px; color: var(--ink-2); font-size: 15px; min-height: 48px; }
.plan .btn { margin-top: 22px; width: 100%; }
.plan ul { margin: 24px 0 0; padding: 0; list-style: none; font-size: 15px; }
.plan li { padding: 8px 0; border-top: 1px solid var(--line); color: var(--ink-2); }
.plan.featured .price { color: var(--ink); }
.plan-tag { display: inline-block; margin-left: 8px; font-size: 12px; font-weight: 600; background: var(--lime); color: var(--ink); padding: 3px 8px; border-radius: 99px; vertical-align: 3px; }

/* closing */
.closing { text-align: left; padding: 96px 0 104px; border-top: 1px solid var(--line); }
.closing .wrap { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-end; justify-content: space-between; }
.closing h2 { max-width: 14em; }

footer { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 14px; color: var(--ink-3); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
footer a { text-decoration: none; color: var(--ink-2); }
footer a:hover { color: var(--ink); }
footer .spacer { flex: 1; }

/* legal pages */
.legal { padding: 64px 0 96px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(34px, 4vw, 46px); }
.legal .updated { margin-top: 12px; color: var(--ink-3); font-size: 15px; }
.legal h2 { font-size: 22px; margin-top: 44px; letter-spacing: -0.015em; }
.legal p, .legal li { margin-top: 12px; color: var(--ink-2); line-height: 1.65; }
.legal ul { padding-left: 22px; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.legal th { color: var(--ink); font-weight: 600; }

/* utilities (no inline styles: the site's CSP forbids them) */
section.tight-top { padding-top: 24px; }
.mt16 { margin-top: 16px; }
.hero-actions.mt0 { margin-top: 0; }
.viewfinder .card i.w55 { width: 55%; }
.viewfinder .card i.w80 { width: 80%; }
.viewfinder .card i.w45 { width: 45%; }

/* ── responsive ── */
@media (max-width: 960px) {
  .hero .wrap, .feature, .organizers .wrap { grid-template-columns: 1fr; gap: 48px; }
  .feature.flip .feature-copy { order: 0; }
  .journey { grid-template-columns: 1fr; }
  .journey::before { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .step { padding: 0 0 32px 36px; }
  .trust, .pricing { grid-template-columns: 1fr; }
  .plan, .plan + .plan { padding: 28px 0 8px; border-left: 0; }
  .plan + .plan { border-top: 1px solid var(--line); }
  .nav-links { display: none; }
  .stage { margin-top: 90px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  section { padding: 72px 0; }
  .hero { padding-top: 32px; }
  .stage { height: 720px; --badge-x: 50%; }
  .badge { width: 260px; height: 380px; margin-left: -130px; padding: 40px 22px 22px; }
  .badge-name { font-size: 30px; }
  .badge-qr { width: 92px; height: 92px; }
  .badge-type { font-size: 11px; }
  .badge-type strong { font-size: 16px; }
  .lead { width: min(300px, 100%); right: 50%; margin-right: min(-150px, -50%); bottom: auto; top: 492px; }
  .organizers dl { grid-template-columns: 1fr; }
  .nav-cta .signin { display: none; }
  .brand small { display: none; }
}
