/* www.divjyot.com: the Divjyot ONE product site. Colours are the app's (apps/web/src/index.css):
   brand navy, the Divjyot cyan-blue, and the logo's bright cyan for accents on navy. */
:root {
  --navy: #0a1a33;
  --navy-2: #102a4c;
  --navy-line: #21406b;
  --primary: #096c9a;
  --primary-strong: #075174;
  --cyan: #38bdf8;
  --cyan-soft: #bae6fd;
  --bg: #f9fafb;
  --surface: #ffffff;
  --text: #0f1729;
  --muted: #4d5a6c;
  --border: #dae0e7;
  --accent-bg: #e3f4fc;
  --radius: 12px;
  --shadow: 0 1px 2px rgb(15 23 41 / 6%), 0 8px 24px rgb(15 23 41 / 8%);
  --shadow-lg: 0 24px 60px rgb(3 10 24 / 35%);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --container: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--primary);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--primary-strong);
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  font-weight: 750;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 720;
}

h3 {
  font-size: 1.2rem;
  font-weight: 680;
}

p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: 16px;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 24px;
  }
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: #fff;
  color: var(--navy);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* -- Header ------------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid var(--navy-line);
}

.site-header .bar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 36px;
  width: auto;
}

.nav-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: #fff;
  border: 1px solid var(--navy-line);
  border-radius: 8px;
  padding: 8px 12px;
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
}

.site-nav {
  display: none;
}

.site-nav.open {
  display: block;
  position: absolute;
  inset: 68px 0 auto 0;
  background: var(--navy);
  border-bottom: 1px solid var(--navy-line);
  padding: 8px 16px 16px;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-nav a {
  display: block;
  color: #dbe7f5;
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 560;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: #fff;
  background: var(--navy-2);
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--cyan);
}

.site-nav .nav-cta a {
  background: var(--cyan);
  color: var(--navy);
  text-align: center;
  margin-top: 6px;
}

.site-nav .nav-cta a:hover {
  background: #7dd3fc;
  color: var(--navy);
}

@media (min-width: 1120px) {
  .nav-toggle {
    display: none;
  }

  .site-nav,
  .site-nav.open {
    display: block;
    position: static;
    margin-left: auto;
    padding: 0;
    border: 0;
    background: none;
  }

  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 4px;
  }

  .site-nav ul {
    gap: 0;
  }

  .site-nav a {
    padding: 10px 10px;
    font-size: 0.97rem;
  }

  .site-nav .nav-cta a {
    margin: 0 0 0 10px;
    padding: 9px 16px;
  }
}

/* -- Buttons ------------------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-strong);
  color: #fff;
}

.btn-bright {
  background: var(--cyan);
  color: var(--navy);
}

.btn-bright:hover {
  background: #7dd3fc;
  color: var(--navy);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: #3b5e8c;
}

.btn-ghost:hover {
  background: var(--navy-2);
  color: #fff;
}

.btn-outline {
  background: #fff;
  color: var(--primary-strong);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary-strong);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* -- Hero --------------------------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(1000px 420px at 85% -10%, rgb(56 189 248 / 22%), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, #0c2141 100%);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  padding-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(40px, 6vw, 72px);
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.hero .eyebrow,
.page-hero .eyebrow {
  color: var(--cyan);
}

.hero .lead {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  color: #c9d8ea;
  max-width: 44rem;
  margin-bottom: 28px;
}

.hero h1 {
  max-width: 18em;
}

/* The home page's diagram: one record and the parts that share it (an illustration, not a screen). */
.hero-art {
  margin: clamp(28px, 5vw, 48px) auto 0;
  max-width: 1100px;
}

/* Too small to read on a phone; the facts below say the same. */
@media (max-width: 599px) {
  .hero-art {
    display: none;
  }
}

.caption {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 10px;
}

.hero .caption {
  color: #9fb4cd;
}

