/* IndaPoint shared styles — generated from index.html; edit here, not in pages */

:root {
  color-scheme: dark;
  --ink: #F5F5F5;
  --ink-2: #D4D4D4;
  --graphite: #9A9A9A;
  --chalk: #0A0A0A;
  --chalk-2: #121212;
  --sage: #171717;
  --line: #262626;
  --orange: #FF5A1F;
  --orange-ink: #FFF3EC;
  --white: #161616;
  --on-ink: #2A2A2A;
  --on-ink-2: #5C5C5C;
  --sc-ground: #111111;
  --sc-grid: #262626;
  --sc-tile: #2B2B2B;
  --sc-edge: #8A8A8A;
  --sc-doc: #B4B4B4;
  --sc-hub: #F5F5F5;
  --sc-done: #FFFFFF;
  --display: "Unbounded", "Arial Black", Impact, sans-serif;
  --body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(18px, 4vw, 48px);
}

:root[data-theme="light"] {
  color-scheme: light;
  --ink: #1C1F26;
  --ink-2: #33373F;
  --graphite: #666B75;
  --chalk: #F3F2EE;
  --chalk-2: #EAE8E2;
  --sage: #E4E1D6;
  --line: #D2CFC6;
  --orange: #E39B00;
  --orange-ink: #1C1F26;
  --white: #FFFFFF;
  --on-ink: #DCDDE2;
  --on-ink-2: #A8ABB4;
  --sc-ground: #E4E1D7;
  --sc-grid: #CFCBBF;
  --sc-tile: #FFFFFF;
  --sc-edge: #6F6B63;
  --sc-doc: #7D7971;
  --sc-hub: #1C1F26;
  --sc-done: #1C1F26;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--chalk);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -.01em
}

h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.4rem)
}

h3 {
  font-size: 1.05rem;
  font-weight: 500
}

p {
  margin: 0
}

a {
  color: inherit
}

button {
  font: inherit
}

.mono {
  font-family: var(--mono);
  font-size: .74rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--graphite)
}

.wrap {
  padding-inline: var(--gutter);
  max-width: 1240px;
  margin-inline: auto
}

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

/* header */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--chalk) 86%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line)
}

header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  gap: 16px
}

.logo {
  font-family: var(--display);
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: .04em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px
}

.logo i {
  width: 12px;
  height: 12px;
  background: var(--orange);
  border-radius: 2px;
  transform: rotate(45deg);
  display: inline-block
}

nav.main ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: .95rem;
  font-weight: 500
}

nav.main a {
  text-decoration: none;
  color: var(--ink-2)
}

nav.main a:hover {
  color: var(--orange)
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 1.5px solid var(--ink);
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: transform .15s, background .15s, color .15s
}

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

.btn.fill {
  background: var(--ink);
  color: var(--chalk)
}

.btn.fill:hover {
  background: var(--orange);
  border-color: var(--orange)
}

.btn.orange {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--orange-ink)
}

.btn.sm {
  padding: 9px 14px;
  font-size: .88rem
}

.menu-btn {
  display: none;
  border: 1.5px solid var(--ink);
  background: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 600;
  cursor: pointer
}

.sheet {
  display: none;
  position: fixed;
  inset: 70px 0 0 0;
  background: var(--chalk);
  z-index: 19;
  padding: 24px var(--gutter)
}

.sheet.open {
  display: block
}

.sheet a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.1rem;
  text-decoration: none
}

/* trust */
.trust {
  border-bottom: 1px solid var(--line)
}

.trust .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  align-items: center;
  padding-block: 16px
}

.trust span {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--graphite)
}

.trust span b {
  color: var(--ink);
  font-weight: 500
}

/* sections */
section.s {
  padding-block: clamp(56px, 8vw, 104px)
}

section.s+section.s {
  border-top: 1px solid var(--line)
}

.s-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 40px;
  align-items: end;
  margin-bottom: clamp(28px, 4vw, 44px)
}

.s-head p {
  color: var(--graphite);
  max-width: 44ch
}

.s.tint {
  background: var(--chalk-2)
}

/* disclosures */
details {
  border-top: 1px solid var(--line)
}

details:last-of-type {
  border-bottom: 1px solid var(--line)
}

summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  font-weight: 500;
  font-size: 1.02rem
}

summary::-webkit-details-marker {
  display: none
}

summary .plus {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: grid;
  place-items: center;
  position: relative;
  transition: transform .25s, background .2s
}

summary .plus::before,
summary .plus::after {
  content: "";
  position: absolute;
  background: var(--ink);
  width: 11px;
  height: 1.5px;
  transition: background .2s
}

summary .plus::after {
  transform: rotate(90deg)
}

