/* =============================================================================
   Autar marketing site

   The design ships as inline styles on every element, which is how the design
   tool exports. What repeats — links, buttons, cards, code blocks, the page
   gutter — lives here instead, because a hover state cannot be written inline:
   the export's `style-hover` attribute was never implemented by anything, and
   an inline `color` outranks a stylesheet rule anyway, so until this file no
   link on the site changed on hover.
   ========================================================================== */

:root {
  --ink: #0f172a;
  --body: #475569;
  --muted: #64748b;
  --muted-soft: #94a3b8;

  --deep: #0a1f2c;
  --ground: #fbfefe;
  --wash: #fcf1eb;

  --teal: #9e5839;
  --teal-dark: #80462d;
  --turquoise: #c27652;
  --accent: #e0a184;

  --line: #dbe9e7;
  --line-soft: #eef5f4;
  --line-mint: #f6dacd;
  --line-dark: rgba(255, 255, 255, 0.08);

  --on-dark: #e2e8f0;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--line-mint);
  color: var(--ink);
}

img {
  max-width: 100%;
}

/* Every interactive thing gets a visible keyboard focus ring. The export had
   none, and the nav menus are buttons. */
:focus-visible {
  outline: 2px solid var(--turquoise);
  outline-offset: 2px;
}

/* -----------------------------------------------------------------------------
   Page shell
   -------------------------------------------------------------------------- */

.page {
  background: linear-gradient(180deg, #fbfefe 0%, #f5fbfa 34%, #fbfefe 62%, #f6fcfb 100%);
}

/* The gutter every band shares. 24px on a phone, wider once there is room. */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 720px) {
  .wrap {
    padding-left: 48px;
    padding-right: 48px;
  }
}

@media (min-width: 980px) {
  .wrap {
    padding-left: 72px;
    padding-right: 72px;
  }
}

/* -----------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-dark);
}

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

.eyebrow--muted {
  font-size: 10.5px;
  letter-spacing: 0.1em;
  color: var(--muted-soft);
}

.eyebrow--chip {
  display: inline-block;
  padding: 5px 9px;
  background: var(--line-mint);
  color: var(--teal-dark);
}

.h1 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.h2 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.h3 {
  margin: 0;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.lede {
  margin: 0;
  font-size: 17.5px;
  font-weight: 400;
  line-height: 1.6;
  text-wrap: pretty;
}

.prose {
  margin: 0;
  max-width: 74ch;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--body);
  text-wrap: pretty;
}

.on-dark {
  color: #fff;
}

.on-dark-soft {
  color: var(--on-dark);
}

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

/* -----------------------------------------------------------------------------
   Links
   -------------------------------------------------------------------------- */

a {
  color: var(--teal);
  text-decoration: none;
}

a:hover {
  color: var(--teal-dark);
}

/* A link on a light surface that should not look like body copy. */
.link {
  color: var(--teal);
  font-weight: 600;
  transition: color 160ms ease-out;
}

.link:hover {
  color: var(--teal-dark);
  text-decoration: underline;
}

/* Quiet links in the footer and nav, on the dark surface. */
.link-dark {
  color: var(--on-dark);
  font-size: 14.5px;
  transition: color 160ms ease-out;
}

.link-dark:hover {
  color: var(--accent);
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-size: 15px;
  font-weight: 600;
  transition: gap 160ms ease-out, color 160ms ease-out;
}

.arrow-link:hover {
  gap: 13px;
  color: var(--teal-dark);
}

