/* Seruno Inbox public site (www.seruno.space).
   Loaded after /brand.css, which holds the fonts and the colour tokens.
   Palette B (14 Oct 2026): cool grey canvas, white panels, graphite text and actions,
   borders rather than shadows, cobalt only for the AI draft and small accents. IBM Plex Sans. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--seruno-canvas);
  color: var(--seruno-ink);
  font-family: var(--seruno-font-text);
  font-size: 15px;
  line-height: 1.55;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3 {
  font-family: var(--seruno-font-display);
  color: var(--seruno-ink);
  margin: 0 0 12px;
  line-height: 1.15;
  font-weight: 600;
}

h1 {
  font-size: clamp(30px, 3.2vw + 14px, 46px);
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(22px, 1vw + 16px, 28px);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.005em;
}

p {
  margin: 0 0 12px;
}

a {
  color: var(--seruno-primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--seruno-primary-hover);
}

:focus-visible {
  outline: 2px solid var(--seruno-accent);
  outline-offset: 2px;
  border-radius: 3px;
}

strong {
  font-weight: 600;
}

code {
  font-family: var(--seruno-font-mono);
  font-size: 0.86em;
  background: var(--seruno-surface-soft);
  border: 1px solid var(--seruno-line);
  border-radius: 3px;
  padding: 1px 6px;
  overflow-wrap: anywhere;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .wrap {
    padding: 0 24px;
  }
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 20;
  background: var(--seruno-ink);
  color: var(--seruno-white);
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  color: var(--seruno-white);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--seruno-canvas);
  border-bottom: 1px solid var(--seruno-line);
}

.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  min-height: 56px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  color: var(--seruno-ink);
  text-decoration: none;
  line-height: 1;
}

.wordmark:hover {
  color: var(--seruno-ink);
}

.wordmark-name {
  font-family: var(--seruno-font-display);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.02em;
  text-transform: lowercase;
}

.wordmark-desc {
  font-family: var(--seruno-font-text);
  font-weight: 400;
  font-size: 12px;
  color: var(--seruno-ink-3);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px 18px;
}

.site-nav .nav-link {
  color: var(--seruno-ink-2);
  font-weight: 500;
  font-size: 13px;
  text-decoration: none;
  padding: 8px 2px;
}

.site-nav .nav-link:hover {
  color: var(--seruno-ink);
}

.site-nav .nav-link[aria-current="page"] {
  color: var(--seruno-ink);
  text-decoration: underline;
  text-underline-offset: 6px;
}

@media (max-width: 639px) {
  .site-header {
    position: static;
  }
}

@media (max-width: 439px) {
  .site-nav {
    width: 100%;
    justify-content: space-between;
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-family: var(--seruno-font-text);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-sm {
  min-height: 32px;
  padding: 6px 12px;
  font-size: 13px;
}

.btn-primary {
  background: var(--seruno-primary);
  color: var(--seruno-white);
}

.btn-primary:hover {
  background: var(--seruno-primary-hover);
  color: var(--seruno-white);
}

.btn-primary:focus-visible {
  outline-color: var(--seruno-ink);
}

.btn-secondary {
  background: var(--seruno-white);
  color: var(--seruno-ink);
  border-color: var(--seruno-line-strong);
}

.btn-secondary:hover {
  border-color: var(--seruno-ink-3);
  background: var(--seruno-surface-soft);
  color: var(--seruno-ink);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* ---------- Sections ---------- */

main {
  display: block;
}

.section {
  padding: 48px 0;
}

@media (min-width: 900px) {
  .section {
    padding: 72px 0;
  }
}

.section-alt {
  background: var(--seruno-white);
  border-top: 1px solid var(--seruno-line);
  border-bottom: 1px solid var(--seruno-line);
}

.section-head {
  max-width: 640px;
  margin-bottom: 28px;
}

.section-head p {
  color: var(--seruno-ink-2);
  font-size: 15px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 12px;
  color: var(--seruno-ink-2);
  margin: 0 0 14px;
  padding: 3px 10px 3px 8px;
  border: 1px solid var(--seruno-line);
  border-radius: 999px;
  background: var(--seruno-white);
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--seruno-accent);
}

.lead {
  font-size: 16px;
  color: var(--seruno-ink-2);
  max-width: 580px;
}

