html, body { margin: 0; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:root { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }

/* Brand: cream ink and signal cyan from the hardfork.design logo. Layout: left-aligned hero on a faint blueprint grid with the before/after swap beside it, then proof, offer, process; deliberately single dark theme */
:root {
  color-scheme: dark;
  --bg: #08090b;
  --surface: #0f1014;
  --surface-2: #15171c;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.16);
  --ink: #f0ede6;
  --ink-2: rgba(240, 237, 230, 0.74);
  --ink-3: rgba(240, 237, 230, 0.58);
  --accent: #00ffea;
  --accent-hi: #66fff2;
  --lavender: #00ffea;
  --on-accent: #041513;
  --good: #7ee2b0;
  --f-display: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-display);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { text-wrap: balance; font-weight: 700; }
a { color: var(--lavender); }
a:hover { color: var(--ink); }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--lavender); outline-offset: 3px; border-radius: 6px; }

.wrap {
  max-width: 74rem;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 760px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}

.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lavender);
}
.h2 {
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}
.lede { color: var(--ink-3); font-size: 1rem; max-width: 36rem; }
.section { padding-block: clamp(5rem, 11vw, 8.5rem); }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 44px; padding: 0 1.25rem;
  border-radius: 0.375rem;
  font: 600 0.9375rem/1 var(--f-display);
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.btn-primary { background: var(--accent); color: var(--on-accent); border: 1px solid transparent; box-shadow: 0 0 32px -8px rgba(0, 255, 234,0.45); }
.btn-primary:hover { background: var(--accent-hi); color: var(--on-accent); }
.btn-ghost { background: rgba(0,0,0,0.35); color: var(--ink); border: 1px solid var(--line-strong); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.32); color: var(--ink); }
.btn svg { width: 14px; height: 14px; }

