:root {
  --bg: #fbf6ea;
  --bg-band: #f2eadb;
  --surface: #ffffff;
  --surface-muted: #f8f2e7;
  --surface-tint: #ecf8f3;
  --surface-strong: #0c2f2d;
  --text: #10201f;
  --muted: #65706d;
  --line: #e6dccb;
  --primary: #0f766e;
  --primary-deep: #0a4f4a;
  --accent: #14a37f;
  --accent-warm: #b7791f;
  --warning: #d97706;
  --danger: #b45309;
  --rose: #e11d48;
  --cream: #fbf2dc;
  --cream-deep: #eadfc9;
  --teal-soft: #dff5ed;
  --shadow: 0 18px 44px rgba(12, 47, 45, 0.08);
  --shadow-strong: 0 28px 72px rgba(12, 47, 45, 0.2);
  --radius: 8px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Inter", sans-serif;
  font-weight: 400;
  background:
    url("./assets/compliance-section-pattern.svg") top 120px right -260px / 920px auto no-repeat,
    linear-gradient(115deg, rgba(20, 163, 127, 0.1), transparent 38%),
    linear-gradient(245deg, rgba(183, 121, 31, 0.08), transparent 42%),
    linear-gradient(180deg, #fbf6ea 0%, #f8f1e4 42%, #ffffff 100%);
  background-attachment: fixed;
}

body.internal-page {
  background:
    url("./assets/compliance-section-pattern.svg") top 120px right -260px / 920px auto no-repeat,
    linear-gradient(115deg, rgba(20, 163, 127, 0.1), transparent 38%),
    linear-gradient(245deg, rgba(183, 121, 31, 0.08), transparent 42%),
    linear-gradient(180deg, #fbf6ea 0%, #ffffff 100%);
  background-attachment: fixed;
}

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

strong,
h1,
h2,
h3,
h4 {
  font-weight: 500;
}

button,
input,
select,
textarea,
fieldset {
  font: inherit;
}

.page-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding-bottom: 56px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  background: rgba(251, 246, 234, 0.76);
  border-bottom: 1px solid rgba(230, 220, 203, 0.84);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 42%),
    linear-gradient(135deg, #0f766e, #0c2f2d);
  box-shadow: 0 12px 28px rgba(12, 47, 45, 0.18);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.nav a,
.hero h1,
.pricing-hero h1,
.internal-hero h1,
.section-heading h2,
.service-card h3,
.timeline h3,
.queue-panel strong,
.token-panel strong,
.aside-card h3,
.request-card h3,
.quote-card h3,
.pricing-table th,
.service-picker legend,
.estimate-group h4 {
  font-family: "Space Grotesk", sans-serif;
}

.brand strong {
  display: block;
  line-height: 1.05;
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.84rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.nav a {
  padding: 9px 11px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 500;
}

.nav a:hover {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.64);
}

.section {
  padding: 48px 0;
}

.pricing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.86fr);
  gap: 32px;
  align-items: center;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 46px;
  width: 100vw;
  min-height: min(760px, calc(100vh - 76px));
  margin-left: calc(50% - 50vw);
  padding: 76px max(16px, calc((100vw - var(--max-width)) / 2)) 54px;
  color: var(--text);
  background:
    url("./assets/hero-compliance-backdrop.svg") center right / min(1040px, 72vw) auto no-repeat,
    linear-gradient(135deg, rgba(15, 118, 110, 0.13), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(251, 246, 234, 0.82)),
    #fbf6ea;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 18px max(16px, calc((100vw - var(--max-width)) / 2)) auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(15, 118, 110, 0.28), transparent);
}

.pricing-hero {
  min-height: 58vh;
}

.eyebrow,
.card-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 7px 10px;
  border-radius: var(--radius);
  color: #0f4f49;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0;
  background: #e6f6ef;
  border: 1px solid #c6eadc;
}

.hero .eyebrow {
  color: #0d5f57;
  background: rgba(255, 255, 255, 0.64);
  border-color: rgba(15, 118, 110, 0.2);
  box-shadow: 0 12px 30px rgba(12, 47, 45, 0.06);
  backdrop-filter: blur(12px);
}

