/* Feed Diet. Light only. White space does the work. Two pastel accents: coral (YouTube) and blue (rules). */
:root {
  color-scheme: light;
  --bg: #FFFFFF;
  --bg-2: #F7F7F5;
  --ink: #111311;
  --muted: #6A6D69;
  --faint: #A3A6A1;
  --green: #1F6F50;
  --green-tint: #2E8A66;
  --line: #E8E8E4;
  --coral: #E5484D;
  --coral-soft: #FFE4E0;
  --blue: #1B6FB8;
  --blue-soft: #E2F0FB;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* aliases kept for the login, account, and privacy pages */
  --paper: var(--bg);
  --paper-2: var(--bg-2);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.prose { max-width: 62ch; }

h1, h2, h3 { font-weight: 600; line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 6.4vw, 4.2rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.25rem); }
h3 { font-size: 1.05rem; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }
.center { text-align: center; }

/* ---- header ---- */
.site-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 28px 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em;
  color: var(--ink); text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand .mark { flex: none; }
.wordmark { font-weight: 800; letter-spacing: -0.045em; font-size: 1.3rem; line-height: 1; }
.wordmark span { color: var(--coral); }
.site-foot .wordmark { font-size: 1.05rem; }
.site-head nav { display: flex; gap: 28px; font-size: 0.95rem; }
.site-head nav a { color: var(--muted); text-decoration: none; }
.site-head nav a:hover { color: var(--ink); }

/* ---- sections ---- */
section { padding-block: 72px; }
.hero { padding-block: 88px 56px; }
.hero p.lead { font-size: 1.2rem; color: var(--muted); max-width: 36ch; }
.eyebrow { font-size: 0.85rem; color: var(--muted); margin: 0 0 8px; }

/* landing page only */
.landing section { padding-block: 88px; }
.landing .hero { padding-block: 104px 56px; text-align: center; }
.landing .hero h1 { text-wrap: balance; max-width: 20ch; margin: 0 auto 24px; }
.landing .hero p.lead { margin: 0 auto; max-width: 44ch; font-size: 1.25rem; line-height: 1.55; }
.landing .hero .actions { justify-content: center; margin-top: 40px; }
.section-head { text-align: center; max-width: 34rem; margin: 0 auto 44px; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* ---- accents ---- */
.hl, .hl-blue { white-space: nowrap; padding: 0 0.08em; border-radius: 0.12em; }
.hl { color: var(--coral); background: linear-gradient(transparent 58%, var(--coral-soft) 58%); }
.hl-blue { color: var(--blue); background: linear-gradient(transparent 58%, var(--blue-soft) 58%); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- typing rule box ---- */
.rulebox {
  max-width: 36rem; margin: 40px auto 0; text-align: left;
  background: var(--blue-soft); border-radius: 18px; padding: 18px 22px 20px;
}
.rulebox-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 500; color: var(--blue); margin-bottom: 8px;
}
.rulebox-label .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); }
.rulebox-text {
  margin: 0; min-height: 3.1em; font-size: 1.2rem; line-height: 1.5; letter-spacing: -0.01em;
  color: var(--ink); font-weight: 500;
}
.caret {
  display: inline-block; width: 2px; height: 1.15em; margin-left: 2px; vertical-align: -0.2em;
  background: var(--blue); animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .caret { animation: none; } }

/* ---- use cases ---- */
.use-cases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.uc {
  display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px 22px; background: var(--bg);
}
.uc-icon { width: 84px; height: 84px; margin: -14px 0 8px -14px; }
.uc-coral .uc-rule { background: var(--coral-soft); }
.uc-blue .uc-rule { background: var(--blue-soft); }
.uc h3 { font-size: 1.1rem; margin-bottom: 6px; }
.uc p { color: var(--muted); font-size: 0.97rem; margin: 0 0 18px; }
.uc .uc-rule { margin: auto 0 0; color: var(--ink); font-weight: 500; font-size: 0.94rem; line-height: 1.45; padding: 12px 14px; border-radius: 12px; }

