/* BlockShor Labs — site styles. No inline styles anywhere, so CSP can stay strict. */

@font-face { font-family: "Inter Tight"; src: url("/assets/fonts/inter-tight-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("/assets/fonts/inter-tight-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("/assets/fonts/inter-tight-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("/assets/fonts/inter-tight-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/assets/fonts/jetbrains-mono-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --ink: #0E0F11;
  --paper: #F4F4F2;
  --white: #FFFFFF;
  --accent: #D9A441;
  --muted: #5C5E63;
  --muted-2: #46474B;
  --fine: #67686C;
  --line: #D7D7D5;
  --d-sub: #C6C7CA;
  --d-muted: #A7A8AC;
  --d-faint: #6F7175;
  --d-line: #26272A;
  --d-panel: #18191C;
  --d-chip: #1F2023;
  --gutter: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 16px; top: 16px; z-index: 50; background: var(--white); color: var(--ink); padding: 12px 16px; border-radius: 8px; font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { max-width: 1360px; margin: 0 auto; }
.sec { padding: clamp(96px, 12vw, 176px) var(--gutter); }
.bg-ink { background: var(--ink); color: var(--white); }
.bg-black { background: #000; color: var(--white); }
.bg-white { background: var(--white); }
.bg-accent { background: var(--accent); color: var(--ink); }

/* Type */
.display { font-weight: 600; letter-spacing: -0.035em; line-height: 0.92; text-transform: uppercase; }
.d-hero { font-size: clamp(52px, 8.4vw, 128px); line-height: 0.9; max-width: 12ch; }
.d-1 { font-size: clamp(56px, 8.6vw, 132px); line-height: 0.86; letter-spacing: -0.04em; }
.d-2 { font-size: clamp(48px, 6.6vw, 100px); }
.d-3 { font-size: clamp(44px, 6.4vw, 96px); }
.statement { font-size: clamp(44px, 6.4vw, 96px); font-weight: 500; letter-spacing: -0.035em; line-height: 0.98; }
.statement .dim { color: var(--d-faint); }
.lede { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--muted); }
.lede-20 { font-size: 20px; line-height: 1.5; color: var(--muted); }
.bg-ink .lede, .bg-ink .lede-20, .bg-black .lede, .bg-black .lede-20 { color: var(--d-sub); }
.fine { font-size: 13px; color: var(--fine); }
.mw-38 { max-width: 38ch; } .mw-40 { max-width: 40ch; } .mw-42 { max-width: 42ch; } .mw-44 { max-width: 44ch; } .mw-52 { max-width: 52ch; } .mw-15 { max-width: 15ch; }
.mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-40 { margin-top: 40px; } .mt-64 { margin-top: 64px; }
.mt-big { margin-top: clamp(64px, 8vw, 112px); }

/* Buttons and pills */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 28px; border: 0; border-radius: 12px;
  font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn:hover { opacity: 0.88; }
.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; border-radius: 10px; }
.btn-md { min-height: 48px; padding: 0 24px; font-size: 15px; border-radius: 10px; }
.btn-white { background: var(--white); color: var(--ink); }
.btn-ink { background: var(--ink); color: var(--white); }
.btn-chip { background: var(--d-chip); color: var(--white); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.row-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.pill { display: inline-block; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; white-space: nowrap; }
.pill-accent { background: var(--accent); color: var(--ink); }
.pill-chip { background: var(--d-chip); color: #E2E2E4; }
.pill-light { background: var(--paper); color: var(--ink); }
.pill-white { background: var(--white); color: var(--ink); font-size: 14px; font-weight: 500; padding: 8px 14px; }

.split { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }

/* Announcement */
.announce { background: var(--accent); color: var(--ink); text-align: center; font-size: 14px; font-weight: 600; padding: 10px 16px; }
.announce a { text-decoration: underline; text-underline-offset: 3px; }

/* Hero */
.hero { position: relative; background: var(--ink); color: var(--white); padding: 20px clamp(16px, 3vw, 32px) 0; }
.nav { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.nav-main { display: flex; align-items: center; gap: 36px; background: var(--white); color: var(--ink); border-radius: 14px; padding: 12px 22px; min-height: 56px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap; }
.nav-links { display: flex; gap: 26px; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; }
.nav-cta { display: flex; align-items: center; background: var(--white); border-radius: 14px; padding: 6px; min-height: 56px; }
@media (max-width: 900px) { .nav-links { display: none; } }
@media (max-width: 420px) { .logo-text { font-size: 15px; } .nav-main { padding: 12px 16px; } }
.hero-body { position: relative; z-index: 2; padding: clamp(80px, 10vw, 150px) clamp(0px, 2vw, 32px) 0; }
.hero .lede { color: var(--d-sub); }
.hero-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: 40px; }
.hero-art { position: relative; z-index: 1; margin: clamp(32px, 5vw, 64px) calc(-1 * clamp(16px, 3vw, 32px)) 0; height: clamp(200px, 24vw, 340px); }
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.hero-links { position: relative; z-index: 2; background: var(--ink); margin: 0 calc(-1 * clamp(16px, 3vw, 32px)); padding: 0 clamp(16px, 3vw, 32px); }
.hero-links .wrap { display: flex; flex-wrap: wrap; border-top: 1px solid var(--d-line); padding: 0 clamp(0px, 2vw, 32px); }
.hero-links a { flex: 1 1 260px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 26px 24px 30px 0; text-decoration: none; font-weight: 500; }
.arrow { color: var(--accent); }

/* Stats */
.stats { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); }
.stat { flex: 1 1 300px; padding: 36px 40px 0 0; }
.stat-n { font-size: clamp(64px, 7vw, 104px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.stat p { margin-top: 16px; font-size: 17px; line-height: 1.5; color: var(--muted); max-width: 30ch; }

/* Shift rows */
.shift { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 2fr) 240px; gap: 12px 40px; align-items: baseline; border-top: 1px solid var(--d-line); padding: 30px 0; }
.shift .pill { justify-self: end; }
@media (max-width: 900px) { .shift { grid-template-columns: 1fr; } .shift .pill { justify-self: start; } }
.shift:last-child { border-bottom: 1px solid var(--d-line); }
.shift h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 500; letter-spacing: -0.02em; }
.shift p { font-size: 17px; line-height: 1.55; color: var(--d-muted); }

/* Cards */
.cards { display: flex; flex-wrap: wrap; gap: 16px; }
.card {
  flex: 1 1 360px; min-width: 0; min-height: 440px; border-radius: 32px;
  padding: clamp(32px, 3.4vw, 48px); display: flex; flex-direction: column; justify-content: space-between; gap: 48px;
  background: var(--white); text-decoration: none;
}
.card-ink { background: var(--ink); color: var(--white); }
@media (max-width: 620px) { .card { min-height: 300px; gap: 32px; } .step h3 { margin-top: 16px; } .step { padding-bottom: 8px; } }
.card-meta { display: flex; justify-content: space-between; align-items: center; font-size: 14px; font-weight: 500; color: var(--muted); }
.card-ink .card-meta { color: var(--d-muted); }
.card h3 { font-size: clamp(32px, 3vw, 44px); font-weight: 500; letter-spacing: -0.03em; }
.card p { margin-top: 14px; font-size: 18px; line-height: 1.5; color: var(--muted); }
.card-ink p { color: var(--d-muted); }

/* Migration steps */
.steps { display: flex; flex-wrap: wrap; border-top: 2px solid var(--ink); list-style: none; padding: 0; margin-bottom: 0; }
.step { flex: 1 1 210px; padding: 28px 28px 0 0; }
.step-n { font-size: 15px; font-weight: 600; }
.step h3 { margin-top: 36px; font-size: 26px; font-weight: 500; letter-spacing: -0.02em; }
.step p { margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--muted); }
.schemes { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; margin-top: 72px; padding: 28px 32px; border-radius: 20px; background: var(--paper); }
.schemes-list { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.schemes-label { font-size: 15px; font-weight: 600; margin-right: 8px; }

/* Testnet flow */
.flow { display: flex; flex-wrap: wrap; align-items: stretch; gap: 16px; }
.flow-end { flex: 1 1 220px; min-width: 0; border-radius: 24px; padding: 28px; display: flex; flex-direction: column; justify-content: center; gap: 10px; background: var(--d-panel); }
.flow-end.light { background: var(--paper); color: var(--ink); }
.flow-end .k { font-size: 13px; font-weight: 500; color: var(--d-muted); }
.flow-end.light .k, .flow-end.light p { color: var(--muted); }
.flow-end h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.flow-end p { font-size: 15px; line-height: 1.5; color: var(--d-muted); }
.flow-arrow { display: flex; align-items: center; color: var(--accent); font-size: 28px; }
.flow-roles { flex: 2 1 420px; min-width: 0; border-radius: 24px; border: 1.5px dashed #3A3B3F; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.flow-roles > .k { font-size: 13px; font-weight: 500; color: var(--d-muted); padding: 4px 8px 0; }
.role { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; border-radius: 16px; background: var(--d-panel); padding: 20px 22px; }
.role div { flex: 1 1 240px; min-width: 0; }
.role h3 { font-size: 20px; font-weight: 500; }
.role p { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--d-muted); }
@media (max-width: 900px) { .flow-arrow { display: none; } }
.duo { display: flex; flex-wrap: wrap; gap: 24px 64px; margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--d-line); }
.duo > div { flex: 1 1 380px; min-width: 0; }
.duo h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; }
.duo p { margin-top: 10px; font-size: 17px; line-height: 1.55; color: var(--d-muted); }

/* Shoreline */
.product { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.product-copy { flex: 1 1 460px; min-width: 0; }
.eyebrow-accent { font-size: 15px; font-weight: 600; color: var(--accent); }
.product-copy h2 { margin-top: 20px; }
.specs { margin-top: 40px; border-top: 1px solid #242528; }
.spec { display: flex; justify-content: space-between; gap: 24px; padding: 16px 0; border-bottom: 1px solid #242528; }
.spec dt { color: #95969A; }
.spec dd { margin: 0; text-align: right; }
.specs { margin-bottom: 0; }
.device-stage { flex: 1 1 520px; min-width: 0; height: 560px; display: flex; align-items: center; justify-content: center; }
.device-scale { transform-origin: center; }
@media (max-width: 620px) { .device-stage { height: 420px; } .device-scale { transform: scale(0.66); } }
@media (max-width: 380px) { .device-scale { transform: scale(0.56); } }
.device-persp { perspective: 1800px; }
.device { position: relative; width: 469px; height: 293px; transform-style: preserve-3d; transform: rotateX(54deg) rotateZ(-30deg); }
.dev-shadow { position: absolute; inset: 18px; border-radius: 36px; background: rgba(255, 255, 255, 0.10); filter: blur(28px); transform: translate(26px, 30px); }
.dev-stack { position: absolute; inset: 0; transform-style: preserve-3d; }
.dev-layer { position: absolute; inset: 0; border-radius: 36px; }
.dev-usb { position: absolute; left: 0; top: 76px; width: 74px; height: 77px; transform-origin: left center; transform: translateZ(74px) translateX(-0.6px) rotateY(90deg); }
.dev-usb span { position: absolute; left: 17px; top: 0; width: 31px; height: 77px; border-radius: 15px; background: #050608; box-shadow: inset 0 0 0 2px #3F4044; }
.dev-cover { position: absolute; inset: 0; border-radius: 36px; background: #1B1C1F; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.10), inset 0 2px 0 rgba(255, 255, 255, 0.06); transform: translateZ(74.5px); transform-style: preserve-3d; }
.dev-screen { position: absolute; left: 86px; top: 39px; width: 296px; height: 160px; border-radius: 12px; background: #040506; box-shadow: inset 0 0 0 1px #000, 0 0 0 1px rgba(255, 255, 255, 0.05); padding: 16px 18px 12px; display: flex; flex-direction: column; color: var(--white); font-family: "JetBrains Mono", ui-monospace, monospace; }
.dev-title { font-family: "Inter Tight", sans-serif; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.dev-rows { display: flex; flex-direction: column; gap: 5px; margin-top: 10px; font-size: 10.5px; }
.dev-rows div { display: flex; justify-content: space-between; }
.dev-rows span:first-child { color: #808185; }
.dev-actions { margin-top: auto; position: relative; height: 22px; font-family: "Inter Tight", sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.04em; }
.dev-actions span { position: absolute; width: 92px; height: 22px; border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.dev-confirm { left: 22px; background: var(--accent); color: var(--ink); }
.dev-back { left: 182px; box-shadow: inset 0 0 0 1px #606165; }
.dev-well { position: absolute; top: 225px; width: 76px; height: 35px; border-radius: 9px; background: #0C0E11; }
.dev-well.l { left: 116px; } .dev-well.r { left: 276px; }
.dev-cap { position: absolute; top: 227px; width: 72px; height: 32px; border-radius: 7px; transform: translateZ(5px); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25); }
.dev-cap.l { left: 118px; background: var(--accent); } .dev-cap.r { left: 278px; background: #4E4F53; }
.dev-brand { position: absolute; right: 26px; top: 22px; font-size: 9px; font-weight: 700; letter-spacing: 0.22em; color: #606165; }

/* Roadmap */
.roadmap { display: flex; flex-wrap: wrap; gap: 24px; }
.phase { flex: 1 1 260px; min-width: 0; border-top: 4px solid var(--ink); padding-top: 24px; }
.phase.now { border-top-color: var(--accent); }
.phase-head { display: flex; justify-content: space-between; align-items: baseline; }
.phase h3 { font-size: 26px; font-weight: 500; letter-spacing: -0.02em; }
.phase-tag { font-size: 13px; font-weight: 600; }
.phase ul { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 16px; line-height: 1.45; color: var(--muted-2); }

/* Contact */
.contact { padding: clamp(80px, 10vw, 144px) var(--gutter); }
.contact .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 48px; }
.contact-copy { flex: 1 1 480px; min-width: 0; }
.contact-copy .d-contact { font-size: clamp(48px, 6.8vw, 104px); line-height: 0.88; letter-spacing: -0.04em; }
.contact-copy p { margin-top: 24px; font-size: 19px; line-height: 1.5; max-width: 40ch; }
.contact-mail { display: inline-block; margin-top: 20px; font-size: 18px; font-weight: 600; text-underline-offset: 4px; }
.form { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.form-row { display: flex; flex-wrap: wrap; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.form-row .field { flex: 1 1 200px; }
.field label { font-size: 14px; font-weight: 600; }
.field .opt { font-weight: 500; opacity: 0.75; }
.field input, .field select, .field textarea {
  min-height: 56px; padding: 0 18px; font: inherit; font-size: 17px; color: var(--ink);
  background: var(--white); border: 2px solid transparent; border-radius: 12px; width: 100%;
}
.field textarea { padding: 14px 18px; min-height: 112px; resize: vertical; line-height: 1.45; }
.field select { padding: 0 14px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.turnstile-box { min-height: 65px; }
.form-note { font-size: 13px; line-height: 1.5; }
.form-note a { text-underline-offset: 2px; }
.form-status { min-height: 24px; font-size: 16px; font-weight: 600; }
.form-status.ok { color: var(--ink); }
.form-status.err { color: #7A1F12; }
.form .btn { min-height: 56px; font-size: 17px; }

/* Footer */
.footer { background: var(--ink); color: var(--white); padding: clamp(80px, 10vw, 140px) var(--gutter) 32px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 48px; }
.footer-tag { flex: 1 1 360px; font-size: clamp(28px, 3vw, 44px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.1; max-width: 18ch; }
.footer-cols { flex: 1 1 520px; display: flex; flex-wrap: wrap; gap: 40px; }
.footer-col { flex: 1 1 140px; display: flex; flex-direction: column; gap: 14px; font-size: 15px; }
.footer-col span { color: #95969A; font-weight: 600; }
.footer-col a { text-decoration: none; }
.wordmark { margin-top: clamp(80px, 10vw, 140px); font-size: clamp(64px, 17.4vw, 252px); font-weight: 700; letter-spacing: -0.06em; line-height: 0.8; white-space: nowrap; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--d-line); font-size: 14px; color: #95969A; }

/* Simple pages (privacy, 404) */
.page-head { background: var(--ink); color: var(--white); padding: 20px clamp(16px, 3vw, 32px) clamp(64px, 8vw, 112px); }
.page-head h1 { margin-top: clamp(64px, 8vw, 112px); }
.prose { max-width: 760px; margin: 0 auto; padding: clamp(64px, 8vw, 112px) var(--gutter); font-size: 18px; line-height: 1.65; color: var(--muted-2); }
.prose h2 { margin-top: 48px; font-size: 28px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin: 16px 0 0; }
.prose li + li { margin-top: 8px; }
.prose a { color: var(--ink); text-underline-offset: 3px; }
