/* Bengal Legal Tech LLP — corporate site
   Palette is fixed by the brand brief. No gradients, no heavy shadows. */

:root {
  --blue: #0052cc;
  --blue-deep: #003d99;
  --navy: #0f2942;
  --navy-line: #27425e;
  --ice: #f4f6f9;
  --ink: #252525;
  --muted: #4a5568;
  --line: #e2e8f0;
  --sky: #8db8ff;
  --white: #ffffff;

  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-deep); }
h1, h2, h3, h4 { margin: 0; color: var(--navy); font-weight: 500; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.on-navy :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--sky); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--white); color: var(--navy); padding: 10px 16px; border: 1px solid var(--navy); }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--ice { background: var(--ice); }
.section--navy { background: var(--navy); color: #d8e3f0; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }

.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- type ---------- */
.display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.022em;
  line-height: 1.04;
  font-size: clamp(2.6rem, 5.6vw, 5rem);
  text-wrap: balance;
}
.display em, .h2 em { font-style: italic; color: var(--blue); font-weight: 400; }
.on-navy .display em, .section--navy .h2 em { color: var(--sky); }
.h2 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.018em;
  line-height: 1.1;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  text-wrap: balance;
}
.h3 { font-family: var(--display); font-weight: 500; font-size: 1.5rem; line-height: 1.2; letter-spacing: -0.01em; }
.lede { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 60ch; }
.section--navy .lede { color: #b7c7da; }
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 20px;
}
.eyebrow .no { color: var(--navy); font-variant-numeric: tabular-nums; }
.eyebrow::after { content: ""; flex: 0 0 40px; height: 1px; background: currentColor; opacity: 0.5; }
.section--navy .eyebrow { color: var(--sky); }
.section--navy .eyebrow .no { color: var(--white); }
.small { font-size: 0.875rem; color: var(--muted); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.005em; line-height: 1.2;
  text-decoration: none; border: 1px solid transparent; border-radius: 2px;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn .icon { transition: transform 0.2s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-deep); color: var(--white); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--ice); color: var(--navy); }
