/* ============================================
   DIFFLAW — SHARED STYLESHEET
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@700&family=DM+Sans:wght@300;400;500&display=swap');

/* ===== DESIGN TOKENS ===== */
:root {
  --yellow: #FFC107;
  --yellow-dark: #E5A800;
  --yellow-muted: rgba(255, 193, 7, 0.08);
  --black: #0A0A0A;
  --black-2: #1A1A1A;
  --white: #FFFFFF;
  --off-white: #F9F8F5;
  --grey-1: #F0EFE9;
  --grey-2: #5A5A5A;
  --grey-3: #9A9A9A;
  --border-light: rgba(10, 10, 10, 0.1);
  --border-dark: rgba(255, 255, 255, 0.1);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 4px;
  --nav-height: 64px;
  --max-width: 1200px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  height: var(--nav-height);
}
.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.nav__logo img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: invert(1);
}
.nav__links {
  display: flex;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}
.nav__links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.15s;
}
.nav__links a:hover { color: var(--white); }
.nav__cta {
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  transition: background 0.15s, transform 0.15s;
  flex-shrink: 0;
  white-space: nowrap;
}
.nav__cta:hover { background: var(--yellow-dark); transform: scale(0.98); }
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: all 0.2s;
}
.nav__mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: var(--black);
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-dark);
  z-index: 999;
  flex-direction: column;
  gap: 1rem;
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  transition: color 0.15s;
}
.nav__mobile a:hover { color: var(--white); }
.nav__mobile .nav__cta { text-align: center; margin-top: 0.25rem; }

/* ===== FOOTER ===== */
.footer { background: var(--black); color: var(--white); }
.footer__main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3.5rem 2rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 3rem;
  align-items: start;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}
.footer__brand img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: invert(1);
}
.footer__tagline {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.6;
  max-width: 220px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  text-align: center;
}
.footer__links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.15s;
}
.footer__links a:hover { color: var(--white); }
.footer__contact-col {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-end;
  text-align: right;
}
.footer__contact-col a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.15s;
}
.footer__contact-col a:hover { color: var(--white); }
.footer__divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer__bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer__copy {
  font-size: 0.775rem;
  color: rgba(255,255,255,0.33);
}
.footer__disclaimer {
  font-weight: 300;
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.25);
  line-height: 1.65;
  max-width: 680px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, border-color 0.15s;
  line-height: 1;
}
.btn--primary { background: var(--black); color: var(--white); }
.btn--primary:hover { background: #222; transform: scale(0.98); }
.btn--yellow { background: var(--yellow); color: var(--black); }
.btn--yellow:hover { background: var(--yellow-dark); transform: scale(0.98); }
.btn--outline { background: transparent; color: var(--black); border: 1.5px solid rgba(10,10,10,0.4); }
.btn--outline:hover { border-color: var(--black); transform: scale(0.98); }
.btn--outline-white { background: transparent; color: var(--white); border: 1.5px solid rgba(255,255,255,0.3); }
.btn--outline-white:hover { border-color: var(--white); transform: scale(0.98); }

/* ===== SPARK ===== */
.spark-deco {
  position: absolute;
  pointer-events: none;
}
.spark-icon {
  display: inline-block;
  flex-shrink: 0;
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}
.reveal.visible { opacity: 1; transform: none; }
.clip-reveal {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.5s ease-out;
}
.clip-reveal.visible { clip-path: inset(0% 0 0 0); }

/* ===== HERO (INDEX) ===== */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--yellow);
  padding-top: calc(var(--nav-height) + 5rem);
  padding-bottom: 5rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}
