/* ============================================================
   Lytom Assess - shared landing site styles
   Used by every public page (homepage, content, legal).
   Tokens, components and responsive rules in one place.
   ============================================================ */

/* --- Tokens ------------------------------------------------- */

:root {
  /* Brand */
  --beige: #cbb79f;
  --beige-dark: #a89078;
  --beige-light: #f5efe6;
  --beige-tint: #fbf7ef;

  /* Surface */
  --bg: #fbf8f2;
  --white: #ffffff;
  --border: #ece8df;
  --border-soft: #f1ede4;

  /* Text */
  --text: #1a1815;
  --text-muted: #5a564d;
  --text-soft: #8a8780;

  /* Shape */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  /* Spacing scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* Type scale */
  --h1: clamp(2.1rem, 4vw, 3rem);
  --h2: clamp(1.7rem, 2.8vw, 2.25rem);
  --h3: 1.18rem;
  --body: 1rem;
  --small: 0.9rem;
  --micro: 0.82rem;

  /* Elevation - one subtle shadow only */
  --shadow-soft:
    0 1px 2px rgba(20, 18, 14, 0.04),
    0 8px 24px rgba(20, 18, 14, 0.05);
  --shadow-screenshot:
    0 1px 2px rgba(20, 18, 14, 0.05),
    0 18px 44px rgba(20, 18, 14, 0.08);

  /* Layout */
  --container: 1140px;
  --container-narrow: 880px;
}

/* --- Reset + base ------------------------------------------ */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: var(--body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* P0d: branded focus rings - replaces the default browser outline */
:focus { outline: none; }
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
details:focus-visible,
[tabindex]:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--beige-light);
  border-radius: var(--radius-sm);
}
.btn:focus-visible,
.nav-cta:focus-visible {
  box-shadow: 0 0 0 3px var(--beige-light), 0 0 0 4px var(--beige-dark);
}

/* P0g: skip-to-content link (visible only when focused) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--text);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 100;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
  text-decoration: none;
  outline: none;
}

a { color: var(--beige-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
a:visited { color: var(--beige-dark); }
img, video { max-width: 100%; display: block; }

::selection { background: var(--beige); color: var(--text); }

/* --- Layout helpers ---------------------------------------- */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-5);
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

.section {
  padding: clamp(56px, 8vw, 88px) 0;
  background: var(--bg);
}
.section-band {
  padding: clamp(56px, 8vw, 88px) 0;
  background: var(--white);
}

/* --- Site nav ---------------------------------------------- */

.site-nav {
  background: var(--bg);
  border-bottom: 1px solid var(--border-soft);
  position: relative;
  z-index: 10;
}
.site-nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.005em;
}
.brand:hover { text-decoration: none; }
.brand img { height: 60px; width: 224px; object-fit: fill; display: block; }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-link {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-link:hover { background: var(--beige-light); color: var(--text); text-decoration: none; }
.nav-cta {
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  background: var(--beige);
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid var(--beige);
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.nav-cta:hover { background: var(--beige-dark); color: var(--white); transform: translateY(-1px); text-decoration: none; }
.nav-cta:visited { color: var(--text); }

/* --- Buttons ----------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.98rem;
  font-family: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:active { transform: translateY(0); transition-duration: 0.05s; }
.btn-primary {
  background: var(--beige);
  color: var(--text);
  border-color: var(--beige);
}
.btn-primary:visited { color: var(--text); }
.btn-primary:hover { background: var(--beige-dark); color: var(--white); border-color: var(--beige-dark); }
.btn-secondary {
  background: var(--white);
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:visited { color: var(--text); }
.btn-secondary:hover { background: var(--beige-light); color: var(--text); border-color: var(--beige); }

/* --- Hero --------------------------------------------------- */

.hero {
  padding: clamp(72px, 10vw, 112px) 0 clamp(40px, 6vw, 64px);
  text-align: center;
  background: var(--bg);
}
.hero h1 {
  font-size: var(--h1);
  line-height: 1.08;
  letter-spacing: -0.014em;
  font-weight: 700;
  max-width: 880px;
  margin: 0 auto var(--space-5);
  color: var(--text);
}
.hero .sub {
  font-size: clamp(1.05rem, 1.4vw, 1.15rem);
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto var(--space-6);
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-3);
}
.trial-micro {
  font-size: var(--small);
  color: var(--text-muted);
  margin-bottom: var(--space-5);
}

/* Single price line under the hero sub-paragraph */
.price-line {
  font-size: var(--small);
  color: var(--text-muted);
  margin: calc(var(--space-5) * -1) 0 var(--space-5);
  font-feature-settings: "tnum" 1, "lnum" 1;
}
.price-line strong {
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
}
.price-line .price-from { color: var(--text-soft); }

/* P0e: tabular lining figures wherever a price appears */
.trial-micro,
.sticky-cta-text,
.page-cta .micro {
  font-feature-settings: "tnum" 1, "lnum" 1;
}

/* Tick strip - replaces the dot pattern */
.tick-strip {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-top: var(--space-2);
  margin-bottom: var(--space-5);
  font-size: var(--small);
  color: var(--text-muted);
}
.tick {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}
.tick svg {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  color: var(--beige-dark);
}

.platform-line {
  font-size: var(--small);
  color: var(--text-soft);
  margin: 0;
}
.platform-line a { color: var(--beige-dark); font-weight: 600; }

/* --- Hero screenshot --------------------------------------- */

.hero-shot {
  padding: 0 0 clamp(48px, 7vw, 80px);
  background: var(--bg);
}
.hero-shot .container { max-width: 1080px; }

.screenshot-frame {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow-screenshot);
  overflow: hidden;
}
.screenshot-frame img,
.screenshot-frame video {
  width: 100%;
  height: auto;
  display: block;
}
.screenshot-frame.tight img { padding: 0; }

