/* ============================================================
   Negishut — landing page styles

   DESIGN POSTURE
   --------------
   Refined editorial. Trustworthy, modern, slightly distinctive.
   B2B tool for risk-averse Israeli SMB owners — the aesthetic
   ceiling is "considered and credible", not "bold maximalism".

   TYPE PAIRING
   ------------
   Display: Frank Ruhl Libre (Hebrew serif, editorial gravitas)
   Body:    Heebo            (Hebrew geometric sans, clean)

   PALETTE
   -------
   Warm off-white background. Deep navy as the dominant brand
   color. Rust accent used sparingly (only at high-impact moments).

   To retheme the entire site (and the embedded widget), edit
   the brand tokens in :root. Nothing reaches for hex inline.
   ============================================================ */

:root {
  /* ---- Brand: Arctic Frost (edit these to retheme) ---- */
  --brand-primary:        #4a6fa5;   /* steel blue */
  --brand-primary-dark:   #2e4d7a;
  --brand-primary-light:  #7a9bca;
  --brand-primary-faint:  #d4e4f7;   /* ice blue */
  --brand-accent:         #4a6fa5;
  --brand-accent-dark:    #2e4d7a;

  /* ---- Neutral palette ---- */
  --bg-primary:           #fafafa;   /* crisp white */
  --bg-secondary:         #f0f5fc;
  --bg-section-alt:       #e4ecf6;
  --bg-dark:              #2e4d7a;
  --bg-dark-deeper:       #1e3559;

  --text-primary:         #1a232f;
  --text-secondary:       #3d4654;
  --text-muted:           #6a7280;
  --text-on-dark:         #fafafa;
  --text-on-dark-muted:   #b8c5d6;

  --border-default:       #c5d3e6;
  --border-hairline:      #aab9d0;
  --border-on-dark:       rgba(255,255,255,0.12);

  /* ---- Push site brand to the widget ---- */
  --negishut-accent:      var(--brand-primary);
  --negishut-accent-dark: var(--brand-primary-dark);

  /* ---- Type (Heebo for both display and body — Arctic Frost calls for sans throughout) ---- */
  --font-display:   "Heebo", "Assistant", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-body:      "Heebo", "Assistant", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono:      ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  --fs-display:     clamp(2rem, 6.5vw, 5.25rem);
  --fs-h1:          clamp(1.875rem, 4.5vw, 3.75rem);
  --fs-h2:          clamp(1.625rem, 3.3vw, 2.875rem);
  --fs-h3:          1.375rem;
  --fs-lede:        1.1875rem;
  --fs-base:        1rem;
  --fs-sm:          0.9375rem;
  --fs-xs:          0.8125rem;
  --fs-eyebrow:     0.75rem;
  --fs-num:         clamp(5rem, 14vw, 10rem);

  --lh-tight:       1.08;
  --lh-snug:        1.25;
  --lh-base:        1.6;
  --lh-relaxed:     1.75;
  --tracking-wide:  0.12em;
  --tracking-tight: -0.02em;

  /* ---- Space ---- */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* ---- Radii / motion ---- */
  --radius-sm:   4px;
  --radius-md:   8px;
  --radius-lg:   14px;
  --radius-pill: 999px;
  --motion-fast: 180ms cubic-bezier(0.4, 0, 0.2, 1);
  --motion-base: 320ms cubic-bezier(0.4, 0, 0.2, 1);

  /* ---- Shadows (restrained) ---- */
  --shadow-soft:  0 1px 2px rgba(46, 77, 122, 0.04), 0 2px 6px rgba(46, 77, 122, 0.04);
  --shadow-md:    0 4px 14px rgba(46, 77, 122, 0.10), 0 1px 3px rgba(46, 77, 122, 0.04);
  --shadow-lg:    0 20px 48px rgba(46, 77, 122, 0.14), 0 4px 12px rgba(46, 77, 122, 0.06);

  /* ---- Layout ---- */
  --container-max:    1180px;
  --container-narrow: 800px;
  --container-pad:    1.5rem;
}