details[open] summary .plus {
  transform: rotate(45deg);
  background: var(--orange);
  border-color: var(--orange)
}

details[open] summary .plus::before,
details[open] summary .plus::after {
  background: var(--orange-ink)
}

details .body {
  padding: 0 0 22px;
  color: var(--ink-2);
  max-width: 66ch;
  display: grid;
  gap: 10px;
  font-size: .98rem
}

details .body ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px
}

.disc-col {
  display: grid;
  gap: 0
}

/* tracks */
.tracks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px
}

.track .free {
  display: inline-block;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid var(--orange);
  padding: 4px 9px;
  border-radius: 999px;
  width: max-content
}

.track h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem)
}

.track {
  border-radius: 18px;
  padding: 26px;
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 280px;
  position: relative;
  overflow: hidden
}

.track.a {
  background: var(--white);
  border: 1px solid var(--line)
}

.track.b {
  background: var(--ink);
  color: var(--chalk)
}

.track .k {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--graphite)
}

.track.b .k {
  color: var(--on-ink-2)
}

.track h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.6rem)
}

.track p {
  max-width: 34ch;
  color: var(--ink-2)
}

.track.b p {
  color: var(--on-ink)
}

.track .steps {
  display: flex;
  flex-wrap: wrap;
  gap: 6px
}

.track .steps span {
  font-size: .8rem;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line)
}

.track.b .steps span {
  border-color: rgba(255, 255, 255, .2)
}

.track .steps span.g {
  border-color: var(--orange);
  color: var(--orange)
}

.track details {
  border: 0;
  margin-top: auto
}

.track details summary {
  padding: 12px 0 0;
  font-size: .92rem
}

.track.b details summary .plus {
  border-color: var(--chalk)
}

.track.b details summary .plus::before,
.track.b details summary .plus::after {
  background: var(--chalk)
}

.track details .body {
  padding-top: 12px;
  font-size: .92rem
}

.track.b details .body {
  color: var(--on-ink)
}

/* industries */
.inds {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px
}

.ind {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: grid;
  gap: 8px;
  align-content: start;
  text-decoration: none;
  color: inherit
}

.ind svg {
  width: 30px;
  height: 30px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round
}

.ind .n {
  font-family: var(--display);
  font-weight: 500;
  font-size: .95rem
}

.ind .p {
  font-size: .86rem;
  color: var(--graphite)
}

.ind .m {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-top: 1px solid var(--line);
  padding-top: 8px;
  margin-top: 2px
}

@media (max-width:900px) {
  .inds {
    grid-template-columns: 1fr 1fr
  }

  .tracks {
    grid-template-columns: 1fr
  }
}

/* final */
.final {
  background: var(--ink);
  color: var(--chalk)
}

.final .wrap {
  padding-block: clamp(64px, 9vw, 120px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center
}

.final h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem)
}

.final p {
  color: var(--on-ink);
  margin-top: 14px;
  max-width: 38ch
}

.final form {
  display: grid;
  gap: 10px
}

.final textarea,
.final input {
  width: 100%;
  font: inherit;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .06);
  color: var(--chalk)
}

.final textarea {
  min-height: 110px;
  resize: vertical
}

.final ::placeholder {
  color: var(--on-ink-2)
}

.final .done {
  display: none;
  padding: 18px;
  border: 1px solid var(--orange);
  border-radius: 12px
}

.final form.sent .done {
  display: block
}

.final form.sent .fields {
  display: none
}

.final .fine {
  font-size: .82rem;
  color: var(--on-ink-2)
}


@media (max-width:900px) {
  nav.main {
    display: none
  }

  .menu-btn {
    display: inline-block
  }

  header .btn {
    display: none
  }

  .scene .lbl.src,
  .scene .lbl.out {
    display: none !important
  }

  .hero .wrap {
    grid-template-columns: 1fr;
    min-height: 0
  }

  .hero-copy {
    padding-block: 40px 8px;
    max-width: none
  }

  .scene {
    min-height: min(88vw, 460px);
    height: min(88vw, 460px)
  }

  .readiness {
    grid-template-columns: auto 1fr;
    padding-top: 14px
  }

  .readiness .hint {
    display: none
  }

  .dept-panel {
    grid-template-columns: 1fr;
    padding: 20px
  }

  .tracks {
    grid-template-columns: 1fr
  }

  .frame {
    grid-template-columns: 1fr
  }

  .q-grid {
    grid-template-columns: 1fr
  }

  .q-grid .lead {
    position: static
  }

  .final .wrap {
    grid-template-columns: 1fr
  }

  .s-head {
    grid-template-columns: 1fr
  }
}

