/* =========================================================
   SynthesisLogic v5 — based on v4 · unified messaging
   ========================================================= */

/* Screen-reader / SEO-only (no visual layout change) */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

:root {
  --ink: #0b0f14;
  --ink-2: #151b24;
  --ink-3: #1c2430;
  --slate: #2a3444;
  --mute: #6b7789;
  --mute-2: #8b96a8;
  --line: rgba(11, 15, 20, 0.08);
  --line-2: rgba(11, 15, 20, 0.14);
  --paper: #f4f2ec;
  --paper-2: #ebe8e0;
  --white: #fffcf7;
  --gold: #b8956c;
  --gold-2: #c9a87a;
  --gold-deep: #9a7a52;
  --gold-soft: rgba(184, 149, 108, 0.14);
  --ok: #2d6a4f;
  /* Layered depth (semi-transparent shadows, not hard borders) */
  --shadow:
    0 1px 0 rgba(255, 255, 255, 0.55) inset,
    0 24px 48px rgba(11, 15, 20, 0.08),
    0 8px 16px rgba(11, 15, 20, 0.04);
  --shadow-sm:
    0 1px 0 rgba(255, 255, 255, 0.6) inset,
    0 10px 24px rgba(11, 15, 20, 0.05);
  --shadow-lg:
    0 1px 0 rgba(255, 255, 255, 0.5) inset,
    0 32px 64px rgba(11, 15, 20, 0.12),
    0 12px 24px rgba(11, 15, 20, 0.06);
  --shadow-focus: 0 0 0 3px rgba(184, 149, 108, 0.22);
  --radius: 18px;
  --radius-sm: 14px;
  --shell: 1140px;
  --header: 74px;
  --font: "Vazirmatn", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  /* Emil Kowalski / design-eng motion tokens */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease: var(--ease-out);
  --duration-press: 140ms;
  --duration-ui: 200ms;
  --duration-enter: 240ms;
  --space-section: clamp(3.75rem, 6vw, 5.25rem);
  --space-card: 1.55rem;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.8;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

.shell {
  width: min(var(--shell), calc(100% - 3rem));
  margin-inline: auto;
}

.mono {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}

.page-glow {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(900px 480px at 85% -5%, rgba(184, 149, 108, 0.12), transparent 55%),
    radial-gradient(700px 420px at 0% 20%, rgba(28, 36, 48, 0.05), transparent 50%);
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: rgba(244, 242, 236, 0.72);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  border-bottom: 1px solid transparent;
  transition:
    background var(--duration-ui) var(--ease-out),
    border-color var(--duration-ui) var(--ease-out),
    box-shadow var(--duration-ui) var(--ease-out);
}

.header.is-scrolled {
  background: rgba(244, 242, 236, 0.9);
  border-bottom-color: var(--line);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 10px 28px rgba(11, 15, 20, 0.05);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  flex-direction: row; /* LTR lockup: logo left, text right of logo */
  direction: ltr;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  max-width: min(28rem, 42vw);
}

.brand-logo {
  width: 36px;
  height: 36px;
  display: block;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(184, 149, 108, 0.22);
}

.brand-foot .brand-logo {
  width: 32px;
  height: 32px;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* block hugs left, next to logo */
  justify-content: center;
  gap: 0.12rem;
  min-width: 0;
  max-width: 100%;
  width: max-content;
  line-height: 1.25;
  text-align: left;
  direction: ltr; /* lockup sits LTR next to logo */
}

.brand-tag {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  line-height: 1.42;
  color: var(--mute);
  letter-spacing: -0.01em;
  direction: rtl; /* Persian glyphs */
  unicode-bidi: plaintext;
  text-align: left;
  width: max-content;
  max-width: min(22rem, 100%);
}

.brand-lockup .brand-tag {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-tag-foot {
  margin: 0;
  flex: 1 1 14rem;
  max-width: 28rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(232, 236, 242, 0.62);
  line-height: 1.6;
}

.brand-foot {
  flex-shrink: 0;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background:
    linear-gradient(145deg, var(--gold-2) 0%, var(--gold-deep) 55%, var(--ink) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 6px 16px rgba(184, 149, 108, 0.25);
  position: relative;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1.5px solid rgba(255, 252, 247, 0.55);
  border-radius: 4px;
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(45deg);
}

.brand-name {
  display: block;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  line-height: 1.2;
  text-align: left;
  width: max-content;
  max-width: 100%;
  direction: ltr;
}

.brand-name span { color: var(--gold-deep); }

@media (max-width: 1100px) {
  .brand {
    max-width: min(18rem, 38vw);
  }
}

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

  .brand-lockup .brand-tag {
    display: none; /* هدر موبایل شلوغ نشود؛ در فوتر کامل می‌ماند */
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--slate);
  transition: color var(--duration-press) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .nav a:hover { color: var(--gold-deep); }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.15rem;
  padding: 0 0.55rem;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  background: var(--white);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--slate);
  direction: ltr;
  transition:
    color var(--duration-press) var(--ease-out),
    border-color var(--duration-press) var(--ease-out),
    background var(--duration-press) var(--ease-out),
    transform var(--duration-press) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .lang-switch:hover {
    color: var(--gold-deep);
    border-color: rgba(184, 149, 108, 0.45);
    background: rgba(184, 149, 108, 0.08);
  }
}

.lang-switch:active {
  transform: scale(0.97);
}

/* English / LTR page */
html[lang="en"] body,
body.lang-en {
  --font: "Inter", system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  font-size: 16px;
}

html[dir="ltr"] .domain-grid-paper .domain-paper {
  /* keep large icon on the left in LTR */
  flex-direction: row-reverse;
}

html[dir="ltr"] .page-glow {
  background:
    radial-gradient(900px 480px at 15% -5%, rgba(184, 149, 108, 0.12), transparent 55%),
    radial-gradient(700px 420px at 100% 20%, rgba(28, 36, 48, 0.05), transparent 50%);
}

.link-quiet {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--mute);
  direction: ltr;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  background: var(--white);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.nav-toggle i {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] i:first-child {
  transform: translateY(3.25px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] i:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform var(--duration-press) var(--ease-out),
    background var(--duration-ui) var(--ease-out),
    border-color var(--duration-ui) var(--ease-out),
    box-shadow var(--duration-ui) var(--ease-out),
    color var(--duration-ui) var(--ease-out);
  text-align: center;
}

.btn:active {
  transform: scale(0.97);
}

.btn-sm { padding: 0.55rem 1.05rem; font-size: 0.88rem; }
.btn-lg { padding: 0.9rem 1.45rem; font-size: 0.98rem; }
.btn-block { width: 100%; }

.btn-gold {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: var(--ink);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.25) inset,
    0 10px 28px rgba(184, 149, 108, 0.28);
}

