:root {
  --paper: #f2f0e9;
  --ink: #1b1a17;
  --ink-soft: #57554c;
  --ink-strong: #121210;
  --brass: #8c5a18;
  --brass-deep: #6e4612;
  --line: #d9d5c8;
  --card-dark: #1b1a17;
  --paper-on-dark: #efede4;
  --soft-on-dark: #b7b3a6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter Variable", "Inter", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: "Fraunces Variable", "Fraunces", serif;
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
}

a {
  color: inherit;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 84px 32px;
}

/* HEADER */
header.top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding: 16px 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.mark {
  display: inline-flex;
  text-decoration: none;
}

.mark img {
  display: block;
  width: 150px;
  height: auto;
}

.top-nav {
  order: 3;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.top-nav a.nav-link {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  text-decoration: none;
  color: var(--ink-soft);
}

.top-nav a.nav-link:hover {
  color: var(--ink);
}

.top .btn.top-cta {
  padding: 10px 16px;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 3px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--ink);
}

.btn.solid {
  background: var(--brass);
  border-color: var(--brass);
  color: var(--paper);
}

.btn.solid:hover {
  background: var(--brass-deep);
  border-color: var(--brass-deep);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
}

.btn.ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

/* HERO SECTION */
section.hero {
  padding: 84px 0 92px;
}

.hero .eyebrow {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4rem);
  max-width: 16ch;
}

.hero p.lede {
  margin-top: 26px;
  max-width: 56ch;
  font-size: 19px;
  color: var(--ink-soft);
}

.hero .ctas {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* FOUNDER */
section.founder {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.founder-inner {
  display: grid;
  gap: 24px;
  align-items: center;
}

.founder-inner img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
}

.founder-inner h2 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.founder-inner p {
  max-width: 56ch;
  color: var(--ink-soft);
}

@media (min-width: 761px) {
  .founder-inner {
    grid-template-columns: 160px 1fr;
    gap: 40px;
  }

  .founder-inner img {
    width: 160px;
    height: 160px;
  }
}

/* ABOUT: ON THIS PAGE (wide screens only, in the margin beside .wrap) */
.page-nav {
  display: none;
}

@media (min-width: 1280px) {
  .page-nav {
    display: block;
    position: fixed;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 84px;
    z-index: 5;
    transition: opacity 0.2s ease;
  }

  .page-nav.is-enhanced:not(.is-active) {
    opacity: 0;
    pointer-events: none;
  }

  .page-nav.is-enhanced:focus-within {
    opacity: 1;
    pointer-events: auto;
  }

  .page-nav ol {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .page-nav a {
    display: block;
    padding: 6px 0 6px 10px;
    border-left: 2px solid var(--line);
    font-size: 13px;
    color: var(--ink-soft);
    text-decoration: none;
  }

  .page-nav a:hover,
  .page-nav a[aria-current="true"] {
    color: var(--ink);
    border-left-color: var(--brass);
  }
}

/* ABOUT: STORY, WALLS, JOURNEY */
section.story {
  padding: 16px 0 64px;
}

section.story h2 {
  font-size: clamp(1.7rem, 6vw, 2.4rem);
  margin-bottom: 28px;
}

.timeline {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  border-left: 2px solid var(--line);
}

.timeline li {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 0 0 28px 20px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brass);
}

.timeline-year {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--brass);
}

.timeline h3 {
  font-size: 1.2rem;
  font-weight: 500;
}

.timeline-trap {
  margin: 2px 0 6px;
  font-size: 14px;
  color: var(--ink-soft);
  font-style: italic;
}

.timeline li p:last-child {
  margin: 0;
  max-width: 60ch;
  color: var(--ink-soft);
}

