/* =========================================================================
   Lexir Portal — public site styles
   لِکسیر — اکسیرِ حقوق
   Design tokens mirror Lexirs.Project/System Design/colors_and_type.css.
   Token values can be overridden live from the admin panel (injected as a
   second :root block in _Layout, which wins by source order).
   ========================================================================= */

/* Webfonts are loaded non-render-blocking from _Layout (print-media swap),
   so a slow/blocked font CDN never holds up first paint. */

:root {
  --bg-canvas: #F5EFE3;
  --bg-surface: #FBF6EC;
  --bg-surface-2: #EFE7D5;
  --bg-elevated: #FFFEFA;
  --bg-ink: #14181E;
  --bg-ink-2: #1E2430;

  --fg-primary: #14181E;
  --fg-secondary: #3A4150;
  --fg-tertiary: #6B7180;
  --fg-muted: #9CA0AB;
  --fg-on-ink: #F5EFE3;
  --fg-on-ink-2: #BFC2CB;

  --indigo-900: #0E1430;
  --indigo-800: #1A2150;
  --indigo-700: #283068;
  --indigo-600: #3A4382;
  --indigo-500: #5C66A4;
  --indigo-100: #DDE0EE;
  --indigo-50: #EEF0F8;

  --copper-900: #6B3410;
  --copper-800: #8A4416;
  --copper-700: #A8541C;
  --copper-600: #C0651E;
  --copper-500: #D88934;
  --copper-200: #EBC894;
  --copper-100: #F4DEB6;
  --copper-50: #FAEFD8;

  --saffron-700: #B8821C;
  --saffron-500: #D9A646;
  --saffron-300: #E8C786;

  --success: #4F7A4A;  --success-bg: #E5EBDB;
  --warning: #B8821C;  --warning-bg: #F6E8C6;
  --danger:  #9B2C24;  --danger-bg:  #F1DCD8;
  --info:    #283068;  --info-bg:    #DDE0EE;

  --tier-1: #5C66A4;
  --tier-2: #1A2150;
  --tier-3: #A8541C;

  --rule-strong: #14181E;
  --rule: #C5BBA1;
  --rule-soft: #E0D8C4;
  --rule-on-ink: #2D3344;
  --focus-ring: #D9A646;

  --font-fa: "Vazirmatn", "Iran Sans", "Tahoma", system-ui, sans-serif;
  --font-display-en: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body-en: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --fs-hero: clamp(40px, 5.2vw, 72px);
  --fs-h1: 44px;
  --fs-h2: 40px;
  --fs-h3: 24px;
  --fs-h4: 20px;
  --fs-eyebrow: 13px;
  --fs-lead: 22px;
  --fs-body: 17px;

  --lh-body: 1.85;

  --content-max: 1440px;
  --reading-max: 68ch;
  --gutter: clamp(20px, 4vw, 56px);

  --radius: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
  --radius-pill: 999px;

  --shadow-2: 0 1px 0 0 rgba(20,24,30,0.05), 0 4px 12px -4px rgba(20,24,30,0.08);
  --shadow-3: 0 2px 0 0 rgba(20,24,30,0.04), 0 12px 28px -12px rgba(20,24,30,0.18);

  --ease-standard: cubic-bezier(0.2, 0.8, 0.2, 1);
  --dur-2: 200ms;
}

/* ---------------- base ---------------- */
* { box-sizing: border-box; }
html { font-size: 100%; }
body {
  margin: 0;
  font-family: var(--font-fa);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--fg-primary);
  background: var(--bg-canvas);
  direction: rtl;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { margin: 0; font-family: var(--font-fa); letter-spacing: -0.01em; color: var(--fg-primary); text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 700; line-height: 1.2; }
h2 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.25; }
h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; }
h4 { font-size: var(--fs-h4); font-weight: 600; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--copper-700); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color var(--dur-2) var(--ease-standard); }
a:hover { color: var(--copper-600); }
img { max-width: 100%; display: block; }
::selection { background: var(--copper-200); color: var(--fg-primary); }
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; border-radius: 2px; }

.latin { font-family: var(--font-body-en); direction: ltr; unicode-bidi: isolate; }
.display-en { font-family: var(--font-display-en); font-weight: 500; }
.mono { font-family: var(--font-mono); }

.eyebrow-fa { font-family: var(--font-fa); font-size: var(--fs-eyebrow); font-weight: 500; letter-spacing: 0.08em; color: var(--copper-700); display: inline-block; }
.eyebrow-en { font-family: var(--font-body-en); font-size: var(--fs-eyebrow); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--copper-700); display: inline-block; }

