/* ==========================================================================
   Online Trust Attorney, landing page styles — v14
   Restyled to the visual language of the "Nyx" Webflow template: a deep
   royal blue ground (#102847), a warm gold accent (#e0b96c), bold Plus
   Jakarta Sans type, sharp square-cornered cards and buttons, hairline
   dividers in translucent white, and Nyx's signature decorative motif of
   large diagonal "skewed" color blocks layered behind hero/CTA imagery.
   Content, links, copy, and interactive behavior are unchanged from v1 / v11.
   ========================================================================== */

:root {
  --ink: #09172a;
  --ink-2: #0d1c30;
  --ink-3: #122336;
  --ink-4: #182b44;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);

  --paper: #f3f2ec;
  --paper-line: rgba(9, 23, 42, 0.12);

  --text: #d9d9d9;
  --text-muted: #a6afb5;
  --text-on-ink: #ffffff;

  --accent: #e0b96c;
  --accent-deep: #b2823a;
  --accent-ink: #09172a;

  --radius-sm: 2px;
  --radius-md: 4px;

  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --topbar-height: 2.75rem;
  --nav-height: 5.25rem;
  --header-height: calc(var(--topbar-height) + var(--nav-height));
}

/* Reset ------------------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: -0.005em;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
a { color: inherit; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 { font-family: var(--font-sans); font-weight: 800; color: var(--text-on-ink); letter-spacing: -0.02em; }
em { font-style: normal; color: var(--accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.75rem 1.25rem;
  font-weight: 700;
}
.skip-link:focus { left: 0; }
main:focus { outline: none; }

/* Icons -------------------------------------------------------------------- */