.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
}
.hero__pre {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(10,10,10,0.55);
  margin-bottom: 1.25rem;
}
.hero__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 4.25rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--black);
  margin-bottom: 1.5rem;
  overflow: hidden;
}
.hero__sub {
  font-weight: 300;
  font-size: 1.075rem;
  color: rgba(10,10,10,0.68);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 2rem;
}
.hero__buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.hero__trust {
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(10,10,10,0.58);
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero__visual { display: flex; justify-content: center; }

/* Contract card mockup */
.contract-card {
  background: var(--black-2);
  border: 1px solid rgba(255,255,255,0.07);
  border-top: 3px solid var(--yellow);
  border-radius: var(--radius);
  padding: 1.5rem;
  width: 100%;
  max-width: 360px;
  box-shadow: 0 24px 72px rgba(0,0,0,0.35);
}
.contract-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  gap: 0.5rem;
}
.contract-card__filename {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  font-family: 'Courier New', monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.contract-card__status {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--yellow);
  border: 1px solid rgba(255,193,7,0.4);
  padding: 0.2rem 0.45rem;
  border-radius: var(--radius);
  flex-shrink: 0;
}
.contract-card__score-section { margin-bottom: 1.25rem; }
.contract-card__score-label {
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}
.contract-card__score-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.contract-card__score-bar {
  flex: 1;
  height: 5px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.contract-card__score-fill {
  height: 100%;
  background: var(--yellow);
  border-radius: 2px;
  width: 68%;
}
.contract-card__score-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--yellow);
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.contract-card__flags-label {
  font-size: 0.65rem;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.65rem;
}
.contract-card__flags { display: flex; flex-direction: column; gap: 0.5rem; }
.contract-flag {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.6rem 0.75rem;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.06);
}
.flag-badge {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.18rem 0.38rem;
  border-radius: 2px;
  flex-shrink: 0;
  margin-top: 1px;
}
.flag-badge--high { background: rgba(220,38,38,0.18); color: #FC8181; }
.flag-badge--med  { background: rgba(251,146,60,0.18); color: #FDBA74; }
.flag-badge--low  { background: rgba(34,197,94,0.18);  color: #86EFAC; }
.flag-text {
  font-size: 0.74rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.45;
}

/* ===== STATS BAR ===== */
.stats {
  background: var(--black);
  padding: 3.5rem 0;
}
.stats__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1px 1fr 1px 1fr 1px 1fr;
  align-items: center;
}
.stat { text-align: center; padding: 0 2rem; }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.35rem;
}
.stat__label {
  font-size: 0.8rem;
  color: var(--grey-3);
  font-weight: 400;
}
.stat__divider {
  height: 48px;
  width: 1px;
  background: var(--yellow);
  opacity: 0.35;
}

/* ===== PROBLEM ===== */
.problem {
  background: var(--off-white);
  padding: 6rem 2rem;
}
.problem__inner { max-width: var(--max-width); margin: 0 auto; }
.problem__header { text-align: center; margin-bottom: 3rem; }
.problem__title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: var(--black);
  max-width: 600px;
  margin: 0 auto;
}
.problem__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.problem-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-left: 3px solid transparent;
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.15s, border-left-color 0.15s;
}
.problem-card:hover { transform: translateY(-2px); border-left-color: var(--yellow); }
.problem-card__icon {
  width: 20px; height: 20px;
  color: var(--yellow-dark);
  margin-bottom: 1rem;
}
.problem-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--black);
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}
.problem-card__text {
  font-size: 0.9rem;
  color: var(--grey-2);
  line-height: 1.65;
}
.problem__footer { text-align: center; padding-top: 1rem; }
.problem__cta-text {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: var(--black);
  letter-spacing: -0.03em;
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
  background: var(--black);
  padding: 6rem 2rem;
}
.how-it-works__inner { max-width: var(--max-width); margin: 0 auto; }
.how-it-works__header { text-align: center; margin-bottom: 4rem; }
.how-it-works__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--white);
  max-width: 520px;
  margin: 0 auto;
}
.step {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 2.5rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border-dark);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--border-dark); }
.step__num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5rem);
  color: var(--yellow);
  letter-spacing: -0.05em;
  line-height: 1;
}
.step__title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}
.step__desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  max-width: 560px;
}

