.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 1000;
  padding: 0.7rem 0.9rem;
  color: #ffffff;
  background: #050505;
  border-radius: 8px;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.marketing-page {
  background: #ffffff;
}

.marketing-page a:focus-visible,
.marketing-page button:focus-visible,
.marketing-page input:focus-visible,
.marketing-page select:focus-visible,
.marketing-page textarea:focus-visible {
  outline: 3px solid #7f1717;
  outline-offset: 3px;
}

.marketing-hero {
  border-right: 1px solid #111111;
  border-left: 1px solid #111111;
  padding: clamp(4rem, 8vw, 7rem) clamp(1.2rem, 4vw, 3rem);
  text-align: center;
  background:
    radial-gradient(circle at 15% 15%, rgba(127, 23, 23, 0.08), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
}

.marketing-hero h1 {
  max-width: 980px;
  margin: 0 auto;
  color: #050505;
  font-size: clamp(2.2rem, 4.55vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
}

.marketing-hero p {
  max-width: 760px;
  margin: 1.25rem auto 0;
  color: #444444;
  font-size: clamp(1.05rem, 1.9vw, 1.3rem);
  line-height: 1.55;
}

.marketing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.aislewise-homepage > .marketing-hero {
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

.aislewise-homepage > .aislewise-product-frame {
  padding-top: clamp(8px, 1.25vw, 17px) !important;
}

.marketing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid #111111;
  border-radius: 999px;
  padding: 0.82rem 1.1rem;
  color: #111111;
  font-weight: 850;
  text-decoration: none;
}

.marketing-button.primary {
  color: #ffffff;
  background: #050505;
}

.marketing-button.secondary {
  background: #ffffff;
}

.marketing-section {
  border-right: 1px solid #111111;
  border-left: 1px solid #111111;
  border-top: 1px solid #111111;
  padding: clamp(2.4rem, 5vw, 4.5rem) clamp(1.2rem, 4vw, 3rem);
}

.marketing-section.tight {
  padding-top: clamp(1.8rem, 4vw, 3rem);
}

.marketing-section-heading {
  max-width: 880px;
  margin: 0 0 1.6rem;
}

.marketing-section-heading h2 {
  margin: 0;
  color: #050505;
  font-size: clamp(1.9rem, 3.9vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.marketing-section-heading p {
  max-width: 760px;
  margin: 0.8rem 0 0;
  color: #555555;
  line-height: 1.58;
}

.marketing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

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

.marketing-card {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  min-height: 210px;
  border: 1px solid #d8d8d8;
  border-radius: 18px;
  padding: clamp(1.1rem, 2vw, 1.6rem);
  background:
    radial-gradient(circle at 92% 12%, rgba(127, 23, 23, 0.055), transparent 9rem),
    #ffffff;
}

.marketing-card span,
.marketing-footer span,
.blog-topic {
  color: #666666;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.marketing-card h3,
.marketing-card strong {
  margin: 0;
  color: #050505;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.1;
}

.marketing-card p,
.marketing-card li {
  margin: 0;
  color: #4f4f4f;
  line-height: 1.55;
}

.marketing-card ul,
.comparison-list,
.plain-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.comparison-table {
  display: grid;
  gap: 0.8rem;
}

.comparison-row {
  display: grid;
  grid-template-columns: 0.8fr 1fr 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid #d8d8d8;
  border-radius: 14px;
  background: #d8d8d8;
}

.comparison-row > * {
  margin: 0;
  padding: 1rem;
  background: #ffffff;
}

.comparison-row strong {
  color: #050505;
}

.comparison-row span {
  color: #4d4d4d;
  line-height: 1.5;
}

.marketing-footer {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, minmax(120px, 1fr));
  gap: 1.5rem;
  border: 1px solid #111111;
  padding: clamp(1.6rem, 4vw, 3rem);
  background: #050505;
  color: #ffffff;
}

.marketing-footer a {
  color: #ffffff;
  text-decoration: none;
}

.marketing-footer a:hover {
  text-decoration: underline;
}

.marketing-footer p {
  max-width: 360px;
  margin: 0.65rem 0 0;
  color: #d7d7d7;
  line-height: 1.55;
}

.marketing-footer nav {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.marketing-footer span {
  color: #bfbfbf;
}

.blog-filter-buttons button[aria-pressed="true"],
.blog-filter-buttons button.is-active {
  color: #ffffff;
  background: #050505;
}

.blog-card[hidden] {
  display: none;
}

.article-shell {
  max-width: 880px;
  margin: 0 auto;
}

.example-page .example-hero {
  padding-bottom: clamp(2.2rem, 5vw, 4.8rem);
}

.example-detail-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding-top: clamp(1.8rem, 4vw, 3.4rem);
}

.example-detail-card {
  display: grid;
  gap: 0.75rem;
  border: 1px solid #111111;
  border-radius: 8px;
  background: #ffffff;
  padding: clamp(1.1rem, 2vw, 1.5rem);
}

.example-detail-card span {
  color: #666666;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.example-detail-card h2 {
  margin: 0;
  color: #050505;
  font-size: clamp(1.35rem, 2.6vw, 2.2rem);
  line-height: 1.05;
}

.example-detail-card p,
.example-detail-card li {
  color: #444444;
  font-size: 0.95rem;
  line-height: 1.55;
}

.example-detail-card ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.1rem;
}

.example-detail-card.muted {
  background: #f7f7f7;
}

.example-detail-card.muted p {
  margin: 0;
}

.article-shell article {
  display: grid;
  gap: 0.85rem;
}

.article-shell h1 {
  margin: 0;
  color: #050505;
  font-size: clamp(2rem, 4.5vw, 4rem);
  line-height: 1.05;
}

.article-shell h2 {
  margin: 1rem 0 0;
  color: #050505;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.article-shell article > p,
.article-shell article > ul {
  margin: 0;
}

.article-shell article > ul {
  display: grid;
  gap: 0.45rem;
  padding-left: 1.15rem;
}

.article-shell p,
.article-shell li {
  color: #464646;
  font-size: 1.02rem;
  line-height: 1.62;
}

.article-meta,
.breadcrumb {
  color: #666666;
  font-size: 0.9rem;
}

.breadcrumb a {
  color: #111111;
}

.contact-note {
  border: 1px solid #d8d8d8;
  border-radius: 14px;
  padding: 1rem;
  color: #444444;
  background: #f8f8f8;
}

.tally-embed-card h2 {
  margin: 0.25rem 0 0;
  color: #050505;
  font-size: clamp(1.45rem, 2.8vw, 2.35rem);
  line-height: 1.04;
}

.tally-embed-card p {
  margin: 0.65rem 0 0;
  color: #555555;
  line-height: 1.55;
}

.tally-kicker {
  color: #666666;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tally-form-frame {
  display: block;
  width: 100%;
  min-height: 650px;
  border: 1px solid #d8d8d8;
  border-radius: 18px;
  background: #ffffff;
}

.field-error {
  min-height: 1.1rem;
  color: #7f1717;
  font-size: 0.86rem;
  font-weight: 800;
}

.contact-form input[aria-invalid="true"],
.contact-form select[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] {
  border-color: #7f1717;
}

@media (max-width: 900px) {
  .marketing-grid,
  .marketing-grid.two,
  .comparison-row,
  .example-detail-section,
  .marketing-footer {
    grid-template-columns: 1fr;
  }

  .marketing-hero h1 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marketing-page *,
  .marketing-page *::before,
  .marketing-page *::after {
    scroll-behavior: auto !important;
  }
}
