/* Conversion and interaction pass */
a,
button,
summary,
.cap,
.app-window,
.editor-card,
.doc-visual img,
.report-visual img,
.step-orbit,
.source-chips span {
  transition: transform .28s ease, box-shadow .28s ease,
    background-color .28s ease, color .28s ease,
    border-color .28s ease, opacity .28s ease;
}

.hero {
  min-height: 1040px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.button-teal {
  background: var(--teal);
  color: #061210;
  font-family: var(--sans);
  font-weight: 700;
  box-shadow: 0 10px 35px rgba(53, 199, 182, .22);
}

.button-ghost {
  color: #f4f1eb;
  border: 1px solid rgba(255, 255, 255, .28);
  font-family: var(--sans);
  font-size: 14px;
  background: rgba(5, 20, 18, .24);
  backdrop-filter: blur(8px);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .2);
}

.button-teal:hover,
.button-teal:focus-visible {
  background: #63d7c9;
  box-shadow: 0 16px 42px rgba(53, 199, 182, .36);
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: rgba(255, 255, 255, .1);
  border-color: var(--teal2);
}

nav a {
  position: relative;
  padding: 10px 0;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 1px;
  background: var(--teal);
  transition: right .25s ease;
}

nav a:hover {
  opacity: 1;
  color: #fff;
}

nav a:hover::after {
  right: 0;
}

.brand:hover .brand-mark {
  transform: rotate(45deg) scale(1.08);
}

.ask-box {
  border: 1px solid transparent;
  cursor: pointer;
}

.ask-box:hover,
.ask-box:focus-visible,
.ask-box.is-active {
  transform: translateY(-4px);
  border-color: rgba(53, 199, 182, .72);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .44),
    0 0 0 5px rgba(53, 199, 182, .08);
  outline: none;
}

.ask-submit {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 18px;
  text-decoration: none;
}

.ask-submit:hover,
.ask-submit:focus-visible {
  background: var(--teal);
  color: var(--ink);
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(53, 199, 182, .34);
}

.cap:hover {
  transform: translateY(-7px);
  border-color: #a6d8d1;
  box-shadow: 0 22px 50px rgba(25, 42, 37, .12);
}

.cap:hover .mini-doc {
  transform: rotate(-2deg) translateY(-8px);
}

.cap:hover .source-chips span {
  transform: translateY(-5px);
}

.app-window:hover {
  transform: translateY(-5px);
  box-shadow: 0 38px 120px rgba(0, 0, 0, .48);
}

.insight-grid > div:hover {
  background: #e2eee9;
  transform: translateY(-3px);
}

.editor-card:hover {
  transform: rotate(0) translateY(-6px);
  box-shadow: 0 36px 90px rgba(50, 45, 35, .2);
}

.doc-visual:hover img,
.report-visual:hover img {
  transform: scale(1.018);
  box-shadow: 0 26px 70px rgba(30, 35, 30, .18);
}

.text-link:hover {
  color: #168f83;
  border-color: #168f83;
  gap: 52px;
}

.format-row span:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: translateY(-2px);
}

.steps article:hover .step-orbit {
  transform: translateY(-8px) rotate(4deg);
  border-color: var(--teal);
  box-shadow: 0 16px 34px rgba(25, 80, 70, .12);
}

.questions details {
  padding: 0;
  position: relative;
}

.questions details:hover {
  background: #efede7;
}

.questions summary {
  padding: 25px 20px 25px 0;
  align-items: center;
}

.questions summary span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--sans);
  font-size: 18px;
  flex: 0 0 auto;
  margin-left: 20px;
}

.questions details[open] summary {
  color: #176f66;
}

.questions details[open] summary span {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  padding-right: 70px;
  transform: translateY(-8px);
  transition: max-height .42s ease, opacity .32s ease,
    transform .32s ease, padding .32s ease;
}

.questions details[open] .faq-answer {
  max-height: 280px;
  opacity: 1;
  transform: translateY(0);
  padding: 0 70px 27px 0;
}

.faq-answer p {
  margin-top: 0;
}

.faq-answer a {
  color: #176f66;
  text-decoration: none;
  font-family: var(--serif);
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
}

.faq-answer a:hover {
  color: #0b3934;
}

.final-cta .button {
  position: relative;
  z-index: 2;
}

.final-cta:hover .orbit-a {
  transform: scale(1.04);
}

.final-cta:hover .orbit-b {
  transform: scale(.98);
}

.footer-links a:hover {
  color: var(--teal2);
  transform: translateX(5px);
}

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
}

@media (max-width: 520px) {
  .hero {
    min-height: 1080px;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-row .button {
    justify-content: space-between;
  }

  .questions summary {
    font-size: 19px;
  }

  .faq-answer,
  .questions details[open] .faq-answer {
    padding-right: 10px;
  }
}