/* ============================================================
   Reset / base
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--text-primary);
  background: var(--bg-primary);
  direction: rtl;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(74, 111, 165, 0.05), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(74, 111, 165, 0.03), transparent 60%);
  background-attachment: fixed;
}

h1, h2 { text-wrap: balance; }
p, li { text-wrap: pretty; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0 0 var(--space-4);
  color: var(--text-primary);
  font-weight: 500;
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 {
  font-size: var(--fs-h3);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0;
  line-height: var(--lh-snug);
}
h4 { font-size: 1.0625rem; font-family: var(--font-body); font-weight: 600; }

p {
  margin: 0 0 var(--space-4);
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--motion-fast);
}
a:hover { color: var(--brand-primary); }

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

ul, ol { padding-inline-start: 1.25rem; margin: 0 0 var(--space-4); }
li { margin-bottom: var(--space-2); line-height: var(--lh-relaxed); color: var(--text-secondary); }

code {
  font-family: var(--font-mono);
  font-size: 0.92em;
  background: rgba(74, 111, 165, 0.10);
  padding: 0.08em 0.4em;
  border-radius: var(--radius-sm);
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

:focus-visible {
  outline: 2px solid var(--brand-primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

::selection {
  background: var(--brand-primary);
  color: var(--text-on-dark);
}

/* ============================================================
   Layout primitives
   ============================================================ */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.container--narrow { max-width: var(--container-narrow); }

.section {
  padding: var(--space-24) 0;
  position: relative;
}
.section--alt { background: var(--bg-secondary); }

@media (max-width: 760px) {
  .section { padding: var(--space-16) 0; }
}

.section-head {
  max-width: 720px;
  margin: 0 auto var(--space-16);
  text-align: center;
}
.section-head p {
  font-size: var(--fs-lede);
  line-height: var(--lh-relaxed);
  margin-top: var(--space-3);
  color: var(--text-secondary);
}

.section__label {
  display: inline-flex;
  align-items: baseline;
  gap: var(--space-3);
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--brand-primary);
  margin-bottom: var(--space-4);
}
.section__label::before {
  content: attr(data-num);
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--brand-accent);
  text-transform: none;
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--motion-fast), color var(--motion-fast),
              transform var(--motion-fast), box-shadow var(--motion-fast),
              border-color var(--motion-fast);
  white-space: nowrap;
  line-height: 1.2;
}

.btn--primary {
  background: var(--brand-primary);
  color: var(--text-on-dark);
  box-shadow: var(--shadow-md);
}
.btn--primary:hover {
  background: var(--brand-primary-dark);
  color: var(--text-on-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-hairline);
}
.btn--secondary:hover {
  color: var(--brand-primary);
  border-color: var(--brand-primary);
  background: rgba(74, 111, 165, 0.05);
}

.btn--on-dark {
  background: var(--text-on-dark);
  color: var(--brand-primary-dark);
}
.btn--on-dark:hover {
  background: #ffffff;
  color: var(--brand-primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn--whatsapp { background: #25d366; color: #fff; }
.btn--whatsapp:hover { background: #1ebe57; color: #fff; transform: translateY(-1px); }

.btn--lg { padding: var(--space-4) var(--space-8); font-size: var(--fs-lede); }
.btn--sm { padding: var(--space-2) var(--space-5); font-size: var(--fs-sm); }

/* ============================================================
   Header
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border-default);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--text-primary);
}
.brand:hover { color: var(--text-primary); }
.brand__mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: var(--text-on-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
}
.brand__suffix {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  border-inline-start: 1px solid var(--border-hairline);
  padding-inline-start: var(--space-3);
  margin-inline-start: var(--space-2);
}

.nav { display: flex; align-items: center; gap: var(--space-6); }
.nav__link {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
}
.nav__link::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-inline-end: 0;
  bottom: -4px;
  height: 1.5px;
  background: var(--brand-primary);
  transform: scaleX(0);
  transition: transform var(--motion-fast);
}
.nav__link:hover { color: var(--brand-primary); }
.nav__link:hover::after { transform: scaleX(1); }

@media (max-width: 760px) {
  .nav__link { display: none; }
}

/* ============================================================
   Hero
   ============================================================ */

.hero {
  position: relative;
  padding: var(--space-32) 0 var(--space-24);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(74, 111, 165, 0.08), transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 50%, rgba(74, 111, 165, 0.04), transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--brand-primary);
  background: var(--brand-primary-faint);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-8);
}
.hero__title {
  font-size: var(--fs-display);
  font-family: var(--font-display);
  font-weight: 500;
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-tight);
  margin: 0 0 var(--space-6);
  color: var(--text-primary);
}
.hero__title em {
  font-style: normal;
  color: var(--brand-accent);
  font-weight: 700;
}
.hero__subtitle {
  font-size: var(--fs-lede);
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
  max-width: 38em;
  margin: 0 auto var(--space-10);
}
.hero__cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-5);
}
.hero__meta {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}
.hero__meta strong { color: var(--text-primary); font-weight: 600; }
.hero__fine {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin: 0;
}