.btn--ghost-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn--ghost-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; font-size: 0.9375rem; }
.link-arrow .icon { transition: transform 0.2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: var(--white); border-bottom: 1px solid var(--navy-line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; }
.brand:hover { color: var(--white); }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name strong { font-family: var(--display); font-weight: 500; font-size: 1.25rem; letter-spacing: -0.01em; }
.brand-name span { font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--sky); margin-top: 3px; }
.nav { display: none; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-list a { display: block; padding: 10px 12px; color: #cfdceb; text-decoration: none; font-size: 0.9rem; font-weight: 500; border-bottom: 1px solid transparent; transition: color 0.2s var(--ease), border-color 0.2s var(--ease); }
.nav-list a:hover { color: var(--white); }
.nav-list a[aria-current="page"] { color: var(--white); border-bottom-color: var(--sky); }
.nav-list .nav-cta a { margin-left: 12px; background: var(--blue); color: var(--white); border-radius: 2px; padding: 10px 18px; border-bottom: 0; }
.nav-list .nav-cta a:hover { background: var(--white); color: var(--navy); }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; color: var(--white); background: transparent; border: 1px solid var(--navy-line); border-radius: 2px; font-size: 0.875rem; font-weight: 600; }
.menu-btn .icon { width: 20px; height: 20px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: block; }
.mobile-nav { background: var(--navy); border-top: 1px solid var(--navy-line); }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { display: flex; justify-content: space-between; align-items: center; padding: 16px var(--gutter); color: #e4edf7; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--navy-line); min-height: 52px; }
.mobile-nav a[aria-current="page"] { color: var(--sky); }
@media (min-width: 1100px) {
  .nav { display: block; }
  .menu-btn, .mobile-nav { display: none; }
}

/* ---------- hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 88px) 0; }
.hero-grid { display: grid; gap: 40px; align-items: stretch; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding-bottom: clamp(8px, 3vw, 40px); }
.hero-copy .lede { margin: 28px 0 36px; }
.hero-media { position: relative; margin: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.hero-media figcaption { position: absolute; left: 0; bottom: 0; background: var(--navy); color: var(--white); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; padding: 10px 16px; font-weight: 500; }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 7fr 5fr; gap: 56px; }
  .hero-media img { aspect-ratio: auto; min-height: 520px; }
}
.facts { display: grid; grid-template-columns: repeat(2, 1fr); margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--navy); }
.fact { padding: 24px 20px 28px 0; border-bottom: 1px solid var(--line); }
.fact:nth-child(odd) { border-right: 1px solid var(--line); }
.fact:nth-child(even) { padding-left: 20px; }
.fact b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 4vw, 3.25rem); line-height: 1; color: var(--navy); letter-spacing: -0.02em; }
.fact span { display: block; margin-top: 10px; font-size: 0.875rem; color: var(--muted); max-width: 22ch; }
@media (min-width: 800px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .fact { border-bottom: 0; padding: 28px 24px 32px 0; border-right: 1px solid var(--line); }
  .fact:nth-child(even) { padding-left: 24px; }
  .fact:nth-child(odd) { border-right: 1px solid var(--line); }
  .fact + .fact { padding-left: 24px; }
  .fact:last-child { border-right: 0; }
}

/* ---------- identity (not an agency) ---------- */
.split { display: grid; gap: 48px; }
@media (min-width: 960px) { .split { grid-template-columns: 5fr 7fr; gap: 80px; } .split--even { grid-template-columns: 1fr 1fr; } .split--flip > :first-child { order: 2; } }
.split--sticky > :first-child { align-self: start; }
@media (min-width: 960px) { .split--sticky > :first-child { position: sticky; top: 112px; } }
.statement { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2.15rem); line-height: 1.28; letter-spacing: -0.012em; color: var(--navy); font-weight: 400; margin-bottom: 32px; text-wrap: pretty; }
.principles { border-top: 1px solid var(--navy); }
.principles li { display: grid; grid-template-columns: 48px 1fr; gap: 8px 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.principles .n { font-size: 0.8125rem; font-weight: 600; color: var(--blue); font-variant-numeric: tabular-nums; padding-top: 6px; }
.principles h3 { font-size: 1.1875rem; font-family: var(--body); font-weight: 600; letter-spacing: -0.005em; margin-bottom: 6px; }
.principles p { margin: 0; color: var(--muted); max-width: 56ch; }
.photo { margin: 0; }
.photo img { width: 100%; object-fit: cover; }
.photo figcaption { margin-top: 10px; font-size: 0.8125rem; color: var(--muted); }

/* ---------- section heading row ---------- */
.sec-head { display: grid; gap: 20px 48px; margin-bottom: clamp(32px, 5vw, 56px); align-items: end; }
.sec-head p { margin: 0; }
@media (min-width: 960px) { .sec-head { grid-template-columns: 7fr 5fr; } }

/* ---------- product cards ---------- */
.cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: 2px; padding: 28px;
  transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.card:hover { border-color: var(--blue); transform: translateY(-2px); }
.card[hidden] { display: none; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 28px; }
.logo-tile { width: 56px; height: 56px; display: grid; place-items: center; background: var(--ice); border: 1px solid var(--line); color: var(--navy); border-radius: 2px; }
.logo-tile .icon { width: 26px; height: 26px; }
.logo-tile img { width: 56px; height: 56px; }
.card h3 { font-family: var(--display); font-size: 1.75rem; font-weight: 500; letter-spacing: -0.015em; line-height: 1.1; }
.card .tagline { color: var(--muted); margin: 8px 0 20px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; border: 1px solid var(--line); color: var(--navy); border-radius: 2px; line-height: 1.4; background: var(--white); }
.badge--sector { color: var(--muted); }
.badge--live { background: var(--blue); border-color: var(--blue); color: var(--white); }
.badge--dev { background: var(--ice); color: var(--navy); }
.badge--soon { border-color: var(--blue); color: var(--blue); }
.badge--beta { background: var(--navy); border-color: var(--navy); color: var(--white); }
.badge .dot { width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
.feat-list { margin: 0 0 24px; border-top: 1px solid var(--line); }
.feat-list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; display: flex; gap: 10px; align-items: center; }
.feat-list .icon { width: 16px; height: 16px; color: var(--blue); }
.card-foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding-top: 4px; }

/* store buttons (own artwork, not the official badges) */
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 16px 8px 12px; background: var(--navy); color: var(--white); text-decoration: none; border-radius: 2px; border: 1px solid var(--navy); transition: background-color 0.2s var(--ease); line-height: 1.1; }
.store:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.store .icon { width: 22px; height: 22px; }
.store small { display: block; font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; color: #b7c7da; margin-bottom: 2px; }
.store strong { font-size: 0.9375rem; font-weight: 600; }
.store[aria-disabled="true"] { background: var(--white); color: var(--muted); border-color: var(--line); border-style: dashed; cursor: default; pointer-events: none; }
.store[aria-disabled="true"] small { color: var(--muted); }
.on-navy .store { background: var(--white); color: var(--navy); border-color: var(--white); }
.on-navy .store small { color: var(--muted); }
.on-navy .store:hover { background: var(--sky); border-color: var(--sky); color: var(--navy); }
.on-navy .store[aria-disabled="true"] { background: transparent; color: #b7c7da; border-color: var(--navy-line); }
.on-navy .store[aria-disabled="true"] small { color: #b7c7da; }

/* filters */
.filters { display: grid; gap: 20px; margin-bottom: 32px; padding: 20px 0; border-top: 1px solid var(--navy); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .filters { grid-template-columns: auto 1fr; gap: 12px 40px; align-items: start; } }
.filter-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); padding-top: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 8px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 2px; color: var(--navy); font-size: 0.875rem; font-weight: 500; transition: background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease); }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.empty { padding: 48px 0; color: var(--muted); border-bottom: 1px solid var(--line); }