.hero h1,
.pricing-hero h1,
.internal-hero h1 {
  margin: 16px 0 16px;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 18ch;
  color: var(--text);
  font-size: 4rem;
}

.pricing-hero h1 {
  max-width: 18ch;
  font-size: 3.8rem;
}

.internal-hero h1 {
  max-width: 14ch;
  font-size: 3.45rem;
}

.hero p,
.pricing-hero p,
.internal-copy,
.section-heading,
.timeline p,
.service-includes,
.service-picker p,
.service-option small,
.aside-card p,
.request-meta,
.request-notes,
.dashboard-table,
.pricing-table,
.price-highlight span,
.estimate-note,
.estimate-empty,
.feature-list,
.hero-proof span,
.metrics span,
.token-panel span,
.form-status {
  color: var(--muted);
}

.hero-content > p,
.pricing-hero p,
.internal-copy {
  max-width: 62ch;
  font-size: 1.02rem;
  line-height: 1.65;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.hero-content > p {
  color: #4f5f5b;
  font-size: 1.08rem;
}

.hero .button-secondary {
  color: var(--primary-deep);
  border-color: rgba(15, 118, 110, 0.22);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 12px 28px rgba(12, 47, 45, 0.06);
  backdrop-filter: blur(12px);
}

.hero .button-secondary:hover {
  background: rgba(255, 255, 255, 0.88);
}

.hero-actions,
.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 28px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 12px 16px;
  font-weight: 500;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.button-primary {
  color: white;
  background: var(--primary);
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.2);
}

.button-primary:hover {
  background: var(--primary-deep);
}

.button-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.button-secondary:hover {
  background: var(--surface);
}

.button-secondary.danger {
  color: var(--danger);
  border-color: rgba(194, 65, 12, 0.24);
}

.hero-proof,
.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.hero-proof article,
.metrics article,
.queue-panel,
.triage-panel,
.token-panel,
.service-card,
.timeline article,
.request-form,
.service-picker,
.aside-card,
.metric-card,
.request-card,
.dashboard-table-wrap,
.pricing-table-wrap,
.price-highlight,
.quote-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.hero-proof article {
  padding: 16px;
  border-color: rgba(15, 118, 110, 0.14);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 0 14px 34px rgba(12, 47, 45, 0.06);
  backdrop-filter: blur(14px);
}

.metrics article {
  padding: 16px;
}

.hero-proof strong,
.metrics strong {
  display: block;
  margin-bottom: 6px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  line-height: 1;
}

.hero-proof strong {
  color: var(--primary-deep);
}

.hero-proof span {
  color: #64716d;
}

.metrics strong {
  color: var(--text);
}

.hero-desk {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  width: min(100%, 620px);
  justify-self: end;
}

.compliance-console {
  min-height: 520px;
  padding: 22px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(255, 250, 240, 0.58)),
    rgba(255, 255, 255, 0.56);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(18px);
}

.console-top,
.console-flow,
.console-progress {
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.64);
}

.console-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 18px;
}

.console-top > div {
  display: grid;
  gap: 10px;
}

.console-top strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.32rem;
}

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

.console-grid article {
  min-height: 126px;
  padding: 18px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(236, 248, 243, 0.78), rgba(255, 255, 255, 0.78));
}

.console-grid span,
.console-flow span,
.console-progress span {
  color: #6c7773;
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
}

.console-grid strong,
.console-flow strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.22rem;
}

.console-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.4;
}

.console-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
}

.console-flow > div {
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(251, 242, 220, 0.7);
}

.console-progress {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 12px;
}

.console-progress span {
  position: relative;
  min-height: 42px;
  padding: 12px 10px 12px 28px;
  border-radius: var(--radius);
  background: rgba(15, 118, 110, 0.08);
  color: #0f4f49;
  text-transform: none;
}

.console-progress span::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 11px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.queue-panel,
.triage-panel,
.token-panel {
  padding: 22px;
}

.desk-panel {
  box-shadow: var(--shadow-strong);
}