/* --- Generic section heading ------------------------------- */

.section-heading {
  text-align: center;
  max-width: 680px;
  margin: 0 auto clamp(36px, 5vw, 56px);
}
.section-heading h2 {
  font-size: var(--h2);
  line-height: 1.18;
  letter-spacing: -0.012em;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.section-heading p {
  color: var(--text-muted);
  font-size: 1rem;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--beige-dark);
  margin-bottom: 10px;
}

/* --- Proof rows -------------------------------------------- */

.proof-rows {
  display: grid;
  gap: clamp(40px, 6vw, 72px);
}
.proof-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.proof-row.flip .proof-text { order: 2; }
.proof-row.flip .proof-media { order: 1; }
.proof-text h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.005em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.proof-text h3 .icon {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  color: var(--beige-dark);
}
.proof-text p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}
.proof-media {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.proof-media img,
.proof-media video {
  width: 100%;
  height: auto;
  display: block;
}

/* --- Feature grid (replaces carousel) ---------------------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-5);
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.feature-card:hover { border-color: var(--beige); transform: translateY(-2px); }
.feature-card .feature-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--beige-light);
  color: var(--beige-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
}
.feature-card .feature-icon svg { width: 20px; height: 20px; }
.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* --- Step cards -------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  position: relative;
}
.step-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  position: relative;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-pill);
  background: var(--beige);
  color: var(--white);
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: var(--space-3);
  letter-spacing: 0;
}
.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.005em;
  color: var(--text);
}
.step-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* --- Closing CTA ------------------------------------------- */

.closing-cta {
  padding: clamp(64px, 9vw, 104px) 0;
  text-align: center;
  background: var(--bg);
}
.closing-cta h2 {
  font-size: var(--h2);
  font-weight: 700;
  letter-spacing: -0.012em;
  margin-bottom: 10px;
}
.closing-cta p.lead {
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto var(--space-5);
}

/* --- Trust strip (sits under hero shot) -------------------- */

.trust-strip {
  padding: clamp(28px, 4vw, 44px) 0;
  background: var(--white);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 4vw, 64px);
  max-width: 980px;
  margin: 0 auto;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  text-align: left;
}
a.trust-item {
  color: inherit;
  text-decoration: none;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  transition: background 0.15s ease;
}
a.trust-item:hover { background: var(--beige-tint); text-decoration: none; }
a.trust-item:hover strong { color: var(--beige-dark); }
a.trust-item:visited { color: inherit; }
.trust-item .trust-icon {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  color: var(--beige-dark);
}
/* Render established brand marks in a neutral colour so they stay recognisable */
.trust-item .trust-icon.is-brand { color: var(--text); }
.trust-item strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 0.96rem;
  margin-bottom: 2px;
}
.trust-item span.trust-sub {
  display: block;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

/* --- Testimonial strip (scaffold for first quotes) --------- */

.testimonial-strip {
  padding: clamp(48px, 7vw, 72px) 0;
  background: var(--bg);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.testimonial-card blockquote {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: var(--space-3);
  font-style: italic;
}
.testimonial-card cite {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-style: normal;
}
.testimonial-card.placeholder {
  background: var(--beige-tint);
  border-color: var(--beige);
  position: relative;
  padding-top: calc(clamp(24px, 4vw, 40px) + var(--space-4));
}
.testimonial-card.placeholder::before {
  content: "Coming soon";
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--beige);
  color: var(--text);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}
.testimonial-card.placeholder blockquote {
  color: var(--text-muted);
  font-style: normal;
  font-size: 0.98rem;
}
.testimonial-card.placeholder cite { color: var(--text-soft); }
.testimonial-card.placeholder a {
  color: var(--beige-dark);
  font-weight: 600;
}

/* --- Nav sign-in dropdown ---------------------------------- */

.nav-signin {
  position: relative;
}
.nav-signin > summary {
  list-style: none;
  cursor: pointer;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-signin > summary::-webkit-details-marker { display: none; }
.nav-signin > summary::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 4px;
  transition: transform 0.15s ease;
}
.nav-signin[open] > summary { background: var(--beige-light); color: var(--text); }
.nav-signin[open] > summary::after { transform: rotate(225deg) translate(-2px, 0); }
.nav-signin > summary:hover { background: var(--beige-light); color: var(--text); }
.nav-signin-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  min-width: 260px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 30;
}
.nav-signin-panel a {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  display: block;
}
.nav-signin-panel a small {
  display: block;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 2px;
  font-weight: 400;
}
.nav-signin-panel a:hover { background: var(--beige-light); text-decoration: none; }

