/* Hostly Tips - site styles (2026 layer). Class prefix: ht- */

:root {
  --ht-ink: #192a3d;
  --ht-body: #3A4F66;
  --ht-muted: #5f6e7c;
  --ht-blue: #2872fa;
  --ht-blue-dark: #1559ed;
  --ht-tint: #edf3fc;
  --ht-clay: #a2542b;
  --ht-line: #e1e8ed;
  --ht-line-soft: #eceff3;
  --ht-paper: #ffffff;
  --ht-shell: #f2f5f7;
  --ht-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ht-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ht-wrap: 1080px;
  --ht-read: 40rem;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ht-paper);
  color: var(--ht-body);
  font-family: var(--ht-sans);
  font-size: 17px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ht-blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--ht-blue-dark); }

img { max-width: 100%; height: auto; }

h1, h2, h3, h4 {
  font-family: var(--ht-serif);
  color: var(--ht-ink);
  line-height: 1.22;
  font-weight: 600;
  margin: 0 0 .6em;
}

.ht-wrap { width: 100%; max-width: var(--ht-wrap); margin: 0 auto; padding: 0 22px; }

/* ---------- masthead ---------- */

.ht-masthead {
  border-bottom: 1px solid var(--ht-line);
  background: var(--ht-paper);
}
.ht-masthead .ht-wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding-top: 18px;
  padding-bottom: 18px;
  flex-wrap: wrap;
}
.ht-brand {
  font-family: var(--ht-serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--ht-ink);
  text-decoration: none;
  letter-spacing: -.01em;
}
.ht-brand span { color: var(--ht-blue); }
.ht-navlinks {
  display: flex;
  gap: 20px;
  font-size: 14.5px;
  flex-wrap: wrap;
}
.ht-navlinks a { color: var(--ht-body); text-decoration: none; }
.ht-navlinks a:hover { color: var(--ht-blue); text-decoration: underline; }

/* ---------- hero ---------- */

.ht-hero { padding: 58px 0 40px; border-bottom: 1px solid var(--ht-line-soft); }
.ht-hero h1 { font-size: 44px; margin-bottom: 14px; letter-spacing: -.015em; }
.ht-hero p { font-size: 20px; max-width: 34rem; margin: 0; color: var(--ht-body); }
.ht-eyebrow {
  font-family: var(--ht-sans);
  font-size: 12.5px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--ht-clay);
  font-weight: 600;
  margin: 0 0 14px;
}

/* ---------- guide index ---------- */

.ht-section { padding: 46px 0; border-bottom: 1px solid var(--ht-line-soft); }
.ht-section:last-of-type { border-bottom: 0; }
.ht-section > h2 { font-size: 15px; font-family: var(--ht-sans); text-transform: uppercase; letter-spacing: .1em; color: var(--ht-muted); font-weight: 600; margin-bottom: 22px; }

.ht-list { list-style: none; margin: 0; padding: 0; }
.ht-list li { border-top: 1px solid var(--ht-line); }
.ht-list li:last-child { border-bottom: 1px solid var(--ht-line); }
.ht-item {
  display: block;
  padding: 20px 4px;
  text-decoration: none;
  color: inherit;
}
.ht-item:hover { background: var(--ht-shell); }
.ht-item:hover .ht-item-title { color: var(--ht-blue); }
.ht-item-title {
  font-family: var(--ht-serif);
  font-weight: 600;
  font-size: 22px;
  color: var(--ht-ink);
  line-height: 1.28;
  margin: 0 0 6px;
}
.ht-item-desc { margin: 0; font-size: 15.5px; color: var(--ht-body); line-height: 1.6; }
.ht-tag {
  display: inline-block;
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ht-clay);
  margin-bottom: 6px;
}

/* archive catalogue */
.ht-note {
  background: var(--ht-shell);
  border: 1px solid var(--ht-line);
  border-radius: 4px;
  padding: 18px 20px;
  font-size: 15.5px;
  margin: 0 0 22px;
}
.ht-catalogue {
  columns: 2;
  column-gap: 34px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 15px;
  color: var(--ht-muted);
}
.ht-catalogue li { break-inside: avoid; padding: 4px 0; }

/* ---------- about ---------- */

