/* Shared shell for public-facing pages */
:root {
  --page-max: 1180px;
  --page-pad: clamp(20px, 3vw, 36px);
  --page-surface: var(--cream-0);
  --page-tint: var(--cream-50);
  --clay: #b56a44;
  --clay-600: #a55c38;
  --clay-ink: #a85e39;
}

html, body { min-height: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--page-tint);
  color: var(--ink-700);
}

a { color: inherit; text-decoration: none; }

.shell-wrap {
  width: min(calc(100% - 2 * var(--page-pad)), var(--page-max));
  margin: 0 auto;
}

header.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 249, 246, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-inner,
.foot-grid {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-inner {
  height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
}

.brand svg { width: 40px; height: 40px; }
.brand img { height: 40px; width: auto; display: block; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand .b-text {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}
.brand .b-text b {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}
.brand .b-mera { color: var(--clay); }
.brand .b-sunaar { color: var(--rose-600); }

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
  font-weight: 500;
}

.nav-links a.active { color: var(--clay); }
.nav-links a:hover { color: var(--rose-600); }

.nav-group {
  position: relative;
  display: inline-flex;
  flex-direction: column;
}

.nav-group-toggle {
  all: unset;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  font: inherit;
  font-weight: 500;
}

.nav-group-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  display: none;
  flex-direction: column;
  gap: 0;
  padding: 12px 0;
  background: var(--page-surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
  z-index: 20;
}

.nav-group:hover .nav-group-menu,
.nav-group:focus-within .nav-group-menu {
  display: flex;
}

.nav-group-menu a {
  display: block;
  padding: 10px 18px;
  color: var(--ink-700);
  white-space: nowrap;
}

.nav-group-menu a:hover,
.nav-group-menu a.active {
  color: var(--clay);
  background: rgba(181, 106, 68, 0.08);
}

.theme-toggle {
  width: 62px;
  height: 30px;
  border: 1px solid var(--line);
  background: var(--page-surface);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  padding: 3px;
  cursor: pointer;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink-700);
  cursor: pointer;
  padding: 4px;
  z-index: 100;
  align-items: center;
  justify-content: center;
}

.theme-toggle .knob {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold-300);
  margin-left: auto;
  display: grid;
  place-items: center;
  color: #fff;
}

.pill-link,
.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--clay);
  border-radius: 999px;
  color: var(--clay);
  padding: 6px 20px 6px 6px;
  font-weight: 700;
  background: transparent;
}

.pill-link .r-ico,
.pill-btn .r-ico {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--clay);
  color: #fff;
  flex: none;
}

