/* Bricolage Grotesque (SIL OFL 1.1, see /fonts/OFL.txt), self-hosted because the CSP allows fonts from this origin only. */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/fonts/bricolage-grotesque-latin.woff2') format('woff2');
}

:root {
  --paper: #f7f5ee;
  --white: #fffef9;
  --ink: #202b34;
  --muted: #5c6664;
  --line: #dddcd1;
  --orange: #f36b36;
  --orange-dark: #ad3b15;
  --orange-light: #fff0e3;
  --lime: #e1eaa7;
  --green: #256149;
  --green-light: #e7f1e5;
  --red: #963e30;
  --red-light: #fff0e9;
  --glow: #ffd9a8;
  --radius: 14px;
  --radius-small: 8px;
  --shadow: 0 1px 0 #202b340f, 0 14px 32px -18px #202b3438;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
  --display: 'Bricolage Grotesque', 'Avenir Next', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
  --serif: var(--display);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 450 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
button svg,
.btn svg,
.icon svg {
  flex-shrink: 0;
}
img {
  height: auto;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1,
h2,
h3,
h4 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 600;
  text-wrap: balance;
}
h1,
h2 {
  font-family: var(--display);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
h1 {
  font-size: clamp(36px, 4.5vw, 64px);
}
h2 {
  font-size: clamp(30px, 3.4vw, 44px);
}
h3 {
  font-size: 21px;
}
h4 {
  font-size: 17px;
}
/* Headings are one voice: the second line is emphasis by position, not by a change of face or colour. */
h1 em,
h2 em,
h3 em {
  font: inherit;
  font-style: normal;
  color: inherit;
  letter-spacing: inherit;
}
p {
  margin-bottom: 18px;
}
ul,
ol {
  padding-left: 21px;
}
::selection {
  background: var(--lime);
  color: var(--ink);
}
:focus-visible {
  outline: 3px solid var(--orange-dark);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
button:disabled,
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}
.shell {
  width: min(1240px, calc(100% - 96px));
  margin: 0 auto;
}
#app > .site-header,
#app > main,
#app > .footer {
  width: min(1240px, calc(100% - 96px));
  margin-inline: auto;
}
.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;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 150;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--white);
  border-radius: 8px;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: translateY(0);
}
.brand-dot {
  color: var(--orange-dark);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--orange-dark);
  font-size: 14px;
  font-weight: 550;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nav-login {
  font-size: 14px;
  font-weight: 550;
  padding: 10px;
}
.preserve-lines {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.toolbar-spacer {
  flex: 1;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 14px;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.divider {
  height: 1px;
  background: var(--line);
  margin: 26px 0;
}
.grid,
.grid-2,
.grid-3,
.grid-4,
.grid-5 {
  display: grid;
  gap: 24px;
}
.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid > *,
.grid-2 > *,
.grid-3 > *,
.grid-4 > * {
  min-width: 0;
}

/* The public site */
.site-header {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  font-size: 24px;
  letter-spacing: -0.065em;
  font-weight: 700;
}
.brand-mark {
  position: relative;
  width: 32px;
  height: 32px;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  color: var(--orange);
}
.brand-mark svg {
  width: 100%;
  height: 100%;
}
.brand em {
  font-style: normal;
  color: var(--orange-dark);
}
.site-nav {
  display: flex;
  gap: 30px;
  align-items: center;
  font-size: 15px;
  font-weight: 550;
}
.site-nav a,
.footer a {
  transition: color 0.15s;
}
.site-nav a:hover,
.footer a:hover {
  color: var(--orange-dark);
}
.site-nav a.active {
  color: var(--orange-dark);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
  transition:
    background 0.15s,
    box-shadow 0.15s,
    transform 0.15s;
}
.btn:hover,
.button:hover {
  transform: translateY(-1px);
}
.btn:active,
.button:active {
  transform: translateY(0);
}
.btn-primary,
.button.primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 3px 0 #111a2033;
}
.btn-primary:hover,
.button.primary:hover {
  background: #33454f;
}
.btn-secondary,
.button.secondary {
  background: var(--white);
  border-color: var(--line);
}
.btn-secondary:hover,
.button.secondary:hover {
  background: #f1efe4;
  border-color: #b3b4a7;
}
.btn-ghost,
.button.ghost {
  padding-inline: 13px;
}
.btn-ghost:hover,
.button.ghost:hover {
  background: #202b3408;
}
.btn-small,
.button.small {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 14px;
}
.btn-orange {
  background: var(--orange);
  color: #1c242b;
}
.btn-orange:hover {
  background: #f78153;
}
.btn-danger {
  border: 1px solid #ddb5a6;
  color: var(--red);
}
.btn svg,
.button svg {
  width: 18px;
  height: 18px;
}
.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: transparent;
  font-size: 21px;
}
.hero {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 66px;
  padding: 76px 0 72px;
  min-height: 680px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #47534f;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: 0;
  margin-bottom: 14px;
}
.hero-copy {
  min-width: 0;
}
.display,
.hero h1 {
  font: 600 clamp(56px, 6.7vw, 86px)/1.01 var(--display);
  letter-spacing: -0.033em;
  margin-bottom: 25px;
}
.hero-copy > p {
  max-width: 460px;
  font-size: 18px;
  color: #58635f;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.hero-actions .btn {
  min-height: 52px;
}
.hero-proof {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 23px;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
}
.hero-proof > span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.hero-proof svg {
  width: 14px;
  height: 14px;
  color: var(--green);
}
.hero-art,
.hero-stage {
  position: relative;
  min-width: 0;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}