@media (prefers-reduced-motion:reduce) {
  .ring .arc.on {
    transition: none
  }

  .btn:hover {
    transform: none
  }
}


/* theme toggle */
.tt {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  flex: none
}

.tt:hover {
  border-color: var(--orange);
  color: var(--orange)
}

.tt svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round
}

.tt .sun {
  display: none
}

:root[data-theme="light"] .tt .sun {
  display: block
}

:root[data-theme="light"] .tt .moon {
  display: none
}

body {
  transition: background .25s, color .25s
}

/* logo placeholders */
.trust .logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center
}

.logo-ph {
  height: 34px;
  min-width: 96px;
  padding: 0 12px;
  border: 1.5px dashed var(--line);
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--graphite)
}

.logo-ph img {
  height: 22px;
  width: auto;
  display: block
}

/* trust concerns band */
.concerns {
  background: var(--ink);
  color: var(--chalk);
  position: relative;
  overflow: hidden
}

.concerns .wrap {
  padding-block: clamp(48px, 7vw, 84px)
}

.concerns h2 {
  color: var(--chalk);
  max-width: 18ch
}

.concerns .rule {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 34px 0 22px
}

.lane {
  border-radius: 16px;
  padding: 20px;
  display: grid;
  gap: 8px;
  border: 1px solid var(--on-ink-2)
}

.lane.local {
  background: var(--chalk);
  color: var(--ink);
  border-color: transparent;
  box-shadow: inset 4px 0 0 var(--orange)
}

.lane.local p {
  color: var(--ink-2)
}

.lane.local .k {
  color: var(--orange);
  opacity: 1
}

.lane .k {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .8
}

.lane h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem
}

.lane p {
  font-size: .92rem;
  opacity: .9
}

.lane.cloud p {
  color: var(--on-ink)
}

.lane .logos {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 4px
}

.lane .logos span {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: 1px dashed var(--on-ink-2);
  color: var(--on-ink);
  padding: 4px 8px;
  border-radius: 6px
}

.four {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--on-ink-2)
}

.four details {
  border: 0;
  border-right: 1px solid var(--on-ink-2);
  padding: 0 16px
}

.four details:last-child {
  border-right: 0
}

.four summary {
  color: var(--chalk);
  padding: 16px 0 14px;
  font-family: var(--display);
  font-weight: 500;
  font-size: .95rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center
}

.four summary svg {
  width: 22px;
  height: 22px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round
}

.four summary .plus {
  border-color: var(--chalk)
}

.four summary .plus::before,
.four summary .plus::after {
  background: var(--chalk)
}

.four details .body {
  color: var(--on-ink);
  font-size: .9rem;
  padding-bottom: 18px
}

.four details .body ul {
  padding-left: 16px
}

@media (max-width:900px) {
  .concerns .rule {
    grid-template-columns: 1fr
  }

  .four {
    grid-template-columns: 1fr
  }

  .four details {
    border-right: 0;
    border-bottom: 1px solid var(--on-ink-2);
    padding: 0
  }

  .four details:last-child {
    border-bottom: 0
  }
}

/* page hero (inner pages) */
.phero {
  padding-block: clamp(48px, 7vw, 88px) clamp(28px, 4vw, 48px)
}

.phero .crumbs {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--graphite);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px
}

.phero .crumbs a {
  text-decoration: none;
  color: var(--graphite)
}

.phero h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  letter-spacing: -.02em;
  line-height: 1.05;
  max-width: 18ch
}

.phero h1 em {
  font-style: normal;
  color: var(--orange)
}

.phero .lede {
  margin-top: 18px;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  color: var(--ink-2);
  max-width: 56ch
}

.phero .ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px
}

.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px
}

.stat {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  min-width: 140px;
  background: var(--white)
}

.stat b {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.4rem;
  display: block;
  color: var(--orange);
  line-height: 1
}

.stat span {
  font-size: .8rem;
  color: var(--graphite)
}

