:root {
  color-scheme: dark;
  --ink: #080b14;
  --text: #f3f5f4;
  --muted: #a4acab;
  --line: #262d2d;
  --cyan: #48e5e0;
  --green: #beec83;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: "Segoe UI", Arial, sans-serif; letter-spacing: 0; }
a { color: inherit; text-decoration: none; }
a, input { -webkit-tap-highlight-color: transparent; }
a:focus-visible, input:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
[hidden] { display: none !important; }
p { text-wrap: pretty; }
h1, h2, h3, p { overflow-wrap: break-word; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 20; padding: 12px; background: var(--green); color: var(--ink); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.site-header { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; width: min(1320px, calc(100% - 80px)); min-height: 82px; margin: auto; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 800; }
.brand img { width: 48px; height: 48px; object-fit: contain; }
.brand strong, .footer-brand strong { color: var(--cyan); font-weight: 500; }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: 13px; font-weight: 600; }
.nav-link { color: var(--muted); }
.nav-login { margin-left: 20px; }
.nav-login, .nav-register, .nav-link { display: inline-flex; align-items: center; min-height: 44px; }
.nav-register { padding: 0 18px; border: 1px solid #64706c; border-radius: 5px; }
.site-nav a:hover { color: var(--cyan); }
.nav-register:hover { border-color: var(--cyan); }
.hero { position: relative; isolation: isolate; min-height: 620px; height: min(730px, calc(100svh - 144px)); overflow: hidden; background: var(--ink); }
.hero-art { position: absolute; inset: 0; z-index: -1; mix-blend-mode: lighten; }
.hero-art canvas { display: block; width: 100%; height: 100%; opacity: 0; }
.hero-art.is-ready canvas { opacity: 1; }
.hero-art.is-ready .art-fallback { visibility: hidden; }
.art-fallback { position: absolute; width: min(700px, 51%); height: auto; top: 49%; left: 73%; transform: translate(-50%, -50%); }
.hero-content { width: min(1320px, calc(100% - 80px)); margin: auto; padding-top: 84px; pointer-events: none; }
.hero-content a { pointer-events: auto; }
.eyebrow, .section-label { display: flex; align-items: center; gap: 8px; margin: 0 0 24px; color: var(--cyan); font-size: 11px; font-weight: 700; }
.edition-mark { display: inline-block; width: 6px; height: 6px; background: var(--cyan); }
h1 { max-width: 50%; margin: 0; font-size: 58px; line-height: 1.05; font-weight: 800; letter-spacing: 0; }
h1 span { display: block; margin-top: 12px; color: var(--cyan); font-size: 20px; line-height: 1.25; font-weight: 500; }
.hero-copy { max-width: 47%; margin: 34px 0 0; font-size: 38px; line-height: 1.2; font-weight: 600; }
.hero-copy em { font-style: normal; color: var(--green); }
.hero-description { max-width: 43%; margin: 20px 0 0; color: var(--muted); font-size: 15px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.primary-action, .secondary-action { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 23px; gap: 24px; border-radius: 5px; font-size: 13px; font-weight: 700; transition: background 160ms, color 160ms, border-color 160ms, transform 160ms; }
.primary-action { background: var(--green); color: #18210f; }
.primary-action span { font-size: 20px; }
.primary-action:hover { background: #d5ff9c; transform: translateY(-2px); }
.secondary-action { border: 1px solid #475050; background: #060809; }
.secondary-action:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-2px); }
.hero-tags { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; color: #8b9794; font-size: 11px; }
.hero-tags span + span { border-left: 1px solid #3b4240; padding-left: 16px; }
.hero-bottom { position: absolute; bottom: 22px; left: 50%; display: flex; align-items: center; justify-content: space-between; width: min(1320px, calc(100% - 80px)); transform: translateX(-50%); }
.section-cue { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--muted); font-size: 11px; }
.section-cue > span { color: var(--cyan); font-size: 20px; }
.section-inner { width: min(1320px, 100%); margin: auto; }
.profiles-band, .connection-band, .workspace-band, .final-cta { padding: 78px 40px; }
.profiles-band { border-top: 1px solid var(--line); background: #101514; padding-top: 48px; }
.section-heading-row { display: grid; grid-template-columns: 1.2fr 1fr; align-items: end; gap: 40px; }
.section-inner h2 { margin: 0; font-size: 42px; line-height: 1.15; font-weight: 600; }
.section-heading-row > p, .connection-copy > p:last-child, .final-cta .section-inner > p:not(.section-label) { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.profile-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin-top: 38px; border-top: 1px solid #34423e; border-bottom: 1px solid #34423e; }
.profile-card { --accent: var(--cyan); padding: 22px 22px 28px; border-right: 1px solid #34423e; transition: background 200ms; }
.profile-card:first-child { padding-left: 0; }
.profile-card:last-child { border-right: 0; padding-right: 0; }
.profile-card:hover { background: #17221e; }
.profile-topline { display: flex; align-items: center; justify-content: space-between; color: #a3b3ab; font-family: Consolas, monospace; font-size: 12px; }
.profile-mark { width: 18px; height: 3px; background: var(--accent); }
.profile-card h3 { margin: 38px 0 12px; font-size: 19px; font-weight: 700; }
.profile-card p { margin: 0; color: #a9b4af; font-size: 13px; line-height: 1.7; }
.profile-card .profile-category { margin-bottom: 9px; color: var(--accent); font-size: 11px; }
.profile-jokerjoe { --accent: #d5b7f3; }
.profile-human { --accent: var(--green); }
.profile-unchain { --accent: #efc77d; }
.profile-cloud { --accent: #f4a6ba; }
.connection-band { background: #e9ede9; color: #17231d; padding-bottom: 0; }
.connection-band .section-label { color: #38664d; }
.connection-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 84px; }
.connection-copy > p:last-child { margin-top: 24px; color: #516258; max-width: 430px; }
.connection-options { border-top: 1px solid #bbc9be; }
.connection-option { display: grid; grid-template-columns: 50px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid #bbc9be; }
.option-mark { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; background: #d1dfd5; color: #335c4a; font-family: Consolas, monospace; font-size: 13px; }
.option-oauth { color: #78473b; background: #e2d8cf; font-size: 23px; }
.connection-option h3 { margin: 0 0 10px; font-size: 18px; font-weight: 600; }
.connection-option p { margin: 0; font-size: 14px; color: #516258; line-height: 1.7; }
.capability-strip { display: grid; grid-template-columns: repeat(3, 1fr); width: min(1320px, 100%); margin: 60px auto 0; border-top: 1px solid #bbc9be; }
.capability-strip > span { display: flex; align-items: center; gap: 16px; padding: 24px 0; font-size: 11px; color: #657b6e; }
.capability-strip strong { font-size: 13px; font-weight: 600; color: #253f31; }
.workspace-band { background: #060809; }
.workflow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin: 38px 0 0; padding: 0; list-style: none; }
.workflow li { padding-top: 20px; border-top: 1px solid #424f49; }
.workflow-number { color: var(--green); font-family: Consolas, monospace; font-size: 12px; }
.workflow h3 { margin: 26px 0 12px; font-size: 23px; font-weight: 600; }
.workflow p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 350px; }
.final-cta { background: #15231c; border-top: 1px solid #34493b; text-align: center; }
.final-cta .section-label { justify-content: center; color: var(--green); }
.final-cta h2 { font-size: 50px; }
.final-cta .section-inner > p:not(.section-label) { margin-top: 20px; }
.final-actions { justify-content: center; }
.site-footer { padding: 26px 40px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: min(1320px, 100%); margin: auto; }
.footer-brand { font-size: 13px; font-weight: 700; white-space: nowrap; }
.footer-inner p { margin: 0; color: #a4aca7; font-size: 11px; }
.footer-links { display: flex; gap: 20px; font-size: 12px; }

@media (min-width: 1600px) { .hero-content { padding-top: 112px; } }
@media (min-width: 861px) and (max-height: 760px) {
  .hero { min-height: 470px; }
  .hero-content { padding-top: 35px; }
  h1 { font-size: 46px; }
  .hero-copy { font-size: 30px; margin-top: 22px; }
  .hero-description { margin-top: 14px; }
  .hero-actions { margin-top: 20px; }
}
@media (max-width: 1100px) {
  .site-header, .hero-content, .hero-bottom { width: calc(100% - 48px); }
  h1 { font-size: 46px; }
  .hero-copy { font-size: 31px; }
  .hero-tags { gap: 10px; }
  .hero-tags span + span { padding-left: 10px; }
  .profile-card { padding: 20px 14px; }
  .profile-card h3 { font-size: 17px; }
  .connection-layout { gap: 44px; }
  .section-inner h2 { font-size: 35px; }
  .site-nav { gap: 20px; }
  .nav-login { margin-left: 0; }
}
@media (max-width: 860px) {
  .site-header { min-height: 68px; }
  .nav-link { display: none; }
  .hero { height: auto; min-height: 760px; }
  .hero-content { padding-top: 36px; text-align: center; }
  .eyebrow { justify-content: center; margin-bottom: 18px; font-size: 10px; }
  h1 { max-width: 100%; font-size: 40px; }
  h1 span { font-size: 13px; margin-top: 8px; }
  .hero-copy { max-width: 100%; margin: 350px 0 0; font-size: 23px; }
  .hero-copy br { display: none; }
  .hero-description { max-width: 100%; font-size: 13px; margin: 14px auto 0; }
  .hero-description br { display: none; }
  .hero-actions, .hero-tags { justify-content: center; }
  .hero-actions { margin-top: 20px; }
  .hero-tags { margin-top: 17px; }
  .art-fallback { width: 380px; max-width: 100%; top: 326px; left: 50%; }
  .hero-bottom { bottom: 12px; }
  .profiles-band, .connection-band, .workspace-band, .final-cta { padding: 52px 24px; }
  .connection-band { padding-bottom: 0; }
  .section-heading-row { grid-template-columns: 1fr; gap: 18px; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-card, .profile-card:first-child, .profile-card:last-child { display: grid; grid-template-columns: 40px 140px 1fr; gap: 0 18px; align-items: start; padding: 24px 0; border-right: 0; border-bottom: 1px solid #34423e; }
  .profile-card:last-child { border-bottom: 0; }
  .profile-topline { grid-column: 1; grid-row: 1 / span 2; padding-top: 3px; }
  .profile-mark { display: none; }
  .profile-card h3 { grid-column: 2; grid-row: 1; margin: 0 0 4px; font-size: 17px; }
  .profile-category { grid-column: 2; grid-row: 2; }
  .profile-card p:last-child { grid-column: 3; grid-row: 1 / span 2; }
  .connection-layout { grid-template-columns: 1fr; gap: 36px; }
  .workflow { gap: 24px; }
  .footer-inner { flex-wrap: wrap; justify-content: center; }
  .footer-inner p { text-align: center; flex-basis: 100%; order: 3; }
}
@media (max-width: 520px) {
  .site-header, .hero-content, .hero-bottom { width: calc(100% - 36px); }
  .brand { font-size: 13px; gap: 6px; }
  .brand img { width: 37px; height: 37px; }
  .site-nav { gap: 16px; }
  .nav-register { display: none; }
  .nav-login { font-size: 12px; }
  .hero { min-height: 680px; }
  .hero-content { padding-top: 22px; }
  h1 { font-size: 35px; }
  .hero-copy { margin-top: 288px; font-size: 20px; line-height: 1.3; }
  .hero-description { max-width: 310px; }
  .hero-actions { gap: 10px; }
  .primary-action, .secondary-action { padding: 0 18px; min-height: 48px; font-size: 12px; }
  .art-fallback { top: 276px; width: 325px; }
  .hero-tags { font-size: 10px; }
  .profiles-band, .connection-band, .workspace-band, .final-cta { padding: 42px 20px; }
  .connection-band { padding-bottom: 0; }
  .section-inner h2 { font-size: 30px; }
  .section-label { margin-bottom: 18px; font-size: 10px; }
  .profile-card, .profile-card:first-child, .profile-card:last-child { grid-template-columns: 26px 1fr; gap: 0 12px; }
  .profile-card p:last-child { grid-column: 2; grid-row: 3; margin-top: 7px; }
  .connection-option { grid-template-columns: 38px 1fr; gap: 16px; }
  .option-mark { width: 36px; height: 40px; }
  .connection-option h3 { font-size: 16px; }
  .capability-strip { grid-template-columns: 1fr; margin-top: 36px; }
  .capability-strip > span { padding: 16px 0; border-bottom: 1px solid #bbc9be; }
  .workflow { grid-template-columns: 1fr; gap: 28px; }
  .workflow li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
  .workflow h3 { margin: 0 0 10px; }
  .workflow-number { padding-top: 5px; }
  .site-footer { padding: 25px 20px; }
}
@media (max-width: 360px) {
  h1 { font-size: 30px; }
  .hero-copy { font-size: 18px; }
  .hero-tags { gap: 7px; }
  .hero-tags span + span { padding-left: 7px; }
}
@media (max-width: 520px) and (max-height: 740px) {
  .site-header { min-height: 56px; }
  .hero { min-height: 0; height: calc(100svh - 84px); }
  .hero-content { padding-top: 18px; }
  .eyebrow { margin-bottom: 10px; }
  h1 { font-size: 30px; }
  h1 span { font-size: 11px; }
  .art-fallback { width: 260px; top: 216px; }
  .hero-copy { margin-top: 220px; font-size: 19px; }
  .hero-description { font-size: 12px; }
}
@media (max-width: 520px) and (max-height: 620px) {
  .hero-content { padding-top: 14px; }
  .eyebrow { font-size: 9px; }
  h1 { font-size: 28px; }
  .art-fallback { width: 205px; top: 166px; }
  .hero-copy { margin-top: 150px; font-size: 18px; }
  .hero-description { margin-top: 10px; line-height: 1.5; }
  .hero-actions { margin-top: 14px; }
  .primary-action, .secondary-action { min-height: 44px; }
  .hero-tags { display: none; }
  .hero-bottom { bottom: 8px; }
}
@media (min-width: 600px) and (max-width: 860px) and (max-height: 520px) {
  .site-header { min-height: 54px; }
  .hero { min-height: 0; height: calc(100svh - 78px); }
  .hero-content { padding-top: 16px; text-align: left; }
  .eyebrow { justify-content: flex-start; font-size: 9px; margin-bottom: 8px; }
  h1 { font-size: 30px; max-width: 50%; }
  h1 span { font-size: 10px; margin-top: 6px; }
  .art-fallback { width: min(42%, 300px); top: 46%; left: 74%; }
  .hero-copy { margin-top: 16px; max-width: 48%; font-size: 20px; }
  .hero-copy br { display: block; }
  .hero-description { max-width: 48%; margin: 10px 0 0; font-size: 12px; }
  .hero-actions { margin-top: 12px; justify-content: flex-start; }
  .primary-action, .secondary-action { min-height: 40px; }
  .hero-tags { display: none; }
  .hero-bottom { bottom: 4px; }
  .section-cue { min-height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Main-site navigation remains visible and tappable on phones. */
.nav-home { display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:8px 12px;border:1px solid #49645b;border-radius:6px;font-size:12px;white-space:nowrap; }
@media(max-width:1100px){.site-header{flex-wrap:wrap;gap:10px;padding-block:12px}.site-nav{flex-wrap:wrap;gap:12px}.nav-home{margin-left:0}}
@media(max-width:600px){.site-header{justify-content:center}.site-nav{width:100%;justify-content:center;gap:10px}.nav-home{font-size:11px;padding-inline:10px}}