/* ============================================================
   Why (editorial 3-column)
   ============================================================ */

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-10) var(--space-12);
}
.why-item {
  position: relative;
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-hairline);
}
.why-item__num {
  position: absolute;
  top: -0.6em;
  inset-inline-start: 0;
  background: var(--bg-primary);
  padding-inline-end: var(--space-3);
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--brand-accent);
  font-style: italic;
  font-weight: 500;
}
.section--alt .why-item__num { background: var(--bg-secondary); }
.why-item h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  margin: 0 0 var(--space-3);
}
.why-item p { margin: 0; }

@media (max-width: 760px) {
  .why-grid { grid-template-columns: 1fr; gap: var(--space-8); }
}

/* ============================================================
   Steps (How it works) — editorial numerals
   ============================================================ */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-12);
}
.step { text-align: start; }
.step__num {
  display: block;
  font-family: var(--font-display);
  font-size: 3.75rem;
  font-weight: 500;
  line-height: 1;
  color: var(--brand-primary);
  margin-bottom: var(--space-5);
  letter-spacing: var(--tracking-tight);
}
.step__num::before {
  content: "№ ";
  font-size: 0.5em;
  color: var(--brand-accent);
  font-style: italic;
  vertical-align: 0.45em;
  margin-inline-end: 0.1em;
  font-weight: 500;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  margin-bottom: var(--space-3);
}
.step__body { color: var(--text-secondary); line-height: var(--lh-relaxed); margin: 0; }

@media (max-width: 760px) {
  .steps { grid-template-columns: 1fr; gap: var(--space-10); }
}

.how-cta {
  text-align: center;
  margin-top: var(--space-16);
  padding-top: var(--space-10);
  border-top: 1px solid var(--border-default);
}
.how-cta__note {
  margin: var(--space-4) 0 0;
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

/* ============================================================
   Features (4 groups, hairline-topped panels)
   ============================================================ */

.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-10) var(--space-12);
}
.feature-group { padding-top: var(--space-5); border-top: 2px solid var(--brand-primary); }
.feature-group__head {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.feature-group__icon {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 500;
  color: var(--brand-accent);
  line-height: 1;
}
.feature-group__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: var(--tracking-tight);
  margin: 0;
}
.feature-group__list { list-style: none; padding: 0; margin: 0; }
.feature-group__list li {
  position: relative;
  padding: var(--space-3) 0;
  padding-inline-start: var(--space-6);
  border-bottom: 1px solid var(--border-default);
  color: var(--text-secondary);
  line-height: var(--lh-snug);
}
.feature-group__list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  background: var(--brand-primary);
  border-radius: 50%;
}
.feature-group__list li:last-child { border-bottom: none; }

@media (max-width: 760px) {
  .features { grid-template-columns: 1fr; gap: var(--space-10); }
}

/* ============================================================
   Pricing — centerpiece, dark
   ============================================================ */

.pricing-section {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding: var(--space-32) 0;
  position: relative;
  overflow: hidden;
}
.pricing-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 20% 30%, rgba(255,255,255,0.05), transparent 70%),
    radial-gradient(ellipse 30% 30% at 80% 70%, rgba(201, 73, 47, 0.10), transparent 70%);
  pointer-events: none;
}