/* ---------- sector matrix ---------- */
.matrix { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 680px) { .matrix { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .matrix { grid-template-columns: repeat(3, 1fr); } }
.tile { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--white); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; transition: border-color 0.2s var(--ease); }
.tile:hover { border-color: var(--navy); color: inherit; }
.tile-img { overflow: hidden; aspect-ratio: 16/10; background: var(--ice); }
.tile-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.85) contrast(1.02); transition: filter 0.4s var(--ease), transform 0.6s var(--ease); }
.tile:hover .tile-img img, .tile:focus-visible .tile-img img { filter: none; transform: scale(1.03); }
.tile-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tile-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tile-head .ic { display: inline-flex; align-items: center; gap: 12px; color: var(--blue); }
.tile-head .ic .icon { width: 26px; height: 26px; }
.tile h3 { font-family: var(--display); font-size: 1.5rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.15; }
.tile p { margin: 0; color: var(--muted); font-size: 0.9375rem; }
.tile .idx { font-size: 0.75rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: 0.1em; }
.tile-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 0.8125rem; color: var(--navy); font-weight: 600; }
.tile-foot .icon { width: 18px; height: 18px; }

/* ---------- page header (inner) ---------- */
.page-head { background: var(--ice); border-bottom: 1px solid var(--line); padding-block: clamp(40px, 6vw, 80px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.8125rem; color: var(--muted); margin-bottom: 28px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--blue); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #94a3b8; }
.crumbs { flex-direction: row; }
.page-head .display { font-size: clamp(2.4rem, 5vw, 4.25rem); max-width: 18ch; }
.page-head .lede { margin-top: 24px; }
.band { margin: 0; }
.band img { width: 100%; height: clamp(220px, 34vw, 440px); object-fit: cover; }

/* ---------- prose ---------- */
.prose { max-width: 68ch; }
.prose h2 { font-family: var(--display); font-weight: 500; font-size: 1.75rem; letter-spacing: -0.012em; margin: 2.2em 0 0.6em; line-height: 1.2; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.0625rem; font-family: var(--body); font-weight: 600; margin: 1.6em 0 0.4em; }
.prose p, .prose li { color: #333b46; }
.prose ul { list-style: disc; padding-left: 1.25em; margin-bottom: 1em; }
.prose li { margin-bottom: 0.4em; }
.prose a { font-weight: 500; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.5em; font-size: 0.9375rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--ice); color: var(--navy); font-weight: 600; }
.table-wrap { overflow-x: auto; }
.legal-meta { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 0 0 40px; padding: 16px 0; border-top: 1px solid var(--navy); border-bottom: 1px solid var(--line); font-size: 0.875rem; color: var(--muted); }
.legal-layout { display: grid; gap: 40px; }
@media (min-width: 960px) { .legal-layout { grid-template-columns: 240px 1fr; gap: 80px; } .legal-toc { position: sticky; top: 104px; align-self: start; } }
.legal-toc ol { counter-reset: t; border-top: 1px solid var(--navy); }
.legal-toc li { counter-increment: t; border-bottom: 1px solid var(--line); }
.legal-toc a { display: flex; gap: 12px; padding: 10px 0; text-decoration: none; color: var(--muted); font-size: 0.875rem; }
.legal-toc a::before { content: counter(t, decimal-leading-zero); color: var(--blue); font-weight: 600; font-variant-numeric: tabular-nums; }
.legal-toc a:hover { color: var(--navy); }

/* ---------- lists / rows ---------- */
.rows { border-top: 1px solid var(--navy); }
.row { display: grid; gap: 8px 32px; padding: 28px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 800px) { .row { grid-template-columns: 80px 4fr 6fr; align-items: start; } }
.row .n { font-size: 0.8125rem; font-weight: 600; color: var(--blue); font-variant-numeric: tabular-nums; padding-top: 6px; }
.row h3 { font-family: var(--display); font-size: 1.625rem; font-weight: 500; letter-spacing: -0.012em; line-height: 1.15; }
.row p { margin: 0; color: var(--muted); }
.row p + p { margin-top: 0.75em; }
.row ul { margin-top: 12px; }
.row li { display: flex; gap: 10px; align-items: baseline; color: var(--ink); font-size: 0.9375rem; padding: 4px 0; }
.row li .icon { width: 16px; height: 16px; color: var(--blue); transform: translateY(3px); }

.cols-3 { display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid var(--navy); }
@media (min-width: 800px) { .cols-3 { grid-template-columns: repeat(3, 1fr); } .cols-3 > * + * { border-left: 1px solid var(--line); } .cols-3 > * { padding-inline: 28px; } .cols-3 > :first-child { padding-left: 0; } .cols-3 > :last-child { padding-right: 0; } }
.cols-3 > * { padding-block: 28px; border-bottom: 1px solid var(--line); }
.col-icon { color: var(--blue); margin-bottom: 20px; }
.col-icon .icon { width: 28px; height: 28px; }
.cols-3 h3 { font-family: var(--display); font-size: 1.5rem; font-weight: 500; margin-bottom: 10px; letter-spacing: -0.01em; }
.cols-3 p { color: var(--muted); margin: 0; }

/* stack diagram */
.stack { border: 1px solid var(--navy); background: var(--white); }
.stack-layer { display: grid; gap: 16px 32px; padding: 24px; border-bottom: 1px solid var(--navy); }
.stack-layer:last-child { border-bottom: 0; }
@media (min-width: 800px) { .stack-layer { grid-template-columns: 220px 1fr; align-items: center; } }
.stack-layer h3 { font-size: 0.75rem; font-family: var(--body); letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--blue); }
.stack-layer h3 span { display: block; color: var(--muted); font-weight: 400; letter-spacing: 0.02em; text-transform: none; font-size: 0.8125rem; margin-top: 4px; }
.stack-items { display: flex; flex-wrap: wrap; gap: 8px; }
.stack-items li { padding: 8px 14px; border: 1px solid var(--line); background: var(--ice); font-size: 0.875rem; font-weight: 500; color: var(--navy); border-radius: 2px; }
.stack-layer--dark { background: var(--navy); color: var(--white); }
.stack-layer--dark h3 { color: var(--sky); }
.stack-layer--dark h3 span { color: #b7c7da; }
.stack-layer--dark .stack-items li { background: transparent; border-color: var(--navy-line); color: var(--white); }

/* ---------- forms ---------- */
.form { display: grid; gap: 20px; }
.form-grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.875rem; font-weight: 600; color: var(--navy); }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; color: var(--ink);
  background: var(--ice); border: 1px solid var(--line); border-radius: 2px;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b8c4d4; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { background: var(--white); border-color: var(--blue); outline: 2px solid var(--blue); outline-offset: 1px; }
