@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Noto+Sans+Bengali:wght@400;500;600&family=Outfit:wght@300;400;500;600;700&display=swap");

:root {
  --atmosphere: #8a91a5;
  --atmosphere-deep: #7c8397;
  --canvas: #f5f4f8;
  --paper: #fbfafc;
  --ink: #17141f;
  --ink-soft: #5c5668;
  --muted: #8b8596;
  --line: rgba(23, 20, 31, 0.08);
  --indigo: #2a2438;
  --indigo-deep: #1a1624;
  /* Lifted from --indigo (H258) — same dusty family, not a new hue */
  --indigo-mid: #c3bdd1;
  --indigo-mid-deep: #b8b2c6;
  --indigo-haze: #d8d4e0;
  --indigo-haze-deep: #cdc8d8;
  --lilac: #ece8f2;
  --lilac-deep: #d8d2e2;
  --mist: #cfc8d8;
  --radius-site: 26px;
  --radius-card: 22px;
  --radius-hero: 22px;
  --site-w: 1280px;
  --gutter: 48px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 20px 60px rgba(40, 34, 58, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { min-height: 100%; }
body {
  font-family: "Outfit", "Noto Sans Bengali", "Noto Sans", sans-serif;
  color: var(--ink);
  background: var(--atmosphere);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(141, 148, 168, 0.2), rgba(125, 132, 152, 0.45)),
    url("../img/atmosphere.jpg") center / cover no-repeat,
    var(--atmosphere);
  pointer-events: none;
}
.edge-art {
  position: fixed;
  z-index: 1;
  width: 22vw;
  max-width: 360px;
  pointer-events: none;
  opacity: 0.92;
  filter: blur(0.2px);
}
.edge-art--left { left: -6vw; bottom: 4vh; filter: blur(6px); opacity: 0.55; }
.edge-art--right { right: -7vw; bottom: 6vh; top: auto; filter: blur(2px); opacity: 0.85; }
.edge-art img { width: 100%; height: auto; }

.site {
  position: relative;
  z-index: 2;
  width: min(var(--site-w), calc(100% - 72px));
  margin: 36px auto 56px;
  background: var(--canvas);
  border-radius: var(--radius-site);
  box-shadow: 0 24px 70px rgba(40, 36, 58, 0.16);
  overflow: clip;
}

.header {
  position: relative;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  background: var(--canvas);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-size: 15px;
}
.brand-logo {
  height: 46px;
  width: auto;
  display: block;
  background: transparent;
}
.brand-mark {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
}
.brand-mark svg { width: 18px; height: 18px; }
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav a, .nav button.nav-link {
  font-size: 13.5px;
  color: var(--ink-soft);
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: color 0.25s var(--ease);
  background: none;
}
.nav a:hover, .nav button.nav-link:hover, .nav a.is-active { color: var(--ink); }
.nav-item { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 240px;
  background: #fff;
  border-radius: 16px;
  padding: 10px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transition: 0.22s var(--ease);
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.dropdown a {
  display: block;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 13px;
}
.dropdown a:hover { background: var(--lilac); color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-dark {
  background: var(--indigo-deep);
  color: #f6f3ee;
}
.btn-dark:hover { background: #000; }
.btn-light {
  background: #fff;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(28,24,37,0.16);
}
.header-cta { margin-left: 8px; }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.menu-toggle span, .menu-toggle span:before, .menu-toggle span:after {
  display: block;
  width: 16px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  content: "";
}
.menu-toggle span:before { position: absolute; top: -5px; }
.menu-toggle span:after { position: absolute; top: 5px; }

.page { padding: 8px var(--gutter) 72px; }
.page-inner { max-width: 100%; }

.hero { margin-bottom: 100px; }
.hero-visual {
  position: relative;
  border-radius: var(--radius-hero);
  overflow: hidden;
  min-height: 580px;
  background: #d8d4e4;
}
.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 580px;
  object-fit: cover;
  object-position: center 62%;
}
.hero-visual:after {
  content: none;
}
.hero-copy {
  position: absolute;
  top: 48px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 2;
  padding: 0 40px;
}
.hero-kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
  font-weight: 500;
}
.hero-copy h1 {
  font-family: "Outfit", sans-serif;
  font-weight: 500;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--ink);
  max-width: 14ch;
  margin: 0 auto 14px;
}
.hero-copy p {
  max-width: 42ch;
  margin: 0 auto 22px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}
.hero-mark {
  width: 18px;
  height: 18px;
  margin: 0 auto 16px;
  opacity: 0.85;
}

.intro {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: start;
  margin: 0 8px 72px;
  padding-top: 12px;
}
.intro h2 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(34px, 4.2vw, 52px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 22px;
}
.intro p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
  max-width: 42ch;
  padding-top: 10px;
}