.page-hero {
  background: linear-gradient(180deg, var(--navy) 0%, #0c2141 100%);
  color: #fff;
}

.page-hero .container {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(32px, 5vw, 56px);
}

.page-hero .lead {
  color: #c9d8ea;
  font-size: 1.15rem;
  max-width: 46rem;
  margin: 0;
}

.page-hero a,
.hero a:not(.btn) {
  color: var(--cyan-soft);
}

.page-hero a:hover,
.hero a:not(.btn):hover {
  color: #fff;
}

/* -- Sections ----------------------------------------------------------------------------- */
.section {
  padding-block: clamp(56px, 8vw, 96px);
}

.section-cta {
  padding-top: 0;
}

.section-alt {
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 46rem;
  margin-bottom: 40px;
}

.section-head p {
  color: var(--muted);
  font-size: 1.1rem;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid > * {
  min-width: 0;
}

@media (min-width: 640px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}

.card p:last-child {
  margin-bottom: 0;
}

.card p {
  color: var(--muted);
}

.card h3 a {
  color: inherit;
  text-decoration: none;
}

.card h3 a:hover {
  color: var(--primary);
}

.icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--accent-bg);
  color: var(--primary-strong);
  margin-bottom: 14px;
}

.icon svg {
  width: 24px;
  height: 24px;
}

/* A feature: text beside its screenshot, alternating sides on wide screens. */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding-block: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--border);
}

.feature figure {
  margin: 0;
}

.feature:first-of-type {
  border-top: 0;
}

@media (min-width: 980px) {
  .feature {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 48px;
  }

  .feature.flip {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .feature.flip > .feature-text {
    order: 2;
  }
}

.feature-text ul,
.ticks {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-text li,
.ticks li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
}

.feature-text li::before,
.ticks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.5em;
  width: 14px;
  height: 8px;
  border-left: 2.5px solid var(--primary);
  border-bottom: 2.5px solid var(--primary);
  transform: rotate(-45deg);
}

.shot {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #fff;
}

/* Two ways to run it */
.ways {
  display: grid;
  gap: 20px;
}

@media (min-width: 860px) {
  .ways {
    grid-template-columns: 1fr 1fr;
  }
}

.way {
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.way.dark {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy-line);
}

.way.dark p,
.way.dark li {
  color: #c9d8ea;
}

.way.dark .ticks li::before {
  border-color: var(--cyan);
}

.way .tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-bg);
  color: var(--primary-strong);
  margin-bottom: 12px;
}

.way.dark .tag {
  background: #12345e;
  color: var(--cyan-soft);
}

/* -- Pricing ------------------------------------------------------------------------------ */
.plans {
  display: grid;
  gap: 20px;
}

@media (min-width: 980px) {
  .plans {
    grid-template-columns: repeat(3, 1fr);
  }
}

.plan {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.plan.featured {
  border: 2px solid var(--primary);
}

.plan .badge {
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  margin-bottom: 12px;
}

.plan .price {
  font-size: 1.35rem;
  font-weight: 720;
  margin: 4px 0 16px;
}

.plan .price small {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
}

.plan .ticks {
  margin-bottom: 24px;
  flex: 1;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 640px;
  font-size: 0.97rem;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}

thead th {
  background: #f1f5f9;
  font-weight: 680;
}

tbody th {
  font-weight: 620;
  width: 22%;
}

tr:last-child th,
tr:last-child td {
  border-bottom: 0;
}

/* -- FAQ ---------------------------------------------------------------------------------- */
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px 20px;
  margin-bottom: 12px;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
  padding: 14px 0;
}

.faq details p {
  color: var(--muted);
}

/* -- Call to action band ------------------------------------------------------------------ */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, #0e3157 100%);
  color: #fff;
  border-radius: 16px;
  padding: clamp(28px, 5vw, 48px);
  display: grid;
  gap: 20px;
  align-items: center;
}

.cta-band p {
  color: #c9d8ea;
  margin: 0;
}

@media (min-width: 860px) {
  .cta-band {
    grid-template-columns: 1fr auto;
  }
}

/* -- Forms -------------------------------------------------------------------------------- */
.form {
  display: grid;
  gap: 18px;
}

.form .two {
  display: grid;
  gap: 18px;
}

@media (min-width: 640px) {
  .form .two {
    grid-template-columns: 1fr 1fr;
  }
}

.field label,
.field legend {
  display: block;
  font-weight: 620;
  margin-bottom: 6px;
}

/* "(optional)" on the label's own line, so fields side by side stay level. */
.field label .optional {
  font-weight: 400;
  color: var(--muted);
}

.field .hint {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin: -2px 0 6px;
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 11px 12px;
  border: 1px solid #b7c2d0;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 3px solid rgb(9 108 154 / 35%);
  border-color: var(--primary);
}

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.check input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  flex-shrink: 0;
}

