/* Public site pages (professions, FAQ, guides), written by worker/site/render.js. Same look as the home page. */
:root {
  --ink: #0f1f35; --muted: #5a6a7f; --line: #e1e7ef; --band: #f2f6fc; --blue: #1f5fd6; --blue-hover: #174bb0; --blue-soft: #e3ecfc;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--blue-soft); }
h1, h2, h3 { margin: 0; color: var(--ink); }

.s-wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.s-wrap.narrow { max-width: 720px; }

.s-mark { font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; color: var(--ink); white-space: nowrap; }
.s-mark span { color: var(--blue); }
.s-mark:hover { text-decoration: none; }
.s-mark.small { font-size: 1rem; }

.s-btn { display: inline-flex; align-items: center; justify-content: center; padding: 9px 18px; border-radius: 99px; background: var(--blue);
  color: #fff; font-weight: 600; font-size: 0.95rem; white-space: nowrap; transition: background 0.15s; }
.s-btn:hover { background: var(--blue-hover); text-decoration: none; }
.s-btn.lg { padding: 15px 34px; font-size: 1.08rem; }
.s-link { font-weight: 600; }

/* Header */
.s-header { position: sticky; top: 0; z-index: 10; background: rgb(255 255 255 / 92%); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.s-header-row { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.s-nav { display: flex; gap: 20px; flex: 1; }
.s-nav a, .s-signin { color: var(--ink); font-weight: 600; font-size: 0.93rem; }
.s-nav a:hover, .s-signin:hover { color: var(--blue); text-decoration: none; }
.s-nav a[aria-current] { color: var(--blue); }
.s-auth { display: flex; align-items: center; gap: 18px; }
.s-langs { display: flex; gap: 8px; font-size: 0.8rem; font-weight: 600; }
.s-langs a { color: var(--muted); }
.s-langs span { color: var(--ink); }

/* Sections */
.s-hero { padding: 96px 0 88px; text-align: center; }
.s-hero.small { padding: 72px 0 56px; }
.s-eyebrow { margin: 0 0 14px; color: var(--blue); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.1em; text-transform: uppercase; }
.s-hero h1 { font-size: clamp(2.2rem, 5.6vw, 3.8rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.06; max-width: 860px; margin: 0 auto 20px; }
.s-lede { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: var(--muted); max-width: 680px; margin: 0 auto 32px; line-height: 1.5; }
.s-hero.small .s-lede { margin-bottom: 0; }
.s-band { background: var(--band); border-top: 1px solid #e7edf6; border-bottom: 1px solid #e7edf6; padding: 80px 0; }
.s-section { padding: 80px 0; }
.s-band h2, .s-section h2, .s-final h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 32px; text-align: center; }
.s-section .narrow, .s-section .narrow h2 { text-align: center; }
.s-section .narrow .s-lede { margin-bottom: 16px; }

.s-grid { display: grid; gap: 20px; }
.s-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.s-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.s-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; box-shadow: 0 1px 2px rgb(15 31 53 / 4%), 0 8px 24px -12px rgb(15 31 53 / 10%); }
.s-card h3 { font-size: 1.08rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.s-card p { margin: 0; color: var(--muted); }
.s-guide-card { display: flex; flex-direction: column; color: inherit; }
.s-guide-card:hover { text-decoration: none; border-color: #c6d4ea; }
.s-guide-card p { flex: 1; margin-bottom: 14px; }
.s-more { color: var(--blue); font-weight: 600; font-size: 0.92rem; }

.s-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; text-align: center; }
.s-num { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); font-weight: 700; margin-bottom: 14px; }
.s-steps h3 { font-size: 1.2rem; margin-bottom: 6px; }
.s-steps p { margin: 0; color: var(--muted); }

/* FAQ */
.s-faq h2 { text-align: left; }
.s-faq .s-faq-group { font-size: 1.3rem; margin: 40px 0 8px; }
.s-faq .s-faq-group:first-child { margin-top: 0; }
.s-faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.s-faq h2 + details { border-top: 1px solid var(--line); }
.s-faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 16px; }
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary::after { content: '+'; color: var(--blue); font-size: 1.4rem; line-height: 1; }
.s-faq details[open] summary::after { content: '−'; }
.s-faq details p { color: var(--muted); margin: 10px 0 0; }
.s-faq > p { margin-top: 24px; }

/* Guides */
.s-article { padding: 56px 0 72px; }
.s-crumbs { font-size: 0.88rem; font-weight: 600; margin-bottom: 18px; }
.s-article h1 { font-size: clamp(2rem, 4.6vw, 2.9rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; margin-bottom: 12px; }
.s-meta { color: var(--muted); font-size: 0.9rem; margin: 0 0 24px; }
.s-article .s-lede { margin: 0 0 32px; text-align: left; color: var(--ink); font-weight: 500; }
.s-article h2 { font-size: 1.45rem; letter-spacing: -0.02em; margin: 40px 0 12px; }
.s-article p, .s-article li { font-size: 1.06rem; line-height: 1.7; color: #26384f; }
.s-article ul { padding-left: 22px; }
.s-article li { margin-bottom: 8px; }
.s-article-cta { margin-top: 40px; }

/* Comparison: a grid. PlanUnlock's column sits on a raised white card (.s-cmp-card) that spans every row, with a
   soft blue shadow, so it stands out above the other tools. */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.s-cmp { position: relative; display: grid; grid-template-columns: 1.15fr 1.35fr 1fr 1fr 1fr; margin-top: 16px;
  background: #fbfcfe; border: 1px solid var(--line); border-radius: 22px; font-size: 0.92rem; }
.s-cmp-row { display: contents; }
.s-cmp-label, .s-cmp-cell { position: relative; z-index: 1; padding: 15px 18px; border-bottom: 1px solid var(--line); }
.s-cmp-row.last > div { border-bottom: 0; }
.s-cmp-label { font-weight: 600; }
.s-cmp-cell { color: var(--muted); }
.s-cmp-head > div { font-size: 0.82rem; font-weight: 700; color: var(--muted); align-self: end; padding-top: 20px; }
.s-cmp-card {
  /* Absolutely placed on column 2, all rows: it sits behind the cells without taking a grid slot. */
  position: absolute; grid-column: 2 / 3; grid-row: 1 / -1; top: -14px; bottom: -14px; left: 0; right: 0; z-index: 0; border-radius: 22px; background: #fff;
  border: 2px solid var(--blue);
  box-shadow: 0 30px 60px -20px rgb(31 95 214 / 35%), 0 12px 24px -12px rgb(15 31 53 / 18%);
}
.s-cmp-cell.s-us { text-align: center; color: var(--ink); font-weight: 500; border-bottom-color: #e6edf9; }
.s-cmp-head .s-us { align-self: stretch; display: grid; place-items: center; padding: 6px 12px 16px; }
.s-us-logo { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; font-size: 1.15rem; font-weight: 800;
  letter-spacing: -0.03em; color: var(--ink); white-space: nowrap; }
.s-us-logo img { border-radius: 11px; box-shadow: 0 8px 18px -6px rgb(15 31 53 / 45%); }
.s-us-logo b { color: var(--blue); font-weight: 800; }
.s-yes { color: #15803d; font-weight: 700; margin-right: 2px; }
.s-no { color: #b6c0cc; }
.s-note { color: var(--muted); font-size: 0.85rem; margin: 30px 0 0; }
.s-list { margin: 10px 0 0; padding-left: 20px; color: var(--muted); }
.s-list li { margin-bottom: 8px; }
.s-list strong { color: var(--ink); }

/* Final call to action and footer */
.s-final { padding: 88px 0; text-align: center; }
.s-final h2 { margin-bottom: 28px; }
.s-final p { color: var(--muted); margin: 18px 0 0; font-size: 0.92rem; }
.s-footer { border-top: 1px solid var(--line); padding: 24px 0 32px; color: var(--muted); font-size: 0.85rem; }
.s-footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.s-footer a { color: var(--ink); font-weight: 600; }
.s-footer a:hover { color: var(--blue); }

@media (max-width: 900px) {
  .s-grid.three { grid-template-columns: minmax(0, 1fr); }
  .s-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Header: logo and Start free on top; the links underneath, wrapping onto a second line if needed. */
  .s-header-row { flex-wrap: wrap; gap: 6px 16px; padding-top: 12px; padding-bottom: 10px; min-height: 0; }
  .s-auth { margin-left: auto; gap: 14px; }
  .s-nav { order: 3; flex-basis: 100%; flex-wrap: wrap; gap: 6px 18px; }
}
@media (max-width: 640px) {
  .s-grid.two, .s-steps { grid-template-columns: minmax(0, 1fr); }
  .s-hero { padding: 56px 0 56px; }
  .s-hero.small { padding: 44px 0 36px; }
  .s-band, .s-section, .s-final { padding: 56px 0; }
  .s-btn.lg { padding: 13px 26px; font-size: 1rem; }
  .s-faq-group { font-size: 1.15rem; }
  .s-footer-row { flex-direction: column; align-items: flex-start; }
  /* Comparison: each row becomes a card, every tool on its own labelled line; PlanUnlock's line is raised. */
  .s-cmp { display: block; background: none; border: 0; }
  .s-cmp-card, .s-cmp-head { display: none; }
  .s-cmp-row { display: block; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; margin-bottom: 14px;
    box-shadow: 0 8px 24px -14px rgb(15 31 53 / 14%); }
  .s-cmp-label, .s-cmp-cell { padding: 3px 0; border: 0; }
  .s-cmp-label { margin-bottom: 8px; font-size: 1rem; }
  .s-cmp-cell::before { content: attr(data-label) ': '; color: var(--ink); font-weight: 600; }
  .s-cmp-cell.s-us { text-align: left; background: #fff; border: 2px solid var(--blue); border-radius: 12px; padding: 9px 12px; margin: 0 0 10px;
    box-shadow: 0 12px 24px -12px rgb(31 95 214 / 45%); }
  .s-cmp-cell.s-us::before { color: var(--blue); }
}
@media (max-width: 420px) {
  .s-signin { display: none; }
  .s-auth { gap: 10px; }
  .s-btn { padding: 8px 14px; font-size: 0.88rem; }
}
