/* usebanky.app: public pages. Same brand as the app (paper, ink, signal orange). */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/fonts/hanken.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --paper: #fafaf7;
  --ink: #18181b;
  --muted: #5f5f67;
  --line: #e7e5df;
  --signal: #ff5a1f;
  --signal-deep: #c43d0b;
  --ember: #fff0e8;
  --go: #15803d;
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --body: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 72rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--body);
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}
a:hover {
  color: var(--signal-deep);
}
:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 4px;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}
p {
  margin: 0;
  text-wrap: pretty;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 10;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 0.75rem;
}

/* ───────── header / footer ───────── */
.site-head {
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 5;
}
.site-head .wrap {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 4rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font: 700 1.125rem/1 var(--display);
  letter-spacing: -0.02em;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 0.55rem;
  background: var(--signal);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
}
.site-nav {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
  font-size: 0.95rem;
}
.site-nav a {
  text-decoration: none;
  color: var(--muted);
}
.site-nav a:hover {
  color: var(--ink);
}
.site-head .actions {
  display: flex;
  gap: 0.5rem;
}
@media (max-width: 760px) {
  .site-nav {
    display: none;
  }
  .site-head .actions {
    margin-left: auto;
  }
  .site-head .btn-quiet {
    display: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0 1.15rem;
  border-radius: 0.7rem;
  font: 600 0.98rem/1 var(--body);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-go {
  background: var(--signal);
  color: #fff;
}
.btn-go:hover {
  background: var(--signal-deep);
  color: #fff;
}
.btn-quiet {
  border-color: var(--line);
  background: #fff;
}
.btn-quiet:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-small {
  min-height: 2.35rem;
  padding: 0 0.9rem;
  font-size: 0.92rem;
}

.site-foot {
  border-top: 1px solid var(--line);
  margin-top: 6rem;
  padding: 2.5rem 0 3rem;
  font-size: 0.92rem;
  color: var(--muted);
}
.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
}
.site-foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-left: auto;
}