.walls {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.walls li,
.journey-stage {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.walls h3,
.journey-stage h3 {
  font-size: 1.15rem;
  font-weight: 500;
}

.walls p {
  margin: 6px 0 0;
  color: var(--ink-soft);
}

.journey {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 16px;
}

.journey-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.journey-status {
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 13px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
}

.journey-status.live {
  border-color: var(--brass);
  color: var(--brass-deep);
}

.journey-stage > p {
  margin: 8px 0 12px;
  color: var(--ink-soft);
}

.journey-list {
  margin: 0;
  padding-left: 18px;
  font-size: 15px;
}

.journey-list li + li {
  margin-top: 4px;
}

.journey-list.planned {
  margin-top: 8px;
  color: var(--ink-soft);
}

.about-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (min-width: 761px) {
  .walls {
    grid-template-columns: repeat(2, 1fr);
  }

  .journey {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* TRADE PAGES */
.trade-ctas {
  max-width: 420px;
  margin-top: 28px;
}

.trade-ctas .btn.solid {
  display: block;
  text-align: center;
}

.look-around {
  margin-top: 18px;
}

.look-around-label {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
}

.look-around-links {
  display: flex;
  gap: 12px;
}

.look-around-links .btn {
  flex: 1;
  padding-inline: 12px;
  text-align: center;
  white-space: nowrap;
}

.trade-price {
  margin: 20px 0 0;
  max-width: 56ch;
  font-size: 15px;
  color: var(--ink-soft);
}

.trade-not-yet {
  max-width: 56ch;
  font-size: 16px;
  color: var(--ink-soft);
}

/* VALUES SECTION */
section.values {
  padding: 80px 0 96px;
  border-top: 1px solid var(--line);
}

section.values h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  max-width: 18ch;
  margin-bottom: 52px;
}

.value-group {
  margin-bottom: 48px;
}

.value-group:last-child {
  margin-bottom: 0;
}

.value-group .group-label {
  font-size: 14px;
  color: var(--brass);
  font-weight: 500;
  margin-bottom: 18px;
}

.value-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.value-group:last-child .value-row:last-child {
  border-bottom: 1px solid var(--line);
}

.value-row h3 {
  font-size: 1.2rem;
  font-weight: 500;
}

.value-row p {
  margin: 0;
  max-width: 56ch;
  color: var(--ink-soft);
}

/* BLOG LISTING GRID */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  padding: 0 0 96px;
}

/* BLOG CARD */
.blog-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 28px;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.blog-card:hover {
  border-color: var(--brass);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(27, 26, 23, 0.05);
}

.blog-card .card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--brass);
  font-weight: 500;
  margin-bottom: 14px;
}

.blog-card h3 {
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card p {
  font-size: 15px;
  color: var(--ink-soft);
  margin: 0 0 20px;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card .card-footer {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-top: auto;
}

.blog-card .card-footer .arrow {
  margin-left: 6px;
  transition: transform 0.2s ease;
}

.blog-card:hover .card-footer .arrow {
  transform: translateX(4px);
  color: var(--brass);
}

/* BLOG CATEGORIES */
section.hero.blog-hero {
  padding-bottom: 32px;
}

.category-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 -24px 28px;
  padding: 0 24px 4px;
}

.category-nav::-webkit-scrollbar {
  display: none;
}

.category-nav .chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
}

.category-nav .chip:hover {
  border-color: var(--brass);
  color: var(--ink);
}

