/* Regnstone — site styles. Monochrome, one object, big type. */
:root {
  --black: #07080a;
  --ink: #0d0e11;
  --white: #f4f3ef;
  --grey: #9a9ea6;
  --grey-2: #5d6168;
  --line: rgba(244, 243, 239, 0.14);
  --line-strong: rgba(244, 243, 239, 0.32);
  --gutter: clamp(20px, 3vw, 44px);
  --display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --label: "Space Grotesk", "Inter Tight", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.is-locked { overflow: hidden; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
::selection { background: var(--white); color: var(--black); }
:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; border-radius: 2px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Labels (small uppercase, semi-mono feel) */
.label {
  font-family: var(--label);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--white);
}
.label.dim { color: var(--grey); }

/* Pill button */
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 44px;
  padding: 0 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  font-family: var(--label);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.3s var(--ease);
  will-change: transform;
}
.pill:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.pill.solid { background: var(--white); color: var(--black); border-color: var(--white); }
.pill.solid:hover { background: transparent; color: var(--white); border-color: var(--line-strong); }
.pill:disabled { opacity: 0.5; cursor: wait; }
.pill .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* 3D stage: fixed behind everything */
#stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
#stage canvas { display: block; width: 100%; height: 100%; }
#stage-fallback {
  position: absolute; inset: 0; display: none;
  background: radial-gradient(60% 50% at 70% 45%, rgba(244,243,239,0.07), transparent 70%);
}
#stage.no-webgl #stage-fallback { display: block; }