.queue-panel {
  color: white;
  background:
    linear-gradient(135deg, rgba(20, 163, 127, 0.24), transparent 48%),
    var(--surface-strong);
  border-color: rgba(255, 255, 255, 0.12);
}

.queue-panel .card-tag {
  color: #d7f8e8;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.panel-heading strong {
  color: #ffffff;
  font-size: 1.2rem;
}

.workflow-list {
  display: grid;
  gap: 10px;
}

.workflow-list span {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.07);
}

.workflow-list span::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
}

.triage-panel {
  background: #f8fff9;
}

.signal-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 18px;
  margin-top: 18px;
}

.signal-grid span {
  color: var(--muted);
}

.signal-grid strong {
  font-family: "Space Grotesk", sans-serif;
  text-align: right;
}

.token-panel {
  background:
    linear-gradient(90deg, rgba(15, 118, 110, 0.12), transparent 42%),
    #ffffff;
}

.token-panel p {
  margin: 0 0 8px;
  color: var(--muted);
  font-weight: 500;
}

.token-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: 2rem;
  line-height: 1;
}

.pricing-highlights,
.quote-grid {
  display: grid;
  gap: 14px;
}

.price-highlight,
.quote-card {
  padding: 20px;
}

.price-highlight strong {
  display: block;
  margin-top: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.9rem;
  line-height: 1;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 0;
  max-width: 16ch;
  color: var(--text);
  font-size: 2.55rem;
  line-height: 1.04;
}

.wide-heading h2 {
  max-width: 22ch;
}

.profile-routes {
  position: relative;
  isolation: isolate;
  padding-top: 56px;
}

.profile-routes::before,
.services::before {
  content: "";
  position: absolute;
  inset: 12px auto auto calc(50% - 50vw);
  width: 100vw;
  height: 440px;
  pointer-events: none;
  background: url("./assets/compliance-section-pattern.svg") center / min(1120px, 96vw) auto no-repeat;
  opacity: 0.22;
  z-index: -1;
}

.services {
  position: relative;
  isolation: isolate;
}

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

.profile-grid article {
  display: grid;
  gap: 12px;
  min-height: 190px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 250, 240, 0.7));
  box-shadow: var(--shadow);
}

.profile-grid article:nth-child(2n) {
  background:
    linear-gradient(180deg, rgba(236, 248, 243, 0.9), rgba(255, 255, 255, 0.72));
}

.profile-grid article:nth-child(3n) {
  background:
    linear-gradient(180deg, rgba(251, 242, 220, 0.82), rgba(255, 255, 255, 0.74));
}

.profile-grid span {
  width: fit-content;
  padding: 7px 10px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: var(--radius);
  color: #0d5f57;
  background: #e6f6ef;
  font-size: 0.78rem;
  font-weight: 500;
}

.profile-grid h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.18rem;
  line-height: 1.28;
}

.card-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: auto;
  padding-top: 6px;
  color: var(--primary-deep);
  font-weight: 500;
}

.card-link::after {
  content: "->";
  margin-left: 8px;
}

.service-grid,
.timeline,
.dashboard-metrics,
.request-cards,
.request-grid {
  display: grid;
  gap: 14px;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 248px;
  padding: 20px;
  cursor: default;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.service-card > span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  color: var(--primary-deep);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
  background: #e6f6ef;
  border: 1px solid #c6eadc;
}

.service-card.selected,
.service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 118, 110, 0.35);
  background: #ffffff;
}

.service-card h3 {
  margin: 0;
  font-size: 1.22rem;
}

.service-kicker {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.service-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 8px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: var(--radius);
  color: #0d5f57;
  background: #e6f6ef;
  font-size: 0.78rem;
  font-weight: 500;
}

.service-cta {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.service-includes {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1.45;
}

.service-includes li,
.feature-list li {
  position: relative;
  padding-left: 18px;
}

.service-includes li::before,
.feature-list li::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.assurance {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 58px max(16px, calc((100vw - var(--max-width)) / 2));
  color: #ffffff;
  background:
    url("./assets/secure-workflow-backdrop.svg") center / cover no-repeat,
    linear-gradient(135deg, rgba(12, 47, 45, 0.98), rgba(9, 65, 59, 0.92)),
    #0c2f2d;
}

.assurance-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: start;
}