/* --- Sticky mobile CTA ------------------------------------- */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 10px 16px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  z-index: 50;
  box-shadow: 0 -4px 16px rgba(20, 18, 14, 0.06);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.sticky-cta.is-hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }
.sticky-cta-text {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.3;
}
.sticky-cta-text strong { color: var(--text); font-weight: 600; }
.sticky-cta .btn {
  padding: 10px 18px;
  font-size: 0.92rem;
  flex-shrink: 0;
}

/* --- Footer ------------------------------------------------ */

.site-footer {
  padding: clamp(48px, 6vw, 72px) 0 32px;
  border-top: 1px solid var(--border);
  background: var(--white);
  color: var(--text-muted);
  font-size: var(--small);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}
.footer-brand .footer-signin {
  font-size: var(--small);
  margin-top: var(--space-3);
  color: var(--text-muted);
}
.footer-brand .footer-signin a { color: var(--text-muted); }
.footer-brand .footer-signin a:hover { color: var(--beige-dark); }
.footer-grid h4 {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 12px;
  font-weight: 700;
}
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 6px; }
.footer-grid a { color: var(--text-muted); }
.footer-grid a:hover { color: var(--beige-dark); }
.footer-brand .brand-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 10px;
}
.footer-brand .brand-line img { height: 32px; width: auto; display: block; }
.footer-brand p { font-size: 0.88rem; line-height: 1.55; max-width: 320px; }
.footer-bottom {
  border-top: 1px solid var(--border-soft);
  padding-top: 18px;
  font-size: var(--micro);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2) var(--space-5);
  color: var(--text-soft);
  text-align: center;
}
.footer-bottom a { color: var(--text-soft); }
.footer-bottom a:hover { color: var(--beige-dark); }

/* --- Content / legal pages --------------------------------- */

.page-main {
  padding: clamp(48px, 6vw, 72px) 0;
}
.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-soft);
  margin-bottom: var(--space-4);
}
.breadcrumb a { color: var(--text-soft); }
.page-main h1 {
  font-size: clamp(1.9rem, 3.5vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.018em;
  margin-bottom: var(--space-3);
  font-weight: 700;
}
.page-main .lede {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: var(--space-7);
  line-height: 1.65;
  max-width: 720px;
}
.page-main h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: var(--space-7) 0 var(--space-3);
  letter-spacing: -0.005em;
}
.page-main h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.page-main p {
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}
.page-main p.lead-in { color: var(--text); }