.icon {
  width: 1.5rem;
  height: 1.5rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-xs { width: 1rem; height: 1rem; }
.icon-sm { width: 1.05rem; height: 1.05rem; }
.icon-lg { width: 2rem; height: 2rem; stroke-width: 1.25; }
.icon-positive { color: var(--accent); }
.icon-negative { color: var(--text-muted); opacity: 0.7; }

/* Layout -------------------------------------------------------------------- */

.section-container { margin-inline: auto; max-width: 88rem; padding-inline: 1.5rem; }
@media (min-width: 640px) { .section-container { padding-inline: 2.5rem; } }
@media (min-width: 1024px) { .section-container { padding-inline: 3rem; } }

.section-pad { padding-block: 5rem; }
.section-pad-sm { padding-block: 4rem; }
.section-pad-bottom { padding-bottom: 5rem; }
@media (min-width: 1024px) {
  .section-pad { padding-block: 8rem; }
  .section-pad-sm { padding-block: 6rem; }
  .section-pad-bottom { padding-bottom: 6.5rem; }
}

.section-tint { background: var(--ink-2); }
.section-paper { background: var(--paper); color: #3a4148; }
.section-paper h2, .section-paper h3 { color: var(--ink); }
.section-paper .section-sub { color: #5a6169; }

/* Typography ----------------------------------------------------------------- */

.eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 3px;
  background: var(--accent);
  flex: none;
}
.eyebrow.muted { color: var(--text-muted); }
.eyebrow.muted::before { background: var(--line-strong); }
.eyebrow.accent { color: var(--accent); }
.section-paper .eyebrow.muted { color: #767e85; }
.section-paper .eyebrow.muted::before { background: #c9c6ba; }

h1 {
  font-size: clamp(2.5rem, 4.6vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--text-on-ink);
}
h2 {
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
}
h3 { font-family: var(--font-sans); font-weight: 700; line-height: 1.3; }
.h2-sm { font-size: clamp(1.5rem, 2.2vw, 1.875rem); line-height: 1.2; }
.invert { color: var(--text-on-ink); }

.section-head { max-width: 44rem; margin-bottom: 3.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.narrow { max-width: 34rem; margin-bottom: 1.5rem; margin-inline: auto; text-align: center; }
.top-content { margin-bottom: 3rem; }
.section-sub { margin-top: 1.25rem; font-size: 1.0625rem; line-height: 1.75; color: var(--text-muted); }
.section-sub-link { margin-top: 1rem; }
.section-foot { margin-top: 2.5rem; }
.section-foot.center { text-align: center; }
.section-paper .section-foot a,
.section-paper .advisor-note a { color: var(--ink); }

/* Links ------------------------------------------------------------------ */

.link-strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-on-ink);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.link-strong:hover { color: var(--accent); }

.link-quiet {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-decoration: none;
}
.link-quiet:hover { text-decoration: underline; }
.section-paper .link-quiet { color: var(--accent-deep); }

.link-underline { color: var(--accent); font-weight: 700; text-decoration: underline; }
.section-paper .link-underline { color: var(--accent-deep); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8125rem;
  text-decoration: none;
  transition: gap 0.2s;
}
.link-arrow:hover { gap: 0.75rem; }

/* Buttons ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  white-space: nowrap;
  font-family: var(--font-sans);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn-sm { height: 2.625rem; padding-inline: 1.375rem; font-size: 0.8125rem; }
.btn-md { height: 3.125rem; padding-inline: 1.75rem; font-size: 0.875rem; }
.btn-lg { height: 3.625rem; padding-inline: 2.25rem; font-size: 0.9375rem; }
.btn-block { width: 100%; }

.btn-gold { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-gold:hover { background: var(--accent-ink); color: var(--accent); border-color: var(--accent); }

.btn-outline { background: transparent; border-color: var(--accent); color: var(--accent); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); background: rgba(224,185,108,0.1); }
.section-paper .btn-outline { border-color: rgba(9,23,42,0.3); color: var(--ink); }
.section-paper .btn-outline:hover { border-color: var(--accent-deep); color: var(--accent-deep); }

.btn-accent { background: var(--ink); border-color: var(--ink); color: var(--accent); }
.btn-accent:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

.btn-outline-light { border-color: rgba(255,255,255,0.35); background: transparent; color: var(--text-on-ink); }
.btn-outline-light:hover { background: rgba(255,255,255,0.08); border-color: var(--text-on-ink); }

/* Header --------------------------------------------------------------------- */

.header-fixed {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
}

.topbar { height: var(--topbar-height); background: var(--ink-2); border-bottom: 1px solid var(--line); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 1.5rem; }
.topbar-contact { display: none; align-items: center; gap: 1.75rem; }
.topbar-contact a { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.8125rem; font-weight: 600; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.topbar-contact a:hover { color: var(--accent); }
.topbar-contact .icon { width: 0.9375rem; height: 0.9375rem; color: var(--accent); }
.topbar .btn { height: auto; padding: 0.4rem 0.8rem; font-size: 0.625rem; gap: 0.4rem; }
@media (min-width: 640px) { .topbar-contact { display: flex; } }
@media (min-width: 1024px) { .topbar-inner { padding-block: 0; } }

.site-header {
  background: rgba(9, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s, border-color 0.25s;
}
.site-header.is-scrolled { border-color: var(--line-strong); box-shadow: 0 8px 24px -12px rgba(0,0,0,0.6); }

.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-height); gap: 1.5rem; }

.brand { display: inline-flex; align-items: center; gap: 0.875rem; line-height: 1; text-decoration: none; }
.brand-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-mark-ring { display: none; }
.brand-mark-text { display: inline-block; transform: skewX(8deg); font-size: 0.75rem; font-weight: 800; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; color: var(--text-on-ink); }
.brand-name-accent { color: var(--accent); }
.brand-firm {
  margin-top: 4px;
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  white-space: nowrap;
  color: var(--text-muted);
  font-weight: 600;
}
@media (max-width: 400px) { .brand-firm { display: none; } }
@media (min-width: 640px) { .brand-mark { height: 2.75rem; width: 2.75rem; } .brand-name { font-size: 1.3rem; } }

.primary-nav { display: none; align-items: center; gap: 1.1rem; }
@media (min-width: 1180px) { .primary-nav { display: flex; } }
@media (min-width: 1320px) { .primary-nav { gap: 1.5rem; } }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--text);
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--accent); }

.dropdown { position: relative; }
.dropdown-trigger .icon { transition: transform 0.2s; }
.dropdown-trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 0.875rem);
  right: 0;
  min-width: 16rem;
  padding: 0.5rem;
  background: var(--ink-2);
  border: 1px solid var(--line-strong);
  animation: dropdownIn 0.15s ease-out;
}
.dropdown-menu a { display: block; padding: 0.625rem 0.75rem; font-size: 0.875rem; font-weight: 600; color: var(--text); text-decoration: none; }
.dropdown-menu a:hover { background: var(--ink-3); color: var(--accent); }

