/* AutomateClips marketing site. Same design tokens as the app (app.automateclips.com). */
:root {
  color-scheme: light;
  --canvas: #ffffff;
  --surface: #f6f7f9;
  --surface-2: #eef0f4;
  --line: #e6e8ee;
  --ink: #161a2b;
  --ink-muted: #5f6578;
  --ink-faint: #9aa0b2;
  --brand: #22a95b;
  --brand-strong: #17803f;
  --brand-ink: #ffffff;
  --brand-soft: #e8f7ee;
  --focus: #4f7cff;
  --dark: #0f1322;
  --dark-2: #171c30;
  --dark-line: #262c44;
  --dark-ink: #eceef5;
  --dark-muted: #a2a8bd;
  --radius: 16px;
  --shadow: 0 1px 2px rgb(22 26 43 / 0.05), 0 12px 32px rgb(22 26 43 / 0.08);
  --shadow-lg: 0 2px 4px rgb(22 26 43 / 0.04), 0 24px 64px rgb(22 26 43 / 0.14);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --canvas: #0b0f1c;
    --surface: #121829;
    --surface-2: #192036;
    --line: #232a40;
    --ink: #eceef5;
    --ink-muted: #a0a6ba;
    --ink-faint: #6f7690;
    --brand: #2fbf6c;
    --brand-strong: #5ad78d;
    --brand-ink: #06210f;
    --brand-soft: #0f2e1c;
    --dark: #121829;
    --dark-2: #192036;
    --dark-line: #2a3250;
    --shadow: 0 1px 2px rgb(0 0 0 / 0.3), 0 12px 32px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 2px 4px rgb(0 0 0 / 0.3), 0 24px 64px rgb(0 0 0 / 0.45);
  }
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family:
    ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
}
img,
svg {
  display: block;
}
code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: 6px;
}
.wrap {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 8px 12px;
  background: var(--canvas);
  border-radius: 8px;
}
.green {
  color: var(--brand);
}
.icon {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.15s,
    transform 0.15s;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--ink);
  color: var(--canvas);
}
.btn-primary:hover {
  background: color-mix(in srgb, var(--ink) 86%, var(--brand));
}
.btn-ghost {
  border: 1px solid var(--line);
  background: var(--canvas);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--surface);
}
.btn-sm {
  height: 38px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 0.875rem;
}
.btn-lg {
  height: 54px;
  padding: 0 26px;
  font-size: 1rem;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--canvas) 85%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header .wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 66px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: var(--brand);
  color: #fff;
}
.nav {
  display: flex;
  gap: 28px;
  font-size: 0.9375rem;
}
.nav a {
  color: var(--ink-muted);
  text-decoration: none;
}
.nav a:hover {
  color: var(--ink);
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.link-quiet {
  color: var(--ink-muted);
  font-size: 0.9375rem;
  text-decoration: none;
}
.link-quiet:hover {
  color: var(--ink);
}

/* ---------- Section scaffolding ---------- */
.section {
  padding: 96px 0;
}
.section-head {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.kicker {
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.section-head h2,
.display {
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.028em;
}
.section-head > p:last-child {
  margin: 18px auto 0;
  max-width: 600px;
  color: var(--ink-muted);
  font-size: 1.125rem;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 40px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 720px;
  z-index: -1;
  background:
    radial-gradient(50% 60% at 15% 10%, rgb(34 169 91 / 0.12), transparent 70%),
    radial-gradient(45% 55% at 90% 20%, rgb(79 124 255 / 0.1), transparent 70%);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--canvas);
  color: var(--ink-muted);
  font-size: 0.8125rem;
  font-weight: 500;
}
.eyebrow b {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 0.75rem;
  font-weight: 700;
}
.hero h1 {
  margin: 24px auto 0;
  max-width: 900px;
  font-size: clamp(2.6rem, 6.6vw, 5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.032em;
}
.lede {
  margin: 24px auto 0;
  max-width: 620px;
  color: var(--ink-muted);
  font-size: 1.1875rem;
  line-height: 1.6;
}
.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.fineprint {
  margin-top: 16px;
  color: var(--ink-faint);
  font-size: 0.875rem;
}
.works-with {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: var(--ink-faint);
  font-size: 0.8125rem;
}
.chip {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--canvas);
  color: var(--ink-muted);
  font-size: 0.8125rem;
  font-weight: 500;
}

/* Showcase: real-looking posts with their status, plus the agent that made them */
.showcase {
  position: relative;
  margin: 64px auto 0;
  max-width: 1080px;
  padding: 48px 40px 40px;
  border-radius: 32px;
  background:
    radial-gradient(80% 90% at 0% 0%, #c9f0d8 0%, transparent 60%),
    radial-gradient(70% 80% at 100% 100%, #cfe3ff 0%, transparent 60%),
    radial-gradient(60% 60% at 100% 0%, #fde9c8 0%, transparent 60%), #eef6f1;
}
@media (prefers-color-scheme: dark) {
  .showcase {
    background:
      radial-gradient(80% 90% at 0% 0%, #12402a 0%, transparent 60%),
      radial-gradient(70% 80% at 100% 100%, #1a2c55 0%, transparent 60%),
      radial-gradient(60% 60% at 100% 0%, #3a2d14 0%, transparent 60%), #10182a;
  }
}
.reel {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  align-items: center;
}
.reel > figure {
  display: grid;
  gap: 10px;
  justify-items: center;
}
.reel > figure:nth-child(3) {
  transform: scale(1.1);
  z-index: 2;
}
.reel > figure:nth-child(2),
.reel > figure:nth-child(4) {
  transform: scale(1.03);
}

/* A post: photo with slideshow-style title and its numbers */
.post {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface-2);
  box-shadow: 0 2px 6px rgb(22 26 43 / 0.12), 0 18px 40px rgb(22 26 43 / 0.18);
}
.post img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(0 0 0 / 0.25) 0%, transparent 30%, transparent 62%, rgb(0 0 0 / 0.55) 100%);
}
.post-title {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 16%;
  z-index: 1;
  color: #fff;
  font-size: clamp(0.75rem, 1.35vw, 1rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-align: center;
  text-shadow:
    0 0 2px rgb(0 0 0 / 0.9),
    0 2px 10px rgb(0 0 0 / 0.5);
}
.post-stats {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 1;
  display: flex;
  gap: 10px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}
.post-stats span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.post-stats .icon {
  width: 12px;
  height: 12px;
  fill: currentColor;
  stroke: none;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--canvas);
  box-shadow: var(--shadow);
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}
.status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}
.status.published i {
  background: #22a95b;
}
.status.drafts i {
  background: #4f7cff;
}
.status.scheduled i {
  background: #f0a020;
}

.agent-card {
  position: relative;
  z-index: 3;
  max-width: 560px;
  margin: 40px auto 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--canvas);
  box-shadow: var(--shadow-lg);
  text-align: left;
}
.agent-head {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-muted);
  font-size: 0.75rem;
}
.agent-head .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}
.agent-head b {
  color: var(--ink);
  font-weight: 600;
}
.msg-user {
  margin-top: 10px;
  margin-left: auto;
  width: fit-content;
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 12px 12px 4px 12px;
  background: var(--surface-2);
  font-size: 0.8125rem;
  line-height: 1.45;
}
.calls {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.call {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--ink-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.6875rem;
}
.call .icon {
  width: 12px;
  height: 12px;
  color: var(--brand);
}
.msg-agent {
  margin-top: 10px;
  font-size: 0.8125rem;
  line-height: 1.45;
}

/* ---------- Comparison ---------- */
.versus {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.side {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}
.side.ours {
  border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
  background: var(--canvas);
  box-shadow: 0 0 0 4px var(--brand-soft), var(--shadow);
}
.side-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.side h3 {
  font-size: 1.125rem;
  font-weight: 650;
}
.side-head span {
  color: var(--ink-faint);
  font-size: 0.875rem;
  font-weight: 600;
}
.side.ours .side-head span {
  color: var(--brand);
}
.side ul {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}
.side li {
  display: flex;
  gap: 10px;
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--ink-muted);
}
.side.ours li {
  color: var(--ink);
}
.side li .icon {
  margin-top: 3px;
  color: var(--ink-faint);
}
.side.ours li .icon {
  color: var(--brand);
}
.side-foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.875rem;
}

/* ---------- How it works ---------- */
.how {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: var(--surface);
}
.how-steps li {
  padding: 26px 28px;
  border-bottom: 1px solid var(--line);
  border-left: 3px solid transparent;
  background: var(--canvas);
}
.how-steps li:last-child {
  border-bottom: 0;
}
.how-steps li.on {
  border-left-color: var(--brand);
  background: color-mix(in srgb, var(--brand-soft) 45%, var(--canvas));
}
.how-steps small {
  display: block;
  color: var(--brand);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 700;
}
.how-steps h3 {
  margin-top: 6px;
  font-size: 1.125rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.how-steps p {
  margin-top: 4px;
  color: var(--ink-muted);
  font-size: 0.9375rem;
}
.how-visual {
  padding: 28px;
  border-left: 1px solid var(--line);
  display: flex;
  align-items: center;
}
.window {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--canvas);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.window-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.window-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
}
.window-bar span {
  margin: 0 auto;
  color: var(--ink-faint);
  font-size: 0.75rem;
}
.window-body {
  padding: 20px;
}
.window-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.window-title b {
  font-size: 1.0625rem;
  letter-spacing: -0.01em;
}
.window-title span {
  color: var(--ink-faint);
  font-size: 0.8125rem;
}
.stats-row {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.stat {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.stat span {
  display: block;
  color: var(--ink-faint);
  font-size: 0.75rem;
}
.stat b {
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}
.grid-tiles {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.grid-tiles .post {
  aspect-ratio: 3 / 4;
  border-radius: 10px;
  box-shadow: none;
}
.grid-tiles .post-title {
  top: 12%;
  font-size: 0.75rem;
}
.grid-tiles .post-stats {
  left: 8px;
  bottom: 7px;
  font-size: 0.6875rem;
}

/* ---------- Feature cards ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 24px;
  overflow: hidden;
}
.feature {
  padding: 20px 20px 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.feature:nth-child(3n) {
  border-right: 0;
}
.feature:nth-last-child(-n + 3) {
  border-bottom: 0;
}
.feature-art {
  height: 180px;
  border-radius: 14px;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
}
.feature h3 {
  margin-top: 20px;
  font-size: 1.0625rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}
.feature p {
  margin-top: 6px;
  color: var(--ink-muted);
  font-size: 0.9375rem;
}
.feature p b {
  color: var(--ink);
  font-weight: 600;
}

/* Art: fanned slides */
.fan {
  position: relative;
  width: 210px;
  height: 148px;
}
.fan .post {
  position: absolute;
  top: 0;
  width: 76px;
  border-radius: 10px;
}
.fan .post-title {
  font-size: 0.625rem;
}
.fan .post:nth-child(1) {
  left: 4px;
  transform: rotate(-9deg) translateY(12px);
}
.fan .post:nth-child(2) {
  left: 67px;
  z-index: 2;
}
.fan .post:nth-child(3) {
  left: 130px;
  transform: rotate(9deg) translateY(12px);
}
/* Art: week */
.art-col {
  width: 100%;
}
.week {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 5px;
}
.week div {
  display: grid;
  gap: 5px;
  justify-items: center;
  padding: 8px 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--canvas);
  color: var(--ink-faint);
  font-size: 0.6875rem;
  font-weight: 600;
}
.week i {
  display: block;
  width: 70%;
  height: 22px;
  border-radius: 5px;
  background: var(--surface-2);
}
.week .on i {
  background: var(--brand);
}
.week .on {
  color: var(--ink);
}
.tz {
  margin-top: 10px;
  text-align: center;
  color: var(--ink-faint);
  font-size: 0.75rem;
}
/* Art: notification */
.notice {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  display: flex;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
  background: var(--canvas);
  box-shadow: var(--shadow);
  font-size: 0.8125rem;
  line-height: 1.35;
}
.notice .logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex: none;
}
.notice b {
  display: block;
}
.notice span {
  color: var(--ink-muted);
}
.notice + .notice {
  margin-top: 8px;
  opacity: 0.55;
  transform: scale(0.95);
}
/* Art: numbers */
.numbers {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.numbers div {
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--canvas);
  border: 1px solid var(--line);
}
.numbers span {
  display: block;
  color: var(--ink-faint);
  font-size: 0.75rem;
}
.numbers b {
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}
/* Art: files */
.files {
  width: 100%;
  display: grid;
  gap: 8px;
}
.files div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--canvas);
  font-size: 0.8125rem;
  min-width: 0;
}
.files .icon {
  color: var(--ink-faint);
}
.files code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--ink-muted);
  font-size: 0.75rem;
}
.files .ok {
  margin-left: auto;
  color: var(--brand);
  font-weight: 600;
  white-space: nowrap;
}
/* Art: accounts */
.accounts {
  width: 100%;
  max-width: 260px;
  display: grid;
  gap: 8px;
}
.accounts div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--canvas);
  font-size: 0.875rem;
  font-weight: 600;
}
.accounts div.on {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex: none;
  object-fit: cover;
}
.accounts span {
  margin-left: auto;
  color: var(--ink-faint);
  font-size: 0.75rem;
  font-weight: 500;
}

