/* ==========================================================================
   Digital Media Reserve — draft site stylesheet
   An imprint and product of DMI Systems Private Limited
   Palette and section rhythm carried over from the existing dmr.pub
   ========================================================================== */

:root {
  /* Brand */
  --crimson:        #C32148;   /* DMR primary, taken from the live site */
  --crimson-deep:   #8E1733;
  --crimson-wash:   #FBEEF1;
  --steel:          #3E73A0;   /* darkened from the live site's #4682B4 so
                                  white body text on the band clears 4.5:1 */
  --steel-deep:     #24567D;
  --steel-wash:     #EDF3F8;
  --navy:           #16304C;
  --navy-deep:      #0E2138;
  --leaf:           #59A531;   /* DMI cube green, nudged to clear 3:1 */

  /* Neutrals, biased very slightly warm-crimson so they read as chosen */
  --parchment:      #F7F3EC;
  --paper:          #FFFFFF;
  --ink:            #2A2C31;
  --slate:          #63676F;
  --hairline:       #E2DDD5;   /* decorative rules only */
  --hairline-cool:  #D6DEE6;
  --text-muted:     #63676F;   /* secondary text; re-set per surface below */
  --edge-ui:        #8E887F;   /* boundaries of interactive components, 3:1+
                                  against both the paper and parchment grounds */
  --focus-light:    #16304C;   /* focus ring on light grounds */
  --focus-dark:     #FFFFFF;   /* focus ring on coloured grounds */

  /* Type */
  --display: "Jost", "Futura PT", Futura, "Century Gothic", system-ui, sans-serif;
  --body: "Source Sans 3", "Source Sans Pro", -apple-system, BlinkMacSystemFont,
          "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Rhythm */
  --measure: 1120px;
  --gutter: clamp(1rem, 4vw, 3rem);
  --band-pad: clamp(3.5rem, 7vw, 6rem);
  --slant: 3vw;
}

/* --- reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* WCAG 2.2 — 2.4.11 Focus Not Obscured: keep the sticky masthead clear of
     whatever the keyboard focus lands on. */
  scroll-padding-top: 7rem;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  text-wrap: balance;
  margin: 0;
  letter-spacing: -0.015em;
}
p, ul, ol, dl, table, pre, figure { margin: 0; }
a { color: var(--crimson-deep); text-underline-offset: 3px; }
a:hover { color: var(--crimson); }
:focus-visible {
  outline: 3px solid var(--focus-light);
  outline-offset: 3px;
  border-radius: 2px;
}
.band--crimson :focus-visible,
.band--steel :focus-visible,
.band--navy :focus-visible,
.sitefoot :focus-visible,
.utility :focus-visible,
.hero :focus-visible { outline-color: var(--focus-dark); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* --- type scale -------------------------------------------------------- */
.t-hero    { font-size: clamp(2.6rem, 6.4vw, 4.6rem); font-weight: 700; letter-spacing: -0.03em; }
.t-display { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 600; }
.t-section { font-size: clamp(1.65rem, 3.2vw, 2.35rem); font-weight: 600; }
.t-sub     { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; }
.lede {
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 62ch;
}
.eyebrow {
  font-family: var(--display);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--crimson);
  display: flex;
  align-items: center;
  gap: .7rem;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--crimson);
  flex: none;
}
.prose { max-width: 68ch; }
.prose p + p { margin-top: 1.1em; }
.muted { color: var(--text-muted); }
.nowrap { white-space: nowrap; }