.assurance .eyebrow {
  color: #fceecb;
  background: rgba(251, 242, 220, 0.12);
  border-color: rgba(251, 242, 220, 0.2);
}

.assurance h2 {
  max-width: 15ch;
  margin: 16px 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.65rem;
  line-height: 1.04;
}

.assurance p {
  max-width: 58ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.62;
}

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

.assurance-grid article {
  display: grid;
  gap: 9px;
  min-height: 154px;
  padding: 18px;
  border: 1px solid rgba(251, 242, 220, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
}

.assurance-grid strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.08rem;
}

.assurance-grid span {
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.45;
}

.timeline {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline article {
  padding: 22px;
}

.timeline span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--primary);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 500;
}

.timeline h3 {
  margin: 0 0 10px;
}

.timeline p {
  margin: 0;
  line-height: 1.55;
}

.request-dialog {
  width: min(calc(100% - 32px), 1120px);
  max-height: 88vh;
  padding: 0;
  border: 0;
  color: var(--text);
  background: transparent;
  overflow: visible;
}

.request-dialog::backdrop {
  background: rgba(17, 24, 39, 0.56);
  backdrop-filter: blur(8px);
}

.dialog-panel {
  max-height: 88vh;
  overflow: auto;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbf6ea;
  box-shadow: 0 30px 80px rgba(12, 47, 45, 0.26);
}

.dialog-top {
  position: sticky;
  top: -24px;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin: -24px -24px 22px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 246, 234, 0.94);
  backdrop-filter: blur(14px);
}

.dialog-close {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 12px;
  color: var(--text);
  background: #ffffff;
  font-weight: 500;
  cursor: pointer;
}

.dialog-close:hover {
  border-color: rgba(15, 118, 110, 0.35);
}

.request-dialog .request-layout {
  padding: 0;
}

.request-grid {
  grid-template-columns: minmax(0, 1.22fr) minmax(280px, 0.78fr);
  align-items: start;
}

.request-form,
.aside-card {
  padding: 22px;
}

.service-picker {
  display: grid;
  gap: 14px;
  margin: 0 0 14px;
  padding: 20px;
}

.service-picker legend {
  padding: 0 6px;
  font-size: 1.05rem;
  font-weight: 500;
}

.service-picker p {
  margin: 0;
  font-weight: 400;
}

.service-picker.field-error {
  border-color: rgba(194, 65, 12, 0.42);
}

input.field-error,
select.field-error,
textarea.field-error,
.phone-input-group.field-error select,
.phone-input-group.field-error input {
  border-color: rgba(194, 65, 12, 0.72);
}

.phone-input-group {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 10px;
}

.phone-field .field-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 400;
}

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

.service-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-height: 96px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  font-weight: 400;
}

.service-option.selected,
.service-option:has(input:checked) {
  border-color: rgba(15, 118, 110, 0.38);
  background: #e6f6ef;
}

.service-option input {
  width: auto;
  flex: 0 0 auto;
  margin-top: 3px;
  accent-color: var(--primary);
}

.service-option span {
  display: grid;
  gap: 4px;
}

.service-option strong {
  color: var(--text);
}

.service-option small {
  line-height: 1.35;
}

.request-aside {
  display: grid;
  gap: 14px;
}

.accent-card {
  background:
    linear-gradient(90deg, rgba(183, 121, 31, 0.12), transparent 42%),
    #ffffff;
}

.pricing-estimate h3 {
  margin: 12px 0 16px;
}

.estimate-list,
.estimate-group {
  display: grid;
  gap: 12px;
}

.estimate-group {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.estimate-group:first-child {
  padding-top: 0;
  border-top: 0;
}

.estimate-group h4 {
  margin: 0;
  font-size: 1.05rem;
}

.estimate-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 8px 0;
  border-top: 1px solid rgba(230, 220, 203, 0.82);
}

