/* Upwork Job Scorer marketing site. No external assets.
   Section color, type, radius, and button treatment: skin.css.
   This file is layout, semantics, and motion. */

:root {
  color-scheme: light;
  --bg: #f7f6f3;
  --ink: #1c1915;
  --ink-soft: #5c5852;
  --muted: #5c5852;
  --line: #e4e1da;
  --green: #0c6b52;
  --green-hover: #095743;
  --on-accent: #f6f3ec;
  --footer: #171614;
  --footer-ink: #f3f0e8;
  --footer-muted: #c4beb4;
  --ghost: rgba(255, 255, 255, 0.06);
  --focus: #0c6b52;
  --mount: #e7e4de;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --serif: Georgia, "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --mono: ui-monospace, "Cascadia Code", "Segoe UI Mono", Menlo, Consolas, monospace;
  --wrap: 1080px;
  --header: 4.25rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #141311;
    --ink: #f3f0e8;
    --ink-soft: #c4beb4;
    --muted: #c4beb4;
    --line: #2e2c28;
    --green: #8fd4b8;
    --green-hover: #b7e8d2;
    --on-accent: #1c1915;
    --footer: #0e0d0c;
    --footer-ink: #f3f0e8;
    --footer-muted: #c4beb4;
    --ghost: rgba(255, 255, 255, 0.045);
    --focus: #8fd4b8;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  font-optical-sizing: auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1,
h2,
h3,
p,
ul,
ol,
figure,
blockquote,
dl {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h1 {
  font-size: var(--hero-headline-size, clamp(2.6rem, 6.4vw, 4.75rem));
  font-weight: var(--hero-headline-weight, 500);
  letter-spacing: var(--hero-headline-tracking, -0.042em);
  line-height: var(--hero-headline-leading, 0.98);
  margin-bottom: 0;
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  letter-spacing: -0.034em;
  margin-bottom: 0.85rem;
}

h3 {
  font-size: 1.02rem;
  letter-spacing: -0.015em;
  margin-bottom: 0.35rem;
}

p,
li,
dd {
  text-wrap: pretty;
}

a {
  color: var(--green);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--green-hover);
}

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

::selection {
  background: #d7f0e4;
  color: #1c1915;
}

code {
  font-family: var(--mono);
  font-size: 0.92em;
  overflow-wrap: anywhere;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0.6rem;
  transform: translateY(-200%);
  background: var(--ink);
  color: var(--on-accent);
  padding: 0.65rem 0.9rem;
  z-index: 40;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
}

.skip:focus {
  transform: none;
  color: var(--on-accent);
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--nav-bg, #141311);
  backdrop-filter: blur(var(--nav-blur, 0px));
  border-bottom: 1px solid var(--nav-line, transparent);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1.25rem;
  min-height: var(--header);
  padding-block: 0.35rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--nav-ink, var(--ink));
  font-weight: 600;
  letter-spacing: -0.02em;
  text-decoration: none;
  min-height: 44px;
  white-space: nowrap;
}

.wordmark:hover,
.wordmark:visited {
  color: var(--nav-ink, var(--ink));
}

.wordmark svg {
  display: block;
  flex-shrink: 0;
  border-radius: 8px;
  outline: var(--nav-mark-outline, none);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.1rem 0.15rem;
}

.nav a {
  color: var(--nav-ink, var(--ink));
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding-inline: 0.55rem;
  font-weight: var(--nav-weight, 550);
  font-size: var(--nav-size, 0.95rem);
  border-radius: var(--nav-radius, 999px);
}

.nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.22em;
}

.nav-cta {
  flex-shrink: 0;
}

