/* Layout, type and motion. No colour literals here: every colour comes from tokens.css. */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  padding-bottom: 96px;
  overflow-x: hidden;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 2px solid var(--leaf-light);
  outline-offset: 3px;
}
.sr,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--fg);
  color: var(--bg);
  border-radius: var(--radius-pill);
}
.wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
}

/* header: contract slot, then nav */
.top {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.ca {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 32px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.ca-label {
  flex: none;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--fg);
  color: var(--bg);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.ca-note {
  font-size: 18px;
  line-height: 1.3;
  color: var(--fg-quiet);
}
.ca--inert {
  cursor: default;
}
.ca-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  min-width: 0;
  text-align: left;
  border-radius: 14px;
  padding: 0 6px;
  transition: background 0.2s;
}
.ca-btn:hover {
  background: var(--surface-2);
}
.ca-address {
  font-family: var(--mono);
  font-size: 20px;
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: break-all;
}
.ca-action {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--fg-quiet);
}
.ca-action svg {
  width: 16px;
  height: 16px;
}
.ca-btn[data-copied] .ca-action {
  color: var(--leaf-light);
}
.nav {
  display: flex;
  align-items: center;
  height: 72px;
  gap: 26px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -1.375px;
  line-height: 1.55;
  min-height: 44px;
}
.brand img {
  width: 36px;
  height: 36px;
}
.nav-links {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-size: 14px;
}
.nav-links a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  transition: opacity 0.2s;
}
.nav-links a:hover {
  opacity: 0.7;
}
.nav-end {
  display: flex;
  align-items: center;
  gap: 4px;
}
.icon-link,
.nav-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  transition: background 0.2s, transform 0.2s;
}
.icon-link svg {
  width: 22px;
  height: 22px;
}
.nav-toggle svg {
  width: 24px;
  height: 24px;
}
.icon-link:hover,
.nav-toggle:hover {
  background: var(--surface-2);
}
.icon-link--inert {
  opacity: 0.4;
  cursor: default;
}
.nav-toggle {
  display: none;
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 14px;
  line-height: 1.55;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 0.2s, background 0.2s, transform 0.2s;
}
.btn svg {
  width: 16px;
  height: 16px;
}
.btn-primary {
  background: var(--fg);
  color: var(--bg);
}
.btn-secondary {
  background: var(--surface-2);
  color: var(--fg);
}
.btn:hover {
  filter: brightness(0.94);
}
.btn:active {
  transform: translateY(1px);
}
.btn--inert {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

/* hero */
.hero {
  position: relative;
}
.hero-copy {
  text-align: center;
  padding: 0 20px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 12px auto 22px;
  min-height: 44px;
  padding: 6px 14px 6px 6px;
  border-radius: 99px;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  color: var(--leaf-light);
  font-size: 13px;
  line-height: 1.3;
  text-decoration: none;
  max-width: 100%;
  transition: filter 0.2s;
}
.hero-pill:hover {
  filter: brightness(1.12);
}
.hero-pill b {
  flex: none;
  padding: 3px 9px;
  border-radius: 99px;
  background: var(--leaf);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.hero-pill svg {
  flex: none;
  width: 14px;
  height: 14px;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
}
h1 {
  font-size: 72px;
  line-height: 72px;
  letter-spacing: -2.8px;
  margin-bottom: 28px;
}
.hero-copy > p {
  max-width: 560px;
  margin: 0 auto 25px;
  font-size: 16px;
  line-height: 24px;
}
.actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-wave {
  position: relative;
  height: 378px;
  margin-top: 0;
  overflow: hidden;
}
.wave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.wave-a {
  fill: var(--field);
  transform-origin: 50% 100%;
  animation: ribbon-drift 8.084s ease-in-out infinite;
}
.wave-b {
  fill: var(--field-mid);
  opacity: 0.75;
  transform-origin: 50% 100%;
  animation: flower-sway 9s ease-in-out infinite;
}
.wave-c {
  fill: var(--leaf-deep);
  transform-origin: 50% 100%;
  animation: privacy-float 7s ease-in-out infinite;
}
.spore {
  position: absolute;
  border-radius: 50%;
  background: var(--mint);
  opacity: 0.85;
  animation: firefly 6s ease-in-out infinite;
}
.spore.s1 {
  width: 14px;
  height: 14px;
  left: 9%;
  top: 22%;
}
.spore.s2 {
  width: 20px;
  height: 20px;
  left: 82%;
  top: 30%;
  animation-delay: -2s;
  background: var(--leaf-light);
}
.spore.s3 {
  width: 10px;
  height: 10px;
  left: 46%;
  top: 12%;
  animation-delay: -4s;
  background: var(--orange);
}
.motion-btn {
  position: absolute;
  right: 33px;
  bottom: 120px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line);
  z-index: 3;
  transition: background 0.2s;
}
.motion-btn:hover {
  background: var(--surface-2);
}
.motion-btn svg {
  width: 18px;
  height: 18px;
}
.caps {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 30px;
  height: 112px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.5px;
}
.caps span {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.caps svg {
  width: 23px;
  height: 23px;
  color: var(--leaf-light);
}

/* proof */
.proof {
  border-top: 1px solid var(--line);
  padding: 58px 0;
  display: grid;
  grid-template-columns: 1fr 1fr 2.1fr;
  gap: 40px;
  align-items: start;
}
.proof-num strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 40px;
  line-height: 40px;
  letter-spacing: -1.8px;
  margin-bottom: 8px;
}
.proof-num span,
.proof-note p {
  font-size: 14px;
  line-height: 21px;
  color: var(--fg-quiet);
}
.proof-note p {
  line-height: 20.3px;
}
.proof-sign {
  margin-top: 20px;
  font-size: 12px;
  line-height: 18.6px;
}
.proof-sign b {
  font-weight: 600;
}

/* ledger panel */
.ledger-panel {
  margin: 30px 0 65px;
  padding: 38px;
  border-radius: var(--radius-panel);
  background: var(--panel-green);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 30px;
  align-items: center;
}
.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--leaf-light);
  margin-bottom: 12px;
}
.ledger-copy h2 {
  font-size: 35px;
  line-height: 54.25px;
  letter-spacing: -1.2px;
  margin-bottom: 12px;
}
.ledger-copy p {
  font-size: 14px;
  line-height: 20px;
  color: var(--fg-quiet);
  max-width: 420px;
  margin-bottom: 22px;
}
.ledger-copy p b {
  color: var(--fg);
}
.recs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.rec {
  border-radius: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.rec-in {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-height: 62px;
  padding: 12px 16px;
  text-decoration: none;
}
.rec--stated:hover {
  border-color: var(--leaf);
}
.rec-k {
  font-size: 12px;
  color: var(--fg-quiet);
}
.rec-v {
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.rec-v--empty {
  color: var(--fg-quiet);
}
.rec small {
  font-size: 11.5px;
  color: var(--fg-quiet);
}
.rec--absent,
.rec--unconfirmed {
  border-style: dashed;
}

/* brand plate */
.plate {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-panel);
  background: var(--surface);
  padding: 32px 32px 64px;
  text-align: center;
}
.plate-img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 40px;
}
.plate-copy h2 {
  font-size: 40px;
  line-height: 40px;
  letter-spacing: -1.2px;
  margin-bottom: 16px;
}
.plate-copy p {
  font-size: 14px;
  line-height: 20px;
  color: var(--fg-quiet);
  margin-bottom: 24px;
}
.satellite {
  position: absolute;
  border-radius: 50%;
  background: var(--orange);
  width: 22px;
  height: 22px;
  left: 7%;
  bottom: 30%;
  animation: stopmotion-drift 6s step-end infinite;
}
.satellite.two {
  background: var(--leaf-light);
  width: 16px;
  height: 16px;
  left: auto;
  right: 9%;
  bottom: 38%;
  animation-duration: 7.5s;
  animation-delay: -2.5s;
}
.satellite.three {
  background: var(--violet);
  width: 26px;
  height: 26px;
  left: 20%;
  bottom: 12%;
  animation-duration: 5.25s;
  animation-delay: -4s;
}