/* nav */
.nav-shell { position: relative; z-index: 5; padding-top: 1.25rem; }
.nav {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem;
  padding-block: 0.25rem;
}
.brand { display: flex; align-items: center; gap: 0.625rem; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.brand img, .brand svg { display: block; height: 38px; width: auto; }
.foot-logo img, .foot-logo svg { display: block; height: 22px; width: auto; opacity: 0.8; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1.5rem; font-size: 0.875rem; }
.nav-links a:not(.btn) { color: var(--ink-2); text-decoration: none; padding: 0.5rem 0; }
.nav-links a:not(.btn):hover { color: var(--ink); }
@media (max-width: 640px) { .nav-links a.hide-sm { display: none; } }

/* hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at 62% 38%, #000 18%, transparent 68%);
  mask-image: radial-gradient(ellipse at 62% 38%, #000 18%, transparent 68%);
}
.hero::after {
  content: ""; position: absolute; left: 64%; top: 36%; width: 70rem; height: 40rem; transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center, rgba(0, 255, 234,0.16), transparent 62%); pointer-events: none;
}
.hero-grid { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 3.5rem 4rem; padding-top: clamp(3.5rem, 8vw, 5.5rem); padding-bottom: clamp(3.5rem, 7vw, 5rem); }
.hero-copy { flex: 1 1 30rem; min-width: 0; }
.pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 0.875rem; border-radius: 9999px;
  background: rgba(0, 255, 234, 0.1); border: 1px solid rgba(0, 255, 234, 0.3);
  font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--lavender);
}
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lavender); box-shadow: 0 0 10px var(--lavender); }
.hero h1 {
  margin-top: 1.75rem;
  max-width: 13ch;
  font-size: clamp(2.75rem, 6.4vw, 5.5rem);
  line-height: 1.0;
  letter-spacing: -0.045em;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .sub { margin-top: 1.75rem; max-width: 34rem; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.55; color: var(--ink-2); }
.hero .ctas { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero .by { margin-top: 1.5rem; font-size: 0.9375rem; color: var(--ink-3); }

/* before/after device */
.stage { flex: 1 1 26rem; min-width: 0; max-width: 34rem; }
.compare { position: relative; height: 30rem; }
.card-before, .card-after { position: absolute; }
.card-before {
  left: 0; top: 2rem; width: 76%;
  padding: 1rem; border-radius: 4px;
  background: #15161b; border: 1px solid #2a2c33;
  font-family: Arial, Helvetica, sans-serif; color: #9aa0a6;
  transform: rotate(-5deg); opacity: 0.6;
}
.card-before .row { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; }
.card-before .box { margin-top: 0.625rem; padding: 0.625rem; border: 1px solid #2c2f36; background: #1b1d23; font-size: 0.75rem; }
.card-before .box div { display: flex; justify-content: space-between; margin-top: 0.25rem; color: #d0d2d5; font-size: 0.875rem; }
.card-before .tok { padding: 0 0.375rem; background: #3b3f48; }
.card-before .meta { margin-top: 0.625rem; font-size: 0.6875rem; color: #6b7078; line-height: 1.4; }
.card-before .cta { margin-top: 0.625rem; padding: 0.5rem; text-align: center; background: #3a4a7a; color: #c9d3f0; font-size: 0.75rem; font-weight: 700; }
.tag {
  position: absolute; top: -0.7rem;
  padding: 0.125rem 0.625rem; border-radius: 9999px;
  font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.1em;
}
.card-before .tag { left: 1rem; background: #2a2c33; color: #b9bcc1; border-radius: 3px; }

.card-after {
  right: 0; top: 5.5rem; width: 82%;
  padding: 1.5rem; border-radius: 1.25rem;
  background: linear-gradient(180deg, #11141c, #0c0e14);
  border: 1px solid rgba(0, 255, 234, 0.28);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8), 0 0 60px -20px rgba(0, 255, 234, 0.5);
}
.card-after .tag { right: 1.5rem; background: var(--accent); color: var(--on-accent); }
.ca-head { display: flex; justify-content: space-between; align-items: baseline; }
.ca-head b { font-weight: 700; font-size: 1.125rem; letter-spacing: -0.02em; }
.ca-head span { font-family: var(--f-mono); font-size: 0.75rem; color: var(--ink-3); }
.field { margin-top: 0.875rem; padding: 0.9rem 1rem; border-radius: 1rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.05); }
.field small { display: block; font-size: 0.75rem; color: var(--ink-3); }
.field div { display: flex; justify-content: space-between; align-items: center; margin-top: 0.25rem; gap: 0.5rem; }
.amt { font-size: 1.625rem; font-weight: 600; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.chip { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.3rem 0.7rem 0.3rem 0.35rem; border-radius: 9999px; background: rgba(255,255,255,0.08); font-weight: 500; font-size: 0.8125rem; }
.coin { width: 20px; height: 20px; border-radius: 50%; }
.coin.eth { background: linear-gradient(135deg, #8a9bff, #3b4fd6); }
.coin.usdc { background: linear-gradient(135deg, #5ad1ff, #2a62f4); }
.flip { display: flex; justify-content: center; margin: -0.6rem 0; position: relative; z-index: 1; }
.flip span { width: 2.25rem; height: 2.25rem; border-radius: 0.75rem; border: 4px solid #0e1118; background: #1b1f2a; display: grid; place-items: center; }
.ca-meta { margin-top: 0.875rem; display: flex; justify-content: space-between; font-size: 0.8125rem; color: var(--ink-3); }
.ca-meta .save { color: var(--good); }
.ca-cta { margin-top: 0.875rem; padding: 0.85rem; border-radius: 1rem; text-align: center; background: var(--accent); color: var(--on-accent); font-weight: 600; }

@media (max-width: 640px) {
  .compare { height: 27rem; }
  .card-before { width: 80%; top: 0.5rem; }
  .card-after { width: 90%; top: 5rem; }
}

/* logos */
.trusted { padding-block: 3.5rem; border-bottom: 1px solid var(--line); }
.trusted p { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.logos { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 2rem 3rem; }
.logos img { width: auto; opacity: 0.5; filter: grayscale(1); transition: opacity .2s; }
.logos img:hover { opacity: 0.85; }

/* proof tiles */
.tiles {
  margin-top: 3rem;
  display: grid; gap: 0.75rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}
@media (min-width: 640px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; }
  .tile.feature { grid-column: 3; grid-row: 1 / span 2; }
}
.tile {
  position: relative; overflow: hidden;
  min-height: 11.5rem;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  padding: 1.5rem;
  border-radius: 0.375rem;
  background: var(--surface);
  border: 1px solid var(--line);
}
.tile .num { font-size: clamp(2.25rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.tile .cap { font-size: 0.875rem; color: var(--ink-2); }
.tile.feature {
  background:
    radial-gradient(110% 80% at 100% 100%, rgba(0, 255, 234, 0.35), transparent 60%),
    var(--surface);
  border-color: rgba(0, 255, 234, 0.4);
  justify-content: flex-start;
  min-height: 15rem;
}
.tile.feature .cap { color: rgba(255,255,255,0.82); margin-top: 0.75rem; }
.rings { position: absolute; right: -4rem; bottom: -4rem; width: 16rem; height: 16rem; pointer-events: none; }
.rings span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(0, 255, 234, 0.2); }
.rings span:nth-child(2) { inset: 2.25rem; border-color: rgba(0, 255, 234, 0.32); }
.rings span:nth-child(3) { inset: 4.5rem; border-color: rgba(0, 255, 234, 0.5); }

.quote { margin: 4.5rem auto 0; max-width: 40rem; }
.quote p { font-size: clamp(1.125rem, 2vw, 1.375rem); line-height: 1.5; letter-spacing: -0.01em; }
.quote cite { display: block; margin-top: 1rem; font-style: normal; font-size: 0.8125rem; color: var(--ink-3); }

/* problem */
.problems { margin-top: 3.5rem; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.problem { padding: 1.75rem 1.5rem; border-radius: 0.375rem; background: var(--surface); border: 1px solid var(--line); }
.problem h3 { font-size: 1.25rem; letter-spacing: -0.02em; font-weight: 600; }
.problem p { margin-top: 0.625rem; font-size: 0.9375rem; color: var(--ink-3); }

/* pricing */
.tiers { margin-top: 3.5rem; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; padding: 2rem 1.75rem; border-radius: 0.375rem; background: var(--surface); border: 1px solid var(--line); }
.tier.featured {
  background: linear-gradient(180deg, rgba(0, 255, 234, 0.14), rgba(0, 255, 234, 0.02));
  border-color: var(--accent);
  box-shadow: 0 0 80px -30px rgba(0, 255, 234, 0.7);
}
.badge { position: absolute; top: -0.75rem; left: 1.75rem; padding: 0.2rem 0.7rem; border-radius: 9999px; background: var(--accent); color: var(--on-accent); font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.08em; }
.tier h3 { font-size: 1rem; font-weight: 500; color: var(--ink-2); }
.price { margin-top: 1rem; font-size: 3rem; font-weight: 700; letter-spacing: -0.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.tier .desc { margin-top: 1rem; font-size: 0.9375rem; color: var(--ink-3); }
.tier ul { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); display: grid; gap: 0.625rem; font-size: 0.9375rem; color: var(--ink-2); }
.tier li { display: flex; gap: 0.625rem; }
.tier li svg { flex: none; margin-top: 0.3rem; color: var(--lavender); }
.tier .btn { margin-top: auto; }
.tier .spacer { height: 2rem; }
.terms { margin-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; padding: 1.25rem 1.5rem; border-radius: 0.375rem; border: 1px dashed var(--line-strong); font-size: 0.9375rem; color: var(--ink-3); }
.terms strong { color: var(--ink); font-weight: 500; }

/* process */
.steps { margin-top: 4rem; display: grid; gap: 2.5rem 0; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.step { padding-right: 1.5rem; border-top: 2px solid rgba(0, 255, 234, 0.55); }
.step:first-child { border-top-color: var(--accent); }
.step .node { display: block; width: 14px; height: 14px; margin-top: -8px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.step:first-child .node { background: var(--accent); box-shadow: 0 0 16px rgba(0, 255, 234,0.9); }
.step:last-child .node { background: var(--ink); border-color: var(--ink); }
.step .day { margin-top: 1.25rem; font-family: var(--f-mono); font-size: 0.8125rem; color: var(--lavender); }
.step h3 { margin-top: 0.375rem; font-size: 1.375rem; font-weight: 600; letter-spacing: -0.02em; }
.step p { margin-top: 0.5rem; font-size: 0.9375rem; color: var(--ink-3); }

/* comparison */
.table-box { margin-top: 3rem; overflow-x: auto; border-radius: 0.375rem; border: 1px solid var(--line); background: var(--surface); }
table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.9375rem; }
th, td { text-align: left; padding: 1.125rem 1.5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child th, tr:last-child td { border-bottom: none; }
thead th { font-family: var(--f-mono); font-weight: 400; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
tbody th { font-weight: 600; }
td.them { color: var(--ink-3); }
.us { background: rgba(0, 255, 234, 0.09); }
thead .us { color: var(--lavender); }

/* scope */
.scope { display: grid; gap: 3rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.scope ul { margin-top: 1.5rem; }
.scope li { display: flex; gap: 0.875rem; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }
.scope li:last-child { border-bottom: none; }
.scope li svg { flex: none; margin-top: 0.3rem; }
.scope .yes svg { color: var(--lavender); }
.scope .no li { color: var(--ink-3); }
.scope .note { margin-top: 1rem; font-size: 0.875rem; color: var(--ink-3); }

/* work */
.work-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.work { margin-top: 3rem; display: grid; gap: 2.5rem 0.75rem; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); }
.thumb {
  aspect-ratio: 16 / 10; max-width: 100%;
  border-radius: 0.375rem; border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--surface-2), var(--surface));
  display: grid; place-items: center;
  font-family: var(--f-mono); font-size: 0.75rem; color: var(--ink-3);
}
.work h3 { margin-top: 1.25rem; font-size: 1.125rem; font-weight: 600; }
.work p { margin-top: 0.375rem; font-size: 0.9375rem; color: var(--ink-3); }

/* about */
.about { display: flex; flex-wrap: wrap; align-items: center; gap: 2.5rem 4rem; }
.avatar {
  flex: none; width: 11rem; height: 11rem; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(0, 255, 234, 0.25), var(--surface) 70%);
  border: 1px solid rgba(0, 255, 234, 0.3);
  display: grid; place-items: center; font-family: var(--f-mono); font-size: 0.75rem; color: var(--ink-3);
}
.about-copy { flex: 1 1 26rem; min-width: 0; }
.about-copy .role { margin-top: 0.5rem; color: var(--lavender); font-size: 0.9375rem; }
.about-copy .bio { margin-top: 1.25rem; max-width: 40rem; font-size: 1.0625rem; line-height: 1.7; color: var(--ink-2); }

/* faq */
.faq { margin-top: 3rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; padding: 1.375rem 0; font-size: 1.125rem; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--lavender); transition: transform .2s; }
.faq details[open] .plus { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.375rem; max-width: 40rem; color: var(--ink-3); }

/* final cta */
.final { position: relative; overflow: hidden; text-align: center; }
.final .glow { position: absolute; left: 50%; top: 50%; width: 64rem; height: 36rem; transform: translate(-50%, -50%); background: radial-gradient(ellipse at center, rgba(0, 255, 234,0.2), transparent 62%); pointer-events: none; }
.final .inner { position: relative; z-index: 1; }
.final h2 { margin: 1rem auto 0; max-width: 18ch; font-size: clamp(2.25rem, 5.6vw, 4rem); line-height: 1.04; letter-spacing: -0.04em; }
.final .lede { margin-top: 1.25rem; font-size: 1.0625rem; }
form { margin: 2.5rem auto 0; max-width: 38rem; display: flex; flex-wrap: wrap; gap: 0.75rem; text-align: left; }
.fld { flex: 1 1 15rem; min-width: 0; }
label { display: block; margin-bottom: 0.375rem; font-size: 0.8125rem; color: var(--ink-3); }
input {
  width: 100%; height: 3rem; padding: 0 1rem;
  border-radius: 0.375rem; border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04); color: var(--ink); font: inherit;
}
input::placeholder { color: rgba(240, 237, 230, 0.4); }
input:focus { outline: none; border-color: var(--lavender); }
form .btn { flex: 1 1 100%; min-height: 3rem; margin-top: 0.25rem; }
.form-note { flex: 1 1 100%; font-size: 0.875rem; color: var(--good); min-height: 1.4em; text-align: center; }
.contact { margin-top: 1.75rem; font-size: 0.9375rem; color: var(--ink-3); }
.contact .mail { color: var(--ink); text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.contact .mail:hover { color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#audit-form button:disabled { opacity: 0.6; cursor: progress; }

footer { border-top: 1px solid var(--line); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem 1.5rem; padding-block: 2rem; font-size: 0.8125rem; color: var(--ink-3); }
.foot a { color: var(--ink-2); text-decoration: none; }

.divider { border-top: 1px solid var(--line); }

/* load sequence */
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.hero-copy > * { animation: rise .7s cubic-bezier(.2,.8,.2,1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .06s; }
.hero-copy > *:nth-child(3) { animation-delay: .12s; }
.hero-copy > *:nth-child(4) { animation-delay: .18s; }
.hero-copy > *:nth-child(5) { animation-delay: .24s; }
.stage .compare { animation: rise 1s .3s cubic-bezier(.2,.8,.2,1) both; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-copy > *, .stage .compare { animation: none; }
}