@media (min-width: 640px) {
  .lead {
    font-size: 17px;
  }
}

.muted {
  color: var(--seruno-ink-2);
}

.small {
  font-size: 13px;
}

/* ---------- Hero ---------- */

.hero {
  padding: 48px 0 56px;
}

@media (min-width: 900px) {
  .hero {
    padding: 72px 0 80px;
  }
}

.hero-copy {
  max-width: 760px;
}

.trust-line {
  margin-top: 18px;
  font-weight: 500;
  font-size: 13px;
  color: var(--seruno-ink-3);
}

.problem {
  display: grid;
  gap: 12px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  max-width: 760px;
}

@media (min-width: 760px) {
  .problem {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
  }
}

.problem li {
  background: var(--seruno-surface-soft);
  border: 1px solid var(--seruno-line);
  border-radius: 10px;
  padding: 14px 16px;
  color: var(--seruno-ink);
  font-size: 14px;
}

/* ---------- Inbox demo (index.html, driven by demo.js; works as a still picture without JS) ---------- */

.mock {
  margin: 32px 0 0;
}

.mock-frame {
  background: var(--seruno-white);
  border: 1px solid var(--seruno-line);
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(24, 24, 27, 0.04), 0 8px 24px rgba(24, 24, 27, 0.06);
  overflow: hidden;
}

.mock-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  min-height: 44px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--seruno-line);
  font-size: 13px;
}

.mock-bar-title {
  font-weight: 600;
  color: var(--seruno-ink);
}

.mock-bar-side {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.mock-bar-meta {
  color: var(--seruno-ink-3);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.mock-reset {
  border: 0;
  background: none;
  padding: 2px 0;
  font: inherit;
  font-size: 12px;
  color: var(--seruno-ink-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.mock-reset:hover {
  color: var(--seruno-ink);
}

.mock-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 800px) {
  .mock-body {
    grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
    min-height: 420px;
  }
}

.mock-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--seruno-line);
  background: var(--seruno-canvas);
}

@media (min-width: 800px) {
  .mock-list {
    border-bottom: 0;
    border-right: 1px solid var(--seruno-line);
  }
}

.mock-conv {
  border-bottom: 1px solid var(--seruno-line);
}

.mock-conv-btn {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  width: 100%;
  padding: 12px 14px;
  border: 0;
  background: none;
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.mock-conv-btn:hover {
  background: var(--seruno-surface-soft);
}

.mock-conv-btn[aria-current="true"] {
  background: var(--seruno-white);
  box-shadow: inset 2px 0 0 var(--seruno-ink);
}

.mock-conv-btn:focus-visible {
  outline-offset: -2px;
}

.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--seruno-surface-muted);
  color: var(--seruno-ink-2);
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 12px;
}

.conv-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 13px;
}

.conv-name {
  font-weight: 600;
  color: var(--seruno-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conv-time {
  color: var(--seruno-ink-3);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  flex: none;
}

.conv-preview {
  display: block;
  margin: 1px 0 6px;
  font-size: 13px;
  color: var(--seruno-ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

/* Status labels: text + shape + colour, never colour alone */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0 6px;
  border-radius: 3px;
  border: 1px solid transparent;
  font-size: 11px;
  font-weight: 500;
  line-height: 18px;
  white-space: nowrap;
}

.tag-shape {
  font-size: 8px;
  line-height: 1;
}

.tag-waiting {
  background: var(--seruno-white);
  border-color: var(--seruno-line-strong);
  color: var(--seruno-ink-2);
}

.tag-sale {
  background: var(--seruno-ok-soft);
  color: var(--seruno-ok);
}

.tag-review {
  background: var(--seruno-warn-soft);
  color: var(--seruno-warn);
}

.tag-draft {
  background: var(--seruno-accent-soft);
  color: var(--seruno-accent);
}

.tag-sent,
.tag-plain {
  background: var(--seruno-surface-muted);
  color: var(--seruno-ink-2);
}

.mock-thread {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

@media (min-width: 800px) {
  .mock-thread {
    padding: 18px 24px 22px;
  }
}

.thread-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--seruno-line);
}

.thread-who {
  font-weight: 600;
  font-size: 14px;
}

.thread-topic {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: var(--seruno-ink-3);
}

.msg-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--seruno-ink-3);
  margin-bottom: 2px;
}