/* Loader */
#loader {
  position: fixed; inset: 0; z-index: 50;
  background: var(--black);
  display: flex; align-items: flex-end; justify-content: space-between;
  padding: 0 var(--gutter) 2vw;
  overflow: hidden;
  transition: transform 0.9s var(--ease);
}
#loader.done { transform: translateY(-100%); }
#loader .word, #loader .count {
  font-size: clamp(4rem, 19vw, 19vw);
  line-height: 0.82;
  font-weight: 500;
  letter-spacing: -0.045em;
  transform: translateY(0.14em);
}
#loader .count { font-variant-numeric: tabular-nums; }
#loader .bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--white); }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  background: linear-gradient(to bottom, rgba(7,8,10,0.92) 0%, rgba(7,8,10,0.6) 55%, rgba(7,8,10,0) 100%);
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding: 22px var(--gutter);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand svg { width: 22px; height: 34px; }
.brand .wordmark { font-size: 1.35rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.site-header .tagline { max-width: 26ch; }
@media (max-width: 760px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header .tagline { display: none; }
}

/* Page layout */
main { position: relative; z-index: 1; }
.section {
  position: relative;
  padding: 0 var(--gutter);
}
.section-inner {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 20px;
  align-content: center;
}
.col-l { grid-column: 1 / 7; }
.col-r { grid-column: 7 / 13; }
.col-full { grid-column: 1 / 13; }

/* Hero */
.hero .section-inner { min-height: 100vh; align-content: end; padding-bottom: clamp(32px, 6vh, 72px); }
.hero h1 {
  grid-column: 1 / 13;
  margin: 0 0 clamp(20px, 3vw, 36px);
  font-size: clamp(2.9rem, 8.3vw, 8.6rem);
  line-height: 0.93;
  font-weight: 500;
  letter-spacing: -0.045em;
  max-width: 11ch;
}
.hero .lede {
  grid-column: 1 / 6;
  margin: 0;
  color: var(--grey);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  max-width: 44ch;
}
.hero .hero-actions { grid-column: 7 / 13; display: flex; gap: 12px; align-items: flex-end; justify-content: flex-end; flex-wrap: wrap; }
@media (max-width: 900px) {
  .hero .section-inner { align-content: end; }
  .hero h1 { max-width: none; }
  .hero .lede { grid-column: 1 / 13; }
  .hero .hero-actions { grid-column: 1 / 13; justify-content: flex-start; margin-top: 24px; }
}

/* Statements (reference-style: a small glyph, then a big paragraph beside the object) */
.statement .section-inner { min-height: 100vh; }
.statement .glyph { width: 22px; height: 22px; margin-bottom: 28px; }
.statement p {
  margin: 0;
  font-size: clamp(1.7rem, 3.5vw, 3.4rem);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -0.03em;
  max-width: 18ch;
}
.statement p strong { font-weight: 500; }
.statement .sub { margin-top: 22px; color: var(--grey); font-size: clamp(1rem, 1.2vw, 1.15rem); max-width: 46ch; letter-spacing: 0; line-height: 1.5; font-weight: 400; }
.statement.on-right .statement-body { grid-column: 7 / 13; }
.statement.on-left .statement-body { grid-column: 1 / 7; }
@media (max-width: 900px) {
  .statement.on-right .statement-body, .statement.on-left .statement-body { grid-column: 1 / 13; }
  .section-inner.obj-top { min-height: auto; align-content: start; padding-top: 54vh; padding-bottom: 16vh; }
}

/* Work */
.work-step .section-inner { min-height: 100vh; }
.work-step .work-body { grid-column: 1 / 7; }
.work-step .index { display: flex; gap: 16px; align-items: baseline; margin-bottom: 26px; }
.work-step h2 { margin: 0 0 16px; font-size: clamp(2.2rem, 5vw, 5rem); line-height: 1; font-weight: 500; letter-spacing: -0.04em; }
.work-step p { margin: 0 0 28px; color: var(--grey); max-width: 44ch; font-size: clamp(1rem, 1.2vw, 1.15rem); }
.work-step .meta { display: flex; gap: 28px; flex-wrap: wrap; margin-bottom: 28px; }
.work-step .meta div { display: grid; gap: 4px; }
@media (max-width: 900px) {
  .work-step .work-body { grid-column: 1 / 13; }
}

/* Process */
.process .section-inner { min-height: 100vh; align-content: center; }
.process .process-head { grid-column: 7 / 13; margin-bottom: clamp(28px, 5vh, 56px); }
.process h2 { margin: 0; font-size: clamp(2.2rem, 5vw, 5rem); line-height: 1; font-weight: 500; letter-spacing: -0.04em; max-width: 12ch; }
.process ol { grid-column: 7 / 13; align-self: start; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.process li { display: grid; grid-template-columns: 3.2rem 1fr; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.process li .n { font-family: var(--label); font-size: 0.78rem; letter-spacing: 0.08em; color: var(--grey); padding-top: 0.5rem; }
.process li h3 { margin: 0 0 8px; font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.1; }
.process li p { margin: 0; color: var(--grey); max-width: 40ch; }
@media (max-width: 900px) {
  .process ol, .process .process-head { grid-column: 1 / 13; }
  .process .section-inner { min-height: auto; padding-top: 54vh; align-content: start; padding-bottom: 16vh; }
}

/* Big statement (TradeBank) */
.big .section-inner { min-height: 100vh; align-content: center; text-align: center; }
.big h2 {
  grid-column: 1 / 13;
  margin: 0 auto 28px;
  font-size: clamp(3rem, 10vw, 10.5rem);
  line-height: 0.9;
  font-weight: 500;
  letter-spacing: -0.05em;
}
.big p {
  grid-column: 1 / 13;
  margin: 0 auto;
  max-width: 62ch;
  font-family: var(--label);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(0.95rem, 1.6vw, 1.5rem);
  line-height: 1.3;
}
.big p span { color: var(--grey); }

/* Pricing — plans, what every plan includes, what happens after launch */
.pricing .section-inner { min-height: auto; padding: clamp(80px, 14vh, 160px) 0; align-content: start; row-gap: clamp(40px, 6vh, 72px); }
.pricing .pricing-head { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 20px; }
.pricing h2 { grid-column: 1 / 7; margin: 0; font-size: clamp(2.2rem, 5vw, 5rem); line-height: 1; font-weight: 500; letter-spacing: -0.04em; }
.pricing .pricing-note { grid-column: 7 / 13; align-self: end; color: var(--grey); max-width: 46ch; margin: 0; font-size: clamp(1rem, 1.2vw, 1.15rem); }

.plans { grid-column: 1 / 13; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plans .plans-label { grid-column: 1 / -1; margin-bottom: 4px; }
.plan { border: 1px solid var(--line); border-radius: 8px; padding: 28px 26px 26px; display: flex; flex-direction: column; gap: 22px; background: rgba(244,243,239,0.02); }
.plan.lead { border-color: var(--white); background: rgba(244,243,239,0.05); }
.plan-top .label { display: block; margin-bottom: 14px; }
.plan h3 { margin: 0 0 8px; font-size: clamp(1.7rem, 2.6vw, 2.4rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.plan-top p { margin: 0; color: var(--grey); }
.plan-price { font-size: clamp(2.4rem, 3.6vw, 3.6rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price small, .after-price small { display: block; font-family: var(--label); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); margin-top: 10px; font-weight: 400; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; color: var(--white); flex: 1; }
.plan li { padding-left: 22px; position: relative; line-height: 1.4; }
.plan li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 10px; height: 1px; background: var(--white); }
.plan .pill { align-self: flex-start; }

.includes-all { grid-column: 1 / 13; border-top: 1px solid var(--line); padding-top: 26px; }
.includes-all ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.includes-all li { display: grid; gap: 6px; }
.includes-all strong { font-weight: 500; font-size: 1.1rem; letter-spacing: -0.01em; }
.includes-all span { color: var(--grey); font-size: 0.95rem; line-height: 1.45; }

.after { grid-column: 1 / 13; border-top: 1px solid var(--line); padding-top: 26px; }
.after-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.after-item { border: 1px solid var(--line); border-radius: 8px; padding: 22px; display: grid; gap: 10px; align-content: start; }
.after-item.main { border-color: var(--line-strong); background: rgba(244,243,239,0.03); }
.after-price { font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.after-item h4 { margin: 4px 0 0; font-size: 1.1rem; font-weight: 500; letter-spacing: -0.01em; }
.after-item p { margin: 0; color: var(--grey); font-size: 0.95rem; line-height: 1.45; }

.example { grid-column: 1 / 13; margin: 0; font-size: clamp(1.15rem, 1.8vw, 1.6rem); letter-spacing: -0.02em; line-height: 1.35; max-width: 42ch; }

@media (max-width: 1100px) {
  .includes-all ul, .after-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .pricing h2, .pricing .pricing-note { grid-column: 1 / 13; }
  .pricing .pricing-note { margin-top: 20px; }
  .plans { grid-template-columns: 1fr; }
  .plan.lead { order: -1; }
  .plans .plans-label { order: -2; }
}
@media (max-width: 560px) {
  .includes-all ul, .after-grid { grid-template-columns: 1fr; }
}

/* Contact */
.contact .section-inner { min-height: 100vh; align-content: center; padding: clamp(80px, 12vh, 140px) 0; }
.contact .contact-head { grid-column: 1 / 6; }
.contact h2 { margin: 0 0 20px; font-size: clamp(2.2rem, 5vw, 5rem); line-height: 1; font-weight: 500; letter-spacing: -0.04em; }
.contact .contact-head p { color: var(--grey); max-width: 36ch; margin: 0; }
.contact form { grid-column: 7 / 13; display: grid; gap: 8px; }
.field { display: grid; gap: 8px; padding: 18px 0 14px; border-bottom: 1px solid var(--line); }
.field label { font-family: var(--label); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--grey); }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; padding: 0; margin: 0;
  color: var(--white); font: inherit; font-size: 1.25rem; letter-spacing: -0.01em; outline: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: var(--grey-2); }
.field:focus-within { border-bottom-color: var(--white); }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; flex-wrap: wrap; }
.form-foot .hint { color: var(--grey); font-size: 0.9rem; max-width: 36ch; margin: 0; }
.form-status { grid-column: 7 / 13; display: none; }
.form-status.show { display: block; }
.form-status h3 { margin: 0 0 10px; font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 500; letter-spacing: -0.03em; }
.form-status p { margin: 0; color: var(--grey); max-width: 40ch; }
.form-error { color: var(--white); font-size: 0.9rem; margin: 8px 0 0; display: none; }
.form-error.show { display: block; }
@media (max-width: 900px) {
  .contact .contact-head { grid-column: 1 / 13; margin-bottom: 24px; }
  .contact form, .form-status { grid-column: 1 / 13; }
}

/* Footer */
.site-footer { position: relative; z-index: 1; padding: 40px var(--gutter) 20px; background: var(--black); }
.site-footer .foot-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.site-footer .giant {
  font-size: clamp(3.4rem, 13.6vw, 13.6vw);
  line-height: 0.8;
  font-weight: 500;
  letter-spacing: -0.05em;
  padding-top: 26px;
  transform: translateY(0.1em);
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
}

/* Sub pages (privacy, terms, brand) */
.doc { position: relative; z-index: 1; padding: 140px var(--gutter) 80px; max-width: 1200px; }
.doc h1 { margin: 0 0 12px; font-size: clamp(2.4rem, 6vw, 5.6rem); line-height: 0.95; font-weight: 500; letter-spacing: -0.045em; }
.doc .effective { color: var(--grey); margin: 0 0 56px; }
.doc section { display: grid; grid-template-columns: 1fr 2fr; gap: 20px 40px; padding: 28px 0; border-top: 1px solid var(--line); }
.doc section h2 { margin: 0; font-size: 1.15rem; font-weight: 500; letter-spacing: -0.02em; }
.doc section h2 .n { font-family: var(--label); font-size: 0.72rem; letter-spacing: 0.08em; color: var(--grey); display: block; margin-bottom: 6px; }
.doc section > div { color: var(--grey); }
.doc section p { margin: 0 0 12px; }
.doc section p:last-child { margin-bottom: 0; }
.doc section ul { margin: 0; padding-left: 18px; }
.doc section li { margin: 0 0 8px; }
.doc section strong { color: var(--white); font-weight: 500; }
@media (max-width: 760px) { .doc section { grid-template-columns: 1fr; } }

/* Reveal on scroll (one subtle rise, no stagger party) */
.rise { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.rise.in { opacity: 1; transform: none; }

/* Cursor */
#cursor {
  position: fixed; top: 0; left: 0; z-index: 60;
  width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--white);
  mix-blend-mode: difference;
  pointer-events: none;
  transform: translate(-100px, -100px);
  transition: width 0.25s var(--ease), height 0.25s var(--ease), margin 0.25s var(--ease), opacity 0.3s;
  opacity: 0;
}
#cursor.on { opacity: 1; }
#cursor.big { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
@media (hover: none), (pointer: coarse) { #cursor { display: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  #loader { transition: none; }
  .rise { opacity: 1; transform: none; transition: none; }
  .pill { transition: none; }
  #cursor { display: none; }
}