.page-hero {
  padding: clamp(42px, 7vw, 88px) 0 clamp(34px, 5vw, 54px);
  background:
    radial-gradient(circle at top right, rgba(255, 90, 141, 0.08), transparent 32%),
    linear-gradient(180deg, var(--page-tint) 0%, #fff 100%);
}

.page-hero.hero-contact {
  background: linear-gradient(180deg, #f8ddd0 0%, #fbf4e8 82%, #fff 100%);
  padding-bottom: 32px;
}

.page-hero.hero-faq {
  background: linear-gradient(180deg, #f6e6ee 0%, #fcf4f8 80%, #fff 100%);
  padding-bottom: 28px;
}

.page-hero.hero-article {
  background: linear-gradient(180deg, #f7dfc7 0%, #fff6e2 82%, #fff 100%);
  padding-bottom: 0;
}

.page-hero.hero-policy {
  background: linear-gradient(180deg, #fae3d6 0%, #fef3eb 82%, #fff 100%);
  padding: clamp(24px, 5vw, 44px) 0 0;
}

.page-hero.hero-policy .hero-copy {
  padding-top: clamp(10px, 1vw, 16px);
}

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(240px, 0.9fr);
  gap: clamp(24px, 5vw, 78px);
  align-items: center;
}

.hero-copy {
  padding: clamp(20px, 2vw, 32px) 0 clamp(8px, 1vw, 14px);
}

.hero-eyebrow {
  color: var(--clay-ink);
  font-weight: 700;
  font-size: 1.08rem;
  margin: 0 0 10px;
}

.hero-standfirst {
  font-family: var(--font-display);
  color: var(--ink-900);
  margin: 0;
  font-size: clamp(1.1rem, 1.8vw, 1.8rem);
  line-height: 1.16;
}

.hero-title {
  font-family: var(--font-sans);
  font-size: clamp(2.2rem, 4.6vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink-900);
  margin: 0 0 28px;
  font-weight: 800;
}

.hero-title.serif,
.page-title.serif {
  font-family: var(--font-display);
  letter-spacing: var(--track-normal);
  font-weight: 400;
}

.hero-title .block { display: block; }

.hero-art {
  position: relative;
  min-height: 240px;
  display: grid;
  place-items: center;
}

.art-card {
  width: min(100%, 340px);
  aspect-ratio: 1.22 / 1;
  border-radius: 28px;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.art-card svg {
  width: 86%;
  height: 86%;
  display: block;
}

.art-glow {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: min(80%, 320px);
  height: 46px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(248, 212, 93, .68) 0%, rgba(248, 212, 93, .16) 52%, transparent 74%);
  filter: blur(10px);
}

.hero-subline {
  margin-top: 14px;
}

.hero-subline .hero-kicker {
  color: var(--clay-ink);
  font-weight: 700;
  font-size: 1.08rem;
  margin: 0 0 6px;
}

.hero-subline .hero-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 2.4vw, 2.55rem);
  line-height: 1.06;
  color: var(--ink-900);
  margin: 0;
}

.page-kicker {
  color: var(--clay-ink);
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
}

.page-title {
  font-family: var(--font-display);
  text-align: center;
  font-size: clamp(2.3rem, 4vw, 3.8rem);
  line-height: 1.05;
  color: var(--ink-900);
  margin: 0;
}

.page-lead {
  text-align: center;
  max-width: 760px;
  margin: 18px auto 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--ink-600);
}

.page-band {
  padding: clamp(28px, 5vw, 64px) 0;
}

.page-band.tight {
  padding-top: 18px;
}

.page-band.article {
  padding-top: 20px;
}

.panel {
  background: var(--page-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.panel-pad {
  padding: clamp(22px, 4vw, 40px);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.card {
  background: var(--page-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.card h3,
.card h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  margin: 0 0 10px;
}

.card p {
  margin: 0;
  color: var(--ink-600);
  line-height: 1.7;
}

.card.soft {
  background: #fff7f4;
}

.card.pale {
  background: #fdf2ec;
}

.eyebrow {
  text-align: center;
  color: var(--clay-ink);
  font-weight: 700;
  margin-bottom: 10px;
}

.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature .ico {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  background: var(--grad-tile);
  color: var(--clay);
  flex: none;
}

.mini-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.mini-chip {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--cream-50);
  border: 1px solid var(--line);
  color: var(--ink-700);
  font-size: 0.95rem;
}

.blog-grid,
.blog-feature {
  display: grid;
  gap: 24px;
}

.blog-feature { grid-template-columns: 1.1fr 0.9fr; align-items: stretch; }
.blog-card {
  overflow: hidden;
  background: var(--page-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.blog-top {
  min-height: 210px;
  padding: 28px 30px;
  position: relative;
}
.blog-top.yellow { background: var(--offer-yellow); }
.blog-top.navy { background: var(--offer-navy); }
.blog-top.peach { background: var(--offer-peach); }
.btag { font-size: 1.02rem; color: var(--ink-900); }
.blog-top.navy .btag { color: #fff; }
.blog-top h3 {
  margin: 10px 0 0;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.3;
  max-width: 70%;
  color: var(--ink-900);
}
.blog-top.navy h3 { color: #fff; }
.blog-media {
  position: absolute;
  right: 22px;
  top: 22px;
  width: 120px;
  height: 120px;
}
.blog-media img { width: 100%; height: 100%; object-fit: contain; display: block; }

.blog-body { padding: 28px 30px 30px; }
.blog-body h4 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--ink-900);
}
.blog-body p { margin: 0 0 22px; color: var(--ink-600); line-height: 1.65; }
.blog-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.date { color: var(--ink-500); }
.round-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: var(--clay);
  color: #fff;
  display: grid;
  place-items: center;
}

.profile-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
}

.profile-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--page-surface);
  box-shadow: var(--shadow-sm);
}

.avatar {
  width: 176px;
  aspect-ratio: 1;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.95), rgba(251, 223, 146, .55) 55%, rgba(255, 90, 141, .16));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--ink-900);
}

.profile-meta {
  display: grid;
  gap: 14px;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.meta-row:last-child { border-bottom: 0; }
.meta-row b { font-size: 1rem; }
.meta-row span { color: var(--ink-500); }

.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.stat {
  padding: 18px;
  border-radius: var(--radius-md);
  background: var(--cream-50);
  border: 1px solid var(--line);
}
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink-900);
  margin-bottom: 4px;
}
.stat span { color: var(--ink-500); font-size: .95rem; }

.story-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}
.story-item {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  background: var(--cream-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.story-item b { display: block; }
.story-item span { color: var(--ink-500); }

.faq-list {
  display: grid;
  gap: 0;
}

.faq-list.lined .faq-item:first-child { border-top: 1px solid var(--line); }

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink-900);
  cursor: pointer;
}