.msg-in,
.msg-out {
  max-width: 88%;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 14px;
  line-height: 1.5;
}

.msg-in {
  align-self: flex-start;
  background: var(--seruno-surface-soft);
  border: 1px solid var(--seruno-line);
  border-top-left-radius: 3px;
}

.msg-out {
  align-self: flex-end;
  background: var(--seruno-ink);
  color: var(--seruno-white);
  border-top-right-radius: 3px;
}

.msg-out .msg-label {
  color: #C9C9CF;
}

.draft {
  background: var(--seruno-accent-soft);
  border: 1px solid var(--seruno-accent-line);
  border-radius: 10px;
  padding: 12px 14px;
}

.draft.is-review {
  border-color: #EBD49B;
}

.draft-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 8px;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--seruno-accent);
}

.draft-label .draft-state {
  font-weight: 400;
  color: var(--seruno-ink-3);
}

.draft-text {
  margin: 0 0 8px;
  font-size: 14px;
  color: var(--seruno-ink);
}

.draft-edit {
  display: block;
  width: 100%;
  min-height: 112px;
  margin: 0 0 8px;
  padding: 8px 10px;
  border: 1px solid #8A8A94;
  border-radius: 6px;
  background: var(--seruno-white);
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  color: var(--seruno-ink);
  resize: vertical;
}

.draft-edit:focus {
  outline: 2px solid var(--seruno-accent);
  outline-offset: 0;
  border-color: var(--seruno-accent);
}

.draft-source {
  margin: 0 0 10px;
  font-size: 12px;
  color: var(--seruno-ink-2);
}

.draft-warn {
  margin: 0 0 10px;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--seruno-warn-soft);
  color: var(--seruno-warn);
  font-size: 12px;
  font-weight: 500;
}

.draft-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.mock-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 4px 12px;
  border-radius: 6px;
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid var(--seruno-line-strong);
  background: var(--seruno-white);
  color: var(--seruno-ink);
  cursor: pointer;
}

.mock-btn:hover {
  border-color: #8A8A94;
}

.mock-btn-primary {
  background: var(--seruno-primary);
  border-color: var(--seruno-primary);
  color: var(--seruno-white);
}

.mock-btn-primary:hover {
  background: var(--seruno-primary-hover);
  border-color: var(--seruno-primary-hover);
}

.mock-btn[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.draft-rule {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--seruno-ink-3);
}

.thread-empty {
  margin: 0;
  padding: 12px 14px;
  border: 1px dashed var(--seruno-line-strong);
  border-radius: 10px;
  font-size: 13px;
  color: var(--seruno-ink-2);
}

.thread-note {
  margin: 0;
  font-size: 12px;
  color: var(--seruno-ink-3);
  text-align: right;
}

.mock figcaption {
  margin-top: 10px;
  font-size: 12px;
  color: var(--seruno-ink-3);
}

.mock .hint {
  color: var(--seruno-ink-2);
}

/* ---------- Steps ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
  counter-reset: step;
}

@media (min-width: 640px) {
  .steps-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 1000px) {
  .steps-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.step {
  counter-increment: step;
  background: var(--seruno-white);
  border: 1px solid var(--seruno-line);
  border-radius: 10px;
  padding: 18px;
}

.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--seruno-ink);
  color: var(--seruno-white);
  font-weight: 600;
  font-size: 12px;
  margin-bottom: 12px;
}

.step h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.step p {
  color: var(--seruno-ink-2);
  font-size: 14px;
  margin: 0;
}

/* ---------- Problem: the messages and the three pains ---------- */

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

.inbox-chips li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--seruno-white);
  border: 1px solid var(--seruno-line);
  border-radius: 999px;
  padding: 5px 6px 5px 14px;
  font-size: 14px;
  color: var(--seruno-ink);
}

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

@media (min-width: 760px) {
  .pains {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.pains li {
  background: var(--seruno-surface-soft);
  border: 1px solid var(--seruno-line);
  border-radius: 10px;
  padding: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--seruno-ink);
}

.pains-num {
  display: block;
  margin-bottom: 8px;
  font-family: var(--seruno-font-mono);
  font-size: 12px;
  font-weight: 400;
  color: var(--seruno-ink-3);
}

.after-note {
  margin: 20px 0 0;
  max-width: 680px;
  color: var(--seruno-ink);
}

/* ---------- Capabilities ---------- */

.pillars {
  display: grid;
  gap: 12px;
}

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

.pillar {
  background: var(--seruno-white);
  border: 1px solid var(--seruno-line);
  border-radius: 10px;
  padding: 20px;
}

.pillar-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--seruno-ink-3);
  margin: 0 0 10px;
}

