/* Linkyard homepage. Same palette as the dashboard (app.css); the page is its own design. */
:root {
  --ink: #1b2422; --yard: #1f3b37; --yard-2: #2f6b63; --gold: #e0a93b;
  --paper: #f5f3ee; --card: #fbfaf7; --line: #e2ddd3; --line-strong: #cfc8bb; --muted: #676d69; --soft: #eeeae2;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1140px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 17px/1.55 var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
a { color: var(--yard-2); }
h1, h2, h3 { margin: 0; letter-spacing: -.025em; line-height: 1.08; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mark { width: 30px; height: 30px; flex: none; }
.eyebrow { font: 600 16px/1.4 var(--sans); color: var(--yard-2); margin: 0 0 14px; }
.mono { font-family: var(--mono); }
.tag { font: 600 13px/1 var(--sans); padding: 5px 8px; border-radius: 4px; background: #f6ead0; color: #7a5410; vertical-align: middle; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 15px/1 var(--sans); padding: 12px 18px; border-radius: 6px;
  background: var(--yard); color: var(--paper); border: 1px solid var(--yard); text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: #294c47; }
.btn.secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.secondary:hover { background: var(--soft); }
.btn.big { padding: 16px 22px; font-size: 16px; }
.btn.wide { width: 100%; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--yard-2); outline-offset: 2px; }

/* nav */
.nav { max-width: var(--wrap); margin: 0 auto; padding: 18px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 750; font-size: 21px; letter-spacing: -.035em; }
.nav nav { display: flex; align-items: center; gap: 22px; }
.nav nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav nav a:not(.btn):hover { color: var(--yard-2); }

/* hero */
.hero { max-width: var(--wrap); margin: 0 auto; padding: 48px 24px 72px; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.2vw, 74px); font-weight: 780; margin-bottom: 22px; }
.lead { font-size: 20px; color: var(--muted); max-width: 540px; margin-bottom: 30px; }
.claim { display: flex; gap: 10px; flex-wrap: wrap; max-width: 560px; }
.claim-field { flex: 1 1 280px; display: flex; align-items: stretch; background: #fff; border: 1px solid var(--line-strong); border-radius: 6px; overflow: hidden; }
.claim-field span { display: flex; align-items: center; padding: 0 4px 0 14px; font: 15px var(--sans); color: var(--muted); white-space: nowrap; }
.claim-field input { flex: 1; min-width: 60px; border: 0; font: 16px var(--sans); padding: 15px 12px 15px 0; background: transparent; color: var(--ink); outline: none; }
.claim-field:focus-within { outline: 2px solid var(--yard-2); outline-offset: 1px; }
.fine { font-size: 14px; color: var(--muted); margin-top: 12px; }

/* hero visual: a page on a phone and a wallet pass */
.hero-visual { position: relative; height: 600px; }
.device { position: absolute; right: 60px; top: 0; width: 300px; height: 600px; border-radius: 42px; background: var(--ink); padding: 9px; box-shadow: 0 30px 70px rgba(27, 36, 34, .22); }
.scr { height: 100%; border-radius: 34px; background: var(--paper); overflow: hidden; padding: 22px 18px; font-size: 12px; }
.d-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.d-addr { font: 13px var(--sans); color: var(--muted); }
.d-pill { font-size: 10px; font-weight: 600; border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 8px; }
.d-profile { display: flex; gap: 11px; margin-bottom: 18px; }
.d-av { width: 46px; height: 46px; border-radius: 10px; background: linear-gradient(135deg, #cdb89a, #7d6a52); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.d-profile b { display: block; font-size: 15px; letter-spacing: -.02em; }
.d-profile em { display: block; font-style: normal; color: var(--yard-2); font-weight: 600; font-size: 11px; }
.d-profile small { display: block; color: var(--muted); font-size: 10.5px; line-height: 1.35; margin-top: 3px; }
.d-sec { font-size: 11px; font-weight: 700; padding: 8px 0; border-bottom: 1px solid var(--line); }
.d-sec span { font: 11px var(--sans); color: #9a9d98; margin-right: 6px; }
.d-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.d-row > span { font: 13px var(--sans); color: var(--yard-2); }
.d-row div { flex: 1; }
.d-row b { display: block; font-size: 12px; }
.d-row small { color: var(--muted); font-size: 10px; }
.d-row i { font-style: normal; color: var(--muted); }
.d-still { position: relative; height: 124px; margin-top: 12px; border-radius: 8px; background: linear-gradient(160deg, #c9b58a 0%, #8f8a5a 45%, #4e5b43 100%); }
.d-still .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 12px; padding-left: 2px; }
.d-still em { position: absolute; left: 8px; bottom: 8px; font: normal 600 9px var(--sans); color: #fff; background: rgba(0,0,0,.45); padding: 3px 7px; border-radius: 999px; }
.pass { position: absolute; left: 0; bottom: 40px; width: 210px; background: var(--yard); color: var(--paper); border-radius: 14px; padding: 14px; box-shadow: 0 24px 50px rgba(27, 36, 34, .28); transform: rotate(-5deg); }
.pass-top { display: flex; align-items: center; gap: 8px; font: 600 13px var(--sans); margin-bottom: 12px; }
.pass-top .mark { width: 22px; height: 22px; }
.pass-qr { width: 108px; height: 108px; margin: 0 auto 8px; background: #fff; border-radius: 6px; padding: 8px; }
.pass-qr img { display: block; width: 100%; height: 100%; max-width: 100%; }
.pass small { display: block; text-align: center; font: 13px var(--sans); opacity: .75; }

/* audience strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 30px; padding: 18px 24px; font: 13px var(--sans); color: var(--muted); }

/* numbered sections */
.sec { max-width: var(--wrap); margin: 0 auto; padding: 88px 24px; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.sec-head .n { font: 700 clamp(30px, 4vw, 46px)/1 var(--sans); color: var(--gold); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }
.sec-head h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 760; max-width: 760px; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.big { font-size: 21px; line-height: 1.5; }
.note { color: var(--muted); font-size: 16px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; }
.ticks li { position: relative; padding: 9px 0 9px 30px; border-top: 1px solid var(--line); font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 16px; width: 12px; height: 7px; border-left: 2px solid var(--yard-2); border-bottom: 2px solid var(--yard-2); transform: rotate(-45deg); }

.themes-demo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tdemo { border-radius: 10px; padding: 16px 12px 10px; display: flex; flex-direction: column; gap: 7px; min-height: 190px; border: 1px solid rgba(0,0,0,.06); }
.tav { width: 26px; height: 26px; border-radius: 50%; opacity: .3; margin-bottom: 4px; }
.tbtn { height: 20px; }
.trow { display: flex; align-items: center; gap: 7px; padding: 5px 0; border-bottom: 1px solid; }
.trow em { font: normal 11px var(--sans); }
.trow i { height: 5px; flex: 1; opacity: .5; border-radius: 3px; }
.tdemo b { margin-top: auto; font: 500 13px var(--sans); opacity: .85; }

.sec.dark { max-width: none; background: var(--yard); color: var(--paper); border-top: 0; }
.sec.dark > * { max-width: var(--wrap); margin-left: auto; margin-right: auto; }
.sec.dark + .sec { border-top: 0; }
.sec.dark .sec-head .n { color: var(--gold); }
.sec.dark .note { color: #b9c2bd; }
.match { display: flex; flex-direction: column; gap: 14px; }
.match-in { display: flex; justify-content: space-between; align-items: center; border: 1px solid rgba(245, 243, 238, .25); border-radius: 8px; padding: 16px 18px; font-size: 17px; }
.match-in .arrow { color: var(--gold); font-size: 22px; }
.match-out { background: var(--paper); color: var(--ink); border-radius: 8px; padding: 22px; display: grid; grid-template-columns: auto auto auto 1fr; gap: 10px 10px; align-items: center; }
.match-out .sw { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(0,0,0,.1); }
.match-out b { grid-column: 1 / -1; font-size: 17px; margin-top: 6px; }
.match-out em { grid-column: 1 / -1; font-style: normal; color: var(--muted); }

.card-demo { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.wallet-pass { width: 300px; background: var(--yard); color: var(--paper); border-radius: 16px; padding: 20px; box-shadow: 0 26px 56px rgba(27, 36, 34, .22); }
.wp-top { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.wp-top small { display: block; font: 500 13px var(--sans); opacity: .7; }
.wp-top .mark { width: 34px; height: 34px; }
.wp-fields { display: flex; justify-content: space-between; gap: 10px; margin: 18px 0; padding-top: 14px; border-top: 1px solid rgba(245, 243, 238, .2); font-size: 14px; }
.wp-fields small { display: block; font: 500 13px var(--sans); opacity: .7; }
.wp-qr { background: var(--paper); border-radius: 10px; padding: 16px; }
.pass-qr.big { width: 150px; height: 150px; padding: 10px; }
.wallet-btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.wallet-btns span { font-size: 13px; font-weight: 600; background: #000; color: #fff; padding: 9px 14px; border-radius: 8px; }

.stats-demo { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.kp small { font: 500 13px var(--sans); color: var(--muted); }
.kp b { display: block; font-size: 34px; letter-spacing: -.03em; margin: 4px 0 0; }
.kp em { font: normal 12px var(--sans); color: #2f7d5b; }
.stats-demo .bars { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.stats-demo .bars span { display: block; font-size: 14px; }
.stats-demo .bars em { display: block; font-style: normal; margin-bottom: 5px; }
.stats-demo .bars i { display: block; height: 5px; background: var(--yard); }

.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.grid3 > div { padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.grid3 h3 { font-size: 19px; margin-bottom: 8px; }
.grid3 p { margin: 0; color: var(--muted); font-size: 16px; }

/* pricing */
.billing { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 8px; padding: 4px; margin-bottom: 26px; background: var(--card); }
.billing button { font: 500 14px var(--sans); border: 0; background: none; padding: 11px 16px; border-radius: 5px; cursor: pointer; color: var(--muted); }
.billing button[aria-pressed="true"] { background: var(--yard); color: var(--paper); }
.billing em { font-style: normal; color: var(--gold); margin-left: 6px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.plan { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 30px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--ink); }
.plan h3 { font-size: 42px; margin-bottom: 14px; min-height: 86px; display: flex; flex-direction: column; gap: 4px; }
.plan h3 > span { display: flex; flex-direction: column; gap: 2px; }
.plan h3 small { font: 400 14px/1.35 var(--sans); color: var(--muted); letter-spacing: 0; }
.plan > p { color: var(--muted); min-height: 52px; }
.plan .ticks { margin: 8px 0 26px; flex: 1; }
.plan .eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.plan .badge { font: 600 11px/1 var(--sans); letter-spacing: .04em; text-transform: none; padding: 5px 9px; border-radius: 999px;
  background: var(--ink); color: var(--paper); }

/* faq */
.faq { max-width: 820px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-size: 19px; font-weight: 650; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font: 400 26px var(--sans); color: var(--yard-2); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; max-width: 700px; }

.cta { background: var(--yard); color: var(--paper); padding: 90px 24px; text-align: center; }
.cta h2 { font-size: clamp(30px, 4.4vw, 50px); max-width: 760px; margin: 0 auto 30px; }
.cta .claim { margin: 0 auto; justify-content: center; }
.cta .btn { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.cta .btn:hover { background: #e8b953; }

.foot { max-width: var(--wrap); margin: 0 auto; padding: 36px 24px 50px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot p { margin: 0; color: var(--muted); font-size: 14px; }
.foot .brand { font-size: 18px; }
.foot .mark { width: 24px; height: 24px; }

@media (max-width: 960px) {
  .hero, .two { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 24px; gap: 36px; }
  .hero-visual { height: 560px; max-width: 460px; width: 100%; margin: 0 auto; }
  .device { right: 0; }
  .card-demo { order: 2; }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sec { padding: 64px 24px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { padding: 14px 16px; }
  .nav nav a:not(.btn) { display: none; }
  .nav nav a[href$="login"] { display: inline; }
  .hero { padding: 16px 16px 48px; }
  .lead, .big { font-size: 18px; }
  .claim .btn { width: 100%; }
  .claim-field span { font-size: 13px; padding-left: 10px; }
  .hero-visual { height: 520px; }
  .device { width: 260px; height: 520px; right: 0; }
  .scr { padding: 18px 14px; }
  .pass { width: 170px; bottom: 16px; }
  .pass-qr { width: 90px; height: 90px; padding: 10px; gap: 6px; }
  .sec { padding: 52px 16px; }
  .sec-head { margin-bottom: 26px; }
  .themes-demo { grid-template-columns: repeat(2, 1fr); }
  .grid3, .plans { grid-template-columns: minmax(0, 1fr); }
  .plan { padding: 22px; }
  .plan h3 { font-size: 36px; }
  .stats-demo { grid-template-columns: minmax(0, 1fr); }
  .wallet-pass { width: 100%; max-width: 300px; }
  .cta { padding: 64px 16px; }
  .foot { padding: 28px 16px 40px; }
}