/* generic grids & cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px
}

.cardx {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
  display: grid;
  gap: 8px;
  align-content: start;
  text-decoration: none;
  color: inherit;
  transition: transform .15s, border-color .15s
}

a.cardx:hover {
  transform: translateY(-2px);
  border-color: var(--ink)
}

.cardx .k {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange)
}

.cardx h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1rem
}

.cardx p {
  font-size: .92rem;
  color: var(--graphite)
}

.cardx .m {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-top: 1px solid var(--line);
  padding-top: 8px
}

.steps-list {
  counter-reset: s;
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0
}

.steps-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line)
}

.steps-list li:last-child {
  border-bottom: 1px solid var(--line)
}

.steps-list .n {
  font-family: var(--display);
  font-weight: 700;
  color: var(--orange);
  font-size: 1.2rem;
  line-height: 1
}

.steps-list h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.02rem;
  margin-bottom: 4px
}

.steps-list p {
  color: var(--ink-2);
  font-size: .95rem
}

.two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px
}

.chips span {
  font-size: .8rem;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid var(--line)
}

.prose {
  max-width: 64ch;
  color: var(--ink-2);
  display: grid;
  gap: 12px;
  font-size: 1rem
}

.prose h3 {
  font-family: var(--display);
  font-weight: 500;
  color: var(--ink);
  font-size: 1.1rem;
  margin-top: 8px
}

.prose ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px
}

/* contact */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 36px;
  align-items: start
}

.contact form {
  display: grid;
  gap: 10px
}

.contact label {
  display: grid;
  gap: 6px;
  font-size: .85rem;
  color: var(--graphite)
}

.contact input,
.contact select,
.contact textarea {
  width: 100%;
  font: inherit;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink)
}

.contact textarea {
  min-height: 130px;
  resize: vertical
}

.contact .done {
  display: none;
  padding: 18px;
  border: 1px solid var(--orange);
  border-radius: 12px;
  color: var(--ink-2)
}

.contact form.sent .done {
  display: block
}

.contact form.sent .fields {
  display: none
}

.offices {
  display: grid;
  gap: 12px
}

.office {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  background: var(--white);
  display: grid;
  gap: 4px
}

.office .k {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange)
}

.office p {
  font-size: .92rem;
  color: var(--ink-2)
}

.office a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500
}

.quick {
  display: flex;
  flex-wrap: wrap;
  gap: 10px
}

/* cta band */
.cta-band {
  background: var(--ink);
  color: var(--chalk)
}

.cta-band .wrap {
  padding-block: clamp(48px, 7vw, 84px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 24px;
  align-items: center
}

.cta-band h2 {
  color: var(--chalk)
}

.cta-band p {
  color: var(--on-ink);
  margin-top: 10px;
  max-width: 46ch
}

.cta-band .btn.orange {
  background: var(--orange);
  color: var(--orange-ink)
}

@media (max-width:900px) {

  .two,
  .contact,
  .cta-band .wrap {
    grid-template-columns: 1fr
  }
}

/* thumbnail cards */
.tcard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: grid;
  grid-template-rows: auto 1fr;
  transition: transform .15s, border-color .15s
}

.tcard:hover {
  transform: translateY(-2px);
  border-color: var(--ink)
}

.thumb {
  /* aspect-ratio: 16/10; */
  /* background: var(--chalk-2); */
  position: relative;
  overflow: hidden
}

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

.thumb svg.ico {
  position: absolute;
  left: 12px;
  bottom: 12px;
  width: 30px;
  height: 30px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  background: var(--white);
  border-radius: 8px;
  padding: 5px;
  box-sizing: content-box
}

.thumb .ph {
  display: none;
  position: absolute;
  inset: 0;
  place-items: center;
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--graphite);
  text-align: center;
  padding: 12px;
  border: 1.5px dashed var(--line);
  margin: 10px;
  border-radius: 10px
}

.thumb.empty .ph {
  display: grid
}

.tbody {
  padding: 16px 18px 18px;
  display: grid;
  gap: 6px;
  align-content: start
}

.tbody .k {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange)
}

.tbody h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1rem
}

.tbody p {
  font-size: .9rem;
  color: var(--graphite)
}

.tbody .m {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-2);
  border-top: 1px solid var(--line);
  padding-top: 8px;
  margin-top: 2px
}

/* screenshots */
.shots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px
}

.shot-f {
  margin: 0;
  background: var(--white);
  /* border: 1px solid var(--line); */
  border-radius: 14px;
  overflow: hidden;
  /* display: grid; */
  grid-template-rows: auto auto
}

.shot-f img {
  width: 100%;
  height: 100%;
  /* aspect-ratio: 16/10; */
  object-fit: cover;
}

.shot-f figcaption {
  padding: 10px 14px;
  font-size: .85rem;
  color: var(--graphite)
}

.shot-f.empty {
  /* aspect-ratio: 16/10; */
  /* display: grid; */
  /* place-items: center */
}

.shot-f.empty .ph {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--graphite);
  border: 1.5px dashed var(--line);
  padding: 14px 18px;
  border-radius: 10px
}

/* tech stack */
.stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px
}

.stk {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  display: grid;
  gap: 10px;
  align-content: start
}

.stk .k {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange)
}