.pillar-kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--seruno-accent);
}

.pillar h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.pillar p {
  color: var(--seruno-ink-2);
  font-size: 14px;
  margin: 0 0 10px;
}

.pillar p:last-child {
  margin-bottom: 0;
}

/* ---------- Store knowledge ---------- */

.knowledge {
  display: grid;
  gap: 24px;
  align-items: start;
}

@media (min-width: 900px) {
  .knowledge {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 48px;
  }
}

.knowledge .section-head {
  margin-bottom: 0;
}

.store-facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.store-facts li {
  background: var(--seruno-white);
  border: 1px solid var(--seruno-line);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--seruno-ink);
}

.store-facts li span {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 400;
  color: var(--seruno-ink-3);
}

/* ---------- Human approval band ---------- */

.approval {
  background: var(--seruno-ink);
  color: var(--seruno-white);
  border-radius: 12px;
  padding: 28px 20px;
  display: grid;
  gap: 20px;
}

@media (min-width: 800px) {
  .approval {
    padding: 40px;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: center;
    gap: 40px;
  }
}

.approval h2 {
  color: var(--seruno-white);
}

.approval p {
  color: #C9C9CF;
  margin: 0;
}

.approval-rule {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  padding: 18px 20px;
}

.approval-rule strong {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--seruno-white);
}

.approval-rule ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: #C9C9CF;
}

.approval-rule li + li {
  margin-top: 4px;
}

/* ---------- Access ---------- */

.trust {
  display: grid;
  gap: 12px;
}

@media (min-width: 800px) {
  .trust {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.trust-card {
  border-radius: 10px;
  padding: 20px;
  border: 1px solid var(--seruno-line);
  font-size: 14px;
}

.trust-card.sees {
  background: var(--seruno-surface-soft);
}

.trust-card.never {
  background: var(--seruno-white);
}

.trust-card h3 {
  font-size: 15px;
  margin-bottom: 10px;
}

.trust-card ul {
  margin: 0;
  padding-left: 18px;
}

.trust-card li {
  margin-bottom: 6px;
}

.trust-card li:last-child {
  margin-bottom: 0;
}

.perm {
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--seruno-line);
  font-size: 13px;
  color: var(--seruno-ink);
}

.perm dt {
  font-family: var(--seruno-font-mono);
  font-size: 12px;
}

.perm dd {
  margin: 0 0 8px;
  color: var(--seruno-ink-2);
}

/* ---------- Early access notice (remove once Meta approves the app) ---------- */

.notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 16px;
  padding: 16px 20px;
  background: var(--seruno-white);
  border: 1px solid var(--seruno-line);
  border-radius: 10px;
}

.notice h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin: 0 0 2px;
}

.notice h3::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--seruno-accent);
}

.notice p {
  margin: 0;
  max-width: 640px;
  font-size: 14px;
  color: var(--seruno-ink-2);
}

.notice .actions {
  margin-top: 0;
}

/* ---------- Hero extras ---------- */

.hero-benefits {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--seruno-ink);
}

.hero-benefits li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-benefits li::before {
  content: "";
  width: 5px;
  height: 9px;
  margin-top: -3px;
  border: solid var(--seruno-ink);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

/* Two calls to action, each with its condition underneath */
.cta-pair {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-top: 24px;
}

.cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.cta small {
  font-size: 12px;
  color: var(--seruno-ink-3);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--seruno-ink-3);
}

/* ---------- Plans ---------- */

.plans {
  display: grid;
  gap: 12px;
}

