/*
Theme Name: Parisa Teymouri
Description: قالب اختصاصی سایت پریسا تیموری، وکیل حمل‌ونقل، بار و تجارت بین‌الملل. طراحی مدرن «لیکوئید گلس» روی زمینه سبز تیره. سه زبان (فارسی، English، العربية) بدون افزونه، صفحه‌های مسئله‌محور، فرم پنج‌گامی طرح مسئله با امتیازدهی، و دستیار پاسخ‌گو از پرسش‌های تأییدشده. رنگ‌ها و متن‌ها از «سفارشی‌سازی» تغییر می‌کنند.
Version: 6.1.0
Tested up to: 7.1
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: parisa-teymouri
*/

/* ---------- Tokens ---------- */
/* The five base colors arrive as RGB triplets from the Customizer; every other shade is derived from them.
   green = the deep ground behind the glass, brown and accent = the light that passes through it,
   ground = light text, ink = dark text on light buttons. */
:root {
  --green-rgb: 14, 58, 45;
  --brown-rgb: 94, 59, 32;
  --accent-rgb: 217, 190, 148;
  --ground-rgb: 244, 246, 243;
  --ink-rgb: 20, 33, 28;

  --green: rgb(var(--green-rgb));
  --brown: rgb(var(--brown-rgb));
  --accent: rgb(var(--accent-rgb));
  --ground: rgb(var(--ground-rgb));
  --ink: rgb(var(--ink-rgb));

  --bg: #061a14;
  --bg-2: #0a2a21;
  --text: var(--ground);
  --text-strong: #fff;
  --muted: rgba(var(--ground-rgb), 0.7);
  --faint: rgba(var(--ground-rgb), 0.5);
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.24);
  --link: var(--accent);
  --accent-hi: #f1e2c9;
  --ok: #8fd6b4;
  --err: #ffb4a8;

  /* glass */
  --glass-bg: linear-gradient(145deg, rgba(255, 255, 255, 0.13) 0%, rgba(255, 255, 255, 0.055) 40%, rgba(255, 255, 255, 0.03) 64%, rgba(255, 255, 255, 0.08) 100%);
  --glass-bg-strong: linear-gradient(145deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 45%, rgba(255, 255, 255, 0.11) 100%);
  --glass-blur: blur(22px) saturate(165%);
  --glass-line: rgba(255, 255, 255, 0.16);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), inset 0 -1px 0 rgba(255, 255, 255, 0.05), inset 1px 0 0 rgba(255, 255, 255, 0.07), 0 24px 60px -24px rgba(0, 0, 0, 0.6);
  --well: rgba(0, 0, 0, 0.22);

  --font: "Vazirmatn", Tahoma, "Segoe UI", sans-serif;
  --lh: 1.95;
  --lh-head: 1.45;
  --w-head: 800;
  --logo-h: 40px;
  --wrap: 1220px;
  --r: 14px;
  --r-card: 24px;
  --r-slab: 32px;
  color-scheme: dark;
}

@supports (color: color-mix(in srgb, red, blue)) {
  :root {
    --bg: color-mix(in srgb, var(--green) 42%, #000);
    --bg-2: color-mix(in srgb, var(--green) 72%, #000);
    --accent-hi: color-mix(in srgb, var(--accent) 55%, #fff);
  }
}

/* Without backdrop blur the glass would be unreadable, so it becomes a tinted solid. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root {
    --glass-bg: linear-gradient(145deg, rgba(var(--green-rgb), 0.96), rgba(var(--green-rgb), 0.88));
    --glass-bg-strong: linear-gradient(145deg, rgba(var(--green-rgb), 0.98), rgba(var(--green-rgb), 0.92));
  }
}

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

html { scroll-padding-top: 6.5rem; background: var(--bg); }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: transparent;
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: var(--lh);
  text-align: start;
  -webkit-font-smoothing: antialiased;
  position: relative;
  isolation: isolate;
}

/* The light behind the glass: two warm fields and one green, slowly drifting. */
body::before {
  content: ""; position: fixed; inset: -12%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(42% 38% at 82% 8%, rgba(var(--brown-rgb), 0.85), transparent 70%),
    radial-gradient(36% 34% at 12% 34%, rgba(var(--green-rgb), 0.95), transparent 72%),
    radial-gradient(30% 30% at 64% 62%, rgba(var(--accent-rgb), 0.16), transparent 70%),
    radial-gradient(40% 36% at 20% 96%, rgba(var(--brown-rgb), 0.55), transparent 70%),
    linear-gradient(165deg, var(--bg-2) 0%, var(--bg) 55%, #020906 100%);
}
@media (prefers-reduced-motion: no-preference) {
  body::before { animation: pt-drift 36s ease-in-out infinite alternate; }
}
@keyframes pt-drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-3%, 2%, 0) scale(1.04); }
  100% { transform: translate3d(2%, -2%, 0) scale(1.02); }
}
/* A faint chart grid and grain, so the blur has detail to bend. */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E"),
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 160px 160px, 96px 96px, 96px 96px;
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(120% 90% at 50% 20%, #000 40%, transparent 100%);
  mask-image: radial-gradient(120% 90% at 50% 20%, #000 40%, transparent 100%);
  mix-blend-mode: soft-light;
}

h1, h2, h3, h4 { margin: 0; font-weight: var(--w-head); line-height: var(--lh-head); color: var(--text-strong); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0; padding: 0; }
html[lang^="fa"] :is(.entry-content, .chat__bubble) ol, html[lang^="fa"] .sidecard__list { list-style-type: persian; }
::selection { background: rgba(var(--accent-rgb), 0.85); color: var(--ink); }

a { color: var(--link); text-underline-offset: 0.3em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-hi); }

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

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.muted { color: var(--muted); }

.screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; inset-inline-start: 1rem; top: -5rem; z-index: 100;
  background: var(--accent); color: var(--ink); padding: 0.5rem 1rem; border-radius: 999px;
}
.skip-link:focus { top: 1rem; color: var(--ink); }