/* features */
.features {
  padding-top: 80px;
}
.intro {
  max-width: 595px;
  margin-bottom: 72px;
}
.intro h2,
.feature-copy h2,
.setup h2,
.create h2 {
  font-size: 40px;
  line-height: 40px;
  letter-spacing: -1.3px;
}
.intro h2 {
  margin-bottom: 24px;
}
.intro p {
  font-size: 14px;
  line-height: 20px;
  color: var(--fg-quiet);
}
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  margin-bottom: 64px;
}
.feature.reversed .feature-art {
  order: -1;
}
.tag {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 99px;
  background: var(--surface);
  font-size: 14px;
  line-height: 21.7px;
  margin-bottom: 17px;
}
.feature-copy {
  min-width: 0;
}
.feature-copy h2 {
  margin-bottom: 78px;
  max-width: 590px;
}
.acc {
  max-width: 668px;
}
.acc-item {
  position: relative;
  border-top: 1px solid var(--line);
}
.acc-trigger {
  width: 100%;
  min-height: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 26px 0;
  text-align: left;
  font-size: 14px;
  line-height: 21px;
}
.acc-sign {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
}
.acc-sign::before,
.acc-sign::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 6px;
  height: 2px;
  background: var(--fg-quiet);
  transition: transform 0.25s ease;
}
.acc-sign::after {
  transform: rotate(90deg);
}
.acc-trigger[aria-expanded='true'] .acc-sign::after {
  transform: rotate(0);
}
.acc-body {
  font-size: 14px;
  line-height: 20px;
  color: var(--fg-quiet);
  max-width: 390px;
  padding-bottom: 23px;
}
.acc-body:not([hidden]) {
  animation: content-enter 0.24s var(--ease-enter) both;
}
.acc-progress {
  position: absolute;
  left: 0;
  top: -1px;
  height: 1px;
  width: 0;
  background: var(--fg-quiet);
  display: none;
}
.acc-item:has(.acc-trigger[aria-expanded='true']) .acc-progress {
  display: block;
  animation: feature-progress 6.5s linear both;
}
.feature-art {
  position: relative;
  isolation: isolate;
  aspect-ratio: 1.0325;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  display: grid;
  place-items: center;
}
.feature-art::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.62;
  transform: scale(1.04);
}
.feature-art::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--frost) 12%, transparent);
}
.art-orange {
  background: var(--orange);
}
.art-orange::before {
  background: radial-gradient(circle at 18% 16%, var(--leaf-light), transparent 62%), radial-gradient(circle at 86% 90%, var(--field), transparent 58%);
}
.art-violet {
  background: var(--violet);
}
.art-violet::before {
  background: radial-gradient(circle at 80% 14%, var(--mint), transparent 60%), radial-gradient(circle at 12% 92%, var(--night), transparent 56%);
}
.art-green {
  background: var(--field);
}
.art-green::before {
  background: radial-gradient(circle at 22% 20%, var(--leaf-light), transparent 60%), radial-gradient(circle at 88% 86%, var(--night), transparent 56%);
}
.scene {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}
.scene-shell {
  width: 320px;
  max-width: calc(100% - 32px);
  padding: 23px;
  border-radius: 17px;
  font-size: 13px;
  background: color-mix(in srgb, var(--bg) 93%, transparent);
  border: 1px solid color-mix(in srgb, var(--frost) 16%, transparent);
  box-shadow: 0 18px 40px var(--shadow);
  transition: transform 0.6s var(--ease-card), box-shadow 0.6s;
}
.feature-art:hover .scene-shell {
  transform: translateY(-4px);
}
.scene-heading {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 13px;
}
.scene-heading small {
  margin-left: auto;
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--fg-quiet);
  font-weight: 700;
}
.scene-icon {
  width: 28px;
  height: 28px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--leaf-light);
}
.scene-icon svg {
  width: 15px;
  height: 15px;
}
.scene-amount {
  font-family: var(--serif);
  font-size: 44px;
  line-height: 1;
  letter-spacing: -1.5px;
  margin: 20px 0 6px;
}
.scene-amount small {
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0;
  color: var(--fg-quiet);
  margin-left: 6px;
}
.scene-shell > p {
  color: var(--fg-quiet);
  margin-bottom: 16px;
}
.scene-days {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}
.scene-days span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px dashed var(--line);
  color: var(--fg-quiet);
  font-size: 11px;
}
.scene-days .chosen {
  background: var(--leaf);
  border: 0;
  color: var(--ink);
}
.scene-days svg {
  width: 14px;
  height: 14px;
}
.scene-list {
  margin: 18px 0;
}
.scene-list li {
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.scene-list .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  text-decoration: none;
}
.scene-list strong {
  font-weight: 600;
}
.scene-list em {
  font-style: normal;
  color: var(--fg-quiet);
  font-size: 12px;
}
.scene-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--fg-quiet);
}
.scene-footer svg {
  width: 15px;
  height: 15px;
  color: var(--leaf-light);
  flex: none;
}
.scene-chip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 9%;
  margin: 0 auto;
  width: fit-content;
  max-width: calc(100% - 24px);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px 4px 8px;
  border-radius: 99px;
  background: var(--fg);
  color: var(--bg);
  font-size: 12px;
  white-space: nowrap;
  animation: privacy-float 7s ease-in-out infinite;
}
.scene-chip .scene-icon {
  width: 24px;
  height: 24px;
  background: var(--bg);
  color: var(--leaf-light);
}
.scene-chip a {
  display: inline-grid;
  place-items: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 12px;
  border-radius: 99px;
  background: var(--bg);
  color: var(--fg);
  text-decoration: none;
  font-weight: 600;
}