.faq-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--rose-50);
  color: var(--clay);
  display: grid;
  place-items: center;
  flex: none;
  font-size: 1.5rem;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-slow) var(--ease-out);
}

.faq-a p {
  margin: 0 0 22px;
  max-width: 88%;
  color: var(--ink-600);
  line-height: 1.7;
}

.faq-item.open .faq-a { max-height: 320px; }
.faq-item.open .faq-toggle { transform: rotate(45deg); }

.faq-support {
  margin-top: 30px;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff5f2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.faq-support h3 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  margin: 0 0 4px;
  color: var(--ink-900);
}

.faq-support p {
  margin: 0;
  color: var(--ink-600);
}

.faq-support .support-copy {
  min-width: 0;
}

.support-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.support-strip .support-panel {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: #fff6f3;
  padding: 18px 20px;
}

.support-strip .support-panel .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.support-strip .support-panel .meta {
  color: var(--ink-500);
  margin-top: 4px;
}

.section-heading {
  display: grid;
  gap: 8px;
  justify-items: center;
  text-align: center;
  margin-bottom: 24px;
}

.section-heading.left {
  justify-items: start;
  text-align: left;
}

.section-heading .kicker {
  color: var(--clay-ink);
  font-weight: 700;
  font-size: 1.05rem;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink-900);
  font-size: clamp(1.95rem, 3vw, 3rem);
  line-height: 1.08;
}

.section-heading .subtle {
  color: var(--ink-500);
  margin: 0;
  max-width: 760px;
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 18px;
}

.contact-card,
.contact-stack > article {
  border-radius: 18px;
  border: 1px solid rgba(223, 186, 175, 0.55);
  background: #fff6f2;
  box-shadow: none;
}

.contact-card {
  padding: 22px 22px 24px;
}

.contact-card h3 {
  margin: 0;
  font-family: var(--font-display);
  color: var(--ink-900);
  font-size: clamp(1.8rem, 2.2vw, 2.15rem);
  line-height: 1.15;
}

.contact-card .mini-kicker {
  color: var(--clay-ink);
  font-size: 1.06rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.contact-form {
  margin-top: 16px;
}

.contact-form label {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-900);
  margin: 16px 0 8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(217, 160, 132, 0.65);
  background: #fff;
  border-radius: 14px;
  padding: 15px 16px;
  font: inherit;
  color: var(--ink-900);
}

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

.contact-submit {
  margin-top: 24px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  border-radius: 999px;
  background: var(--clay);
  color: #fff;
  padding: 13px 18px;
  font: inherit;
  font-weight: 700;
  font-size: 1.03rem;
}

.contact-submit .circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--clay);
  display: grid;
  place-items: center;
  flex: none;
}

.contact-stack {
  display: grid;
  gap: 16px;
}

.contact-stack > article {
  padding: 22px;
}

.contact-stack h4,
.policy-article h3,
.article-body h2,
.article-body h3 {
  font-family: var(--font-display);
  color: var(--ink-900);
  margin: 0 0 12px;
  line-height: 1.15;
}

.contact-stack h4 {
  font-size: 2rem;
}

.contact-stack p,
.contact-stack li {
  color: var(--ink-600);
  line-height: 1.65;
  margin: 0;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.contact-method {
  text-align: center;
  color: var(--clay-ink);
}

.contact-method .ico {
  width: 42px;
  height: 42px;
  margin: 0 auto 10px;
  border-radius: 50%;
  border: 1px solid rgba(217, 160, 132, 0.35);
  display: grid;
  place-items: center;
  color: var(--clay);
}

.contact-method span {
  display: block;
  color: var(--clay-ink);
  font-weight: 500;
  margin-top: 6px;
}

.office-list {
  display: grid;
  gap: 18px;
  margin-top: 10px;
}

.office-item {
  padding-top: 2px;
  border-top: 1px solid rgba(223, 186, 175, 0.45);
  display: grid;
  gap: 6px;
}

.office-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.office-item .label {
  color: var(--clay-ink);
  font-weight: 700;
}

.office-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.office-row .pin {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--clay);
}

.office-row p {
  margin: 0;
}

.article-body {
  width: min(calc(100% - 2 * var(--page-pad)), 980px);
  margin: 0 auto;
  padding: 28px 0 20px;
  color: var(--ink-700);
}

.article-body > * + * {
  margin-top: 18px;
}

.article-body p,
.article-body li {
  line-height: 1.7;
  font-size: 0.98rem;
  color: var(--ink-700);
}