/* ---------- Glass ---------- */
.site-header__bar, .hero__panel, .idcard, .trust__grid, .tile, .chain, .chain__node, .card, .note,
.section--green > .wrap, .final__inner, .sidecard, .panel, .notice, .iq__card, .chat, .steps__item,
.entry-content .pt-box, .assist-link, .mbar, .site-footer > .wrap, .pagination .page-numbers, .about--photo .about__photo {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-line);
  box-shadow: var(--glass-shadow);
}
/* A soft highlight that follows the pointer (set by site.js). */
.tile, .card, .steps__item, .chain__node, .hero__panel a {
  background-image: radial-gradient(420px circle at var(--mx, 30%) var(--my, -20%), rgba(255, 255, 255, 0.12), transparent 45%), var(--glass-bg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: inherit;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  padding: 0.72rem 1.7rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--small { padding: 0.5rem 1.3rem; font-size: 0.95rem; }
.btn--large { padding: 0.9rem 2rem; }
.btn--accent, .btn--solid {
  background: linear-gradient(180deg, var(--accent-hi) 0%, var(--accent) 55%, rgba(var(--accent-rgb), 0.92) 100%);
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -2px 6px rgba(var(--brown-rgb), 0.25), 0 10px 30px -8px rgba(var(--accent-rgb), 0.45);
}
.btn--accent:hover, .btn--solid:hover { color: var(--ink); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 -2px 6px rgba(var(--brown-rgb), 0.2), 0 16px 36px -8px rgba(var(--accent-rgb), 0.6); }
.btn--ghost, .btn--line {
  background: rgba(255, 255, 255, 0.07); color: var(--text-strong); border-color: var(--line-strong);
  -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.btn--ghost:hover, .btn--line:hover { background: rgba(255, 255, 255, 0.15); color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* ---------- Top bar: availability and email ---------- */
.topbar { position: relative; z-index: 41; padding-top: 0.6rem; font-size: 0.86rem; line-height: 1.6; }
.topbar__inner { display: flex; justify-content: flex-end; }
.topbar__pill {
  display: inline-flex; align-items: center; gap: 0.35rem 0.9rem; flex-wrap: wrap;
  padding: 0.3rem 0.45rem 0.3rem 0.9rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(14px) saturate(150%); backdrop-filter: blur(14px) saturate(150%);
}
html[dir="rtl"] .topbar__pill { padding: 0.3rem 0.9rem 0.3rem 0.45rem; }
.topbar__badge {
  display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.1rem 0.75rem; border-radius: 999px;
  font-weight: 800; letter-spacing: 0.02em; color: var(--ink);
  background: linear-gradient(180deg, var(--accent-hi), var(--accent));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.topbar__dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #1f9d6a; box-shadow: 0 0 0 0 rgba(31, 157, 106, 0.6); }
@media (prefers-reduced-motion: no-preference) {
  .topbar__dot { animation: pt-pulse 2.2s ease-out infinite; }
}
@keyframes pt-pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 157, 106, 0.55); } 70% { box-shadow: 0 0 0 0.45rem rgba(31, 157, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 157, 106, 0); } }
.topbar__mail { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2rem; color: #fff; text-decoration: none; font-weight: 500; }
.topbar__mail svg { color: var(--accent); flex: none; }
.topbar__mail:hover { color: var(--accent-hi); text-decoration: underline; }
@media (max-width: 700px) {
  .topbar { font-size: 0.8rem; }
  .topbar__inner { justify-content: center; }
}

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0.75rem; z-index: 40; padding-top: 0.75rem; margin-top: -0.75rem; }
.site-header__bar {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem 1.75rem;
  padding: 0.6rem 0.7rem; padding-inline-start: 1.2rem;
  border-radius: 999px;
  background: var(--glass-bg-strong);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.is-scrolled .site-header__bar { box-shadow: var(--glass-shadow), 0 18px 50px -12px rgba(0, 0, 0, 0.55); }
.brand { display: flex; align-items: center; gap: 0.9rem; color: #fff; text-decoration: none; min-width: 0; }
.brand:hover { color: #fff; }
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__name { font-size: 1.2rem; font-weight: var(--w-head); line-height: 1.4; }
.brand__tag { font-size: 0.78rem; color: var(--muted); line-height: 1.5; }
.brand__logo { display: inline-flex; align-items: center; line-height: 0; flex: none; }
.brand__logo img {
  height: var(--logo-h); width: auto; max-width: min(13rem, 42vw); object-fit: contain;
  /* If the image cannot load, its alt text stands in as the name. */
  font: var(--w-head) 1.05rem/1.4 var(--font); color: #fff;
}
.brand__logo--plate { background: rgba(255, 255, 255, 0.92); padding: 0.3rem 0.85rem; border-radius: 999px; box-shadow: inset 0 1px 0 #fff, 0 6px 18px -6px rgba(0, 0, 0, 0.4); }
.brand__logo--plate img { color: var(--ink); }
.brand__text--fallback { display: none; }
.brand--nologo .brand__logo { display: none; }
.brand--nologo .brand__text--fallback { display: flex; }

.site-nav { display: flex; align-items: center; gap: 0.75rem 1.25rem; }
.site-nav__list { display: flex; gap: 0.2rem; list-style: none; }
.site-nav__list a {
  display: block; color: var(--muted); text-decoration: none; font-size: 0.95rem;
  padding: 0.45rem 0.95rem; border-radius: 999px; transition: background-color 0.2s ease, color 0.2s ease;
}
.site-nav__list a:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.site-nav__list a[aria-current] { color: #fff; font-weight: 700; background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2); }

.langs { display: flex; gap: 0.1rem; list-style: none; font-size: 0.85rem; padding: 0.2rem; border-radius: 999px; background: var(--well); border: 1px solid var(--line); }
.langs a {
  display: grid; place-items: center; min-width: 2.3rem; min-height: 2.3rem; border-radius: 999px;
  color: var(--muted); text-decoration: none;
}
.langs a:hover { color: #fff; }
.langs a[aria-current] { color: var(--ink); font-weight: 700; background: var(--accent); }

.nav-toggle {
  display: none; font: inherit; font-size: 0.92rem; min-height: 2.6rem;
  background: rgba(255, 255, 255, 0.08); color: #fff; border: 1px solid var(--line-strong); border-radius: 999px;
  padding: 0.3rem 1.1rem; cursor: pointer;
}

@media (max-width: 1080px) {
  .nav-toggle { display: inline-block; }
  .site-header__bar { border-radius: 26px; }
  .site-nav {
    display: none; position: absolute; inset-inline: 0; top: calc(100% + 0.6rem);
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem 1.1rem 1.25rem; border-radius: var(--r-card);
    /* A menu inside the glass bar cannot blur the page itself, so it is kept almost opaque. */
    background: linear-gradient(160deg, var(--green), var(--bg));
    border: 1px solid var(--glass-line); box-shadow: var(--glass-shadow), 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  }
  .site-nav.is-open { display: flex; }
  .site-nav__list { flex-direction: column; gap: 0.15rem; }
  .site-nav__list a { padding: 0.75rem 1rem; border-radius: var(--r); }
  .langs { align-self: flex-start; }
  .site-nav .btn { width: 100%; }
}
@media (max-width: 560px) {
  .brand__tag { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(3rem, 8vw, 6.5rem) clamp(3rem, 7vw, 5.5rem); overflow: clip; }
/* The route line: a shipment's path drawn across the opening screen. */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.55;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 640' preserveAspectRatio='none'%3E%3Cpath d='M-20 560 C 220 520 300 360 520 330 S 860 380 1010 250 S 1260 70 1460 60' fill='none' stroke='%23d9be94' stroke-opacity='.45' stroke-width='1.5' stroke-dasharray='2 9' stroke-linecap='round'/%3E%3Ccircle cx='520' cy='330' r='5' fill='%23d9be94' fill-opacity='.7'/%3E%3Ccircle cx='1010' cy='250' r='5' fill='%23d9be94' fill-opacity='.7'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(2rem, 5vw, 4rem); }
.hero__copy { flex: 999 1 32rem; min-width: 0; display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
.hero__title {
  font-size: clamp(2.3rem, 5.4vw, 4.4rem); max-width: 15em; line-height: 1.32; letter-spacing: -0.01em; text-wrap: balance;
  background: linear-gradient(180deg, #fff 30%, var(--accent-hi) 120%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
html[lang^="en"] .hero__title { line-height: 1.12; letter-spacing: -0.025em; }
.hero__text { margin: 0; max-width: 34em; font-size: 1.18rem; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 0.4rem; }
.hero__assist {
  display: inline-flex; align-items: center; gap: 0.6rem; padding: 0.45rem 1rem 0.45rem 0.9rem;
  color: var(--accent); font-size: 0.95rem; text-decoration: none; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
}
.hero__assist:hover { color: #fff; background: rgba(255, 255, 255, 0.1); }
.hero__who {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 0.5rem;
  margin: 0; padding: 0.4rem 1.1rem; border-radius: 999px; font-size: 0.97rem; font-weight: 700; color: var(--accent);
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.hero__who span { font-weight: 400; color: var(--muted); }
.hero__side { flex: 1 1 21rem; max-width: 26rem; min-width: 0; position: relative; }
.hero__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-card); border: 1px solid var(--glass-line); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7); }
.idcard {
  position: relative; display: flex; flex-direction: column; gap: 0.1rem;
  color: var(--muted); font-size: 0.92rem;
  margin: -3.25rem 1.25rem 0; padding: 1.1rem 1.4rem; border-radius: 20px;
  background: var(--glass-bg-strong);
}
.idcard__name { color: #fff; font-size: 1.12rem; font-weight: var(--w-head); }

/* Quick choice of issue, shown beside the opening text when there is no photo. */
.hero__panel { flex: 1 1 22rem; max-width: 28rem; min-width: 0; border-radius: var(--r-card); padding: 1.4rem; }
.hero__panel-title { margin: 0 0 0.9rem; padding-inline: 0.4rem; font-size: 0.9rem; font-weight: 700; color: var(--accent); }
.hero__panel ul { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.hero__panel a {
  display: flex; align-items: center; gap: 0.85rem; padding: 0.7rem 0.9rem; border-radius: 16px;
  color: #fff; text-decoration: none; font-weight: 500; font-size: 0.98rem; line-height: 1.6;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.hero__panel a:hover { border-color: rgba(var(--accent-rgb), 0.55); transform: translateX(-2px); color: #fff; }
html[dir="ltr"] .hero__panel a:hover { transform: translateX(2px); }
.hero__panel .icon {
  width: 2.4rem; height: 2.4rem; flex: none; padding: 0.5rem; border-radius: 12px; color: var(--accent);
  background: rgba(var(--accent-rgb), 0.12); border: 1px solid rgba(var(--accent-rgb), 0.25);
}
.hero__panel a::after { content: "←"; margin-inline-start: auto; color: var(--faint); font-size: 1.1rem; }
html[dir="ltr"] .hero__panel a::after { content: "→"; }
@media (max-width: 700px) {
  .hero__actions { width: 100%; flex-direction: column; }
  .hero__side { max-width: none; }
  .hero__panel { display: none; } /* the same issues follow as tiles right below */
  .hero__photo { aspect-ratio: 5 / 4; }
}

/* ---------- Trust strip ---------- */
.trust { padding-bottom: 1rem; }
.trust__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); margin-block: 0; border-radius: var(--r-card); overflow: hidden; }
.trust__item { padding: 1.6rem 1.6rem; border-inline-start: 1px solid var(--line); }
.trust__item:first-child { border-inline-start: 0; }
.trust__item dt { font-size: 1.6rem; font-weight: var(--w-head); color: var(--accent); line-height: 1.5; }
.trust__item dd { margin: 0; font-size: 0.92rem; color: var(--muted); }
@media (max-width: 700px) {
  .trust__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust__item { padding: 1.1rem 1.25rem; border-top: 1px solid var(--line); }
  .trust__item dt { font-size: 1.2rem; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.25rem, 8vw, 6rem); }
.section--white { background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.16) 18%, rgba(0, 0, 0, 0.16) 82%, transparent); }
.section--green > .wrap { border-radius: var(--r-slab); padding: clamp(1.75rem, 5vw, 3.5rem); }
.section__head { max-width: 42em; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0.5rem 2rem; }
.section__title { font-size: clamp(1.8rem, 3.4vw, 2.75rem); margin-bottom: 0.6rem; text-wrap: balance; }
.section__head--row .section__title { margin-bottom: 0; }
.section__lead { margin: 0; color: var(--muted); font-size: 1.08rem; }
.section__after { margin-top: 1.75rem; color: var(--muted); }
.section__after a { font-weight: 700; }

/* ---------- Issue tiles ---------- */
.tiles { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1.1rem; }
.tile {
  display: flex; flex-direction: column; gap: 0.7rem; height: 100%;
  border-radius: var(--r-card); padding: 1.8rem; color: var(--text); text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.tile:hover { color: var(--text); transform: translateY(-4px); border-color: rgba(var(--accent-rgb), 0.45); box-shadow: var(--glass-shadow), 0 30px 60px -28px rgba(0, 0, 0, 0.7); }
.tile .icon {
  width: 3rem; height: 3rem; padding: 0.6rem; border-radius: 14px; color: var(--accent);
  background: rgba(var(--accent-rgb), 0.12); border: 1px solid rgba(var(--accent-rgb), 0.25);
}
.tile__title { font-size: 1.28rem; font-weight: 700; margin-top: 0.4rem; }
.tile__text { margin: 0; flex: 1; font-size: 0.95rem; color: var(--muted); }
.tile__more { font-size: 0.92rem; font-weight: 700; color: var(--accent); }
.tile:hover .tile__more { text-decoration: underline; }
@media (max-width: 700px) {
  .tile { flex-direction: row; flex-wrap: wrap; align-items: center; padding: 1.1rem 1.2rem; gap: 0.5rem 0.9rem; border-radius: 20px; }
  .tile .icon { width: 2.5rem; height: 2.5rem; flex: none; padding: 0.45rem; }
  .tile__title { flex: 1; margin: 0; font-size: 1.08rem; }
  .tile__text { flex: 1 1 100%; }
  .tile__more { display: none; }
}

/* ---------- Chain of responsibility ---------- */
.chain { border-radius: var(--r-card); padding: clamp(1.25rem, 3vw, 2rem); }
.chain__label { margin: 0 0 1.25rem; font-size: 0.9rem; font-weight: 700; color: var(--accent); }
.chain__row { list-style: none; display: flex; gap: 0 2.1rem; }
.chain__node {
  position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column;
  border-radius: 18px; padding: 0.85rem 1.05rem; color: #fff; font-weight: 700;
}
.chain__node span { font-size: 0.84rem; color: var(--muted); line-height: 1.7; font-weight: 400; }
.chain__node--main { background: linear-gradient(160deg, rgba(var(--accent-rgb), 0.32), rgba(var(--accent-rgb), 0.12)); border-color: rgba(var(--accent-rgb), 0.5); }
.chain__node--main span { color: var(--accent-hi); }
.chain__node + .chain__node::before {
  content: ""; position: absolute; inset-inline-start: calc(-2.1rem - 1px); top: 50%;
  width: 2.1rem; height: 2px; background: linear-gradient(90deg, rgba(var(--accent-rgb), 0.2), rgba(var(--accent-rgb), 0.8), rgba(var(--accent-rgb), 0.2));
}
.chain__note { margin: 1.25rem 0 0; font-size: 0.9rem; color: var(--muted); }
@media (max-width: 900px) {
  .chain__row { flex-direction: column; gap: 1.1rem 0; }
  .chain__node + .chain__node::before { inset-inline-start: 1.6rem; top: calc(-1.1rem - 1px); width: 2px; height: 1.1rem; }
}

/* ---------- Columns, lists, definitions ---------- */
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 2.25rem; margin-top: clamp(2rem, 4vw, 2.75rem); }
.section__title + .cols { margin-top: 1.5rem; }
.cols__item { position: relative; padding-top: 1.2rem; }
.cols__item::before { content: ""; position: absolute; top: 0; inset-inline-start: 0; width: 2.5rem; height: 3px; border-radius: 3px; background: var(--accent); }
.cols__item h3 { font-size: 1.28rem; font-weight: 700; margin-bottom: 0.4rem; }
.cols__item p { font-size: 0.97rem; color: var(--muted); }

.split { display: flex; flex-wrap: wrap; gap: clamp(2rem, 5vw, 3.5rem); align-items: flex-start; }
.split__main { flex: 1 1 24rem; min-width: 0; }
.split__main .actions { margin-top: 1.75rem; }
.lines { flex: 1 1 26rem; min-width: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 0.6rem; }
.lines li { padding: 0.85rem 1.1rem; border-radius: 16px; font-weight: 500; background: var(--well); border: 1px solid var(--line); }

.defs { margin: 0; }
.section__title + .defs { margin-top: 1.5rem; }
.defs__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 0.25rem 2rem; padding-block: 1.15rem; border-top: 1px solid var(--line); }
.defs__row:last-child { border-bottom: 1px solid var(--line); }
.defs__row dt { font-weight: 700; color: #fff; }
.defs__row dd { margin: 0; color: var(--muted); }
.defs__row dd a { color: var(--text); }
.defs--wide .defs__row dt { font-size: 1.2rem; color: var(--accent); }
@media (max-width: 700px) { .defs__row { grid-template-columns: 1fr; } }

.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; margin-block: 1.25rem; }
.chips li, .chip {
  font-size: 0.9rem; line-height: 1.6; background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line-strong);
  border-radius: 999px; padding: 0.35rem 0.95rem; color: var(--text);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
a.chip { display: inline-block; text-decoration: none; min-height: 2.75rem; padding-block: 0.55rem; }
a.chip:hover { border-color: rgba(var(--accent-rgb), 0.6); color: #fff; background: rgba(255, 255, 255, 0.12); }

.tag { align-self: flex-start; font-size: 0.8rem; font-weight: 700; color: var(--accent); border: 1px solid rgba(var(--accent-rgb), 0.4); background: rgba(var(--accent-rgb), 0.1); border-radius: 999px; padding: 0.1rem 0.75rem; }

/* ---------- Cards and articles ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1.1rem; }
.card { display: flex; flex-direction: column; gap: 0.75rem; border-radius: var(--r-card); padding: 1.8rem; }
.card__title { font-size: 1.22rem; font-weight: 700; }
.card__body { font-size: 0.97rem; color: var(--muted); }

.articles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1.1rem; }
.articles--list { grid-template-columns: 1fr; max-width: 48rem; gap: 1rem; }
.article {
  display: flex; flex-direction: column; gap: 0.5rem; padding: 1.5rem 1.6rem; border-radius: var(--r-card);
  background: rgba(255, 255, 255, 0.045); border: 1px solid var(--line);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.article:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--line-strong); }
.article__date { font-size: 0.85rem; color: var(--faint); }
.article__title { font-size: 1.28rem; font-weight: 700; line-height: 1.65; }
.article__title a { color: #fff; text-decoration: none; }
.article__title a:hover { color: var(--accent-hi); text-decoration: underline; }
.article__text { margin: 0; color: var(--muted); }
.article__more { font-size: 0.92rem; font-weight: 700; }

.pagination { margin-top: 3rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pagination .page-numbers { min-width: 2.75rem; min-height: 2.75rem; display: grid; place-items: center; padding-inline: 0.9rem; border-radius: 999px; text-decoration: none; color: var(--text); }
.pagination .page-numbers.current { background: var(--accent); border-color: var(--accent); color: var(--ink); }

/* ---------- About ---------- */
.about { display: flex; flex-wrap: wrap; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.about__photo { flex: 1 1 18rem; max-width: 24rem; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-card); padding: 0.5rem; }
.about__body { flex: 999 1 28rem; min-width: 0; max-width: 46rem; }
.about__body .btn { margin-top: 1.25rem; }
.about__body > p { color: var(--muted); }
.about__lead { font-size: 1.15rem; }
.note { margin-top: clamp(2rem, 5vw, 3rem); border-radius: var(--r-card); padding: 1.5rem 1.75rem; max-width: 46rem; background: linear-gradient(150deg, rgba(var(--brown-rgb), 0.5), rgba(var(--brown-rgb), 0.2)); border-color: rgba(var(--accent-rgb), 0.25); }
.note__title { font-size: 1.15rem; color: var(--accent-hi); margin-bottom: 0.4rem; }
.note p { margin-bottom: 0.5rem; }

/* ---------- Final call ---------- */
.final { padding-block: clamp(1rem, 3vw, 2rem) clamp(3rem, 7vw, 5rem); }
.final__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.75rem 3.5rem;
  border-radius: var(--r-slab); padding: clamp(1.75rem, 5vw, 3.5rem);
  background: linear-gradient(135deg, rgba(var(--brown-rgb), 0.62) 0%, rgba(var(--brown-rgb), 0.3) 50%, rgba(255, 255, 255, 0.06) 100%);
  border-color: rgba(var(--accent-rgb), 0.3);
}
.final__copy { flex: 1 1 28rem; min-width: 0; }
.final__title { font-size: clamp(1.65rem, 3.1vw, 2.5rem); margin-bottom: 0.5rem; text-wrap: balance; }
.final__copy p { color: rgba(255, 255, 255, 0.78); max-width: 36em; }
.final__actions { display: flex; flex-direction: column; gap: 0.8rem; align-items: flex-start; }
.final__direct { margin: 0; font-size: 0.93rem; color: rgba(255, 255, 255, 0.75); }
.final__direct a { color: #fff; margin-inline-start: 0.5rem; }

/* ---------- Footer ---------- */
.site-footer { color: var(--muted); font-size: 0.93rem; padding-block: 0 1.25rem; }
.site-footer > .wrap { border-radius: var(--r-slab); padding: clamp(1.75rem, 4vw, 2.75rem); background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.25)); }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 2.25rem; }
.site-footer p { margin: 0; }
.site-footer__name { font-size: 1.25rem; font-weight: var(--w-head); color: #fff; margin-bottom: 0.3rem; }
.site-footer h2 { font-size: 0.93rem; font-weight: 700; color: var(--accent); margin-bottom: 0.5rem; }
.site-footer ul { list-style: none; }
.site-footer li { padding-block: 0.22rem; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover, .site-footer a[aria-current] { color: #fff; text-decoration: underline; }
.site-footer__legal { margin-top: 2.25rem; padding-top: 1.4rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; font-size: 0.86rem; color: var(--faint); }
.site-footer__legal p:first-child { max-width: 46em; }
.site-footer__links { display: flex; gap: 1.25rem; }

/* ---------- Assistant link and mobile bar ---------- */
.assist-link {
  position: fixed; inset-inline-end: 1.25rem; bottom: 1.25rem; z-index: 30;
  display: inline-flex; align-items: center; gap: 0.55rem;
  color: #fff; border-radius: 999px; background: var(--glass-bg-strong);
  padding: 0.7rem 1.2rem; font-size: 0.93rem; font-weight: 700; text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.assist-link svg { color: var(--accent); }
.assist-link:hover { color: #fff; transform: translateY(-2px); border-color: rgba(var(--accent-rgb), 0.5); }
.mbar { display: none; }
@media (max-width: 760px) {
  .assist-link { display: none; }
  .mbar {
    position: fixed; inset-inline: 0.6rem; bottom: 0.6rem; z-index: 30;
    display: flex; gap: 0.55rem; align-items: stretch;
    border-radius: 999px; padding: 0.45rem; background: var(--glass-bg-strong);
  }
  .mbar .btn { flex: 1; padding-inline: 0.75rem; }
  .mbar__icon { flex: none; width: 3rem; display: grid; place-items: center; border-radius: 999px; color: #fff; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line-strong); }
  body:has(.mbar) { padding-bottom: 5rem; }
}

/* ---------- Inner pages ---------- */
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 3vw, 2rem); }
.page-head__title {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem); max-width: 20em; text-wrap: balance;
  background: linear-gradient(180deg, #fff 30%, var(--accent-hi) 130%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-head__lead { margin: 1rem 0 0; max-width: 38em; font-size: 1.15rem; color: var(--muted); }
.crumbs {
  display: inline-flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.86rem; color: var(--faint); margin-bottom: 1.1rem;
  padding: 0.3rem 0.95rem; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line);
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover, .crumbs__here { color: #fff; }

.layout { display: flex; flex-wrap: wrap; gap: clamp(2rem, 5vw, 3.5rem); align-items: flex-start; padding-block: clamp(1.5rem, 4vw, 3rem) clamp(3rem, 7vw, 6rem); }
.layout__main { flex: 999 1 34rem; min-width: 0; }
.layout__side { flex: 1 1 18rem; max-width: 23rem; min-width: 0; display: flex; flex-direction: column; gap: 1rem; position: sticky; top: 6.5rem; }
.layout--single .layout__main { max-width: 48rem; }
@media (max-width: 860px) { .layout__side { max-width: none; position: static; } }

.block { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.block__title { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin-bottom: 1.25rem; }

.sidecard { border-radius: var(--r-card); padding: 1.5rem 1.6rem; font-size: 0.95rem; color: var(--muted); }
.sidecard p { margin-bottom: 0.75rem; }
.sidecard__title { font-size: 1.15rem; font-weight: var(--w-head); line-height: 1.6; color: #fff; }
.sidecard .btn { display: flex; margin-block: 1rem 0.75rem; }
.sidecard__note { font-size: 0.85rem; color: var(--faint); }
.sidecard__links { list-style: none; }
.sidecard__links li { border-top: 1px solid var(--line); }
.sidecard__links a { display: block; padding-block: 0.6rem; }
.sidecard__list { padding-inline-start: 1.3rem; }
.sidecard__list li { margin-bottom: 0.4rem; }
.sidecard--green { background: linear-gradient(155deg, rgba(var(--accent-rgb), 0.2), rgba(var(--green-rgb), 0.45) 55%, rgba(255, 255, 255, 0.06)); border-color: rgba(var(--accent-rgb), 0.3); }
.sidecard--sand { background: linear-gradient(155deg, rgba(var(--brown-rgb), 0.55), rgba(var(--brown-rgb), 0.22)); border-color: rgba(var(--accent-rgb), 0.22); }
.sidecard--sand .sidecard__title { color: var(--accent-hi); }

.panel { border-radius: var(--r-card); padding: clamp(1.4rem, 4vw, 2.25rem); }
.panel__title { font-size: 1.5rem; margin-bottom: 1rem; }
.panel--done { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
.panel--done svg { color: var(--accent); }
.panel--done .btn { margin-top: 0.75rem; }

.notice { padding: 0.9rem 1.2rem; margin-bottom: 1.5rem; border-radius: 18px; font-weight: 500; }
.notice--err { border-color: rgba(255, 140, 120, 0.5); color: var(--err); background: linear-gradient(150deg, rgba(160, 40, 30, 0.35), rgba(160, 40, 30, 0.15)); }
.notice--info { color: var(--muted); font-weight: 400; }

/* ---------- Text content ---------- */
.entry-content { color: rgba(var(--ground-rgb), 0.86); }
.entry-content > * + * { margin-top: 1.15em; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin-top: 2em; }
.entry-content h2 + * { margin-top: 0.6em; }
.entry-content h3 { font-size: 1.3rem; margin-top: 1.6em; }
.entry-content strong { color: #fff; }
.entry-content p, .entry-content li { max-width: 42em; }
.entry-content ul, .entry-content ol { padding-inline-start: 1.4rem; }
.entry-content li + li { margin-top: 0.35em; }
.entry-content li::marker { color: var(--accent); }
.entry-content blockquote { margin-inline: 0; padding: 0.8rem 1.25rem; border-inline-start: 3px solid var(--accent); border-radius: 0 14px 14px 0; background: rgba(255, 255, 255, 0.05); color: var(--muted); }
html[dir="rtl"] .entry-content blockquote { border-radius: 14px 0 0 14px; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: 0.6rem 0.5rem; text-align: start; }
.entry-content th { color: #fff; }
.entry-content img { border-radius: var(--r); }
.entry-thumb { margin-bottom: 2rem; }
.entry-thumb img { border-radius: var(--r-card); border: 1px solid var(--glass-line); }
.byline { margin-top: 2.5rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--faint); }
.alignleft { float: left; margin: 0.4rem 1.5rem 1rem 0; }
.alignright { float: right; margin: 0.4rem 0 1rem 1.5rem; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, figcaption { font-size: 0.88rem; color: var(--faint); }

/* Blocks used by the issue pages */
.entry-content .pt-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 0.6rem; }
.entry-content .pt-grid li { margin: 0; max-width: none; display: flex; flex-direction: column; padding: 0.9rem 1.1rem; border-radius: 16px; background: var(--well); border: 1px solid var(--line); color: #fff; font-weight: 500; }
.entry-content .pt-grid span { font-size: 0.92rem; color: var(--muted); font-weight: 400; }
.entry-content .pt-box { border-radius: var(--r-card); padding: clamp(1.25rem, 3vw, 2rem); margin-top: 2.25em; }
.entry-content .pt-box h2 { margin-top: 0; font-size: 1.45rem; }
.entry-content .pt-ticks { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 0.6rem 2rem; }
.entry-content .pt-ticks li { margin: 0; position: relative; padding-inline-start: 1.4rem; }
.entry-content .pt-ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.72em; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.6); }
.entry-content .pt-note { font-size: 0.9rem; color: var(--faint); max-width: none; }

/* ---------- Steps (a real sequence, so it is numbered) ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 1rem; }
.section__title + .steps { margin-top: 1.5rem; }
.layout__main .steps { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.steps__item { border-radius: var(--r-card); padding: 1.4rem 1.5rem; }
.steps__num {
  display: inline-grid; place-items: center; width: 2.8rem; height: 2.8rem; margin-bottom: 0.75rem; border-radius: 50%;
  font-size: 1.2rem; font-weight: var(--w-head); color: var(--ink); line-height: 1;
  background: linear-gradient(180deg, var(--accent-hi), var(--accent)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 8px 20px -8px rgba(var(--accent-rgb), 0.6);
}
.steps__title { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.3rem; }
.steps__text { margin: 0; font-size: 0.95rem; color: var(--muted); }

/* ---------- Inquiry form ---------- */
.iq__count { margin: 0 0 0.75rem; color: var(--muted); min-height: 1.9em; }
html:not(.js) .iq__count { display: none; }
.iq__progress { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin-bottom: 1.5rem; }
.iq__progress li { display: flex; align-items: center; gap: 0.55rem; font-size: 0.92rem; color: var(--faint); }
.iq__dot { width: 2.2rem; height: 2.2rem; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.06); font-weight: 700; color: var(--muted); }
.iq__progress li.is-current { color: #fff; font-weight: 700; }
.iq__progress li.is-current .iq__dot { background: linear-gradient(180deg, var(--accent-hi), var(--accent)); border-color: transparent; color: var(--ink); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), 0.18); }
.iq__progress li.is-done { color: var(--muted); }
.iq__progress li.is-done .iq__dot { background: rgba(var(--brown-rgb), 0.85); border-color: rgba(var(--accent-rgb), 0.35); color: #fff; }
@media (max-width: 620px) { .iq__progress li:not(.is-current) span:last-child { display: none; } }

.iq__card { border-radius: var(--r-card); padding: clamp(1.25rem, 4vw, 2.25rem); background: var(--glass-bg-strong); }
.iq__step { border: 0; margin: 0 0 2rem; padding: 0; min-width: 0; }
.js .iq__step { display: none; margin-bottom: 0; }
.js .iq__step.is-current { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .js .iq__step.is-current { animation: pt-rise 0.35s ease both; }
}
@keyframes pt-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.iq__q { padding: 0; font-size: 1.45rem; font-weight: 700; line-height: 1.6; margin-bottom: 1.25rem; color: #fff; }
.iq__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; border-top: 1px solid var(--line); margin-top: 1.75rem; padding-top: 1.4rem; }
.iq__nav .btn { min-height: 3.1rem; }
.iq [data-next], .iq [data-back] { display: none; }
.js .iq [data-next], .js .iq [data-back], .js .iq [data-submit] { display: inline-flex; }
.js .iq [hidden] { display: none; }

.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1.1rem 1.25rem; margin-bottom: 1.1rem; }
.fields--three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
.field { margin-bottom: 1.1rem; }
.fields .field { margin-bottom: 0; }
.field label, .field__label { display: block; font-size: 0.92rem; font-weight: 700; margin-bottom: 0.35rem; color: rgba(255, 255, 255, 0.9); }
.field input, .field select, .field textarea, .chat__form input {
  width: 100%; font: inherit; font-size: 1rem; color: #fff; background: var(--well);
  border: 1px solid var(--line-strong); border-radius: var(--r); padding: 0.6rem 0.95rem; min-height: 3.1rem;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.18);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.field input::placeholder, .field textarea::placeholder, .chat__form input::placeholder { color: var(--faint); }
.field select option { background: var(--bg-2); color: #fff; }
.field textarea { line-height: 1.8; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, 0.36); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible, .chat__form input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: rgba(var(--accent-rgb), 0.6); background: rgba(0, 0, 0, 0.3); }
.field input[dir="ltr"] { text-align: end; }
html[dir="ltr"] .field input[dir="ltr"] { text-align: start; }
.field__hint { margin: 0.4rem 0 0; font-size: 0.86rem; color: var(--faint); }
.field--trap { position: absolute; inset-inline-start: -9999px; }

.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 0.7rem; }
.choices--inline { display: flex; flex-wrap: wrap; margin-bottom: 1.25rem; }
.field .choices--inline { margin-bottom: 0; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; min-height: 3.4rem; height: 100%; padding: 0.6rem 1.15rem;
  border: 1px solid var(--line-strong); border-radius: 16px; background: rgba(255, 255, 255, 0.06); font-weight: 500; color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); transition: background-color 0.2s ease, border-color 0.2s ease;
}
.choices--inline .choice span { min-height: 3rem; padding-inline: 1.6rem; border-radius: 999px; }
.choice:hover span { border-color: rgba(var(--accent-rgb), 0.55); background: rgba(255, 255, 255, 0.1); }
.choice input:checked + span { background: linear-gradient(180deg, var(--accent-hi), var(--accent)); border-color: transparent; color: var(--ink); font-weight: 700; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 10px 24px -10px rgba(var(--accent-rgb), 0.6); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 0 1.25rem; }
.check { display: flex; align-items: flex-start; gap: 0.7rem; min-height: 2.75rem; padding-block: 0.4rem; cursor: pointer; }
.check input { width: 1.25rem; height: 1.25rem; margin: 0.35em 0 0; flex: none; accent-color: var(--accent); }
.check--box { background: var(--well); border: 1px solid var(--line); border-radius: 16px; padding: 0.9rem 1.05rem; margin-top: 1.1rem; font-size: 0.93rem; color: var(--muted); }

/* ---------- Assistant ---------- */
.chat { border-radius: var(--r-card); overflow: hidden; background: var(--glass-bg-strong); }
.chat__notice { margin: 0; padding: 0.85rem 1.35rem; font-size: 0.88rem; color: var(--muted); background: rgba(0, 0, 0, 0.18); border-bottom: 1px solid var(--line); }
.chat__log { display: flex; flex-direction: column; gap: 0.9rem; padding: 1.35rem; min-height: 12rem; }
.chat__bubble { max-width: min(38rem, 92%); padding: 0.9rem 1.15rem; border-radius: 20px; font-size: 0.98rem; color: var(--text); }
.chat__bubble > * + * { margin-top: 0.6em; }
.chat__bubble p { margin-bottom: 0; }
.chat__bubble ol, .chat__bubble ul { padding-inline-start: 1.3rem; }
.chat__bubble--user { align-self: flex-start; background: linear-gradient(180deg, var(--accent-hi), var(--accent)); color: var(--ink); border-end-start-radius: 6px; font-weight: 500; }
.chat__bubble--bot { align-self: flex-end; background: rgba(255, 255, 255, 0.08); border: 1px solid var(--line); border-end-end-radius: 6px; }
.chat__bubble--plain { background: rgba(255, 255, 255, 0.05); }
.chat__bubble--cta { align-self: flex-end; background: linear-gradient(150deg, rgba(var(--brown-rgb), 0.6), rgba(var(--brown-rgb), 0.3)); border: 1px solid rgba(var(--accent-rgb), 0.3); }
.chat__bubble--cta .btn { margin-top: 0.75rem; }
.chat__flag { font-size: 0.84rem; font-weight: 700; color: var(--accent); }
.chat__source { font-size: 0.86rem; color: var(--faint); border-top: 1px solid var(--line); padding-top: 0.5rem; }
.chat__links { list-style: none; padding: 0 !important; }
.chat__links a { font-weight: 700; }
.chat__suggest { padding: 0 1.35rem 1rem; }
.chat__suggest ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.chat__form { display: flex; gap: 0.6rem; padding: 0.9rem 1.1rem; border-top: 1px solid var(--line); background: rgba(0, 0, 0, 0.16); }
.chat__form input { flex: 1; min-width: 0; border-radius: 999px; padding-inline: 1.2rem; }
.chat__form .btn { flex: none; width: 3.1rem; padding: 0; display: grid; place-items: center; }
html[dir="rtl"] .chat__form svg { transform: scaleX(-1); }
.chat.is-busy .chat__form { opacity: 0.6; pointer-events: none; }
.chat__turn { display: contents; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2, .7, .2, 1); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tile, .btn, .hero__panel a, .assist-link { transition: none; }
}