.estimate-group h4 + .estimate-item {
  border-top: 0;
}

.estimate-item span {
  color: var(--text);
  font-weight: 500;
}

.estimate-item strong {
  color: var(--primary-deep);
  font-weight: 500;
  text-align: right;
}

.estimate-note,
.estimate-empty {
  margin: 0;
  line-height: 1.45;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 500;
}

.field-label {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
}

.required-mark {
  color: var(--danger);
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 13px 14px;
  color: var(--text);
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(15, 118, 110, 0.16);
  border-color: rgba(15, 118, 110, 0.5);
}

textarea {
  resize: vertical;
}

.upload-box {
  margin-top: 14px;
  padding: 18px;
  border: 1px dashed rgba(15, 118, 110, 0.36);
  border-radius: var(--radius);
  background: #e6f6ef;
}

.upload-box span {
  color: var(--muted);
  font-weight: 400;
}

.file-preview,
.doc-list,
.request-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.file-chip,
.meta-pill,
.doc-pill,
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 0.86rem;
}

.status-pill {
  font-weight: 500;
}

.doc-pill {
  color: inherit;
}

.status-new {
  color: #0f4f49;
  background: #dff5ed;
  border-color: #bde8d7;
}

.status-review {
  color: #92400e;
  background: #fef3c7;
  border-color: #fde68a;
}

.status-assigned {
  color: #0d5f57;
  background: #e6f6ef;
  border-color: #c6eadc;
}

.submit-button {
  margin-top: 18px;
}

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  line-height: 1.45;
}

.feature-list {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list.compact {
  gap: 8px;
}

.dashboard-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
}

.dashboard-actions {
  justify-content: flex-end;
  margin: 0;
}

.dashboard-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 14px;
}

.metric-card {
  padding: 20px;
}

.metric-card strong {
  display: block;
  margin-top: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
  line-height: 1;
}

.dashboard-table-wrap,
.pricing-table-wrap {
  padding: 8px;
  overflow-x: auto;
}

.dashboard-table,
.pricing-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.dashboard-table {
  min-width: 960px;
}

.dashboard-table th,
.dashboard-table td,
.pricing-table th,
.pricing-table td {
  padding: 15px 13px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.dashboard-table th,
.pricing-table th {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
  background: var(--surface-muted);
}

.dashboard-table tbody tr:last-child td,
.pricing-table tbody tr:last-child td {
  border-bottom: 0;
}

.pricing-table td:first-child,
.pricing-table td:nth-child(2) {
  color: var(--text);
  font-weight: 500;
}

.price-value {
  display: inline-flex;
  width: fit-content;
  padding: 6px 9px;
  border: 1px solid #bde8d7;
  border-radius: var(--radius);
  color: #0f4f49;
  background: #dff5ed;
  font-weight: 500;
}

.compact-table .pricing-table {
  min-width: 780px;
}

.quote-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.quote-card {
  display: grid;
  gap: 12px;
}

.quote-card h3 {
  margin: 0;
  font-size: 1.02rem;
}

.quote-card span {
  color: var(--primary-deep);
  font-weight: 500;
}

.request-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.request-card {
  padding: 20px;
}

.request-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.request-name {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.92rem;
}

.request-service {
  margin: 0;
}

.request-notes {
  margin: 16px 0;
  line-height: 1.55;
}

.empty-state {
  padding: 34px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.detail-page main {
  position: relative;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.52fr);
  gap: 28px;
  align-items: center;
  min-height: 54vh;
}

.detail-hero h1 {
  max-width: 14ch;
  margin: 16px 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 4rem;
  line-height: 1;
}

.detail-hero p {
  max-width: 64ch;
  color: var(--muted);
  line-height: 1.65;
}

.detail-summary,
.detail-panel,
.related-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.detail-summary {
  display: grid;
  gap: 16px;
  padding: 22px;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-tags span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 7px 10px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: var(--radius);
  color: #0d5f57;
  background: #e6f6ef;
  font-size: 0.82rem;
}

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

.detail-panel {
  padding: 24px;
}

.detail-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.detail-list p {
  position: relative;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.55;
}

.detail-list p::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent);
}

