/* ==========================================================================
   AIbyNow design system
   A calm, light interface: white surfaces, ink text, one violet accent.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/fonts/inter-latin-wght-normal.woff2") format("woff2");
}

:root {
  --ink: #172033;
  --ink-soft: #344054;
  --muted: #667085;
  --muted-2: #475467;
  --line: #eaecf0;
  --line-strong: #d0d5dd;
  --bg: #ffffff;
  --surface: #f7f8fc;
  --surface-2: #fcfcfd;
  --primary: #635bff;
  --primary-hover: #5149e8;
  --primary-ink: #3b34c9;
  --primary-soft: #f0edff;
  --primary-line: #d9d6ff;
  --green: #12b76a;
  --green-ink: #047647;
  --green-soft: #ecfdf3;
  --blue: #1570ef;
  --blue-soft: #eff8ff;
  --teal: #0e9384;
  --teal-soft: #ecfdf3;
  --amber: #b54708;
  --amber-soft: #fffaeb;
  --red: #d92d20;
  --red-soft: #fef3f2;
  --radius-card: 16px;
  --radius-btn: 10px;
  --shadow-xs: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow-sm: 0 1px 3px rgba(16, 24, 40, 0.07), 0 1px 2px rgba(16, 24, 40, 0.04);
  --shadow-md: 0 8px 24px -6px rgba(23, 32, 51, 0.1), 0 2px 6px -2px rgba(23, 32, 51, 0.05);
  --shadow-lg: 0 24px 48px -16px rgba(23, 32, 51, 0.18), 0 6px 16px -6px rgba(23, 32, 51, 0.08);
  --shell: 1200px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", ui-monospace, "Cascadia Code", "Roboto Mono", Consolas, monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: #dcd8ff;
  color: var(--ink);
}

img,
svg {
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

[hidden] {
  display: none !important;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
}

:focus-visible {
  outline: 3px solid rgba(99, 91, 255, 0.35);
  outline-offset: 2px;
}

.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: -60px;
  left: 16px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 12px;
}

.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.icon {
  flex: none;
  display: inline-block;
  vertical-align: -0.18em;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.btn svg {
  transition: transform 0.16s ease;
}

.btn:hover svg {
  transform: translateX(2px);
}

.btn-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.btn-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  box-shadow: 0 4px 12px -2px rgba(99, 91, 255, 0.35);
}

.btn-secondary {
  background: #fff;
  border-color: var(--line-strong);
  color: var(--ink);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--surface);
  border-color: #b8c0cc;
}

.btn-ghost {
  background: transparent;
  color: var(--muted-2);
}

.btn-ghost:hover {
  background: var(--surface);
  color: var(--ink);
}

.btn-sm {
  min-height: 38px;
  padding: 0 14px;
  font-size: 13.5px;
  border-radius: 9px;
}

.btn-block {
  width: 100%;
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  box-shadow: none;
}

.btn[disabled]:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.btn[disabled] svg,
.btn[aria-disabled="true"] svg {
  transform: none;
}

.text-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 2px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
  border-radius: 6px;
  transition: color 0.15s ease;
}

.text-btn:hover {
  color: var(--primary-ink);
}

.text-btn svg {
  opacity: 0.85;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  transition: background 0.15s ease, color 0.15s ease;
}

.icon-btn:hover {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-ink);
  font-size: 13.5px;
  font-weight: 600;
}

.link-arrow svg {
  transition: transform 0.16s ease;
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--primary-ink);
  font-size: 13px;
  font-weight: 600;
}

.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(16, 24, 40, 0.02);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  border-radius: 8px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: var(--mark-size, 28px);
  height: var(--mark-size, 28px);
  border-radius: calc(var(--mark-size, 28px) * 0.3);
  background: linear-gradient(145deg, #736cff 0%, #554dff 65%, #4a42ec 100%);
  color: #fff;
  box-shadow: 0 1px 2px rgba(23, 32, 51, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.brand-word {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--muted-2);
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-link:hover {
  color: var(--ink);
  background: var(--surface);
}

.nav-link.is-active {
  color: var(--ink);
  font-weight: 600;
}

.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
}

.menu-icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-icon {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-icon-close {
  display: inline;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  margin-top: 40px;
  padding: 56px 0 24px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 36px 32px;
}

.footer-brand .brand {
  margin-bottom: 14px;
}

.footer-tagline {
  max-width: 290px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.65;
}

.footer-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 12.5px;
}

.footer-note svg {
  color: var(--green);
}

.footer-col h2 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 8px;
}

.footer-col a {
  color: var(--muted);
  font-size: 13px;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.footer-made {
  color: var(--muted);
}

.footer-locale {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* --------------------------------------------------------------------------
   Shared section furniture
   -------------------------------------------------------------------------- */

.section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 32px;
}

.section-head > div:first-child {
  max-width: 660px;
}

.section-head.compact {
  margin-bottom: 24px;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--primary-ink);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.section-title {
  font-size: 36px;
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
}

.section-desc {
  max-width: 560px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
}

.section-action {
  flex: none;
  padding-bottom: 4px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12.5px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-row svg {
  color: var(--green);
}

.chip {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted-2);
  font-size: 11.5px;
  font-weight: 500;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Home — hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 90px 0 68px;
  border-bottom: 1px solid var(--line);
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(58% 70% at 50% -6%, rgba(99, 91, 255, 0.11) 0%, rgba(240, 237, 255, 0.45) 38%, rgba(255, 255, 255, 0) 72%),
    linear-gradient(180deg, #fbfaff 0%, #ffffff 62%);
  pointer-events: none;
}

.hero-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(23, 32, 51, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23, 32, 51, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(60% 62% at 50% 0%, #000 0%, transparent 78%);
  mask-image: radial-gradient(60% 62% at 50% 0%, #000 0%, transparent 78%);
  opacity: 0.55;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--muted-2);
  font-size: 12.5px;
  font-weight: 500;
  box-shadow: var(--shadow-xs);
  transition: border-color 0.16s ease, color 0.16s ease;
}

.hero-badge svg:first-child {
  color: var(--primary);
}

.hero-badge:hover {
  border-color: var(--primary-line);
  color: var(--ink);
}

.hero h1 {
  margin: 26px auto 0;
  max-width: 900px;
  font-size: clamp(46px, 6.4vw, 74px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: var(--ink);
  text-wrap: balance;
}

.hero-accent {
  position: relative;
  color: var(--primary);
  background: linear-gradient(transparent 72%, rgba(240, 237, 255, 0.95) 72%);
}

.hero-sub {
  max-width: 590px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  text-wrap: pretty;
}

.hero-search-wrap {
  position: relative;
  width: 100%;
  max-width: 590px;
  margin: 32px auto 0;
  text-align: left;
}

.hero-search {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 58px;
  padding: 0 12px 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 8px 20px -12px rgba(23, 32, 51, 0.18);
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.hero-search:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(99, 91, 255, 0.12), 0 8px 20px -12px rgba(23, 32, 51, 0.18);
}

.search-icon {
  display: grid;
  place-items: center;
  color: #98a2b3;
}

.hero-search input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 15.5px;
  letter-spacing: -0.01em;
}

.hero-search input::placeholder {
  color: #98a2b3;
}

.hero-search input[type="search"]::-webkit-search-cancel-button,
.hero-search input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.search-kbd {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 7px;
  border: 1px solid var(--line);
  border-bottom-color: var(--line-strong);
  border-radius: 6px;
  background: var(--surface);
  color: var(--muted);
  font-family: var(--font);
  font-size: 11.5px;
  font-weight: 500;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 30;
  max-height: 360px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-lg);
}

.search-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 10px;
  border-radius: 9px;
  transition: background 0.12s ease;
}