@keyframes dropdownIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  width: 2.75rem;
  margin-right: -0.5rem;
  background: none;
  border: none;
  color: var(--text-on-ink);
  cursor: pointer;
}
@media (min-width: 1180px) { .menu-toggle { display: none; } }

.mobile-nav {
  background: var(--ink-2);
  border-bottom: 1px solid var(--line-strong);
  max-height: calc(100vh - var(--header-height));
  overflow-y: auto;
}
.mobile-nav .section-container { display: flex; flex-direction: column; gap: 0.25rem; padding-block: 1rem 1.5rem; }
.mobile-nav a { padding: 0.875rem 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; font-weight: 700; color: var(--text); text-decoration: none; }
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav-cta { margin-top: 1rem; border-bottom: none !important; }

/* Hero -------------------------------------------------------------------------- */

.hero { position: relative; background: var(--ink); overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-skew-field { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-skew-a {
  position: absolute;
  right: -18%;
  top: -12%;
  width: 62%;
  height: 70%;
  background: linear-gradient(115deg, var(--accent) 30%, var(--accent-deep) 62%, transparent 100%);
  opacity: 0.9;
  transform: rotate(-14deg);
  filter: blur(0.5px);
}
.hero-skew-b {
  position: absolute;
  right: -10%;
  bottom: -22%;
  width: 55%;
  height: 55%;
  background: var(--ink-4);
  transform: rotate(-14deg);
}
.hero-skew-c {
  position: absolute;
  right: 4%;
  top: 30%;
  width: 40%;
  height: 30%;
  background: rgba(232, 245, 0, 0.06);
  border: 1px solid rgba(232, 245, 0, 0.25);
  backdrop-filter: blur(6px);
  transform: rotate(-14deg);
}
.hero-inner { position: relative; z-index: 1; padding-block: 6rem 4.5rem; padding-top: calc(var(--header-height) + 4rem); }
@media (min-width: 1024px) { .hero-inner { padding-block: 7rem 5.5rem; padding-top: calc(var(--header-height) + 5rem); } }

.hero-grid { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 6fr 5fr; gap: 4rem; } }

.lede { margin-top: 1.75rem; font-size: 1.0625rem; line-height: 1.75; max-width: 34rem; color: var(--text-muted); }
@media (min-width: 1024px) { .lede { font-size: 1.1875rem; } }

.hero-actions { margin-top: 2.75rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
@media (min-width: 640px) { .hero-actions { flex-direction: row; align-items: center; gap: 2rem; } }

.hero-frame { position: relative; }

/* Trust strip ---------------------------------------------------------------------- */

.trust-bar { background: var(--ink-2); border-bottom: 1px solid var(--line); padding-block: 3rem; }
@media (min-width: 1024px) { .trust-bar { padding-block: 3.25rem; } }
.trust-grid { display: grid; gap: 2.5rem; }
@media (min-width: 640px) {
  .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .trust-item { padding-inline: 2rem; border-left: 1px solid var(--line); }
  .trust-item:first-child { padding-left: 0; border-left: none; }
}
.trust-item { display: flex; align-items: flex-start; gap: 1rem; }
.trust-item .check-badge { margin-top: 0.15rem; }
.trust-title { font-size: 1.0625rem; font-weight: 700; color: var(--text-on-ink); line-height: 1.25; }
.trust-copy { margin-top: 0.35rem; font-size: 0.875rem; color: var(--text-muted); }

/* Check badge SVG -------------------------------------------------------------------- */

.check-badge { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 22px; height: 22px; }
.check-badge .check-ring { stroke: var(--accent); stroke-width: 1px; fill: transparent; }
.check-badge .check-stroke { stroke: var(--accent); stroke-width: 1.8px; }
.check-badge.is-static .check-ring { fill: rgba(232, 245, 0, 0.1); stroke: var(--accent); }
.check-badge.is-static .check-stroke { stroke: var(--accent); }
.is-recommended .check-badge.is-static .check-ring { fill: rgba(232, 245, 0, 0.18); stroke: var(--accent); }
.check-draw-on-view .check-badge .check-stroke { stroke-dasharray: 28; stroke-dashoffset: 28; }
.check-draw-on-view.in-view .check-badge .check-stroke { animation: checkDraw 0.5s ease forwards; }
@keyframes checkDraw { from { stroke-dashoffset: 28; } to { stroke-dashoffset: 0; } }

/* Video placeholder / hero photo frame ------------------------------------------------- */

.video-figure { margin: 0; max-width: 26rem; margin-inline: auto; position: relative; }
@media (min-width: 1024px) { .video-figure { margin-inline: 0 0 0 auto; } }
.video-placeholder {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line-strong);
  padding: 0;
  cursor: pointer;
  background: var(--ink-2);
  overflow: hidden;
}
.video-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(9,23,42,0) 45%, rgba(9,23,42,0.85) 100%);
}
.video-photo { width: 100%; height: 100%; object-fit: cover; object-position: 65% 30%; filter: grayscale(0.1) contrast(1.05); }
.video-body { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 0.75rem; text-align: left; padding: 1.5rem; }
.video-play {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4rem;
  width: 4rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  transition: transform 0.3s, background-color 0.3s, color 0.3s;
}
.video-play .icon { width: 1.25rem; height: 1.25rem; }
.video-placeholder:hover .video-play { transform: scale(1.08); }
.video-label { font-size: 0.9375rem; font-weight: 700; color: #fff; }
.video-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  font-size: 0.625rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 0.3rem 0.6rem;
}
/* Flush / contiguous grid ("why it matters") ------------------------------------------- */