@media (hover: hover) and (pointer: fine) {
  .btn-gold:hover {
    transform: translateY(-1px);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, 0.3) inset,
      0 14px 32px rgba(184, 149, 108, 0.35);
  }

  .btn-ghost:hover {
    border-color: var(--ink);
    background: rgba(11, 15, 20, 0.03);
  }

  .btn-ink:hover {
    background: var(--ink-2);
    transform: translateY(-1px);
  }
}

.btn-ghost {
  background: transparent;
  border-color: var(--line-2);
  color: var(--ink-2);
}

.btn-ink {
  background: var(--ink);
  color: var(--white);
  padding: 0.8rem 1.35rem;
  font-size: 0.95rem;
  box-shadow: 0 12px 28px rgba(11, 15, 20, 0.18);
}

.btn-gold:active,
.btn-ink:active,
.btn-ghost:active {
  transform: scale(0.97);
}

/* ---------- Hero ---------- */
.hero {
  padding: 4rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--gold-deep);
  margin-bottom: 1.15rem;
  letter-spacing: 0.01em;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-soft);
}

.hero h1 {
  font-size: clamp(1.85rem, 3.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.035em;
  color: var(--ink);
  margin-bottom: 1.25rem;
  max-width: 16ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-deep);
  position: relative;
}

.lede {
  font-size: 1.08rem;
  color: var(--mute);
  max-width: 36rem;
  margin-bottom: 1.85rem;
  font-weight: 400;
  line-height: 1.85;
}

.lede strong {
  color: var(--ink-2);
  font-weight: 700;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.hero-metrics li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-metrics strong {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
}

.hero-metrics span {
  font-size: 0.82rem;
  color: var(--mute);
  line-height: 1.5;
}

/* Hero panel */
.panel {
  background: var(--ink);
  color: #e8ecf2;
  border-radius: 22px;
  padding: 1.65rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.panel::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -20%;
  width: 70%;
  height: 70%;
  background: radial-gradient(circle, rgba(184, 149, 108, 0.2), transparent 65%);
  pointer-events: none;
}

.panel-top {
  display: flex;
  align-items: center;
  justify-content: flex-end; /* visual left in RTL */
  gap: 0.75rem;
  margin-bottom: 1rem;
  position: relative;
}

.panel-top .mono {
  color: rgba(232, 236, 242, 0.45);
}

.panel-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold-2);
  border: 1px solid rgba(184, 149, 108, 0.3);
}

