:root {
  --ink: #141414;
  --muted: #5f5b55;
  --cream: #f8f5f0;
  --paper: #fffdf9;
  --line: #ded8cf;
  --cyan: #0b7f87;
  --cyan-dark: #07565d;
  --amber: #d48b00;
  --max: 760px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.72;
}

a {
  color: var(--cyan-dark);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #043d42;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #ffbf00;
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 20;
  padding: 10px 14px;
  transform: translateY(-150%);
  background: #111;
  color: #fff;
  border-radius: 8px;
}

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

.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;
}

.guide-header {
  border-bottom: 1px solid var(--line);
  background: rgba(248, 245, 240, 0.96);
}

.guide-nav {
  max-width: 1120px;
  min-height: 76px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.guide-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

.guide-brand-mark {
  display: block;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  background: url("/assets/freshtech-mark-transparent.png?v=1") center / contain no-repeat;
}

.guide-nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 20px;
  font-size: 15px;
  font-weight: 700;
}

.guide-nav-links a {
  color: var(--ink);
  text-decoration: none;
}

.guide-nav-links a[aria-current="page"] {
  color: var(--cyan-dark);
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.guide-main {
  padding: 58px 24px 84px;
}

.guide-article,
.guide-hub {
  max-width: var(--max);
  margin: 0 auto;
}

.breadcrumbs {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 14px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li:not(:last-child)::after {
  margin-left: 6px;
  color: #918b82;
  content: "/";
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan-dark);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 740px;
  margin-bottom: 20px;
  font-size: clamp(2.35rem, 7vw, 4.25rem);
}

h2 {
  margin: 64px 0 18px;
  font-size: clamp(1.75rem, 4vw, 2.45rem);
}

h3 {
  margin: 34px 0 10px;
  font-size: 1.35rem;
}

p,
ul,
ol,
figure,
table {
  margin-top: 0;
  margin-bottom: 24px;
}

.dek {
  max-width: 690px;
  color: #3f3b36;
  font-size: clamp(1.15rem, 2.5vw, 1.38rem);
  line-height: 1.55;
}

.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 28px 0 38px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.answer-box,
.note,
.warning,
.cta-box {
  margin: 34px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}

.answer-box {
  border-left: 5px solid var(--cyan);
}

.answer-box p:last-child,
.note p:last-child,
.warning p:last-child,
.cta-box p:last-child {
  margin-bottom: 0;
}

.answer-label {
  margin-bottom: 8px;
  color: var(--cyan-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.warning {
  border-left: 5px solid var(--amber);
}

.guide-figure {
  margin: 42px 0;
}

.guide-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.checklist > li,
.steps > li {
  margin-bottom: 18px;
  padding-left: 6px;
}

.checklist strong,
.steps strong {
  display: block;
  color: var(--ink);
}

.table-wrap {
  margin: 32px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
}

table {
  width: 100%;
  min-width: 640px;
  margin: 0;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}

th,
td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #efebe5;
  font-weight: 800;
}

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

.source-list {
  padding-left: 22px;
  font-size: 15px;
}

.source-list li {
  margin-bottom: 12px;
}

.cta-box {
  margin-top: 52px;
  background: #121212;
  color: #fff;
}

.cta-box h2 {
  margin-top: 0;
  color: #fff;
}

.cta-box a {
  color: #7fe5eb;
}

.guide-button {
  display: inline-block;
  margin-top: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  background: #fff;
  color: #111 !important;
  font-size: 15px;
  font-weight: 850;
  text-decoration: none;
}

.guide-card {
  margin: 30px 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
}

.guide-card h2 {
  margin: 0 0 12px;
  font-size: 1.75rem;
}

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

.card-meta {
  color: var(--muted);
  font-size: 14px;
}

.guide-footer {
  border-top: 1px solid var(--line);
  background: #111;
  color: #d8d4ce;
}

.guide-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 26px;
  font-size: 14px;
}

.guide-footer a {
  color: #fff;
}

@media (max-width: 640px) {
  body {
    font-size: 17px;
  }

  .guide-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .guide-nav-links {
    justify-content: flex-start;
  }

  .guide-main {
    padding: 38px 18px 64px;
  }

  h2 {
    margin-top: 48px;
  }

  .answer-box,
  .note,
  .warning,
  .cta-box,
  .guide-card {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