/* -----------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition:
    background 200ms ease-out,
    border-color 200ms ease-out,
    color 200ms ease-out;
}

.btn--sm {
  padding: 9px 18px;
  font-size: 14.5px;
}

.btn--primary {
  background: var(--turquoise);
  color: var(--deep);
}

.btn--primary:hover {
  background: var(--accent);
  color: var(--deep);
}

/* On the dark hero, where the outline has to read against a photograph. */
.btn--outline {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn--outline:hover {
  border-color: var(--accent);
  color: #fff;
}

/* The same idea on a light surface. */
.btn--quiet {
  border-color: #cbd5e1;
  color: var(--ink);
}

.btn--quiet:hover {
  border-color: var(--teal);
  color: var(--ink);
}

/* -----------------------------------------------------------------------------
   Surfaces
   -------------------------------------------------------------------------- */

.card {
  border: 1px solid var(--line);
  background: #fff;
  padding: 26px;
}

.card--link {
  display: block;
  color: inherit;
  transition: box-shadow 200ms ease-out, border-color 200ms ease-out;
}

.card--link:hover {
  border-color: var(--line-mint);
  box-shadow: 0 8px 20px -6px rgba(15, 23, 42, 0.12);
  color: inherit;
}

.code {
  margin: 0;
  padding: 18px 20px;
  background: #0a212d;
  color: var(--on-dark);
  font-family: var(--mono);
  font-size: 13.5px;
  line-height: 1.7;
  overflow-x: auto;
}

/* A command block with its copy button. The block scrolls; the button sits
   outside the scrolling area, so it stays put however far the line scrolls. */
.code-copy {
  display: flex;
  align-items: flex-start;
  background: var(--deep);
  color: var(--on-dark);
}

.code-copy > .code {
  flex: 1;
  min-width: 0;
  padding-right: 8px;
}

.code-copy__btn {
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: 12px 12px 0 0;
  border: 0;
  background: transparent;
  color: inherit;
  opacity: 0.75;
  cursor: pointer;
}

.code-copy__btn:hover,
.code-copy__btn:focus-visible {
  opacity: 1;
  background: color-mix(in srgb, currentcolor 12%, transparent);
}

.code--sm {
  font-size: 13px;
}

/* Inline code only. A <code> inside .code is on the dark block and must keep
   the block's colour, so this cannot set colour unconditionally. */
code {
  font-family: var(--mono);
  font-size: 0.95em;
}

:not(.code) > code {
  color: var(--ink);
}

.code code {
  color: inherit;
  font-size: inherit;
  white-space: pre;
}

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* -----------------------------------------------------------------------------
   Grids
   -------------------------------------------------------------------------- */

.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

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

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

/* -----------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.masthead {
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(10, 31, 44, 0.92) 0%,
    rgba(10, 31, 44, 0.62) 70%,
    rgba(10, 31, 44, 0.28) 100%
  );
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  flex: none;
}

.brand:hover {
  color: #fff;
}

.brand__mark {
  display: block;
  height: 26px;
  width: auto;
}

.brand__name {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav__list {
  display: none;
  align-items: center;
  gap: 28px;
}

.nav__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  margin-right: -10px;
  border: none;
  background: transparent;
  color: #fff;
  font-family: var(--sans);
  font-size: 14.5px;
  cursor: pointer;
}

@media (min-width: 980px) {
  .nav__list {
    display: flex;
  }
  .nav__toggle {
    display: none;
  }
}

/* The menu opens on hover with a pointer and on click or Enter without one.
   The padding below the trigger keeps the pointer inside the group while it
   travels down into the panel. */
.menu {
  position: relative;
  display: flex;
  align-items: center;
  padding-bottom: 26px;
  margin-bottom: -26px;
}

.menu__button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: none;
  background: transparent;
  font-family: var(--sans);
  font-size: 14.5px;
  color: var(--on-dark);
  cursor: pointer;
  transition: color 160ms ease-out;
}

.menu__button:hover,
.menu[data-open="true"] .menu__button {
  color: var(--accent);
}

.menu__caret {
  display: block;
  flex: none;
  transition: transform 160ms ease-out;
}

.menu[data-open="true"] .menu__caret {
  transform: rotate(180deg);
}

.menu__panel {
  position: absolute;
  top: 100%;
  left: -18px;
  width: 300px;
  z-index: 40;
  background: #0f2a38;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  box-shadow: 0 18px 38px rgba(2, 12, 18, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  pointer-events: none;
  transition: opacity 160ms ease-out, transform 160ms ease-out;
}

.menu__panel--wide {
  width: 380px;
  max-width: calc(100vw - 48px);
  left: auto;
  right: -18px;
}

.menu:hover .menu__panel,
.menu[data-open="true"] .menu__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.menu__item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-dark);
  transition: background 160ms ease-out;
}

.menu__item:last-child {
  border-bottom: 0;
}

.menu__item:hover {
  background: rgba(194, 118, 82, 0.1);
}

.menu__item-name {
  font-size: 15.5px;
  font-weight: 600;
  color: #fff;
}

.menu__item-blurb {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted-soft);
}

.menu__label {
  display: block;
  padding: 13px 18px 11px;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.menu__line {
  display: block;
  padding: 11px 18px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 14px;
  line-height: 1.45;
  color: var(--on-dark);
  transition: background 160ms ease-out, color 160ms ease-out;
}

.menu__line:last-child {
  border-bottom: 0;
}

.menu__line:hover {
  background: rgba(194, 118, 82, 0.1);
  color: #fff;
}

/* The small-screen menu. The export had none: below 980px the nav was simply
   display:none, so a phone had no way to reach any other page. */
.nav__drawer {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px 0 20px;
}

.nav__drawer[data-open="true"] {
  display: flex;
}

@media (min-width: 980px) {
  .nav__drawer[data-open="true"] {
    display: none;
  }
}

.nav__drawer a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line-dark);
  color: var(--on-dark);
  font-size: 15.5px;
}