/* setup */
.setup {
  padding: 80px 0 96px;
}
.setup h2 {
  margin-bottom: 64px;
}
.setup-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.447fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.setup-step {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0 0 24px;
  margin-bottom: 23px;
  border-bottom: 1px solid var(--line);
  min-height: 44px;
  color: var(--fg-quiet);
  transition: color 0.2s;
}
.setup-step:last-of-type {
  border-bottom: 0;
}
.setup-step > span {
  display: block;
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  letter-spacing: -1.2px;
  margin-bottom: 14px;
}
.setup-step p {
  font-size: 14px;
  line-height: 20px;
  max-width: 330px;
}
.setup-step[aria-selected='true'] {
  color: var(--fg);
}
.setup-start {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.setup-start small {
  font-size: 12px;
  color: var(--fg-quiet);
  max-width: 200px;
  line-height: 18px;
}
.setup-art {
  position: relative;
  height: 514px;
  padding: 52px 74px 0;
  border-radius: var(--radius-card);
  background: var(--surface);
  overflow: hidden;
}
.setup-window {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  height: 462px;
  border-radius: 22px 22px 0 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-bottom: 0;
  overflow: hidden;
}
.setup-side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 14px;
  border-right: 1px solid var(--line);
  font-size: 12px;
  color: var(--fg-quiet);
}
.setup-side img {
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
}
.setup-content {
  padding: 28px 30px;
  min-width: 0;
}
.setup-content h3 {
  font-size: 24px;
  line-height: 26.88px;
  letter-spacing: -0.6px;
  margin-bottom: 22px;
}
.setup-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--fg-quiet);
  margin-bottom: 8px;
}
.setup-field {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 26px;
  overflow-wrap: anywhere;
}
.setup-balance {
  font-family: var(--serif);
  font-size: 48px;
  line-height: 1;
  letter-spacing: -1.6px;
  margin-bottom: 8px;
}
.setup-small {
  font-size: 12px;
  color: var(--fg-quiet);
}
.setup-float {
  position: absolute;
  left: 28px;
  bottom: 26px;
  width: 260px;
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--fg);
  color: var(--bg);
  box-shadow: 0 18px 40px var(--shadow);
  animation: privacy-float 7s ease-in-out infinite;
}
.setup-float span {
  font-size: 10px;
  letter-spacing: 0.08em;
  font-weight: 700;
  opacity: 0.7;
}
.setup-float h3 {
  font-size: 20px;
  line-height: 24px;
  letter-spacing: -0.5px;
  margin: 6px 0;
}
.setup-float p {
  font-size: 13px;
  line-height: 18px;
}
[role='tabpanel']:not([hidden]) .setup-art {
  animation: content-enter 0.24s var(--ease-enter) both;
}