.category-nav .chip[aria-current="page"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.blog-card .card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card .card-category {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
}

.blog-card.featured {
  grid-column: 1 / -1;
  padding: 0;
  overflow: hidden;
}

.blog-card.featured .card-image {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-card.featured .card-body {
  padding: 24px;
}

.blog-card.featured h2 {
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 12px;
}

.post-category {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--brass);
  text-decoration: none;
}

@media (min-width: 761px) {
  .category-nav {
    flex-wrap: wrap;
    margin: 0 0 40px;
    padding: 0;
  }

  .blog-card.featured {
    flex-direction: row;
  }

  .blog-card.featured .card-image {
    width: 55%;
    aspect-ratio: auto;
    min-height: 320px;
  }

  .blog-card.featured .card-body {
    width: 45%;
    padding: 36px;
  }

  .blog-card.featured h2 {
    font-size: 2rem;
  }
}

/* ARTICLE / BLOG POST TYPOGRAPHY */
.keystatic-custom-wrapper
  [data-keystatic-editor="root"]
  > div:not([data-keystatic-editor="toolbar"]) {
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter Variable", "Inter", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}
div[contenteditable="true"] {
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
}
div[contenteditable="true"]::before {
  content: var(--keystatic-live-title, "Untitled Document");
  order: -2 !important;
  font-family: "Fraunces Variable", "Fraunces", serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  font-weight: 800;
  color: var(--ink);
}
div[contenteditable="true"]::after {
  content: var(--keystatic-live-byline, "Published on Date by Author");
  order: -1 !important;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.keystatic-custom-wrapper
  [data-keystatic-editor="content"]
  :is(h1, h2, h3, h4, h5, h6) {
  color: var(--ink);
}

article.prose,
.keystatic-custom-wrapper [data-keystatic-editor="content"] {
  max-width: 68ch;
  margin: 0 auto;
  padding: 48px 0 96px;
}

article.prose .byline {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

article.prose .listen-episode {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
}

article.prose .listen-episode svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--brass);
}

article.prose .series-note {
  font-size: 15px;
  font-weight: 600;
}

article.prose .series-box {
  margin-top: 40px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 15px;
}

article.prose .series-box .series-heading {
  margin: 0 0 8px;
  font-weight: 600;
}

article.prose .series-box ol {
  margin: 0;
  padding-left: 20px;
}

article.prose .series-box .series-next {
  margin: 12px 0 0;
  font-size: 15px;
}

article.prose .essay-note {
  font-size: 15px;
  font-style: italic;
  color: var(--ink-soft);
}

article.prose h1,
.keystatic-custom-wrapper [data-keystatic-editor="content"] h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
  font-weight: 800;
}

article.prose h2,
.keystatic-custom-wrapper [data-keystatic-editor="content"] h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  margin-top: 2em;
  margin-bottom: 0.8em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

article.prose h3,
.keystatic-custom-wrapper [data-keystatic-editor="content"] h3 {
  font-size: 1.3rem;
  margin-top: 1.8em;
  margin-bottom: 0.6em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

article.prose p,
.keystatic-custom-wrapper [data-keystatic-editor="content"] p {
  margin-bottom: 1.5em;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--ink);
}

article.prose strong {
  color: var(--ink-strong);
  font-weight: 600;
}

article.prose img,
.keystatic-custom-wrapper [data-keystatic-editor="content"] img {
  max-width: 100%;
  height: auto;
  max-height: max-content;
  border-radius: 6px;
  margin: 2.5rem 0;
  display: block;
  border: 1px solid var(--line);
}

article.prose blockquote,
.blockquote {
  background-color: var(--paper-on-dark);
  padding: 1.5rem 2rem;
  border-left: 4px solid var(--brass);
  color: var(--ink);
  margin: 2.5rem 0;
  border-radius: 0 4px 4px 0;
}

article.prose blockquote strong,
.blockquote strong {
  display: inline;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

article.prose blockquote ul,
blockquote ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink-strong);
}

article.prose blockquote li,
blockquote li {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

article.prose ul,
.keystatic-custom-wrapper [data-keystatic-editor="content"] ul {
  color: var(--ink);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

article.prose li,
.keystatic-custom-wrapper [data-keystatic-editor="content"] li {
  margin-bottom: 0.5rem;
}

article.prose a,
.keystatic-custom-wrapper [data-keystatic-editor="content"] a {
  color: var(--ink-strong);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  font-weight: 500;
}

article.prose a:hover,
.keystatic-custom-wrapper [data-keystatic-editor="content"] a:hover {
  color: var(--ink);
}

article.prose table,
.keystatic-custom-wrapper [data-keystatic-editor="content"] table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 2.5rem 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--ink);
  border: 0;
}

article.prose th,
.keystatic-custom-wrapper [data-keystatic-editor="content"] th,
article.prose td,
.keystatic-custom-wrapper [data-keystatic-editor="content"] td {
  min-width: 10rem;
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  border-inline-end: 0;
}

article.prose thead th,
.keystatic-custom-wrapper
  [data-keystatic-editor="content"]
  tbody
  > tr:first-child
  > td {
  background-color: var(--paper-on-dark);
  border-bottom: 2px solid var(--brass);
}

article.prose hr,
.keystatic-custom-wrapper [data-keystatic-editor="content"] hr {
  border: 0;
  height: 1px;
  background: var(--line);
  margin: 3rem 0;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
}

.foot-inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  font-size: 14px;
  color: var(--ink-soft);
}

.foot-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 12px;
}

.foot-heading {
  margin: 0 0 4px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}

.foot-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.foot-inner nav a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  text-decoration: none;
  color: var(--ink-soft);
}

.foot-inner nav a:hover {
  color: var(--ink);
}

@media (min-width: 761px) {
  .foot-groups {
    grid-template-columns: repeat(4, minmax(0, 180px));
    justify-content: start;
    gap: 24px 48px;
  }
}

