.btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .72rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
  color: inherit;
  box-shadow: var(--shadow);
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--teal));
}

.btn--primary:hover {
  color: #fff;
}

.btn--secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line-strong);
}

.btn--sm {
  min-height: 40px;
  padding: .55rem .8rem;
  font-size: .92rem;
}

.btn--lg {
  min-height: 50px;
  padding: .9rem 1.15rem;
}

.btn--full {
  width: 100%;
}

.tool-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.tool-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4);
  min-height: 172px;
  padding: var(--space-5);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.tool-card:hover {
  transform: translateY(-3px);
  color: var(--ink);
  border-color: color-mix(in srgb, var(--tool-color) 38%, var(--line));
  box-shadow: var(--shadow);
}

.tool-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--tool-color);
  background: color-mix(in srgb, var(--tool-color) 12%, #fff);
  border-radius: var(--radius);
}

.tool-card__icon svg {
  width: 25px;
  height: 25px;
}

.tool-card__body,
.tool-card__name,
.tool-card__desc {
  display: block;
}

.tool-card__name {
  margin-bottom: .35rem;
  color: var(--ink);
  font-weight: 850;
}

.tool-card__desc {
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.45;
}

.tool-card__action {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  align-self: end;
  color: var(--primary);
  font-size: .9rem;
  font-weight: 800;
}

.tool-card__action svg {
  width: 16px;
  height: 16px;
}

.category-card {
  padding: var(--space-5);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .98)),
    linear-gradient(135deg, color-mix(in srgb, var(--category-color) 18%, #fff), #fff);
  border: 1px solid var(--line);
  border-top: 4px solid var(--category-color);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.category-card h3 {
  font-size: 1.08rem;
}

.category-card p {
  min-height: 76px;
  margin-bottom: var(--space-4);
}

.category-card a {
  font-weight: 800;
}

.home-link-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-3);
}

.home-tool-link {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-3);
  min-height: 86px;
  align-items: center;
  padding: var(--space-4);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.home-tool-link:hover {
  transform: translateY(-2px);
  color: var(--ink);
  border-color: color-mix(in srgb, var(--tool-color) 36%, var(--line));
  box-shadow: var(--shadow);
}

.home-tool-link__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--tool-color);
  background: color-mix(in srgb, var(--tool-color) 12%, #fff);
  border-radius: var(--radius);
}

.home-tool-link__icon svg {
  width: 22px;
  height: 22px;
}

.home-tool-link strong,
.home-tool-link small {
  display: block;
}

.home-tool-link strong {
  margin-bottom: .2rem;
}

.home-tool-link small {
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.35;
}

.benefit-grid article,
.step-timeline article,
.tutorial-card,
.trust-stack article {
  padding: var(--space-5);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.benefit-grid article h3,
.step-timeline article h3,
.tutorial-card h3,
.trust-stack article h3 {
  font-size: 1.1rem;
}

.step-timeline article p,
.tutorial-card p,
.trust-stack article p {
  margin-bottom: 0;
}

.step-timeline article {
  position: relative;
}

.step-timeline article span {
  display: inline-flex;
  margin-bottom: var(--space-4);
  color: var(--primary);
  font-size: .82rem;
  font-weight: 900;
}

.comparison-table {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.comparison-table__row {
  display: grid;
  gap: var(--space-2);
  padding: var(--space-4);
  border-bottom: 1px solid var(--line);
}

.comparison-table__row:last-child {
  border-bottom: 0;
}

.comparison-table__head {
  display: none;
}

.comparison-table__row span:first-child {
  color: var(--ink);
  font-weight: 850;
}

.comparison-table__row span:last-child {
  color: var(--muted);
}

.tutorial-card {
  display: grid;
  align-content: start;
}

.tutorial-card__thumb {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  margin-bottom: var(--space-4);
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  border-radius: var(--radius);
  font-weight: 900;
}

.tutorial-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.tutorial-card__links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  font-weight: 850;
}

.content-split a:not(.btn),
.section-heading a:not(.btn),
.trust-stack a:not(.btn),
.benefit-grid p a:not(.btn),
.contact-email,
.legal-content p a:not(.btn),
.legal-card p a:not(.btn) {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.accordion {
  display: grid;
  gap: var(--space-3);
}

.accordion__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.accordion__item h3 {
  margin: 0;
}

.accordion__trigger {
  display: flex;
  width: 100%;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-4);
  color: var(--ink);
  background: transparent;
  border: 0;
  text-align: left;
  font-weight: 850;
}

.accordion__trigger svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  transition: transform .18s var(--ease);
}

.accordion__item.is-open .accordion__trigger svg {
  transform: rotate(180deg);
}

.accordion__body {
  padding: 0 var(--space-4) var(--space-4);
  color: var(--muted);
}

.breadcrumbs {
  padding: .7rem 0;
  background: rgba(255, 255, 255, .74);
  border-bottom: 1px solid var(--line);
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  font-size: .9rem;
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}

.breadcrumbs a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.breadcrumbs svg {
  width: 16px;
  height: 16px;
  color: var(--subtle);
}

.cta-band {
  background:
    radial-gradient(circle at 85% 20%, rgba(6, 182, 212, .22), transparent 28%),
    linear-gradient(135deg, #111827, #1e1b4b 64%, #0f766e);
}

.cta-band__inner {
  display: grid;
  gap: var(--space-6);
  align-items: center;
}

.cta-band h2,
.cta-band p {
  color: #fff;
}

.cta-band p {
  opacity: .78;
  margin-bottom: 0;
}

.cta-band .eyebrow {
  color: #7dd3fc;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

.cookie-banner {
  position: fixed;
  right: 16px;
  bottom: 80px;
  z-index: 700;
  width: min(calc(100% - 32px), 520px);
}

.cookie-banner__inner {
  display: grid;
  gap: var(--space-4);
  padding: var(--space-4);
  color: #fff;
  background: rgba(15, 23, 42, .96);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cookie-banner p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
}

.cookie-banner a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #7dd3fc;
}

.cookie-banner .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, .32);
}

.cookie-banner .btn--ghost:hover {
  color: #fff;
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-3);
}

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 86px;
  z-index: 610;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top svg {
  width: 22px;
  height: 22px;
}

.mobile-sticky-cta {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 600;
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--teal));
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-weight: 850;
}

.mobile-sticky-cta:hover {
  color: #fff;
}

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

  .home-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .cookie-banner {
    bottom: 16px;
  }
}

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

  .cta-band__inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .comparison-table__row {
    grid-template-columns: .42fr 1fr;
    gap: var(--space-5);
  }

  .comparison-table__head {
    display: grid;
    background: var(--surface-soft);
    color: var(--ink);
    font-weight: 900;
  }

  .comparison-table__head span:last-child {
    color: var(--ink);
  }
}

@media (min-width: 768px) {
  .mobile-sticky-cta {
    display: none;
  }
}