.nav__drawer a:hover {
  color: var(--accent);
}

.nav__drawer .btn {
  margin-top: 14px;
  border-bottom: 1px solid transparent;
}

/* -----------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.foot {
  background: var(--deep);
}

.foot__cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  padding: 56px 0 44px;
}

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

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

.foot__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.foot__heading {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 2px;
}

.foot__tagline {
  max-width: 30ch;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted-soft);
}

.foot__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0 28px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* -----------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

.stack {
  display: flex;
  flex-direction: column;
}

.gap-6 { gap: 6px; }
.gap-10 { gap: 10px; }
.gap-14 { gap: 14px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-26 { gap: 26px; }

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* -----------------------------------------------------------------------------
   Page pieces
   -------------------------------------------------------------------------- */

/* The solid-teal call to action, distinct from the turquoise one on dark. */
.btn--teal {
  background: var(--teal);
  color: #fff;
}

.btn--teal:hover {
  background: var(--teal-dark);
  color: #fff;
}

/* The metrics nobody should be steering by, on the coaching page. */
.vanity {
  font-size: 14.5px;
  line-height: 1.3;
  color: var(--muted);
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: #fff;
}

/* -----------------------------------------------------------------------------
   Waste figure
   -------------------------------------------------------------------------- */

@keyframes autar-lock {
  from {
    opacity: 0;
    transform: scale(1.14);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes autar-scan {
  from {
    left: -60px;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  to {
    left: 100%;
    opacity: 0;
  }
}

.waste-step {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: baseline;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.4;
  padding: 11px 13px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  text-align: left;
  transition: background 200ms ease-out, border-color 200ms ease-out, color 200ms ease-out;
}

.waste-step:hover {
  border-color: var(--turquoise);
}

.waste-step.is-current {
  border-color: var(--turquoise);
  background: var(--wash);
  color: var(--ink);
}

.waste-step__n {
  font-family: var(--sans);
  font-size: 10px;
  color: var(--muted-soft);
}

.waste-step.is-current .waste-step__n {
  color: rgb(245, 158, 11);
}

.waste-replay {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--teal);
  text-decoration: underline;
}

.waste-replay:hover {
  color: var(--teal-dark);
}

.waste-payoff {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  font-size: 15px;
  line-height: 1.5;
  color: var(--on-dark);
}

/* -----------------------------------------------------------------------------
   Job description disclosure
   -------------------------------------------------------------------------- */

.jd__summary {
  padding: 15px 30px;
  background: var(--wash);
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--teal-dark);
  cursor: pointer;
  list-style: none;
}

.jd__summary::-webkit-details-marker {
  display: none;
}

/* The marker is written rather than drawn, because it was a `[+]` / `[-]` in
   the design and a triangle is not that. */
.jd__summary::before {
  content: "[+] ";
}

.jd[open] .jd__summary::before {
  content: "[\2212] ";
}

.jd__summary:hover {
  background: var(--line-mint);
}

.jd__h {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.jd__p {
  margin: 8px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--body);
  text-wrap: pretty;
}

.jd__list {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line-soft);
}

.jd__list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 15px;
  line-height: 1.6;
  color: var(--body);
}

/* -----------------------------------------------------------------------------
   Enterprise Fleet
   -------------------------------------------------------------------------- */

.estate-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line-soft);
  align-items: center;
}

.estate-row--head {
  padding: 11px 18px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

@media (min-width: 720px) {
  .estate-row {
    grid-template-columns: 1.6fr 0.9fr 1.3fr 0.9fr;
  }
}

.estate-bar {
  position: relative;
  flex: 1 1 auto;
  height: 7px;
  background: var(--line-soft);
}

.estate-bar span {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
}

.cap {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  padding: 24px 0;
  border-top: 1px solid var(--line-mint);
  align-items: start;
}

@media (min-width: 1040px) {
  .cap {
    grid-template-columns: 46px 1.05fr 1.25fr;
  }
}

.chip {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--body);
  padding: 6px 10px;
  border: 1px solid var(--line-mint);
  background: #fff;
}

/* -----------------------------------------------------------------------------
   Home
   -------------------------------------------------------------------------- */

.arrow-link--dark {
  color: var(--accent);
}

.arrow-link--dark:hover {
  color: #efc3ae;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 28px 30px;
  color: var(--ink);
  transition: box-shadow 200ms ease-out, border-color 200ms ease-out;
}