.article-body ul {
  margin: 0;
  padding-left: 22px;
}

.article-body li + li {
  margin-top: 10px;
}

.article-body .block-title {
  font-family: var(--font-display);
  color: var(--ink-900);
  font-size: 1.45rem;
  margin: 28px 0 8px;
}

.blog-article-head {
  width: min(calc(100% - 2 * var(--page-pad)), 980px);
  margin: 0 auto;
  padding: 28px 0 6px;
}

.blog-article-title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.7rem);
  color: var(--ink-900);
}

.blog-meta {
  color: var(--ink-500);
  font-size: 1rem;
}

.blog-body-copy {
  width: min(calc(100% - 2 * var(--page-pad)), 980px);
  margin: 0 auto;
  padding: 18px 0 10px;
}

.blog-body-copy p {
  line-height: 1.8;
  margin: 0 0 20px;
  color: var(--ink-700);
  font-size: 1.04rem;
}

.blog-related {
  width: min(calc(100% - 2 * var(--page-pad)), 980px);
  margin: 0 auto;
}

.blog-related .section-heading {
  margin-bottom: 26px;
}

.blog-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.blog-thumb-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff6f2;
}

.blog-thumb-top {
  min-height: 142px;
  padding: 18px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.blog-thumb-top img {
  width: 118px;
  height: 118px;
  object-fit: contain;
  flex: none;
}

.blog-thumb-top.yellow { background: #f8d97b; }
.blog-thumb-top.blue { background: #40478f; color: #fff; }
.blog-thumb-top.blue .thumb-copy,
.blog-thumb-top.blue .thumb-copy p { color: #fff; }

.blog-thumb-top .thumb-copy {
  display: grid;
  gap: 8px;
}

.blog-thumb-top .thumb-copy .tag {
  font-size: 0.92rem;
  color: inherit;
}

.blog-thumb-top .thumb-copy strong {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.12rem;
  line-height: 1.24;
}

.blog-thumb-body {
  padding: 18px 18px 20px;
}

.blog-thumb-body h4 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink-900);
}

.blog-thumb-body p {
  margin: 0 0 20px;
  color: var(--ink-600);
  line-height: 1.65;
}

.blog-thumb-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.date-pill {
  color: var(--ink-500);
}

.icon-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 0;
  background: var(--clay);
  color: #fff;
  display: grid;
  place-items: center;
}

.view-all-row {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

footer {
  background: var(--surface-rose);
  padding: 60px 0 36px;
  margin-top: 24px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  align-items: start;
  gap: 42px;
}

.foot-brand svg { width: 66px; height: 66px; }
.foot-brand .fname {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  margin: 10px 0 18px;
}
.foot-brand .m { color: var(--clay); }
.foot-brand .s { color: var(--rose-600); }
.foot-brand address {
  font-style: normal;
  color: var(--ink-700);
  line-height: 1.7;
  font-size: 1rem;
}

.foot-badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-top: 22px;
  max-width: 420px;
}

.foot-badges div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-700);
  font-weight: 600;
  font-size: 0.95rem;
}

.foot-badges svg { width: 22px; height: 22px; color: var(--clay); }
.foot-badges .safe svg { color: #34b06a; }

.foot-col h5 {
  margin: 0 0 20px;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  color: var(--ink-900);
}

.foot-col a,
.foot-col p {
  display: block;
  margin: 0 0 14px;
  color: var(--ink-700);
  line-height: 1.65;
}

.news-form {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
}

.news-form input {
  flex: 1;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font: inherit;
}

.news-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 0;
  background: var(--clay);
  color: #fff;
}

.social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--rose-500);
  color: #fff;
  display: grid;
  place-items: center;
}

.muted {
  color: var(--ink-500);
}