/* four-way tints: subtle, theme-safe (mixed into the surface colour) */
.track.t1 {
  background: color-mix(in srgb, var(--white) 86%, #FF5A1F);
  border: 1px solid color-mix(in srgb, var(--line) 70%, #FF5A1F)
}

.track.t2 {
  background: color-mix(in srgb, var(--white) 88%, #2FB8C6);
  border: 1px solid color-mix(in srgb, var(--line) 70%, #2FB8C6)
}

.track.t3 {
  background: color-mix(in srgb, var(--white) 88%, #8B6CF6);
  border: 1px solid color-mix(in srgb, var(--line) 70%, #8B6CF6)
}

.track.t4 {
  background: color-mix(in srgb, var(--white) 88%, #3CB371);
  border: 1px solid color-mix(in srgb, var(--line) 70%, #3CB371)
}

.track.t1,
.track.t2,
.track.t3,
.track.t4 {
  color: var(--ink)
}

.track.t1 p,
.track.t2 p,
.track.t3 p,
.track.t4 p {
  color: var(--ink-2)
}

.track.t1 .k,
.track.t2 .k,
.track.t3 .k,
.track.t4 .k {
  color: var(--graphite)
}

.track.t1 .steps span,
.track.t2 .steps span,
.track.t3 .steps span,
.track.t4 .steps span {
  border-color: color-mix(in srgb, var(--line) 60%, transparent)
}

.track.t1 .btn.sm,
.track.t2 .btn.sm,
.track.t3 .btn.sm,
.track.t4 .btn.sm {
  border-color: var(--ink);
  color: var(--ink)
}

.track.t1 details .body,
.track.t2 details .body,
.track.t3 details .body,
.track.t4 details .body {
  color: var(--ink-2)
}

.track.t1 summary .plus,
.track.t2 summary .plus,
.track.t3 summary .plus,
.track.t4 summary .plus {
  border-color: var(--ink)
}

.track.t1 summary .plus::before,
.track.t1 summary .plus::after,
.track.t2 summary .plus::before,
.track.t2 summary .plus::after,
.track.t3 summary .plus::before,
.track.t3 summary .plus::after,
.track.t4 summary .plus::before,
.track.t4 summary .plus::after {
  background: var(--ink)
}

/* two-column section headers: single column inside a half */
.two .s-head {
  grid-template-columns: 1fr
}

/* cautions checklist */
.checks {
  list-style: none;
  margin: 0 0 6px;
  padding: 0;
  display: grid;
  gap: 0
}

.checks li {
  position: relative;
  padding: 14px 0 14px 32px;
  border-top: 1px solid var(--line);
  font-size: .98rem;
  color: var(--ink)
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange)
}

.checks li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 24px;
  width: 6px;
  height: 3px;
  border-left: 2px solid var(--orange-ink);
  border-bottom: 2px solid var(--orange-ink);
  transform: rotate(-45deg)
}

/* dropdown menus */
nav.main li {
  position: relative
}

nav.main .has-sub>a {
  display: inline-flex;
  align-items: center;
  gap: 5px
}

nav.main .has-sub>a svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round
}

nav.main .sub {
  position: absolute;
  top: 100%;
  left: -12px;
  margin: 0;
  padding: 8px;
  list-style: none;
  display: none;
  flex-direction: column;
  gap: 0;
  min-width: 230px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .35);
  z-index: 30
}

nav.main .sub::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px
}

nav.main .sub a {
  display: block;
  padding: 9px 12px;
  border-radius: 8px;
  font-size: .9rem;
  color: var(--ink)
}

nav.main .sub a:hover {
  background: var(--chalk-2);
  color: var(--orange)
}

nav.main .has-sub:hover .sub,
nav.main .has-sub:focus-within .sub {
  display: flex
}

.sheet .sub-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
  padding: 4px 0 8px 16px;
  border-bottom: 1px solid var(--line)
}

.sheet .sub-links a {
  border: 0;
  font-family: var(--body);
  font-weight: 400;
  font-size: .95rem;
  padding: 8px 0;
  color: var(--ink-2)
}

/* image placeholders */
.imgph {
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  overflow: hidden;
}

.imgph img {
  width: 100%;
}

.cardx .imgph {
  margin-bottom: 6px
}

/* footer */
footer {
  background: var(--chalk-2);
  color: var(--ink-2);
  font-size: .9rem;
  border-top: 1px solid var(--line)
}

footer .fgrid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 32px;
  padding-block: 48px 28px
}

footer .fcol {
  display: grid;
  gap: 8px;
  align-content: start
}

footer .fcol .k {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 4px
}

footer .fcol a {
  color: var(--ink);
  text-decoration: none
}

footer .fcol a:hover {
  color: var(--orange)
}

footer .brand p {
  max-width: 34ch;
  color: var(--graphite);
  font-size: .9rem
}

footer .brand .logo {
  margin-bottom: 6px
}

footer .socials {
  display: flex;
  gap: 8px;
  margin-top: 8px
}

footer .soc {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  background: var(--white)
}

footer .soc svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
  stroke-linecap: round
}