.product-card:hover {
  border-color: var(--turquoise);
  box-shadow: 0 6px 14px -4px rgba(15, 23, 42, 0.08);
  color: var(--ink);
}

.symptom {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border: none;
  border-top: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  width: 100%;
  font-family: var(--sans);
  transition: border-color 200ms ease-out;
}

.symptom:hover {
  border-top-color: var(--turquoise);
}

.symptom.is-on {
  border-top-color: var(--turquoise);
}

.symptom__box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 12px;
  flex: none;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: transparent;
}

.symptom.is-on .symptom__box {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.symptom.is-on .symptom__box::after {
  content: "\2713";
}

/* -----------------------------------------------------------------------------
   Symptoms checker
   -------------------------------------------------------------------------- */

.check {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 17px 0 18px;
  border: none;
  border-top: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-family: var(--sans);
  transition: border-color 200ms ease-out;
}

.check:hover,
.check.is-on {
  border-top-color: var(--turquoise);
}

.check__box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  font-size: 14px;
  line-height: 1;
  flex: none;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: transparent;
  transition: border-color 200ms ease-out, background 200ms ease-out;
}

.check.is-on .check__box {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.check.is-on .check__box::after {
  content: "\2713";
}

.clear {
  padding: 0;
  border: none;
  background: transparent;
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-soft);
  cursor: pointer;
  transition: color 160ms ease-out;
}

.clear:hover {
  color: var(--ink);
}

/* -----------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.field__label {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.field__input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15.5px;
  transition: border-color 160ms ease-out;
}

.field__input:hover {
  border-color: var(--muted-soft);
}

.field__input:focus {
  border-color: var(--teal);
  outline: 2px solid var(--line-mint);
  outline-offset: 0;
}

.field__input::placeholder {
  color: var(--muted-soft);
}

/* A checkbox drawn as a pill. The input stays in the DOM and keeps the label,
   the keyboard and the form value; it is only moved out of sight. */
.pill {
  position: relative;
  display: inline-flex;
}

.pill input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.pill span {
  padding: 9px 14px;
  font-size: 14.5px;
  line-height: 1.3;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
  transition: background 180ms ease-out, border-color 180ms ease-out, color 180ms ease-out;
}

.pill input:hover + span {
  border-color: var(--teal);
}

.pill input:focus-visible + span {
  outline: 2px solid var(--turquoise);
  outline-offset: 2px;
}

.pill input:checked + span {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.opt-in {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  cursor: pointer;
}

.opt-in input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.opt-in__box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex: none;
  font-size: 13px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: transparent;
  transition: border-color 160ms ease-out, background 160ms ease-out;
}

.opt-in input:checked + .opt-in__box {
  border-color: var(--teal);
  background: var(--teal);
  color: #fff;
}

.opt-in input:checked + .opt-in__box::after {
  content: "\2713";
}

.opt-in input:focus-visible + .opt-in__box {
  outline: 2px solid var(--turquoise);
  outline-offset: 2px;
}

.form-error {
  margin: 0;
  font-size: 14.5px;
  color: #ef4444;
}

.btn[disabled] {
  opacity: 0.65;
  cursor: default;
}

/* -----------------------------------------------------------------------------
   CLI
   -------------------------------------------------------------------------- */

.step {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 32px;
}

@media (min-width: 720px) {
  .step {
    grid-template-columns: 52px minmax(0, 1fr);
  }
}

.step__n {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: var(--line-mint);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--teal-dark);
}

.panel {
  border: 1px solid var(--line);
  background: #fff;
}

.panel__summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 32px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.panel__summary::-webkit-details-marker {
  display: none;
}

.panel__summary::before {
  content: "\25BE";
  display: inline-block;
  flex: none;
  font-size: 13px;
  color: var(--teal);
  transform: rotate(-90deg);
  transition: transform 180ms ease-out;
}

.panel[open] > .panel__summary::before {
  transform: rotate(0deg);
}

/* Home hero: the rotating words in the H1. home.js sizes and swaps them. */
.slot {
  position: relative;
  display: inline-block;
  vertical-align: bottom;
  white-space: nowrap;
  color: var(--accent);
  clip-path: inset(-0.25em -0.1em -0.25em -0.1em);
  transition: width 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.slot--plain {
  color: inherit;
}

.slot-sizer {
  visibility: hidden;
}

.slot-w {
  position: absolute;
  left: 0;
  top: 0;
  transition:
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1),
    opacity 0.7s ease-out;
}

.slot-w.is-in {
  transform: translateY(105%);
  opacity: 0;
}

.slot-w.is-out {
  transform: translateY(-105%);
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .slot,
  .slot-w {
    transition: none;
  }
}
