/* nocodeformbuilders.com - editorial blog, flat (no shadows) */

:root {
  --bg: #fafaf8;
  --surface: #ffffff;
  --border: #d4d4d0;
  --border-light: #e8e8e4;
  --text: #1a1a18;
  --muted: #5c5c58;
  --accent: #1d6b5c;
  --accent-hover: #145247;
  --accent-2: #8b4513;
  --pros-bg: #eef7f4;
  --pros-border: #b8ddd4;
  --pros-fg: #145247;
  --cons-bg: #fdf3f2;
  --cons-border: #e8c4c0;
  --cons-fg: #9b2c2c;
  --content-max: 42rem;
  --font: "DM Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--accent-hover);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: var(--text);
  color: #fff;
  border-radius: 0;
  z-index: 1000;
  text-decoration: none;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 110;
  background: var(--border-light);
  pointer-events: none;
}

.scroll-progress__bar {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent) 0%, #2a9d8f 55%, var(--accent-2) 100%);
  transition: width 0.08s linear;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  background: rgba(250, 250, 248, 0.92);
  backdrop-filter: blur(10px);
}

.header-accent {
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, #2a9d8f 45%, var(--accent-2) 100%);
}

.header-inner {
  max-width: 56rem;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.brand-logo {
  display: block;
  height: 36px;
  width: auto;
  max-width: min(260px, 70vw);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-links a:hover {
  color: var(--accent);
  background: rgba(29, 107, 92, 0.08);
  text-decoration: none;
}

.page-main {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

.hero {
  padding: 2.5rem 0 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.article-kicker {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.875rem, 4.5vw, 2.625rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--text);
}

.article-meta {
  font-size: 0.875rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.article-meta time {
  font-weight: 500;
}

.hero .lede {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}

.toc-inline {
  margin-bottom: 2.5rem;
  padding: 0 0 1.5rem;
  border-bottom: 1px solid var(--border);
}

.toc-inline-title {
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.toc {
  list-style: none;
  padding: 0;
  margin: 0;
}

.toc--editorial {
  counter-reset: toc;
  padding-left: 0;
}

.toc--editorial li {
  counter-increment: toc;
  margin: 0 0 0.35rem;
  padding-left: 1.75rem;
  position: relative;
}

.toc--editorial li::before {
  content: counter(toc) ".";
  position: absolute;
  left: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
}

.toc--editorial a {
  font-size: 0.9375rem;
  color: var(--text);
  text-decoration: none;
}

.toc--editorial a:hover {
  color: var(--accent);
  text-decoration: underline;
}

section {
  margin-bottom: 3rem;
  scroll-margin-top: 5rem;
}

h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  padding: 0;
  border: none;
  color: var(--text);
}

h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1.75rem 0 0.5rem;
  color: var(--text);
}

h4 {
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 1.25rem 0 0.5rem;
  color: var(--muted);
}

p {
  margin: 0 0 1rem;
  color: var(--text);
}

ul,
ol {
  color: var(--text);
  padding-left: 1.35rem;
  margin: 0 0 1rem;
}

li {
  margin-bottom: 0.4rem;
}

.callout {
  margin: 1.5rem 0;
  padding: 0 0 0 1rem;
  border-left: 3px solid var(--accent);
  background: transparent;
}

.callout p:last-child {
  margin-bottom: 0;
}

.callout.disclaimer {
  border-left-color: var(--accent-2);
}

.shortlist {
  counter-reset: item;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  border-top: 1px solid var(--border);
}

.shortlist li {
  counter-increment: item;
  position: relative;
  padding: 1rem 0 1rem 2.5rem;
  margin: 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
  background: transparent;
}

.shortlist li::before {
  content: counter(item);
  position: absolute;
  left: 0;
  top: 1rem;
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.125rem;
  display: block;
  transform: none;
}

.shortlist strong {
  color: var(--text);
  font-weight: 600;
}

.shortlist-jump {
  text-decoration: none;
  color: inherit;
}

.shortlist-jump:hover strong {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.tool-head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.5rem;
}

.tool-logo {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border-light);
  padding: 4px;
}

.tool-head-text {
  flex: 1;
  min-width: 0;
}

.tool-head-text h3 {
  margin-top: 0;
}

.tool-head-text .tool-tag {
  margin-bottom: 0;
}

.hero--compact {
  padding: 2rem 0 1.5rem;
  margin-bottom: 1.5rem;
}

.page-main--legal section h2 {
  font-size: 1.25rem;
}


.table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: transparent;
}

th,
td {
  padding: 0.65rem 0.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
}

th {
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

tr:last-child td,
tr:last-child th {
  border-bottom: none;
}

tbody th {
  color: var(--text);
  text-transform: none;
  font-size: 0.9rem;
  letter-spacing: 0;
  font-family: var(--font-serif);
  font-weight: 600;
}

.tool-card {
  padding: 2.25rem 0;
  margin: 0;
  border: none;
  border-top: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  scroll-margin-top: 5.5rem;
}

#tools > .tool-card:first-of-type {
  border-top: none;
  padding-top: 0.5rem;
}

.tool-card h4 {
  margin: 1rem 0 0.5rem;
}

.tool-card > p:last-of-type,
.tool-card > ul:last-of-type {
  margin-bottom: 0;
}

.tool-head h3 {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
}

.tool-tag {
  display: block;
  font-size: 0.9375rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--muted);
  margin: 0 0 0.75rem;
}