.types-list,
.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-3);
  margin: var(--space-3) 0 var(--space-6);
  padding: 0;
}
.types-list li,
.feature-list li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
}
.types-list h3,
.feature-list h3 { color: var(--text); margin-bottom: 4px; }
.types-list p,
.feature-list p { font-size: 0.94rem; margin: 0; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin: var(--space-3) 0 var(--space-6);
}
.two-col > div {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
}
.two-col h3 { color: var(--text); margin-bottom: 6px; }
.two-col p { font-size: 0.96rem; margin: 0; }

.page-cta {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  text-align: center;
  margin: var(--space-7) 0 var(--space-5);
}
.page-cta h2 { margin-top: 0; }
.page-cta .micro {
  font-size: var(--small);
  color: var(--text-muted);
  margin-top: var(--space-3);
}

.related {
  margin-top: var(--space-5);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border-soft);
  font-size: 0.95rem;
}
.related h3 {
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
}
.related ul { list-style: none; padding: 0; }
.related li { margin-bottom: 4px; }

/* Legal page specifics */
.legal-updated {
  color: var(--text-soft);
  font-size: 0.92rem;
  margin-bottom: var(--space-6);
}
.legal-highlight {
  background: var(--beige-tint);
  border: 1px solid var(--border);
  border-left: 3px solid var(--beige);
  border-radius: var(--radius-md);
  padding: var(--space-4) var(--space-5);
  margin-bottom: var(--space-6);
  color: var(--text);
}
.legal-section {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--space-6);
  margin-bottom: var(--space-3);
}
.page-main ul,
.page-main ol {
  padding-left: 22px;
  margin-bottom: var(--space-3);
  color: var(--text-muted);
}
.page-main ul li,
.page-main ol li { margin-bottom: 4px; }

/* --- Responsive -------------------------------------------- */