/* ---------------- layout ---------------- */
.container { max-width: var(--content-max); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding: 80px 0; }
.section .container { padding-inline: var(--gutter); }
.section--surface2 { background: var(--bg-surface-2); }
.section--dark { background: var(--bg-ink); color: var(--fg-on-ink); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--fg-on-ink); }

.copper-rule { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.copper-rule::before { content: ""; width: 36px; height: 1.5px; background: var(--copper-700); }
.copper-rule::after { content: ""; width: 5px; height: 5px; background: var(--copper-700); border-radius: 50%; }

.reading { max-width: var(--reading-max); margin-inline: auto; }

/* intro section: text column beside an image slot (fills the otherwise-empty side) */
.intro-media { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.intro-media--flip .intro-media-figure { order: -1; }   /* image on the other side, alternating */
.intro-media-figure img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  border-radius: 14px; border: 1px solid var(--rule);
  box-shadow: 0 26px 56px -34px rgba(20,24,30,.42);
}
.intro-media-ph {
  aspect-ratio: 4 / 3; border: 1.5px dashed var(--rule); border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--fg-tertiary); font-size: 14px; background: var(--bg-surface);
}
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--fg-secondary); text-wrap: pretty; }
.muted { color: var(--fg-tertiary); }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.section-head { margin-bottom: 32px; }
.section-head h2 { margin-top: 12px; }
.section-head .lead { margin-top: 14px; max-width: var(--reading-max); }

.arrow-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 22px; font-family: var(--font-fa); font-size: 15px; color: var(--copper-700); text-decoration: underline; text-underline-offset: 4px; }

/* ---------------- buttons ---------------- */
.btn { display: inline-block; font-family: var(--font-fa); font-size: 16px; font-weight: 500; padding: 13px 26px; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background var(--dur-2) var(--ease-standard), border-color var(--dur-2) var(--ease-standard); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--indigo-800); color: var(--bg-canvas); border-color: var(--indigo-800); }
.btn-primary:hover { background: var(--indigo-700); border-color: var(--indigo-700); color: var(--bg-canvas); }
.btn-secondary { background: transparent; color: var(--fg-primary); border: 1px solid var(--rule-strong); }
.btn-secondary:hover { border-color: var(--rule-strong); color: var(--fg-primary); }
.btn-sm { font-size: 14px; padding: 8px 18px; }

/* ---------------- header ---------------- */
.lx-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 239, 227, 0.88);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule-soft);
}
.lx-header-inner { display: flex; align-items: center; gap: 36px; height: 64px; }
.lx-brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.lx-brand-name { font-family: var(--font-fa); font-weight: 700; font-size: 22px; color: var(--fg-primary); }
.lx-brand-dot { width: 4px; height: 4px; background: var(--copper-700); border-radius: 50%; }
.lx-nav { display: flex; gap: 22px; }
.lx-nav a { font-family: var(--font-fa); font-size: 14px; color: var(--fg-secondary); text-decoration: none; font-weight: 400; transition: color var(--dur-2) var(--ease-standard); }
.lx-nav a:hover { color: var(--fg-primary); }
.lx-nav a.active { color: var(--fg-primary); font-weight: 500; }
.lx-header-cta { margin-inline-start: auto; }
.lx-nav-toggle { display: none; margin-inline-start: auto; background: transparent; border: 1px solid var(--rule); border-radius: var(--radius); width: 40px; height: 36px; cursor: pointer; align-items: center; justify-content: center; color: var(--fg-primary); }
.lx-nav-toggle svg { width: 20px; height: 20px; }