.rating-pill {
  display: inline;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  font-size: 0.875rem;
  color: var(--muted);
}

.rating-pill + .rating-pill::before {
  content: " · ";
}

.research-links {
  display: block;
  margin-top: 1rem;
  padding-top: 0;
  border-top: none;
  font-size: 0.875rem;
  color: var(--muted);
}

.research-label {
  display: block;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.research-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.research-list li {
  margin: 0;
}

.research-list a {
  text-decoration: none;
}

.research-list a:hover {
  text-decoration: underline;
}

.procon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 0;
  border-top: none;
}

.procon-box {
  padding: 1rem 1.1rem;
  border-radius: 8px;
  border: 1px solid transparent;
}

.procon-box--pros {
  background: var(--pros-bg);
  border-color: var(--pros-border);
}

.procon-box--cons {
  background: var(--cons-bg);
  border-color: var(--cons-border);
}

.procon-box h4 {
  margin-top: 0;
  margin-bottom: 0.65rem;
}

.procon-box--pros h4 {
  color: var(--pros-fg);
}

.procon-box--cons h4 {
  color: var(--cons-fg);
}

.procon-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9375rem;
}

.procon-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.procon-list li:last-child {
  margin-bottom: 0;
}

.procon-list--pros li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.05em;
  font-weight: 700;
  color: var(--pros-fg);
  line-height: 1.4;
}

.procon-list--cons li::before {
  content: "✕";
  position: absolute;
  left: 0;
  top: 0.05em;
  font-weight: 700;
  color: var(--cons-fg);
  line-height: 1.4;
}

.methodology-steps {
  padding-left: 1.35rem;
  margin: 0 0 1.25rem;
}

.methodology-steps li {
  margin-bottom: 0.65rem;
}


@media (max-width: 640px) {
  .procon {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .brand-logo {
    height: 30px;
  }
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 2rem 1.25rem 2.25rem;
  margin-top: 2rem;
}

.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.footer-brand {
  display: inline-flex;
  line-height: 0;
  text-decoration: none;
}

.footer-logo {
  display: block;
  height: 32px;
  width: auto;
  max-width: min(240px, 75vw);
}

.footer-util {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.875rem;
}

.footer-util a {
  color: var(--muted);
  text-decoration: none;
}

.footer-util a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-util-sep {
  color: var(--border);
  user-select: none;
}

.footer-sisters {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted);
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.15rem 0.35rem;
}

.footer-sisters-label {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}

.footer-sisters-links {
  display: inline;
  flex: 1 1 auto;
  min-width: 0;
}

.footer-sisters-links a {
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.footer-sisters-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

.footer-sisters-links a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.footer-sisters-sep {
  color: var(--border);
  margin: 0 0.15rem;
  user-select: none;
}

.footer-copy {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

@media (max-width: 480px) {
  .footer-sisters-links {
    overflow-x: auto;
    white-space: nowrap;
    display: block;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.15rem;
  }
}

kbd {
  font-family: ui-monospace, monospace;
  font-size: 0.85em;
  padding: 0.1em 0.35em;
  background: var(--border-light);
  border: none;
}