@media (max-width: 880px) {
  .proof-row,
  .proof-row.flip {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }
  .proof-row.flip .proof-text { order: 1; }
  .proof-row.flip .proof-media { order: 2; }
  .feature-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Show sticky mobile CTA below tablet, reserve footer space for it */
@media (max-width: 768px) {
  .sticky-cta { display: flex; }
  .site-footer { padding-bottom: 96px; }
  .trust-grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .trust-item { justify-content: flex-start; max-width: 360px; margin: 0 auto; }
}

@media (max-width: 540px) {
  .brand img { height: 46px; width: 170px; object-fit: fill; }
  .nav-link { padding: 6px 10px; font-size: 0.88rem; }
  .nav-cta { padding: 8px 14px; font-size: 0.88rem; }
  .nav-signin > summary { padding: 6px 10px; font-size: 0.88rem; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
  .hero { padding-top: 56px; }
  .page-main h1 { font-size: 1.85rem; }
}

/* --- FAQ section ------------------------------------------- */

.page-main .page-faq-wrap {
  margin-top: clamp(40px, 6vw, 56px);
  padding-top: clamp(28px, 5vw, 44px);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.faq-section {
  background: var(--white);
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border-top: 1px solid var(--line, #e5e7eb);
  padding: 18px 4px;
}
.faq-item:last-of-type {
  border-bottom: 1px solid var(--line, #e5e7eb);
}
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink, #0f172a);
  position: relative;
  padding-right: 32px;
  outline: none;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--muted, #64748b);
  transition: transform .2s ease;
}
.faq-item[open] > summary::after {
  content: "−";
}
.faq-item > summary:focus-visible {
  outline: 2px solid var(--accent, #2563eb);
  outline-offset: 4px;
  border-radius: 4px;
}
.faq-item > p {
  margin: 10px 0 0;
  color: var(--muted, #475569);
  line-height: 1.6;
}

/* ============================================================
   Brand wordmark (text-only header / footer brand for pages
   that don't have a polished transparent logo PNG yet).
   Used on the umbrella index and on lytom-comply.html.
   ============================================================ */

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35em;
  font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 1.65rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand-wordmark-sub {
  font-weight: 500;
  font-style: normal;
  font-size: 0.92em;
  color: var(--beige-dark);
}
.brand .brand-wordmark { min-height: 36px; align-items: center; }
.footer-brand .brand-line .brand-wordmark { font-size: 1.3rem; }

/* ============================================================
   Lytom family band + sister-product cards
   Used on the umbrella index, lytom-assess and lytom-comply
   product pages to express the "Part of the Lytom family"
   relationship and let visitors jump between sister products.
   ============================================================ */

.lytom-family-band {
  background: linear-gradient(180deg, var(--beige-tint), var(--white));
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.family-band-inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 32px);
  flex-wrap: wrap;
  margin-bottom: clamp(24px, 4vw, 40px);
}
.family-logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.family-logo img {
  height: clamp(36px, 5vw, 48px);
  width: auto;
}
.family-copy {
  flex: 1 1 320px;
  min-width: 0;
}
.family-copy .eyebrow {
  display: inline-block;
  margin-bottom: 4px;
}
.family-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  line-height: 1.25;
}
.family-copy p {
  margin: 0;
  color: var(--text-muted);
}

.family-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.family-cards-home {
  margin-top: clamp(24px, 4vw, 40px);
}
.family-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 2.5vw, 28px);
  text-decoration: none;
  color: var(--text);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  position: relative;
}
a.family-card:hover,
a.family-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 24, 21, 0.08);
  border-color: var(--beige);
  outline: none;
}
.family-card.is-current {
  border-color: var(--beige);
  background: var(--beige-tint);
  cursor: default;
}
.family-card.is-current:hover {
  transform: none;
  box-shadow: none;
}
.family-card.is-coming {
  background: repeating-linear-gradient(
    135deg,
    var(--beige-tint),
    var(--beige-tint) 10px,
    var(--white) 10px,
    var(--white) 20px
  );
  border-style: dashed;
  cursor: default;
}
.family-card-tag {
  display: inline-block;
  font-size: var(--micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--beige-dark);
  background: var(--white);
  border: 1px solid var(--beige);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.family-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--beige-tint);
  color: var(--beige-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.family-card-icon svg {
  width: 22px;
  height: 22px;
}
.family-card h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
  font-weight: 700;
}
.family-card-tagline {
  margin: 0 0 12px;
  font-weight: 600;
  color: var(--text);
}
.family-card p {
  margin: 0 0 12px;
  color: var(--text-muted);
  line-height: 1.55;
}
.family-card-points {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  font-size: var(--small);
  color: var(--text-muted);
}
.family-card-points li {
  padding-left: 20px;
  position: relative;
  margin: 4px 0;
  line-height: 1.45;
}
.family-card-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--beige);
}
.family-card-price {
  font-size: var(--small);
  color: var(--text);
  margin: 8px 0 14px;
}
.family-card-link {
  font-weight: 600;
  color: var(--beige-dark);
  font-size: var(--small);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.family-card-link-muted {
  color: var(--text-soft);
}

/* Umbrella hero – plain Lytom mark above the headline */
.umbrella-hero {
  text-align: center;
}
.umbrella-mark {
  height: clamp(48px, 6vw, 64px);
  width: auto;
  margin: 0 auto var(--space-5);
  display: block;
}

/* ============================================================
   Comparison table (Assess vs HandsHQ vs SafetyCulture)
   Designed to stay readable on phones (horizontal scroll)
   and crawlable by AI assistants (semantic <table>).
   ============================================================ */

.comparison-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  margin: clamp(16px, 3vw, 24px) 0;
}
.comparison-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: var(--small);
}
.comparison-table caption {
  text-align: left;
  caption-side: top;
  padding: 8px 16px;
  color: var(--text-soft);
}
.comparison-table th,
.comparison-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border-soft);
}
.comparison-table thead th {
  background: var(--beige-tint);
  font-weight: 700;
  color: var(--text);
  border-bottom: 2px solid var(--beige);
}
.comparison-table tbody tr:nth-child(odd) td,
.comparison-table tbody tr:nth-child(odd) th {
  background: var(--bg);
}
.comparison-table th[scope="row"] {
  font-weight: 600;
  color: var(--text);
  white-space: normal;
}
.comparison-table th[scope="col"]:nth-child(2) {
  color: var(--beige-dark);
}
.compare-summary {
  margin-top: clamp(20px, 3vw, 28px);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   Quick answers strip (GEO: above-the-fold Q&A cards).
   Sits directly under the hero on primary product pages.
   Duplicates two FAQ Q&A pairs into a visible 2-card grid so
   LLM crawlers and human visitors see the answer immediately.
   ============================================================ */

.quick-answers {
  padding: clamp(28px, 4vw, 40px) 0;
  background: var(--beige-light);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}
.quick-answers .qa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.quick-answers .qa-card {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  padding: clamp(18px, 2vw, 24px);
}
.quick-answers .qa-card h2 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--text);
  line-height: 1.3;
}
.quick-answers .qa-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
  color: var(--text-muted);
}
.quick-answers .qa-card p a { color: var(--text); }