/* ---------- Developers (dark panel) ---------- */
.dark-panel {
  margin: 0 16px;
  padding: 104px 0;
  border-radius: 32px;
  background:
    radial-gradient(60% 50% at 50% 0%, rgb(47 191 108 / 0.16), transparent 70%), var(--dark);
  color: var(--dark-ink);
}
.dark-panel .section-head > p:last-child {
  color: var(--dark-muted);
}
.dark-panel .kicker,
.dark-panel .green {
  color: #5ad78d;
}
.dark-panel code {
  color: var(--dark-ink);
}
.devs {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: start;
}
.devs > * {
  min-width: 0;
}
.tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.tools li {
  padding: 12px 14px;
  border: 1px solid var(--dark-line);
  border-radius: 12px;
  background: var(--dark-2);
}
.tools code {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
}
.tools span {
  display: block;
  margin-top: 2px;
  color: var(--dark-muted);
  font-size: 0.8125rem;
  line-height: 1.35;
}
/* CSS-only tabs (radio inputs), no script needed */
.tabs {
  border: 1px solid var(--dark-line);
  border-radius: 16px;
  background: var(--dark-2);
  overflow: hidden;
}
.tabs input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.tab-list {
  display: flex;
  gap: 4px;
  padding: 8px;
  border-bottom: 1px solid var(--dark-line);
  overflow-x: auto;
}
.tab-list label {
  padding: 7px 12px;
  border-radius: 9px;
  color: var(--dark-muted);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.tab-list label:hover {
  color: var(--dark-ink);
}
#tab-claude:checked ~ .tab-list label[for="tab-claude"],
#tab-json:checked ~ .tab-list label[for="tab-json"],
#tab-rest:checked ~ .tab-list label[for="tab-rest"] {
  background: rgb(255 255 255 / 0.08);
  color: var(--dark-ink);
}
#tab-claude:focus-visible ~ .tab-list label[for="tab-claude"],
#tab-json:focus-visible ~ .tab-list label[for="tab-json"],
#tab-rest:focus-visible ~ .tab-list label[for="tab-rest"] {
  outline: 2px solid var(--focus);
}
.tab-panel {
  display: none;
  position: relative;
}
#tab-claude:checked ~ .panel-claude,
#tab-json:checked ~ .panel-json,
#tab-rest:checked ~ .panel-rest {
  display: block;
}
.tab-panel pre {
  margin: 0;
  padding: 20px 20px 22px;
  overflow-x: auto;
  font-size: 0.8125rem;
  line-height: 1.75;
}
.tab-panel .copy {
  position: absolute;
  top: 12px;
  right: 12px;
}
.copy {
  height: 30px;
  padding: 0 12px;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: var(--dark);
  color: var(--dark-ink);
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
}
.copy:hover {
  background: var(--dark-2);
}
.tab-foot {
  padding: 14px 20px;
  border-top: 1px solid var(--dark-line);
  color: var(--dark-muted);
  font-size: 0.875rem;
}
.tab-foot a {
  color: #5ad78d;
}
.tab-foot code {
  font-size: 0.8125rem;
}