/* ===== FEATURES (HOME) ===== */
.features {
  background: var(--off-white);
  padding: 6rem 2rem;
}
.features__inner { max-width: var(--max-width); margin: 0 auto; }
.features__header { text-align: center; margin-bottom: 3rem; }
.features__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--black);
  max-width: 600px;
  margin: 0 auto;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-left: 3px solid transparent;
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform 0.15s, border-left-color 0.15s;
}
.feature-card:hover { transform: translateY(-2px); border-left-color: var(--yellow); }
.feature-card__icon {
  width: 20px; height: 20px;
  color: var(--yellow-dark);
  margin-bottom: 1rem;
}
.feature-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--black);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}
.feature-card__text {
  font-size: 0.875rem;
  color: var(--grey-2);
  line-height: 1.65;
}

/* ===== PRICING ===== */
.pricing {
  background: var(--black);
  padding: 6rem 2rem;
}
.pricing__inner { max-width: var(--max-width); margin: 0 auto; }
.pricing__header { text-align: center; margin-bottom: 3rem; }
.pricing__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--white);
}
.pricing__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.pricing-card {
  background: var(--black-2);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.pricing-card--featured { border-color: var(--yellow); }
.pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow);
  color: var(--black);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius);
  white-space: nowrap;
}
.pricing-card__plan {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-3);
  margin-bottom: 0.75rem;
}
.pricing-card__price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.2rem;
}
.pricing-card__price span {
  font-size: 1rem;
  color: var(--grey-3);
  font-family: var(--font-body);
  font-weight: 400;
}
.pricing-card__period {
  font-size: 0.8rem;
  color: var(--grey-3);
  margin-bottom: 1.5rem;
}
.pricing-card__divider {
  border: none;
  border-top: 1px solid var(--border-dark);
  margin-bottom: 1.5rem;
}
.pricing-card__features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}
.pricing-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.45;
}
.pricing-card__features li .spark-icon { margin-top: 2px; }

/* ===== CTA BANNER ===== */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: var(--yellow);
  padding: 6rem 2rem;
  text-align: center;
}
.cta-banner__inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta-banner__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--black);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1rem;
}
.cta-banner__sub {
  font-weight: 300;
  font-size: 1.05rem;
  color: rgba(10,10,10,0.62);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* ===== PAGE HERO (FEATURES / LEGAL) ===== */
.page-hero {
  background: var(--black);
  padding-top: calc(var(--nav-height) + 5rem);
  padding-bottom: 5rem;
  padding-left: 2rem;
  padding-right: 2rem;
  text-align: center;
}
.page-hero__inner { max-width: var(--max-width); margin: 0 auto; }
.page-hero__pre {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
}
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 1.25rem;
}
.page-hero__sub {
  font-weight: 300;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.5);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.65;
}
.page-hero__meta {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  margin-top: 0.75rem;
}

/* ===== FEATURE SECTIONS (FEATURES PAGE) ===== */
.feature-section { padding: 6rem 2rem; }
.feature-section--dark { background: var(--black); }
.feature-section--light { background: var(--off-white); }
.feature-section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.feature-section--flip .feature-section__inner {
  direction: rtl;
}
.feature-section--flip .feature-section__inner > * { direction: ltr; }
.feature-section__tag {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.feature-section--dark .feature-section__tag { color: var(--yellow); }
.feature-section--light .feature-section__tag { color: var(--yellow-dark); }
.feature-section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1rem;
}
.feature-section--dark .feature-section__title { color: var(--white); }
.feature-section--light .feature-section__title { color: var(--black); }
.feature-section__desc {
  font-size: 0.95rem;
  line-height: 1.72;
  margin-bottom: 1.5rem;
}
.feature-section--dark .feature-section__desc { color: rgba(255,255,255,0.52); }
.feature-section--light .feature-section__desc { color: var(--grey-2); }
.feature-section__list { display: flex; flex-direction: column; gap: 0.65rem; }
.feature-section__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  line-height: 1.5;
}
.feature-section--dark .feature-section__list li { color: rgba(255,255,255,0.68); }
.feature-section--light .feature-section__list li { color: var(--grey-2); }