@media (min-width: 640px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .plans {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.plan {
  position: relative;
  background: var(--seruno-white);
  border: 1px solid var(--seruno-line);
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.plan.featured {
  border-color: var(--seruno-ink);
  box-shadow: 0 0 0 1px var(--seruno-ink);
}

.plan-badge {
  position: absolute;
  top: 18px;
  right: 16px;
  background: var(--seruno-ink);
  color: var(--seruno-white);
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
  padding: 2px 8px;
  border-radius: 999px;
}

.plan h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.price {
  font-family: var(--seruno-font-display);
  font-weight: 600;
  font-size: 28px;
  line-height: 36px;
  letter-spacing: -0.02em;
  margin: 6px 0 2px;
  font-variant-numeric: tabular-nums;
}

.price.price-text {
  font-size: 18px;
  letter-spacing: -0.01em;
}

.price span {
  font-family: var(--seruno-font-text);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--seruno-ink-3);
}

.plan-for {
  margin: 0 0 10px;
  min-height: 40px;
  font-size: 13px;
  line-height: 20px;
  color: var(--seruno-ink-2);
}

.plan .price {
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--seruno-line);
}

/* The AI-reply allowance is how a plan is billed, not what it is for: it sits under the features */
.plan-limits {
  margin: auto 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--seruno-line);
  list-style: none;
  font-size: 12px;
  color: var(--seruno-ink-2);
}

.plan .checks {
  margin-bottom: 16px;
}

.plan-limits li + li {
  margin-top: 2px;
}

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: var(--seruno-ink-2);
}

.checks li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 6px;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 5px;
  height: 9px;
  border: solid var(--seruno-ink);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.plan-cta {
  margin-top: 16px;
  align-self: flex-start;
}

.plan-notes {
  margin-top: 20px;
  display: grid;
  gap: 10px;
}

.note-box {
  background: var(--seruno-surface-soft);
  border: 1px solid var(--seruno-line);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 13px;
}

.note-box p:last-child {
  margin-bottom: 0;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 800px;
  border-top: 1px solid var(--seruno-line);
}

.faq details {
  border-bottom: 1px solid var(--seruno-line);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 14px 0;
  font-weight: 500;
  font-size: 15px;
  color: var(--seruno-ink);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  width: 24px;
  text-align: center;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.2;
  color: var(--seruno-ink-3);
}

.faq details[open] summary::after {
  content: "\2212";
}

.faq .answer {
  padding: 0 0 16px;
  font-size: 14px;
  color: var(--seruno-ink-2);
  max-width: 720px;
}

.faq .answer p:last-child {
  margin-bottom: 0;
}

/* ---------- Closing call ---------- */

.closing {
  text-align: left;
}

/* ---------- Document pages (guide, privacy, terms, deletion) ---------- */

.page-head {
  padding: 48px 0 24px;
}

@media (min-width: 900px) {
  .page-head {
    padding: 64px 0 32px;
  }
}

.page-head h1 {
  font-size: clamp(28px, 1.8vw + 18px, 38px);
  max-width: 820px;
}

.page-head .lead {
  margin-bottom: 0;
}

.updated {
  margin-top: 12px;
  font-size: 12px;
  color: var(--seruno-ink-3);
}

.prose {
  max-width: 760px;
  padding-bottom: 72px;
}

.prose h2 {
  font-size: 19px;
  margin-top: 36px;
  scroll-margin-top: 96px;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
  font-size: 14px;
}

.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 8px 10px;
  border-bottom: 1px solid var(--seruno-line);
}

.prose th {
  font-size: 12px;
  font-weight: 500;
  color: var(--seruno-ink-2);
  background: var(--seruno-surface-soft);
}

.table-wrap {
  overflow-x: auto;
  margin: 0 0 16px;
}

.table-wrap table {
  margin: 0;
}

.table-wrap table.wide {
  min-width: 560px;
}

/* Temporary state shown at the top of a page (early access) */
.banner {
  margin: 0 0 20px;
  padding: 14px 16px;
  background: var(--seruno-white);
  border: 1px solid var(--seruno-line);
  border-radius: 10px;
  font-size: 14px;
}

.banner strong {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.banner strong::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--seruno-accent);
}

.banner p {
  margin: 0 0 4px;
  color: var(--seruno-ink-2);
}

.banner p:last-child {
  margin-bottom: 0;
}

/* Setup overview: three stages above the detailed steps */
.stages {
  margin: 0 0 24px;
}

.required {
  display: inline-block;
  margin-left: 6px;
  font-family: var(--seruno-font-text);
  font-size: 11px;
  font-weight: 500;
  color: var(--seruno-warn);
  background: var(--seruno-warn-soft);
  border-radius: 3px;
  padding: 1px 6px;
  vertical-align: middle;
}