.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.notice {
  border-radius: 10px;
  padding: 14px 18px;
  border: 1px solid;
}

.notice-error {
  background: #fdecec;
  border-color: #f3b4b4;
  color: #7a1616;
}

.notice-draft {
  background: #fff7e0;
  border-color: #f0d48a;
  color: #5c4300;
}

.contact-layout {
  display: grid;
  gap: 32px;
}

@media (min-width: 980px) {
  .contact-layout {
    grid-template-columns: 7fr 4fr;
    gap: 48px;
  }
}

/* -- Long-form text (legal pages) ---------------------------------------------------------- */
.prose {
  max-width: 46rem;
}

.prose h2 {
  font-size: 1.45rem;
  margin-top: 1.8em;
}

.prose h3 {
  margin-top: 1.4em;
}

.prose ul {
  padding-left: 1.3em;
}

.prose li {
  margin-bottom: 0.4em;
}

.meta {
  color: var(--muted);
  font-size: 0.95rem;
}

/* -- Footer ------------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy);
  color: #c9d8ea;
  padding-block: 48px 32px;
  margin-top: 0;
}

.site-footer .cols {
  display: grid;
  gap: 28px;
}

@media (min-width: 640px) {
  .site-footer .cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 980px) {
  .site-footer .cols {
    grid-template-columns: 2fr 1fr 1.3fr 1fr;
  }
}

.footer-note {
  font-size: 0.9rem;
  color: #9fb4cd;
}

.site-footer img {
  height: 34px;
  width: auto;
  margin-bottom: 12px;
}

.site-footer h2 {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 10px;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 6px;
}

.site-footer a {
  color: #dbe7f5;
  text-decoration: none;
}

.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer .legal {
  border-top: 1px solid var(--navy-line);
  margin-top: 32px;
  padding-top: 20px;
  font-size: 0.9rem;
  color: #9fb4cd;
}

/* -- Facts under the hero: what's built, stated plainly -------------------------------------- */
.facts {
  list-style: none;
  margin: clamp(36px, 6vw, 56px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--navy-line);
  border: 1px solid var(--navy-line);
  border-radius: 14px;
  overflow: hidden;
}