footer .soc:hover {
  border-color: var(--orange);
  color: var(--orange)
}

footer .fo {
  display: grid;
  gap: 2px;
  margin-bottom: 8px
}

footer .fo p {
  font-size: .85rem;
  color: var(--graphite)
}

footer .fbottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  padding-block: 16px 22px;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  color: var(--graphite)
}

footer .fbottom a {
  color: var(--ink-2);
  text-decoration: none
}

footer .fbottom a:hover {
  color: var(--orange)
}

@media (max-width:900px) {
  footer .fgrid {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width:520px) {
  footer .fgrid {
    grid-template-columns: 1fr
  }
}

/* legal prose */
.prose.legal {
  max-width: 72ch
}

.prose.legal h3 {
  margin-top: 18px
}

/* case-study cards */
.tcard.cs .thumb {
  display: block
}

.cs-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px
}

/* download gate */
.dl-gate {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, .6);
  display: grid;
  place-items: center;
  padding: 20px;
  backdrop-filter: blur(4px)
}

.dl-gate[hidden] {
  display: none
}

.gate-card {
  position: relative;
  width: min(460px, 100%);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  display: grid;
  gap: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4)
}

.gate-card h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.15rem
}

.gate-card form {
  display: grid;
  gap: 10px
}

.gate-card label {
  display: grid;
  gap: 6px;
  font-size: .85rem;
  color: var(--graphite)
}

.gate-card input {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--chalk);
  color: var(--ink)
}

.gate-card .fine {
  font-size: .78rem;
  color: var(--graphite)
}

.gate-x {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--graphite)
}

/* cookie notice: compact, bottom-left, never blocks the page */
.cookie {
  position: fixed;
  left: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  max-width: 360px;
  background: var(--white);
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  display: grid;
  gap: 10px;
  font-size: .82rem;
  line-height: 1.45;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  animation: ckin .3s ease both
}

.cookie a {
  color: var(--ink)
}

.cookie-b {
  display: flex;
  gap: 8px;
  justify-content: flex-end
}

.cookie button {
  font: inherit;
  font-size: .8rem;
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink)
}

.cookie .ck-yes {
  background: var(--ink);
  color: var(--chalk);
  border-color: var(--ink)
}

.cookie.out {
  opacity: 0;
  transform: translateY(8px);
  transition: all .25s
}

@keyframes ckin {
  from {
    opacity: 0;
    transform: translateY(8px)
  }
}

@media (max-width:520px) {
  .cookie {
    left: 12px;
    right: 12px;
    max-width: none
  }
}

@media (prefers-reduced-motion:reduce) {
  .cookie {
    animation: none
  }
}

.form-err {
  color: var(--orange);
  font-size: .85rem
}

/* AI Readiness Score */
.rs {
  max-width: 860px
}

.rs-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(20px, 4vw, 34px);
  display: grid;
  gap: 14px
}

.rs-card h2 {
  font-size: clamp(1.3rem, 2.6vw, 1.8rem)
}

.rs-intro p:not(.mono) {
  color: var(--ink-2);
  max-width: 56ch
}

.rs-intro .btn {
  width: max-content
}

.rs-top {
  display: grid;
  gap: 10px
}

.rs-rail {
  height: 4px;
  border-radius: 2px;
  background: var(--line);
  overflow: hidden
}

.rs-rail i {
  display: block;
  height: 100%;
  background: var(--orange);
  border-radius: 2px;
  transition: width .3s
}

.rs-q {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px
}

.rs-q legend {
  padding: 0;
  margin-bottom: 10px
}

.rs-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color .15s, background .15s
}

.rs-opt:hover {
  border-color: var(--ink)
}

.rs-opt.on,
.rs-opt:has(input:checked) {
  border-color: var(--orange);
  background: color-mix(in srgb, var(--white) 90%, var(--orange))
}

.rs-opt input {
  accent-color: var(--orange);
  width: 18px;
  height: 18px;
  flex: none
}

.rs-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px
}

.rs-nav .btn[disabled] {
  opacity: .35;
  cursor: default
}

.rs-result {
  display: grid;
  gap: 14px
}

.rs-hero {
  display: flex;
  align-items: baseline;
  gap: 6px
}

.rs-hero b {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3.2rem, 9vw, 5rem);
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums
}