.prose h3 {
  margin-top: 24px;
  font-size: 18px;
}

.prose ul,
.prose ol {
  padding-left: 22px;
  margin: 0 0 16px;
}

.prose li {
  margin-bottom: 6px;
}

.toc {
  background: var(--seruno-white);
  border: 1px solid var(--seruno-line);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 8px;
}

.toc h2 {
  font-size: 16px;
  margin: 0 0 8px;
  font-family: var(--seruno-font-text);
  font-weight: 600;
}

.toc ol {
  margin: 0;
  padding-left: 20px;
  font-size: 15px;
}

.toc li {
  margin-bottom: 4px;
}

.facts {
  background: var(--seruno-white);
  border: 1px solid var(--seruno-line);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 0 0 16px;
}

.facts dt {
  font-weight: 600;
  font-size: 14px;
  color: var(--seruno-ink-2);
}

.facts dd {
  margin: 0 0 10px;
}

.facts dd:last-child {
  margin-bottom: 0;
}

.callout {
  background: var(--seruno-surface-soft);
  border: 1px solid var(--seruno-line);
  border-radius: 10px;
  padding: 16px 18px;
  margin: 0 0 16px;
  color: var(--seruno-ink);
}

.callout p:last-child,
.callout ul:last-child {
  margin-bottom: 0;
}

.callout h2,
.callout h3 {
  margin-top: 0;
}

/* Guide steps */

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

.guide > li {
  counter-increment: guide;
  position: relative;
  background: var(--seruno-white);
  border: 1px solid var(--seruno-line);
  border-radius: 10px;
  padding: 18px 18px 18px 58px;
  font-size: 15px;
}

.guide > li::before {
  content: counter(guide);
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--seruno-primary);
  color: var(--seruno-white);
  font-family: var(--seruno-font-mono);
  font-weight: 500;
  font-size: 12px;
}

@media (max-width: 479px) {
  .guide > li {
    padding: 56px 16px 16px;
  }

  .guide > li::before {
    left: 16px;
    top: 16px;
  }
}

.guide h2 {
  font-size: 16px;
  margin: 2px 0 8px;
}

.guide p {
  margin-bottom: 10px;
}

.guide p:last-child {
  margin-bottom: 0;
}

/* A menu path inside an app, shown as a breadcrumb */
.path {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 4px;
  font-size: 13px;
  font-weight: 500;
  color: var(--seruno-ink);
  background: var(--seruno-surface-soft);
  border: 1px solid var(--seruno-line);
  border-radius: 6px;
  padding: 4px 8px;
}

.path .sep {
  color: var(--seruno-ink-3);
  padding: 0 2px;
}

.why {
  font-size: 14px;
  color: var(--seruno-ink-2);
  border-top: 1px solid var(--seruno-line);
  padding-top: 10px;
  margin-top: 12px;
}

.why strong {
  color: var(--seruno-ink);
}

.optional {
  display: inline-block;
  margin-left: 6px;
  font-family: var(--seruno-font-text);
  font-size: 11px;
  font-weight: 500;
  color: var(--seruno-ink-2);
  background: var(--seruno-surface-soft);
  border: 1px solid var(--seruno-line);
  border-radius: 3px;
  padding: 1px 6px;
  vertical-align: middle;
}

.guide .actions {
  margin-top: 12px;
}

/* Deletion options */

.ways {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.way {
  background: var(--seruno-white);
  border: 1px solid var(--seruno-line);
  border-radius: 10px;
  padding: 18px;
}

.way h2 {
  margin-top: 0;
  font-size: 16px;
}

.way p:last-child {
  margin-bottom: 0;
}

/* 404 */

.notfound {
  padding: 96px 0 120px;
  max-width: 640px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--seruno-surface-muted);
  color: var(--seruno-ink);
  padding: 40px 0 48px;
  font-size: 15px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.footer-brand p {
  margin: 10px 0 0;
  color: var(--seruno-ink-2);
  max-width: 340px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-links a {
  color: var(--seruno-ink);
  display: inline-block;
  padding: 4px 0;
}

.footer-links a:hover {
  color: var(--seruno-primary-hover);
}

.footer-legal {
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(32, 58, 53, 0.18);
  color: var(--seruno-ink-2);
  font-size: 14px;
}

/* ---------- Motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
