:root {
  --ink: #171512;
  --ink-2: #322d27;
  --muted: #6a6257;
  --paper: #fffaf0;
  --paper-2: #f4ead9;
  --white: #ffffff;
  --line: rgba(23, 21, 18, 0.16);
  --signal: #f0522b;
  --signal-dark: #a92f16;
  --blue: #155f74;
  --green: #286f55;
  --shadow: 0 24px 70px rgba(18, 15, 10, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(21, 95, 116, 0.14), transparent 340px),
    var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 14px clamp(18px, 4vw, 52px);
  color: var(--white);
  background: rgba(23, 21, 18, 0.93);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.brand,
.nav a,
.button,
.post-card,
.text-link {
  text-decoration: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--signal);
  border-radius: 6px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  min-height: 42px;
  padding: 11px 13px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.9rem;
  font-weight: 850;
  border-radius: var(--radius);
}

.nav a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav .nav-cta {
  color: var(--white);
  background: var(--signal);
  box-shadow: 0 16px 34px rgba(240, 82, 43, 0.32);
}

.section {
  padding: clamp(42px, 8vw, 92px) clamp(18px, 5vw, 72px);
}

.inner,
.article {
  width: min(1040px, 100%);
  margin: 0 auto;
}

.hero {
  padding-top: clamp(54px, 8vw, 96px);
}

.article {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--signal-dark);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 3px;
  content: "";
  background: var(--signal);
  border-radius: 999px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  max-width: 900px;
  font-size: clamp(2.65rem, 7vw, 5.7rem);
}

h2 {
  margin-top: 42px;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

h3 {
  margin-top: 28px;
  font-size: 1.15rem;
}

p,
li {
  color: var(--ink-2);
  line-height: 1.62;
}

.lede {
  max-width: 760px;
  margin: 22px 0 0;
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 10px;
  color: var(--ink-2);
  font-size: 0.86rem;
  font-weight: 850;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  color: var(--white);
  font-weight: 900;
  border-radius: var(--radius);
  background: var(--signal);
  box-shadow: 0 16px 34px rgba(240, 82, 43, 0.28);
}

.button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  box-shadow: none;
}

.lead-form {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.lead-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 850;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.lead-form button {
  min-height: 48px;
  color: var(--white);
  font: inherit;
  font-weight: 950;
  background: var(--signal);
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  box-shadow: 0 16px 34px rgba(240, 82, 43, 0.24);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.post-card,
.callout,
.sidebar-card {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(18, 15, 10, 0.08);
}

.post-card {
  display: grid;
  gap: 12px;
  min-height: 250px;
  padding: 22px;
}

.post-card b {
  color: var(--blue);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.post-card h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.post-card p {
  margin: 0;
}

.text-link {
  align-self: end;
  color: var(--signal-dark);
  font-weight: 950;
}

.article-body {
  min-width: 0;
}

.article-body p {
  font-size: 1.02rem;
}

.article-body ul,
.article-body ol {
  padding-left: 1.15rem;
}

.comparison-table {
  max-width: 100%;
  margin: 22px 0 34px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
}

.comparison-table table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.comparison-table th {
  color: var(--ink);
  font-size: 0.86rem;
  text-transform: uppercase;
  background: rgba(21, 95, 116, 0.1);
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.callout {
  margin: 34px 0;
  padding: 22px;
  border-left: 6px solid var(--signal);
}

.callout h2,
.callout h3 {
  margin-top: 0;
}

.sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 14px;
}

.sidebar-card {
  padding: 18px;
}

.sidebar-card h2,
.sidebar-card h3 {
  margin-top: 0;
  font-size: 1.3rem;
}

.sidebar-card .button {
  width: 100%;
  margin-top: 10px;
}

.related-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.related-list a {
  color: var(--blue);
  font-weight: 850;
}

.notice {
  padding-top: 18px;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}

.footer {
  padding: 32px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.footer .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

@media (max-width: 820px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .nav a {
    flex: 0 0 auto;
  }

  .article,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .post-card {
    min-height: 0;
  }
}