/* ---------------- hero ---------------- */
.hero { position: relative; padding: 84px 0 92px; overflow: hidden; }
/* unifying backdrop that ties the copy + visual together */
.hero-bg {
  position: absolute; inset: -12% -6% 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(56% 64% at 80% 24%, rgba(216,137,52,.18), transparent 62%),
    radial-gradient(46% 56% at 6% 90%, rgba(26,33,80,.12), transparent 60%);
}
.hero::after {            /* faint engraved dot grid, masked toward the visual */
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .45;
  background-image: radial-gradient(var(--rule) .8px, transparent .9px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(125% 95% at 72% 36%, #000 32%, transparent 72%);
          mask-image: radial-gradient(125% 95% at 72% 36%, #000 32%, transparent 72%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.12fr 1fr; gap: 58px; align-items: center; }

.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.hero-eyebrow::before { content: ""; width: 34px; height: 1.5px; background: var(--copper-700); }
.hero h1 { font-size: var(--fs-hero); line-height: 1.15; margin: 20px 0 22px; letter-spacing: -.005em; }
.hero-sub { font-family: var(--font-fa); font-size: 20px; line-height: 1.75; color: var(--fg-secondary); max-width: 52ch; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

/* visual side: layered framed image + copper offset accent + floating brand chip */
.hero-visual { position: relative; }
.hero-frame {
  position: relative; z-index: 1; aspect-ratio: 1 / 1.04; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--rule); background: var(--bg-surface);
  box-shadow: 0 30px 64px -34px rgba(20,24,30,.5);
}
.hero-frame--image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-visual--image::before {
  content: ""; position: absolute; z-index: 0;
  inset-block-start: 24px; inset-block-end: -22px; inset-inline-start: 24px; inset-inline-end: -22px;
  border: 1.5px solid var(--copper-600); border-radius: 18px; opacity: .5;
}
.hero-chip {
  position: absolute; z-index: 2; inset-block-end: -22px; inset-inline-start: -26px;
  display: flex; flex-direction: column; gap: 2px;
  background: var(--bg-ink); color: var(--fg-on-ink);
  border: 1px solid var(--bg-ink-2); border-radius: 12px; padding: 13px 20px;
  box-shadow: 0 20px 46px -22px rgba(20,24,30,.66);
}
.hero-chip-en { font-family: var(--font-display-en); font-style: italic; font-size: 25px; line-height: 1; color: var(--saffron-500); }
.hero-chip-fa { font-family: var(--font-fa); font-size: 12.5px; color: var(--fg-on-ink-2); }

/* quote-card fallback (when no hero image is set) */
.hero-card {
  position: relative; z-index: 1; aspect-ratio: 1 / 1.08;
  border: 1px solid var(--rule-strong); border-radius: 14px;
  background: var(--bg-surface); padding: 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 26px 56px -34px rgba(20,24,30,.42);
}
.hero-card-rule { display: flex; align-items: center; gap: 6px; justify-content: flex-start; }
.hero-card-rule::before { content: ""; width: 36px; height: 1.5px; background: var(--copper-700); }
.hero-card-rule::after { content: ""; width: 5px; height: 5px; background: var(--copper-700); border-radius: 50%; }
.hero-card-quote { font-family: var(--font-fa); font-weight: 500; font-size: 22px; line-height: 1.7; color: var(--fg-primary); text-wrap: balance; }
.hero-card-foot { display: flex; justify-content: space-between; align-items: flex-end; }
.hero-card-source { font-family: var(--font-fa); font-size: 13px; color: var(--fg-tertiary); }
.hero-card-lockup { font-family: var(--font-display-en); font-style: italic; font-size: 28px; color: var(--copper-700); }

/* ---------------- tier cards ---------------- */
.tier-card {
  display: block; text-align: right; text-decoration: none;
  border: 1px solid var(--rule); border-top: 3px solid var(--tier-1);
  border-radius: var(--radius-md); background: var(--bg-surface);
  padding: 22px 22px 24px; transition: box-shadow var(--dur-2) var(--ease-standard), transform var(--dur-2) var(--ease-standard);
}
.tier-card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.tier-card .tier-level { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.04em; }
.tier-card .tier-title { font-family: var(--font-fa); font-weight: 700; font-size: 22px; margin-top: 6px; color: var(--fg-primary); }
.tier-card .tier-summary { font-family: var(--font-fa); font-size: 15px; line-height: 1.7; color: var(--fg-secondary); margin-top: 10px; }

/* ---------------- service cards ---------------- */
.service-card { display: flex; gap: 14px; align-items: flex-start; border: 1px solid var(--rule); border-radius: var(--radius-md); background: var(--bg-surface); padding: 18px 20px; text-decoration: none; transition: box-shadow var(--dur-2) var(--ease-standard); }
.service-card:hover { box-shadow: var(--shadow-2); }
.service-icon { width: 40px; height: 40px; flex-shrink: 0; border: 1px solid var(--rule); border-radius: var(--radius-md); background: var(--bg-elevated); display: flex; align-items: center; justify-content: center; color: var(--copper-700); }
.service-icon svg { width: 20px; height: 20px; }
.service-card .service-title { font-family: var(--font-fa); font-weight: 600; font-size: 17px; color: var(--fg-primary); }
.service-card .service-desc { font-family: var(--font-fa); font-size: 14px; line-height: 1.7; color: var(--fg-secondary); margin-top: 4px; }

/* ---------------- feature cards ---------------- */
.feature-card { border: 1px solid var(--rule); border-radius: var(--radius-md); background: var(--bg-surface); padding: 22px 22px 24px; }
.feature-card .feature-title { font-family: var(--font-fa); font-weight: 700; font-size: 19px; color: var(--fg-primary); }
.feature-card .feature-tagline { font-family: var(--font-fa); font-size: 14px; color: var(--copper-700); margin-top: 4px; }
.feature-card .feature-summary { font-family: var(--font-fa); font-size: 15px; line-height: 1.7; color: var(--fg-secondary); margin-top: 12px; }

/* ---------------- dark quote ---------------- */
.quote-dark { max-width: 60ch; }
.quote-dark blockquote { font-family: var(--font-fa); font-weight: 500; font-size: 30px; line-height: 1.55; color: var(--fg-on-ink); margin: 16px 0 18px; padding-inline-start: 22px; border-inline-start: 2px solid var(--copper-500); text-wrap: balance; }
.quote-dark .attribution { font-family: var(--font-fa); font-size: 14px; color: var(--fg-on-ink-2); }

/* ---------------- page header (inner pages) ---------------- */
.page-header { padding: 72px 0 8px; }
.page-header h1 { font-size: clamp(36px, 4.5vw, 56px); line-height: 1.2; margin: 14px 0 18px; }
.page-header .subtitle { font-size: var(--fs-lead); line-height: 1.6; color: var(--fg-secondary); max-width: var(--reading-max); margin-inline: auto; }
/* Center inner-page titles + reading columns so text isn't stranded on the right
   in the wider layout. The home page keeps its asymmetric editorial alignment. */
.page-header .container { text-align: center; }
.page-header .copper-rule { justify-content: center; }
body[data-page="home"] .reading { margin-inline: 0; }

/* prose paragraphs */
.prose p { font-size: 19px; line-height: var(--lh-body); color: var(--fg-secondary); margin-bottom: 18px; }
.prose p:last-child { margin-bottom: 0; }

/* numbered list (manifesto / pricing principles) */
.numbered { display: grid; gap: 28px; }
.numbered-item { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; padding-bottom: 28px; border-bottom: 1px solid var(--rule-soft); }
.numbered-item:last-child { border-bottom: 0; padding-bottom: 0; }
.numbered-num { font-family: var(--font-mono); font-size: 22px; color: var(--copper-700); line-height: 1.2; }
.numbered-item h3 { margin-bottom: 8px; }
.numbered-item p { font-size: 16px; line-height: 1.8; color: var(--fg-secondary); }

/* generic bordered card / panel */
.panel { border: 1px solid var(--rule); border-radius: var(--radius-md); background: var(--bg-surface); padding: 24px 28px; }
.panel--inset { background: var(--bg-surface-2); }

/* definition card (roots, pillars, audiences) */
.def-card { border: 1px solid var(--rule); border-radius: var(--radius-md); background: var(--bg-surface); padding: 24px 26px; }
.def-card h3 { margin-bottom: 8px; }
.def-card .def-meaning { font-family: var(--font-mono); font-size: 14px; color: var(--copper-700); }
.def-card p { font-size: 15px; line-height: 1.8; color: var(--fg-secondary); margin-top: 10px; }

/* compass / question callout */
.compass { border-inline-start: 2px solid var(--copper-700); padding-inline-start: 22px; }
.compass .question { font-family: var(--font-fa); font-weight: 600; font-size: 26px; line-height: 1.5; color: var(--fg-primary); text-wrap: balance; }

/* tier detail card */
.tier-detail { border: 1px solid var(--rule); border-top: 4px solid var(--tier-1); border-radius: var(--radius-md); background: var(--bg-surface); padding: 28px 28px 30px; height: 100%; display: flex; flex-direction: column; }
.tier-detail .tier-tagline { font-family: var(--font-fa); font-size: 13px; color: var(--copper-700); letter-spacing: 0.04em; }
.tier-detail h3 { margin: 8px 0 2px; font-size: 22px; }
.tier-detail .tier-sub { font-family: var(--font-mono); font-size: 13px; color: var(--fg-tertiary); }
.tier-detail .tier-body { font-size: 15px; line-height: 1.8; color: var(--fg-secondary); margin: 14px 0; }
.tier-detail ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tier-detail li { position: relative; padding-inline-start: 18px; font-size: 14px; line-height: 1.7; color: var(--fg-secondary); }
.tier-detail li::before { content: ""; position: absolute; inset-inline-start: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--copper-700); }
.tier-detail .tier-price { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--rule-soft); }
.tier-detail .tier-price .price-label { font-size: 13px; color: var(--fg-tertiary); }
.tier-detail .tier-price .price-range { font-family: var(--font-fa); font-weight: 700; font-size: 20px; color: var(--fg-primary); margin-top: 2px; }

/* services accordion-ish blocks */
.service-block { border: 1px solid var(--rule); border-radius: var(--radius-md); background: var(--bg-surface); padding: 28px; margin-bottom: 18px; scroll-margin-top: 90px; }
.service-block .svc-head { display: flex; gap: 16px; align-items: flex-start; }
.service-block .svc-long { font-size: 16px; line-height: 1.8; color: var(--fg-secondary); margin-top: 14px; }
.subtype-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 20px; }
.subtype { border: 1px solid var(--rule-soft); border-radius: var(--radius); background: var(--bg-elevated); padding: 16px 18px; }
.subtype h4 { font-size: 16px; margin-bottom: 8px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-family: var(--font-fa); font-size: 13px; color: var(--fg-secondary); background: var(--bg-surface-2); border: 1px solid var(--rule-soft); border-radius: var(--radius-pill); padding: 3px 12px; }
.tier-badges { display: inline-flex; gap: 6px; margin-inline-start: auto; }
.tier-badge { font-family: var(--font-mono); font-size: 12px; width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; }

/* faq accordion */
.faq-item { border-bottom: 1px solid var(--rule-soft); }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 0; font-family: var(--font-fa); font-weight: 600; font-size: 18px; color: var(--fg-primary); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-mono); color: var(--copper-700); font-size: 22px; transition: transform var(--dur-2) var(--ease-standard); }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-answer { padding: 0 0 22px; font-size: 16px; line-height: 1.85; color: var(--fg-secondary); max-width: var(--reading-max); }