.search-item:hover,
.search-item.is-active {
  background: var(--surface);
}

.search-item-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 9px;
  background: var(--primary-soft);
  color: var(--primary-ink);
}

.search-item-copy {
  min-width: 0;
  display: grid;
  gap: 1px;
}

.search-item-name {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}

.search-item-meta {
  font-size: 11.5px;
  color: var(--muted);
}

.search-empty {
  padding: 18px 12px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.search-group-label {
  padding: 8px 10px 4px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-tasks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.hero-tasks-label {
  margin-right: 2px;
  color: var(--muted);
  font-size: 12.5px;
}

.task-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--muted-2);
  font-size: 12.5px;
  font-weight: 500;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}

.task-chip svg {
  color: var(--muted);
}

.task-chip:hover {
  border-color: var(--primary-line);
  background: #fff;
  color: var(--primary-ink);
}

.task-chip:hover svg {
  color: var(--primary);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 12.5px;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-trust svg {
  color: var(--green);
}

/* --------------------------------------------------------------------------
   Home — featured / categories / why / privacy / CTA
   -------------------------------------------------------------------------- */

.featured-section {
  padding-top: 76px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 242px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: var(--shadow-xs);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.tool-card:hover {
  transform: translateY(-3px);
  border-color: #cfcaff;
  box-shadow: var(--shadow-md);
}

.tool-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border-radius: 11px;
  background: var(--primary-soft);
  color: var(--primary-ink);
}

.accent-blue .tool-icon,
.tool-icon.accent-blue {
  background: var(--blue-soft);
  color: var(--blue);
}

.accent-teal .tool-icon,
.tool-icon.accent-teal {
  background: var(--teal-soft);
  color: var(--teal);
}

.accent-amber .tool-icon,
.tool-icon.accent-amber {
  background: var(--amber-soft);
  color: var(--amber);
}

.accent-violet .tool-icon,
.tool-icon.accent-violet {
  background: var(--primary-soft);
  color: var(--primary-ink);
}

.tool-card-cat {
  margin-top: 16px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.tool-card-name {
  margin-top: 5px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.tool-card-desc {
  margin-top: 7px;
  flex: 1;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.tool-card-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 18px;
  color: var(--primary-ink);
  font-size: 12.5px;
  font-weight: 600;
}

.tool-card-link svg {
  transition: transform 0.16s ease;
}

.tool-card:hover .tool-card-link svg {
  transform: translateX(3px);
}

.section-categories {
  padding-top: 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.category-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.category-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.category-count {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 500;
  white-space: nowrap;
}

.category-card h3 {
  margin-top: 16px;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.category-card h3 a:hover {
  color: var(--primary-ink);
}

.category-card > p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.category-links {
  display: grid;
  gap: 2px;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.category-links a {
  display: block;
  padding: 5px 0;
  color: var(--muted-2);
  font-size: 12.5px;
  transition: color 0.15s ease, padding-left 0.15s ease;
}

.category-links a:hover {
  padding-left: 3px;
  color: var(--primary-ink);
}

.why-section {
  margin-top: 10px;
  padding: 88px 0;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.why-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 72px;
  align-items: start;
}

.why-intro .section-title {
  max-width: 420px;
}

.why-intro .section-desc {
  margin-bottom: 20px;
}

.why-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px 28px;
  padding-top: 4px;
}

.why-item {
  display: flex;
  gap: 13px;
}

.why-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--primary-ink);
  box-shadow: var(--shadow-xs);
}

.why-item h3 {
  margin-top: 2px;
  font-size: 14.5px;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.why-item p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.privacy-section {
  padding-top: 72px;
  padding-bottom: 24px;
}

.privacy-panel {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 48px;
  align-items: center;
  padding: 46px;
  border-radius: 20px;
  background: #172033;
  color: #fff;
  overflow: hidden;
  position: relative;
}

.privacy-panel::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -120px;
  top: -160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(99, 91, 255, 0.3), rgba(99, 91, 255, 0) 70%);
  pointer-events: none;
}

.privacy-copy {
  position: relative;
  z-index: 1;
}

.privacy-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #c8c3ff;
}

.privacy-panel .eyebrow {
  color: #a7a2ff;
}

.privacy-panel h2 {
  font-size: 32px;
  font-weight: 650;
  line-height: 1.14;
  letter-spacing: -0.035em;
  color: #fff;
}

.privacy-panel p:not(.eyebrow) {
  max-width: 480px;
  margin-top: 12px;
  color: #aeb6c6;
  font-size: 14px;
  line-height: 1.65;
}

.privacy-panel .link-arrow {
  margin-top: 20px;
  color: #c8c3ff;
}

.data-flow {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
}

.flow-row {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.flow-label {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.flow-path {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #98a2b3;
  font-size: 11.5px;
}

.flow-arrow {
  display: inline-grid;
  place-items: center;
  color: #667085;
}

.flow-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 500;
  white-space: nowrap;
}

.flow-tag.ok {
  background: rgba(18, 183, 106, 0.14);
  color: #6ce9a6;
}

.flow-tag.neutral {
  background: rgba(255, 255, 255, 0.07);
  color: #d0d5dd;
}

.cta-section {
  padding-top: 32px;
  padding-bottom: 88px;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 44px 48px;
  border: 1px solid var(--primary-line);
  border-radius: 20px;
  background:
    radial-gradient(80% 140% at 100% 0%, rgba(99, 91, 255, 0.1) 0%, rgba(240, 237, 255, 0) 58%),
    var(--primary-soft);
}

.cta-panel h2 {
  font-size: 32px;
  font-weight: 650;
  line-height: 1.14;
  letter-spacing: -0.035em;
}

.cta-panel p:not(.eyebrow) {
  margin-top: 8px;
  color: var(--muted-2);
  font-size: 14px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: none;
}

.cta-compact {
  padding: 34px 40px;
}

.cta-compact h2 {
  font-size: 27px;
}

/* --------------------------------------------------------------------------
   Page heroes (tools index, pricing, about, legal, blog)
   -------------------------------------------------------------------------- */

.page-hero {
  padding: 66px 0 38px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(52% 90% at 50% 0%, rgba(240, 237, 255, 0.65) 0%, rgba(255, 255, 255, 0) 74%),
    #fff;
}

.page-hero-center {
  text-align: center;
}

.page-hero-narrow {
  max-width: 820px;
}

.page-hero h1 {
  max-width: 840px;
  font-size: clamp(40px, 4.6vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.page-hero-center h1 {
  margin-left: auto;
  margin-right: auto;
}

.page-lede {
  max-width: 660px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
  text-wrap: pretty;
}

.page-hero-center .page-lede {
  margin-left: auto;
  margin-right: auto;
}

.page-meta {
  margin-top: 16px;
  color: var(--muted);
  font-size: 12.5px;
}

.page-hero .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.page-hero-center .hero-actions {
  justify-content: center;
}

.page-hero-narrow .hero-actions {
  justify-content: flex-start;
}

.pricing-hero {
  padding-bottom: 90px;
}

.billing-toggle {
  display: inline-flex;
  gap: 4px;
  margin-top: 28px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
}

.billing-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 13px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted-2);
  font-size: 12.5px;
  font-weight: 500;
}

.billing-toggle button.is-active {
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  box-shadow: var(--shadow-xs);
}

.save-badge {
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-ink);
  font-size: 10px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Tools index
   -------------------------------------------------------------------------- */

.tools-search-row {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.hero-search-sm {
  max-width: 520px;
  height: 52px;
  margin: 0 auto;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 22px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted-2);
  font-size: 12.5px;
  font-weight: 500;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.filter-chip:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.filter-chip.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.tools-list {
  padding-top: 44px;
  padding-bottom: 20px;
}

.tools-category {
  margin-bottom: 58px;
  scroll-margin-top: 88px;
}

.tools-category[hidden] {
  display: none !important;
}

.tools-category-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.tools-category-head h2 {
  font-size: 21px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.tools-category-head p {
  max-width: 760px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.tools-category-head .category-count {
  margin-top: 7px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tool-grid .tool-card {
  min-height: 232px;
}

.empty-filter {
  padding: 60px 20px;
  text-align: center;
}

.empty-filter h2 {
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.empty-filter p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.empty-filter a {
  color: var(--primary-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.empty-icon {
  display: inline-grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Tool page — header and layout
   -------------------------------------------------------------------------- */

.tool-shell {
  padding-top: 14px;
}

.breadcrumbs {
  padding: 6px 0 0;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  list-style: none;
}

.breadcrumbs li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.breadcrumbs li + li::before {
  content: "/";
  color: #b8c0cc;
}

.breadcrumbs a:hover {
  color: var(--primary-ink);
}

.breadcrumbs [aria-current="page"] {
  color: var(--muted-2);
}

.tool-hero {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.tool-hero-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: none;
  margin-top: 3px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary-ink);
  border: 1px solid rgba(99, 91, 255, 0.1);
}

.accent-blue .tool-hero-icon {
  background: var(--blue-soft);
  color: var(--blue);
  border-color: rgba(21, 112, 239, 0.1);
}

.accent-teal .tool-hero-icon {
  background: var(--teal-soft);
  color: var(--teal);
  border-color: rgba(14, 147, 132, 0.1);
}

.accent-amber .tool-hero-icon {
  background: var(--amber-soft);
  color: var(--amber);
  border-color: rgba(181, 71, 8, 0.1);
}

.tool-hero-copy {
  min-width: 0;
}

.tool-eyebrow {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tool-eyebrow a:hover {
  color: var(--primary-ink);
}

.tool-hero h1 {
  font-size: clamp(36px, 4.4vw, 50px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.tool-tagline {
  max-width: 680px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.55;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 318px;
  gap: 40px;
  align-items: start;
  margin-top: 28px;
}

.tool-main {
  min-width: 0;
}

.tool-sidebar {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 14px;
}

.sidebar-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-xs);
}

.sidebar-title {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: var(--ink);
}

.sidebar-card > p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.quota-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.quota-label {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.quota-label svg {
  color: var(--primary);
}

.quota-top a {
  color: var(--primary-ink);
  font-size: 11.5px;
  font-weight: 600;
}

.quota-number {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 12px;
}

.quota-number strong {
  font-size: 27px;
  font-weight: 650;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}

.quota-number span {
  color: var(--muted);
  font-size: 12px;
}

.quota-track {
  height: 5px;
  margin-top: 10px;
  border-radius: 999px;
  background: var(--surface);
  overflow: hidden;
}

.quota-track span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--primary);
  transition: width 0.3s ease;
}

.quota-note {
  margin-top: 9px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.quota-local .quota-top {
  margin-bottom: 2px;
}

.tag-ok {
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-ink);
  font-size: 10px;
  font-weight: 600;
}

.quota-copy {
  margin-top: 10px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.mini-steps {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  counter-reset: step;
}

.mini-steps li {
  display: flex;
  gap: 10px;
}

.mini-steps li > span {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  flex: none;
  margin-top: 1px;
  border-radius: 6px;
  background: var(--primary-soft);
  color: var(--primary-ink);
  font-size: 10.5px;
  font-weight: 650;
}

.mini-steps strong {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.mini-steps p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
}

.privacy-mini {
  position: relative;
  padding-left: 18px;
}

.privacy-mini-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-bottom: 10px;
  border-radius: 8px;
  background: var(--green-soft);
  color: var(--green-ink);
}

.privacy-mini .text-link {
  margin-top: 8px;
}

.sidebar-links {
  display: grid;
  gap: 2px;
  margin-top: 10px;
}

.sidebar-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 12.5px;
  transition: color 0.15s ease;
}

.sidebar-links li:last-child a {
  border-bottom: 0;
  padding-bottom: 0;
}

.sidebar-links a:hover {
  color: var(--primary-ink);
}

.sidebar-links a svg {
  color: #98a2b3;
  transition: transform 0.15s ease;
}

.sidebar-links a:hover svg {
  transform: translateX(2px);
}

.sidebar-links.simple a {
  display: block;
  line-height: 1.45;
}

.tool-note-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  padding: 13px 2px 0;
  color: var(--muted);
  font-size: 11.5px;
}

.tool-note-row span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* --------------------------------------------------------------------------
   Tool workspaces
   -------------------------------------------------------------------------- */

.workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.workspace-file,
.workspace-wide {
  display: block;
  padding: 22px;
}

.ws-pane {
  min-width: 0;
  padding: 22px;
}

.ws-pane + .ws-pane {
  border-left: 1px solid var(--line);
  background: var(--surface-2);
}

.ws-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 22px;
  margin-bottom: 9px;
}

.ws-label {
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.ws-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.char-count {
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.ws-textarea {
  display: block;
  width: 100%;
  min-height: 222px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.65;
  resize: vertical;
  outline: 0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ws-textarea::placeholder {
  color: #98a2b3;
}

.ws-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.1);
}

.ws-subtools {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 9px 0 18px;
}

.seg-field {
  min-width: 0;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
}

.seg-field legend {
  margin-bottom: 8px;
  padding: 0;
  color: var(--muted-2);
  font-size: 11.5px;
  font-weight: 600;
}

.segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.seg-option {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.seg-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.seg-option span {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 500;
  transition: border-color 0.14s ease, background 0.14s ease, color 0.14s ease;
}

.seg-option span:hover {
  border-color: var(--line-strong);
  color: var(--ink);
}

.seg-option input:checked + span {
  border-color: var(--primary-line);
  background: var(--primary-soft);
  color: var(--primary-ink);
  font-weight: 600;
}

.seg-option input:focus-visible + span {
  outline: 3px solid rgba(99, 91, 255, 0.3);
  outline-offset: 1px;
}

.segmented-single .seg-option span {
  background: var(--surface);
  color: var(--muted);
  cursor: default;
}

.ws-submit {
  min-height: 46px;
  margin-top: 2px;
}

.ws-privacy {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.ws-privacy svg {
  margin-top: 2px;
  flex: none;
  color: var(--green);
}

.output-shell {
  position: relative;
  min-height: 282px;
}

.output-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 9px;
  min-height: 282px;
  padding: 24px;
  border: 1px dashed var(--line-strong);
  border-radius: 11px;
  background: #fff;
  color: #98a2b3;
  text-align: center;
}

.output-placeholder svg {
  color: #b8c0ff;
}

.output-placeholder p {
  max-width: 230px;
  font-size: 12.5px;
  line-height: 1.55;
}

.output-shell.tall {
  min-height: 318px;
}

.output-shell.tall .output-placeholder {
  min-height: 318px;
}

.output-text {
  min-height: 318px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
  color: var(--ink);
  font-size: 13.5px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.output-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  min-height: 18px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.output-foot .engine-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 500;
}

.ws-error {
  margin-top: 10px;
  padding: 9px 11px;
  border: 1px solid #fecdca;
  border-radius: 8px;
  background: var(--red-soft);
  color: #b42318;
  font-size: 12px;
  line-height: 1.5;
}

.is-busy .ws-submit {
  pointer-events: none;
}

.btn-spinner {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---- File tools ---------------------------------------------------------- */

.file-ws-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

.ws-help {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.file-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex: none;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-ink);
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}

.dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 176px;
  padding: 28px 20px;
  border: 1.5px dashed var(--line-strong);
  border-radius: 14px;
  background:
    radial-gradient(70% 100% at 50% 0%, rgba(240, 237, 255, 0.45), rgba(255, 255, 255, 0) 70%),
    #fcfcff;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease;
}

.dropzone:hover,
.dropzone:focus-visible {
  border-color: #a9a2ff;
  background: #faf9ff;
}

.dropzone.is-dragging {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.drop-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--primary-ink);
  box-shadow: var(--shadow-xs);
}

.drop-title {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.drop-sub {
  color: var(--muted);
  font-size: 12px;
}

.drop-browse {
  color: var(--primary-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dropzone-compact {
  min-height: 128px;
  padding: 20px;
}

.dropzone-image .drop-icon {
  color: var(--teal);
}

.file-chip {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 12px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}

.file-chip-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 9px;
  background: var(--blue-soft);
  color: var(--blue);
}

.file-chip-body {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 1px;
}

.file-chip-body strong {
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-chip-body small {
  color: var(--muted);
  font-size: 11px;
}

.file-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 15px 0;
}

.check-row {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-2);
  font-size: 12px;
  cursor: pointer;
}

.check-row input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--primary);
}

.progress {
  position: relative;
  margin-top: 14px;
  padding-bottom: 19px;
}

.progress-track,
.progress {
  border-radius: 999px;
}

.progress::before {
  content: "";
  display: block;
  height: 6px;
  border-radius: 999px;
  background: var(--surface);
  overflow: hidden;
}

.progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 6px;
  width: 0;
  border-radius: 999px;
  background: var(--primary);
  transition: width 0.25s ease;
}

.progress-label {
  position: absolute;
  left: 0;
  bottom: 0;
  color: var(--muted);
  font-size: 11px;
}

.result-block {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.result-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  color: var(--muted);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.result-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.result-textarea {
  display: block;
  width: 100%;
  min-height: 300px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fbfbfd;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.65;
  resize: vertical;
  outline: 0;
}

.result-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.1);
}

.result-note {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.result-note svg {
  margin-top: 1px;
  flex: none;
}

.image-preview-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #fff;
}

.image-preview-card img {
  width: 74px;
  height: 74px;
  flex: none;
  border-radius: 8px;
  background: var(--surface);
  object-fit: cover;
}

.image-preview-meta {
  min-width: 0;
  flex: 1;
  display: grid;
  gap: 2px;
}

.image-preview-meta strong {
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.image-preview-meta small {
  color: var(--muted);
  font-size: 11px;
}

/* ---- Wide structured tools ---------------------------------------------- */

.checklist-grid,
.action-grid,
.alt-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
}

.workspace-wide .ws-pane {
  padding: 0;
}

.workspace-wide .ws-pane + .ws-pane {
  padding-left: 24px;
  border-left: 1px solid var(--line);
  background: transparent;
}

.workspace-wide .ws-textarea {
  min-height: 280px;
}

.checklist-output-pane .output-shell,
.action-output-pane .output-shell,
.alt-grid .output-shell {
  min-height: 340px;
}

.checklist-output-pane .output-placeholder,
.action-output-pane .output-placeholder,
.alt-grid .output-placeholder {
  min-height: 340px;
}

.checklist-result {
  padding: 0;
}

.checklist-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.progress-track {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: var(--surface);
  overflow: hidden;
}

.progress-track span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--green);
  transition: width 0.25s ease;
}

.progress-copy {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.checklist {
  display: grid;
  gap: 2px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 7px 6px;
  border-radius: 8px;
  transition: background 0.12s ease;
}

.check-item:hover {
  background: var(--surface);
}

.check-item input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  flex: none;
  accent-color: var(--green);
  cursor: pointer;
}

.check-item-body {
  min-width: 0;
  flex: 1;
}

.check-item-text {
  display: block;
  color: var(--ink);
  font-size: 12.5px;
  line-height: 1.55;
  overflow-wrap: anywhere;
  outline: 0;
  border-radius: 3px;
}

.check-item-text:focus {
  box-shadow: 0 0 0 2px var(--primary-line);
}

.check-item.is-done .check-item-text {
  color: #98a2b3;
  text-decoration: line-through;
}

.check-owner {
  display: inline-block;
  margin-top: 2px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 10px;
}

.check-remove {
  opacity: 0;
  width: 24px;
  height: 24px;
  flex: none;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--muted);
}