.field .hint { font-size: 0.8125rem; color: var(--muted); }
.field input[type="file"] { padding: 10px 12px; }
.form-status { min-height: 1.5em; font-size: 0.9375rem; font-weight: 500; }
.form-status.ok { color: #0a6b3a; }
.form-status.err { color: #b42318; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.875rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex: none; }
.hp { position: absolute; left: -9999px; }
.section--navy .form-panel { background: var(--white); color: var(--ink); padding: clamp(24px, 4vw, 40px); border-radius: 2px; }
.form-panel h3 { margin-bottom: 20px; }

.contact-list { border-top: 1px solid var(--navy-line); }
.contact-list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--navy-line); }
.contact-list .icon { color: var(--sky); margin-top: 2px; }
.contact-list dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--sky); margin-bottom: 4px; }
.contact-list dd { margin: 0; color: var(--white); }
.contact-list a { color: var(--white); }
.light-list { border-top: 1px solid var(--navy); }
.light-list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.light-list .icon { color: var(--blue); margin-top: 2px; }
.light-list dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.light-list dd { margin: 0; }
.map { border: 1px solid var(--line); width: 100%; height: clamp(300px, 40vw, 440px); display: block; background: var(--ice); filter: grayscale(1) contrast(1.05); }

/* ---------- LAW KAR page ---------- */
.attrib { background: var(--navy); color: var(--white); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 1px solid var(--navy-line); }
.attrib .wrap { display: flex; align-items: center; gap: 12px; min-height: 44px; flex-wrap: wrap; }
.attrib .sep { width: 24px; height: 1px; background: var(--sky); }
.attrib span:last-child { color: var(--sky); }
.lk-hero .display { max-width: 12ch; }
.lk-mark { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.lk-mark img { width: 64px; height: 64px; }
.lk-mark b { font-family: var(--display); font-size: 1.75rem; font-weight: 500; letter-spacing: 0.04em; color: var(--navy); display: block; line-height: 1; }
.lk-mark small { font-size: 0.75rem; color: var(--muted); letter-spacing: 0.06em; display: block; margin-top: 6px; font-weight: 500; }
.audience { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--navy); border-bottom: 1px solid var(--line); }
@media (min-width: 900px) { .audience { grid-template-columns: repeat(5, 1fr); } }
.audience li { padding: 20px 16px 20px 0; font-weight: 500; color: var(--navy); border-bottom: 1px solid var(--line); display: flex; gap: 10px; align-items: center; }
@media (min-width: 900px) { .audience li { border-bottom: 0; } .audience li + li { padding-left: 20px; border-left: 1px solid var(--line); } }
.audience .icon { color: var(--blue); width: 20px; height: 20px; }
.feature { display: grid; gap: 32px; padding-block: clamp(40px, 6vw, 72px); border-bottom: 1px solid var(--line); align-items: center; }
.feature:first-of-type { border-top: 1px solid var(--navy); }
@media (min-width: 960px) { .feature { grid-template-columns: 6fr 5fr; gap: 96px; } .feature:nth-of-type(even) > :first-child { order: 2; } }
.feature .n { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.12em; color: var(--blue); margin-bottom: 16px; display: block; }
.feature p { color: var(--muted); max-width: 52ch; }
.feature ul { margin-top: 20px; border-top: 1px solid var(--line); max-width: 52ch; }
.feature li { padding: 10px 0; border-bottom: 1px solid var(--line); display: flex; gap: 10px; align-items: center; font-size: 0.9375rem; }
.feature li .icon { width: 16px; height: 16px; color: var(--blue); }