.section-flush { border-bottom: 1px solid var(--line); background: var(--ink); }
.section-head-band { padding-block: 5rem 3rem; }
@media (min-width: 1024px) { .section-head-band { padding-block: 7rem 3.5rem; } }

.media-split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .media-split { grid-template-columns: 6fr 5fr; gap: 4rem; } }

.media-figure { margin: 0; max-width: 26rem; margin-inline: auto; position: relative; }
@media (min-width: 1024px) { .media-figure { max-width: none; margin-inline: 0; } }
.media-figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border: 1px solid var(--line-strong);
}

.reason-list { display: flex; flex-direction: column; gap: 1.75rem; margin-top: 2.5rem; }
.reason-item { display: flex; gap: 1.25rem; align-items: flex-start; }
.card-icon {
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.75rem;
  width: 2.75rem;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 42% 58% 63% 37% / 46% 40% 60% 54%;
  margin-top: 0.15rem;
}
.reason-item-text h3 { font-size: 1.1875rem; margin-bottom: 0.5rem; line-height: 1.3; color: var(--text-on-ink); }
.reason-item-text p { font-size: 0.9375rem; line-height: 1.75; color: var(--text-muted); }

/* Timeline ("how it works") ---------------------------------------------------------- */

.timeline { display: grid; gap: 2.5rem; border-top: 1px solid var(--line); padding-top: 3rem; }
@media (min-width: 768px) { .timeline { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.timeline-step { display: flex; flex-direction: column; }
.timeline-number {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.timeline-body h3 { font-size: 1.1875rem; margin-bottom: 0.625rem; color: var(--text-on-ink); }
.timeline-body p { font-size: 0.9375rem; line-height: 1.75; color: var(--text-muted); }

/* Comparison ------------------------------------------------------------------------ */

.compare-grid { display: grid; gap: 0; align-items: stretch; max-width: 68rem; margin-inline: auto; border: 1px solid var(--line); }
@media (min-width: 768px) { .compare-grid { grid-template-columns: repeat(2, 1fr); } }

.compare-card { position: relative; height: 100%; padding: 2.5rem; border-bottom: 1px solid var(--line); background: var(--ink-2); display: flex; flex-direction: column; }
@media (min-width: 768px) {
  .compare-card { border-bottom: none; border-right: 1px solid var(--line); }
  .compare-card:last-child { border-right: none; }
}
@media (min-width: 1024px) { .compare-card { padding: 3.25rem; } }
.compare-letter { display: block; font-size: 3.5rem; line-height: 1; font-weight: 800; color: var(--line-strong); margin-bottom: 0.5rem; }
.compare-letter.accent { color: rgba(232, 245, 0, 0.35); }
.compare-card h3 { font-size: 1.5rem; line-height: 1.25; margin-bottom: 1.25rem; color: var(--text-on-ink); }
.compare-intro { font-size: 0.875rem; line-height: 1.75; margin-bottom: 1.75rem; color: var(--text-muted); }
@media (min-width: 768px) { .compare-intro { min-height: 7.75rem; } }

.is-recommended { background: var(--ink-3); box-shadow: inset 0 4px 0 var(--accent); }

.ribbon {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.375rem 0.875rem;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.compare-list { display: flex; flex-direction: column; gap: 1.125rem; }
.compare-list li { display: flex; align-items: flex-start; gap: 0.875rem; font-size: 0.875rem; line-height: 1.7; }
.compare-list li > .icon { margin-top: 0.3rem; }
.compare-list .check-badge { margin-top: 0.15rem; }
.compare-list .check-ring { display: none; }
.compare-label { display: block; font-weight: 700; letter-spacing: 0.01em; color: var(--text); }
.compare-value { display: block; color: var(--text-muted); }
.is-recommended .compare-label { color: var(--accent); font-weight: 700; }
.compare-cta { margin-top: auto; padding-top: 2.25rem; }

/* Attorney --------------------------------------------------------------------------- */

.attorney-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .attorney-grid { grid-template-columns: 4.5fr 7.5fr; gap: 5rem; } }

.attorney-photo-col { max-width: 20rem; position: relative; }
@media (min-width: 1024px) { .attorney-photo-col { max-width: none; } }
.attorney-photo { position: relative; aspect-ratio: 4 / 5; width: 100%; border: 1px solid var(--line-strong); }
.attorney-photo::before {
  content: "";
  position: absolute;
  inset: -14px -14px auto auto;
  width: 60%;
  height: 45%;
  background: linear-gradient(120deg, var(--accent), var(--accent-deep));
  z-index: -1;
  transform: rotate(-10deg);
}
.attorney-photo img { height: 100%; width: 100%; object-fit: cover; object-position: center 20%; filter: grayscale(0.1) contrast(1.05); }

.credential {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.credential .icon { color: var(--accent); margin-top: 0.1rem; }
.credential strong { display: block; font-weight: 800; color: var(--text-on-ink); }
.attorney-bio { margin-top: 1.5rem; font-size: 1.0625rem; line-height: 1.8; color: var(--text-muted); max-width: 42rem; }
.attorney-signoff { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-direction: column; max-width: 42rem; }
.attorney-signoff-name { font-size: 1.25rem; font-weight: 800; color: var(--text-on-ink); }
.attorney-signoff-role { margin-top: 0.2rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); font-weight: 600; }
.attorney-cta { margin-top: 2rem; }

/* Pricing ---------------------------------------------------------------------------- */

.pricing-grid { display: grid; margin-top: 3.5rem; border: 1px solid var(--line); }
@media (min-width: 768px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.plan { position: relative; display: flex; flex-direction: column; height: 100%; padding: 2.5rem; background: var(--ink-2); border-bottom: 1px solid var(--line); transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease; }
.plan:hover { transform: translateY(-6px); background: var(--ink-3); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.55); }
@media (min-width: 768px) {
  .plan { border-bottom: none; border-right: 1px solid var(--line); }
  .plan:last-child { border-right: none; }
}
@media (max-width: 767px) { .plan:last-child { border-bottom: none; } }
.plan.is-featured { background: var(--ink-3); box-shadow: inset 0 4px 0 var(--accent); }
.plan.is-featured:hover { background: var(--ink-4); box-shadow: inset 0 4px 0 var(--accent), 0 24px 48px -24px rgba(0, 0, 0, 0.55); }

.plan-badge { display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: 1.5rem; padding: 0.3rem 0; font-size: 0.6875rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
.plan h3 { font-size: 1.625rem; margin-bottom: 0.5rem; color: var(--text-on-ink); }
.plan-kicker { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.14em; font-weight: 700; margin-bottom: 0.875rem; color: var(--text-muted); }
.plan-bestfor { font-size: 0.875rem; margin-bottom: 0.5rem; color: var(--accent); }
.plan-bestfor strong { font-weight: 800; }
.plan-bestfor span { color: var(--text); }
.plan-desc { font-size: 0.875rem; line-height: 1.75; margin-bottom: 1.25rem; color: var(--text-muted); }
.plan-trigger { font-size: 0.75rem; line-height: 1.7; margin-bottom: 1.5rem; color: var(--text-muted); font-style: italic; }

.plan-prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem 1.5rem; margin-bottom: 1.75rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--line); }
.price { font-size: 2rem; font-weight: 800; color: var(--accent); }
.price-note { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; margin-left: 0.5rem; color: var(--text-muted); }

.plan-features { display: flex; flex-direction: column; gap: 0.875rem; margin-bottom: 2.25rem; flex: 1; }
.plan-features li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; line-height: 1.7; }
.plan-features li > .icon { margin-top: 0.3rem; }
.plan-features span { color: var(--text); }

.term {
  display: inline;
  padding: 0;
  background: none;
  border: none;
  text-align: left;
  text-decoration: underline dotted;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
  cursor: help;
  font: inherit;
  color: inherit;
}

/* Flat fee --------------------------------------------------------------------------- */

.flatfee-intro { max-width: 640px; margin: 0 auto 4rem; text-align: center; font-size: 1.0625rem; line-height: 1.75; color: var(--text-muted); }
@media (min-width: 1024px) { .flatfee-intro { font-size: 1.1875rem; } }

.flatfee-columns { display: grid; gap: 2.5rem; max-width: 62rem; margin-inline: auto; }
@media (min-width: 768px) { .flatfee-columns { grid-template-columns: 1fr auto 1fr; gap: 3rem; } }

.flatfee-divider { display: none; }
@media (min-width: 768px) { .flatfee-divider { display: block; width: 1px; background: var(--line); } }

.flatfee-col h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 1.75rem; color: var(--text-on-ink); }
@media (min-width: 1024px) { .flatfee-col h3 { font-size: 1.4375rem; } }