.panel-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.45rem;
  position: relative;
  color: #fff;
}

.panel-desc {
  font-size: 0.92rem;
  color: rgba(232, 236, 242, 0.62);
  margin-bottom: 1.35rem;
  position: relative;
  line-height: 1.7;
}

.panel-steps {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  position: relative;
  margin-bottom: 1.25rem;
}

.panel-steps li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  border: 1px solid transparent;
}

.panel-steps li.is-active {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(184, 149, 108, 0.25);
}

.ps-n {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-weight: 500;
  padding-top: 0.2rem;
  flex-shrink: 0;
}

.panel-steps strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 0.1rem;
}

.panel-steps p {
  font-size: 0.84rem;
  color: rgba(232, 236, 242, 0.5);
}

.panel-foot {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-foot span {
  font-size: 0.78rem;
  color: rgba(232, 236, 242, 0.4);
}

.panel-foot strong {
  font-size: 0.95rem;
  color: var(--gold-2);
  font-weight: 700;
}

/* ---------- Sections ---------- */
.section {
  padding: var(--space-section) 0;
}

.section-ink {
  background: var(--ink);
  color: #e8ecf2;
  position: relative;
  overflow: hidden;
}

.section-ink::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(184, 149, 108, 0.1), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 30%);
  pointer-events: none;
}

.section-head {
  max-width: 38rem;
  margin: 0 auto 2.75rem;
  text-align: center;
  position: relative;
}

.section-head-light .section-desc { color: rgba(232, 236, 242, 0.58); }
.section-head-light h2 { color: #fff; }

.label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.65rem;
}

.section-ink .label { color: var(--gold); }

.section-head h2,
.outcomes-copy h2,
.contact-copy h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.3;
  margin-bottom: 0.85rem;
}

.section-desc {
  color: var(--mute);
  font-size: 1.02rem;
  line-height: 1.8;
}

/* Method */
.method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.method-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--space-card) 1.45rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 100%;
  transition:
    transform var(--duration-ui) var(--ease-out),
    box-shadow var(--duration-ui) var(--ease-out),
    border-color var(--duration-ui) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .method-card:hover {
    transform: translateY(-3px);
    border-color: rgba(184, 149, 108, 0.28);
    box-shadow: var(--shadow);
  }
}

.method-card-focus {
  background: var(--ink);
  color: #e8ecf2;
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-lg);
}

.method-card-focus:hover {
  border-color: rgba(184, 149, 108, 0.35);
}

.method-card-focus p { color: rgba(232, 236, 242, 0.6); }
.method-card-focus .method-n { color: var(--gold); }
.method-card-focus .part-ico { color: var(--gold); }
.method-card-focus h3 { color: #fff; }

.method-n {
  color: var(--gold-deep);
  font-size: 0.75rem;
}

/* Minimal icons for section parts only */
.part-ico {
  display: inline-flex;
  color: var(--gold-deep);
  margin-bottom: 0.15rem;
  line-height: 0;
}

.part-ico svg { display: block; }

.method-card .part-ico {
  margin-bottom: 0.25rem;
}

.domain-paper .part-ico {
  margin-bottom: 0;
  color: var(--gold-deep);
}

/* Domain cards: text on start (right in RTL), large icon on left */
.domain-grid-paper .domain-paper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.1rem;
  padding: 1.35rem 1.3rem;
  transition:
    transform var(--duration-ui) var(--ease-out),
    box-shadow var(--duration-ui) var(--ease-out),
    border-color var(--duration-ui) var(--ease-out);
}

.domain-grid-paper .domain-txt {
  flex: 1;
  min-width: 0;
  text-align: start;
}

.domain-grid-paper .domain-txt h3 {
  margin-bottom: 0.25rem;
}

.domain-grid-paper .domain-paper .part-ico-lg {
  flex-shrink: 0;
  width: 3.6rem;
  height: 3.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(184, 149, 108, 0.12);
  color: var(--gold-deep);
  margin: 0;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
}