/* RESPONSIVE LAYOUT */
@media (max-width: 760px) {
  .wrap {
    padding: 0 24px;
  }
  section.hero {
    padding: 56px 0 64px;
  }
  .value-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (min-width: 761px) {
  header.top {
    flex-wrap: nowrap;
    padding: 28px 32px;
  }

  .mark img {
    width: 200px;
  }

  .top-nav {
    order: 0;
    width: auto;
    margin-left: auto;
    gap: 28px;
  }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.eyebrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--brass);
  margin-bottom: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 24px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
}

.examples {
  max-width: 560px;
  margin-top: 36px;
}

.examples h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.example-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.example-list li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 24px;
  padding: 6px 0;
  border-top: 1px solid var(--line);
}

.example-name {
  padding-top: 8px;
  font-weight: 500;
}

.example-kind {
  color: var(--ink-soft);
  font-weight: 400;
}

.example-links {
  display: flex;
  flex-wrap: wrap;
  column-gap: 28px;
}

.example-links .text-link {
  margin-top: 0;
}

.text-link:hover {
  color: var(--brass);
  border-color: var(--brass);
}

.btn.solid.on-dark {
  background: var(--paper-on-dark);
  border-color: var(--paper-on-dark);
  color: var(--ink);
}

.btn.solid.on-dark:hover {
  background: #fff;
  border-color: #fff;
}

/* HOME HERO */
section.home-hero {
  padding: 20px 0 56px;
}

.hero-grid {
  display: grid;
  gap: 48px;
}

.home-hero .eyebrow {
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
}

.eyebrow-mark {
  display: block;
}

.home-hero h1 {
  font-size: clamp(2.2rem, 9vw, 3.6rem);
  max-width: 15ch;
}

.home-hero p.lede {
  margin-top: 16px;
  font-size: 18px;
}

.prompt-box {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(27, 26, 23, 0.06);
}

.prompt-box:focus-within {
  border-color: var(--ink);
}

.prompt-box textarea {
  width: 100%;
  min-height: 84px;
  padding: 8px;
  border: 0;
  resize: vertical;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.5;
}

.prompt-box textarea:focus {
  outline: none;
}

.prompt-box .btn {
  min-height: 48px;
  cursor: pointer;
  font-family: inherit;
}

.hero-note {
  display: flex;
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--ink-soft);
  justify-content: center;
}

/* HERO DEMO: Gallop colours stay inside product surfaces */
.hero-demo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.demo-chat {
  align-self: flex-start;
  max-width: 300px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px 16px 16px 4px;
  font-size: 15px;
  line-height: 1.45;
}

.demo-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 2px;
}