.flatfee-list { display: flex; flex-direction: column; gap: 0.875rem; }
.flatfee-list li { display: flex; align-items: flex-start; gap: 0.75rem; font-size: 0.875rem; line-height: 1.7; color: var(--text-muted); }
.mark { font-weight: 800; margin-top: 0.125rem; user-select: none; }
.mark.warn { color: var(--text-muted); }
.mark.good { color: var(--accent); }

.pull-quote { margin: 4rem auto 0; max-width: 46rem; padding: 0; text-align: center; }
.pull-quote p { font-size: 1.375rem; font-weight: 700; line-height: 1.5; color: var(--text-on-ink); }
@media (min-width: 1024px) { .pull-quote p { font-size: 1.625rem; } }

.flatfee-note { margin: 2.5rem auto 0; max-width: 42rem; text-align: center; font-size: 0.875rem; line-height: 1.75; color: var(--text-muted); }

/* Callout ---------------------------------------------------------------------------- */

.callout { position: relative; overflow: hidden; background: var(--ink-2); color: var(--text-on-ink); padding: 4rem 2rem; text-align: center; border: 1px solid var(--line); }
.callout::before {
  content: "";
  position: absolute;
  left: -10%;
  top: -40%;
  width: 45%;
  height: 140%;
  background: linear-gradient(120deg, rgba(232,245,0,0.16), transparent 70%);
  transform: rotate(-16deg);
  pointer-events: none;
}
@media (min-width: 1024px) { .callout { padding: 5.5rem 3rem; } }
.callout-inner { position: relative; max-width: 700px; margin-inline: auto; }
.callout p { margin-top: 1.5rem; font-size: 1.0625rem; line-height: 1.8; color: var(--text-muted); }
@media (min-width: 1024px) { .callout p { font-size: 1.1875rem; } }
.callout-cta { margin-top: 2.75rem; }

