/*
  Tokens copied from the product, not imported at runtime.
  Source: frontend/src/components/prototype/shared.jsx (GlobalStyles :root,
  glass-panel, glass-subcard, brand-mark, tasty-emblem, Badge, PageCard)
  and frontend/src/index.css (.tasty-surface, .tasty-card, .tasty-card-muted,
  .tasty-card-accent). Screen fills such as #ff7a3d come from the app screens.
  Instrument Sans and Fraunces are self-hosted (SIL OFL). No CDN.
*/

@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Fraunces;
  src: url("/assets/fonts/fraunces-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Fraunces;
  src: url("/assets/fonts/fraunces-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #ffffff;
  --bg-end: #fff3ea;
  --ink: #1f2438;
  --muted: #667087;
  --accent: #ff7a3d;
  --violet: #7c5cff;
  --accent-strong: #c94f1f;
  --accent-text: #9b3f20;
  --success: #20b26b;
  --brand-soft: #ffb27b;
  --brand-strong: #f06a2f;
  --brand-shadow: rgba(240, 106, 47, 0.34);
  --paper: #fbfaf8;
  --line: rgba(31, 36, 56, 0.08);
  --accent-line: rgba(255, 122, 61, 0.16);
  --accent-wash: rgba(255, 122, 61, 0.07);
  --accent-chip: rgba(255, 122, 61, 0.12);
  --success-wash: rgba(32, 178, 107, 0.15);
  --shadow: 0 24px 70px rgba(67, 39, 13, 0.12);
  --panel-shadow: 0 18px 42px rgba(67, 39, 13, 0.1);
  --sans: "Instrument Sans", system-ui, sans-serif;
  --display: Fraunces, Georgia, serif;
  --header: 4.5rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(255, 154, 95, 0.22), transparent 30%),
    radial-gradient(circle at top right, rgba(255, 203, 166, 0.42), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-end) 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

p,
h1,
h2,
h3,
ul,
ol,
figure {
  margin: 0;
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 0.75rem;
  outline-color: var(--paper);
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
}

.nav-bar {
  position: relative;
  display: flex;
  align-items: center;
  min-height: var(--header);
  gap: 1rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.36), transparent 32%),
    linear-gradient(135deg, var(--brand-soft) 0%, var(--brand-strong) 100%);
  box-shadow: 0 0 12px var(--brand-shadow);
}

.nav-check {
  position: absolute;
  right: 0;
  top: 0.85rem;
  width: 5.5rem;
  height: 2.75rem;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.nav-check:focus {
  outline: none;
}

.nav-check:focus-visible + .nav-toggle {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.nav-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 1rem;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  content: "";
}

.nav-toggle-icon {
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  position: absolute;
  left: 0;
}

.nav-toggle-icon::before {
  top: -5px;
}

.nav-toggle-icon::after {
  top: 5px;
}

.when-open {
  display: none;
}

.nav-check:checked + .nav-toggle .when-closed {
  display: none;
}

.nav-check:checked + .nav-toggle .when-open {
  display: inline;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem 0.35rem;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}

.nav-links a:hover {
  color: var(--ink);
  background: var(--accent-chip);
}

.nav-links .button {
  color: var(--ink);
}

.nav-links .button:hover {
  background: var(--accent);
  color: var(--ink);
}

.nav-check:checked ~ .nav-links {
  position: absolute;
  top: calc(100% - 0.15rem);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.15rem;
  padding: 0.55rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 20px 48px rgba(67, 39, 13, 0.11);
}

.nav-check:checked ~ .nav-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(255, 122, 61, 0.22);
}

.button-primary:hover {
  background: #ff8b56;
}

.button-secondary {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(67, 39, 13, 0.06);
}

.button-secondary:hover {
  background: var(--accent-chip);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 5.25rem 0 6rem;
  background-color: #fff5f1;
  background-image:
    radial-gradient(ellipse 75% 68% at 28% 42%, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.5) 58%, rgba(255, 255, 255, 0) 100%),
    radial-gradient(ellipse 42% 36% at 100% -4%, rgba(124, 92, 255, 0.16), rgba(124, 92, 255, 0) 70%),
    radial-gradient(ellipse 36% 28% at -6% 112%, rgba(255, 122, 61, 0.12), rgba(255, 122, 61, 0) 68%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 68%, rgba(255, 255, 255, 0) 100%);
  background-position: center top;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
}

.hero::before {
  width: 46%;
  height: 42%;
  top: -16%;
  right: -10%;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.24) 0%, rgba(124, 92, 255, 0) 72%);
  filter: blur(42px);
  animation: mesh-drift 22s ease-in-out infinite;
}

.hero::after {
  width: 42%;
  height: 34%;
  left: -16%;
  bottom: -30%;
  background: radial-gradient(circle, rgba(255, 122, 61, 0.22) 0%, rgba(255, 122, 61, 0) 72%);
  filter: blur(40px);
  animation: mesh-drift 26s ease-in-out infinite reverse;
}