.hero {
  position: relative;
  padding: 4.5rem 0 4rem;
  text-align: left;
  background: var(--hero-bg, #12110e);
  color: var(--hero-ink, #f4f1ea);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
  gap: 2.5rem 3.5rem;
  align-items: center;
}

.hero h1 {
  color: var(--hero-headline, var(--ink));
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto 0;
  height: 78%;
  background: var(--hero-field, none);
  pointer-events: none;
}

.kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
  align-items: center;
  justify-content: flex-start;
  margin: 0 0 1.15rem;
  color: var(--hero-kicker, var(--muted));
  font-size: 0.95rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.6rem;
  padding: 0 0.55rem;
  border: 1px solid var(--hero-pill-border, var(--line));
  border-radius: 999px;
  color: var(--hero-pill-ink, var(--ink));
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.line {
  display: block;
}

.line.soft {
  color: var(--hero-headline-soft, var(--ink-soft));
}

.lede {
  margin: 1.15rem 0 0;
  max-width: 36rem;
  color: var(--hero-lede, inherit);
  font-size: var(--hero-lede-size, 1.125rem);
  line-height: 1.5;
}

.hero-offer,
.cta-offer {
  margin: 1rem 0 0;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.hero-offer {
  color: var(--hero-offer, var(--hero-ink));
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: var(--btn-pad-y, 0.65rem) var(--btn-pad-x, 1.15rem);
  border-radius: var(--btn-radius, 999px);
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: var(--btn-size, 0.98rem);
  font-weight: var(--btn-weight, 600);
  letter-spacing: var(--btn-tracking, -0.015em);
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-wrap: balance;
  cursor: pointer;
  transition: transform var(--btn-press-duration, 140ms) var(--ease-out), background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.btn-primary::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -10px;
  border-radius: inherit;
  background: radial-gradient(closest-side, var(--btn-glow, transparent), transparent 72%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.btn:visited {
  color: inherit;
}

.btn:active {
  transform: scale(var(--btn-press, 0.97));
}

.btn-primary {
  background: var(--btn-primary-bg, #1c1915);
  color: var(--btn-primary-ink, #f6f3ec);
  border-color: var(--btn-primary-bg, #1c1915);
}

.btn-primary:visited {
  color: var(--btn-primary-ink, #f6f3ec);
}

.btn-ghost {
  background: var(--btn-ghost-bg, transparent);
  border-color: var(--btn-ghost-border, #6f6a63);
  color: var(--btn-ghost-ink, var(--ink));
}

.btn-ghost:visited {
  color: var(--btn-ghost-ink, var(--ink));
}

.note {
  margin: 0.9rem 0 0;
  max-width: 36rem;
  color: var(--hero-muted, var(--muted));
  font-size: 0.92rem;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.2rem 0;
  margin: 1.75rem 0 0;
  max-width: 40rem;
  color: var(--hero-muted, var(--muted));
  font-size: 0.92rem;
}

.facts span:not(:last-child)::after {
  content: "·";
  margin-inline: 0.6rem;
}

.stage {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0.85rem;
  background: var(--hero-frame-bg, var(--mount));
  border-radius: var(--hero-frame-radius, 24px);
  text-align: left;
}

.stage img {
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.caption {
  margin: 0;
  max-width: 42rem;
  color: var(--hero-muted, var(--muted));
  font-size: 0.88rem;
}

.hero .caption {
  color: #5c5852;
}

.breakdown-shot {
  max-width: 360px;
  margin-top: 2.5rem;
}

.section {
  padding: 5.25rem 0;
}

.section-head {
  max-width: 40rem;
}

.section-head .kicker {
  justify-content: flex-start;
  margin-bottom: 0.7rem;
}

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem 2rem;
  margin: 2.4rem 0 0;
  padding: 0;
}

.steps li {
  margin: 0;
}

.num {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.steps p,
.feature p {
  margin: 0;
  color: var(--ink);
}

.demo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  margin-top: 2.5rem;
  padding: 0.9rem 0.95rem;
  background: #fffdf8;
  color: #1c1915;
  border: 1px solid #e3d9c8;
  border-radius: 18px;
}

.demo-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
  min-width: 0;
}

.demo-title {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.demo-meta {
  margin: 0.1rem 0 0;
  color: #5e584e;
  font-size: 0.92rem;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  background: #d7f0e4;
  color: #1c1915;
  font: 650 13px/1.35 "Segoe UI", "Avenir Next", var(--sans);
  flex-shrink: 0;
}

.live-badge .mark {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1c1915;
  color: #f3efe6;
  font: 600 11px/1 var(--serif);
}

.live-badge .score {
  font: 600 14px/1 var(--serif);
  font-variant-numeric: tabular-nums;
}

.live-badge .name {
  font-weight: 600;
}

.replay {
  min-height: 44px;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #6f6a63;
  background: transparent;
  color: #1c1915;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: transform 140ms var(--ease-out), background-color 160ms ease;
}

.replay:active {
  transform: scale(0.97);
}

.demo.arm .live-badge {
  transition: opacity 280ms var(--ease-out), transform 280ms var(--ease-out);
}

.demo.arm:not(.is-in) .live-badge {
  opacity: 0;
  transform: scale(0.96);
}

.demo.is-in .live-badge {
  opacity: 1;
  transform: none;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 2.5rem 3rem;
  align-items: start;
  margin-top: 3.25rem;
}

.feature {
  display: grid;
  grid-template-columns: 9.5rem minmax(0, 1fr);
  gap: 0.75rem 1.25rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.feature h3 {
  margin: 0.15rem 0 0;
}

.feature p {
  color: var(--ink);
}

.limits-line {
  margin: 1.15rem 0 0;
  color: var(--muted);
  max-width: 62ch;
}

.shot {
  margin: 0;
  padding: 0.85rem;
  background: var(--mount);
  border-radius: 24px;
}

.shot img {
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.shot figcaption,
.weights-block figcaption {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.statement {
  margin: 5rem auto 0.5rem;
  max-width: var(--statement-measure, 16em);
  color: var(--statement-color, var(--muted));
  font-family: var(--statement-font, var(--serif));
  font-size: var(--statement-size, clamp(1.85rem, 3.5vw, 2.85rem));
  font-weight: var(--statement-weight, 500);
  letter-spacing: var(--statement-tracking, -0.03em);
  line-height: var(--statement-leading, 1.25);
  text-align: center;
}

.statement strong {
  color: var(--statement-strong, var(--ink));
  font-weight: var(--statement-strong-weight, 600);
}

.weights-block {
  margin: 3rem 0 0;
}

.price-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 1rem;
  margin-top: 2rem;
  align-items: stretch;
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: var(--price-card-pad, 1.35rem 1.3rem 1.4rem);
  border: 1px solid var(--price-card-border, var(--line));
  border-radius: var(--price-card-radius, 20px);
  background: var(--price-card-bg, var(--bg));
}

.plan-flag {
  margin: 0;
  color: var(--price-flag, var(--muted));
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.price-card h3 {
  margin: 0.15rem 0 0;
  font-size: 1.35rem;
}

.price {
  margin: 0.35rem 0 0.15rem;
  font-size: var(--price-amount-size, 3.25rem);
  font-weight: 500;
  letter-spacing: var(--price-amount-tracking, -0.045em);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.price span {
  margin-left: 0.3rem;
  font-size: 1rem;
  font-weight: 550;
  letter-spacing: 0;
  color: var(--muted);
}

.checklist {
  margin: 0.7rem 0 0.9rem;
  padding-left: 1.15rem;
}

.checklist li + li {
  margin-top: 0.35rem;
}

.price-card .card-note {
  margin-top: auto;
  color: var(--price-note, var(--muted));
  font-size: 0.95rem;
}

.price-card .btn {
  margin-top: 0.85rem;
  align-self: flex-start;
}

.price-card.price-card-pro {
  background: var(--price-pro-bg, #171614);
  color: var(--price-pro-ink, #f4f1ea);
  border-color: transparent;
}

.price-card.price-card-pro .plan-flag,
.price-card.price-card-pro .price span,
.price-card.price-card-pro .card-note {
  color: var(--price-pro-muted, #c4beb4);
}

.price-card.price-card-pro h3,
.price-card.price-card-pro .price {
  color: var(--price-pro-ink, #f4f1ea);
}

.price-card.price-card-pro .price {
  font-size: var(--price-pro-size, clamp(3.6rem, 6vw, 5rem));
}

.faq {
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
  interpolate-size: allow-keywords;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
  padding: 0.9rem 0;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.chev {
  width: 0.5rem;
  height: 0.5rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  flex-shrink: 0;
  transition: transform 200ms var(--ease-out);
}

.faq details[open] .chev {
  transform: translateY(2px) rotate(-135deg);
}

.faq details::details-content {
  height: 0;
  overflow: clip;
  transition: height 240ms var(--ease-out), content-visibility 240ms allow-discrete;
  transition-behavior: allow-discrete;
}

.faq details[open]::details-content {
  height: auto;
}

.faq details p {
  margin: 0 0 1.05rem;
  max-width: 65ch;
}

.close {
  position: relative;
  z-index: 1;
  padding: var(--cta-pad-top, 1.5rem) 0 var(--cta-pad-bottom, 0);
  margin-bottom: -2.5rem;
  text-align: var(--cta-align, center);
}

.cta-card {
  padding: 3.25rem 1.5rem 2.6rem;
  border-radius: var(--cta-card-radius, 28px);
  background: var(--cta-card-bg, #171614);
  color: var(--cta-ink, #f7f4ee);
}

.cta-card h2 {
  margin-inline: auto;
  max-width: var(--cta-headline-measure, 14em);
  color: var(--cta-ink, #f7f4ee);
}

.cta-offer {
  color: var(--cta-offer, #f4f1ea);
}

.cta-card .actions {
  justify-content: center;
}

.cta-card .note {
  margin-inline: auto;
  color: var(--cta-muted, #d2cdc2);
}

.cta-alt {
  margin: 0.85rem 0 0;
}

.cta-alt a {
  color: var(--cta-ink, #f7f4ee);
  font-weight: 600;
}

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--footer-bg, #171614);
  color: var(--footer-ink, #f3f0e8);
  border-radius: var(--footer-radius, 28px 28px 0 0);
  padding: 3.25rem 0 0;
}

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

.site-footer a:hover {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.site-footer :focus-visible {
  outline-color: var(--footer-focus, #f3f0e8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.15fr;
  gap: 2rem 1.5rem;
}

.footer-brand p {
  margin: 0.75rem 0 0;
  max-width: 22rem;
  color: var(--footer-muted);
}

.footer-brand .wordmark {
  color: var(--footer-ink);
}

.site-footer .wordmark svg {
  outline: var(--footer-mark-outline, none);
}

.footer-brand .wordmark:hover,
.footer-brand .wordmark:visited {
  color: var(--footer-ink);
}

.footer-label {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--footer-muted);
}

.footer-grid nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.15rem;
}

.footer-grid nav a,
.footer-contact a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-footer address {
  font-style: normal;
  margin: 0;
  color: var(--footer-muted);
}

.footer-contact p {
  margin: 0;
}

.disclaimer {
  margin: 1.75rem 0 0;
  max-width: 40rem;
  color: var(--footer-muted);
  font-size: 0.9rem;
}

.giant-wrap {
  margin-top: 2.2rem;
  overflow: hidden;
  height: calc(var(--footer-word-size, 12rem) * 0.58);
}

.giant {
  display: block;
  width: min(140%, 22em);
  height: var(--footer-word-size, 12rem);
  color: var(--footer-word, rgba(255, 255, 255, 0.07));
  user-select: none;
}

.legal {
  padding: 2.75rem 0 4.5rem;
}

.legal-wrap {
  width: min(42rem, 100%);
}

.legal h1 {
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  text-align: left;
  margin-bottom: 0.75rem;
}

.legal h2 {
  margin-top: 2.3rem;
  font-size: 1.45rem;
}

.legal h3 {
  margin-top: 1.25rem;
}

.legal .kicker {
  justify-content: flex-start;
}

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

.toc {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.95rem 1.05rem 1.05rem;
  margin: 1.5rem 0 0.4rem;
}

.toc ol {
  margin: 0.35rem 0 0;
  padding-left: 1.2rem;
}

.toc li + li {
  margin-top: 0.28rem;
}

.perms {
  margin: 0;
}

.perms dt {
  font-family: var(--mono);
  font-size: 0.92rem;
  margin-top: 0.9rem;
  overflow-wrap: anywhere;
}

.perms dd {
  margin: 0.15rem 0 0;
}

.callout {
  border-radius: 16px;
  padding: 0.95rem 1rem;
  margin: 1rem 0;
  background: color-mix(in srgb, var(--green) 12%, var(--bg));
}

.callout p:last-child {
  margin-bottom: 0;
}

#product,
#pricing,
#questions,
.legal h2,
.legal h3 {
  scroll-margin-top: 5.5rem;
}

.missing {
  padding: 5rem 0 6rem;
}

.missing .kicker,
.legal .kicker {
  justify-content: flex-start;
}

.missing h1 {
  text-align: left;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
}

.missing p {
  max-width: 36rem;
  font-size: 1.125rem;
}

/* First visit of the home hero. Marketing entrance, not a repeated control. */
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes frame-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Hero copy is on screen immediately. A fade-up here would delay LCP. */

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover {
    background: var(--btn-primary-hover, #fff);
    border-color: var(--btn-primary-hover, #fff);
    color: var(--btn-primary-ink, #1c1915);
    transform: translateY(var(--btn-hover-lift, -1px)) scale(var(--btn-hover-scale, 1.02));
  }

  .btn-primary:hover::before {
    opacity: 1;
  }

  .btn-ghost:hover {
    background: var(--btn-ghost-hover, transparent);
    color: var(--btn-ghost-ink, var(--ink));
    transform: translateY(var(--btn-hover-lift, -1px));
  }

  .nav a:hover {
    background: var(--nav-hover, transparent);
    color: var(--nav-ink, var(--ink));
  }

  .replay:hover {
    background: rgba(28, 25, 21, 0.05);
  }

  .site-footer .wordmark:hover {
    text-decoration: none;
  }
}

.btn-primary:active,
.btn-ghost:active,
.replay:active {
  transform: scale(var(--btn-press, 0.97));
}

@media (max-width: 900px) {
  .hero-grid,
  .steps,
  .split,
  .price-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .price-card-pro {
    order: -1;
  }

  .split {
    gap: 1.75rem;
  }

  .split .shot {
    max-width: 420px;
  }
}

@media (max-width: 640px) {
  .feature {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .actions .btn,
  .price-card .btn {
    width: 100%;
  }

  .stage {
    padding: 0.65rem;
    border-radius: min(20px, var(--hero-frame-radius, 28px));
  }

  .footer-grid {
    gap: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .chev,
  .btn,
  .btn-primary::before,
  .replay,
  .faq details::details-content {
    transition: none;
  }

  .btn-primary:hover,
  .btn-ghost:hover,
  .btn-primary:active,
  .btn-ghost:active,
  .btn:active,
  .replay:active {
    transform: none;
  }

  .demo.arm .live-badge {
    transition: opacity 200ms ease;
  }

  .demo.arm:not(.is-in) .live-badge {
    transform: none;
  }
}

@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (forced-colors: active) {
  .btn,
  .replay,
  .demo,
  .price-card,
  .toc,
  .shot,
  .stage,
  .live-badge {
    border: 1px solid ButtonText;
  }

  .btn-primary {
    background: ButtonText;
    color: ButtonFace;
  }
}

@media print {
  .skip,
  .site-header,
  .actions,
  .replay,
  .giant-wrap {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }

  .site-footer {
    background: #fff;
    color: #000;
    border-top: 1px solid #000;
    border-radius: 0;
  }

  .site-footer a,
  .footer-label,
  .disclaimer,
  .footer-brand p {
    color: #000;
  }

  a {
    text-decoration: underline;
  }
}