.detail-steps {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.detail-steps article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: var(--radius);
  background: rgba(236, 248, 243, 0.58);
}

.detail-steps span {
  color: var(--primary-deep);
  font-family: "Space Grotesk", sans-serif;
}

.detail-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

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

.related-card {
  display: grid;
  gap: 10px;
  padding: 20px;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.related-card:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 118, 110, 0.28);
  background: rgba(255, 255, 255, 0.92);
}

.related-card span {
  color: var(--primary-deep);
  font-size: 0.8rem;
}

.related-card strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.16rem;
}

.related-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 1120px) {
  .hero,
  .pricing-hero,
  .request-grid,
  .detail-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 64px;
  }

  .hero-desk {
    justify-self: start;
  }

  .service-grid,
  .profile-grid,
  .timeline,
  .quote-grid,
  .dashboard-metrics,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .assurance-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(calc(100% - 22px), var(--max-width));
  }

  .section {
    padding: 34px 0;
  }

  .topbar,
  .dashboard-heading,
  .service-grid,
  .profile-grid,
  .timeline,
  .form-row,
  .phone-input-group,
  .hero-proof,
  .metrics,
  .request-cards,
  .dashboard-metrics,
  .quote-grid,
  .service-options,
  .console-grid,
  .console-flow,
  .console-progress,
  .assurance-grid,
  .detail-content,
  .related-grid,
  .estimate-item {
    display: grid;
    grid-template-columns: 1fr;
  }

  .topbar {
    position: static;
    justify-content: start;
  }

  .nav {
    justify-content: start;
  }

  .hero {
    width: 100vw;
    min-height: auto;
    padding: 48px 16px 34px;
    background:
      url("./assets/hero-compliance-backdrop.svg") top right -220px / 780px auto no-repeat,
      linear-gradient(135deg, rgba(15, 118, 110, 0.13), transparent 36%),
      linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(251, 246, 234, 0.9)),
      #fbf6ea;
  }

  .compliance-console {
    min-height: auto;
    padding: 14px;
  }

  .hero h1 {
    max-width: 100%;
    font-size: 2.55rem;
  }

  .pricing-hero h1,
  .internal-hero h1,
  .detail-hero h1 {
    max-width: 100%;
    font-size: 2.45rem;
  }

  .section-heading h2 {
    font-size: 2.05rem;
  }

  .assurance h2 {
    font-size: 2.05rem;
  }

  .assurance {
    padding: 42px 16px;
  }

  .service-card {
    min-height: auto;
  }

  .request-dialog {
    width: min(calc(100% - 16px), 1120px);
    max-height: 92vh;
  }

  .dialog-panel {
    max-height: 92vh;
    padding: 16px;
  }

  .dialog-top {
    top: -16px;
    margin: -16px -16px 18px;
    padding: 14px 16px;
  }

  .estimate-item strong {
    text-align: left;
  }

  .dashboard-actions {
    justify-content: start;
  }

  .button,
  .dashboard-actions .status-pill {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .page-shell {
    width: calc(100% - 24px);
  }

  .hero h1,
  .pricing-hero h1,
  .internal-hero h1,
  .detail-hero h1 {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}


/* blogs */

.blog-image{
  width: 50%;
}

.blog-content {
  display: grid;
  gap: 16px;
}

/* Tools _ Capital Gain */

.card{
    background:#b8c4bf;
    padding:20px;
    margin:15px 0;
    border-radius:8px;
  }

.tool_left{
  float:left;
  width: 48%;
  margin-right: 1%;
}

.tool_right{
  float:left;
  width: 48%;
  margin-left: 1%;
}


/* Clear floats after the columns */
/* .row:after {
  content: "";
  display: table;
  clear: both;
} */
input,select{display:block;width:100%;padding:8px;margin:8px 0}


/* EMI Tool */

/* =====================================================
   FIDHKI EMI CALCULATOR
===================================================== */

.calculator-grid{
    display:grid;
    grid-template-columns:420px 1fr;
    gap:30px;
    margin-top:35px;
    align-items:start;
}

.results-column{
    display:flex;
    flex-direction:column;
    gap:25px;
}

.card{
    background:#b8c4bf;
    border-radius:16px;
    padding:25px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.card h2{
    margin-top:0;
    margin-bottom:25px;
    color:#0f766e;
}

/* ==========================================
FORM
========================================== */

.form-group{
    display:flex;
    flex-direction:column;
    margin-bottom:20px;
}

.form-group label{
    font-weight:600;
    margin-bottom:8px;
    color:#444;
}

.form-group input{

    width:100%;
    padding:14px 16px;

    border:1px solid #d8d8d8;
    border-radius:10px;

    font-size:15px;

    transition:.25s;
    box-sizing:border-box;

}

.form-group input:focus{

    outline:none;

    border-color:#0f766e;

    box-shadow:0 0 0 4px rgba(15,118,110,.15);

}

.button{

    cursor:pointer;

    border:none;

    border-radius:10px;

    padding:14px 18px;

    font-size:15px;

    font-weight:600;

}

.button-primary{

    background:#0f766e;
    color:#fff;

}

.button-primary:hover{

    background:#0d5f59;

}

/* ==========================================
RESULTS
========================================== */

.metric{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:16px 0;

    border-bottom:1px solid #ececec;

}

.metric:last-child{

    border-bottom:none;

}

.metric span{

    color:#666;

}

.metric strong{

    font-size:22px;

    color:#111827;

}

/* ==========================================
PROGRESS
========================================== */

.amount-row{

    display:flex;

    justify-content:space-between;

    margin-bottom:20px;

}

.small-label{

    color:#777;

    font-size:13px;

    margin-bottom:4px;

}

.progress-bar{

    height:18px;

    background:#ececec;

    border-radius:30px;

    overflow:hidden;

    display:flex;

}

#principalBar{

    background:#10b981;

    width:0%;

    transition:width .5s;

}

#interestBar{

    background:#ef4444;

    width:0%;

    transition:width .5s;

}