/* ---------- Pricing ---------- */
.plan {
  max-width: 620px;
  margin: 0 auto;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--canvas);
  box-shadow: var(--shadow-lg);
}
.plan-name {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 0.8125rem;
  font-weight: 700;
}
.price {
  margin-top: 12px;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
}
.price small {
  color: var(--ink-faint);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
}
.plan-sub {
  margin-top: 10px;
  color: var(--ink-muted);
}
.limits {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}
.limits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  line-height: 1.4;
}
.limits .icon {
  margin-top: 2px;
  color: var(--brand);
}
.limits b {
  font-weight: 650;
}
.plan .btn {
  width: 100%;
  margin-top: 28px;
}

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: start;
}
.faq-layout .display {
  font-size: clamp(2rem, 4vw, 2.75rem);
}
.faq-side p:not(.kicker) {
  margin-top: 16px;
  color: var(--ink-muted);
}
.faq-side a {
  color: var(--brand);
  font-weight: 600;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq details:first-child {
  border-top: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  width: 9px;
  height: 9px;
  flex: none;
  margin-right: 4px;
  border-right: 2px solid var(--ink-faint);
  border-bottom: 2px solid var(--ink-faint);
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(-135deg);
}
.faq details p {
  padding: 0 32px 22px 0;
  color: var(--ink-muted);
}

/* ---------- Final CTA ---------- */
.final {
  padding: 0 0 112px;
}
.final-card {
  padding: 88px 24px;
  border-radius: 32px;
  text-align: center;
  background:
    radial-gradient(70% 90% at 0% 100%, #c9f0d8 0%, transparent 60%),
    radial-gradient(60% 80% at 100% 0%, #cfe3ff 0%, transparent 60%), #eef6f1;
}
@media (prefers-color-scheme: dark) {
  .final-card {
    background:
      radial-gradient(70% 90% at 0% 100%, #12402a 0%, transparent 60%),
      radial-gradient(60% 80% at 100% 0%, #1a2c55 0%, transparent 60%), #10182a;
  }
}
.final-card p {
  margin: 18px auto 0;
  max-width: 520px;
  color: var(--ink-muted);
  font-size: 1.125rem;
}
.final-card .btn {
  margin-top: 32px;
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  color: var(--ink-faint);
  font-size: 0.875rem;
}
.footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.footer a {
  color: var(--ink-muted);
  text-decoration: none;
}
.footer a:hover {
  color: var(--ink);
}

/* ---------- 404 ---------- */
.notfound {
  min-height: 60vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 64px 16px;
}
.notfound p {
  margin: 12px 0 24px;
  color: var(--ink-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 380px) {
  .wide-only {
    display: none;
  }
  .header .wrap {
    gap: 12px;
  }
}
@media (max-width: 980px) {
  .nav {
    display: none;
  }
  .how,
  .devs,
  .faq-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero {
    padding: 56px 0 24px;
  }
  .showcase {
    padding: 32px 20px 24px;
  }
  .versus {
    grid-template-columns: minmax(0, 1fr);
  }
  .how-visual {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feature:nth-child(3n) {
    border-right: 1px solid var(--line);
  }
  .feature:nth-child(2n) {
    border-right: 0;
  }
  .feature:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--line);
  }
  .feature:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
  .faq-layout {
    gap: 24px;
  }
}
@media (max-width: 640px) {
  .wrap {
    padding: 0 16px;
  }
  .section {
    padding: 80px 0;
  }
  .section-head {
    margin-bottom: 40px;
  }
  .header-actions .link-quiet {
    display: none;
  }
  .lede {
    font-size: 1.0625rem;
  }
  .hero-actions .btn {
    flex: 1 1 auto;
  }
  .showcase {
    margin-top: 44px;
    padding: 24px 12px 16px;
    border-radius: 24px;
  }
  .reel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
  .reel > figure:nth-child(1),
  .reel > figure:nth-child(5) {
    display: none;
  }
  .reel > figure:nth-child(3) {
    transform: scale(1.06);
  }
  .reel > figure:nth-child(2),
  .reel > figure:nth-child(4) {
    transform: none;
  }
  .post-title {
    font-size: 0.6875rem;
  }
  .reel .post-stats span + span {
    display: none;
  }
  .status {
    padding: 3px 8px;
    font-size: 0.6875rem;
  }
  .side {
    padding: 22px;
  }
  .features {
    grid-template-columns: minmax(0, 1fr);
  }
  .feature,
  .feature:nth-child(n) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .feature:last-child {
    border-bottom: 0;
  }
  .tools,
  .limits {
    grid-template-columns: minmax(0, 1fr);
  }
  .how-steps li {
    padding: 20px;
  }
  .how-visual {
    padding: 14px;
  }
  .window-body {
    padding: 14px;
  }
  .stats-row {
    grid-template-columns: 1fr 1fr;
  }
  .dark-panel {
    margin: 0 8px;
    padding: 72px 0;
    border-radius: 24px;
  }
  .plan {
    padding: 24px;
  }
  .final-card {
    padding: 64px 20px;
    border-radius: 24px;
  }
}

/* Legal pages (imprint, privacy, terms) */
.legal {
  padding: 48px 0 80px;
}
.legal .wrap {
  max-width: 760px;
}
.legal h1 {
  margin-top: 24px;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
}
.legal .updated {
  margin-top: 8px;
  color: var(--ink-faint);
  font-size: 0.875rem;
}
.legal h2 {
  margin-top: 40px;
  font-size: 1.25rem;
  font-weight: 650;
}
.legal h3 {
  margin-top: 24px;
  font-size: 1rem;
  font-weight: 650;
}
.legal p,
.legal ul {
  margin-top: 12px;
  color: var(--ink-muted);
}
.legal ul {
  padding-left: 20px;
  list-style: disc;
}
.legal li + li {
  margin-top: 6px;
}
.legal strong {
  color: var(--ink);
  font-weight: 600;
}
.legal a {
  color: var(--brand);
}
.operator {
  display: block;
  margin-top: 16px;
}
.operator img {
  width: 289px;
  max-width: 100%;
  height: auto;
}
.legal-nav {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.legal-nav a {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink-muted);
  font-size: 0.875rem;
  text-decoration: none;
}
.legal-nav a[aria-current="page"] {
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
}