/* community */
.community {
  padding-top: 64px;
}
.community .intro {
  max-width: 700px;
}
.community-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 12px;
}
.create {
  padding: 64px 35px;
  border-radius: var(--radius-card);
  background: var(--surface);
  text-align: center;
}
.create > p {
  font-size: 14px;
  margin-top: 12px;
  color: var(--fg-quiet);
}
.orbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin: 32px 0 38px;
  height: 180px;
}
.orb {
  width: 145px;
  height: 145px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  color: var(--fg);
}
.orb svg {
  width: 44px;
  height: 44px;
}
.orb.center {
  width: 180px;
  height: 180px;
  margin: 0 -14px;
  z-index: 1;
  background: var(--bg);
  border-color: var(--leaf);
}
.orb.center img {
  width: 96px;
  height: 96px;
}
.create > small {
  display: block;
  font-size: 13px;
  line-height: 20px;
  color: var(--fg-quiet);
  margin-bottom: 24px;
}
.create-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.roles {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: 12px;
}
.role {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 38px;
  padding: 28px;
  text-align: left;
  border-radius: var(--radius-card);
  background: var(--surface);
  border: 1px solid transparent;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.role:hover,
.role.active {
  border-color: var(--leaf);
}
.role h3 {
  font-size: 28px;
  line-height: 1;
  letter-spacing: -1.2px;
}
.role p {
  font-size: 14px;
  line-height: 20px;
  color: var(--fg-quiet);
  max-width: 290px;
}

/* principles */
.principles {
  padding: 128px 0 64px;
}
.principles h2 {
  font-size: 20px;
  line-height: 31px;
  color: var(--fg-quiet);
  margin-bottom: 32px;
}
.principle-stage {
  min-height: 174px;
}
.principle-copy {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 58px;
  letter-spacing: -0.8px;
  max-width: 1184px;
  margin-bottom: 35px;
}
.principle-copy:not([hidden]) {
  animation: scene-in 0.45s ease both;
}
.principle-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.principle-author {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  line-height: 1.3;
}
.principle-author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  padding: 4px;
}
.principle-author small {
  display: block;
  font-size: 12px;
  color: var(--fg-quiet);
}
.principle-controls {
  display: flex;
  gap: 8px;
}
.principle-controls button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  transition: background 0.2s, transform 0.2s;
}
.principle-controls button:hover {
  background: var(--surface-2);
}
.principle-controls svg {
  width: 20px;
  height: 20px;
}

