:root {
  --bg: #f4f4ef;
  --card: #e9e9e2;
  --row: #fcfcfa;
  --fg: #1d1d1b;
  --fg-muted: #6e6e68;
  --fg-body: #4f4f49;
  --border: #dcdcd4;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

[hidden] {
  display: none !important;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  -webkit-font-smoothing: antialiased;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    Segoe UI,
    Helvetica,
    Arial,
    sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 28px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 0 24px;
}

.wordmark {
  color: var(--fg);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.wordmark img {
  display: block;
}

.hero {
  max-width: 560px;
  padding: 110px 0 30px;
}

.hero h1 {
  letter-spacing: -0.01em;
  font-size: 32px;
  font-weight: 550;
  line-height: 1.25;
}

.hero p {
  color: var(--fg-body);
  max-width: 46ch;
  margin-top: 18px;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  background: var(--fg);
  color: #fff;
  cursor: pointer;
  text-decoration: none;
  border: none;
  border-radius: 7px;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 18px;
  font-weight: 500;
}

.button:hover {
  background: #000;
}

.button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 3px;
}

.button:disabled {
  opacity: 0.6;
  cursor: default;
}

.waitlist-form {
  flex-wrap: wrap;
  gap: 10px;
}

/* One fixed height so the prompt, input, and button edges line up exactly. */
.waitlist-form input,
.waitlist-form .button,
[data-waitlist-open] {
  height: 50px;
}

.waitlist-form input {
  background: var(--row);
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--fg);
  flex: 1;
  max-width: 280px;
  min-width: 200px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 16px;
}

.waitlist-form input:focus {
  border-color: var(--fg-muted);
  outline: none;
}

.waitlist-form input::placeholder {
  color: var(--fg-muted);
}

.waitlist-status {
  color: var(--fg-body);
  font-size: 16px;
  width: 100%;
}

.text-link {
  color: var(--fg);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
}

.text-link:after {
  content: " →";
}

/* Atmosphere gradient from the identity study (mist, blush, violet). */
.gradient-stage {
  animation: gradient-stage-breathe 18s ease-in-out infinite;
  background:
    radial-gradient(circle at 8% 8%, rgba(242, 246, 250, 0.9), transparent 34%),
    radial-gradient(circle at 82% 82%, rgba(63, 49, 91, 0.55), transparent 38%),
    radial-gradient(
      circle at 50% 52%,
      rgba(235, 203, 208, 0.85),
      transparent 35%
    ),
    linear-gradient(
      125deg,
      #e8eef5,
      #c8d0db 30%,
      #d7d2d5 58%,
      #e6d2d5 78%,
      #b8aecb
    );
  background-size:
    150% 150%,
    145% 145%,
    135% 135%,
    220% 220%;
  border-radius: 16px;
  height: clamp(240px, 38vw, 340px);
  margin-top: 50px;
}