/* ───────── hero ───────── */
.hero {
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5.5rem);
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 6.2vw, 4.75rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 0.98;
  font-variation-settings: "opsz" 96;
}
.hero-lede {
  margin-top: 1.5rem;
  font-size: clamp(1.08rem, 1.6vw, 1.22rem);
  color: #3d3d44;
  max-width: 34rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.hero-note {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--muted);
}
@media (max-width: 900px) {
  .hero .wrap {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* The plan: the one loud thing on the page. An idea in, a plan out. */
.plan-demo {
  position: relative;
}
.idea {
  background: var(--ink);
  color: #f4f4f5;
  border-radius: 1.1rem 1.1rem 0.35rem 1.1rem;
  padding: 1rem 1.15rem;
  font-size: 0.98rem;
  line-height: 1.5;
  max-width: 30rem;
  margin-left: auto;
}
.idea small {
  display: block;
  color: #a1a1aa;
  font-size: 0.8rem;
  margin-bottom: 0.3rem;
}
.plan {
  margin-top: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  box-shadow: 0 1px 0 var(--line), 0 24px 48px -28px rgb(24 24 27 / 0.35);
  overflow: hidden;
}
.plan-top {
  padding: 1.1rem 1.25rem 0.9rem;
  border-bottom: 1px solid var(--line);
}
.plan-top h3 {
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.plan-top p {
  margin-top: 0.3rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.plan-steps {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  counter-reset: step;
}
.plan-steps li {
  display: grid;
  grid-template-columns: 1.75rem minmax(0, 1fr) auto;
  gap: 0.6rem;
  align-items: start;
  padding: 0.55rem 1.25rem;
  font-size: 0.95rem;
  line-height: 1.4;
}
.plan-steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  font: 700 0.75rem/1 var(--body);
}
.plan-steps .how {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
}
.tool {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: #f1f0ec;
  white-space: nowrap;
}
.tool.asks {
  background: var(--ember);
  color: var(--signal-deep);
}
.plan-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.25rem 1.1rem;
  border-top: 1px solid var(--line);
  background: #fcfcfa;
}
.cost {
  font-size: 0.9rem;
  color: var(--muted);
}
.cost b {
  color: var(--ink);
  font-weight: 700;
}
.plan-foot .btns {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
}
.fake-btn {
  font: 600 0.88rem/1 var(--body);
  padding: 0.6rem 0.85rem;
  border-radius: 0.6rem;
  border: 1px solid var(--line);
  background: #fff;
}
.fake-btn.go {
  background: var(--signal);
  border-color: var(--signal);
  color: #fff;
}

/* One orchestrated entrance: the idea, then the plan's steps, then the approve button. */
@media (prefers-reduced-motion: no-preference) {
  .plan-demo .idea {
    animation: rise 0.5s ease-out both;
  }
  .plan-demo .plan {
    animation: rise 0.55s 0.35s ease-out both;
  }
  .plan-demo .plan-steps li {
    animation: rise 0.4s ease-out both;
  }
  .plan-demo .plan-steps li:nth-child(1) { animation-delay: 0.75s; }
  .plan-demo .plan-steps li:nth-child(2) { animation-delay: 0.9s; }
  .plan-demo .plan-steps li:nth-child(3) { animation-delay: 1.05s; }
  .plan-demo .plan-steps li:nth-child(4) { animation-delay: 1.2s; }
  .plan-demo .plan-steps li:nth-child(5) { animation-delay: 1.35s; }
  .plan-demo .fake-btn.go {
    animation: ready 0.7s 1.7s ease-out both;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}
@keyframes ready {
  0% { box-shadow: 0 0 0 0 rgb(255 90 31 / 0.55); }
  100% { box-shadow: 0 0 0 12px rgb(255 90 31 / 0); }
}

/* ───────── sections ───────── */
.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0 0;
}
.section-head {
  max-width: 44rem;
}
.section-head h2 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
}
.section-head p {
  margin-top: 1rem;
  color: #3d3d44;
  font-size: 1.1rem;
  max-width: 38rem;
}

/* How it works: a real sequence, so it's numbered. */
.steps {
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}
.steps li {
  padding: 1.5rem 1.5rem 0 0;
}
.steps li + li {
  padding-left: 1.5rem;
  border-left: 1px solid var(--line);
}
.steps .n {
  font: 700 2.6rem/1 var(--display);
  color: var(--signal);
  letter-spacing: -0.04em;
}
.steps h3 {
  margin-top: 1rem;
  font-size: 1.3rem;
}
.steps p {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.98rem;
}
@media (max-width: 860px) {
  .steps {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .steps li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }
  .steps li:nth-child(n + 3) {
    margin-top: 1.5rem;
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 520px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
  }
  .steps li,
  .steps li + li {
    padding: 1.25rem 0 0;
    border-left: 0;
  }
  .steps li + li {
    margin-top: 1.25rem;
    border-top: 1px solid var(--line);
  }
}

/* Ideas people build: written like chat messages, because that's how they start. */
.ideas {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
}
.ideas figure {
  margin: 0;
  padding: 1.25rem 1.35rem;
  border-left: 3px solid var(--signal);
  background: #fff;
  border-radius: 0 0.9rem 0.9rem 0;
}
.ideas blockquote {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.5;
}
.ideas figcaption {
  margin-top: 0.75rem;
  font-size: 0.88rem;
  color: var(--muted);
}
@media (max-width: 760px) {
  .ideas {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Safety: a dark band, the only one on the page. */
.band {
  margin-top: clamp(4rem, 9vw, 7rem);
  background: var(--ink);
  color: #f4f4f5;
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}
.band .section-head p {
  color: #c9c9cf;
}
.promises {
  margin-top: 2.75rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.25rem 2.5rem;
}
.promises h3 {
  font-size: 1.2rem;
  letter-spacing: -0.015em;
}
.promises p {
  margin-top: 0.5rem;
  color: #b4b4bb;
  font-size: 0.98rem;
}
.promises svg {
  width: 1.6rem;
  height: 1.6rem;
  color: var(--signal);
  margin-bottom: 0.9rem;
}
@media (max-width: 860px) {
  .promises {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
@media (max-width: 540px) {
  .promises {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* What agents can do: a plain two-column list, not cards. */
.can {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 3rem;
  list-style: none;
  padding: 0;
}
.can li {
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}
.can b {
  display: block;
  font-family: var(--display);
  font-size: 1.12rem;
  letter-spacing: -0.015em;
}
.can span {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.97rem;
}
@media (max-width: 760px) {
  .can {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Pricing */
.price-switch {
  display: inline-flex;
  margin-top: 2rem;
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: #fff;
}
.price-switch button {
  font: 600 0.92rem/1 var(--body);
  border: 0;
  background: none;
  padding: 0.6rem 0.95rem;
  border-radius: 0.6rem;
  cursor: pointer;
  color: var(--muted);
}
.price-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}
.packs {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: 1.15fr repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: #fff;
  overflow: hidden;
}
.pack {
  padding: 1.5rem 1.4rem 1.6rem;
}
.pack + .pack {
  border-left: 1px solid var(--line);
}
.pack.free {
  background: var(--ember);
}
.pack h3 {
  font-size: 1.1rem;
}
.pack .amount {
  margin-top: 0.85rem;
  font: 700 2.2rem/1 var(--display);
  letter-spacing: -0.03em;
}
.pack .credits {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.pack p {
  margin-top: 0.85rem;
  font-size: 0.92rem;
  color: #3d3d44;
}
.packs[hidden] {
  display: none;
}
.price-notes {
  margin-top: 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 48rem;
}
@media (max-width: 900px) {
  .packs {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .pack:nth-child(3) {
    border-left: 0;
  }
  .pack:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}
@media (max-width: 520px) {
  .packs {
    grid-template-columns: minmax(0, 1fr);
  }
  .pack + .pack {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

/* FAQ */
.faq {
  margin-top: 2rem;
  max-width: 48rem;
}
.faq details {
  border-top: 1px solid var(--line);
  padding: 1.1rem 0;
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  font: 650 1.12rem/1.35 var(--display);
  letter-spacing: -0.01em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--signal);
  font-weight: 700;
}
.faq details[open] summary::after {
  content: "–";
}
.faq details p {
  margin-top: 0.7rem;
  color: #3d3d44;
}

/* Closing call */
.closing {
  margin-top: clamp(4rem, 9vw, 7rem);
}
.closing .wrap > div {
  border-top: 2px solid var(--ink);
  padding-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  align-items: end;
  justify-content: space-between;
}
.closing h2 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 40rem;
}

/* ───────── legal pages ───────── */
.legal {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 0;
}
.legal .wrap {
  display: grid;
  grid-template-columns: 15rem minmax(0, 1fr);
  gap: 3rem;
}
.legal h1 {
  font-size: clamp(2.3rem, 5vw, 3.4rem);
}
.legal .updated {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.legal .toc {
  position: sticky;
  top: 5.5rem;
  align-self: start;
  font-size: 0.92rem;
}
.legal .toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}
.legal .toc a {
  text-decoration: none;
  color: var(--muted);
}
.legal .toc a:hover {
  color: var(--ink);
}
.prose {
  max-width: 44rem;
}
.prose .summary {
  margin-top: 2rem;
  padding: 1.25rem 1.4rem;
  background: var(--ember);
  border-radius: 0.9rem;
}
.prose .summary ul {
  margin: 0.6rem 0 0;
  padding-left: 1.2rem;
}
.prose h2 {
  margin-top: 3rem;
  font-size: 1.65rem;
  scroll-margin-top: 5.5rem;
}
.prose h3 {
  margin-top: 1.75rem;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}
.prose p,
.prose ul,
.prose ol {
  margin-top: 0.9rem;
}
.prose li + li {
  margin-top: 0.4rem;
}
.prose table {
  margin-top: 1rem;
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 0.65rem 0.75rem 0.65rem 0;
  border-top: 1px solid var(--line);
}
.prose th {
  font-weight: 650;
}
.prose .limited-use {
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  border-left: 3px solid var(--signal);
  background: #fff;
}
@media (max-width: 860px) {
  .legal .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .legal .toc {
    display: none;
  }
}

/* 404 */
.lost {
  padding: 6rem 0 2rem;
}
.lost h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
}
.lost p {
  margin-top: 1rem;
  color: var(--muted);
}
.lost .btn {
  margin-top: 2rem;
}