/* ---- buttons ---- */
.btn, button {
  font: inherit; font-size: 1rem; font-weight: 500; cursor: pointer;
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  background: var(--ink); color: #fff; border: 1px solid var(--ink);
  text-decoration: none; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn:hover, button:hover { background: #2A2D2A; border-color: #2A2D2A; color: #fff; }
.btn.ghost, button.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn.ghost:hover, button.ghost:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.plain { background: none; border: 0; padding: 13px 6px; color: var(--muted); }
.btn.plain:hover { background: none; color: var(--ink); }
button[disabled] { opacity: 0.45; cursor: default; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 28px; }

/* ---- product shot ---- */
.shot {
  margin: 0 auto; max-width: 1040px;
  border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
  background: var(--bg);
  box-shadow: 0 1px 2px rgba(17, 19, 17, 0.04), 0 24px 64px -24px rgba(17, 19, 17, 0.16);
}
.shot .bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--bg-2);
}
.shot .bar i { width: 10px; height: 10px; border-radius: 50%; background: #DCDCD7; }
.shot .bar .bar-title {
  margin-left: 14px; font-size: 0.78rem; color: var(--faint);
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 2px 12px;
}
.shot img { display: block; width: 100%; height: auto; }
.shot .body { padding: 28px; }
.shot figcaption { font-size: 0.92rem; color: var(--muted); text-align: center; margin-top: 20px; }
.shot-cap { font-size: 0.95rem; color: var(--muted); text-align: center; margin: 24px auto 0; max-width: 52ch; }

/* ---- steps ---- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.steps li { counter-increment: step; }
.steps { counter-reset: step; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; margin-bottom: 20px;
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 0.9rem; font-weight: 600; color: var(--blue); background: var(--blue-soft);
}
.steps li:nth-child(2)::before { color: var(--coral); background: var(--coral-soft); }
.steps p { color: var(--muted); margin: 0; font-size: 0.98rem; }

/* ---- rules ---- */
ul.rules { list-style: none; margin: 0 auto; padding: 0; max-width: 40rem; text-align: center; }
ul.rules li { font-size: 1.2rem; letter-spacing: -0.01em; padding: 14px 0; color: var(--ink); }
ul.rules li + li { border-top: 1px solid var(--line); }
ul.plain { padding-left: 20px; max-width: 62ch; }
ul.plain li { margin-bottom: 8px; }

/* ---- privacy blurb ---- */
.narrow { max-width: 40rem; margin: 0 auto; text-align: center; }
.narrow p { color: var(--muted); font-size: 1.05rem; }

/* ---- pricing ---- */
.plans { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 760px; margin: 0 auto; }
.plan { border: 1px solid var(--line); border-radius: 16px; padding: 36px 32px; background: var(--bg); }
.plan.pick { border-color: transparent; background: var(--blue-soft); }
.plan.pick h3 { color: var(--blue); }
.plan h3 { font-size: 0.95rem; color: var(--muted); font-weight: 500; }
.plan .price { font-size: 2.6rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1; margin: 10px 0 24px; }
.plan .price small { font-size: 0.95rem; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.plan ul { list-style: none; margin: 0 0 32px; padding: 0; }
.plan li { padding: 6px 0; font-size: 0.95rem; color: var(--muted); }
.plan li::before { content: "\2713"; color: var(--blue); margin-right: 10px; }
.plan .btn { width: 100%; text-align: center; }

/* ---- forms ---- */
.form { max-width: 26rem; }
label { display: block; font-size: 0.92rem; color: var(--muted); margin-bottom: 6px; }
input[type=email] {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 10px;
}
input[type=email]:focus { outline: 2px solid var(--green); outline-offset: 1px; border-color: var(--green); }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 0.85rem; margin: 22px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
#status { min-height: 1.4em; color: var(--muted); font-size: 0.95rem; }

/* ---- account ---- */
/* account page */
.account { max-width: 36rem; padding-block: 56px 72px; }
.account h1 { font-size: 2rem; margin-bottom: 4px; }
.account .who { color: var(--muted); margin: 0 0 32px; min-height: 1.6em; }
.panel { border: 1px solid var(--line); border-radius: 16px; padding: 24px; margin-bottom: 16px; }
.panel h2 { font-size: 1.05rem; letter-spacing: -0.01em; margin: 0 0 4px; }
.panel p { margin: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.badge { font-size: 0.8rem; font-weight: 500; padding: 3px 10px; border-radius: 999px; background: var(--bg-2); color: var(--muted); white-space: nowrap; }
.badge.paid { background: #E3F1EA; color: var(--green); }
.badge.ended { background: var(--coral-soft); color: #B42318; }
.usage { margin-top: 20px; }
.usage-row { display: flex; justify-content: space-between; font-size: 0.92rem; color: var(--muted); margin-bottom: 8px; }
.usage-row b { color: var(--ink); font-weight: 600; }
.bar { height: 8px; border-radius: 999px; background: var(--bg-2); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--ink); border-radius: inherit; transition: width 0.3s ease; }
.panel .actions { margin-top: 20px; }
.panel .actions[hidden] { display: none; }
.panel .actions button { padding: 11px 22px; font-size: 0.95rem; }
.linkish { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; font-size: 0.92rem; }
.linkish:hover { background: none; color: var(--ink); }
.notice { border-radius: 12px; padding: 12px 16px; margin-bottom: 16px; background: #E3F1EA; color: var(--green); font-size: 0.95rem; }
.notice.error { background: var(--coral-soft); color: #B42318; }
.notice:empty { display: none; }

/* ---- footer ---- */
.site-foot {
  border-top: 1px solid var(--line); padding: 36px 24px 64px; margin-top: 48px;
  display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center;
  font-size: 0.92rem; color: var(--muted);
}
.site-foot .brand { font-size: 0.98rem; margin-right: auto; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--ink); }

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: 36px; max-width: 30rem; margin: 0 auto; }
  .plans { grid-template-columns: 1fr; }
  .use-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .landing section { padding-block: 64px; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .site-head { padding: 20px 16px; }
  .site-head nav { gap: 18px; }
  .hero { padding-block: 56px 40px; }
  .landing .hero { padding-block: 72px 48px; }
  .landing section { padding-block: 52px; }
  .section-head { margin-bottom: 40px; }
  .shot .body { padding: 16px; }
  .rulebox { padding: 16px 18px; }
  .rulebox-text { font-size: 1.05rem; min-height: 4.6em; }
  .hl { white-space: normal; }
  .shot .bar .bar-title { display: none; }
  .site-foot { padding: 28px 16px 48px; }
}
@media (max-width: 520px) { .br-wide { display: none; } }

/* ---- closing call to action ---- */
.closer { text-align: center; }
.closer h2 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.03em; }
.closer .actions { justify-content: center; margin-top: 32px; }

/* ---- benefits and questions (pricing page) ---- */
.benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 40px; }
.benefits p { color: var(--muted); font-size: 0.98rem; margin: 0; }
.benefits h3 { display: flex; align-items: center; gap: 10px; }
.benefits h3::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.benefits li:nth-child(even) h3::before { background: var(--coral); }
.faq { max-width: 40rem; margin: 0 auto; }
.faq h3 { font-size: 1.1rem; margin-top: 32px; }
.faq h3:first-child { margin-top: 0; }
.faq p { color: var(--muted); }
@media (max-width: 760px) { .benefits { grid-template-columns: 1fr; gap: 36px; max-width: 30rem; margin: 0 auto; } }

/* ---- homepage demos: YouTube grid and X timeline ---- */
.landing .demo-section { padding-block: 32px 64px; }
.landing .demo-yt { padding-top: 16px; }
.demo-title { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 28px; }
.demo-section .rulebox { margin-top: 0; }
.rulebox-label .rule-kind {
  margin-left: auto; font-size: 0.75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px;
  animation: kind-in 200ms ease both;
}
.rule-kind-remove { color: var(--coral); background: var(--coral-soft); }
.rule-kind-keep { color: var(--blue); background: var(--blue-soft); }
.rule-kind-except { color: #fff; background: linear-gradient(90deg, var(--coral), var(--blue)); }
@keyframes kind-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }

.rule-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 44rem; margin: 18px auto 36px; }
.rule-chip {
  font-size: 0.88rem; font-weight: 500; padding: 7px 14px; border-radius: 999px;
  background: var(--bg); color: var(--muted); border: 1px solid var(--line);
}
.rule-chip:hover { background: var(--bg); color: var(--ink); border-color: var(--ink); }
.rule-chip.is-on { background: var(--blue-soft); color: var(--blue); border-color: transparent; }

.demo-shot .bar { gap: 12px; }
.bar-dots { display: flex; gap: 7px; }
.bar-title { font-size: 0.78rem; }
.demo-count { margin-left: auto; font-size: 0.82rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.mode-switch { display: inline-flex; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 2px; }
.mode-switch button {
  font-size: 0.8rem; font-weight: 500; padding: 4px 12px; border-radius: 999px;
  background: transparent; border: 0; color: var(--muted);
}
.mode-switch button:hover { background: transparent; color: var(--ink); }
.mode-switch button.is-on { background: var(--ink); color: #fff; }

/* shared card states */
.dcard { position: relative; transition: transform 380ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 300ms ease; }
.dcard.is-leaving { opacity: 0; transform: scale(0.94); }
.dcard.is-gone { display: none; }
.dcard-body { transition: filter 350ms ease, opacity 350ms ease; }
.dcard.is-out .dcard-body { filter: blur(9px) saturate(0.6); opacity: 0.6; }
.dcard-glass {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.28); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  opacity: 0; transition: opacity 350ms ease; pointer-events: none;
}
.dcard.is-out .dcard-glass { opacity: 1; }
.dcard-glass span {
  display: inline-flex; align-items: center; gap: 7px; background: #fff; color: var(--ink); white-space: nowrap;
  font-size: 0.78rem; font-weight: 600; padding: 6px 12px; border-radius: 999px;
  box-shadow: 0 2px 10px rgba(17, 19, 17, 0.12);
}
.dcard-glass i { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.av-img, .yt-img, .xm-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* YouTube home grid */
.yt-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px;
  padding: 24px; background: #fff; align-items: start;
}
.ytcard { border-radius: 12px; }
.ytcard .dcard-glass { border-radius: 12px; }
.ytthumb { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; display: grid; place-items: center; }
.yt-art { font-size: 2.4rem; }
.ytdur {
  position: absolute; right: 8px; bottom: 8px; z-index: 1; background: rgba(0, 0, 0, 0.8); color: #fff;
  font-size: 0.72rem; font-weight: 600; padding: 1px 5px; border-radius: 4px;
}
.ytlive { background: #CC0000; }
.ytrow { display: flex; gap: 12px; margin-top: 12px; }
.ytav {
  position: relative; width: 36px; height: 36px; border-radius: 50%; flex: none; overflow: hidden;
  display: grid; place-items: center; font-weight: 600; font-size: 0.85rem; color: #333;
}
.ytinfo { min-width: 0; }
.ytinfo h4 {
  font-size: 0.95rem; font-weight: 600; line-height: 1.35; letter-spacing: 0; margin: 0 0 4px; color: #0F0F0F;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ytinfo p { margin: 0; font-size: 0.82rem; color: #606060; line-height: 1.45; }

/* X timeline, rule panel beside it */
.xdemo { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 600px); gap: 40px; justify-content: center; align-items: start; }
.xdemo-side { position: sticky; top: 24px; }
.xdemo-side .rulebox { max-width: none; }
.xdemo-side .rule-chips { justify-content: flex-start; margin: 16px 0 0; }
.xshot { margin: 0; }
.x-feed { background: #fff; }
.xpost { padding: 12px 16px; border-bottom: 1px solid #EFF3F4; background: #fff; }
.xbody { display: flex; gap: 12px; }
.xav {
  position: relative; width: 40px; height: 40px; border-radius: 50%; flex: none; overflow: hidden;
  display: grid; place-items: center; color: #fff; font-weight: 700;
}
.xmain { min-width: 0; flex: 1; }
.xhead { display: flex; align-items: center; gap: 4px; font-size: 0.94rem; white-space: nowrap; overflow: hidden; color: #0F1419; }
.xhead b { font-weight: 700; }
.xhead span { color: #536471; overflow: hidden; text-overflow: ellipsis; margin-left: 2px; }
.xtext { font-size: 0.94rem; line-height: 1.42; margin: 2px 0 10px; color: #0F1419; }
.xmedia {
  position: relative; aspect-ratio: 16 / 9; border-radius: 16px; border: 1px solid #CFD9DE; overflow: hidden;
  display: grid; place-items: center; margin-bottom: 10px;
}
.x-art { font-size: 2.6rem; }
.xvid { position: absolute; left: 10px; bottom: 10px; background: rgba(0, 0, 0, 0.75); color: #fff; font-size: 0.75rem; padding: 2px 8px; border-radius: 4px; }
.xacts { display: flex; justify-content: space-between; max-width: 420px; color: #536471; font-size: 0.8rem; }
.xacts span { display: inline-flex; align-items: center; gap: 5px; }
.xacts svg { width: 17px; height: 17px; }

@media (max-width: 900px) {
  .xdemo { grid-template-columns: minmax(0, 600px); gap: 0; }
  .xdemo-side { position: static; }
  .xdemo-side .rule-chips { justify-content: center; margin: 18px 0 32px; }
}
@media (max-width: 760px) {
  .yt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; padding: 14px; }
}
@media (max-width: 520px) {
  .yt-grid { grid-template-columns: minmax(0, 1fr); }
  .dcard-glass span { font-size: 0.72rem; padding: 5px 10px; }
  .rule-chips { margin-bottom: 28px; }
  .rule-chip { font-size: 0.8rem; padding: 6px 11px; }
  .xpost { padding: 10px 12px; }
  .xhead span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dcard, .dcard-body, .dcard-glass { transition: none; }
}

/* ---- phones: one row of chips, compact cards ---- */
@media (max-width: 600px) {
  .landing .demo-section { padding-block: 20px 44px; }
  .demo-title { font-size: 1.5rem; margin-bottom: 16px; }
  .demo-title svg { width: 24px; height: 24px; }

  .rulebox-label { gap: 6px; }
  .rulebox-label .rule-kind { font-size: 0.7rem; padding: 2px 8px; }
  .rulebox-text { font-size: 0.98rem; line-height: 1.4; }
  .xdemo .rulebox { align-self: start; }

  /* Chips: one row you swipe sideways. */
  .rule-chips, .xdemo-side .rule-chips {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none;
    margin: 18px -16px 16px; padding: 0 16px; max-width: none;
  }
  .rule-chips::-webkit-scrollbar { display: none; }
  .rule-chip { flex: none; }

  /* YouTube: the mobile list, small thumbnail left, text right, no avatar. */
  .yt-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 12px; }
  .ytcard .dcard-body { display: grid; grid-template-columns: 44% minmax(0, 1fr); gap: 10px; align-items: start; }
  .ytthumb { border-radius: 8px; }
  .ytdur { font-size: 0.66rem; right: 4px; bottom: 4px; }
  .ytrow { margin-top: 0; }
  .ytav { display: none; }
  .ytinfo h4 { font-size: 0.84rem; margin-bottom: 2px; }
  .ytinfo p { font-size: 0.72rem; }
  .ytcard, .ytcard .dcard-glass { border-radius: 8px; }

  /* X: no images, two lines of text, smaller avatar. */
  .xpost { padding: 10px 12px; }
  .xbody { gap: 10px; }
  .xav { width: 32px; height: 32px; font-size: 0.8rem; }
  .xhead { font-size: 0.86rem; }
  .xtext { font-size: 0.86rem; margin: 1px 0 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .xmedia { display: none; }
  .xacts { font-size: 0.72rem; max-width: 300px; }
  .xacts svg { width: 14px; height: 14px; }

  .dcard-glass span { font-size: 0.7rem; padding: 4px 9px; gap: 5px; }
}
@media (max-width: 600px) {
  .use-cases { grid-template-columns: minmax(0, 1fr); }
  .uc { padding: 20px 18px 18px; }
  .uc-icon { width: 68px; height: 68px; margin: -10px 0 4px -10px; }
}

/* ---- illustrations ---- */
.steps li:has(.step-icon)::before { display: none; }
.step-icon { display: block; width: 92px; height: 92px; margin: -10px 0 8px -16px; }
.narrow-icon { display: block; width: 92px; height: 92px; margin: 0 auto 4px; }

/* ---- rule input: looks like a text field in focus ---- */
.demo-section .rulebox {
  position: relative; margin: 0; background: #fff; border: 1.5px solid var(--blue); border-radius: 14px;
  box-shadow: 0 0 0 4px var(--blue-soft); padding: 14px 18px;
}
.demo-section .rulebox-label { position: absolute; top: 50%; right: 14px; transform: translateY(-50%); margin: 0; }
.demo-section .rulebox-text { min-height: 1.5em; padding-right: 110px; }

/* handwritten note with a short arrow, above the box */
.rulewrap { max-width: 36rem; margin: 48px auto 0; }
.rule-note {
  display: flex; align-items: flex-end; gap: 4px; margin: 0 0 4px 8px; color: var(--coral); position: relative; z-index: 1;
  font-family: "Caveat", cursive; font-weight: 600; font-size: 1.5rem; line-height: 1.2;
}
.rule-note span { transform: rotate(-3deg); white-space: nowrap; }
.rule-arrow { flex: none; }

/* chips: clearly buttons */
.rule-chips::before {
  content: "Try a rule:"; align-self: center; font-size: 0.85rem; font-weight: 500; color: var(--muted); margin-right: 2px; white-space: nowrap;
}
.rule-chip {
  background: #fff; color: var(--ink); border: 1.5px solid #D2D5CF; cursor: pointer;
  box-shadow: 0 1px 2px rgba(17, 19, 17, 0.06);
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease, background 150ms ease;
}
.rule-chip:hover { background: #fff; color: var(--ink); border-color: var(--ink); transform: translateY(-1px); box-shadow: 0 5px 12px -6px rgba(17, 19, 17, 0.35); }
.rule-chip:active { transform: translateY(0); }
.rule-chip.is-on { background: var(--blue-soft); color: var(--blue); border-color: var(--blue); box-shadow: none; }

@media (max-width: 600px) {
  .rulewrap { margin-top: 36px; }
  .rule-note { font-size: 1.3rem; }
  .demo-section .rulebox { padding: 12px 14px; }
  .demo-section .rulebox-text { min-height: 2.8em; padding-right: 0; }
  .demo-section .rulebox-label { position: static; transform: none; justify-content: flex-end; margin-bottom: 4px; }
}

/* ---- footer: guides row, on its own line under the links ---- */
.site-foot .foot-guides { flex-basis: 100%; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px 24px; font-size: 0.88rem; margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.site-foot .foot-guides span { grid-column: 1 / -1; color: var(--faint); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.74rem; }
.site-foot .foot-guides a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---- guide pages: one readable column ---- */
.guide { max-width: 44rem; margin: 0 auto; }
.guide h2 { margin-top: 56px; }
.guide h2:first-child { margin-top: 0; }
.guide ol, .guide ul { padding-left: 22px; }
.guide li { margin-bottom: 8px; }
.guide .rule-example {
  margin: 20px 0; padding: 14px 18px; background: #fff; border: 1.5px solid var(--blue); border-radius: 14px;
  box-shadow: 0 0 0 4px var(--blue-soft); font-weight: 500; font-size: 1.05rem; letter-spacing: -0.01em;
}
.guide .faq { margin: 0; }
.guide-links { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--muted); }

/* comparison table: scrolls inside its box on phones, never the page */
.table-wrap { overflow-x: auto; margin: 20px 0; border: 1px solid var(--line); border-radius: 14px; }
.compare { width: 100%; border-collapse: collapse; font-size: 0.93rem; line-height: 1.45; min-width: 520px; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--bg-2); font-weight: 600; }
.compare tbody th { font-weight: 500; color: var(--muted); width: 28%; }

.guide-list { list-style: none; margin: 0 auto; padding: 0; max-width: 52rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 32px; }
.guide-list li { padding: 14px 0; border-top: 1px solid var(--line); }
.guide-list a { font-weight: 600; }
.guide-list span { display: block; color: var(--muted); font-size: 0.95rem; margin-top: 4px; }
@media (max-width: 760px) { .guide-list { grid-template-columns: minmax(0, 1fr); } }

/* Add to Chrome button; the official store badge sits in the footer, unmodified */
.btn-chrome { display: inline-flex; align-items: center; gap: 10px; padding: 12px 24px 12px 14px; }
.btn-chrome img { display: block; width: 22px; height: 22px; }
.site-foot .cws-foot { flex-basis: 100%; line-height: 0; margin-top: 4px; }
.cws-foot img { width: 160px; height: auto; }