/* faq, closing, footer */
.faq {
  padding: 76px 0 55px;
}
.faq h2 {
  font-size: 20px;
  line-height: 31px;
  color: var(--fg-quiet);
  margin-bottom: 25px;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 44px;
  padding: 20px 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.25;
  letter-spacing: -0.84px;
  transition: opacity 0.18s ease;
}
.faq summary:hover {
  opacity: 0.8;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  font-family: var(--sans);
  font-size: 24px;
  color: var(--fg-quiet);
}
.faq details[open] summary::after {
  content: '\2212';
}
.faq details p {
  max-width: 700px;
  padding-bottom: 22px;
  font-size: 14px;
  line-height: 20px;
  color: var(--fg-quiet);
}
.faq details[open] p {
  animation: content-enter 0.24s var(--ease-enter) both;
}
.closing {
  padding: 80px 0 64px;
}
.closing h2 {
  font-size: 40px;
  line-height: 44px;
  letter-spacing: -1.2px;
  margin-bottom: 16px;
}
.closing p {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 20px;
  max-width: 560px;
}
.closing .fine {
  font-size: 12px;
  line-height: 18px;
  color: var(--fg-quiet);
  max-width: 720px;
}
.foot {
  display: grid;
  grid-template-columns: minmax(0, 828fr) minmax(0, 448fr);
  gap: 100px;
  padding: 15px 0 48px;
  border-top: 1px solid var(--line);
}
.foot p {
  font-size: 12px;
  line-height: 18px;
  color: var(--fg-quiet);
  margin-top: 10px;
}
.foot-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 14px;
  align-content: start;
  font-size: 14px;
}
.foot-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  transition: opacity 0.2s;
}
.foot-links a:hover {
  opacity: 0.7;
}

