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

.home-main {
  overflow: clip;
}

.home-hero .hero-actions .hero-download {
  display: inline-grid;
  width: min(280px, 100%);
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
}

.hero-download-label {
  white-space: nowrap;
}

.hero-download-icon {
  display: grid;
  height: 20px;
  padding-inline-start: 16px;
  place-items: center;
  border-inline-start: 1px solid color-mix(in srgb, currentColor 32%, transparent);
}

.hero-download-icon svg {
  width: 18px;
  height: 18px;
}

.hero-download-note {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  text-wrap: balance;
}

.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);
}

.service-choice-section {
  margin-top: 104px;
  margin-bottom: 96px;
}

.service-choice-heading {
  margin-bottom: 36px;
  text-align: center;
}

.service-choice-heading h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(31px, 3.4vw, 42px);
  font-weight: 760;
  letter-spacing: -0.04em;
  line-height: 1.14;
  text-wrap: balance;
}

.service-choice-heading p {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.6;
}

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

.service-choice-card {
  display: flex;
  min-width: 0;
  min-height: 310px;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.service-choice-card--byok {
  border-color: color-mix(in srgb, var(--brand) 30%, var(--line));
  background: var(--brand-soft);
}

.service-choice-card h3 {
  margin: 0;
  font-size: 27px;
  font-weight: 740;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.service-choice-card p {
  max-width: 32em;
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

.service-choice-fact {
  display: block;
  margin-top: auto;
  padding-top: 30px;
  font-size: 17px;
  font-weight: 720;
  line-height: 1.4;
}

.service-choice-fact span {
  color: var(--ink-soft);
  font-size: 15px;
  font-weight: 520;
}

.service-choice-card .button {
  width: 100%;
  margin-top: 16px;
}

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

@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;
  }

}

@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;
  }

  .service-choice-section {
    margin-top: 76px;
    margin-bottom: 70px;
  }

  .service-choice-heading {
    margin-bottom: 26px;
    text-align: left;
  }

  .service-choice-heading h2 {
    font-size: clamp(30px, 8vw, 36px);
  }

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

  .service-choice-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .service-choice-card {
    min-height: 0;
    padding: 28px;
  }

  .service-choice-fact {
    margin-top: 26px;
    padding-top: 0;
  }
}

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

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

.homepage-page {
  --homepage-card-shadow: 0 0 50px rgba(24, 45, 40, 0.08);
}

.homepage-page .home-hero {
  padding-bottom: 46px;
}

.hero-proof-section {
  position: relative;
  z-index: 1;
}

.hero-proof-card {
  width: min(1040px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--homepage-card-shadow);
  color: var(--ink);
  text-align: left;
}

.homepage-page .transformation {
  box-shadow: var(--homepage-card-shadow);
}

.hero-proof-toolbar {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.hero-proof-status {
  display: inline-flex;
  min-height: 34px;
  flex: 0 0 auto;
  align-items: center;
  gap: 9px;
  padding: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 680;
  line-height: 1;
}

.hero-proof-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  animation: hero-proof-listening 1.7s ease-in-out infinite;
}

.hero-proof-status kbd,
.hero-proof-finish kbd {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.hero-proof-finish {
  color: var(--muted);
  font-size: 13px;
  font-weight: 560;
  line-height: 1.55;
  text-align: right;
}

.hero-proof-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
}

.hero-proof-pane {
  min-width: 0;
  padding: 28px 30px 30px;
}

.hero-proof-after {
  border-left: 1px solid var(--line);
  background: var(--brand-soft);
}

.hero-proof-label {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
  letter-spacing: 0.08em;
  line-height: 1.35;
}

.hero-proof-after .hero-proof-label {
  color: var(--brand-strong);
}

.hero-proof-copy {
  max-width: 34ch;
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.75;
}

.hero-proof-before .hero-proof-copy {
  color: var(--ink-soft);
}

.hero-proof-before .hero-proof-copy del {
  color: var(--muted);
  text-decoration-color: currentColor;
  text-decoration-thickness: 1.5px;
}

@keyframes hero-proof-listening {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.46;
    transform: scale(0.78);
  }
}

@media (max-width: 720px) {
  .homepage-page .home-hero {
    padding-bottom: 36px;
  }

  .hero-proof-card {
    border-radius: 18px;
  }

  .hero-proof-toolbar {
    min-height: 62px;
    align-items: center;
    gap: 12px;
    padding: 13px 18px;
  }

  .hero-proof-status {
    min-height: 34px;
    font-size: 13px;
  }

  .hero-proof-finish {
    font-size: 12px;
    text-align: right;
  }

  .hero-proof-comparison {
    grid-template-columns: 1fr;
  }

  .hero-proof-pane {
    padding: 22px 20px 24px;
  }

  .hero-proof-copy {
    max-width: none;
    font-size: 15px;
    line-height: 1.7;
  }

  .hero-proof-after {
    border-top: 1px solid var(--line);
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-proof-status-dot {
    animation: none;
  }
}

@media (prefers-color-scheme: dark) {
  .homepage-page {
    --homepage-card-shadow: 0 0 50px rgba(0, 0, 0, 0.28);
  }
}