.hero .shot-frame {
  border-color: rgba(31, 36, 56, 0.08);
  background: #fff;
  box-shadow:
    0 24px 64px rgba(67, 39, 13, 0.04),
    0 1px 2px rgba(31, 36, 56, 0.04);
}

.hero-copy,
.hero .shot {
  animation: rise 0.7s ease both;
}

.hero .shot {
  animation-delay: 0.12s;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1,
h2,
.app-heading,
.thanks h1 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 12em;
  font-size: clamp(2.6rem, 4.6vw, 4rem);
  line-height: 1.05;
  text-wrap: balance;
}

.subhead {
  max-width: 38rem;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1.75rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.price {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.95rem;
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  background: var(--accent-chip);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
}

.price-large {
  margin-top: 1.35rem;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
}

.motifs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

#product {
  /* tasty-card-accent wash, flattened on white so muted text stays above 4.5:1 */
  background: #fff5f1;
}

#features {
  background: var(--paper);
}

section[id] {
  scroll-margin-top: 5.25rem;
}

.section {
  padding: 5.25rem 0;
}

h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.12;
}

h2::before {
  display: block;
  width: 2.6rem;
  height: 0.4rem;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-soft) 0%, var(--brand-strong) 100%);
  content: "";
}

.lede {
  max-width: 40rem;
  margin-top: 0.85rem;
  color: var(--muted);
}

.shot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.shot-grid .shot-wide {
  grid-column: 1 / -1;
}

.shot figcaption {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero .shot figcaption {
  margin-top: 1.15rem;
}

.shot-frame {
  container-type: inline-size;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--panel-shadow);
  transition: border-color 180ms ease, transform 180ms ease;
}

.shot-frame:hover {
  border-color: rgba(255, 122, 61, 0.28);
  transform: translateY(-4px);
}

.shot-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.6rem;
  padding: 0.45rem 0.8rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.dots {
  display: flex;
  gap: 0.32rem;
}

.dots i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
}

.dots i:nth-child(1) {
  background: var(--brand-soft);
}

.dots i:nth-child(2) {
  background: var(--accent);
}

.dots i:nth-child(3) {
  background: var(--success);
}

.shot-url {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.75rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app {
  display: grid;
  grid-template-columns: 11.25rem minmax(0, 1fr);
  min-height: 16rem;
  background:
    radial-gradient(circle at top left, rgba(255, 154, 95, 0.16), transparent 42%),
    linear-gradient(180deg, #fff 0%, var(--bg-end) 100%);
}

.app-side {
  padding: 0.85rem 0.7rem;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
}

.app-mark {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.app-search {
  margin-top: 0.65rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 0.72rem;
}

.app-nav {
  display: grid;
  gap: 0.15rem;
  margin-top: 0.7rem;
  padding: 0;
  list-style: none;
}

.app-nav li {
  padding: 0.32rem 0.55rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.app-nav .is-on {
  background: var(--accent-chip);
  color: var(--ink);
}

.app-main {
  padding: 0.95rem 1rem 1.1rem;
}

.app-kicker {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.app-heading {
  margin-top: 0.2rem;
  font-size: 1.2rem;
  line-height: 1.2;
}

.task-list,
.round-list,
.queue {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.8rem;
  padding: 0;
  list-style: none;
}

.task,
.queue li,
.round {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.7rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.8) 100%);
  box-shadow: 0 14px 30px rgba(67, 39, 13, 0.08);
}

.task strong,
.queue strong,
.round strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.task em,
.queue em,
.round em {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 500;
}

.avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.36), transparent 32%),
    linear-gradient(135deg, var(--brand-soft) 0%, var(--brand-strong) 100%);
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 700;
}

.avatar.alt {
  background: var(--ink);
  color: var(--paper);
}

.badge {
  display: inline-flex;
  align-items: center;
  margin-top: 0.35rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(31, 36, 56, 0.05);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
}

.badge-accent {
  border: 1px solid var(--accent-line);
  background: var(--accent-chip);
  color: var(--ink);
}

.badge-success {
  background: var(--success-wash);
  color: var(--ink);
}

.motifs .badge {
  margin-top: 0;
  padding: 0.4rem 0.8rem;
  font-size: 0.78rem;
  box-shadow: 0 10px 24px rgba(67, 39, 13, 0.08);
}

.motifs .badge:nth-child(1) {
  transform: rotate(-2deg);
}

.motifs .badge:nth-child(3) {
  transform: rotate(2deg);
}