.check-item:hover .check-remove,
.check-remove:focus-visible {
  opacity: 1;
}

.check-remove:hover {
  background: var(--red-soft);
  color: var(--red);
}

.checklist-add {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.checklist-add input {
  flex: 1;
  min-width: 0;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 12.5px;
  outline: 0;
}

.checklist-add input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.1);
}

.action-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.action-table {
  width: 100%;
  min-width: 430px;
  border-collapse: collapse;
  font-size: 12px;
}

.action-table th {
  padding: 8px 9px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-align: left;
  text-transform: uppercase;
}

.action-table td {
  padding: 7px 8px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.action-table tr:last-child td {
  border-bottom: 0;
}

.action-table td input {
  width: 100%;
  min-width: 54px;
  padding: 4px 3px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  font-size: 11.5px;
  line-height: 1.45;
  outline: 0;
}

.action-table td input:hover {
  border-color: var(--line);
}

.action-table td input:focus {
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 2px rgba(99, 91, 255, 0.1);
}

.action-table .task-cell input {
  font-weight: 500;
}

.action-table .due-cell input {
  color: var(--muted-2);
}

.action-table .owner-cell input {
  color: var(--muted-2);
}

.action-table .owner-cell input.is-unassigned {
  color: #98a2b3;
  font-style: italic;
}

.row-remove {
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 5px;
  background: none;
  color: #b8c0cc;
  opacity: 0;
}

.action-table tr:hover .row-remove {
  opacity: 1;
}

.row-remove:hover {
  background: var(--red-soft);
  color: var(--red);
}

.decision-block {
  margin-top: 12px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.decision-block h4 {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 650;
}

.decision-block h4 svg {
  color: var(--green);
}

.decision-block ul {
  display: grid;
  gap: 4px;
  margin-top: 7px;
}

.decision-block li {
  position: relative;
  padding-left: 11px;
  color: var(--muted-2);
  font-size: 11.5px;
  line-height: 1.5;
}

.decision-block li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
}

.action-add {
  margin-top: 9px;
}

.action-hint {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.5;
}

.action-hint svg {
  margin-top: 1px;
  flex: none;
}

/* ---- Resume / alt ------------------------------------------------------- */

.output-stack {
  display: grid;
  gap: 10px;
}

.resume-card,
.alt-card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.resume-card-head,
.alt-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.resume-card-head span,
.alt-card-head span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.resume-card p,
.alt-card p {
  color: var(--ink);
  font-size: 12.5px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.resume-card .original {
  margin-bottom: 9px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 11.5px;
}

.alt-preview {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
}

.alt-preview img {
  max-height: 190px;
  border-radius: 7px;
  object-fit: contain;
}

.alt-preview .icon-btn {
  position: absolute;
  top: 7px;
  right: 7px;
  background: #fff;
  border-color: var(--line);
}

.alt-result {
  display: grid;
  gap: 9px;
}

.alt-card p {
  font-size: 12.5px;
}

.alt-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 7px;
}

.alt-count {
  color: var(--muted);
  font-size: 10px;
}

.field {
  display: grid;
  gap: 6px;
  margin-top: 14px;
}

.field > label {
  color: var(--muted-2);
  font-size: 12px;
  font-weight: 600;
}

.field input,
.field textarea {
  width: 100%;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  font-size: 12.5px;
  line-height: 1.55;
  outline: 0;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.1);
}