/* P3d: Print stylesheet - keep legal copy printable without nav, footer or interactive chrome */
@media print {
  .site-nav,
  .site-footer,
  .sticky-cta,
  .skip-link,
  .hero-actions,
  .closing-cta,
  .nav-signin,
  .testimonial-strip {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
    line-height: 1.5;
  }
  a { color: #000; text-decoration: underline; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  h1, h2, h3 { page-break-after: avoid; }
  .page-main, .container, .container-narrow { max-width: 100%; padding: 0; }
  .legal-highlight, .page-cta { background: #fff; border: 1px solid #ccc; }
}

/* ============================================================
   Blog / Guides hub + article pages.
   Used by /blog/index.html (hub) and /blog/*.html (articles).
   Article uses .container-narrow for comfortable reading width.
   ============================================================ */

/* --- Hub grid --- */
.blog-hub-hero {
  padding: clamp(48px, 7vw, 96px) 0 clamp(28px, 4vw, 40px);
  background: var(--bg);
  text-align: center;
}
.blog-hub-hero h1 {
  font-size: var(--h1);
  font-weight: 700;
  margin: 0 auto clamp(12px, 2vw, 16px);
  max-width: 760px;
  line-height: 1.15;
}
.blog-hub-hero p {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
}
.blog-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(20px, 3vw, 32px);
  padding: clamp(24px, 4vw, 40px) 0 clamp(48px, 7vw, 80px);
}
.blog-hub-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.15s ease;
  height: 100%;
}
.blog-hub-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: var(--beige);
  text-decoration: none;
}
.blog-hub-card .blog-card-tag {
  display: inline-block;
  font-size: var(--micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--beige-dark);
  background: var(--beige-light);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
  align-self: flex-start;
}
.blog-hub-card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.3;
  color: var(--text);
}
.blog-hub-card .blog-card-meta {
  font-size: var(--micro);
  color: var(--text-soft);
  margin: 0 0 12px;
}
.blog-hub-card .blog-card-excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 16px;
  flex: 1;
}
.blog-hub-card .blog-card-link {
  font-weight: 600;
  color: var(--text);
  font-size: 0.92rem;
}

/* --- Article hero --- */
.article-hero {
  padding: clamp(40px, 6vw, 72px) 0 clamp(20px, 3vw, 32px);
  background: var(--bg);
}
.article-hero .article-breadcrumbs {
  font-size: var(--micro);
  color: var(--text-soft);
  margin: 0 0 16px;
}
.article-hero .article-breadcrumbs a { color: var(--text-muted); }
.article-hero h1 {
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.18;
  letter-spacing: -0.01em;
}
.article-hero .article-deck {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 24px;
  max-width: 720px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: var(--micro);
  color: var(--text-soft);
  align-items: center;
}
.article-meta .article-author {
  font-weight: 600;
  color: var(--text-muted);
}
.article-meta .article-meta-sep {
  color: var(--text-soft);
  opacity: 0.5;
}

