/* Homepage content approved in homepage-content-v2.html. */

.home-main {
  overflow: clip;
}

.content-section {
  padding: 104px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(42px, 5.6vw, 64px);
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1.1;
  text-wrap: balance;
}

.section-heading p {
  max-width: 660px;
  margin: 18px auto 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
  text-wrap: balance;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 34px;
  border-block: 1px solid var(--line);
}

.workflow-step {
  min-width: 0;
  padding: 28px 30px 30px;
}

.workflow-step + .workflow-step {
  border-left: 1px solid var(--line);
}

.workflow-step-number {
  display: inline-flex;
  min-width: 27px;
  min-height: 27px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 760;
}

.workflow-step h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.025em;
}

.workflow-step p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

.depth-section {
  background: var(--surface-soft);
}

.mode-switcher {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.mode-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.mode-tab {
  min-height: 88px;
  padding: 16px 18px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  text-align: left;
  transition: background-color 180ms ease, color 180ms ease;
}

.mode-tab:hover {
  background: var(--surface-soft);
  color: var(--ink);
}

.mode-tab[aria-selected="true"] {
  background: var(--brand-soft);
  color: var(--ink);
}

.mode-tab strong,
.mode-tab span {
  display: block;
}

.mode-tab strong {
  font-size: 15px;
  font-weight: 720;
}

.mode-tab span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.mode-tab[aria-selected="true"] span {
  color: var(--brand-strong);
}

.mode-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  margin-top: 10px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--surface-soft);
}

.mode-sample {
  min-width: 0;
  padding: clamp(26px, 4vw, 42px);
}

.mode-sample + .mode-sample {
  border-left: 1px solid var(--line);
  background: var(--brand-soft);
}

.mode-sample-label {
  margin: 0 0 17px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.08em;
}

.mode-sample.output .mode-sample-label {
  color: var(--brand-strong);
}

.mode-source,
.mode-result {
  margin: 0;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.7;
}

.mode-result-content p {
  margin: 0;
}

.mode-result-content p + p {
  margin-top: 18px;
}

.mode-result-content ol {
  display: grid;
  gap: 10px;
  padding-left: 23px;
}

.mode-result-content ol {
  margin: 12px 0;
}

.mode-result-content ul {
  display: grid;
  gap: 2px;
  margin: 5px 0 0;
  padding-left: 20px;
  color: var(--ink-soft);
}

.mode-result-content li::marker {
  color: var(--ink-soft);
}

.mode-source[data-entering="true"],
.mode-result[data-entering="true"] {
  animation: mode-result-in 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mode-guardrail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
  text-align: center;
}

.mode-guardrail svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--brand-strong);
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
  border-top: 1px solid var(--line);
}

.capability {
  padding-top: 30px;
}

.capability-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand-strong);
}

.capability-icon svg {
  width: 22px;
  height: 22px;
}

.capability h3 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.025em;
}

.capability p {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.privacy-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
  padding: 31px 0;
  border-block: 1px solid var(--line);
}

.privacy-copy {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  gap: 17px;
}

.privacy-copy svg {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--brand-strong);
}

.privacy-copy h2 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.02em;
}

.privacy-copy p {
  max-width: 720px;
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

.privacy-assurances {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.privacy-assurances li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 680;
  line-height: 1.45;
  white-space: nowrap;
}

.privacy-assurances svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: var(--brand-strong);
}

.final-callout {
  margin-top: 104px;
}

.final-callout-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 42px;
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1.08;
  text-wrap: balance;
}

.final-callout-copy p {
  max-width: 620px;
  margin: 14px 0 0;
  line-height: 1.7;
}

.final-callout-price {
  display: block;
  margin-top: 8px;
  color: #f5fffc;
  font-size: 15px;
  font-weight: 680;
}

.final-callout-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.price-callout .button.callout-secondary {
  border-color: rgba(245, 255, 252, 0.34);
  background: transparent;
  color: #f5fffc;
}

.price-callout .button.callout-secondary:hover {
  border-color: rgba(245, 255, 252, 0.68);
  background: rgba(245, 255, 252, 0.08);
}

@keyframes mode-result-in {
  from {
    opacity: 0.55;
    filter: blur(3px);
    clip-path: inset(0 0 9% 0 round 3px);
    transform: translateY(5px);
  }
}

@media (prefers-color-scheme: dark) {
  .final-callout-price {
    color: #14332e;
  }

  .price-callout .button.callout-secondary {
    border-color: rgba(20, 51, 46, 0.28);
    color: #14332e;
  }

  .price-callout .button.callout-secondary:hover {
    border-color: rgba(20, 51, 46, 0.55);
    background: rgba(20, 51, 46, 0.06);
  }
}

@media (max-width: 900px) {
  .workflow-step {
    padding-inline: 22px;
  }

  .capability-grid {
    gap: 24px;
  }

  .privacy-strip {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .privacy-assurances {
    grid-template-columns: repeat(2, max-content);
    padding-left: 41px;
  }

  .final-callout {
    align-items: flex-start;
    flex-direction: column;
  }

  .final-callout-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .content-section {
    padding: 76px 0;
  }

  .section-heading {
    margin-bottom: 32px;
  }

  .section-heading p {
    font-size: 15px;
  }

  .workflow-steps {
    grid-template-columns: 1fr;
  }

  .workflow-step {
    padding: 24px 4px;
  }

  .workflow-step + .workflow-step {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .mode-tabs {
    grid-template-columns: 1fr;
  }

  .mode-tab {
    min-height: 0;
  }

  .mode-panel {
    grid-template-columns: 1fr;
  }

  .mode-sample {
    padding: 24px;
  }

  .mode-sample + .mode-sample {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .mode-source,
  .mode-result {
    font-size: 15px;
    line-height: 1.65;
  }

  .mode-result-content p + p {
    margin-top: 12px;
  }

  .mode-result-content ol {
    gap: 6px;
    margin: 9px 0;
    padding-left: 20px;
  }

  .mode-result-content ul {
    margin-top: 3px;
    padding-left: 18px;
  }

  .mode-guardrail {
    align-items: flex-start;
    text-align: left;
  }

  .capability-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .capability + .capability {
    padding-top: 32px;
    border-top: 1px solid var(--line);
  }

  .privacy-strip {
    gap: 16px;
  }

  .privacy-assurances {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .final-callout {
    margin-top: 76px;
  }

  .final-callout-actions,
  .final-callout-actions .button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mode-tab {
    transition: none;
  }

  .mode-result[data-entering="true"] {
    animation: none;
  }
}