@keyframes gradient-stage-breathe {
  0%,
  100% {
    background-position:
      0% 0%,
      100% 100%,
      40% 50%,
      0% 42%;
  }

  50% {
    background-position:
      15% 12%,
      82% 80%,
      62% 42%,
      100% 58%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gradient-stage {
    animation: none;
  }
}

.use-cases {
  padding: 66px 0 0;
}

.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.case {
  background: var(--row);
  border-radius: 8px;
  padding: 28px 24px;
}

.case h3 {
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 650;
}

.case p {
  color: var(--fg-body);
  max-width: 34ch;
  font-size: 15px;
}

.case a {
  color: var(--fg);
  font-weight: 500;
}

@media (max-width: 700px) {
  .cases {
    grid-template-columns: 1fr;
  }
}

.faq {
  max-width: 560px;
  padding: 66px 0 104px;
}

.faq h2 {
  letter-spacing: -0.01em;
  font-size: 24px;
  font-weight: 550;
}

.faq-list {
  list-style: none;
  margin-top: 18px;
}

.faq-list li {
  border-top: 1px solid var(--border);
  padding: 14px 0;
}

.faq-list li:last-child {
  border-bottom: 1px solid var(--border);
}

.faq-list .text-link {
  font-size: 15px;
}

/* The mark traced along its stroke by scroll, after the FAQ. */
.trace-mark {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: center;
  opacity: 0.3;
  padding: 20px 0 110px;
}

.trace-mark svg {
  height: 133px;
  overflow: visible;
  width: auto;
}

.trace-wordmark {
  display: block;
  height: auto;
  width: 150px;
}

.trace-guide,
.trace-line {
  fill: none;
  stroke: var(--fg);
  stroke-linecap: round;
  stroke-width: 12;
}

.trace-guide {
  stroke-opacity: 0.16;
}

.trace-line {
  stroke-dasharray: 0 301;
}

.trace-head {
  fill: var(--fg);
  opacity: 0;
}

/* Brand study */

.brand-study {
  --brand-blush: #ded4d5;
  --brand-cloud: #bdc4ce;
  --brand-ink: #12130f;
  --brand-mist: #d5dce4;
  --brand-paper: #f7f6f4;
  --brand-violet: #3f315b;
  padding: 60px 0 112px;
}

.brand-study-hero {
  min-height: 350px;
}

.brand-study-hero h1,
.brand-mark-copy h2,
.brand-breath h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.brand-study-hero h1 {
  font-size: clamp(58px, 9vw, 82px);
  line-height: 0.92;
}

.brand-study-logo {
  display: block;
  height: auto;
  margin-top: 72px;
  max-width: 100%;
  width: 396px;
}

.brand-full-bleed {
  margin-left: calc(50% - 50vw);
  width: 100vw;
}

.brand-study-wide {
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
  padding-left: clamp(28px, 7vw, 96px);
  padding-right: clamp(28px, 7vw, 96px);
  width: 100%;
}

.brand-palette {
  background: var(--brand-paper);
  border-bottom: 1px solid #c3c1be;
  border-top: 1px solid #c3c1be;
}

.brand-palette-layout {
  display: grid;
  gap: 32px;
  grid-template-columns: 150px minmax(0, 1fr);
  padding-bottom: 18px;
  padding-top: 18px;
}

.brand-palette h2,
.brand-palette span,
.brand-palette code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-palette h2 {
  font-size: 12px;
  margin-top: 4px;
}

.brand-palette ul {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(5, minmax(70px, 1fr)) minmax(150px, 1.7fr);
  list-style: none;
}

.brand-palette li {
  border: 1px solid rgba(18, 19, 15, 0.18);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 116px;
  padding: 9px;
}

.brand-palette code {
  font-size: 10px;
  margin-top: 3px;
  opacity: 0.68;
}

.brand-swatch-paper {
  background: var(--brand-paper);
}

.brand-swatch-mist {
  background: var(--brand-mist);
}

.brand-swatch-cloud {
  background: var(--brand-cloud);
}

.brand-swatch-blush {
  background: var(--brand-blush);
}

.brand-swatch-violet {
  background: var(--brand-violet);
  color: var(--brand-paper);
}

.brand-swatch-atmosphere {
  background:
    radial-gradient(
      circle at 16% 18%,
      rgba(236, 241, 247, 0.9),
      transparent 34%
    ),
    radial-gradient(
      circle at 82% 86%,
      rgba(222, 205, 208, 0.92),
      transparent 43%
    ),
    linear-gradient(135deg, #cbd4df, #c3c8d0 42%, #ddd9d9 70%, #e2d2d4);
}

.brand-mark-study {
  background: var(--brand-ink);
  color: var(--brand-paper);
}

.brand-mark-copy {
  align-items: center;
  display: grid;
  gap: clamp(56px, 9vw, 130px);
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  min-height: 540px;
  padding-bottom: clamp(82px, 10vw, 128px);
  padding-top: clamp(82px, 10vw, 128px);
}

.brand-mark-copy h2 {
  font-size: clamp(54px, 7vw, 88px);
  line-height: 0.88;
}

.brand-mark-copy > div {
  max-width: 510px;
}

.brand-mark-copy p {
  color: #c7c9bf;
  font-size: 18px;
  line-height: 1.55;
}

.brand-mark-copy small {
  border-top: 1px solid #44473d;
  color: #909288;
  display: block;
  font-size: 12px;
  line-height: 1.65;
  margin-top: 42px;
  padding-top: 18px;
}

.brand-mark-canvas {
  align-items: center;
  background:
    radial-gradient(circle at 50% 45%, rgba(63, 49, 91, 0.32), transparent 42%),
    #11120f;
  border-bottom: 1px solid #30322c;
  border-top: 1px solid #30322c;
  display: flex;
  height: clamp(600px, 82vh, 820px);
  justify-content: center;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.brand-mark-canvas::before,
.brand-mark-canvas::after {
  background: rgba(255, 255, 255, 0.11);
  content: "";
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: 50%;
}

.brand-mark-canvas::before {
  height: 1px;
  transform: translateX(-50%);
  width: min(84vw, 1000px);
}

.brand-mark-canvas::after {
  height: min(72vh, 650px);
  transform: translateY(-50%);
  width: 1px;
}

.brand-mark-canvas svg {
  display: block;
  height: min(62vh, 570px);
  max-width: 58vw;
  overflow: visible;
  position: relative;
  width: auto;
}

.brand-line-guide,
.brand-line-trace {
  fill: none;
  stroke-linecap: round;
  stroke-width: 12;
}

.brand-line-guide {
  stroke: #bfb5d0;
  stroke-opacity: 0.22;
}

.brand-line-trace {
  stroke: var(--brand-paper);
  stroke-dasharray: 0 301;
}

.brand-line-head {
  fill: var(--brand-paper);
  opacity: 0;
}

.brand-breath-frame {
  padding: clamp(48px, 7vw, 88px) clamp(22px, 4vw, 56px) 0;
}

.brand-breath {
  animation: brand-breath-drift 18s ease-in-out infinite;
  background:
    radial-gradient(circle at 8% 8%, rgba(242, 246, 250, 0.9), transparent 34%),
    radial-gradient(circle at 82% 82%, rgba(63, 49, 91, 0.55), transparent 38%),
    radial-gradient(
      circle at 50% 52%,
      rgba(235, 203, 208, 0.85),
      transparent 35%
    ),
    linear-gradient(
      125deg,
      #e8eef5,
      #c8d0db 30%,
      #d7d2d5 58%,
      #e6d2d5 78%,
      #b8aecb
    );
  background-size:
    150% 150%,
    145% 145%,
    135% 135%,
    220% 220%;
  border: 1px solid rgba(63, 49, 91, 0.16);
  color: #251b32;
  isolation: isolate;
  min-height: clamp(520px, 68vh, 680px);
  overflow: hidden;
  padding-bottom: clamp(64px, 8vw, 96px);
  padding-top: clamp(64px, 8vw, 96px);
  position: relative;
}

.brand-breath::before {
  background-image:
    linear-gradient(rgba(63, 49, 91, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63, 49, 91, 0.1) 1px, transparent 1px);
  background-size: clamp(44px, 5vw, 68px) clamp(44px, 5vw, 68px);
  content: "";
  inset: 0;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent 76%);
  position: absolute;
  z-index: -1;
}

.brand-breath-copy {
  max-width: 760px;
}

.brand-breath h2 {
  font-size: clamp(44px, 6vw, 70px);
  line-height: 0.92;
}

.brand-breath p {
  font-size: 18px;
  line-height: 1.55;
  margin-top: 34px;
  max-width: 560px;
}

@keyframes brand-breath-drift {
  0%,
  100% {
    background-position:
      0% 0%,
      100% 100%,
      40% 50%,
      0% 42%;
  }

  50% {
    background-position:
      15% 12%,
      82% 80%,
      62% 42%,
      100% 58%;
  }
}

.brand-asset {
  margin-top: clamp(72px, 10vw, 112px);
}

.brand-asset h2 {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.brand-asset-preview {
  border: 1px solid var(--border);
  display: block;
  margin-top: 24px;
  width: min(320px, 100%);
}

.brand-asset-preview img {
  display: block;
  height: auto;
  width: 100%;
}

.brand-download {
  display: inline-block;
  margin-top: 16px;
}

@media (max-width: 780px) {
  .brand-study-hero {
    min-height: 310px;
  }

  .brand-palette-layout,
  .brand-mark-copy {
    grid-template-columns: 1fr;
  }

  .brand-palette ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .brand-swatch-atmosphere {
    grid-column: span 3;
  }

  .brand-mark-copy {
    gap: 44px;
    min-height: 0;
  }

  .brand-mark-copy > div {
    max-width: 560px;
  }

  .brand-mark-canvas {
    height: 650px;
  }

  .brand-mark-canvas svg {
    height: min(58vh, 500px);
  }
}

@media (max-width: 500px) {
  .brand-study {
    padding-top: 48px;
  }

  .brand-study-hero h1 {
    font-size: 54px;
  }

  .brand-study-logo {
    margin-top: 58px;
  }

  .brand-palette ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-palette li {
    min-height: 84px;
  }

  .brand-swatch-atmosphere {
    grid-column: span 2;
  }

  .brand-mark-copy h2 {
    font-size: 52px;
  }

  .brand-mark-copy p,
  .brand-breath p {
    font-size: 16px;
  }

  .brand-mark-canvas {
    height: 560px;
  }

  .brand-mark-canvas svg {
    height: min(54vh, 430px);
    max-width: 62vw;
  }

  .brand-breath {
    min-height: 580px;
    padding-left: 28px;
    padding-right: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-breath {
    animation: none;
  }
}

/* Rendered markdown articles */

.article {
  max-width: 560px;
  padding: 40px 0 104px;
}

.article h1 {
  letter-spacing: -0.01em;
  font-size: 28px;
  font-weight: 550;
  line-height: 1.25;
  margin-bottom: 18px;
}

.article h2 {
  letter-spacing: -0.01em;
  font-size: 19px;
  font-weight: 600;
  margin: 36px 0 10px;
}

.article p,
.article ul,
.article ol {
  color: var(--fg-body);
  margin-top: 12px;
  font-size: 15.5px;
}

.article ul,
.article ol {
  padding-left: 22px;
}

.article li {
  margin-top: 6px;
}

.article a {
  color: var(--fg);
  font-weight: 500;
}

.article strong {
  color: var(--fg);
}

.article code {
  background: var(--card);
  border-radius: 4px;
  padding: 1.5px 5px;
  font-size: 13.5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.article pre {
  background: var(--row);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-top: 12px;
  padding: 14px 16px;
  overflow-x: auto;
}

.article pre code {
  background: none;
  padding: 0;
  font-size: 13px;
}