/* Accordion -------------------------------------------------------------------------- */

.accordion { max-width: 50rem; border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-trigger { display: flex; align-items: center; gap: 1.25rem; width: 100%; padding-block: 1.5rem; background: none; border: none; text-align: left; cursor: pointer; }
.accordion-number { font-size: 0.9375rem; font-weight: 800; color: var(--accent); flex: none; width: 1.75rem; }
.accordion-question { flex: 1; font-size: 1.125rem; font-weight: 700; color: var(--text-on-ink); }
.accordion-chevron { transition: transform 0.2s; color: var(--accent); flex: none; }
.accordion-trigger[aria-expanded="true"] .accordion-chevron { transform: rotate(180deg); }
.accordion-panel { overflow: hidden; }
.accordion-panel p { padding-bottom: 1.5rem; padding-left: 2.75rem; font-size: 0.9375rem; line-height: 1.8; color: var(--text-muted); max-width: 42rem; }

.advisor-note { margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--text-muted); }

/* Resource tiles ----------------------------------------------------------------------- */

.resource-grid { display: grid; gap: 0; border: 1px solid var(--line); }
@media (min-width: 768px) { .resource-grid { grid-template-columns: repeat(3, 1fr); } }

.resource-card { display: block; padding: 2.5rem 2rem; text-decoration: none; border-bottom: 1px solid var(--line); background: var(--ink-2); transition: background-color 0.25s; }
@media (min-width: 768px) {
  .resource-card { border-bottom: none; border-right: 1px solid var(--line); }
  .resource-card:last-child { border-right: none; }
}
.resource-card:hover { background: var(--ink-3); }
.resource-slot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.5rem;
  width: 3.5rem;
  background: rgba(232, 245, 0, 0.1);
  color: var(--accent);
  margin-bottom: 1.5rem;
  border-radius: 38% 62% 55% 45% / 50% 44% 56% 50%;
}
.resource-media { display: block; height: 12rem; overflow: hidden; margin: -2.5rem -2rem 1.5rem; }
.resource-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.resource-card:hover .resource-media img { transform: scale(1.05); }
.resource-card h3 { font-size: 1.25rem; color: var(--text-on-ink); margin-bottom: 0.375rem; }
.resource-card p { font-size: 0.875rem; color: var(--text-muted); }
.resource-link { display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 1.25rem; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); transition: gap 0.2s; }
.resource-card:hover .resource-link { gap: 0.55rem; }