/* illustrative phone screens */
.phones { display: grid; gap: 40px 24px; grid-template-columns: 1fr; justify-items: center; }
@media (min-width: 720px) { .phones { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.phone-fig { margin: 0; width: 100%; max-width: 280px; }
.phone-fig figcaption { margin-top: 16px; font-size: 0.875rem; display: grid; gap: 2px; }
.phone-fig figcaption b { color: var(--navy); font-weight: 600; }
.phone-fig figcaption span { color: var(--muted); }
.phone { background: var(--navy); border-radius: 30px; padding: 9px; aspect-ratio: 9/18.5; }
.screen { background: var(--white); border-radius: 22px; height: 100%; overflow: hidden; display: flex; flex-direction: column; font-size: 0.6875rem; line-height: 1.35; color: var(--ink); }
.screen-bar { background: var(--blue); color: var(--white); padding: 20px 14px 12px; }
.screen-bar small { display: block; opacity: 0.8; font-size: 0.5625rem; letter-spacing: 0.1em; text-transform: uppercase; }
.screen-bar b { font-size: 0.9375rem; font-weight: 600; }
.screen-body { padding: 10px; display: flex; flex-direction: column; gap: 8px; flex: 1; background: var(--ice); }
.s-row { background: var(--white); border: 1px solid var(--line); padding: 8px 10px; border-radius: 4px; }
.s-row b { display: block; color: var(--navy); font-size: 0.75rem; }
.s-row span { color: var(--muted); }
.s-row .t { float: right; color: var(--blue); font-weight: 600; }
.s-search { background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 8px 10px; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.s-search .icon { width: 12px; height: 12px; }
.s-tabs { display: flex; gap: 6px; }
.s-tabs i { font-style: normal; padding: 3px 8px; border: 1px solid var(--line); border-radius: 20px; background: var(--white); color: var(--muted); }
.s-tabs i:first-child { background: var(--navy); border-color: var(--navy); color: var(--white); }
.s-av { display: flex; gap: 8px; align-items: center; }
.s-av i { width: 24px; height: 24px; border-radius: 50%; background: var(--navy); color: var(--white); font-style: normal; display: grid; place-items: center; font-size: 0.5625rem; font-weight: 600; flex: none; }
.s-av i.b { background: var(--blue); }
.note-illu { margin-top: 32px; font-size: 0.8125rem; color: var(--muted); }

.video { position: relative; aspect-ratio: 16/9; background: var(--navy); display: grid; place-items: center; color: var(--white); border-radius: 2px; overflow: hidden; }
.video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.28; }
.video-inner { position: relative; text-align: center; padding: 24px; }
.play { width: 72px; height: 72px; border: 1px solid var(--white); border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px; }
.play .icon { width: 26px; height: 26px; transform: translateX(2px); }
.video-inner b { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 400; }
.video-inner span { color: #b7c7da; font-size: 0.9375rem; }

.news { border-top: 1px solid var(--navy); }
.news li { display: grid; gap: 4px 32px; padding: 20px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .news li { grid-template-columns: 160px 1fr; } }
.news time { font-size: 0.8125rem; font-weight: 600; color: var(--blue); letter-spacing: 0.06em; text-transform: uppercase; }
.news.is-empty li { color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #b7c7da; padding-top: clamp(56px, 8vw, 96px); }
.foot-grid { display: grid; gap: 40px; padding-bottom: 56px; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .foot-grid { grid-template-columns: 5fr 2fr 2fr 2fr; gap: 56px; } }
.foot-tag { font-family: var(--display); font-size: 1.5rem; line-height: 1.25; color: var(--white); margin: 24px 0 0; max-width: 20ch; font-weight: 400; letter-spacing: -0.01em; }
.foot-tag em { color: var(--sky); font-style: italic; }
.foot-col h4 { font-family: var(--body); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky); margin-bottom: 16px; }
.foot-col a { display: inline-block; padding: 7px 0; color: #d8e3f0; text-decoration: none; font-size: 0.9375rem; }
.foot-col a:hover { color: var(--white); text-decoration: underline; }
.foot-bottom { border-top: 1px solid var(--navy-line); padding-block: 24px; display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; font-size: 0.8125rem; }
.foot-bottom a { color: #d8e3f0; }

/* ---------- cookie notice ---------- */
.cookie { position: fixed; z-index: 60; left: var(--gutter); right: var(--gutter); bottom: 16px; max-width: 460px; background: var(--white); border: 1px solid var(--navy); border-radius: 2px; padding: 20px; }
.cookie[hidden] { display: none; }
.cookie h2 { font-family: var(--body); font-size: 0.9375rem; font-weight: 600; margin-bottom: 6px; }
.cookie p { font-size: 0.875rem; color: var(--muted); margin-bottom: 16px; }
.cookie .btn { min-height: 44px; padding: 10px 16px; font-size: 0.875rem; }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .card:hover, .tile:hover .tile-img img { transform: none; }
}

/* ---------- misc ---------- */
.mt-0 { margin-top: 0; }
.stack-gap > * + * { margin-top: 20px; }
.two { display: grid; gap: 32px; }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; gap: 64px; } }
.cta-band .inner { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .cta-band .inner { grid-template-columns: 1fr auto; } }
@media print { .site-header, .site-footer, .cookie, .menu-btn { display: none; } }

.section--navy .form-panel h3, .form-panel h3 { color: var(--navy); }
.legal-layout > * { min-width: 0; }
.split > *, .two > *, .feature > * { min-width: 0; }