@media (max-width: 960px) {
  .nav-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 72px !important;
    padding: 0 16px !important;
    flex-wrap: nowrap !important;
  }

  .menu-toggle {
    display: inline-flex !important;
  }

  .nav-links {
    display: none !important;
  }

  header.nav.menu-open .nav-links {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    background: var(--page-surface, var(--cream-0)) !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    padding: 20px 0 !important;
    border-bottom: 1px solid var(--line) !important;
    box-shadow: var(--shadow-md) !important;
    z-index: 99 !important;
    gap: 20px !important;
    margin-top: 0 !important;
    margin-left: 0 !important;
  }

  header.nav.menu-open .menu-toggle svg line.line-mid {
    opacity: 0;
  }
  header.nav.menu-open .menu-toggle svg line.line-top {
    transform: translateY(6px) rotate(45deg);
    transform-origin: 12px 12px;
  }
  header.nav.menu-open .menu-toggle svg line.line-bot {
    transform: translateY(-6px) rotate(-45deg);
    transform-origin: 12px 12px;
  }
  .menu-toggle svg line {
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .brand {
    gap: 8px;
  }
  .brand img {
    height: 34px;
  }
  .brand .b-text b {
    font-size: 0.62rem;
  }
  .grid-2, .grid-3, .foot-grid { grid-template-columns: 1fr; }
  .blog-feature, .profile-layout { grid-template-columns: 1fr; }
  .profile-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-title { text-wrap: balance; }
  .faq-q { font-size: 1.2rem; }
  .hero-split,
  .contact-grid,
  .blog-row { grid-template-columns: 1fr; }
  .hero-art { min-height: 200px; }
  .contact-methods { grid-template-columns: 1fr; }
  .faq-support { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .hero-title br,
  .page-title br,
  h1 br, h2 br, h3 br {
    display: none !important;
  }
  .hero-title {
    font-size: 1.8rem !important;
    line-height: 1.25 !important;
    margin-bottom: 18px !important;
  }
  .article-body,
  .blog-article-head,
  .blog-body-copy,
  .blog-related { width: min(calc(100% - 32px), 980px); }
  .contact-card,
  .contact-stack > article,
  .blog-thumb-body,
  .blog-thumb-top { padding-left: 16px; padding-right: 16px; }
  .faq-q { padding: 18px 0; }
  .news-form { flex-direction: column; align-items: stretch; }
  .news-btn { width: 100%; border-radius: 16px; }
}

html.dark {
  color-scheme: dark;
  --ink-900: #f6f3f9;
  --ink-800: #ece7f1;
  --ink-700: #e4dfec;
  --ink-600: #c7c0d2;
  --ink-500: #928a9e;
  --line: #272231;
  --line-strong: #332d3e;
  --page-tint: #0d0c12;
  --page-surface: #17151c;
}

html.dark body { background: #0b0b0e; }
html.dark header.nav { background: rgba(17, 15, 22, 0.92); }
html.dark footer { background: #0e0d13; }
html.dark .page-hero.hero-contact { background: radial-gradient(120% 90% at 82% 18%, rgba(255,90,141,.08), transparent 55%), linear-gradient(180deg,#141221,#0d0c12); }
html.dark .page-hero.hero-faq { background: radial-gradient(120% 90% at 82% 18%, rgba(255,90,141,.08), transparent 55%), linear-gradient(180deg,#141221,#0d0c12); }
html.dark .page-hero.hero-policy { background: radial-gradient(120% 90% at 82% 18%, rgba(255,90,141,.08), transparent 55%), linear-gradient(180deg,#141221,#0d0c12); }
html.dark .hero-subline .hero-kicker { color: #f1c7b0; }
html.dark .hero-subline .hero-subtitle { color: #f8f5f9; }
html.dark .page-band.article { background: #121018; border-color: rgba(255,255,255,.08); }
html.dark .article-body { color: #d8d3e3; }
html.dark .article-body p,
html.dark .article-body li { color: #d8d3e3; }
html.dark .article-body .block-title { color: #fff; }
html.dark .faq-item { border-color: rgba(255,255,255,.08); }
html.dark .faq-q { color: #f1eff6; }
html.dark .faq-toggle { background: rgba(255,90,141,.12); color: #f1eff6; }
html.dark .faq-a p { color: #c8c3d5; }
html.dark .faq-support { background: #17131a; border-color: rgba(255,255,255,.08); }
html.dark .faq-support h3 { color: #fff; }
html.dark .faq-support p { color: #cdc6d8; }
html.dark .section-heading .kicker { color: #f1eff6; }
html.dark .section-heading h2 { color: #fff; }
html.dark .support-strip .support-panel { background: #14101a; border-color: rgba(255,255,255,.08); color: #d2ccde; }
html.dark .contact-card,
html.dark .contact-stack > article { background: #16131b; border-color: rgba(255,255,255,.08); }
html.dark .contact-card h3,
html.dark .contact-form label,
html.dark .contact-stack h4 { color: #f4eff6; }
html.dark .contact-form input,
html.dark .contact-form textarea { background: #13101a; border-color: rgba(255,255,255,.08); color: #ebe8f1; }
html.dark .contact-form input::placeholder,
html.dark .contact-form textarea::placeholder { color: #8b8494; }
html.dark .contact-submit { background: #e8b9a3; color: #16131b; }
html.dark .contact-submit .circle { background: #111; color: #e8b9a3; }
html.dark .panel,
html.dark .card,
html.dark .theme-toggle,
html.dark .news-form input {
  background: var(--page-surface);
}