.pipe {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.pipe-col {
  min-width: 0;
  padding: 0.5rem;
  border: 1px solid var(--accent-line);
  border-radius: 16px;
  background: var(--accent-wash);
}

.pipe-col p {
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-mini {
  padding: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.card-mini strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
}

.card-mini span {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.7rem;
}

.scorecard {
  margin-top: 0.55rem;
  padding: 0.75rem;
  border: 1px solid var(--accent-line);
  border-radius: 16px;
  background: var(--accent-wash);
}

.scorecard strong {
  font-size: 0.82rem;
  font-weight: 700;
}

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

.steps li {
  padding: 1.15rem 1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.8) 100%);
  box-shadow: 0 14px 30px rgba(67, 39, 13, 0.08);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  min-height: 2rem;
  margin-bottom: 0.75rem;
  padding: 0.15rem 0.55rem;
  border-radius: 15px;
  background: var(--accent);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(255, 122, 61, 0.2);
}

.steps h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2rem;
}

.feature {
  padding: 1.3rem 1.15rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--panel-shadow);
  transition: border-color 180ms ease, transform 180ms ease;
}

.feature:hover {
  border-color: rgba(255, 122, 61, 0.28);
  transform: translateY(-3px);
}

.icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.95rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.36), transparent 32%),
    linear-gradient(135deg, var(--brand-soft) 0%, var(--brand-strong) 100%);
  box-shadow: 0 10px 28px var(--brand-shadow);
  color: var(--ink);
}

.feature h3 {
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.feature p {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.pilot-card {
  max-width: 40rem;
  margin: 0.5rem auto 0;
  padding: 2rem 1.6rem 1.8rem;
  border: 1px solid var(--accent-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.pilot-card h3 {
  margin-top: 1.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.gets {
  margin-top: 0.35rem;
  padding: 0;
  list-style: none;
}

.gets li {
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.pilot-card .button {
  margin-top: 1.25rem;
}

.faq {
  max-width: 44rem;
  margin-top: 1.75rem;
}

.faq details {
  margin-bottom: 0.7rem;
  padding: 0.15rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px rgba(67, 39, 13, 0.06);
}

.faq details:last-child {
  margin-bottom: 0;
}

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

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

.faq summary::after {
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  border-radius: 1px;
  transform: translateY(-0.15rem) rotate(45deg);
  content: "";
}

.faq details[open] summary::after {
  transform: translateY(0.15rem) rotate(225deg);
}

.faq details p {
  max-width: 40rem;
  padding: 0 0 1rem;
  color: var(--muted);
}

.site-footer {
  background: var(--ink);
  color: var(--paper);
}

.site-footer :focus-visible {
  outline-color: var(--paper);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 3rem;
}

.site-footer .wordmark {
  color: var(--paper);
}

.footer-line {
  max-width: 28rem;
  margin-top: 0.7rem;
  color: var(--bg-end);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-content: flex-start;
}

.footer-links a {
  color: var(--paper);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.copyright {
  margin-top: 2rem;
  padding-bottom: 2rem;
  color: var(--bg-end);
  font-size: 0.92rem;
}

.thanks {
  width: min(40rem, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 5.5rem 0 4.5rem;
}

.thanks h1 {
  max-width: 14ch;
  font-size: clamp(2.2rem, 5vw, 3.3rem);
}

.thanks .lede {
  margin-top: 1rem;
  font-size: 1.15rem;
}

.thanks .button {
  margin-top: 1.75rem;
}

.review-banner {
  display: none;
}

html.review .review-banner {
  display: block;
  width: min(76rem, calc(100% - 2.5rem));
  margin: 1rem auto 0;
  padding: 0.85rem 1rem;
  border: 1px dashed var(--ink);
  border-radius: 16px;
  background: #fff;
}

html.review [data-placeholder] {
  outline: 1px dashed var(--ink);
  outline-offset: 4px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes mesh-drift {
  50% {
    transform: translate3d(2.5%, -2%, 0) scale(1.05);
  }
}

@container (max-width: 520px) {
  .app {
    grid-template-columns: 1fr;
  }

  .app-side {
    display: none;
  }
}

@container (max-width: 720px) {
  .pipe {
    grid-template-columns: 1fr 1fr;
  }
}

@container (max-width: 380px) {
  .pipe {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 999px) {
  .hero-grid,
  .shot-grid,
  .feature-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .shot-grid .shot-wide {
    grid-column: auto;
  }
}

@media (min-width: 1000px) {
  .nav-check,
  .nav-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
    margin-left: auto;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

@media (min-width: 700px) and (max-width: 999px) {
  .feature-grid,
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .footer-grid {
    flex-direction: column;
  }

  .wrap {
    width: min(76rem, calc(100% - 2rem));
  }

  .motifs .badge {
    transform: none;
  }
}

@media (forced-colors: active) {
  .button,
  .feature,
  .shot-frame,
  .faq details {
    border: 1px solid ButtonText;
  }

  .hero::before,
  .hero::after {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .button:hover,
  .feature:hover,
  .shot-frame:hover,
  .motifs .badge {
    transform: none;
  }
}