@media (min-width: 900px) {
  .facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.facts li {
  background: #0c1f3c;
  padding: 18px 20px;
  color: #c9d8ea;
  font-size: 0.95rem;
  line-height: 1.45;
}

.facts strong {
  display: block;
  color: #fff;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

/* -- Before and after ----------------------------------------------------------------------- */
.contrast {
  display: grid;
  gap: 20px;
}

@media (min-width: 860px) {
  .contrast {
    grid-template-columns: 1fr 1fr;
  }
}

.contrast > div {
  border-radius: var(--radius);
  padding: 26px 26px 18px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.contrast .after {
  background: linear-gradient(160deg, #eaf6fd 0%, #ffffff 70%);
  border-color: #b7dff3;
}

.contrast h3 {
  font-size: 1.15rem;
}

.crosses {
  list-style: none;
  padding: 0;
  margin: 0;
}

.crosses li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
  color: var(--muted);
}

.crosses li::before,
.crosses li::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.75em;
  width: 13px;
  height: 2.5px;
  background: #b4535a;
  transform: rotate(45deg);
}

.crosses li::after {
  transform: rotate(-45deg);
}

/* -- One move, every record: a numbered trace through the product ----------------------------- */
.flow {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
  counter-reset: step;
}

@media (min-width: 760px) {
  .flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1080px) {
  .flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.flow li {
  position: relative;
  counter-increment: step;
  background: #0c1f3c;
  border: 1px solid var(--navy-line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  color: #c9d8ea;
}

.flow li::before {
  content: "U" counter(step, decimal-leading-zero);
  display: inline-block;
  font: 700 0.8rem/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0.06em;
  color: var(--navy);
  background: var(--cyan);
  border-radius: 6px;
  padding: 6px 8px;
  margin-bottom: 14px;
}

.flow h3 {
  color: #fff;
  font-size: 1.12rem;
}

.flow p {
  margin: 0;
  font-size: 0.98rem;
}

.flow .module {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 0.78rem;
  font-weight: 650;
  color: var(--cyan-soft);
  border: 1px solid var(--navy-line);
  border-radius: 999px;
  padding: 3px 10px;
}

.section-dark {
  background:
    radial-gradient(900px 380px at 10% 0%, rgb(56 189 248 / 14%), transparent 60%),
    var(--navy);
  color: #c9d8ea;
}

.section-dark h2 {
  color: #fff;
}

.section-dark .section-head p {
  color: #c9d8ea;
}

.section-dark .eyebrow {
  color: var(--cyan);
}

.section-dark a:not(.btn) {
  color: var(--cyan-soft);
}

.section-dark a:not(.btn):hover {
  color: #fff;
}

/* -- Four pillars --------------------------------------------------------------------------- */
.pillar {
  border-top: 4px solid var(--primary);
}

.pillar .word {
  display: block;
  font-size: 1.9rem;
  font-weight: 760;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 6px;
}

.pillar ul {
  margin: 12px 0 0;
}

.pillar li {
  color: var(--text);
  font-size: 0.98rem;
}

/* -- Tiles: a screenshot with its name, linking into the tour ---------------------------------- */
.tile {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.tile img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
  width: 100%;
  border-bottom: 1px solid var(--border);
}

.tile span {
  display: block;
  padding: 14px 18px;
  font-weight: 650;
  color: var(--navy);
}

.tile:hover span {
  color: var(--primary);
}

/* -- Chips: names of systems it works with (plain text, never other companies' logos) ----------- */
.chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chips li {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 0.92rem;
  font-weight: 560;
}

.section-dark .chips li {
  background: #0c1f3c;
  border-color: var(--navy-line);
  color: #dbe7f5;
}

/* -- Roles ----------------------------------------------------------------------------------- */
.role {
  display: grid;
  gap: 24px;
  padding-block: clamp(36px, 5vw, 56px);
  border-top: 1px solid var(--border);
}

.role:first-of-type {
  border-top: 0;
  padding-top: 0;
}

@media (min-width: 980px) {
  .role {
    grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 3fr);
    gap: 40px;
  }
}

.role h3 {
  font-size: 1.05rem;
}

.role .pains li {
  color: var(--muted);
}

.links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.links li {
  margin-bottom: 8px;
}

.links a::after {
  content: " \2192";
}

/* -- Product tour: tabs on screens with scripts, every part one after another without ---------- */
.tour-tabs {
  display: none;
}

.tour-js .tour-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.tour-tabs button {
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 15px;
  cursor: pointer;
}

.tour-tabs button:hover {
  border-color: var(--primary);
}

.tour-tabs button[aria-selected="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.tour-panel {
  display: grid;
  gap: 28px;
  align-items: start;
  padding-block: 28px;
  border-top: 1px solid var(--border);
}

.tour-js .tour-panel {
  padding-block: 0;
  border-top: 0;
}

.tour-js .tour-panel[hidden] {
  display: none;
}

@media (min-width: 980px) {
  .tour-panel {
    grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
    gap: 40px;
  }
}

.tour-panel figure {
  margin: 0;
}

.tour-panel h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}

.tour-panel .module {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.tour-nav {
  display: none;
}

.tour-js .tour-nav {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

/* -- Comparison ------------------------------------------------------------------------------ */
.compare table {
  min-width: 860px;
}

.compare thead th {
  vertical-align: bottom;
}

.compare thead th.ours {
  background: var(--navy);
  color: #fff;
}

.compare td.ours {
  background: #eef8fd;
  font-weight: 600;
}

.verdict {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
}

.verdict::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  transform: translateY(-1px);
}

.verdict.yes::before {
  background: #148a55;
}

.verdict.some::before {
  background: #c98a12;
}

.verdict.no::before {
  background: #b4535a;
}

.legend {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.92rem;
  color: var(--muted);
}

/* -- A note set apart (design partners, honest limits) ---------------------------------------- */
.panel-note {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--cyan);
  border-radius: var(--radius);
  padding: 24px 26px;
}

.panel-note p:last-child {
  margin-bottom: 0;
}

.grid + .panel-note {
  margin-top: 24px;
}

code {
  font-size: 0.9em;
  overflow-wrap: anywhere;
}

.status {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 6px;
  padding: 3px 8px;
  margin-left: 6px;
  vertical-align: 2px;
  background: #fdf3dc;
  color: #7a4f00;
}

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

@media print {
  .site-header,
  .site-footer,
  .cta-band {
    display: none;
  }
}
