:root {
  --ink: #f7fbff;
  --muted: #9fb0c8;
  --soft: #d8e4f4;
  --bg: #07111f;
  --panel: #0d1a2c;
  --panel-2: #102137;
  --line: rgba(255, 255, 255, 0.12);
  --blue: #55a7ff;
  --teal: #43d3c7;
  --green: #85d48f;
  --amber: #f0c76d;
  --coral: #ff8f70;
  --danger: #ff7d86;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --max: 1180px;
  --radius: 12px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(135deg, #06101d 0%, #08192c 46%, #111827 100%);
  background-size: 72px 72px, 72px 72px, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
.shell { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 10px 14px; color: #06101d; background: var(--teal); border-radius: 8px; font-weight: 850; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(7,17,31,.9); backdrop-filter: blur(18px); }
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 900; }
.brand-mark { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 9px; color: #06101d; background: linear-gradient(135deg, var(--teal), var(--amber)); box-shadow: 0 12px 26px rgba(67,211,199,.22); }
.nav-links { display: flex; align-items: center; gap: 18px; list-style: none; color: var(--muted); font-size: .9rem; font-weight: 750; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-home { min-height: 44px; display: inline-flex !important; align-items: center; gap: 8px; padding: 8px 14px !important; border: 2px solid #ffe58b; border-radius: 10px; color: #07111f !important; background: linear-gradient(135deg, #ffd84d, var(--amber)); box-shadow: 0 0 0 2px rgba(85,167,255,.72), 0 12px 26px rgba(240,199,109,.2); font-weight: 900; white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease; }
.nav-home::before { content: "←"; font-size: 1rem; font-weight: 950; }
.nav-home:hover { color: #07111f !important; transform: translateY(-2px); box-shadow: 0 0 0 3px rgba(85,167,255,.9), 0 15px 30px rgba(240,199,109,.28); }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.06); cursor: pointer; }

.breadcrumb { padding: 20px 0 0; color: var(--muted); font-size: .85rem; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 7px; color: rgba(255,255,255,.35); }
.breadcrumb a:hover { color: var(--teal); }

.hero { position: relative; padding: 78px 0 76px; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 620px; height: 620px; right: -220px; top: -260px; border: 1px solid rgba(67,211,199,.17); border-radius: 50%; box-shadow: inset 0 0 100px rgba(67,211,199,.05); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(310px, .82fr); gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 16px; color: var(--teal); font-size: .75rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 24px; border-top: 2px solid currentColor; }
h1 { max-width: 830px; font-size: clamp(2.55rem, 6vw, 5.25rem); line-height: .98; letter-spacing: -.055em; }
.hero-lead { max-width: 760px; margin-top: 24px; color: var(--soft); font-size: clamp(1.05rem, 1.9vw, 1.3rem); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 17px; border: 1px solid transparent; border-radius: 9px; font-weight: 850; cursor: pointer; transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #06101d; background: linear-gradient(135deg, var(--teal), #8ce3db); box-shadow: 0 15px 28px rgba(67,211,199,.18); }
.button-secondary { border-color: var(--line); background: rgba(255,255,255,.06); }
.button-small { min-height: 38px; padding: 8px 12px; font-size: .84rem; }

.hero-panel { padding: 26px; border: 1px solid rgba(67,211,199,.28); border-radius: 16px; background: linear-gradient(145deg, rgba(67,211,199,.11), rgba(255,255,255,.045)); box-shadow: var(--shadow); }
.hero-panel strong { display: block; font-size: 1.1rem; }
.hero-panel > p { margin-top: 6px; color: var(--muted); }
.hero-checks { display: grid; gap: 12px; margin-top: 22px; list-style: none; }
.hero-checks li { display: flex; gap: 10px; color: var(--soft); }
.hero-checks li::before { content: "✓"; width: 23px; height: 23px; display: grid; place-items: center; flex: 0 0 23px; border-radius: 50%; color: #06101d; background: var(--teal); font-size: .74rem; font-weight: 950; }

.section { padding: 78px 0; }
.section-alt { border-block: 1px solid var(--line); background: rgba(3,12,23,.46); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .75fr); gap: 36px; align-items: end; margin-bottom: 30px; }
.section-heading h2, .content-heading { font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.05; letter-spacing: -.04em; }
.section-heading p, .section-copy { color: var(--muted); }
.section-kicker { display: block; margin-bottom: 8px; color: var(--teal); font-size: .72rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }

.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tool-card { position: relative; min-height: 310px; display: flex; flex-direction: column; padding: 28px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(150deg, rgba(255,255,255,.085), rgba(255,255,255,.035)); box-shadow: 0 18px 42px rgba(0,0,0,.18); transition: transform .22s ease, border-color .22s ease; }
.tool-card:hover { transform: translateY(-4px); border-color: rgba(67,211,199,.55); }
.tool-card::after { content: ""; position: absolute; width: 150px; height: 150px; right: -75px; top: -75px; border: 1px solid rgba(67,211,199,.25); border-radius: 50%; }
.card-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 32px; }
.card-index { color: var(--teal); font-size: .74rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.pill { display: inline-flex; align-items: center; padding: 5px 8px; border: 1px solid rgba(133,212,143,.28); border-radius: 999px; color: var(--green); background: rgba(133,212,143,.08); font-size: .68rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.tool-card h2, .tool-card h3 { max-width: 520px; font-size: clamp(1.45rem, 2.6vw, 2rem); line-height: 1.15; }
.tool-card p { margin-top: 12px; color: var(--muted); }
.card-features { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.card-features span { padding: 5px 8px; border-radius: 6px; color: var(--soft); background: rgba(255,255,255,.055); font-size: .76rem; }
.card-link { margin-top: auto; padding-top: 24px; color: var(--soft); font-weight: 850; }
.card-link::after { content: "  →"; color: var(--teal); }

.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.04); }
.trust-item { padding: 22px; border-right: 1px solid var(--line); }
.trust-item:last-child { border: 0; }
.trust-item strong { display: block; color: var(--teal); font-size: 1.1rem; }
.trust-item span { color: var(--muted); font-size: .85rem; }

.tool-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.7rem); }
.workspace { display: grid; grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr); gap: 22px; align-items: start; }
.panel { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(13,26,44,.88); box-shadow: 0 18px 44px rgba(0,0,0,.16); }
.panel + .panel { margin-top: 16px; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.panel-heading h2, .panel-heading h3 { font-size: 1.25rem; line-height: 1.2; }
.panel-heading p { margin-top: 4px; color: var(--muted); font-size: .84rem; }
.input-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.field { display: grid; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { color: var(--soft); font-size: .82rem; font-weight: 800; }
.field small { color: var(--muted); font-size: .72rem; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; outline: 0; color: var(--ink); background: rgba(255,255,255,.055); }
input, select { min-height: 44px; padding: 9px 11px; }
textarea { min-height: 100px; padding: 11px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(67,211,199,.1); }
select option { color: #07111f; }
.prefix-field { position: relative; }
.prefix-field span { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.prefix-field input { padding-left: 28px; }
.suffix-field { position: relative; }
.suffix-field span { position: absolute; right: 11px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.suffix-field input { padding-right: 35px; }

.metric-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.metric { min-height: 116px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(145deg, rgba(255,255,255,.065), rgba(255,255,255,.025)); }
.metric span { display: block; color: var(--muted); font-size: .78rem; }
.metric strong { display: block; margin-top: 8px; font-size: clamp(1.45rem, 3vw, 2.15rem); line-height: 1.05; overflow-wrap: anywhere; }
.metric small { display: block; margin-top: 7px; color: var(--soft); font-size: .72rem; }
.metric.accent { border-color: rgba(67,211,199,.34); background: rgba(67,211,199,.08); }
.metric.warning { border-color: rgba(240,199,109,.35); }
.metric.positive strong { color: var(--green); }

.insight-box { margin-top: 14px; padding: 16px; border-left: 3px solid var(--teal); border-radius: 0 8px 8px 0; background: rgba(67,211,199,.075); color: var(--soft); }
.insight-box strong { color: var(--teal); }
.formula-note { color: var(--muted); font-size: .78rem; }
.actions-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }

.table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 12px 13px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { color: var(--muted); background: rgba(255,255,255,.04); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
td { color: var(--soft); font-size: .86rem; }
tbody tr:last-child td, tfoot tr:last-child td { border-bottom: 0; }
td input { min-width: 96px; min-height: 37px; padding: 7px 8px; }
.numeric { text-align: right; font-variant-numeric: tabular-nums; }
.table-note { margin-top: 10px; color: var(--muted); font-size: .78rem; }

.prose { max-width: 860px; }
.prose h2 { margin-top: 34px; font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.15; }
.prose h3 { margin-top: 24px; font-size: 1.15rem; }
.prose p, .prose li { color: var(--soft); }
.prose p { margin-top: 12px; }
.prose ul, .prose ol { margin: 12px 0 0 22px; }
.prose li + li { margin-top: 8px; }
.prose a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.faq-list { display: grid; gap: 10px; margin-top: 24px; }
.faq-list details { border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.035); }
.faq-list summary { padding: 16px 18px; cursor: pointer; color: var(--ink); font-weight: 850; }
.faq-list summary {
  border-radius: 9px;
  color: #06101d;
  background: linear-gradient(135deg, var(--teal), var(--amber));
  box-shadow: 0 12px 24px rgba(67,211,199,.16);
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; float: right; color: #06101d; font-size: 1.15rem; line-height: 1; }
.faq-list details[open] summary { border-radius: 9px 9px 0 0; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list summary:hover { filter: brightness(1.06); box-shadow: 0 16px 30px rgba(67,211,199,.22); }
.faq-list details p { padding: 0 18px 18px; color: var(--muted); }
.faq-list details[open] p { padding-top: 18px; }

.filter-bar { display: grid; grid-template-columns: minmax(220px, 1fr) repeat(2, minmax(150px, .35fr)); gap: 10px; margin-bottom: 20px; }
.journey-grid { display: grid; gap: 14px; }
.journey-card { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(13,26,44,.84); overflow: hidden; }
.journey-card[hidden] { display: none; }
.journey-summary { width: 100%; display: grid; grid-template-columns: 58px minmax(0,1fr) auto; gap: 16px; align-items: center; padding: 20px; border: 0; text-align: left; background: transparent; cursor: pointer; }
.journey-index { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid rgba(67,211,199,.3); border-radius: 10px; color: var(--teal); background: rgba(67,211,199,.075); font-weight: 950; }
.journey-title h2 { font-size: 1.2rem; }
.journey-title p { margin-top: 3px; color: var(--muted); font-size: .84rem; }
.journey-toggle { color: var(--teal); font-size: 1.4rem; transition: transform .2s ease; }
.journey-card.open .journey-toggle { transform: rotate(45deg); }
.journey-body { display: none; padding: 0 20px 22px 94px; }
.journey-card.open .journey-body { display: block; }
.journey-meta { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.journey-meta div { padding: 12px; border-radius: 8px; background: rgba(255,255,255,.045); }
.journey-meta span { display: block; color: var(--muted); font-size: .7rem; text-transform: uppercase; letter-spacing: .07em; }
.journey-meta strong { display: block; margin-top: 4px; font-size: .86rem; }
.steps { position: relative; display: grid; gap: 10px; margin-top: 18px; }
.step { display: grid; grid-template-columns: 33px minmax(0,1fr); gap: 11px; }
.step-number { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: #06101d; background: var(--teal); font-size: .73rem; font-weight: 950; }
.step-content { padding: 0 0 13px; border-bottom: 1px solid var(--line); }
.step:last-child .step-content { border: 0; }
.step-content strong { display: block; }
.step-content p { margin-top: 3px; color: var(--muted); font-size: .86rem; }
.journey-actions { display: flex; gap: 8px; margin-top: 16px; }
.empty-state { padding: 34px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); text-align: center; }

.dashboard-tabs { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.dashboard-tabs button { padding: 8px 12px; border: 1px solid var(--line); border-radius: 7px; background: rgba(255,255,255,.04); cursor: pointer; }
.dashboard-tabs button.active { border-color: var(--teal); color: #06101d; background: var(--teal); }
.dashboard-view[hidden] { display: none; }
.health { display: inline-flex; align-items: center; gap: 7px; }
.health::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
.health.good::before { background: var(--green); }
.health.bad::before { background: var(--danger); }
.executive-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.summary-card { padding: 16px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.035); }
.summary-card span { color: var(--muted); font-size: .75rem; }
.summary-card p { margin-top: 6px; color: var(--soft); font-size: .88rem; }

.related-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.related-card { padding: 19px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255,255,255,.04); }
.related-card span { color: var(--teal); font-size: .7rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.related-card strong { display: block; margin-top: 8px; }
.related-card p { margin-top: 6px; color: var(--muted); font-size: .82rem; }

.footer { padding: 34px 0 42px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer a { color: var(--soft); }
.status-message { min-height: 24px; margin-top: 8px; color: var(--green); font-size: .8rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 960px) {
  .hero-grid, .section-heading, .workspace { grid-template-columns: 1fr; }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .related-tools { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .shell { width: min(var(--max), calc(100% - 24px)); }
  .menu-toggle { display: grid; place-items: center; }
  .nav-links { display: none; position: absolute; top: calc(100% + 8px); left: 12px; right: 12px; padding: 14px; align-items: stretch; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; background: rgba(7,17,31,.98); }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 7px; }
  .hero { padding: 54px 0; }
  .hero-grid { gap: 30px; }
  .section { padding: 60px 0; }
  .tool-grid, .metric-grid, .executive-summary { grid-template-columns: 1fr; }
  .input-grid, .filter-bar { grid-template-columns: 1fr; }
  .journey-summary { grid-template-columns: 48px minmax(0,1fr) auto; gap: 10px; padding: 16px; }
  .journey-index { width: 44px; height: 44px; }
  .journey-body { padding: 0 16px 18px; }
  .journey-meta { grid-template-columns: 1fr; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Professional action system based on the Contact Deepak button. */
.button,
.dashboard-tabs button,
.journey-summary {
  color: #06101d !important;
  border-color: transparent !important;
  background: linear-gradient(135deg, var(--teal), var(--amber)) !important;
  box-shadow: 0 14px 28px rgba(67,211,199,.18) !important;
  cursor: pointer;
}
.button::after,
.dashboard-tabs button::after,
.journey-summary::after { content: none; }
.button:hover,
.dashboard-tabs button:hover,
.journey-summary:hover {
  color: #06101d !important;
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 18px 34px rgba(67,211,199,.24) !important;
}
.dashboard-tabs button.active {
  color: #06101d !important;
  border-color: rgba(255,255,255,.62) !important;
  background: linear-gradient(135deg, #64ddd1, #f5d37e) !important;
  box-shadow: 0 16px 32px rgba(67,211,199,.25) !important;
}
.journey-summary { grid-template-columns: 58px minmax(0,1fr) auto; }
.card-link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: #06101d;
  background: linear-gradient(135deg, var(--teal), var(--amber));
  box-shadow: 0 14px 28px rgba(67,211,199,.18);
  font-weight: 900;
}
.card-link::after { content: none; }
.tool-card:hover .card-link {
  filter: brightness(1.06);
  box-shadow: 0 18px 34px rgba(67,211,199,.24);
}
button:disabled,
.button[aria-disabled="true"] {
  cursor: not-allowed;
  filter: grayscale(.25);
  opacity: .68;
}

@media (max-width: 720px) {
  .journey-summary { grid-template-columns: 48px minmax(0,1fr) auto; }
}