/* dock: address check */
.dock {
  position: fixed;
  z-index: 40;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  align-items: center;
  width: 550px;
  max-width: calc(100% - 24px);
}
.dock-form {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
  min-width: 0;
  height: 52px;
  padding: 4px 4px 4px 18px;
  border-radius: 99px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 3px 8px var(--shadow);
}
.dock-form input {
  height: 44px;
  min-width: 0;
  flex: 1;
  background: transparent;
  border: 0;
  color: var(--fg);
  font: inherit;
  font-size: 13px;
  outline-offset: 1px;
}
.dock-form input::placeholder {
  color: var(--fg-quiet);
}
.dock-form button {
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--fg);
  color: var(--bg);
  transition: filter 0.2s, transform 0.2s;
}
.dock-form button:hover {
  filter: brightness(0.94);
}
.dock-form button svg {
  width: 18px;
  height: 18px;
}
.dock .dock-cta {
  min-height: 52px;
}
.dock-out {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 8px);
  padding: 10px 16px;
  border-radius: 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 13px;
  line-height: 19px;
  animation: content-enter 0.24s var(--ease-enter) both;
}
.dock-out[data-kind='match'] {
  border-color: var(--leaf);
}
.dock-out[data-kind='mismatch'] {
  border-color: var(--orange);
}