.trio {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 16px;
  margin-bottom: 56px;
}
.card {
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
}
.card-light {
  background: linear-gradient(180deg, #ece8f3 0%, #e4deec 100%);
  min-height: 340px;
  padding: 32px 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-light h3, .card-dark h3 {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.card-light p, .card-dark p {
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 34ch;
}
.card-light p { color: var(--ink-soft); position: relative; z-index: 1; max-width: 46%; }
.card-visual {
  position: absolute;
  right: -2%;
  bottom: -4%;
  width: 56%;
  height: 78%;
  object-fit: contain;
  object-position: right bottom;
  pointer-events: none;
}
.trio-stack { display: grid; gap: 16px; }
.card-dark {
  background: var(--indigo);
  color: #f3eef8;
  padding: 28px 26px;
  min-height: 162px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-dark p { color: rgba(243,238,248,0.72); }

.trust {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 8px 64px;
  color: var(--muted);
  font-size: 12.5px;
}
.trust-label { max-width: 180px; line-height: 1.45; }
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  justify-content: flex-end;
  align-items: center;
}
.trust-logos span {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 0.7;
}

.usecases {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 28px;
  padding-top: 12px;
}
.eyebrow {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 10px;
}
.usecases h2 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 500;
  letter-spacing: -0.035em;
  margin-bottom: 16px;
}
.usecases .lead {
  color: var(--ink-soft);
  max-width: 38ch;
  font-size: 15.5px;
  line-height: 1.65;
}
.feature-panel {
  background: #fff;
  border-radius: 24px;
  padding: 28px 28px 0;
  box-shadow: 0 10px 40px rgba(40, 36, 58, 0.04);
  overflow: hidden;
}
.feature-panel h3 {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.feature-panel p { color: var(--ink-soft); max-width: 46ch; margin-bottom: 18px; }
.feature-panel .more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.feature-panel img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center 68%;
  border-radius: 18px 18px 0 0;
  margin-top: 8px;
}

.service-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
  margin: 16px 0 80px;
}
.svc {
  border-radius: 22px;
  min-height: 250px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  position: relative;
  background: linear-gradient(180deg, var(--indigo-mid) 0%, var(--indigo-mid-deep) 100%);
  box-shadow: 0 0 0 1px rgba(42, 36, 56, 0.10);
  transition: transform 0.3s var(--ease);
}
.svc:hover { transform: translateY(-4px); }
.svc h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.03em; line-height: 1.2; }
.svc p { color: #454050; font-size: 14px; line-height: 1.5; }
.svc-dark { background: var(--indigo); color: #f4eef8; }
.svc-dark p { color: rgba(244,238,248,0.7); }
.svc-soft { background: linear-gradient(180deg, var(--indigo-haze) 0%, var(--indigo-haze-deep) 100%); }

/*
  Homepage service cards — two physical zones.
  TEXT (title + description) is a protected reading band at the top.
  IMAGE is a dedicated foundation band pinned to the bottom.
  They never share pixels. No overlays, shadows, or opacity tricks.
*/
.svc-media {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: 0;
  min-height: 292px;
  padding: 24px 0 0;
}
.svc-media h3 {
  min-width: 0;
  max-width: none;
  position: static;
  z-index: 2;
  padding: 0 24px;
}
.svc-media p {
  min-width: 0;
  max-width: none;
  margin: 0;
  position: static;
  z-index: 2;
  padding: 8px 24px 18px;
}
.svc-media .svc-art {
  position: relative;
  flex: 0 0 160px;
  width: 100%;
  height: 160px;
  min-height: 160px;
  margin-top: auto;
  border-radius: 18px 18px 0 0;
  overflow: hidden;
  pointer-events: none;
  background: rgba(23, 20, 31, 0.04);
}
.svc-dark.svc-media .svc-art {
  background: rgba(255, 255, 255, 0.06);
}
.svc-media .svc-art img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  pointer-events: none;
}

/* Card-by-card art framing — same system, intelligent crop */
.svc-media--entity .svc-art img { object-position: 50% 68%; }
.svc-media--pit .svc-art img { object-position: 58% 42%; }
.svc-media--vat .svc-art img { object-position: 76% 70%; }
.svc-media--company .svc-art img { object-position: 48% 54%; }
.svc-media--tds .svc-art img { object-position: 68% 52%; }
.svc-media--audit .svc-art img { object-position: 52% 60%; }

.tools {
  margin: 20px 0 80px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 24px;
}
.section-head h2 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 500;
  letter-spacing: -0.035em;
}
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.tool {
  background: linear-gradient(180deg, var(--indigo-mid) 0%, var(--indigo-mid-deep) 100%);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 0 0 1px rgba(42, 36, 56, 0.10);
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s var(--ease);
}
.tool:hover { transform: translateY(-3px); }
.tool span { font-size: 12px; color: #454050; letter-spacing: 0.08em; text-transform: uppercase; }
.tool h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }

