/* Cloq-it SEO guide pages — matches landing brand tokens */
:root {
  --ink: #1A1D21;
  --ink-2: #262A30;
  --ink-soft: #5C636B;
  --ink-faint: #9AA1A9;
  --chalk: #F6F4F1;
  --chalk-deep: #ECE8E2;
  --white: #FFFEFC;
  --line: #E2DDD6;
  --teal: #0D9F8C;
  --teal-deep: #067A6C;
  --teal-soft: #D8F3EE;
  --teal-glow: #5EE0CB;
  --coral: #E23D2F;
  --amber: #E8A317;
  --r-lg: 24px;
  --shadow: 0 1px 0 rgba(26,29,33,.03), 0 18px 50px -22px rgba(26,29,33,.22);
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", Menlo, monospace;
  --wrap: 860px;
  --wrap-wide: 1100px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: var(--chalk); color: var(--ink); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
a { color: var(--teal-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, svg { display: block; }
::selection { background: rgba(13,159,140,.25); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-wide { max-width: var(--wrap-wide); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }
h1, h2, h3 { letter-spacing: -.03em; line-height: 1.12; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.45rem, 2.6vw, 1.9rem); margin: 2.4em 0 .7em; }
h3 { font-size: 1.15rem; margin: 1.6em 0 .5em; letter-spacing: -.02em; }
p { margin: 0 0 1.05em; color: #3A4048; }
p.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.25em; color: #3A4048; }
li { margin: .4em 0; }
li::marker { color: var(--teal); }
strong { color: var(--ink); font-weight: 600; }
.hl { display: inline-block; background: var(--teal); color: #fff; padding: 0 .22em; border-radius: 8px; transform: rotate(-1deg); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; line-height: 1; border: none; cursor: pointer; text-decoration: none !important; transition: background .15s, transform .15s; white-space: nowrap; }
.btn:active { transform: scale(.98); }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 12px 30px -12px rgba(13,159,140,.8); }
.btn-teal:hover { background: var(--teal-deep); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-outline { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.18); }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; }
.eyebrow.dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #C9CFD6; }

.wordmark { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.035em; color: inherit; text-decoration: none !important; }
.wordmark img { width: 28px; height: 28px; }
.wordmark span { font-size: 19px; }
.wordmark b { color: var(--teal); }

.nav-wrap { position: fixed; top: 14px; left: 0; right: 0; z-index: 100; padding: 0 14px; pointer-events: none; }
.nav { pointer-events: auto; max-width: 1040px; margin: 0 auto; display: flex; align-items: center; gap: 6px; padding: 8px 8px 8px 16px; background: rgba(255,254,252,.9); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border: 1px solid rgba(255,255,255,.7); border-radius: 999px; box-shadow: 0 10px 40px -14px rgba(26,29,33,.3); }
.nav .wordmark { margin-right: auto; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { font-size: 14px; font-weight: 500; color: #3A4048; padding: 9px 12px; border-radius: 999px; text-decoration: none !important; }
.nav-links a:hover { background: rgba(26,29,33,.06); color: var(--ink); }
.nav .btn { padding: 11px 18px; font-size: 14px; }
@media (max-width: 860px) { .nav-links { display: none; } }

.hero {
  background: var(--ink); color: #fff; padding: 130px 0 56px; position: relative; overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 55% at 85% 20%, rgba(13,159,140,.38), transparent 65%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { margin: 18px 0 14px; max-width: 18ch; }
.hero .lede { color: #B9C0C8; }
.hero .crumbs { font-family: var(--mono); font-size: 12px; color: #9AA1A9; margin-bottom: 18px; }
.hero .crumbs a { color: #C9CFD6; text-decoration: none !important; }
.hero .crumbs a:hover { color: #fff; }
.hero .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.hero .meta span { font-family: var(--mono); font-size: 11.5px; color: #C9CFD6; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.05); padding: 7px 12px; border-radius: 999px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.article { padding: 56px 0 40px; }
.article > .wrap > *:first-child { margin-top: 0; }
.callout {
  background: #fff; border-radius: 18px; padding: 22px 24px; box-shadow: var(--shadow);
  border-left: 4px solid var(--teal); margin: 1.6em 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout.ink { border-left-color: var(--ink); }
.callout.warn { border-left-color: var(--amber); }

.checklist { list-style: none; padding: 0; display: grid; gap: 10px; margin: 1.2em 0 1.6em; }
.checklist li {
  background: #fff; border-radius: 14px; padding: 14px 16px 14px 44px; position: relative;
  box-shadow: var(--shadow); color: #3A4048;
}
.checklist li::before {
  content: "✓"; position: absolute; left: 16px; top: 14px; color: var(--teal); font-weight: 700;
}

.table-wrap { overflow-x: auto; margin: 1.4em 0 1.8em; border-radius: 18px; box-shadow: var(--shadow); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
th, td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); background: #FAF8F5; font-weight: 600; }
tr:last-child td { border-bottom: none; }
td:first-child { font-weight: 600; color: var(--ink); width: 28%; }
td.yes { color: var(--teal-deep); }
td.no { color: #A9AFB6; }

.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 14px; margin: 1.2em 0 1.8em; }
.steps li {
  background: #fff; border-radius: 16px; padding: 18px 20px 18px 64px; position: relative;
  box-shadow: var(--shadow); color: #3A4048;
}
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; left: 16px; top: 18px; font-family: var(--mono); font-size: 13px; font-weight: 600;
  color: var(--teal-deep); background: var(--teal-soft); width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center;
}
.steps strong { display: block; margin-bottom: 4px; font-size: 1.02rem; }

.faq { display: grid; gap: 10px; margin: 1.2em 0 2em; }
.faq details { background: #fff; border-radius: 16px; box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--mono); font-size: 18px; color: var(--teal); flex: none;
  width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--chalk);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 22px 20px; color: #474E56; font-size: 15.5px; max-width: 68ch; }

.cta-band {
  background: var(--teal); color: #fff; border-radius: 28px; padding: 40px 32px; text-align: center;
  margin: 40px 0; display: flex; flex-direction: column; align-items: center; gap: 14px;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 80% at 100% 0%, rgba(255,255,255,.2), transparent 70%);
}
.cta-band > * { position: relative; }
.cta-band h2 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-band p { color: #E4F7F3; margin: 0; max-width: 48ch; }
.cta-band .row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 6px; }
.cta-band .btn-white { color: var(--teal-deep); background: #fff; }

.related { margin: 48px 0 24px; }
.related h2 { margin-top: 0; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; padding: 0; }
.related-grid a {
  display: block; background: #fff; border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow);
  color: var(--ink); text-decoration: none !important; font-weight: 600; font-size: 15px;
}
.related-grid a:hover { outline: 1.5px solid var(--teal); }
.related-grid span { display: block; font-weight: 400; font-size: 13.5px; color: var(--ink-soft); margin-top: 4px; }
@media (max-width: 640px) { .related-grid { grid-template-columns: 1fr; } }

.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0 48px; }
.hub-card {
  background: #fff; border-radius: 18px; padding: 22px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 8px; text-decoration: none !important; color: inherit;
}
.hub-card:hover { outline: 1.5px solid var(--teal); }
.hub-card .tag { font-family: var(--mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-deep); font-weight: 600; }
.hub-card h3 { margin: 0; font-size: 1.05rem; }
.hub-card p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }
@media (max-width: 900px) { .hub-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .hub-grid { grid-template-columns: 1fr; } }

footer { background: var(--ink); color: #fff; padding: 56px 0 28px; margin-top: 64px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 28px; }
.foot-grid p { color: #B9C0C8; font-size: 14.5px; margin-top: 12px; }
.foot-grid h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #9AA1A9; margin-bottom: 12px; font-weight: 600; }
.foot-grid a { display: block; color: #D5DADF; font-size: 14.5px; padding: 4px 0; text-decoration: none !important; }
.foot-grid a:hover { color: #fff; }
.foot-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: #9AA1A9; padding: 22px 0 0; border-top: 1px solid rgba(255,255,255,.1); margin-top: 36px;
}
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

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