/* motion */
.js [data-reveal] {
  opacity: 0;
}
.js [data-reveal].in {
  animation: scene-in 0.6s ease both;
}
@keyframes scene-in {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes content-enter {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes feature-progress {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}
@keyframes ribbon-drift {
  0%,
  100% {
    transform: translateY(-12px) rotate(-1deg);
  }
  50% {
    transform: translateY(12px) rotate(1deg);
  }
}
@keyframes flower-sway {
  0%,
  100% {
    transform: scale(1.025) rotate(-0.3deg);
  }
  50% {
    transform: scale(1.04) rotate(0.3deg);
  }
}
@keyframes privacy-float {
  50% {
    transform: translateY(-9px) rotate(1deg);
  }
}
@keyframes firefly {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.4;
  }
  50% {
    transform: translate(10px, -16px);
    opacity: 0.95;
  }
}
@keyframes stopmotion-drift {
  0% {
    transform: translateZ(0) rotate(0) scale(1);
  }
  25% {
    transform: translate3d(-4px, -25px, 0) rotate(-4deg) scale(1.12);
  }
  50% {
    transform: translate3d(-6px, -30px, 0) rotate(-7deg) scale(1.14);
  }
  75% {
    transform: translate3d(5px, -11px, 0) rotate(3deg) scale(1.03);
  }
}
html[data-motion='paused'] .wave path,
html[data-motion='paused'] .spore,
html[data-motion='paused'] .satellite,
html[data-motion='paused'] .scene-chip,
html[data-motion='paused'] .setup-float,
html[data-motion='paused'] .acc-progress {
  animation-play-state: paused;
}

/* tablet */
@media (max-width: 1000px) {
  h1 {
    font-size: 56px;
    line-height: 56px;
    letter-spacing: -2.2px;
  }
  .caps {
    font-size: 16px;
    gap: 18px;
  }
  .ledger-panel {
    grid-template-columns: 1fr;
  }
  .feature {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .feature.reversed .feature-art {
    order: 0;
  }
  .feature-copy h2 {
    margin-bottom: 40px;
  }
  .setup-grid,
  .community-grid,
  .foot {
    grid-template-columns: 1fr;
  }
  .setup-art {
    padding: 40px 40px 0;
  }
  .foot {
    gap: 30px;
  }
  .principle-copy {
    font-size: 32px;
    line-height: 46px;
  }
}

/* phone */
@media (max-width: 767px) {
  .wrap,
  .ca {
    padding-left: 16px;
    padding-right: 16px;
  }
  .ca {
    gap: 10px;
    align-items: flex-start;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  .ca-label {
    margin-top: 10px;
  }
  .ca-btn {
    gap: 10px;
    padding: 4px 6px;
  }
  .ca-address {
    flex: 1;
    min-width: 0;
    font-size: 15px;
  }
  .ca-action {
    flex-direction: column;
    gap: 2px;
    min-width: 44px;
    font-size: 11px;
  }
  .ca-note {
    font-size: 16px;
    padding-top: 6px;
  }
  .nav {
    height: 60px;
    gap: 8px;
  }
  .brand {
    font-size: 22px;
    margin-right: auto;
  }
  .nav-toggle {
    display: grid;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 8px 16px 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }
  .top.open .nav-links {
    display: flex;
  }
  .nav-links a {
    border-bottom: 1px solid var(--line);
    min-height: 48px;
  }
  h1 {
    font-size: 44px;
    line-height: 44px;
    letter-spacing: -1.7px;
    margin-bottom: 20px;
  }
  .hero-copy > p {
    font-size: 14px;
    max-width: 280px;
  }
  .hero-pill {
    font-size: 12px;
    margin-bottom: 18px;
  }
  .hero-wave {
    height: 273px;
  }
  .motion-btn {
    right: 15px;
    bottom: 100px;
  }
  .caps {
    height: 90px;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    padding: 0 22px;
    gap: 38px;
    font-size: 17px;
    -webkit-mask-image: linear-gradient(90deg, transparent, var(--bg) 6%, var(--bg) 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, var(--bg) 6%, var(--bg) 94%, transparent);
  }
  .caps::-webkit-scrollbar {
    display: none;
  }
  .caps svg {
    width: 21px;
    height: 21px;
  }
  .proof {
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
    padding: 38px 0;
  }
  .proof-note {
    grid-column: 1 / -1;
  }
  .ledger-panel {
    padding: 26px;
    margin: 24px 0 40px;
  }
  .ledger-copy h2 {
    font-size: 30px;
    line-height: 1.2;
  }
  .rec-in {
    min-height: 56px;
    padding: 10px 12px;
  }
  .rec-v {
    font-size: 14px;
  }
  .plate {
    padding: 16px 16px 44px;
  }
  .plate-img {
    max-height: 200px;
    margin-bottom: 28px;
  }
  .plate-copy h2 {
    font-size: 32px;
    line-height: 34px;
  }
  .features {
    padding-top: 56px;
  }
  .intro {
    margin-bottom: 44px;
  }
  .intro h2,
  .feature-copy h2,
  .setup h2,
  .create h2 {
    font-size: 32px;
    line-height: 33.3px;
  }
  .feature-art {
    aspect-ratio: auto;
    min-height: 410px;
  }
  .setup {
    padding: 56px 0 64px;
  }
  .setup h2 {
    margin-bottom: 40px;
  }
  .setup-art {
    height: 430px;
    padding: 28px 16px 0;
  }
  .setup-window {
    grid-template-columns: 78px minmax(0, 1fr);
    height: 402px;
  }
  .setup-side {
    padding: 14px 10px;
    font-size: 11px;
  }
  .setup-content {
    padding: 20px 16px;
  }
  .setup-balance {
    font-size: 36px;
  }
  .setup-float {
    left: 12px;
    width: 220px;
    bottom: 14px;
  }
  .community {
    padding-top: 40px;
  }
  .create {
    padding: 40px 20px;
  }
  .orbs {
    height: 130px;
  }
  .orb {
    width: 96px;
    height: 96px;
  }
  .orb svg {
    width: 30px;
    height: 30px;
  }
  .orb.center {
    width: 126px;
    height: 126px;
    margin: 0 -10px;
  }
  .orb.center img {
    width: 66px;
    height: 66px;
  }
  .role {
    padding: 24px;
    gap: 24px;
  }
  .role h3 {
    font-size: 26px;
  }
  .principles {
    padding: 75px 0 45px;
  }
  .principle-copy {
    font-size: 30px;
    line-height: 43.5px;
  }
  .principle-stage {
    min-height: 305px;
  }
  .faq {
    padding: 48px 0 40px;
  }
  .faq summary {
    font-size: 22px;
  }
  .closing {
    padding: 48px 0 40px;
  }
  .closing h2 {
    font-size: 32px;
    line-height: 34px;
  }
  .foot {
    gap: 25px;
  }
  .dock .dock-cta {
    display: none;
  }
}
@media (max-width: 359px) {
  .ca-address {
    font-size: 13px;
  }
  h1 {
    font-size: 38px;
    line-height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal] {
    opacity: 1;
  }
  .acc-progress {
    display: none !important;
  }
}