.ht-about { background: var(--ht-shell); border-top: 1px solid var(--ht-line); border-bottom: 1px solid var(--ht-line); padding: 44px 0; }
.ht-about h2 { font-size: 26px; }
.ht-about p { max-width: 44rem; }

/* ---------- article ---------- */

.ht-article { padding: 46px 0 20px; }
.ht-article h1 { font-size: 38px; letter-spacing: -.012em; max-width: 30rem; }
.ht-meta { font-size: 14px; color: var(--ht-muted); margin: 0 0 34px; }
.ht-meta a { color: var(--ht-muted); }
.ht-body { max-width: var(--ht-read); font-size: 18px; }
.ht-body p { margin: 0 0 1.15em; }
.ht-body h2 { font-size: 27px; margin-top: 2em; }
.ht-body h3 { font-size: 20.5px; margin-top: 1.7em; font-family: var(--ht-sans); font-weight: 700; }
.ht-body ul, .ht-body ol { padding-left: 1.15em; margin: 0 0 1.3em; }
.ht-body li { margin-bottom: .55em; }
.ht-lede { font-size: 21px; line-height: 1.6; color: var(--ht-ink); }

.ht-callout {
  background: var(--ht-tint);
  border-radius: 5px;
  padding: 20px 22px;
  margin: 1.8em 0;
  font-size: 16.5px;
}
.ht-callout p:last-child { margin-bottom: 0; }
.ht-callout strong { color: var(--ht-ink); }

.ht-steps { counter-reset: ht-step; list-style: none; padding: 0; }
.ht-steps > li {
  counter-increment: ht-step;
  position: relative;
  padding: 0 0 0 3rem;
  margin-bottom: 1.4em;
}
.ht-steps > li::before {
  content: counter(ht-step);
  position: absolute;
  left: 0;
  top: .1em;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--ht-ink);
  color: #fff;
  font-family: var(--ht-sans);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ht-steps > li strong { color: var(--ht-ink); }

.ht-related { margin-top: 52px; padding-top: 26px; border-top: 1px solid var(--ht-line); max-width: var(--ht-read); }
.ht-related h2 { font-family: var(--ht-sans); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: var(--ht-muted); }
.ht-related ul { list-style: none; padding: 0; margin: 0; }
.ht-related li { margin-bottom: 8px; }

/* ---------- verdict / roundup ---------- */

.ht-tool {
  border-top: 1px solid var(--ht-line);
  padding: 28px 0 6px;
}
.ht-tool h3 {
  font-family: var(--ht-serif);
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 2px;
}
.ht-tool .ht-tool-sub { font-size: 14px; color: var(--ht-muted); margin: 0 0 14px; }
.ht-pc { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 26px; margin: 16px 0 6px; font-size: 16px; }
.ht-pc h4 { font-family: var(--ht-sans); font-size: 12.5px; letter-spacing: .09em; text-transform: uppercase; margin: 0 0 6px; color: var(--ht-muted); }
.ht-pc ul { margin: 0; padding-left: 1.1em; }
.ht-pc li { margin-bottom: .4em; }
.ht-price {
  font-size: 15px;
  color: var(--ht-ink);
  background: var(--ht-shell);
  border-left: 3px solid var(--ht-line);
  padding: 10px 14px;
  margin: 14px 0 0;
}

/* ---------- footer ---------- */

.ht-footer {
  border-top: 1px solid var(--ht-line);
  padding: 34px 0 46px;
  font-size: 14.5px;
  color: var(--ht-muted);
  background: var(--ht-paper);
}
.ht-footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 14px; padding: 0; list-style: none; }
.ht-footer-links a { color: var(--ht-body); text-decoration: none; }
.ht-footer-links a:hover { text-decoration: underline; }
.ht-footer p { margin: 0; }

@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .ht-hero { padding: 40px 0 30px; }
  .ht-hero h1 { font-size: 33px; }
  .ht-hero p { font-size: 18px; }
  .ht-article h1 { font-size: 29px; }
  .ht-body { font-size: 17px; }
  .ht-item-title { font-size: 19.5px; }
  .ht-catalogue { columns: 1; }
  .ht-pc { grid-template-columns: 1fr; gap: 4px; }
}