.domain-grid-paper .domain-paper .part-ico-lg svg {
  width: 2.35rem;
  height: 2.35rem;
  display: block;
}

.method-card h3 {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.method-card p {
  color: var(--mute);
  font-size: 0.96rem;
  line-height: 1.75;
  flex: 1;
}

/* Domains */
.domain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  position: relative;
}

.domain {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  transition:
    background var(--duration-ui) var(--ease-out),
    border-color var(--duration-ui) var(--ease-out),
    transform var(--duration-ui) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .domain:hover {
    background: rgba(184, 149, 108, 0.08);
    border-color: rgba(184, 149, 108, 0.28);
    transform: translateY(-2px);
  }
}

.domain h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.3rem;
}

.domain p {
  font-size: 0.9rem;
  color: rgba(232, 236, 242, 0.5);
}

/* Domains on paper (light) sections */
.domain-grid-paper .domain-paper {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

@media (hover: hover) and (pointer: fine) {
  .domain-grid-paper .domain-paper:hover {
    background: var(--white);
    border-color: rgba(184, 149, 108, 0.42);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
  }
}

.domain-grid-paper .domain-paper h3 {
  color: var(--ink);
  letter-spacing: -0.02em;
  font-size: 1.06rem;
}
.domain-grid-paper .domain-paper p {
  color: var(--mute);
  line-height: 1.55;
  font-size: 0.9rem;
}

/* Method cards inside dark section — reuse domain look */
.method-grid-light {
  position: relative;
}

.section-soft {
  background: var(--paper-2);
  border-block: 1px solid var(--line);
}

.domain-ico {
  display: inline-flex;
  color: var(--gold);
  margin-bottom: 0.55rem;
}

.domain-ico svg { display: block; }

.domain-note {
  position: relative;
  margin: 1.75rem auto 0;
  max-width: 38rem;
  text-align: center;
  font-size: 0.95rem;
  color: rgba(232, 236, 242, 0.55);
  line-height: 1.75;
  padding: 1.1rem 1.4rem;
  border: 1px dashed rgba(184, 149, 108, 0.3);
  border-radius: var(--radius-sm);
}

.domain-note strong {
  color: var(--gold-2);
  font-weight: 700;
}

/* Outcomes */
.outcomes-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: center;
}

.outcomes-copy .section-desc {
  margin-bottom: 1.5rem;
  max-width: 28rem;
}

.outcomes-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.outcomes-list li {
  display: grid;
  grid-template-columns: 5.75rem 1fr;
  gap: 1.1rem;
  align-items: center;
  padding: 1.2rem 1.3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition:
    transform var(--duration-ui) var(--ease-out),
    box-shadow var(--duration-ui) var(--ease-out),
    border-color var(--duration-ui) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .outcomes-list li:hover {
    border-color: rgba(184, 149, 108, 0.32);
    box-shadow: var(--shadow);
    transform: translateY(-1px);
  }
}

.out-k {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--gold-deep);
  text-transform: uppercase;
}

.outcomes-list li > span:last-child {
  font-size: 0.96rem;
  color: var(--mute);
  line-height: 1.7;
}

/* Contact */
.section-contact {
  background:
    linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
  border-top: 1px solid var(--line);
  padding-bottom: 5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: start;
}

.contact-copy .section-desc {
  margin-bottom: 1.75rem;
  max-width: 28rem;
}