/* ==========================================
TABLE
========================================== */

table{

    width:100%;

    border-collapse:collapse;

}

thead{

    background:#0f766e;

    color:#fff;

}

th{

    padding:14px;

    text-align:left;

}

td{

    padding:12px;

    border-bottom:1px solid #ececec;

}

tbody tr:nth-child(even){

    background:#fafafa;

}

tbody tr:hover{

    background:#eef9f8;

}

/* ==========================================
SCHEDULE
========================================== */

.schedule-wrap{

    max-height:450px;

    overflow:auto;

    border:1px solid #ddd;

    border-radius:12px;

}

.schedule-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:20px;

}

/* ==========================================
AFFORDABILITY BADGE
========================================== */

.badge{

    display:inline-flex;

    align-items:center;

    padding:5px 10px;

    border-radius:20px;

    font-size:13px;

    font-weight:600;

}

.badge.good{

    background:#dcfce7;

    color:#166534;

}

.badge.medium{

    background:#fef9c3;

    color:#854d0e;

}

.badge.high{

    background:#ffedd5;

    color:#c2410c;

}

.badge.danger{

    background:#fee2e2;

    color:#991b1b;

}

/* ==========================================
RESPONSIVE
========================================== */

@media(max-width:960px){

.calculator-grid{

grid-template-columns:1fr;

}

.schedule-wrap{

overflow-x:auto;

}

.metric strong{

font-size:18px;

}

}

@media(max-width:600px){

.card{

padding:18px;

}

th,td{

padding:10px;

font-size:13px;

}

.button{

width:100%;

}

}

/* Navbar specific */
.nav-dropdown {
    position: relative;
      padding-bottom: 10px;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: inherit;
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform .25s;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);

    display: none;

    min-width: 180px;

    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    overflow: hidden;
    z-index: 999;
}

.nav-dropdown-menu a {
    display: block;
    padding: 12px 18px;
    color: inherit;
    text-decoration: none;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: #f4f4f4;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}