.field-help {
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.45;
}

.optional {
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   Tool page content
   -------------------------------------------------------------------------- */

.tool-content {
  max-width: 780px;
  margin-top: 52px;
}

.content-block {
  margin-bottom: 46px;
}

.content-block > h2 {
  margin-bottom: 14px;
  font-size: 24px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.content-block > p {
  margin-bottom: 12px;
  color: var(--muted-2);
  font-size: 14.5px;
  line-height: 1.75;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface-2);
}

.feature-item {
  display: flex;
  gap: 11px;
}

.feature-item > span {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  margin-top: 1px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-ink);
}

.feature-item h3 {
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.feature-item p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.how-list {
  display: grid;
  gap: 18px;
  margin-top: 6px;
}

.how-list li {
  display: flex;
  gap: 13px;
}

.step-num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border: 1px solid var(--primary-line);
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary-ink);
  font-size: 11px;
  font-weight: 650;
}

.how-list h3 {
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.how-list p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.example-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.example-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 15px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.example-label {
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 600;
}

.example-tag {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.example-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.example-col {
  padding: 16px;
}

.example-col + .example-col {
  border-left: 1px solid var(--line);
}

.example-col.after {
  background: #fbfaff;
}

.example-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.example-col p {
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.65;
}

.example-mono {
  white-space: pre-wrap;
  font-family: var(--mono);
  font-size: 11.5px !important;
  color: var(--ink) !important;
}

.tool-content .faq-section {
  margin-bottom: 46px;
  padding: 0;
}

.tool-content .faq-section .section-head {
  margin-bottom: 12px;
}

.tool-content .faq-section .section-title {
  font-size: 24px;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 2px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary svg {
  flex: none;
  color: var(--muted);
  transition: transform 0.18s ease;
}

.faq-item[open] summary svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 26px 17px 2px;
}

.faq-answer p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.related-guides-block {
  margin-bottom: 0;
}

.guide-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.guide-mini {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.guide-mini:hover {
  border-color: var(--primary-line);
  box-shadow: var(--shadow-sm);
}

.guide-mini-cat {
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.guide-mini strong {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.guide-mini-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  color: var(--primary-ink);
  font-size: 11px;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

.pricing-section {
  padding-top: 0;
  margin-top: -44px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
}

.compare-table .free-col {
  background: #f9fafb;
}

.compare-table thead .free-col {
  color: var(--ink-soft);
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.price-card-pro {
  border-color: #c7c2ff;
  box-shadow: 0 16px 40px -18px rgba(99, 91, 255, 0.45), 0 2px 6px -2px rgba(23, 32, 51, 0.06);
}

.price-badge {
  position: absolute;
  top: -11px;
  left: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 2px 6px rgba(99, 91, 255, 0.35);
}

.price-head h2 {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.price-head p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin: 24px 0 18px;
}

.price-currency {
  color: var(--muted-2);
  font-size: 20px;
  font-weight: 600;
}

.price-value {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.price-period {
  margin-left: 3px;
  color: var(--muted);
  font-size: 12.5px;
}

.price-billing-note {
  margin: -10px 0 14px;
  color: var(--muted);
  font-size: 11px;
}

.price-features {
  display: grid;
  gap: 9px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.5;
}

.price-features li svg {
  margin-top: 2px;
  flex: none;
  color: var(--green);
}

.soon {
  margin-left: 4px;
  padding: 1px 5px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  font-size: 9px;
  font-weight: 500;
  vertical-align: 1px;
}

.price-fine {
  margin-top: 18px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.5;
}

.pricing-disclaimer {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  max-width: 620px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  text-align: center;
}

.compare-section {
  padding-top: 32px;
}

.compare-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.compare-table th,
.compare-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.compare-table thead th {
  background: var(--surface);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.compare-table tbody th {
  color: var(--ink);
  font-weight: 500;
}

.compare-table td {
  color: var(--muted-2);
}

.compare-table .pro-col {
  background: #fbfaff;
}

.compare-table-4 {
  min-width: 620px;
}

.compare-table thead .pro-col {
  color: var(--primary-ink);
}

.compare-table tr:last-child th,
.compare-table tr:last-child td {
  border-bottom: 0;
}

.section-surface {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.runs-explainer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.runs-explainer h2 {
  margin-bottom: 12px;
}

.runs-explainer p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.run-examples {
  display: grid;
  gap: 8px;
}

.run-example {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}

.run-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary-ink);
}

.run-example div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex: 1;
}

.run-example strong {
  font-size: 12.5px;
  font-weight: 600;
}

.run-example div span:last-child {
  color: var(--muted);
  font-size: 11.5px;
}

/* --------------------------------------------------------------------------
   About / legal
   -------------------------------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 318px;
  gap: 56px;
  align-items: start;
}

.about-copy {
  max-width: 760px;
}

.about-copy h2 {
  margin: 36px 0 12px;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.03em;
}

.about-copy h2:first-child {
  margin-top: 0;
}

.about-copy p {
  margin-bottom: 12px;
  color: var(--muted-2);
  font-size: 14.5px;
  line-height: 1.75;
}

.belief-list {
  display: grid;
  gap: 16px;
  margin: 20px 0 8px;
}

.belief {
  display: flex;
  gap: 12px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
}

.belief > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: none;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--primary-ink);
}

.belief h3 {
  font-size: 13.5px;
  font-weight: 650;
}

.belief p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.about-aside {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 14px;
}

.fact-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.fact-list li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

.fact-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.fact-list strong {
  color: var(--ink);
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.legal-layout {
  display: grid;
  grid-template-columns: 210px minmax(0, 780px);
  gap: 56px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 2px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
}

.legal-toc-title {
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.legal-toc a {
  padding: 4px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.legal-toc a:hover {
  color: var(--primary-ink);
}

.legal-copy h2 {
  margin: 38px 0 12px;
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -0.03em;
  scroll-margin-top: 90px;
}

.legal-copy h2:first-child {
  margin-top: 0;
}

.legal-copy p {
  margin-bottom: 13px;
  color: var(--muted-2);
  font-size: 14px;
  line-height: 1.75;
}

.legal-copy ul {
  display: grid;
  gap: 7px;
  margin: 4px 0 16px;
  padding-left: 18px;
  list-style: disc;
}

.legal-copy li {
  color: var(--muted-2);
  font-size: 14px;
  line-height: 1.65;
}

.legal-copy a {
  color: var(--primary-ink);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0 26px;
}

.privacy-summary > div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface-2);
}

.privacy-summary > div > span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-bottom: 8px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-ink);
}

.privacy-summary strong {
  display: block;
  font-size: 12.5px;
  font-weight: 650;
}

.privacy-summary p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.55;
}

.not-found {
  padding: 120px 0 100px;
  border-bottom: 0;
}

.not-found-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12.5px;
}

.not-found-links a:hover {
  color: var(--primary-ink);
}

/* --------------------------------------------------------------------------
   Blog
   -------------------------------------------------------------------------- */

.blog-featured {
  padding-top: 48px;
  padding-bottom: 0;
}

.featured-guide {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 32px;
  align-items: stretch;
  overflow: hidden;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(80% 140% at 100% 0%, rgba(240, 237, 255, 0.9) 0%, rgba(255, 255, 255, 0) 60%),
    #fff;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.featured-guide:hover {
  border-color: var(--primary-line);
  box-shadow: var(--shadow-md);
}

.featured-guide-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.guide-cat {
  display: inline-flex;
  align-items: center;
  color: var(--primary-ink);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.featured-guide h2 {
  margin-top: 9px;
  max-width: 620px;
  font-size: 30px;
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.featured-guide p {
  max-width: 540px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.guide-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 11px;
}

.featured-guide .link-arrow {
  margin-top: 20px;
}

.featured-guide-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.66);
}

.fg-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 6px;
  border-radius: 14px;
  background: var(--primary-soft);
  color: var(--primary-ink);
}

.fg-line {
  display: block;
  height: 7px;
  width: 100%;
  border-radius: 4px;
  background: #eae7ff;
}

.fg-line.short {
  width: 76%;
}

.fg-line.shorter {
  width: 54%;
}

.blog-list-section {
  padding-top: 30px;
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.guide-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-card {
  display: flex;
  flex-direction: column;
  min-height: 208px;
  padding: 21px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.guide-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-line);
  box-shadow: var(--shadow-sm);
}

.guide-card h3 {
  margin: 8px 0 7px;
  font-size: 16px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.guide-card p {
  flex: 1;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.55;
}

.guide-card .guide-meta {
  margin-top: 16px;
}

.guide-card.compact {
  min-height: 150px;
}

.guide-card.compact h3 {
  font-size: 14.5px;
}

/* Article */

.article-shell {
  max-width: 1080px;
}

.article-header {
  max-width: 800px;
  margin-top: 28px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.article-header h1 {
  margin-top: 10px;
  font-size: clamp(34px, 4.5vw, 48px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.article-lede {
  max-width: 700px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.65;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 11.5px;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 800px) 220px;
  gap: 56px;
  align-items: start;
  margin-top: 36px;
}

.article-body {
  min-width: 0;
}

.article-tool-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--surface-2);
}

.article-tool-card > div {
  min-width: 0;
  flex: 1;
}

.article-tool-card h3 {
  margin-top: 2px;
  font-size: 14px;
  font-weight: 650;
}

.article-tool-card p {
  margin-top: 1px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.45;
}

.article-tool-card .btn {
  flex: none;
}

.prose {
  color: var(--muted-2);
  font-size: 15.5px;
  line-height: 1.8;
}

.prose > * + * {
  margin-top: 16px;
}

.prose h2 {
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 26px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.03em;
  scroll-margin-top: 90px;
}

.prose h3 {
  margin-top: 28px;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.prose p {
  margin: 0;
}

.prose a {
  color: var(--primary-ink);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: #c7c2ff;
  text-underline-offset: 3px;
}

.prose a:hover {
  text-decoration-color: var(--primary);
}

.prose ul,
.prose ol {
  display: grid;
  gap: 7px;
  padding-left: 22px;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  padding-left: 2px;
}

.prose li::marker {
  color: #98a2b3;
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

.prose blockquote {
  margin: 24px 0;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--primary-line);
  color: var(--ink-soft);
  font-size: 15px;
}

.prose blockquote p + p {
  margin-top: 10px;
}

.prose code {
  padding: 2px 5px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.86em;
}

.prose pre {
  overflow-x: auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #172033;
  color: #e4e7ec;
}

.prose pre code {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: 12px;
  line-height: 1.6;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.prose th,
.prose td {
  padding: 9px 11px;
  border: 1px solid var(--line);
  text-align: left;
}

.prose th {
  background: var(--surface);
  color: var(--ink);
  font-weight: 600;
}

.prose hr {
  margin: 28px 0;
}

.article-aside {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 14px;
}

.toc-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
}

.toc-title {
  margin-bottom: 7px;
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.toc-card a {
  display: block;
  padding: 4px 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.45;
}

.toc-card a:hover {
  color: var(--primary-ink);
}

.toc-level-3 {
  padding-left: 10px !important;
  font-size: 11px !important;
}

.author-box {
  display: flex;
  gap: 12px;
  margin-top: 38px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-2);
}

.author-avatar {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-ink);
  font-size: 14px;
  font-weight: 700;
}

.author-box strong {
  font-size: 12.5px;
  font-weight: 650;
}

.author-box p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.article-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.related-guides {
  padding-bottom: 20px;
}

/* --------------------------------------------------------------------------
   Modal / toast / misc
   -------------------------------------------------------------------------- */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(23, 32, 51, 0.46);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.modal {
  position: relative;
  width: 100%;
  max-width: 430px;
  padding: 30px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 32px 64px -20px rgba(23, 32, 51, 0.4);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
}

.modal-close:hover {
  background: var(--surface);
  color: var(--ink);
}

.modal-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary-ink);
}

.modal h2 {
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.modal > p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.waitlist-form {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.waitlist-form input {
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  font-size: 14px;
  outline: 0;
}

.waitlist-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99, 91, 255, 0.12);
}

.form-status {
  min-height: 18px;
  margin-top: 8px;
  color: var(--green-ink);
  font-size: 12px;
}

.form-status.is-error {
  color: var(--red);
}

.modal-fine {
  margin-top: 10px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast.is-error {
  background: #912018;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1080px) {
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-grid {
    gap: 48px;
  }

  .privacy-panel {
    gap: 32px;
    padding: 36px;
  }

  .flow-row {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .flow-tag {
    grid-column: 2;
    justify-self: start;
  }

  .tool-layout {
    grid-template-columns: minmax(0, 1fr) 292px;
    gap: 28px;
  }

  .tool-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-layout {
    grid-template-columns: minmax(0, 1fr) 200px;
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .main-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 10px 24px 16px;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow-md);
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-link {
    height: 42px;
    padding: 0 12px;
    font-size: 14px;
  }

  .nav-link.is-active::after {
    display: none;
  }

  .nav-link.is-active {
    background: var(--surface);
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .hero h1 {
    font-size: clamp(44px, 8vw, 62px);
  }

  .hero {
    padding-top: 70px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .why-list {
    max-width: 720px;
  }

  .privacy-panel {
    grid-template-columns: 1fr;
  }

  .privacy-panel h2 {
    font-size: 28px;
  }

  .tool-layout {
    grid-template-columns: 1fr;
  }

  .tool-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 10px;
  }

  .tool-sidebar .quota-card {
    grid-column: auto;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .legal-toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    padding: 13px;
  }

  .legal-toc-title {
    width: 100%;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .runs-explainer {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .featured-guide {
    grid-template-columns: 1fr;
  }

  .featured-guide-side {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: repeat(4, 1fr);
    gap: 8px 16px;
    align-items: center;
  }

  .fg-icon {
    grid-row: 1 / span 4;
    margin: 0;
  }

  .footer-grid {
    grid-template-columns: 1.6fr repeat(2, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .shell {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .header-inner {
    height: 62px;
  }

  .main-nav {
    top: 62px;
  }

  .brand-word {
    font-size: 18px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding: 54px 0 48px;
  }

  .hero h1 {
    margin-top: 20px;
    font-size: clamp(40px, 11vw, 52px);
    letter-spacing: -0.045em;
  }

  .hero br {
    display: none;
  }

  .hero-sub {
    margin-top: 18px;
    font-size: 15.5px;
  }

  .hero-search-wrap {
    margin-top: 26px;
  }

  .hero-search {
    height: 54px;
    padding-left: 15px;
  }

  .search-kbd {
    display: none;
  }

  .hero-tasks {
    justify-content: flex-start;
    gap: 7px;
    margin-top: 15px;
  }

  .hero-tasks-label {
    width: 100%;
    margin-bottom: 2px;
    text-align: left;
  }

  .hero-trust {
    justify-content: flex-start;
    gap: 6px 16px;
    margin-top: 20px;
  }

  .section-head {
    display: block;
    margin-bottom: 24px;
  }

  .section-action {
    margin-top: 14px;
  }

  .section-title {
    font-size: 29px;
  }

  .featured-grid,
  .category-grid,
  .tool-grid,
  .guide-grid,
  .guide-grid.three {
    grid-template-columns: 1fr;
  }

  .tool-card {
    min-height: 0;
  }

  .why-list {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .privacy-panel {
    padding: 26px;
    border-radius: 16px;
  }

  .privacy-panel h2 {
    font-size: 25px;
  }

  .flow-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .flow-tag {
    grid-column: auto;
  }

  .cta-panel,
  .cta-compact {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 28px;
    border-radius: 16px;
  }

  .cta-panel h2,
  .cta-compact h2 {
    font-size: 26px;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    flex: 1;
  }

  .page-hero {
    padding: 44px 0 30px;
  }

  .page-hero h1 {
    font-size: 36px;
  }

  .page-lede {
    font-size: 15.5px;
  }

  .pricing-hero {
    padding-bottom: 54px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-section {
    margin-top: -24px;
  }

  .blog-featured {
    padding-top: 32px;
  }

  .featured-guide h2 {
    font-size: 26px;
  }

  .compare-table th,
  .compare-table td {
    padding: 11px 12px;
    white-space: nowrap;
  }

  .tool-hero {
    gap: 13px;
  }

  .tool-hero-icon {
    width: 48px;
    height: 48px;
  }

  .tool-hero h1 {
    font-size: 34px;
  }

  .tool-tagline {
    font-size: 15px;
  }

  .workspace {
    grid-template-columns: 1fr;
  }

  .ws-pane {
    padding: 18px;
  }

  .ws-pane + .ws-pane {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .workspace-file,
  .workspace-wide {
    padding: 18px;
  }

  .workspace-wide .ws-pane + .ws-pane {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 18px;
    margin-top: 6px;
  }

  .checklist-grid,
  .action-grid,
  .alt-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .output-shell,
  .output-shell.tall,
  .output-placeholder,
  .output-shell.tall .output-placeholder,
  .checklist-output-pane .output-shell,
  .checklist-output-pane .output-placeholder,
  .action-output-pane .output-shell,
  .action-output-pane .output-placeholder,
  .alt-grid .output-shell,
  .alt-grid .output-placeholder {
    min-height: 220px;
  }

  .tool-sidebar {
    grid-template-columns: 1fr;
  }

  .tool-note-row {
    gap: 7px 15px;
  }

  .tool-content {
    margin-top: 38px;
  }

  .content-block {
    margin-bottom: 38px;
  }

  .example-body {
    grid-template-columns: 1fr;
  }

  .example-col + .example-col {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .guide-mini-grid {
    grid-template-columns: 1fr;
  }

  .article-header h1 {
    font-size: 34px;
  }

  .prose {
    font-size: 15px;
  }

  .article-aside {
    grid-template-columns: 1fr;
  }

  .article-tool-card {
    flex-wrap: wrap;
  }

  .article-tool-card .btn {
    width: 100%;
  }

  .about-aside {
    grid-template-columns: 1fr;
  }

  .privacy-summary {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 24px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .toast {
    left: 20px;
    right: 20px;
    bottom: 18px;
    transform: translate(0, 12px);
  }

  .toast.is-visible {
    transform: translate(0, 0);
  }

  .modal {
    padding: 24px;
  }

  /* Action items become stacked cards instead of a scrolling table. */
  .action-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .action-table {
    display: block;
    min-width: 0;
  }

  .action-table thead {
    display: none;
  }

  .action-table tbody,
  .action-table tr,
  .action-table td {
    display: block;
    width: 100%;
  }

  .action-table tr {
    position: relative;
    margin-bottom: 8px;
    padding: 10px 32px 9px 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
  }

  .action-table td {
    border: 0;
    padding: 2px 0;
  }

  .action-table .task-cell input {
    font-size: 12.5px;
    font-weight: 600;
  }

  .action-table .owner-cell,
  .action-table .due-cell {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: 50%;
  }

  .action-table .owner-cell::before,
  .action-table .due-cell::before {
    color: var(--muted);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .action-table .owner-cell::before {
    content: "Owner";
  }

  .action-table .due-cell::before {
    content: "Due";
  }

  .action-table .owner-cell input,
  .action-table .due-cell input {
    width: auto;
    flex: 1;
    min-width: 0;
  }

  .action-table td:last-child {
    padding: 0;
  }

  .action-table .row-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    opacity: 1;
  }
}

@media (max-width: 420px) {
  .hero h1 {
    font-size: 38px;
  }

  .hero-badge {
    font-size: 11px;
  }

  .hero-badge span {
    white-space: normal;
    text-align: left;
  }

  .tool-hero h1 {
    font-size: 30px;
  }

  .section-title {
    font-size: 26px;
  }

  .filter-row {
    justify-content: flex-start;
  }

  .filter-chip {
    height: 32px;
    padding: 0 11px;
    font-size: 12px;
  }

  .price-value {
    font-size: 42px;
  }
}

@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 (max-width: 720px) {
  .check-remove {
    opacity: 1;
  }
}