.contact-lines {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.contact-lines a {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1.05rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition:
    border-color var(--duration-ui) var(--ease-out),
    box-shadow var(--duration-ui) var(--ease-out),
    transform var(--duration-ui) var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .contact-lines a:hover {
    border-color: rgba(184, 149, 108, 0.4);
    box-shadow: var(--shadow);
    transform: translateY(-1px);
  }
}

.contact-lines a:active {
  transform: scale(0.99);
}

.contact-lines .mono {
  color: var(--mute-2);
}

.contact-lines strong {
  font-size: 1.02rem;
  color: var(--ink);
}

.form-shell {
  position: relative;
}

.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.9rem 1.65rem 1.7rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

.form-shell.is-done .form {
  display: none;
}

.form-ok-panel {
  display: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 2.75rem 1.65rem;
  box-shadow: var(--shadow-lg);
  min-height: 280px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.form-shell.is-done .form-ok-panel,
.form-ok-panel:not([hidden]) {
  display: flex;
}

.form-ok-panel[hidden] {
  display: none !important;
}

.form-ok-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  max-width: 22rem;
}

.form-ok-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(45, 106, 79, 0.12);
  color: var(--ok);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.form-ok-inner h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.form-ok-inner p {
  font-size: 1rem;
  color: var(--mute);
  line-height: 1.7;
}

.form-ok-inner .fine {
  margin-top: 0.5rem;
}

.form-head {
  margin-bottom: 0.15rem;
}

.form-head h3 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.form-head p {
  font-size: 0.88rem;
  color: var(--mute);
  margin-top: 0.3rem;
  line-height: 1.55;
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form label > span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: 0.01em;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 0.82rem 1rem;
  background: rgba(244, 242, 236, 0.55);
  outline: none;
  transition:
    border-color var(--duration-ui) var(--ease-out),
    box-shadow var(--duration-ui) var(--ease-out),
    background var(--duration-ui) var(--ease-out);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: rgba(184, 149, 108, 0.55);
  background: var(--white);
  box-shadow: var(--shadow-focus);
}

.form input:hover,
.form select:hover,
.form textarea:hover {
  border-color: rgba(11, 15, 20, 0.18);
}

.form input.invalid,
.form select.invalid {
  border-color: #b42318;
}

.form textarea {
  resize: vertical;
  min-height: 88px;
}

.fields-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.95rem;
}

.form .btn {
  margin-top: 0.15rem;
}

.fine {
  text-align: center;
  font-size: 0.78rem;
  color: var(--mute-2);
  margin-top: -0.2rem;
}

.form-err {
  padding: 0.85rem 1rem;
  border-radius: 11px;
  background: rgba(180, 35, 24, 0.08);
  border: 1px solid rgba(180, 35, 24, 0.25);
  color: #b42318;
  font-size: 0.9rem;
  font-weight: 600;
}

/* honeypot — not visible, not in layout */
.form .hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form button:disabled {
  opacity: 0.75;
  cursor: default;
  transform: none;
}

/* Footer */
.footer {
  background: var(--ink);
  color: rgba(232, 236, 242, 0.5);
  padding: 1.75rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-foot .brand-name { color: #fff; }
.brand-foot .brand-name span { color: var(--gold-2); }

.footer p { font-size: 0.9rem; }
.footer .copy {
  font-size: 0.72rem;
  color: rgba(232, 236, 242, 0.35);
}

/* Reveal — enter from near-scale + opacity (never scale(0)); ease-out, <300ms feel */
.reveal {
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition:
    opacity var(--duration-enter) var(--ease-out),
    transform var(--duration-enter) var(--ease-out);
  transition-delay: var(--d, 0s);
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0) scale(1);
  will-change: auto;
}

/* Stagger helpers for card grids (30–80ms feel) */
.method-grid .reveal:nth-child(1) { --d: 0ms; }
.method-grid .reveal:nth-child(2) { --d: 50ms; }
.method-grid .reveal:nth-child(3) { --d: 100ms; }
.domain-grid .reveal:nth-child(1) { --d: 0ms; }
.domain-grid .reveal:nth-child(2) { --d: 40ms; }
.domain-grid .reveal:nth-child(3) { --d: 80ms; }
.domain-grid .reveal:nth-child(4) { --d: 120ms; }
.domain-grid .reveal:nth-child(5) { --d: 160ms; }
.domain-grid .reveal:nth-child(6) { --d: 200ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }

  .btn:active,
  .btn-gold:active,
  .btn-ink:active,
  .btn-ghost:active,
  .lang-switch:active {
    transform: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid,
  .method-grid,
  .domain-grid,
  .outcomes-shell,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .hero h1 { max-width: none; }
  .hero { padding: 2.75rem 0 2.5rem; }
  .section { padding: 3.25rem 0; }
  .domain-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-panel { max-width: 480px; }
}

@media (max-width: 760px) {
  .shell { width: calc(100% - 1.75rem); }

  .nav {
    position: fixed;
    top: var(--header);
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 252, 247, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    padding: 0.4rem 0;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
    z-index: 40;
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid var(--line);
  }

  .nav a:last-child { border-bottom: none; }

  .nav-toggle { display: inline-flex; }
  .hide-sm { display: none; }

  .hero-metrics { grid-template-columns: 1fr; gap: 0.85rem; }
  .domain-grid { grid-template-columns: 1fr; }
  .fields-2 { grid-template-columns: 1fr; }
  .outcomes-list li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .hero h1 { font-size: 1.65rem; }
}