.hero-stage::before {
  content: '';
  position: absolute;
  z-index: -2;
  inset: 4% -3%;
  border-radius: 50%;
  background: radial-gradient(ellipse, #f8c66f30, #efd4b516 58%, transparent 70%);
}
.stage-card {
  position: relative;
  z-index: 1;
  width: min(100%, 416px);
  background: var(--white);
  border: 1px solid #d6d6c9;
  border-radius: 15px;
  box-shadow: 0 26px 70px #513b1a15;
  transform: rotate(-3deg);
  overflow: hidden;
}
.stage-eyebrow {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 21px;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}
.stage-window {
  padding: 18px;
}
.stage-url {
  border: 1px solid #e1e2d8;
  border-radius: 6px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
  background: #f9f9f3;
}
.stage-url::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6c876a;
}
.stage-art {
  min-height: 220px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8edbd;
  border-radius: 8px;
  margin-top: 14px;
  overflow: hidden;
}
.stage-art svg {
  width: 100%;
  height: 100%;
}
.stage-art::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.13;
  background-image: radial-gradient(#536633 1px, transparent 1px);
  background-size: 6px 6px;
  mix-blend-mode: multiply;
}
.campaign-paper {
  position: relative;
  padding: 18px 21px 21px;
}
.campaign-paper h3 {
  font: 600 30px/1.1 var(--display);
  margin-bottom: 9px;
}
.campaign-paper p {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 15px;
}
.campaign-paper .row {
  justify-content: space-between;
  font-size: 12px;
}
.spark {
  position: absolute;
  z-index: 3;
  color: var(--orange);
  width: 54px;
  height: 54px;
  top: 4%;
  right: 2%;
}
.float-note {
  position: absolute;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 14px 18px;
  font-size: 12px;
  box-shadow: 0 10px 24px #26311c12;
}
.float-note strong {
  font-size: 15px;
  font-weight: 650;
}
.float-note:first-of-type {
  right: -12px;
  top: 16%;
  transform: rotate(5deg);
}
.float-note:last-of-type {
  left: -24px;
  bottom: 9%;
  transform: rotate(2deg);
}
.float-note svg {
  width: 17px;
  height: 17px;
}
.logo-strip {
  padding: 24px 0 28px;
  border-block: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  color: #5e6963;
  font-size: 14px;
}
.logo-strip strong {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.section {
  padding: 80px 0;
}
.section + .section {
  border-top: 1px solid var(--line);
}
.section-head,
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  margin-bottom: 34px;
}
.section-head h2,
.section-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.section-head p,
.section-heading p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
}
.section-head .eyebrow,
.section-heading .eyebrow {
  margin-bottom: 15px;
}
.card,
.panel {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  min-width: 0;
}
.card h3 {
  margin-bottom: 13px;
}
.card p {
  font-size: 15px;
  color: #617069;
  margin-bottom: 0;
}
.card-kicker {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 13px;
}
.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 37px;
  border: 1px solid #d4d5c6;
  border-radius: 50%;
  font: 600 21px var(--display);
  margin-bottom: 25px;
  background: #f9f8ef;
}
.icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--orange-light);
  color: var(--orange-dark);
  margin-bottom: 23px;
}
.icon svg {
  width: 21px;
  height: 21px;
}
svg.icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  border-radius: 0;
  vertical-align: middle;
  flex-shrink: 0;
}
.step-icon {
  margin: -4px 0 17px;
  color: var(--orange-dark);
}
.step-icon svg.icon {
  width: 25px;
  height: 25px;
}
.step-card {
  position: relative;
}
.step-card .step-number {
  position: absolute;
  top: 26px;
  right: 26px;
  margin: 0;
}
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.split-section h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(38px, 4.6vw, 57px);
  margin-bottom: 25px;
}
.section-description {
  color: var(--muted);
  max-width: 440px;
  margin-bottom: 25px;
}
.measurement-panel {
  background: #f1f2e7;
}
.measurement-panel .row {
  justify-content: space-between;
}
.measurement-panel .eyebrow {
  font-size: 10px;
  margin: 0;
}
.measurement-panel .feature-list {
  gap: 0;
  margin: 23px 0;
}
.measurement-panel .feature-list li {
  padding: 17px 0;
  border-bottom: 1px solid #dbdfcb;
}
.measurement-panel .feature-list li > span {
  width: 31px;
  height: 31px;
  border: 1px solid #ccd3b5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  margin-top: 1px;
}
.measurement-panel .feature-list p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13px;
}
.ecosystem-section > h2 {
  font-family: var(--display);
  font-weight: 600;
  margin-bottom: 31px;
}
.ecosystem-section > .hint {
  margin-top: 21px;
}
.ecosystem-card h3 {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 23px;
}
.ecosystem-card h3 svg {
  align-self: center;
}
.ecosystem-card.current {
  border-color: #bbc597;
  background: #eef1d9;
}
.final-cta {
  text-align: center;
  padding-block: 66px;
}
.final-cta .eyebrow {
  justify-content: center;
}
.final-cta h2 {
  font: 600 clamp(45px, 5.8vw, 74px)/1.04 var(--display);
  margin-bottom: 28px;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 23px 0 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.feature-list li {
  display: flex;
  align-items: start;
  gap: 9px;
  font-size: 14px;
}
.feature-list li svg {
  width: 17px;
  height: 17px;
  color: var(--green);
  flex-shrink: 0;
  margin-top: 2px;
}
.chip,
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.4;
  background: #f0f0e6;
  color: #5e6659;
  white-space: nowrap;
}
.badge-success {
  background: var(--green-light);
  color: var(--green);
}
.badge-muted {
  background: #eff0e9;
  color: #616d66;
}
.badge-warning {
  background: #fff0d3;
  color: #8b531a;
}
.badge-danger {
  background: var(--red-light);
  color: var(--red);
}
.project-card {
  padding: 0;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.project-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.project-card > a {
  display: block;
}
.project-cover {
  height: 180px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  overflow: hidden;
  color: var(--ink);
  background: #eceddc;
  font: 600 40px/1.1 var(--display);
  text-align: center;
}
.project-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cover-coral {
  background: #f2bea3;
}
.cover-ink {
  background: var(--ink);
  color: var(--paper);
}
.cover-lime {
  background: var(--lime);
}
.project-card .project-meta {
  padding: 24px;
}
.project-card-body {
  padding: 23px;
}
.project-card-body .row {
  justify-content: space-between;
  gap: 10px;
}
.project-card-body .row h3 {
  margin: 0;
}
.project-card-body > p {
  margin-block: 15px 19px;
}
.project-cover,
.project-card > a.project-cover {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.project-cover > strong {
  font-size: 32px;
  font-weight: 400;
}
.project-cover > span:not(.cover-symbol) {
  font: 500 10px/1.4 var(--font);
  text-transform: uppercase;
  letter-spacing: 0.11em;
}
.cover-symbol svg.icon {
  width: 35px;
  height: 35px;
  margin-bottom: 10px;
}
.project-card h3 {
  font-size: 21px;
  margin: 12px 0 8px;
}
.project-card p {
  font-size: 14px;
}
.project-meta .row {
  justify-content: space-between;
}
.project-meta .count {
  color: var(--muted);
  font-size: 12px;
}
.demo-label {
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.pricing-card {
  display: flex;
  flex-direction: column;
}
.pricing-card.featured {
  border-color: #c9824d;
  background: #fff8ed;
  box-shadow: 0 0 0 3px #f5ddb94d;
}
.pricing-card .price {
  font-size: 41px;
  font-weight: 600;
  letter-spacing: -0.055em;
  margin: 17px 0 7px;
}
.pricing-card .price span {
  font: 450 14px var(--font);
  color: var(--muted);
  letter-spacing: 0;
}
.pricing-card .btn {
  margin-top: 26px;
  width: 100%;
}
.pricing-card .feature-list {
  margin-bottom: auto;
}
.footer {
  margin-top: 20px;
  padding: 46px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
}
.footer .brand {
  color: var(--ink);
  margin-bottom: 14px;
}
.footer p {
  max-width: 340px;
  font-size: 13px;
}
.footer a {
  display: inline-block;
}
.footer-grid > div:not(:first-child) > a,
.footer-grid > div:not(:first-child) > span {
  display: block;
  margin-bottom: 10px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--line);
  margin-top: 32px;
  padding-top: 23px;
  font-size: 12px;
}
.footer-bottom > div {
  display: flex;
  gap: 20px;
}
.footer-disclosure {
  margin: 16px 0 0;
}
.footer .stack {
  gap: 8px;
}
.footer h4 {
  color: var(--ink);
  font-size: 13px;
  margin-bottom: 12px;
}
.footer .row {
  border-top: 1px solid var(--line);
  margin-top: 34px;
  padding-top: 24px;
  justify-content: space-between;
  font-size: 12px;
}

/* Workspace */
.app-shell {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  min-height: 100vh;
  background: #fafbf6;
}
.app-shell.shell {
  width: 100%;
  margin: 0;
}
.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  padding: 27px 18px 20px;
  background: #f1f2e9;
  border-right: 1px solid #dcdfd1;
  overflow-y: auto;
}
.sidebar .brand {
  font-size: 23px;
  padding: 0 11px;
  margin-bottom: 35px;
}
.sidebar .brand-mark {
  width: 28px;
  height: 28px;
}
.sidebar nav,
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sidebar nav a,
.sidebar .nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 13px;
  border-radius: 8px;
  color: #5f6a5c;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.sidebar nav a:hover,
.sidebar .nav-item:hover {
  background: #e6e8dc;
  color: var(--ink);
}
.sidebar nav a.active,
.sidebar .nav-item.active {
  color: var(--ink);
  background: #fffef7;
  border: 1px solid #dde0d2;
  padding: 11px 12px;
  box-shadow: 0 2px 5px #242c1c05;
}
.sidebar nav a svg,
.sidebar .nav-item svg {
  width: 18px;
  height: 18px;
  color: #6e7866;
}
.sidebar nav a.active svg {
  color: var(--orange-dark);
}
.sidebar .nav-label {
  padding: 22px 13px 10px;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #646f58;
}
.sidebar-footer {
  margin-top: auto;
  padding: 25px 12px 0;
}
.sidebar-label {
  font-size: 10px;
  margin: 0 12px 12px;
  color: #646f58;
}
.sidebar-label::before {
  display: none;
}
.sidebar-callout {
  margin: 31px 8px 20px;
  padding: 19px 16px;
  background: #e5ebd3;
  border: 1px solid #d5dcc2;
  border-radius: 11px;
}
.sidebar-callout p {
  font: 600 22px/1.22 var(--display);
  margin: 17px 0;
}
.sidebar-callout a {
  font-size: 12px;
  font-weight: 600;
}
.sidebar-footer {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-inline: 3px;
}
.sidebar-footer > div {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
}
.sidebar-footer strong {
  font-size: 12px;
}
.sidebar-footer .small {
  font-size: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 116px;
}
.sidebar-footer > .btn {
  margin: 0 0 0 auto;
  padding: 4px;
}
.avatar {
  width: 31px;
  height: 31px;
  background: #f4e0bd;
  color: #705337;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}
.sidebar-footer .card,
.sidebar-footer .notice {
  padding: 16px;
  border-radius: 9px;
  background: #e9eddd;
  font-size: 12px;
}
.sidebar-footer .btn {
  margin-top: 8px;
}
.sidebar-footer p {
  margin-bottom: 8px;
}
.workspace {
  min-width: 0;
  padding: 0 44px 56px;
}
.workspace-body {
  max-width: 1360px;
  margin-inline: auto;
}
.workspace-header,
.topbar {
  min-height: 86px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 36px;
}
.workspace-header h1,
.topbar h1 {
  font-size: 15px;
  font-weight: 550;
  letter-spacing: 0;
  margin: 0;
}
.workspace-header .row,
.topbar .row {
  gap: 12px;
}
.topbar {
  padding-block: 23px;
  min-height: 129px;
}
.topbar h1 {
  font-size: 26px;
  letter-spacing: -0.025em;
}
.topbar .eyebrow {
  font-size: 13px;
  margin-bottom: 8px;
}
.topbar > div > .muted {
  font-size: 13px;
  margin: 8px 0 0;
}
.topbar .toolbar {
  margin: 0;
  justify-content: end;
}
.welcome-banner {
  position: relative;
  padding: 32px;
  border: 1px solid #d4dec0;
  border-radius: 15px;
  background: #edf2df;
  margin-bottom: 24px;
  overflow: hidden;
}
.welcome-banner h2 {
  position: relative;
  font: 600 37px/1.13 var(--display);
  margin-bottom: 13px;
  max-width: 600px;
}
.welcome-banner p {
  position: relative;
  max-width: 580px;
  color: #56694e;
  font-size: 14px;
}
.welcome-banner > .btn {
  position: relative;
}
.welcome-spark {
  position: absolute;
  right: 24px;
  top: 25px;
  color: #b5c582;
}
.welcome-spark svg.icon {
  width: 93px;
  height: 93px;
}
.stat-label {
  color: var(--muted);
  font-size: 12px;
}
.stat-card .metric-value {
  display: block;
  margin-bottom: 7px;
}
.stat-card > .small {
  display: block;
  font-size: 11px;
}
.start-aside {
  align-self: start;
}
.start-aside h3 {
  font: 600 30px/1.13 var(--display);
}
.start-aside p {
  color: var(--muted);
  font-size: 14px;
}
.link-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 17px 0;
  min-width: 0;
}
.link-item > div {
  min-width: 0;
}
.link-item strong {
  display: block;
  font-size: 14px;
}
.link-item .copy-code {
  font-size: 11px;
  padding: 7px 10px;
  margin-top: 10px;
}
.link-item:last-child {
  border: 0;
}
.explore-heading {
  padding-bottom: 29px;
}
.explore-heading h1 {
  font-family: var(--display);
  font-weight: 600;
}
.explore-heading p {
  color: var(--muted);
  max-width: 540px;
}
.form.explore-filter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.45fr) auto;
  gap: 16px;
  align-items: end;
  margin: 26px 0;
}
.explore-filter .btn {
  min-height: 47px;
}
.workspace > .section {
  padding: 8px 0 30px;
}
.workspace .section-head {
  align-items: center;
}
.workspace .section-head h1,
.workspace .section-heading h1 {
  font-size: 32px;
  margin-bottom: 8px;
}
.workspace .section-head h2,
.workspace .section-heading h2 {
  font-family: var(--font);
  font-size: 29px;
  font-weight: 550;
}
.workspace .section-head p {
  font-size: 15px;
}
.workspace .panel {
  padding: 28px;
  box-shadow: 0 3px 5px #26311c02;
}
.workspace .panel h2 {
  font: 550 21px/1.25 var(--font);
  margin-bottom: 9px;
}
.workspace .panel h3 {
  font-size: 19px;
}
.workspace .panel > p {
  color: var(--muted);
  font-size: 14px;
}
.workspace .grid-3 {
  gap: 18px;
}
.workspace .project-cover {
  height: 146px;
  font-size: 31px;
}
.workspace .project-meta {
  padding: 21px;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 22px 0;
  flex-wrap: wrap;
}
.toolbar .input,
.toolbar .select {
  width: auto;
  min-width: 200px;
}
.tabs {
  display: flex;
  gap: 21px;
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  margin: 18px 0 29px;
}
.tabs a,
.tabs button {
  position: relative;
  display: block;
  padding: 12px 1px 14px;
  border: 0;
  background: transparent;
  font-size: 14px;
  color: var(--muted);
  white-space: nowrap;
}
.tabs .active {
  color: var(--ink);
  font-weight: 600;
}
.tabs .active::after {
  content: '';
  height: 2px;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--orange);
}
.stat-grid,
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.stat-card,
.stat {
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 22px;
  background: var(--white);
}
.stat-card .muted,
.stat .muted {
  font-size: 13px;
}
.stat-card small,
.stat small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 9px;
}
.metric-value {
  font-size: 32px;
  line-height: 1.3;
  font-weight: 550;
  letter-spacing: -0.035em;
  margin-top: 8px;
}
.table-wrap {
  overflow-x: auto;
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 11px;
}
.data-table,
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}
.data-table th,
.table th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--muted);
  background: #f5f6ed;
  padding: 15px 19px;
  white-space: nowrap;
}
.data-table td,
.table td {
  padding: 18px 19px;
  border-top: 1px solid #e9eadd;
  vertical-align: middle;
}
.data-table td p,
.table td p {
  margin: 3px 0 0;
  font-size: 12px;
  color: var(--muted);
}
.data-table tbody tr:hover,
.table tbody tr:hover {
  background: #fbfcf5;
}
.data-table .btn {
  padding: 6px 10px;
  min-height: 34px;
}
.empty-state {
  padding: 54px 30px;
  text-align: center;
  border: 1px dashed #cfd4c5;
  border-radius: 13px;
  background: #fafbf4;
}
.empty-state > .icon {
  margin: 0 auto 20px;
  background: #ebeedf;
  color: #607050;
}
.empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid #dce3ca;
  border-radius: 13px;
  background: #ebeedf;
  color: #607050;
  margin: 0 auto 20px;
}
.empty-icon svg.icon {
  width: 27px;
  height: 27px;
  background: transparent;
  margin: 0;
}
.empty-state h2 {
  font: 600 30px/1.15 var(--display);
  margin-bottom: 12px;
}
.empty-state h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.empty-state p {
  color: var(--muted);
  font-size: 14px;
  max-width: 470px;
  margin: 0 auto 23px;
}
.empty-state .btn + .btn {
  margin-left: 8px;
}
.chart-empty {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 58px, #e5e8db 59px, transparent 60px);
  color: var(--muted);
  gap: 10px;
  font-size: 13px;
}
.chart-empty svg {
  width: 32px;
  height: 32px;
  color: #929e85;
}
.asset-card {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--white);
  overflow: hidden;
}
.asset-card > .row,
.asset-card > header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  justify-content: space-between;
  font-size: 13px;
}
.asset-body {
  padding: 24px;
}
.asset-body p {
  font-size: 15px;
  line-height: 1.7;
  white-space: pre-wrap;
}
.asset-card footer {
  padding: 15px 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #fbfcf6;
  font-size: 12px;
  color: var(--muted);
}
.copy-code,
.code-block {
  background: #f1f3e9;
  border: 1px solid #dce0d0;
  border-radius: 8px;
  padding: 16px;
  font:
    12px/1.7 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  overflow-x: auto;
  white-space: pre;
  color: #455b46;
}
.copy-code {
  white-space: normal;
  overflow-wrap: anywhere;
}
.progress-track {
  height: 6px;
  border-radius: 4px;
  background: #e4e8d8;
  overflow: hidden;
  margin: 15px 0 8px;
}
.progress-fill {
  height: 100%;
  background: var(--orange);
  border-radius: inherit;
}
.list-item {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.list-item:last-child {
  border: 0;
}
.list-item h4 {
  margin-bottom: 5px;
}
.list-item p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 0;
}
.supporter-dot {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e4e9d2;
  color: #5d6c4d;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}

/* Forms and states */
.form {
  display: flex;
  flex-direction: column;
  gap: 23px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.field.full,
.field:has(textarea) {
  grid-column: 1 / -1;
}
.field > label,
.field > .label {
  font-size: 13px;
  font-weight: 600;
  color: #3a4a42;
}
.input,
.select,
.textarea,
.field input:not([type='checkbox']):not([type='radio']):not([type='submit']),
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #8b9486;
  background: #fffef9;
  padding: 12px 14px;
  border-radius: 8px;
  min-height: 47px;
  color: var(--ink);
  font-size: 16px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
.input::placeholder,
.textarea::placeholder,
.field input::placeholder,
.field textarea::placeholder {
  color: #6e7767;
}
.input:focus,
.select:focus,
.textarea:focus,
.field input:not([type='checkbox']):not([type='radio']):not([type='submit']):focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--orange-dark);
  outline-offset: 1px;
  border-color: var(--orange-dark);
  box-shadow: 0 0 0 4px #e7c8a655;
}
.textarea,
.field textarea {
  resize: vertical;
  min-height: 125px;
}
.select,
.field select {
  appearance: auto;
  cursor: pointer;
}
.field input[type='checkbox'],
.field input[type='radio'],
input[type='checkbox'],
input[type='radio'] {
  accent-color: var(--orange-dark);
  height: 18px;
  width: 18px;
  flex-shrink: 0;
}
.field label.row {
  font-weight: 450;
  font-size: 14px;
  align-items: start;
}
.checkbox {
  display: flex;
  align-items: start;
  gap: 9px;
  font-size: 13px;
  color: #52614c;
}
.checkbox input {
  margin-top: 2px;
}
/* Stacked 18px checkboxes need 24px between centers (WCAG 2.2 target size). */
.checkbox + .checkbox {
  margin-top: 10px;
}
.input-action {
  display: flex;
  align-items: end;
  gap: 12px;
}
.input-action .field {
  flex: 1;
}
.input-action > .btn {
  min-height: 47px;
  flex-shrink: 0;
}
.hint {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}
.hint.error {
  color: var(--red);
}
.notice {
  padding: 17px 20px;
  border: 1px solid #dce0cb;
  background: #f0f3e6;
  border-radius: 10px;
  font-size: 13px;
  color: #52634b;
  line-height: 1.6;
}
.notice p {
  margin: 0;
}
.notice strong {
  color: #354a30;
}
.notice-warning {
  border-color: #ebd4a8;
  background: #fff6e3;
  color: #87551d;
}
.notice-warning strong {
  color: #694119;
}
.notice-success {
  border-color: #cbdfc4;
  background: var(--green-light);
  color: var(--green);
}
.notice-danger,
.notice-error {
  border-color: #e5b7a5;
  background: var(--red-light);
  color: var(--red);
}
.toast:not(.is-visible) {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
}
.toast {
  transition:
    opacity 0.2s,
    transform 0.2s;
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  max-width: min(550px, calc(100% - 32px));
  padding: 14px 22px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 10px 30px #202b3428;
  font-size: 14px;
}
.spinner {
  width: 18px;
  height: 18px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: #17232f77;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(3px);
}
.modal {
  width: min(610px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 32px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 30px 80px #19252a33;
}
.modal h2 {
  font-size: 29px;
}
.modal .row {
  justify-content: space-between;
}
.auth-layout {
  width: min(1110px, calc(100% - 64px));
  margin: 70px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
  min-height: 65vh;
}
.auth-layout h1 {
  font: 600 64px/1.06 var(--display);
  margin-bottom: 26px;
}
.auth-layout > div > p {
  color: var(--muted);
  font-size: 18px;
  max-width: 390px;
}
.auth-copy {
  min-width: 0;
}
.auth-card .badge {
  margin-bottom: 22px;
}
.auth-card {
  padding: 36px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.auth-card h2 {
  font-size: 25px;
  margin-bottom: 12px;
}
.auth-card > p {
  font-size: 14px;
  color: var(--muted);
}
.auth-card .btn {
  width: 100%;
}
.auth-card .divider {
  margin: 20px 0;
}
.auth-card a:not(.btn) {
  color: var(--orange-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Public launch pages */
.launch-hero {
  padding: 40px 0;
}
.launch-cover {
  min-height: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 15px;
  background: var(--lime);
  font: 600 72px/1 var(--display);
  position: relative;
  text-align: center;
  padding: 30px;
}
.launch-cover img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
}
.launch-main {
  min-width: 0;
}
.launch-main h1 {
  font: 600 54px/1.1 var(--display);
  margin-bottom: 17px;
}
.launch-main h2 {
  font-size: 25px;
  margin: 34px 0 16px;
}
.launch-main > p {
  color: #5e6a62;
  max-width: 740px;
}
.launch-tagline {
  font-size: 21px;
  line-height: 1.5;
  color: #52614c;
}
.launch-aside {
  align-self: start;
  position: sticky;
  top: 25px;
}
.launch-aside h3 {
  font: 600 30px/1.15 var(--display);
}
.launch-aside .btn {
  width: 100%;
}
.launch-aside p {
  font-size: 14px;
  color: var(--muted);
}
.feedback-item {
  padding: 21px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 11px;
}
.feedback-item p {
  font-size: 14px;
  margin: 12px 0 0;
  white-space: pre-wrap;
}
.feedback-item .row {
  justify-content: space-between;
  font-size: 12px;
}
.legal-page {
  max-width: 780px;
  margin: 60px auto;
}
.legal-page h1 {
  font: 600 56px/1.1 var(--display);
}
.legal-page h2 {
  font: 550 24px/1.25 var(--font);
  margin-top: 38px;
}
.legal-page p,
.legal-page li {
  color: #526259;
}

/* Optional gathering illustration, built without external media. */
.rally-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse, #edd6a538 0, #eadcb220 46%, transparent 66%);
}
.rally-ring {
  border: 1px dashed #b8ba9f;
  border-radius: 50%;
  position: absolute;
  width: 65%;
  height: 65%;
}
.rally-ring.ring-two {
  width: 97%;
  height: 97%;
  opacity: 0.7;
}
.rally-core {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 9px;
  width: 155px;
  height: 155px;
  border-radius: 50%;
  background: var(--orange);
  font-size: 14px;
  font-weight: 650;
  color: #282d2a;
  box-shadow:
    0 0 0 14px #f5c69340,
    0 8px 25px #aa6e2920;
  position: relative;
  z-index: 2;
  text-align: center;
}
.rally-core::before {
  content: '';
  width: 39px;
  height: 39px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Cpath d='M20 2l3.8 11.5L35 8l-5.5 11.2L40 23l-12 2.8L32 37l-10-7.3L16 40l-1.8-12L2 31l7.5-10L0 14l12.3.4L13 2l6 10z' fill='%23fff5db'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.rally-core svg {
  width: 33px;
  height: 33px;
}
.rally-core:has(svg)::before,
.rally-node:has(svg)::before {
  display: none;
}
.rally-core svg.icon {
  width: 35px;
  height: 35px;
  margin: 0;
  padding: 0;
  color: #fff5db;
}
.rally-core > strong {
  font: 600 26px/1.05 var(--display);
}
.rally-core > small {
  font-size: 8px;
  letter-spacing: 0.01em;
}
.rally-node {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #d6d9c6;
  background: var(--white);
  box-shadow: 0 6px 14px #47432b0a;
  border-radius: 10px;
  padding: 12px 15px;
  font-size: 12px;
  font-weight: 550;
  z-index: 3;
}
.rally-node::before {
  content: '↗';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 29px;
  height: 29px;
  background: var(--lime);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 400;
}
.node-two::before {
  content: '✦';
  background: #f9d6a6;
  font-size: 17px;
}
.node-three::before {
  content: '✓';
  color: var(--white);
  background: var(--ink);
  font-size: 14px;
}
.node-four::before {
  content: '↔';
  background: #e4e9e3;
  font-size: 17px;
}
.rally-node svg.icon {
  width: 29px;
  height: 29px;
  padding: 6px;
  background: var(--lime);
  border-radius: 50%;
  color: #4c5e32;
}
.node-two svg.icon {
  background: #f9d6a6;
  color: #855515;
}
.node-three svg.icon {
  background: var(--ink);
  color: var(--white);
}
.node-four svg.icon {
  background: #e4e9e3;
  color: #506257;
}
.node-one {
  left: 4%;
  top: 14%;
  transform: rotate(-8deg);
}
.node-two {
  right: 0;
  top: 23%;
  transform: rotate(5deg);
}
.node-three {
  right: 3%;
  bottom: 15%;
  transform: rotate(-4deg);
}
.node-four {
  left: 0;
  bottom: 22%;
  transform: rotate(3deg);
}
.node-five {
  top: 1%;
  left: 38%;
}
.rally-caption {
  position: absolute;
  bottom: 0;
  font-size: 12px;
  color: var(--muted);
}
.rally-caption .supporter-dot {
  width: 7px;
  height: 7px;
  margin-right: 6px;
  background: var(--orange);
}

@media (min-width: 1500px) {
  .workspace {
    padding-inline: 56px;
  }
  .workspace > main,
  .workspace > .stack,
  .workspace > .section {
    max-width: 1440px;
    margin-inline: auto;
  }
}
@media (max-width: 1120px) {
  .shell {
    width: calc(100% - 56px);
  }
  #app > .site-header,
  #app > main,
  #app > .footer {
    width: calc(100% - 56px);
  }
  .site-nav {
    gap: 19px;
    font-size: 14px;
  }
  .hero {
    gap: 35px;
    padding-block: 65px;
    min-height: 600px;
  }
  .hero h1,
  .display {
    font-size: 68px;
  }
  .hero-stage {
    min-height: 440px;
  }
  .float-note:first-of-type {
    right: -5px;
  }
  .float-note:last-of-type {
    left: -5px;
  }
  .app-shell {
    grid-template-columns: 210px minmax(0, 1fr);
  }
  .workspace {
    padding-inline: 28px;
  }
  .stat-grid,
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .auth-layout {
    gap: 55px;
  }
  .split-section {
    gap: 35px;
  }
  .workspace .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 850px) {
  .site-header {
    min-height: 85px;
    gap: 20px;
    position: relative;
    flex-wrap: wrap;
    padding-block: 18px;
  }
  .site-nav {
    display: none;
    order: 3;
    width: 100%;
    padding: 15px 0 4px;
  }
  .site-nav.open {
    display: flex;
  }
  .site-header.menu-open .site-nav {
    display: flex;
  }
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav-actions .btn-ghost {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    min-height: auto;
    padding: 55px 0;
  }
  .hero h1,
  .display {
    font-size: 56px;
  }
  .hero-copy > p {
    font-size: 16px;
  }
  .hero-stage {
    min-height: 390px;
  }
  .stage-art {
    min-height: 170px;
  }
  .float-note {
    padding: 10px 13px;
    font-size: 10px;
  }
  .float-note strong {
    font-size: 12px;
  }
  .float-note:first-of-type {
    right: -12px;
    top: 8%;
  }
  .float-note:last-of-type {
    left: -12px;
    bottom: 3%;
  }
  .campaign-paper h3 {
    font-size: 24px;
  }
  .section {
    padding: 58px 0;
  }
  .section-head,
  .section-heading {
    gap: 22px;
  }
  .section-head p,
  .section-heading p {
    max-width: 330px;
    font-size: 14px;
  }
  .grid-3 {
    gap: 16px;
  }
  .card {
    padding: 23px;
  }
  .card h3 {
    font-size: 21px;
  }
  .card p {
    font-size: 14px;
  }
  .logo-strip {
    gap: 18px;
    justify-content: center;
  }
  .logo-strip > span:first-child {
    width: 100%;
    text-align: center;
  }
  .app-shell {
    grid-template-columns: 185px minmax(0, 1fr);
  }
  .sidebar {
    padding-inline: 12px;
  }
  .sidebar .brand {
    font-size: 21px;
    padding-inline: 5px;
  }
  .sidebar .brand-mark {
    width: 26px;
  }
  .sidebar nav a {
    padding: 11px;
    font-size: 13px;
  }
  .sidebar nav a.active {
    padding: 10px;
  }
  .workspace {
    padding-inline: 23px;
  }
  .workspace .grid-2 {
    grid-template-columns: 1fr;
  }
  .workspace .section-head {
    align-items: start;
    flex-direction: column;
  }
  .workspace .panel {
    padding: 23px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .auth-layout {
    width: calc(100% - 48px);
    gap: 30px;
  }
  .auth-layout h1 {
    font-size: 49px;
  }
  .auth-card {
    padding: 26px;
  }
  .launch-cover {
    min-height: 250px;
  }
  .split-section {
    gap: 27px;
  }
  .split-section h2 {
    font-size: 42px;
  }
  .measurement-panel {
    padding: 22px;
  }
  .welcome-banner h2 {
    max-width: 75%;
  }
}
@media (max-width: 650px) {
  .shell {
    width: calc(100% - 40px);
  }
  #app > .site-header,
  #app > main,
  #app > .footer {
    width: calc(100% - 40px);
  }
  .site-header {
    min-height: 77px;
    padding-block: 15px;
    gap: 12px;
  }
  .brand {
    font-size: 23px;
    gap: 7px;
  }
  .brand-mark {
    width: 28px;
    height: 28px;
  }
  .nav-actions {
    gap: 7px;
  }
  .nav-login {
    display: none;
  }
  .nav-actions .btn-primary {
    min-height: 40px;
    padding: 10px 12px;
    font-size: 12px;
  }
  .mobile-toggle {
    width: 39px;
    height: 39px;
  }
  .site-nav.open {
    flex-wrap: wrap;
    gap: 19px;
  }
  .site-header.menu-open .site-nav {
    flex-wrap: wrap;
    gap: 19px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 0 33px;
    gap: 22px;
  }
  .hero h1,
  .display {
    font-size: clamp(53px, 12vw, 72px);
    max-width: 460px;
    margin-bottom: 22px;
  }
  .hero-copy > p {
    max-width: 440px;
    font-size: 16px;
  }
  .hero-actions {
    margin-top: 24px;
  }
  .hero-actions .btn {
    font-size: 14px;
    min-height: 49px;
    padding-inline: 17px;
  }
  .hero-proof {
    gap: 14px;
    margin-top: 20px;
    font-size: 11px;
  }
  .eyebrow {
    font-size: 13px;
    margin-bottom: 12px;
  }
  .hero-stage {
    min-height: 430px;
    padding: 15px 25px 30px;
  }
  .stage-card {
    max-width: 350px;
  }
  .stage-art {
    min-height: 175px;
  }
  .float-note:first-of-type {
    right: 0;
    top: 12%;
  }
  .float-note:last-of-type {
    left: 0;
    bottom: 8%;
  }
  .spark {
    width: 38px;
    height: 38px;
    top: 5%;
    right: 5%;
  }
  .section {
    padding-block: 43px;
  }
  .section-head,
  .section-heading {
    flex-direction: column;
    align-items: start;
    gap: 15px;
    margin-bottom: 26px;
  }
  .section-head h2,
  .section-heading h2 {
    font-size: 36px;
  }
  .section-head p,
  .section-heading p {
    max-width: none;
    font-size: 15px;
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 17px;
  }
  .split-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .split-section h2 {
    font-size: 45px;
  }
  .card {
    padding: 26px;
  }
  .card h3 {
    font-size: 23px;
  }
  .card p {
    font-size: 15px;
  }
  .step-number {
    margin-bottom: 18px;
  }
  .project-card {
    padding: 0;
  }
  .project-cover {
    height: 200px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
  .footer {
    padding-top: 35px;
  }
  .footer .row {
    gap: 12px;
  }
  .footer-bottom {
    align-items: start;
    gap: 14px;
    flex-wrap: wrap;
  }
  .app-shell {
    display: block;
  }
  .sidebar {
    position: relative;
    height: auto;
    padding: 18px 20px 12px;
    border-right: 0;
    border-bottom: 1px solid #dcdfd1;
    overflow: visible;
  }
  .sidebar .brand {
    margin-bottom: 17px;
    padding: 0;
    font-size: 24px;
  }
  .sidebar nav,
  .sidebar-nav {
    display: flex;
    flex-direction: row;
    gap: 7px;
    overflow-x: auto;
    padding-bottom: 3px;
    margin-inline: -4px;
  }
  .sidebar nav a,
  .sidebar .nav-item {
    padding: 9px 10px;
    gap: 7px;
    font-size: 12px;
    min-height: 38px;
  }
  .sidebar nav a.active {
    padding: 8px 9px;
  }
  .sidebar nav a svg {
    width: 15px;
    height: 15px;
  }
  .sidebar .nav-label,
  .sidebar-footer {
    display: none;
  }
  .sidebar-callout,
  .sidebar-label {
    display: none;
  }
  .workspace {
    padding: 0 20px 40px;
  }
  .workspace-header,
  .topbar {
    min-height: 69px;
    margin-bottom: 28px;
    gap: 13px;
  }
  .workspace-header .btn,
  .topbar .btn {
    font-size: 12px;
    padding: 8px 11px;
    min-height: 35px;
  }
  .workspace-header .row,
  .topbar .row {
    gap: 7px;
  }
  .workspace-header h1,
  .topbar h1 {
    font-size: 13px;
  }
  .topbar {
    align-items: start;
    min-height: 137px;
    flex-direction: column;
    gap: 17px;
    padding-block: 23px;
  }
  .topbar h1 {
    font-size: 24px;
  }
  .topbar .toolbar {
    width: 100%;
    justify-content: start;
  }
  .topbar .eyebrow {
    margin-bottom: 8px;
  }
  .topbar > div > .muted {
    margin-top: 8px;
    font-size: 12px;
  }
  .welcome-banner {
    padding: 24px;
  }
  .welcome-banner h2 {
    font-size: 30px;
    max-width: 90%;
  }
  .welcome-spark {
    right: -14px;
    top: -19px;
  }
  .welcome-spark svg.icon {
    width: 73px;
    height: 73px;
  }
  .workspace .section-head {
    gap: 17px;
  }
  .workspace .section-head h1 {
    font-size: 29px;
  }
  .workspace .section-head h2 {
    font-size: 27px;
  }
  .workspace .grid-3 {
    grid-template-columns: 1fr;
  }
  .workspace .panel {
    padding: 21px;
  }
  .workspace .project-cover {
    height: 175px;
  }
  .stat-grid,
  .metric-grid {
    gap: 11px;
  }
  .stat-card,
  .stat {
    padding: 17px 14px;
  }
  .metric-value {
    font-size: 29px;
  }
  .stat-card .muted {
    font-size: 12px;
  }
  .empty-state {
    padding: 34px 21px;
  }
  .empty-state h2 {
    font-size: 27px;
  }
  .empty-state .btn + .btn {
    margin: 9px 0 0;
  }
  .toolbar {
    align-items: stretch;
    gap: 10px;
  }
  .toolbar .input,
  .toolbar .select {
    width: 100%;
  }
  .data-table th,
  .table th {
    padding: 12px 14px;
  }
  .data-table td,
  .table td {
    padding: 15px 14px;
  }
  .tabs {
    gap: 20px;
    margin-bottom: 24px;
  }
  .tabs a,
  .tabs button {
    font-size: 13px;
  }
  .form {
    gap: 20px;
  }
  .form-grid {
    gap: 19px;
  }
  .input-action {
    flex-direction: column;
    align-items: stretch;
  }
  .form.explore-filter {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .link-item {
    flex-wrap: wrap;
  }
  .auth-layout {
    width: calc(100% - 40px);
    grid-template-columns: 1fr;
    margin-block: 38px;
    gap: 28px;
  }
  .auth-layout h1 {
    font-size: 49px;
    max-width: 360px;
  }
  .auth-layout > div > p {
    font-size: 16px;
  }
  .auth-card {
    padding: 25px;
  }
  .launch-hero {
    padding-block: 26px;
  }
  .launch-cover {
    min-height: 220px;
    font-size: 52px;
  }
  .launch-main h1 {
    font-size: 46px;
  }
  .launch-aside {
    position: static;
  }
  .asset-body {
    padding: 20px;
  }
  .asset-card footer {
    flex-wrap: wrap;
  }
  .modal {
    padding: 24px;
  }
  .legal-page {
    margin: 38px auto;
  }
  .legal-page h1 {
    font-size: 44px;
  }
  .rally-core {
    width: 120px;
    height: 120px;
  }
  .rally-node {
    padding: 10px 12px;
  }
  .rally-core > strong {
    font-size: 22px;
  }
  .rally-core > small {
    font-size: 7px;
  }
  .rally-caption {
    font-size: 10px;
  }
}
@media (max-width: 360px) {
  .shell {
    width: calc(100% - 30px);
  }
  #app > .site-header,
  #app > main,
  #app > .footer {
    width: calc(100% - 30px);
  }
  .nav-actions .btn-primary {
    max-width: 105px;
    padding-inline: 8px;
  }
  .hero-stage {
    padding-inline: 18px;
    min-height: 400px;
  }
  .hero-actions {
    gap: 8px;
  }
  .hero-actions .btn {
    padding-inline: 13px;
    font-size: 13px;
  }
  .workspace {
    padding-inline: 15px;
  }
  .sidebar {
    padding-inline: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
@media print {
  body {
    background: #fff;
  }
  .sidebar,
  .site-nav,
  .nav-actions,
  .hero-stage,
  .toast,
  .btn,
  .footer {
    display: none !important;
  }
  .app-shell,
  .hero {
    display: block;
  }
  .workspace {
    padding: 0;
  }
  .shell {
    width: 100%;
  }
  .card,
  .panel {
    break-inside: avoid;
  }
}

/* Campaign workspace: messages, checklist and results */
.workspace-body > .form.message-form {
  max-width: none;
}
.messages-head {
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.message-list {
  display: grid;
  gap: 20px;
}
.message-card {
  display: grid;
  gap: 18px;
}
.message-card .eyebrow {
  margin-bottom: 10px;
}
.message-card textarea {
  min-height: 190px;
  line-height: 1.6;
  field-sizing: content;
  max-height: 32rem;
}
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.message-card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.copy-controls {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}
.copy-controls .field {
  min-width: 220px;
}
.checklist {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.checklist-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px 12px;
  border-radius: 12px;
}
.checklist-item p {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.checklist-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 650;
  border: 1px solid var(--line);
  color: var(--muted);
}
.checklist-mark svg {
  width: 16px;
  height: 16px;
}
.checklist-item.is-done .checklist-mark {
  background: var(--green-light);
  border-color: #cbdfc4;
  color: var(--green);
}
.checklist-item.is-done strong {
  color: var(--muted);
  font-weight: 550;
}
.checklist-item.is-next {
  background: var(--orange-light);
}
.checklist-item.is-next .checklist-mark {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.not-measured {
  display: block;
  font-size: 15px;
  font-weight: 650;
  color: #6b5a3c;
  margin: 6px 0 7px;
}
.report-group {
  padding-bottom: 6px;
}
.report-group + .report-group {
  margin-top: 16px;
}
.report-group-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.report-group-head .eyebrow {
  margin: 0;
}
.report-group .stat-grid {
  margin: 16px 0 22px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.setup-card {
  display: grid;
  gap: 16px;
  margin: 16px 0 22px;
  padding: 22px;
  border: 1px dashed #d8c9a8;
  border-radius: 12px;
  background: #fffaf0;
}
.setup-card h3 {
  margin: 0 0 6px;
}
.setup-card p {
  margin: 0;
}
.method-notes summary {
  cursor: pointer;
  font-weight: 650;
}
.method-notes ul {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
  display: grid;
  gap: 8px;
}
.link-item-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.link-item-head strong {
  display: inline;
}
.campaign-overview {
  align-items: start;
}
@media (max-width: 650px) {
  .checklist-item {
    grid-template-columns: 32px minmax(0, 1fr);
  }
  .checklist-item > .btn {
    grid-column: 2;
    justify-self: start;
  }
  .message-card-foot,
  .copy-controls {
    align-items: stretch;
    flex-direction: column;
  }
  .copy-controls .field {
    min-width: 0;
  }
}

/* Accessibility */
.table-wrap {
  position: relative;
}
.tabs a:focus-visible,
.tabs button:focus-visible,
.sidebar-nav a:focus-visible {
  outline-offset: -3px;
}
main:focus,
h1[tabindex='-1']:focus {
  outline: none;
}
.nav-mobile-only,
.mobile-only {
  display: none !important;
}
@media (max-width: 850px) {
  .site-header.menu-open .site-nav .nav-mobile-only {
    display: inline-flex !important;
  }
}
@media (max-width: 650px) {
  .workspace-header .mobile-only {
    display: inline-flex !important;
  }
}
.pricing-features .not-included {
  color: var(--muted);
}
.feature-dash {
  display: inline-block;
  width: 18px;
  text-align: center;
  color: var(--muted);
}

/* Homepage examples (always labelled as examples) */
.example-campaign {
  margin: 0;
  width: min(100%, 470px);
  display: grid;
  gap: 16px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow:
    0 30px 60px #202b3414,
    0 0 0 10px #f36b360d;
}
.example-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.example-message {
  padding: 18px;
  border-radius: 14px;
  background: var(--paper);
}
.example-message .eyebrow {
  margin-bottom: 10px;
  font-size: 11px;
}
.example-message strong {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
}
.example-message p:last-child {
  margin: 0;
  color: #4d5856;
  font-size: 15px;
  line-height: 1.55;
}
.example-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
}
.example-source {
  font-weight: 650;
}
.example-link code {
  flex: 1;
  min-width: 0;
  padding: 7px 10px;
  border-radius: 8px;
  background: var(--paper);
  border: 1px solid var(--line);
  color: #3e4a47;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.example-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 600;
}
.example-copy svg,
.example-steps svg,
.example-insight svg {
  width: 14px;
  height: 14px;
}
.example-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.example-steps span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.example-steps svg {
  color: var(--green);
}
.example-report {
  margin: 0;
  background: #f1f2e7;
}
.example-report .row {
  justify-content: space-between;
  margin-bottom: 16px;
}
.example-report .eyebrow {
  margin: 0;
}
.example-report .data-table {
  background: var(--white);
}
.example-insight {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 18px 0 10px;
  font-weight: 600;
}
.example-insight svg {
  flex: none;
  margin-top: 4px;
  color: var(--orange-dark);
}
.home-honesty h3 {
  font: 600 28px/1.2 var(--display);
  margin-bottom: 12px;
}
@media (max-width: 650px) {
  .example-campaign {
    padding: 18px;
  }
}
.pricing-heading .panel > h2,
.pricing-heading .pricing-card h2 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Public launch page */
.launch-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 48px;
  align-items: center;
}
.launch-hero .hero-actions {
  margin-top: 26px;
}
.launch-facts dl {
  margin: 0;
  display: grid;
  gap: 18px;
}
.launch-facts dt {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.launch-facts dd {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.launch-facts .badge svg {
  width: 12px;
  height: 12px;
}
.launch-description {
  font-size: 17px;
  line-height: 1.7;
  margin: 0;
}
.launch-body {
  align-items: start;
}
.launch-main {
  display: grid;
  gap: 24px;
}
.launch-main .panel h2 {
  margin-top: 0;
}
.launch-aside {
  display: grid;
  gap: 24px;
}
.launch-aside h2 {
  font: 600 28px/1.15 var(--display);
  margin: 0 0 10px;
}
.launch-aside .toolbar .btn {
  width: auto;
}
.launch-footnote {
  padding-top: 0;
  display: grid;
  gap: 14px;
}
.launch-report summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 14px;
}
.launch-report[open] summary {
  margin-bottom: 16px;
}
.launch-report .form {
  max-width: 560px;
}
@media (max-width: 850px) {
  .launch-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .launch-aside {
    position: static;
  }
}
.launch-main .panel h2 {
  font: 600 28px/1.15 var(--display);
  margin: 0 0 10px;
}
.explore-grid > .hint {
  margin-top: 18px;
}
@media (max-width: 650px) {
  .tabs {
    flex-wrap: wrap;
    row-gap: 4px;
    overflow: visible;
  }
}
.welcome-banner .toolbar {
  justify-content: flex-start;
}
.workspace-body > section + section,
.workspace-body > .panel + section {
  margin-top: 28px;
}

/* Integration quick start */
.integration-top {
  align-items: start;
}
.integration-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  color: var(--muted);
}
.integration-status .badge svg {
  width: 12px;
  height: 12px;
}
.snippet {
  margin: 16px 0;
  border: 1px solid #dce0d0;
  border-radius: 10px;
  overflow: hidden;
  background: #f1f3e9;
}
.snippet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 6px 8px 6px 14px;
  border-bottom: 1px solid #dce0d0;
  font-size: 12px;
  font-weight: 650;
  color: #455b46;
}
.snippet pre {
  margin: 0;
  padding: 14px;
  overflow-x: auto;
  font:
    12.5px/1.65 ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  color: #2f3d33;
}
.test-steps {
  padding-left: 20px;
  display: grid;
  gap: 14px;
}
.test-steps code,
.feature-list code,
.notice code,
.hint code {
  font:
    0.92em ui-monospace,
    SFMono-Regular,
    Menlo,
    monospace;
  background: #f1f3e9;
  padding: 1px 5px;
  border-radius: 4px;
  overflow-wrap: anywhere;
}
.data-switch {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}
.data-switch a {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.data-switch a[aria-current='page'] {
  background: var(--ink);
  color: var(--white);
}
.integration-more {
  justify-content: flex-start;
}
.test-steps > li {
  min-width: 0;
}

/* Local saved-post and private media previews. Remote media is never embedded. */
.publishing-library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 12px;
}
.publishing-library-picker {
  min-width: 0;
}
.publishing-library-option {
  display: block;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow-wrap: anywhere;
  cursor: pointer;
}
.publishing-library-option:has(input:checked) {
  outline: 2px solid var(--ink);
}
.publishing-library-option:focus-within {
  outline: 3px solid #72824b;
}
.publishing-library-option .private-media-image,
.publishing-library-option .private-media-video {
  max-height: 160px;
}
.publishing-availability {
  margin: 0 0 12px 28px;
}
.publishing-context {
  font-weight: 600;
}
.private-media-image,
.private-media-video {
  display: block;
  max-width: 100%;
  max-height: 540px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 12px auto;
}
.post-preview-device {
  margin-block: 16px;
}
.post-preview-device > summary {
  cursor: pointer;
  font-weight: 600;
}
.post-preview-frame {
  width: 100%;
  border: 1px solid var(--border, #dcded6);
  border-radius: 14px;
  overflow: hidden;
  margin: 12px auto;
  background: var(--surface, #fff);
  overflow-wrap: anywhere;
}
.post-preview-mobile {
  max-width: 390px;
}
.post-preview-desktop {
  max-width: 680px;
}
.post-preview-frame header,
.post-preview-frame footer,
.post-preview-caption,
.post-preview-frame > h3 {
  padding: 16px;
}
.post-preview-frame header {
  border-bottom: 1px solid var(--border, #dcded6);
}
.post-preview-frame header p {
  margin: 4px 0 0;
  font-size: 0.8rem;
}
.post-preview-frame footer {
  font-size: 0.8rem;
  border-top: 1px solid var(--border, #dcded6);
}
.post-preview-media .hint {
  padding-inline: 12px;
}
.post-preview-placeholder {
  min-height: 100px;
  padding: 20px;
  background: #f3f4ee;
  color: #4f554a;
}
.post-preview-vertical .post-preview-media,
.post-preview-vertical .post-preview-placeholder {
  max-width: 300px;
  margin-inline: auto;
}
.post-preview-newsletter .post-preview-caption {
  font-family: Georgia, serif;
  line-height: 1.7;
}
.hero-promise {
  margin: 14px 0 0;
  max-width: 600px;
  color: var(--green);
  font-size: 17px;
}
.hero-start-form {
  margin: 26px 0 18px;
  max-width: 600px;
}
.hero-start-form label {
  font-size: 14px;
  font-weight: 650;
}
.hero-start-form .input-action {
  display: flex;
  gap: 8px;
}
.hero-start-form .input {
  min-width: 0;
}
.hero-start-form .btn {
  flex-shrink: 0;
}
.hero-demo-link {
  display: inline-flex;
  margin-top: 6px;
}
.example-demo-button {
  margin: 20px 0 12px;
  width: 100%;
}
.free-offer-price {
  font-size: 42px;
  letter-spacing: -2px;
}
.free-offer-list,
.auth-benefits {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  display: grid;
  gap: 16px;
}
.free-offer-list li,
.auth-benefits li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.free-offer-list .icon,
.auth-benefits .icon {
  flex-shrink: 0;
  color: var(--ink);
}
.launch-use-cases {
  margin-top: 28px;
}
.launch-use-cases h3 {
  margin-top: 22px;
}
.launch-faq {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
}
.faq-list {
  display: grid;
  gap: 12px;
}
.faq-list summary,
.preview-brief-details summary,
.onboarding-import summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 32px;
}
.faq-list details p {
  color: var(--muted);
  margin: 16px 0 0;
  line-height: 1.7;
}
.preview-brief-details .form-grid,
.onboarding-import form {
  margin-top: 20px;
}
.preview-brief-summary h3 {
  margin: 16px 0 8px;
}
.workspace-primary-nav,
.workspace-tools-nav {
  display: grid;
  gap: 5px;
}
.workspace-more-tools {
  border-top: 1px solid #dcdfd1;
  margin-top: 12px;
  padding-top: 10px;
}
.workspace-more-tools summary {
  padding: 12px 13px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #5f6a5c;
}
.workspace-more-tools summary:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-radius: 6px;
}
@media (max-width: 850px) {
  .hero-start-form .input-action {
    flex-wrap: wrap;
  }
  .hero-start-form .input {
    width: 100%;
    flex-basis: 100%;
  }
  .hero-start-form .btn {
    width: 100%;
  }
  .launch-faq {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Keep the complete first-launch workflow visible on narrow screens. */
@media (max-width: 650px) {
  .sidebar .sidebar-nav {
    display: block;
    overflow: visible;
    margin: 0;
  }
  .workspace-primary-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
  }
  .workspace-primary-nav .nav-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    padding: 9px 4px;
    min-height: 60px;
    text-align: center;
    white-space: normal;
    font-size: 11px;
  }
  .workspace-more-tools {
    margin-top: 10px;
  }
  .workspace-more-tools summary {
    min-height: 44px;
    padding: 13px 8px;
  }
  .workspace-tools-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .workspace-tools-nav .nav-item {
    white-space: normal;
    min-height: 44px;
  }
  .hero-start-form .input-action {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }
  .launch-faq .panel {
    padding: 20px;
  }
  .auth-benefits {
    font-size: 14px;
  }
}

.paid-value-section .price span {
  font-size: 0.9rem;
  font-weight: 400;
}
.selected-plan {
  outline: 2px solid var(--accent, #ba542f);
  outline-offset: 3px;
}
.purchase-return {
  margin-bottom: 1.5rem;
}
.purchase-limit-help {
  margin-top: 0.75rem;
}

#allyful-referral {
  padding: 1rem;
  margin: 1rem;
  border: 1px solid currentColor;
  border-radius: 0.6rem;
  font: inherit;
}
#allyful-referral p {
  max-width: 75ch;
  margin-bottom: 0.75rem;
}
#allyful-referral button {
  font: inherit;
  padding: 0.6rem;
  margin: 0.25rem;
  cursor: pointer;
}

/* Public site: one display voice, ink on paper, orange only where something is glowing. */
.btn,
.button {
  border-radius: 10px;
}
.btn-primary,
.button.primary {
  box-shadow: none;
}
.site-header {
  min-height: 84px;
}
.mobile-toggle {
  min-width: 44px;
  min-height: 44px;
}
.section {
  padding: 96px 0;
}
.section-head,
.section-heading {
  margin-bottom: 44px;
}
.section-description {
  font-size: 17px;
  line-height: 1.6;
}
.card-kicker,
.sidebar .nav-label,
.launch-facts dt,
.stage-eyebrow {
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
}

.hero.conversion-hero {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
  gap: 72px;
  min-height: 0;
  padding: 72px 0 96px;
}
.display,
.hero h1 {
  font-size: clamp(46px, 5.6vw, 80px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}
.hero-copy > .hero-description {
  max-width: 34em;
  font-size: 19px;
  line-height: 1.55;
  color: #47534f;
  margin-bottom: 0;
}
.hero-start-form {
  margin: 32px 0 20px;
  max-width: 560px;
}
.hero-start-form label {
  font-size: 15px;
}
.hero-start-form .input,
.hero-start-form .btn {
  min-height: 54px;
}
.hero-proof {
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 8px 22px;
  font-size: 14px;
  color: #47534f;
}
.hero-proof > li {
  display: flex;
  align-items: center;
  gap: 7px;
}
.hero-proof svg {
  width: 16px;
  height: 16px;
}
.hero.conversion-hero .hero-art {
  min-height: 0;
}

.launch-board {
  margin: 0;
  width: min(100%, 520px);
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  box-shadow:
    0 1px 0 #202b340f,
    0 40px 70px -40px #202b3447;
}
.board-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.board-promise {
  margin: 18px 0 16px;
  font: 600 22px/1.2 var(--display);
  letter-spacing: -0.02em;
}
.board-posts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.board-post {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 18px;
  align-items: start;
  padding: 14px 16px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  overflow: hidden;
}
.board-post-head {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  font-size: 13px;
}
.board-channel {
  font-weight: 700;
}
.board-angle {
  color: var(--muted);
}
.board-best {
  margin-left: auto;
  background: var(--orange);
  color: #1c242b;
}
.board-post > p {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: #37433f;
}
.board-result {
  display: flex;
  gap: 18px;
  margin: 0;
  text-align: right;
}
.board-result dt {
  font-size: 12px;
  color: var(--muted);
}
.board-result dd {
  margin: 0;
  font: 600 22px/1.1 var(--display);
  font-variant-numeric: tabular-nums;
}
.board-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  background: #202b3440;
  transform-origin: left;
  animation: board-grow 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s backwards;
}
.board-bar-full {
  width: 100%;
}
.board-bar-half {
  width: 54%;
}
.board-bar-short {
  width: 39%;
}
.board-post.is-best {
  border-color: #f0a877;
  background: var(--orange-light);
  animation: board-glow 1.1s ease-out 0.9s backwards;
  box-shadow: 0 0 0 4px #f36b3624;
}
.board-post.is-best .board-bar {
  background: var(--orange);
}
.board-insight {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 16px 0 0;
  font-size: 15px;
  font-weight: 600;
}
.board-insight svg {
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--orange-dark);
}
.launch-board .example-demo-button {
  margin: 18px 0 12px;
}
.launch-board .hint {
  margin: 0;
}
@keyframes board-grow {
  from {
    transform: scaleX(0);
  }
}
@keyframes board-glow {
  from {
    box-shadow: 0 0 0 0 #f36b3600;
    background: var(--paper);
    border-color: var(--line);
  }
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 32px;
  counter-reset: step;
}
.steps > li {
  counter-increment: step;
  padding-top: 22px;
  border-top: 2px solid var(--ink);
}
.steps > li::before {
  content: counter(step);
  display: block;
  margin-bottom: 18px;
  font: 700 56px/1 var(--display);
  letter-spacing: -0.04em;
  color: var(--orange-dark);
}
.steps h3 {
  margin-bottom: 10px;
}
.steps p {
  margin: 0;
  max-width: 34em;
  color: #47534f;
}

.free-offer-section {
  align-items: start;
}
.free-offer {
  padding: 32px;
  border-color: #cfd8a0;
  background: #f0f3d6;
}
.free-offer-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.free-offer-head h3 {
  margin: 6px 0 0;
  font-size: 24px;
}
.free-offer-head p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}
.free-offer-price {
  font: 700 44px/1 var(--display);
  letter-spacing: -0.04em;
}
.free-offer-list svg {
  margin-top: 3px;
  color: var(--green);
}

.plan-teasers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.plan-teaser {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.plan-teaser h3 {
  margin: 16px 0 6px;
  font: 600 26px/1.1 var(--display);
}
.plan-teaser .price {
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 650;
}
.plan-teaser p {
  font-size: 15px;
  color: #47534f;
}
.plan-teaser .btn {
  margin-top: auto;
}
.paid-value-section > .hint {
  margin: 20px 0 0;
  max-width: 70ch;
}

.use-section .section-head {
  align-items: end;
}
.use-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 32px;
}
.use-list > li {
  padding-top: 20px;
  border-top: 1px solid #b9baab;
}
.use-label {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 650;
  color: var(--orange-dark);
}
.use-list h3 {
  margin-bottom: 10px;
}
.use-list p {
  margin: 0;
  color: #47534f;
}

.launch-faq {
  align-items: start;
}
.launch-faq .faq-list {
  gap: 0;
  border-top: 1px solid #b9baab;
}
.launch-faq details {
  border-bottom: 1px solid var(--line);
}
.launch-faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 64px;
  padding: 16px 0;
  list-style: none;
  font-size: 18px;
}
.launch-faq summary::-webkit-details-marker {
  display: none;
}
.launch-faq summary::after {
  content: '+';
  flex: none;
  font: 400 26px/1 var(--display);
  color: var(--orange-dark);
  transition: transform 0.2s;
}
.launch-faq details[open] summary::after {
  transform: rotate(45deg);
}
.launch-faq summary:hover {
  color: var(--orange-dark);
}
.launch-faq details p {
  margin: 0 0 22px;
  max-width: 62ch;
  color: #47534f;
}

.section.final-cta {
  margin: 0 0 56px;
  padding: 88px 32px;
  border: 0;
  border-radius: 24px;
  background: var(--ink);
  color: var(--paper);
}
.final-cta h2 {
  font-size: clamp(40px, 5.4vw, 72px);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 18px;
}
.final-cta-note {
  margin: 0 0 32px;
  font-size: 18px;
  color: #c9cec4;
}
.final-cta .toolbar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.final-cta .btn-primary {
  background: var(--orange);
  color: #1c242b;
}
.final-cta .btn-primary:hover {
  background: #f78153;
}
.final-cta .btn-secondary {
  background: transparent;
  border-color: #ffffff59;
  color: var(--paper);
}
.final-cta .btn-secondary:hover {
  background: #ffffff14;
  border-color: var(--paper);
}
.final-cta :focus-visible {
  outline-color: var(--glow);
}
#app > main:has(.final-cta) + .footer {
  margin-top: 0;
  border-top: 0;
}

@media (max-width: 1000px) {
  .hero.conversion-hero {
    grid-template-columns: 1fr;
    gap: 44px;
    padding: 48px 0 72px;
  }
  .launch-board {
    width: 100%;
    max-width: 560px;
  }
  .plan-teasers {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 850px) {
  .section {
    padding: 64px 0;
  }
  .steps,
  .use-list {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .steps > li::before {
    font-size: 44px;
    margin-bottom: 12px;
  }
  .use-section .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .section.final-cta {
    padding: 64px 22px;
    border-radius: 20px;
    margin-bottom: 40px;
  }
}
@media (max-width: 650px) {
  .display,
  .hero h1 {
    font-size: clamp(42px, 12.5vw, 60px);
    max-width: none;
  }
  .hero-copy > .hero-description {
    font-size: 17px;
  }
  .launch-board {
    padding: 18px;
  }
  .board-promise {
    font-size: 20px;
  }
  .board-post {
    grid-template-columns: 1fr;
  }
  .board-result {
    text-align: left;
    gap: 24px;
    margin-top: 4px;
  }
  .free-offer {
    padding: 22px;
  }
  .launch-faq summary {
    font-size: 16px;
  }
  .final-cta .toolbar .btn {
    width: 100%;
  }
}

/* Pricing: four plans on one row, with air between the stacked panels. */
.pricing-heading > .display {
  margin-bottom: 36px;
}
.pricing-heading > .panel + .panel,
.pricing-heading > .notice + .panel,
.pricing-heading > .form + .panel {
  margin-top: 24px;
}
.pricing-plans {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-block: 24px;
}
.pricing-plans .pricing-card {
  padding: 24px;
}
.pricing-card .eyebrow {
  margin-bottom: 10px;
  font-size: 13px;
}
.pricing-card h2 {
  font-size: 30px;
  margin-bottom: 10px;
}
.pricing-card > .hint {
  margin: 0;
}
.pricing-card .price {
  margin: 2px 0 12px;
  font-family: var(--display);
  letter-spacing: -0.03em;
}
.pricing-card .pricing-features {
  margin-bottom: auto;
  padding-bottom: 20px;
}
.pricing-card .pricing-features + .hint {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.pricing-card .btn {
  margin-top: 14px;
}
@media (max-width: 1180px) {
  .pricing-plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 650px) {
  .pricing-plans {
    grid-template-columns: 1fr;
  }
}

/* Sign in and sign up: the card speaks at form size, not headline size. */
.auth-layout .eyebrow {
  font-size: 14px;
}
.auth-card > .notice,
.auth-card .notice p {
  max-width: none;
  font-size: 14px;
  line-height: 1.5;
}