/* contact channel */
.contact-channel { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--rule); border-radius: var(--radius-md); background: var(--bg-surface); padding: 16px 22px; text-decoration: none; font-size: 18px; font-weight: 600; color: var(--fg-primary); }
.contact-channel:hover { box-shadow: var(--shadow-2); color: var(--fg-primary); }

/* ---------------- footer ---------------- */
.lx-footer { border-top: 1.5px solid var(--copper-700); background: var(--bg-surface); padding: 56px 0 32px; }
.lx-footer-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 36px; }
.lx-footer-brand .name { font-family: var(--font-fa); font-weight: 700; font-size: 24px; }
.lx-footer-brand .tag { font-family: var(--font-fa); font-size: 14px; color: var(--copper-700); margin-top: 4px; }
.lx-footer-brand p { font-family: var(--font-fa); font-size: 14px; line-height: 1.7; color: var(--fg-secondary); margin-top: 14px; max-width: 32ch; }
.lx-footer-col h4 { font-family: var(--font-fa); font-weight: 600; font-size: 14px; color: var(--fg-primary); margin-bottom: 14px; }
.lx-footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.lx-footer-col a { font-family: var(--font-fa); font-size: 14px; color: var(--fg-secondary); text-decoration: none; }
.lx-footer-col a:hover { color: var(--copper-700); }
.lx-footer-bottom { max-width: var(--content-max); margin: 40px auto 0; padding: 20px var(--gutter) 0; border-top: 1px solid var(--rule-soft); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--font-fa); font-size: 13px; color: var(--fg-tertiary); }

/* ---------------- responsive ---------------- */
@media (max-width: 980px) {
  .hero { padding: 60px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-frame, .hero-card { aspect-ratio: auto; min-height: 260px; }
  .hero-visual--image::before { display: none; }
  .hero-chip { position: static; margin-top: 16px; display: inline-flex; }
  .lx-footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .intro-media { grid-template-columns: 1fr; gap: 28px; }
  .subtype-grid { grid-template-columns: 1fr; }
  .lx-nav { position: absolute; top: 64px; inset-inline: 0; flex-direction: column; gap: 0; background: var(--bg-elevated); border-bottom: 1px solid var(--rule-soft); padding: 8px var(--gutter); display: none; }
  .lx-nav.open { display: flex; }
  .lx-nav a { padding: 12px 0; border-bottom: 1px solid var(--rule-soft); }
  .lx-nav-toggle { display: inline-flex; }
  .lx-header-cta { display: none; }
}
@media (max-width: 600px) {
  .grid-2 { grid-template-columns: 1fr; }
  .numbered-item { grid-template-columns: 40px 1fr; gap: 14px; }
  .lx-footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