.rs-hero span {
  font-family: var(--mono);
  color: var(--graphite)
}

.rs-score>p:not(.mono) {
  color: var(--ink-2);
  max-width: 60ch
}

.rs-bars {
  display: grid;
  gap: 10px;
  margin: 6px 0 4px
}

.rs-bar {
  display: grid;
  grid-template-columns: 110px 1fr 40px;
  align-items: center;
  gap: 12px
}

.rs-l {
  font-size: .9rem;
  color: var(--ink-2)
}

.rs-t {
  height: 10px;
  border-radius: 5px;
  background: var(--line);
  overflow: hidden
}

.rs-t i {
  display: block;
  height: 100%;
  background: var(--orange);
  border-radius: 5px;
  transition: width .6s ease
}

.rs-v {
  font-family: var(--mono);
  font-size: .85rem;
  color: var(--ink);
  text-align: right;
  font-variant-numeric: tabular-nums
}

.rs-score .btn {
  width: max-content
}

.rs-get form {
  display: grid;
  gap: 10px
}

.rs-get label {
  display: grid;
  gap: 6px;
  font-size: .85rem;
  color: var(--graphite)
}

.rs-get input {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--chalk);
  color: var(--ink)
}

.rs-get .done {
  display: none;
  padding: 16px;
  border: 1px solid var(--orange);
  border-radius: 12px;
  color: var(--ink-2)
}

.rs-get form.sent .done {
  display: block
}

.rs-get form.sent .fields {
  display: none
}

@media (max-width:520px) {
  .rs-bar {
    grid-template-columns: 90px 1fr 34px
  }
}

/* partner badges: white tiles so every badge reads in both themes */
.ptile {
  display: inline-grid;
  place-items: center;
  height: 48px;
  min-width: 72px;
  padding: 6px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  flex: none
}

.ptile img {
  max-height: 100%;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block
}

.ptile.sm {
  height: 40px;
  min-width: 56px;
  padding: 5px 8px
}

.ptile.sm img {
  max-width: 100px
}

.ptile.lg {
  height: 84px;
  width: 100%;
  padding: 10px
}

.ptile.lg img {
  max-width: 100%
}

.ptile.iso {
  background: transparent;
  border-style: dashed;
  color: var(--graphite);
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .06em;
  text-transform: uppercase
}

.logos.ptiles {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px
}

.pgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 12px;
  margin-top: 6px
}

.pcell {
  margin: 0;
  display: grid;
  gap: 6px
}

.pcell figcaption {
  font-size: .78rem;
  color: var(--graphite);
  line-height: 1.35
}

.trust .logos .ptile,
.logos .ptile,
span.ptile {
  display: inline-grid;
  height: 48px;
  padding: 6px 10px;
  letter-spacing: 0;
  text-transform: none;
  font-size: inherit
}

.trust .logos .ptile img,
span.ptile img {
  height: auto;
  max-height: 36px;
  max-width: 120px
}

.trust .logos .ptile.sm,
span.ptile.sm {
  height: 40px
}

.trust .logos .ptile.sm img,
span.ptile.sm img {
  max-height: 28px;
  max-width: 96px
}

span.ptile.lg {
  height: 84px
}

span.ptile.lg img {
  max-height: 64px;
  max-width: 100%
}

span.ptile.iso {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .06em;
  text-transform: uppercase
}

.trust .logos .ptile,
span.ptile {
  height: 56px;
  padding: 6px 12px
}

.trust .logos .ptile img,
span.ptile img {
  max-height: 44px;
  max-width: 130px
}

/* homepage partner strip: taller tiles so every badge is legible */
.trust .wrap {
  padding-block: 20px
}

.trust .logos.pstrip {
  gap: 10px
}

.trust .logos.pstrip .ptile {
  height: 76px;
  min-width: 96px;
  padding: 8px 14px
}

.trust .logos.pstrip .ptile img {
  max-height: 60px;
  max-width: 150px
}

.trust .logos.pstrip .ptile.iso {
  height: 76px
}

@media (max-width:520px) {
  .trust .logos.pstrip .ptile {
    height: 64px;
    min-width: 80px
  }

  .trust .logos.pstrip .ptile img {
    max-height: 48px;
    max-width: 120px
  }
}

/* technology pages */
.cards.two-up {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr))
}

.ex-list {
  display: grid;
  gap: 12px
}

.ex-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px
}

.ex-row .k {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange)
}

.ex-row h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.05rem;
  margin: 4px 0
}

.ex-row p {
  color: var(--ink-2);
  font-size: .95rem;
  max-width: 70ch
}

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

.chipl {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font-size: .9rem
}

.chipl:hover {
  border-color: var(--orange);
  color: var(--orange)
}