/* --- Article body --- */
.article-body {
  padding: clamp(8px, 2vw, 16px) 0 clamp(48px, 7vw, 80px);
}
.article-body h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.7rem);
  font-weight: 700;
  margin: clamp(32px, 4vw, 48px) 0 clamp(12px, 2vw, 16px);
  line-height: 1.25;
  scroll-margin-top: 80px;
}
.article-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: clamp(20px, 3vw, 28px) 0 8px;
  color: var(--text);
}
.article-body p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0 0 16px;
  color: var(--text);
}
.article-body p a { color: var(--text); text-decoration: underline; text-decoration-color: var(--beige); text-underline-offset: 3px; }
.article-body p a:hover { text-decoration-color: var(--beige-dark); }
.article-body ul,
.article-body ol {
  margin: 0 0 20px;
  padding-left: 1.4em;
}
.article-body li {
  font-size: 1.02rem;
  line-height: 1.65;
  margin: 0 0 8px;
  color: var(--text);
}
.article-body li > strong { color: var(--text); }
.article-body blockquote {
  margin: 24px 0;
  padding: 16px 20px;
  border-left: 3px solid var(--beige);
  background: var(--beige-tint);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: normal;
  color: var(--text-muted);
}
.article-body blockquote p { margin: 0; }

/* --- Table of contents --- */
.article-toc {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin: clamp(20px, 3vw, 28px) 0 clamp(28px, 4vw, 40px);
}
.article-toc h2 {
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-soft);
  margin: 0 0 10px !important;
}
.article-toc ol {
  list-style: decimal;
  padding-left: 1.3em;
  margin: 0;
}
.article-toc li {
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 4px 0;
}
.article-toc li a { color: var(--text-muted); text-decoration: none; }
.article-toc li a:hover { color: var(--text); text-decoration: underline; }

/* --- Callout / what-the-law-says boxes --- */
.article-callout {
  background: var(--beige-light);
  border: 1px solid var(--beige);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin: 24px 0;
}
.article-callout .callout-label {
  display: inline-block;
  font-size: var(--micro);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--beige-dark);
  margin-bottom: 8px;
}
.article-callout p:last-child { margin-bottom: 0; }

/* --- Legislation referenced list --- */
.legislation-list {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: clamp(28px, 4vw, 40px) 0;
}
.legislation-list h2 {
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-soft);
  margin: 0 0 12px !important;
}
.legislation-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.legislation-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.95rem;
}
.legislation-list li:last-child { border-bottom: none; }
.legislation-list li a { color: var(--text); font-weight: 500; }

/* --- Author card (inline at article foot) --- */
.author-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 24px;
  background: var(--beige-tint);
  border: 1px solid var(--beige-light);
  border-radius: var(--radius-md);
  margin: clamp(28px, 4vw, 40px) 0;
}
.author-card .author-avatar {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--beige);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
}
.author-card .author-meta { flex: 1; }
.author-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--text);
}
.author-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* --- Related reading strip (on articles AND product pages) --- */
.related-reading {
  padding: clamp(32px, 5vw, 56px) 0;
  background: var(--beige-tint);
  border-top: 1px solid var(--border-soft);
}
.related-reading .section-heading h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  margin-bottom: 8px;
}
.related-reading .related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
  margin-top: clamp(20px, 3vw, 28px);
}
.related-reading .related-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
  display: block;
}
.related-reading .related-card:hover {
  border-color: var(--beige);
  transform: translateY(-2px);
  text-decoration: none;
}
.related-reading .related-card .related-tag {
  font-size: var(--micro);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--beige-dark);
}
.related-reading .related-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 6px 0 6px;
  line-height: 1.35;
  color: var(--text);
}
.related-reading .related-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 10px;
}
.related-reading .related-card .related-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

/* --- In-article product CTA card --- */
.article-product-cta {
  background: var(--beige-tint);
  border: 1px solid var(--beige);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 28px);
  margin: clamp(28px, 4vw, 40px) 0;
  text-align: center;
}
.article-product-cta h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--text);
}
.article-product-cta p {
  margin: 0 0 16px;
  color: var(--text-muted);
}
.article-product-cta .btn { display: inline-block; }

/* --- "Latest from the guides" 3-card strip (used on umbrella) --- */
.latest-guides {
  padding: clamp(40px, 6vw, 64px) 0;
  background: var(--bg);
  border-top: 1px solid var(--border-soft);
}

/* --- Print: hide TOC, related reading and CTA cards --- */
@media print {
  .article-toc,
  .related-reading,
  .article-product-cta,
  .author-card {
    display: none !important;
  }
}