/* Feature mockup cards */
.feature-mockup {
  background: var(--black-2);
  border: 1px solid rgba(255,255,255,0.07);
  border-top: 3px solid var(--yellow);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.feature-section--light .feature-mockup {
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}
.mockup__label {
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.85rem;
}
.mockup__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.75rem;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  margin-bottom: 0.45rem;
  gap: 0.75rem;
}
.mockup__key {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.4;
}
.mockup__val {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--white);
  text-align: right;
  flex-shrink: 0;
}
.mockup__pill {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 0.18rem 0.45rem;
  border-radius: 2px;
  flex-shrink: 0;
}
.mockup__pill--high  { background: rgba(220,38,38,0.18);  color: #FC8181; }
.mockup__pill--med   { background: rgba(251,146,60,0.18);  color: #FDBA74; }
.mockup__pill--low   { background: rgba(34,197,94,0.18);   color: #86EFAC; }
.mockup__pill--yellow{ background: rgba(255,193,7,0.18);   color: var(--yellow); }
.mockup__pill--blue  { background: rgba(96,165,250,0.18);  color: #93C5FD; }
.mockup__divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin: 0.75rem 0;
}
.mockup__score-big {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--yellow);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.mockup__score-bar {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}
.mockup__score-fill {
  height: 100%;
  background: var(--yellow);
  border-radius: 2px;
}
.mockup__clause-box {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 0.75rem;
  margin-bottom: 0.45rem;
}
.mockup__clause-label {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0.4rem;
}
.mockup__clause-text {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  font-style: italic;
}
.mockup__plain-text {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}
.mockup__file-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  margin-bottom: 0.45rem;
}
.mockup__file-icon {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--yellow);
  background: rgba(255,193,7,0.12);
  padding: 0.2rem 0.4rem;
  border-radius: 2px;
  min-width: 42px;
  text-align: center;
}
.mockup__file-name {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
}
.mockup__file-status {
  margin-left: auto;
  font-size: 0.68rem;
  color: #86EFAC;
}

/* ===== LEGAL PAGES ===== */
.legal-content {
  background: var(--off-white);
  padding: 5rem 2rem 6rem;
}
.legal-content__inner {
  max-width: 740px;
  margin: 0 auto;
}
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--black);
  letter-spacing: -0.02em;
  margin-top: 2.75rem;
  margin-bottom: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-light);
}
.legal-content h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.legal-content p {
  font-size: 0.9375rem;
  color: var(--grey-2);
  line-height: 1.75;
  margin-bottom: 0.9rem;
}
.legal-content ul, .legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 0.9rem;
}
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content li {
  font-size: 0.9375rem;
  color: var(--grey-2);
  line-height: 1.75;
  margin-bottom: 0.3rem;
}
.legal-content a {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-content a:hover { color: var(--yellow-dark); }
.legal-notice {
  background: var(--grey-1);
  border: 1px solid var(--border-light);
  border-left: 3px solid var(--yellow-dark);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.legal-notice p {
  margin: 0;
  font-weight: 500;
  color: var(--black);
  font-size: 0.9375rem;
}
.legal-notice--critical {
  background: rgba(220,38,38,0.04);
  border-left-color: #EF4444;
}
.legal-notice--critical p { color: #991B1B; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero__inner { gap: 3rem; }
  .features__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__cards { grid-template-columns: repeat(2, 1fr); }
  .feature-section__inner { gap: 3rem; }
}

@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }

  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__content { max-width: 100%; }
  .hero__visual { justify-content: flex-start; }
  .contract-card { max-width: 100%; }

  .stats__inner { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
  .stat__divider { display: none; }

  .problem__cards { grid-template-columns: 1fr; }

  .step { grid-template-columns: 1fr; gap: 0.5rem; }
  .step__num { font-size: 3rem; }

  .features__grid { grid-template-columns: 1fr; }

  .pricing__cards { grid-template-columns: 1fr; }

  .feature-section__inner { grid-template-columns: 1fr; gap: 2rem; }
  .feature-section--flip .feature-section__inner { direction: ltr; }

  .footer__main { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
  .footer__brand { justify-content: center; }
  .footer__contact-col { align-items: center; text-align: center; }
  .footer__tagline { margin: 0 auto; }
}

@media (max-width: 480px) {
  .hero__buttons { flex-direction: column; }
  .hero__trust { flex-direction: column; gap: 0.4rem; }
  .stats__inner { grid-template-columns: 1fr; text-align: center; gap: 1.75rem; }
}