.quotes { margin: 10px 0 80px; }
.quote-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 14px;
}
.quote {
  background: #fff;
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 0 0 1px var(--line);
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.quote p { font-size: 16px; line-height: 1.55; letter-spacing: -0.01em; }
.quote .who { font-size: 13px; color: var(--ink-soft); }
.quote .who b { display: block; color: var(--ink); font-weight: 500; }
.stars { color: #b9a46a; letter-spacing: 2px; font-size: 12px; margin-bottom: 12px; }

.articles { margin-bottom: 72px; }
.article-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 14px;
}
.article-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--line);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.3s var(--ease);
}
.article-card:hover { transform: translateY(-3px); }
.article-card img { width: 100%; height: 180px; object-fit: cover; background: #e7e2ee; }
.article-card .body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.article-card .cat { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.article-card h3 { font-size: 18px; font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.article-card .meta { margin-top: auto; font-size: 12.5px; color: var(--muted); }
.article-hero img { height: 260px; }

.cta-band {
  background: var(--indigo);
  color: #f4eef8;
  border-radius: 24px;
  padding: 48px 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 20px;
}
.cta-band h2 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 500;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.cta-band p { color: rgba(244,238,248,0.7); max-width: 36ch; margin-top: 10px; }

.footer {
  padding: 36px var(--gutter) 28px;
  border-top: 1px solid var(--line);
  background: transparent;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1.1fr;
  gap: 24px;
  padding-bottom: 28px;
}
.footer h4 {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
  font-weight: 500;
}
.footer a, .footer p { font-size: 13.5px; color: var(--ink-soft); display: block; padding: 4px 0; }
.footer a:hover { color: var(--ink); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--muted);
}

/* inner pages */
.crumb {
  font-size: 12.5px;
  color: var(--muted);
  margin: 8px 0 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.crumb a:hover { color: var(--ink); }
.page-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 48px;
}
.page-hero h1 {
  font-family: "Outfit", sans-serif;
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin-bottom: 16px;
}
.page-hero p { color: var(--ink-soft); font-size: 16px; max-width: 48ch; }
.page-hero-visual {
  border-radius: 24px;
  overflow: hidden;
  background: #e7e2ee;
  min-height: 280px;
}
.page-hero-visual img { width: 100%; height: 320px; object-fit: cover; object-position: center 55%; }

.prose {
  max-width: 760px;
  font-size: 16.5px;
  line-height: 1.75;
  color: #2c2836;
}
.prose h2, .prose h3 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 1.6em 0 0.5em;
  color: var(--ink);
}
.prose h2 { font-size: 32px; }
.prose h3 { font-size: 24px; }
.prose p, .prose li { margin-bottom: 0.85em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin: 18px 0 28px;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
}
.prose th, .prose td {
  border-bottom: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}
.prose th { background: var(--lilac); font-weight: 500; }
.prose img { width: 100%; border-radius: 16px; margin: 14px 0; background: #ece8f3; }
.prose figure { margin: 16px 0; }
.callout {
  background: var(--lilac);
  border-radius: 18px;
  padding: 18px 20px;
  margin: 18px 0;
}
.callout strong { display: block; margin-bottom: 6px; }
.bn { font-size: 0.98em; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.info-card, .person-card, .form-card, .panel {
  background: #fff;
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 0 0 1px var(--line);
}
.person-card { display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: start; }
.avatar {
  width: 92px;
  height: 92px;
  border-radius: 22px;
  background: linear-gradient(160deg, #d9d2e4, #b7b0c6);
  display: grid;
  place-items: center;
  font-family: "Instrument Serif", serif;
  font-size: 28px;
  color: var(--indigo);
}
.person-card h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; }
.person-card .role { color: var(--muted); font-size: 13px; margin: 4px 0 10px; }

.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item button {
  width: 100%;
  text-align: left;
  padding: 18px 4px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.faq-item button span.plus { color: var(--muted); font-weight: 400; }
.faq-item .ans {
  display: none;
  padding: 0 4px 18px;
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.7;
}
.faq-item.is-open .ans { display: block; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 12.5px; color: var(--muted); }
.field input, .field select, .field textarea {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: rgba(42,36,56,0.35);
  box-shadow: 0 0 0 4px rgba(42,36,56,0.06);
}
.field textarea { min-height: 120px; resize: vertical; }

.calc-shell {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 16px;
}
.calc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.calc-tabs button {
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13px;
}
.calc-tabs button.is-on { background: var(--indigo); color: #fff; box-shadow: none; }
.calc-lead { color: var(--muted); font-size: 13.5px; margin: 8px 0 14px; line-height: 1.55; }
.calc-source { color: var(--muted); font-size: 13px; margin-top: 22px; max-width: 70ch; line-height: 1.55; }
.calc-source code { font-size: 12px; }
.check-row { display: flex; gap: 8px; align-items: center; margin-top: 12px; font-size: 13.5px; color: var(--ink-soft); }
.tool-blurb { color: var(--ink-soft); font-size: 13px; margin-top: 8px; line-height: 1.45; }
.calc-hub { margin-bottom: 8px; }
.result-card {
  background: var(--indigo);
  color: #f4eef8;
  border-radius: 22px;
  padding: 28px;
  min-height: 280px;
}
.result-card h3 { font-family: "Instrument Serif", serif; font-size: 28px; font-weight: 400; margin-bottom: 16px; }
.result-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 14.5px;
}
.result-row b { font-weight: 500; }
.note { font-size: 12.5px; color: rgba(244,238,248,0.6); margin-top: 16px; }

.auth-wrap {
  min-height: 68vh;
  display: grid;
  place-items: center;
  padding: 24px 0 48px;
}
.auth-card {
  width: min(440px, 100%);
  background: #fff;
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: var(--shadow-soft);
}
.auth-card h1 {
  font-family: "Instrument Serif", serif;
  font-size: 36px;
  font-weight: 400;
  margin: 8px 0 8px;
}
.auth-card p.sub { color: var(--ink-soft); margin-bottom: 22px; }
.auth-card .btn { width: 100%; margin-top: 8px; padding: 13px 18px; }
.switch { text-align: center; margin-top: 16px; font-size: 13.5px; color: var(--ink-soft); }

.blog-hero {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 16px;
  margin-bottom: 22px;
}
.cat-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 22px; }
.cat-nav a, .cat-nav button {
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13px;
}
.cat-nav .is-on { background: var(--indigo); color: #fff; box-shadow: none; }
.searchbar {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}
.searchbar input {
  flex: 1;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 12px 16px;
  background: #fff;
}
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.pager a, .pager button {
  min-width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 13px;
}
.pager .is-on { background: var(--indigo); color: #fff; box-shadow: none; }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 36px;
}
.article-title {
  font-family: "Outfit", sans-serif;
  font-size: clamp(30px, 3.8vw, 46px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 8px 0 12px;
}
.toc {
  position: sticky;
  top: 96px;
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 0 0 1px var(--line);
  font-size: 13px;
}
.toc h4 { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.toc a { display: block; padding: 5px 0; color: var(--ink-soft); }
.related { display: grid; gap: 10px; margin-top: 36px; }
.related a { background: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: 0 0 0 1px var(--line); }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.price {
  background: #fff;
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: 0 0 0 1px var(--line);
}
.price.featured { background: var(--indigo); color: #f4eef8; }
.price .amt {
  font-family: "Instrument Serif", serif;
  font-size: 48px;
  line-height: 1;
  margin: 12px 0;
}
.steps { display: grid; gap: 12px; }
.step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 0 0 1px var(--line);
}
.num {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--lilac); display: grid; place-items: center; font-weight: 500;
}

.alert {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--lilac);
  font-size: 14px;
  margin: 10px 0;
}
.alert.ok { background: #e7efe6; }
.alert.err { background: #f6e4e4; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0);
}
.mobile-nav {
  display: none;
  padding: 8px var(--gutter) 20px;
  background: var(--canvas);
}
.mobile-nav[hidden] { display: none !important; }
.mobile-nav a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }

@media (max-width: 980px) {
  .site { width: calc(100% - 20px); margin: 10px auto 20px; border-radius: 20px; }
  .header { padding: 0 18px; }
  .nav, .header-cta { display: none; }
  .menu-toggle { display: grid; }
  .mobile-nav { display: block; }
  .page { padding: 8px 18px 48px; }
  .hero-visual, .hero-visual img { min-height: 460px; }
  .hero-visual img { object-position: center 70%; }
  .hero-copy { top: 28px; padding: 0 18px; }
  .card-visual { width: 48%; height: 62%; }
  .svc-media {
    min-height: 0;
    padding: 22px 0 0;
  }
  .svc-media h3 { padding: 0 22px; }
  .svc-media p { padding: 8px 22px 16px; }
  .svc-media .svc-art {
    flex-basis: 168px;
    height: 168px;
    min-height: 168px;
    border-radius: 16px 16px 0 0;
  }
  .feature-panel img { height: 220px; object-position: center 60%; }
  .intro, .trio, .usecases, .page-hero, .calc-shell, .article-layout, .blog-hero, .two-col, .cta-band, .footer-grid, .service-grid, .tool-grid, .quote-grid, .article-grid, .price-grid {
    grid-template-columns: 1fr;
  }
  .cta-band { padding: 32px 22px; display: block; }
  .cta-band .btn { margin-top: 18px; }
  .trust { flex-direction: column; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .edge-art { display: none; }
  .person-card { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero-copy h1 { font-size: 34px; }
  .hero-visual, .hero-visual img { min-height: 420px; }
  .hero-visual img { object-position: center 78%; }
  .card-light p { max-width: 58%; }
  .card-visual { width: 52%; height: 56%; }
  .svc-media {
    min-height: 0;
    padding: 20px 0 0;
  }
  .svc-media h3 { padding: 0 18px; }
  .svc-media p { padding: 8px 18px 14px; }
  .svc-media .svc-art {
    flex-basis: 152px;
    height: 152px;
    min-height: 152px;
    border-radius: 14px 14px 0 0;
  }
}

.reveal { animation: rise 0.8s var(--ease) both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