/* --- layout ------------------------------------------------------------ */
.wrap {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.band { padding-block: var(--band-pad); position: relative; }
.band > .wrap { position: relative; z-index: 1; }

/* A coloured band flips secondary text to white. Any opaque light surface
   sitting inside that band takes the dark scale back, so a card on a crimson
   band is never white-on-white. */
.band--crimson, .band--steel, .band--navy { --text-muted: #ffffff; }
.card, .plan, .tablewrap, .form, .faq, .timeline { --text-muted: var(--slate); }
.band--crimson .card, .band--steel .card, .band--navy .card,
.band--crimson a.card, .band--steel a.card, .band--navy a.card,
.band--crimson .plan, .band--steel .plan, .band--navy .plan,
.band--crimson .tablewrap, .band--steel .tablewrap, .band--navy .tablewrap {
  color: var(--ink);
}

.band--paper      { background: var(--paper); }
.band--parchment  { background: var(--parchment); }
.band--crimson    { background: var(--crimson); color: #fff; }
.band--steel      { background: var(--steel); color: #fff; }
.band--navy       { background: var(--navy); color: #fff; }

.band--crimson .eyebrow,
.band--steel .eyebrow,
.band--navy .eyebrow { color: #fff; }
.band--crimson .eyebrow::before,
.band--steel .eyebrow::before,
.band--navy .eyebrow::before { background: rgba(255,255,255,.7); }

.band--crimson a, .band--steel a, .band--navy a { color: #fff; }

/* The signature angled band edge from the live site. */
.slant-l {
  clip-path: polygon(0 0, 100% var(--slant), 100% 100%, 0 100%);
  margin-top: calc(var(--slant) * -1);
  padding-top: calc(var(--band-pad) + var(--slant));
}
.slant-r {
  clip-path: polygon(0 var(--slant), 100% 0, 100% 100%, 0 100%);
  margin-top: calc(var(--slant) * -1);
  padding-top: calc(var(--band-pad) + var(--slant));
}

.stack { display: flex; flex-direction: column; gap: 1.25rem; align-items: flex-start; }
.stack--tight { gap: .75rem; }
.stack--loose { gap: 2rem; }
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: start;
}
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } }

/* --- masthead ---------------------------------------------------------- */
.utility {
  background: var(--navy-deep);
  color: rgba(255,255,255,.86);
  font-size: .82rem;
}
.utility .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem 1.6rem;
  align-items: center;
  justify-content: flex-end;
  padding-block: .5rem;
}
.utility a { color: #fff; text-decoration: none; padding-block: .3rem; display: inline-block; }
.utility a:hover { color: #fff; text-decoration: underline; }
.utility .utility-tag {
  margin-right: auto;
  font-family: var(--display);
  letter-spacing: .03em;
  font-size: .8rem;
  color: rgba(255, 255, 255, .86);
}
@media (max-width: 620px) { .utility .utility-tag { display: none; } }

.masthead {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--hairline);
  backdrop-filter: saturate(140%) blur(6px);
}
.masthead .wrap {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-block: .7rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}
.brand .brandmark {
  width: 46px;
  height: auto;
  flex: none;
  image-rendering: -webkit-optimize-contrast;
}
.brand b {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: -.01em;
  line-height: 1.05;
  display: block;
}
.brand span {
  display: block;
  font-size: .66rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--slate);
}
.nav { display: flex; align-items: center; gap: .15rem; margin-left: auto; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__link {
  font-family: var(--display);
  font-size: .95rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: .5rem .6rem;
  border-radius: 3px;
  white-space: nowrap;
}
.nav__link:hover { background: var(--crimson-wash); color: var(--crimson-deep); }
.nav__link[aria-current="page"],
.nav__link.is-section {
  color: var(--crimson-deep);
  box-shadow: inset 0 -2px 0 var(--crimson);
}

/* Section triggers are buttons: the whole label opens the menu, so a click
   can never navigate away from the menu the person was trying to open. */
.nav__link--menu {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  min-height: 2.25rem;
}
.nav__caret {
  width: 11px;
  height: auto;
  color: var(--slate);
  flex: none;
  transition: transform .15s ease;
}
.nav__link--menu:hover .nav__caret { color: inherit; }
.nav__item--menu.is-open > .nav__link--menu .nav__caret { transform: rotate(180deg); }
.nav__item--menu.is-open { z-index: 60; }
.nav__item--menu.is-open > .nav__link--menu {
  background: var(--crimson-wash);
  color: var(--crimson-deep);
}

.nav__menu {
  position: absolute;
  top: calc(100% + .45rem);
  left: 0;
  z-index: 50;
  display: none;
  min-width: 15rem;
  margin: 0;
  padding: .4rem;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--crimson);
  box-shadow: 0 18px 40px -22px rgba(22, 48, 76, .6);
}
.nav__item--menu.is-open > .nav__menu { display: block; }
.nav__menu a {
  display: block;
  font-family: var(--display);
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: .5rem .65rem;
  border-radius: 2px;
  white-space: nowrap;
}
.nav__menu a:hover { background: var(--crimson-wash); color: var(--crimson-deep); }
.nav__menu a[aria-current="page"] {
  color: var(--crimson-deep);
  background: var(--crimson-wash);
}
.nav__menu-head {
  font-family: var(--display);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate);
  padding: .85rem .65rem .35rem;
  margin-top: .3rem;
  border-top: 1px solid var(--hairline);
}
.nav__menu li:first-child .nav__menu-head,
.nav__menu-head:first-child { border-top: 0; margin-top: 0; padding-top: .45rem; }
.nav-toggle {
  display: none;
  margin-left: auto;
  font-family: var(--display);
  font-weight: 500;
  font-size: .9rem;
  background: var(--paper);
  border: 1px solid var(--hairline);
  color: var(--ink);
  padding: .5rem .8rem;
  border-radius: 3px;
  cursor: pointer;
}
@media (max-width: 1040px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: .6rem;
  }
  .nav.is-open { display: flex; }
  .masthead .wrap { flex-wrap: wrap; }

  .nav__item { flex-wrap: wrap; border-bottom: 1px solid var(--hairline); }
  .nav__link { flex: 1; padding: .8rem .4rem; }
  .nav__link--menu { justify-content: space-between; width: 100%; }
  .nav__caret { width: 14px; }

  .nav__item--menu.is-open > .nav__menu { display: block; }
  .nav__menu {
    position: static;
    order: 3;
    width: 100%;
    min-width: 0;
    border: 0;
    border-top: 1px solid var(--hairline);
    box-shadow: none;
    padding: .3rem 0 .6rem .9rem;
    background: var(--parchment);
  }
  .nav__menu a { white-space: normal; padding: .6rem .5rem; }
}

/* --- buttons ----------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: .98rem;
  letter-spacing: .01em;
  text-decoration: none;
  padding: .72rem 1.35rem;
  border-radius: 2px;
  border: 2px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn--primary { background: var(--crimson); color: #fff; border-color: var(--crimson); }
.btn--primary:hover { background: var(--crimson-deep); border-color: var(--crimson-deep); color: #fff; }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: rgba(0,0,0,.06); color: inherit; }
.band--crimson .btn--ghost:hover,
.band--steel .btn--ghost:hover,
.band--navy .btn--ghost:hover { background: rgba(255,255,255,.16); }
/* These sit inside coloured bands whose `a { color:#fff }` rule would otherwise
   win on specificity and leave white text on a white button. */
.btn--onDark,
.band--crimson a.btn--onDark,
.band--steel a.btn--onDark,
.band--navy a.btn--onDark { background: #fff; color: var(--crimson-deep); border-color: #fff; }
.btn--onDark:hover,
.band--crimson a.btn--onDark:hover,
.band--steel a.btn--onDark:hover,
.band--navy a.btn--onDark:hover { background: var(--parchment); color: var(--crimson-deep); border-color: var(--parchment); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

.textlink {
  font-family: var(--display);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid var(--crimson);
  padding-bottom: 1px;
}
.textlink::after { content: " →"; }

/* --- hero -------------------------------------------------------------- */
.hero {
  --ridge-h: clamp(80px, 13vw, 180px);
  position: relative;
  overflow: hidden;
  background: linear-gradient(178deg, #EAF1F7 0%, #DAE5EF 55%, #C3D3E1 100%);
  /* The bottom padding clears the decorative ridge, so hero text is never
     measured against the dark mountain fills. */
  padding-block: clamp(4rem, 9vw, 7.5rem) calc(var(--ridge-h) + 2.5rem);
}
.hero__ridge {
  position: absolute;
  inset: auto 0 -1px 0;
  width: 100%;
  height: var(--ridge-h);
  display: block;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero h1 { color: var(--crimson-deep); }
.hero .eyebrow { color: var(--crimson-deep); }
.hero .eyebrow::before { background: var(--crimson-deep); }
.hero .tag {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.05rem, 2.3vw, 1.55rem);
  color: #3B4650;
  max-width: 30ch;
}
.hero__note {
  font-size: .9rem;
  color: #45525E;
  border-left: 3px solid var(--crimson);
  padding-left: .85rem;
  max-width: 46ch;
}

.pagehead { padding-block: clamp(2.75rem, 6vw, 4.25rem) clamp(2.5rem, 5vw, 3.75rem); }
.pagehead h1 { color: var(--crimson-deep); }
.band--navy .pagehead h1, .pagehead--dark h1 { color: #fff; }

/* --- breadcrumb -------------------------------------------------------- */
.crumb {
  font-family: var(--display);
  font-size: .82rem;
  letter-spacing: .05em;
  color: var(--slate);
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}
.crumb a { color: var(--slate); text-decoration: none; padding-block: .3rem; display: inline-block; }
.crumb a:hover { color: var(--crimson); }

/* --- cards ------------------------------------------------------------- */
.card {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-top: 3px solid var(--crimson);
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  color: var(--ink);
}
.card--steel { border-top-color: var(--steel); }
.card--leaf  { border-top-color: var(--leaf); }
.card h3 { font-size: 1.2rem; }
.card p { font-size: .96rem; color: var(--text-muted); margin: 0; }
.card .textlink { margin-top: auto; padding-top: .5rem; align-self: flex-start; color: var(--crimson-deep); }
.card--steel .textlink { color: var(--steel-deep); border-bottom-color: var(--steel); }
a.card { text-decoration: none; transition: box-shadow .15s ease, transform .15s ease; }
/* Cards that are links are user interface components: their boundary clears
   3:1 (WCAG 1.4.11) rather than sitting on the decorative hairline. */
a.card, .plan { border-color: var(--edge-ui); }
a.card:hover { box-shadow: 0 10px 28px -18px rgba(22,48,76,.55); transform: translateY(-2px); }

/* --- feature list (hairline rules, not cards) -------------------------- */
.featlist { display: grid; gap: 0; }
.featlist > div {
  display: grid;
  grid-template-columns: 1.7rem 1fr;
  gap: .25rem 1rem;
  padding-block: 1.05rem;
  border-top: 1px solid var(--hairline);
}
.featlist > div:last-child { border-bottom: 1px solid var(--hairline); }
.band--crimson .featlist > div,
.band--steel .featlist > div,
.band--navy .featlist > div { border-color: rgba(255,255,255,.28); }
.featlist dt, .featlist h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.06rem;
  grid-column: 2;
  margin: 0;
}
.featlist dd, .featlist p {
  grid-column: 2;
  margin: 0;
  font-size: .97rem;
  color: var(--text-muted);
}

.featlist .mark {
  grid-row: span 2;
  grid-column: 1;
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
  color: var(--crimson);
  flex: none;
}
.band--crimson .featlist .mark,
.band--steel .featlist .mark,
.band--navy .featlist .mark { color: #fff; }
.featlist .mark svg { width: 18px; height: 18px; }

/* --- numbered sequence (only where order is real) ---------------------- */
.sequence { display: grid; gap: 1.4rem; counter-reset: step; }
.sequence > li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .3rem 1.1rem;
  list-style: none;
  counter-increment: step;
}
.sequence > li::before {
  content: counter(step, decimal-leading-zero);
  grid-row: span 2;
  font-family: var(--mono);
  font-size: .82rem;
  font-weight: 600;
  color: var(--crimson);
  border: 1px solid var(--crimson);
  width: 2.3rem;
  height: 2.3rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.band--crimson .sequence > li::before,
.band--steel .sequence > li::before,
.band--navy .sequence > li::before { color: #fff; border-color: rgba(255,255,255,.8); }
.sequence h3 { font-size: 1.12rem; }
.sequence p { font-size: .97rem; color: var(--text-muted); }


/* --- timeline (real dates) --------------------------------------------- */
.timeline { display: grid; gap: 0; }
.timeline > div {
  display: grid;
  grid-template-columns: minmax(8.5rem, auto) 1fr;
  gap: .3rem 1.5rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--hairline-cool);
}
.timeline > div:last-child { border-bottom: 1px solid var(--hairline-cool); }
.timeline .when {
  font-family: var(--mono);
  font-size: .85rem;
  font-weight: 500;
  color: var(--crimson);
  letter-spacing: -.01em;
  padding-top: .2rem;
}
.timeline .when.is-past { color: var(--slate); }
.timeline h3 { font-size: 1.08rem; }
.timeline p { grid-column: 2; font-size: .96rem; color: var(--text-muted); }
@media (max-width: 620px) {
  .timeline > div { grid-template-columns: 1fr; }
  .timeline p { grid-column: 1; }
}

/* --- tables ------------------------------------------------------------ */
.tablewrap {
  overflow-x: auto;
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--hairline);
  background: var(--paper);
}
table { border-collapse: collapse; width: 100%; font-size: .93rem; min-width: 34rem; }
thead th {
  background: var(--navy);
  color: #fff;
  font-family: var(--display);
  font-weight: 500;
  font-size: .8rem;
  letter-spacing: .09em;
  text-transform: uppercase;
  text-align: left;
  padding: .7rem .9rem;
  white-space: nowrap;
}
tbody td, tbody th {
  border-top: 1px solid var(--hairline);
  padding: .72rem .9rem;
  vertical-align: top;
  text-align: left;
  font-weight: 400;
}
tbody th { font-family: var(--mono); font-size: .84rem; color: var(--navy); white-space: nowrap; }
tbody tr:nth-child(even) { background: #FBFAF8; }
td .req { color: var(--crimson); font-size: .78rem; font-family: var(--display); letter-spacing: .06em; text-transform: uppercase; }

/* --- code -------------------------------------------------------------- */
pre {
  width: 100%;
  max-width: 100%;
  background: var(--navy-deep);
  color: #DCE6F0;
  font-family: var(--mono);
  font-size: .8rem;
  line-height: 1.6;
  padding: 1.1rem 1.2rem;
  overflow-x: auto;
  border-left: 3px solid var(--steel);
}
pre b { color: #F5C46A; font-weight: 500; }
pre i { color: #8FB6D8; font-style: normal; }
code:not(pre code) {
  font-family: var(--mono);
  font-size: .86em;
  background: var(--steel-wash);
  color: var(--navy);
  padding: .1em .35em;
  border-radius: 2px;
}
.band--navy code:not(pre code), .band--steel code:not(pre code), .band--crimson code:not(pre code) {
  background: rgba(255,255,255,.16); color: #fff;
}
.codehead + pre { margin-top: -.75rem; }
.codehead {
  font-family: var(--display);
  font-size: .78rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #fff;
  background: var(--steel-deep);
  padding: .45rem .9rem;
}

/* --- callout ----------------------------------------------------------- */
.callout {
  border-left: 4px solid var(--crimson);
  background: var(--crimson-wash);
  padding: 1.1rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}
.callout h3 { font-size: 1.05rem; color: var(--crimson-deep); }
.callout p { font-size: .95rem; margin: 0; }
.callout--steel { border-left-color: var(--steel); background: var(--steel-wash); }
.callout--steel h3 { color: var(--steel-deep); }
.band--crimson .callout, .band--steel .callout, .band--navy .callout {
  background: rgba(255,255,255,.12);
  border-left-color: #fff;
}
.band--crimson .callout h3, .band--steel .callout h3, .band--navy .callout h3 { color: #fff; }

/* --- plan tiles -------------------------------------------------------- */
.plans { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); align-items: stretch; }
.plan {
  background: var(--paper);
  border: 1px solid var(--hairline);
  padding: 1.7rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.plan--featured { border: 2px solid var(--crimson); box-shadow: 0 16px 36px -26px rgba(195,33,72,.6); }
.plan__name { font-family: var(--display); font-size: 1.35rem; font-weight: 600; }
.plan__for { font-size: .9rem; color: var(--text-muted); margin: 0; min-height: 3.2em; }
.plan__price { font-family: var(--display); font-size: 1.02rem; font-weight: 500; color: var(--crimson-deep); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); padding-block: .7rem; }
.plan ul { list-style: none; padding: 0; display: grid; gap: .55rem; font-size: .93rem; }
.plan li { display: grid; grid-template-columns: 1.1rem 1fr; gap: .6rem; align-items: start; }
.plan li::before { content: "—"; color: var(--crimson); font-family: var(--mono); line-height: 1.5; }
.plan .btn { margin-top: auto; justify-content: center; }
.tag-pill {
  align-self: flex-start;
  font-family: var(--display);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--crimson);
  color: #fff;
  padding: .25rem .6rem;
}

/* --- stat strip -------------------------------------------------------- */
.stats { display: grid; gap: 1.5rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.stat dt { font-family: var(--display); font-size: 1.9rem; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1; }
.stat dd { margin: .4rem 0 0; font-size: .88rem; letter-spacing: .04em; text-transform: uppercase; font-family: var(--display); opacity: .82; }

/* --- FAQ --------------------------------------------------------------- */
.faq { display: grid; gap: 0; }
.faq details { border-top: 1px solid var(--hairline); padding-block: .3rem; }
.faq details:last-of-type { border-bottom: 1px solid var(--hairline); }
.faq summary {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  padding: .95rem 2rem .95rem 0;
  position: relative;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: .2rem;
  top: .85rem;
  font-family: var(--mono);
  color: var(--crimson);
  font-size: 1.3rem;
}
.faq details[open] summary::after { content: "–"; }
.faq details > p, .faq details > ul { font-size: .97rem; color: var(--text-muted); padding-bottom: 1rem; max-width: 66ch; }
.faq details > ul { padding-left: 1.2rem; }

/* --- form -------------------------------------------------------------- */
.form { display: grid; gap: 1.1rem; max-width: 34rem; }
.field { display: grid; gap: .35rem; }
.field label { font-family: var(--display); font-weight: 500; font-size: .92rem; }
.field input, .field select, .field textarea {
  font-family: var(--body);
  font-size: 1rem;
  padding: .65rem .8rem;
  min-height: 2.75rem;
  border: 1px solid var(--edge-ui);
  border-radius: 2px;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field .hint { font-size: .83rem; color: var(--slate); }

/* --- contact rows ------------------------------------------------------ */
.contactlist { display: grid; gap: 0; }
.contactlist > div {
  display: grid;
  grid-template-columns: minmax(8rem, auto) 1fr;
  gap: .25rem 1.5rem;
  padding-block: .95rem;
  border-top: 1px solid var(--hairline);
  align-items: baseline;
}
.contactlist > div:last-child { border-bottom: 1px solid var(--hairline); }
.contactlist dt {
  font-family: var(--display);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--slate);
}
.contactlist dd { margin: 0; font-size: 1.02rem; }

/* --- footer ------------------------------------------------------------ */
.sitefoot { background: var(--navy-deep); color: rgba(255,255,255,.86); font-size: .93rem; }
.sitefoot .wrap { padding-block: clamp(2.5rem, 5vw, 3.5rem) 1.5rem; }
.footgrid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
}
.footgrid > :first-child { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .footgrid { grid-template-columns: minmax(220px, 1.4fr) repeat(auto-fit, minmax(150px, 1fr)); }
  .footgrid > :first-child { grid-column: auto; }
}
.sitefoot h4 {
  font-family: var(--display);
  font-size: .76rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: .8rem;
}
.sitefoot ul { list-style: none; padding: 0; display: grid; gap: .45rem; }
.sitefoot a { color: rgba(255,255,255,.86); text-decoration: none; padding-block: .2rem; display: inline-block; }
.sitefoot a:hover { color: #fff; text-decoration: underline; }
.sitefoot .brand b { color: #fff; }
.sitefoot .brand span { color: rgba(255,255,255,.6); }
/* The mark carries navy and charcoal facets that vanish on the dark ground,
   so it sits on its own light plate in the footer. */
.sitefoot .brand img.brandmark {
  background: var(--paper);
  padding: 6px 7px;
  border-radius: 3px;
  width: 54px;
}
.footrule {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.16);
  display: flex;
  flex-wrap: wrap;
  gap: .6rem 1.5rem;
  font-size: .84rem;
  color: rgba(255,255,255,.72);
}
.footrule p { margin: 0; }

/* --- misc -------------------------------------------------------------- */
.skip {
  position: absolute;
  left: -9999px;
  background: var(--crimson);
  color: #fff;
  padding: .6rem 1rem;
  z-index: 100;
}
.skip:focus { left: 1rem; top: .5rem; }
hr.rule { border: 0; border-top: 1px solid var(--hairline); margin-block: 2rem; }
/* --- partner lockup (OnixMaster) --------------------------------------- */
.lockup {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  flex-wrap: wrap;
}
.lockup img { display: block; }
.lockup .brandmark { width: 54px; height: auto; }
.lockup .partnermark { width: clamp(150px, 26vw, 210px); height: auto; }
.lockup .joiner {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--slate);
  line-height: 1;
}
.partner-inline {
  width: clamp(130px, 22vw, 180px);
  height: auto;
  display: block;
}

/* Sticky masthead would otherwise cover an anchored heading. */
[id] { scroll-margin-top: 7rem; }
.yes  { color: #3F7F1F; font-weight: 600; }
.part { color: var(--steel-deep); font-weight: 600; }
.no   { color: var(--slate); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill {
  font-family: var(--mono);
  font-size: .78rem;
  border: 1px solid var(--hairline-cool);
  color: var(--navy);
  background: #fff;
  padding: .3rem .65rem;
  border-radius: 999px;
}
.band--navy .pill, .band--steel .pill, .band--crimson .pill {
  background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.3);
}

/* Hero sub-line: part of the H1 so the primary keyword sits in the page's
   top-level heading, styled as the italic tagline the old site used. */
.hero__sub {
  display: block;
  margin-top: .85rem;
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.05rem, 2.3vw, 1.55rem);
  line-height: 1.3;
  letter-spacing: 0;
  color: #3B4650;
  max-width: 30ch;
}

/* --- accessibility badge ------------------------------------------------ */
.a11y-badge {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  color: rgba(255, 255, 255, .86);
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 4px;
  padding: .7rem 1rem;
  background: rgba(255, 255, 255, .06);
}
.a11y-badge:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.a11y-badge svg { width: 34px; height: 34px; flex: none; }
.a11y-badge b {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: .98rem;
  color: #fff;
  line-height: 1.2;
}
.a11y-badge span {
  display: block;
  font-size: .8rem;
  letter-spacing: .04em;
  color: rgba(255, 255, 255, .8);
}

/* Statement page: conformance table reads as data, not decoration. */
.conformance td.met { color: #2F6B12; font-weight: 600; }

/* Footer column headings are h2 inside the contentinfo landmark, so the
   heading order never skips a level — they keep their small-caps look. */
.sitefoot .foot-h {
  font-family: var(--display);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 .8rem;
}

/* Nothing may push the page sideways: only these three scroll on their own. */
.grid > *, .split > *, .plans > * { min-width: 0; }
.stack > * { max-width: 100%; }

/* Contact rows: the label + value pair needs more than 320px once the page
   gutter is off, so it stacks on very narrow screens, and long unbroken
   strings (emails, CIN, GSTIN) are allowed to wrap. */
.contactlist dt, .contactlist dd { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .contactlist > div { grid-template-columns: 1fr; gap: .2rem; }
}