.demo-arrow {
  width: 2px;
  height: 36px;
  border-radius: 2px;
  background: linear-gradient(180deg, #ff9f1c, #ffc53d, #5eead4, #22d3ee);
}

.demo-phone {
  width: 240px;
  padding: 10px;
  background: var(--card-dark);
  border-radius: 2.2rem;
  box-shadow: 0 18px 40px rgba(27, 26, 23, 0.18);
}

.hero-loop {
  position: relative;
}

.loop-screen {
  position: relative;
  overflow: hidden;
  aspect-ratio: 390 / 844;
  background: #fafbfc;
  border-radius: 1.7rem;
}

.loop-shot {
  position: absolute;
  inset: 0 0 auto;
  display: block;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.3s;
}

.loop-shot.is-current {
  opacity: 1;
}

.loop-caption {
  position: absolute;
  top: -12px;
  left: 50%;
  z-index: 2;
  transform: translateX(-50%);
  padding: 4px 12px;
  border-radius: 999px;
  background: #0f1115;
  color: #fafbfc;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.loop-tap {
  position: absolute;
  z-index: 1;
  width: 24px;
  height: 24px;
  margin: -12px 0 0 -12px;
  border-radius: 50%;
  background: rgba(255, 159, 28, 0.7);
}

.loop-tap.is-tapping {
  animation: loop-tap 0.5s ease-out forwards;
}

@keyframes loop-tap {
  from {
    opacity: 1;
    transform: scale(0.4);
  }
  to {
    opacity: 0;
    transform: scale(2);
  }
}

.loop-note {
  margin: 0;
  font-size: 13px;
  color: var(--ink-soft);
}

/* HOME BANDS */
section.band {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

section.band.dark {
  background: var(--card-dark);
  color: var(--paper-on-dark);
  border-top: 0;
}

.band.dark h2,
.band.dark h3 {
  color: var(--paper-on-dark);
}

.band.dark .eyebrow,
.band.dark .band-lede {
  color: var(--soft-on-dark);
}

.section-head {
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: clamp(1.7rem, 6vw, 2.4rem);
  max-width: 22ch;
}

.feature-grid {
  display: grid;
  gap: 16px;
}

.feature {
  padding: 24px;
  border: 1px solid #36342e;
  border-radius: 8px;
}

.feature-spark {
  display: block;
  width: 36px;
  height: 3px;
  margin-bottom: 18px;
  border-radius: 3px;
  background: linear-gradient(90deg, #ff9f1c, #ffc53d, #5eead4, #22d3ee);
}

.feature h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.feature p {
  margin: 0;
  color: var(--soft-on-dark);
}

.steps {
  display: grid;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--brass);
  color: var(--paper);
  font-weight: 600;
}

.steps h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
}

.category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-chips a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.category-chips a:hover {
  border-color: var(--brass);
  color: var(--brass-deep);
}

.section-head .section-lede {
  margin: 12px 0 0;
}

.band-lede {
  max-width: 56ch;
  margin: 0;
  color: var(--ink-soft);
}

.principles {
  display: grid;
  gap: 0;
}

.principle {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.principle:last-child {
  border-bottom: 1px solid var(--line);
}

.principle h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.principle p {
  margin: 0;
  color: var(--ink-soft);
}

.band .blog-grid {
  padding-bottom: 0;
}

.band.closing h2 {
  font-size: clamp(1.9rem, 7vw, 2.8rem);
  margin-bottom: 16px;
}

.band.closing p {
  max-width: 48ch;
  margin: 0 0 28px;
  color: var(--soft-on-dark);
}

@media (min-width: 761px) {
  section.home-hero {
    padding: 72px 0 96px;
  }

  .home-hero .eyebrow {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 56px;
  }

  .prompt-box {
    flex-direction: row;
    align-items: flex-end;
  }

  .prompt-box .btn {
    flex-shrink: 0;
  }

  section.band {
    padding: 96px 0;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .principles {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .principle,
  .principle:last-child {
    border-bottom: 0;
  }
}

/* SIMPLE PAGES: about, support, privacy, terms */
.page-intro {
  padding: 32px 0 40px;
}

.page-intro h1 {
  font-size: clamp(2.1rem, 8vw, 3.4rem);
  max-width: 18ch;
}

.page-intro .lede {
  margin-top: 20px;
  max-width: 56ch;
  font-size: 18px;
  color: var(--ink-soft);
}

article.prose.legal {
  margin: 0;
  padding-top: 8px;
}

article.prose.legal .updated {
  font-size: 14px;
  color: var(--ink-soft);
}

@media (min-width: 761px) {
  .page-intro {
    padding: 64px 0 56px;
  }
  .hero-note {
    justify-content: start;
  }
}

@media (min-width: 900px) {
  .band .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* PRICING */
.price-card {
  display: grid;
  gap: 20px;
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #fff;
}

.price-steps {
  display: grid;
  gap: 12px;
}

.price-step {
  padding: 16px;
  border-radius: 6px;
  background: var(--paper);
}

.price-step p {
  margin: 0;
}

.price-when {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brass-deep);
}

.price-amount {
  margin-top: 4px;
  font-family: "Fraunces Variable", "Fraunces", serif;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.2;
}

.price-note,
.price-region {
  font-size: 15px;
  color: var(--ink-soft);
}

.price-region {
  margin: 0;
}

.price-card .btn {
  text-align: center;
}

.pricing-section {
  padding: 48px 0 0;
}

.pricing-section h2 {
  font-size: clamp(1.5rem, 5vw, 2rem);
  margin-bottom: 20px;
}

.pricing-section h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.section-lede {
  margin: -8px 0 20px;
  color: var(--ink-soft);
}

.included-groups {
  display: grid;
  gap: 28px;
}

.included-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.included-list li {
  display: grid;
  gap: 2px;
  padding-left: 18px;
  border-left: 3px solid var(--line);
}

.included-list span {
  color: var(--ink-soft);
}

.included-list .addon-price {
  font-weight: 400;
}

.faq-list {
  display: grid;
}

.faq-item {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.faq-item p {
  margin: 0;
  color: var(--ink-soft);
}

main.pricing {
  padding-bottom: 96px;
}

@media (min-width: 761px) {
  .price-card {
    padding: 32px;
  }

  .price-steps,
  .included-groups {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-card .btn {
    justify-self: start;
  }
}