.pricing-inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.pricing-section .section__label { color: var(--text-on-dark); opacity: 0.85; }
.pricing-inner h2 { color: var(--text-on-dark); margin-bottom: var(--space-4); }
.pricing-inner > p {
  color: var(--text-on-dark-muted);
  font-size: var(--fs-lede);
  margin-bottom: var(--space-12);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
  direction: ltr;
}
.pricing-price__num {
  font-family: var(--font-display);
  font-size: var(--fs-num);
  font-weight: 500;
  line-height: 0.95;
  color: var(--text-on-dark);
  letter-spacing: var(--tracking-tight);
}
.pricing-price__sign {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 500;
  color: var(--brand-accent);
  line-height: 1;
}
.pricing-price__period {
  font-family: var(--font-body);
  font-size: 1.125rem;
  color: var(--text-on-dark-muted);
}
.pricing-vat {
  text-align: center;
  color: var(--text-on-dark-muted);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-12);
}

.pricing-list {
  list-style: none;
  padding: 0;
  margin: 0 auto var(--space-10);
  max-width: 480px;
  text-align: start;
}
.pricing-list li {
  position: relative;
  padding: var(--space-3) 0;
  padding-inline-start: var(--space-8);
  color: var(--text-on-dark);
  font-size: var(--fs-base);
  border-bottom: 1px solid var(--border-on-dark);
  margin: 0;
  line-height: var(--lh-snug);
}
.pricing-list li:last-child { border-bottom: none; }
.pricing-list li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  color: var(--brand-accent);
  font-weight: 700;
  top: var(--space-3);
}

.pricing-cta { text-align: center; }
.pricing-fine {
  margin: var(--space-6) auto 0;
  max-width: 480px;
  font-size: var(--fs-sm);
  color: var(--text-on-dark-muted);
  line-height: var(--lh-relaxed);
}

/* ============================================================
   FAQ — article-style accordions
   ============================================================ */

.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border-default);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-6) 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  line-height: var(--lh-snug);
  transition: color var(--motion-fast);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  background-image:
    linear-gradient(currentColor, currentColor),
    linear-gradient(currentColor, currentColor);
  background-size: 14px 1.5px, 1.5px 14px;
  background-position: center, center;
  background-repeat: no-repeat;
  transition: transform var(--motion-base);
  color: var(--brand-primary);
}
.faq-item[open] summary::after {
  background-size: 14px 1.5px, 0 14px;
  transform: rotate(180deg);
}
.faq-item summary:hover { color: var(--brand-primary); }
.faq-item__body {
  padding: 0 0 var(--space-6);
  color: var(--text-secondary);
  max-width: 64ch;
  line-height: var(--lh-relaxed);
}
.faq-item__body p { margin: 0 0 var(--space-3); color: inherit; }
.faq-item__body p:last-child { margin-bottom: 0; }

/* ============================================================
   Contact
   ============================================================ */

.contact { text-align: center; max-width: 640px; margin: 0 auto; }
.contact h2 { margin-bottom: var(--space-3); }
.contact > p { font-size: var(--fs-lede); color: var(--text-secondary); }
.contact__cta {
  display: flex;
  justify-content: center;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-8);
  margin-bottom: var(--space-4);
}
.contact__note { color: var(--text-muted); font-size: var(--fs-sm); margin: 0; }

/* ============================================================
   Footer
   ============================================================ */

.site-footer {
  background: var(--bg-dark-deeper);
  color: var(--text-on-dark-muted);
  padding: var(--space-20) 0 var(--space-8);
}
.site-footer a { color: var(--text-on-dark-muted); }
.site-footer a:hover { color: var(--text-on-dark); }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}
.site-footer__col h4 {
  font-family: var(--font-body);
  color: var(--text-on-dark);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  margin-bottom: var(--space-5);
}
.site-footer__col ul { list-style: none; padding: 0; margin: 0; }
.site-footer__col li { margin-bottom: var(--space-2); color: inherit; }
.site-footer__brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-5);
}
.site-footer__brand .brand__name { color: var(--text-on-dark); }
.site-footer__about {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--text-on-dark-muted);
  margin: 0;
}
.site-footer__bottom {
  border-top: 1px solid var(--border-on-dark);
  padding-top: var(--space-6);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  font-size: var(--fs-sm);
  color: var(--text-on-dark-muted);
}
@media (max-width: 760px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .site-footer__col:first-child { grid-column: 1 / -1; }
}