@media (max-width:640px) {
  .ex-row {
    grid-template-columns: 1fr
  }
}

/* tech stack showcase */
.stack-show {
  display: grid;
  gap: 22px
}

.sg {
  display: grid;
  gap: 10px
}

.sg>.k {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange)
}

.sg-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px
}

.si {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px
}

.si .mono-i {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--white) 82%, var(--orange));
  color: var(--orange);
  font-family: var(--display);
  font-weight: 700;
  font-size: .95rem
}

.si h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: .98rem;
  margin-bottom: 3px
}

.si p {
  font-size: .88rem;
  color: var(--graphite)
}

/* delivery phases */
.phases-l {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  counter-reset: p
}

.phases-l li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: grid;
  gap: 10px;
  align-content: start;
  position: relative
}

.phases-l .pn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--orange-ink);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700
}

.phases-l h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 4px
}

.phases-l p {
  font-size: .9rem;
  color: var(--ink-2);
  margin-bottom: 6px
}

@media (max-width:900px) {
  .phases-l {
    grid-template-columns: 1fr 1fr
  }
}

@media (max-width:520px) {
  .phases-l {
    grid-template-columns: 1fr
  }
}

/* offers row */
.offers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px
}

.offer {
  border-radius: 14px;
  padding: 18px;
  display: grid;
  gap: 6px;
  align-content: start;
  background: color-mix(in srgb, var(--white) 86%, var(--orange));
  border: 1px solid color-mix(in srgb, var(--line) 60%, var(--orange))
}

.offer .k {
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--orange)
}

.offer h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem
}

.offer p {
  font-size: .9rem;
  color: var(--ink-2)
}

.inds a.ind {
  transition: transform .15s, border-color .15s
}

.inds a.ind:hover {
  transform: translateY(-2px);
  border-color: var(--ink)
}

@media (max-width:900px) {
  .offers {
    grid-template-columns: 1fr
  }
}

/* ebook card */
.ebook {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(20px, 4vw, 36px)
}

.eb-cover {
  aspect-ratio: 3/4;
  border-radius: 12px;
  background: linear-gradient(160deg, var(--orange), color-mix(in srgb, var(--orange) 45%, #000));
  color: #fff;
  padding: 26px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
  max-width: 320px;
  width: 100%;
  margin-inline: auto
}

.eb-cover .mono {
  color: rgba(255, 255, 255, .8)
}

.eb-cover b {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.15;
  align-self: center
}

.eb-cover .eb-brand {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .8rem
}

.eb-body {
  display: grid;
  gap: 12px
}

.eb-body h2 {
  font-size: clamp(1.3rem, 2.4vw, 1.8rem)
}

.eb-body>p:not(.mono) {
  color: var(--ink-2)
}

.eb-body h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1rem;
  margin-top: 4px
}

.eb-form {
  display: grid;
  gap: 10px;
  margin-top: 6px
}

.eb-form .fields {
  display: grid;
  gap: 10px
}

.eb-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px
}

.eb-form label {
  display: grid;
  gap: 6px;
  font-size: .85rem;
  color: var(--graphite)
}

.eb-form input {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--chalk);
  color: var(--ink)
}

.eb-form .btn {
  width: max-content
}

.eb-form .fine {
  font-size: .78rem;
  color: var(--graphite)
}

.eb-done {
  display: none;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--orange);
  border-radius: 12px
}

.eb-form.sent .eb-done {
  display: grid
}

.eb-form.sent .fields {
  display: none
}

@media (max-width:820px) {
  .ebook {
    grid-template-columns: 1fr
  }

  .eb-row {
    grid-template-columns: 1fr
  }

  .eb-cover {
    max-width: 220px
  }
}

.eb-cover.img {
  padding: 0;
  overflow: hidden;
  background: none;
  display: block
}

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

/* header: keep items on one line; switch to the menu button before it gets crowded */
nav.main a,
header .btn {
  white-space: nowrap
}

@media (max-width:1180px) {
  nav.main {
    display: none
  }

  .menu-btn {
    display: inline-block
  }
}

@media (max-width:640px) {
  header .btn.fill {
    display: none
  }
}

/* brand logo: dark-theme and light-theme versions */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0
}

.logo img {
  height: 44px;
  width: auto;
  display: block
}

.logo .lg-l {
  display: none
}

:root[data-theme="light"] .logo .lg-d {
  display: none
}

:root[data-theme="light"] .logo .lg-l {
  display: block
}

header .wrap {
  height: 70px
}

footer .brand .logo img {
  height: 54px
}

@media (max-width:520px) {
  .logo img {
    height: 36px
  }
}