/* Final CTA ---------------------------------------------------------------------------- */

.final-cta { position: relative; overflow: hidden; background: var(--accent); color: var(--accent-ink); padding: 3.5rem 2rem; text-align: center; border: 1px solid var(--line); }
.final-cta::before {
  content: "";
  position: absolute;
  right: -8%;
  bottom: -150%;
  width: 26%;
  height: 240%;
  background: linear-gradient(115deg, var(--accent-ink) 15%, var(--accent-deep) 55%, transparent 90%);
  opacity: 0.12;
  transform: rotate(-14deg);
}
@media (min-width: 1024px) { .final-cta { padding: 5rem 3rem; } }
.final-cta-content { position: relative; z-index: 1; }
.final-cta h2 { color: var(--accent-ink); }
.final-cta p { margin-top: 1.25rem; max-width: 36rem; margin-inline: auto; color: var(--accent-ink); opacity: 0.75; }
.final-cta-actions { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.25rem; justify-content: center; }
.final-cta .btn-gold { background: #fff; border-color: #fff; color: var(--accent-ink); }
.final-cta .btn-gold:hover { background: transparent; color: #fff; border-color: #fff; }
.final-cta .btn-outline-light { border-color: rgba(9,23,42,0.35); color: var(--accent-ink); }
.final-cta .btn-outline-light:hover { background: rgba(9,23,42,0.08); border-color: var(--accent-ink); }
@media (min-width: 640px) { .final-cta-actions { flex-direction: row; } }

/* Footer --------------------------------------------------------------------------------- */

.site-footer { background: var(--ink-3); color: var(--text-on-ink); border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 3rem; padding-block: 5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }

.footer-brand { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; }
.footer-brand-accent { color: var(--accent); }
.footer-brand-sub { margin-top: 0.5rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--text-muted); font-weight: 700; }
.footer-brand-copy { margin-top: 1.5rem; font-size: 0.875rem; line-height: 1.75; color: var(--text-muted); max-width: 20rem; }
.site-footer h4 { font-family: var(--font-sans); font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); margin-bottom: 1.25rem; }
.footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.625rem 1rem; font-size: 0.875rem; }
.footer-contact { display: flex; flex-direction: column; gap: 0.625rem; font-size: 0.875rem; }
.footer-links a, .footer-contact a { color: var(--text); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover, .footer-contact a:hover { color: var(--accent); }
.footer-contact li { color: var(--text); }

.footer-legal { border-top: 1px solid var(--line); }
.footer-legal .section-container { padding-block: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.footer-firmline { font-size: 0.75rem; font-weight: 400; line-height: 1.7; color: var(--text); text-align: center; }
.footer-firmline span { display: block; }
.footer-firmline .sep { display: none; padding-inline: 0.35rem; }
.footer-disclaimer { font-size: 0.75rem; line-height: 1.7; color: var(--text-muted); text-align: center; }
.footer-disclaimer strong { font-weight: 800; color: var(--text); }
@media (min-width: 768px) {
  .footer-firmline, .footer-disclaimer { text-align: left; font-size: 0.8125rem; }
  .footer-firmline span { display: inline; }
  .footer-firmline .sep { display: inline; }
}

.footer-bottom { border-top: 1px solid var(--line); }
.footer-bottom .section-container { padding-block: 1.75rem; font-size: 0.75rem; color: var(--text-muted); text-align: center; }
.footer-bottom a { text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: var(--accent); }
.footer-bottom .sep { margin-inline: 0.5rem; color: var(--line-strong); }
@media (min-width: 768px) { .footer-bottom .section-container { text-align: left; } }

/* Modal ------------------------------------------------------------------------------------ */

.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(9, 23, 42, 0.85); backdrop-filter: blur(4px); }
.modal-dialog { position: relative; width: min(56rem, 100%); overflow: hidden; border: 1px solid var(--line-strong); animation: dropdownIn 0.2s ease-out; }
.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 1;
  height: 2.5rem;
  width: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: rgba(255,255,255,0.12);
  color: var(--text-on-ink);
  cursor: pointer;
}
.modal-close:hover { background: var(--accent); color: var(--accent-ink); }
.modal-body {
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-on-ink);
  font-weight: 700;
  font-size: 1.375rem;
  text-align: center;
  padding: 1.5rem;
  background:
    linear-gradient(120deg, rgba(232,245,0,0.14), transparent 55%),
    linear-gradient(135deg, var(--ink-2), var(--ink));
}
.modal-note { font-weight: 400; font-size: 0.8125rem; color: var(--text-muted); }

/* Tooltip ---------------------------------------------------------------------------------- */

.tooltip {
  position: absolute;
  z-index: 120;
  max-width: 20rem;
  padding: 0.875rem 1rem;
  background: var(--ink-2);
  border-left: 3px solid var(--accent);
  color: var(--text-on-ink);
  font-size: 0.8125rem;
  line-height: 1.6;
  animation: dropdownIn 0.12s ease-out;
}

/* Scroll reveal ------------------------------------------------------------------------------ */

.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease-out, transform 0.7s ease-out; will-change: opacity, transform; }
.js .reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