/* ============================================================
   Prose (long-form readable text — legal pages, articles)
   ============================================================ */

.prose-page {
  padding: var(--space-12) 0 var(--space-24);
}
.prose {
  max-width: 720px;
  margin: 0 auto;
}
.prose h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: var(--space-6);
  letter-spacing: var(--tracking-tight);
}
.prose h2 {
  font-size: 1.5rem;
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
  letter-spacing: 0;
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-default);
}
.prose h2:first-of-type { border-top: none; padding-top: 0; }
.prose h3 {
  font-size: 1.1875rem;
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}
.prose p,
.prose li {
  font-size: 1rem;
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
}
.prose p { margin-bottom: var(--space-4); }
.prose ul, .prose ol {
  margin-bottom: var(--space-5);
  padding-inline-start: 1.5rem;
}
.prose li { margin-bottom: var(--space-2); }
.prose strong { color: var(--text-primary); font-weight: 600; }
.prose a {
  color: var(--brand-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--brand-primary-dark); text-decoration-thickness: 2px; }
.prose blockquote {
  margin: var(--space-6) 0;
  padding: var(--space-4) var(--space-5);
  border-inline-start: 3px solid var(--brand-primary);
  background: var(--brand-primary-faint);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.9375rem;
  color: var(--text-primary);
}
.prose blockquote p { margin-bottom: var(--space-2); color: var(--text-primary); }
.prose blockquote p:last-child { margin-bottom: 0; }
.prose blockquote em {
  display: block;
  margin-top: var(--space-2);
  color: var(--text-muted);
  font-style: italic;
  font-size: 0.875rem;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-6) 0;
  font-size: 0.9375rem;
}
.prose th, .prose td {
  text-align: start;
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--border-default);
  vertical-align: top;
}
.prose th {
  background: var(--bg-secondary);
  font-weight: 600;
  color: var(--text-primary);
}
.prose td { color: var(--text-secondary); }
.prose hr {
  border: none;
  border-top: 1px solid var(--border-default);
  margin: var(--space-12) 0;
}
.prose__meta {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: var(--space-8);
}

.prose-toc {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-6);
  margin-bottom: var(--space-10);
  font-size: 0.9375rem;
}
.prose-toc__title {
  font-weight: 600;
  margin-bottom: var(--space-3);
  color: var(--text-primary);
}
.prose-toc ol {
  margin: 0;
  padding-inline-start: 1.25rem;
}
.prose-toc li { margin-bottom: var(--space-1); }

.prose-back {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: var(--space-8);
}
.prose-back:hover { color: var(--brand-primary); }

/* ============================================================
   Page-load reveal — one restrained moment of motion
   ============================================================ */

@keyframes rise-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__eyebrow,
.hero__title,
.hero__subtitle,
.hero__cta,
.hero__meta,
.hero__fine {
  opacity: 0;
  animation: rise-in 0.75s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.hero__eyebrow  { animation-delay: 0.05s; }
.hero__title    { animation-delay: 0.15s; }
.hero__subtitle { animation-delay: 0.30s; }
.hero__cta      { animation-delay: 0.42s; }
.hero__meta     { animation-delay: 0.52s; }
.hero__fine     { animation-delay: 0.58s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .hero__eyebrow, .hero__title, .hero__subtitle,
  .hero__cta, .hero__meta, .hero__fine {
    opacity: 1; transform: none;
  }
  html { scroll-behavior: auto; }
}

/* Draft notice on legal pages — remove once attorney-reviewed versions ship */
.draft-banner {
  margin: 0 0 2rem;
  padding: 0.75rem 1rem;
  border-inline-start: 4px solid var(--brand-primary);
  background: var(--brand-primary-faint);
  color: var(--text-primary);
  font-weight: 600;
}
