:root {
  color-scheme: light dark;
  --background: #f5f1e8;
  --surface: #fffdf8;
  --surface-strong: #ffffff;
  --text: #17211b;
  --muted: #5b675f;
  --border: #d8d6ca;
  --border-strong: #b9bdb4;
  --accent: #c8f05a;
  --accent-strong: #557600;
  --accent-ink: #233007;
  --dark-surface: #17231c;
  --dark-text: #f6f7ef;
  --closing-muted: #b8c7bc;
  --closing-button-border: #526158;
  --closing-button-hover: #223129;
  --floating-note-border: rgb(23 33 27 / 12%);
  --focus: #315dff;
  --shadow: 0 1.5rem 4rem rgb(30 39 32 / 12%);
  --phone-shadow: var(--shadow);
  --content: 72rem;
  --radius-large: 2rem;
}

:root[data-theme="light"] {
  color-scheme: light;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --background: #101915;
  --surface: #15211a;
  --surface-strong: #1c2a21;
  --text: #f1f3e9;
  --muted: #aab6ad;
  --border: #344239;
  --border-strong: #536158;
  --accent: #b8dd4f;
  --accent-strong: #b8dd4f;
  --accent-ink: #1c2804;
  --dark-surface: #e8eadf;
  --dark-text: #17211b;
  --closing-muted: #536158;
  --closing-button-border: #a8afa8;
  --closing-button-hover: #daddd2;
  --floating-note-border: rgb(255 255 255 / 8%);
  --shadow: 0 1.5rem 4rem rgb(0 0 0 / 34%);
  --phone-shadow: 0 1.5rem 4rem rgb(0 0 0 / 45%);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

a:focus-visible,
.theme-toggle:focus-visible {
  border-radius: 0.35rem;
  outline: 0.2rem solid var(--focus);
  outline-offset: 0.25rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 760;
  line-height: 1.03;
  letter-spacing: -0.045em;
}

svg {
  display: block;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  transform: translateY(-150%);
  border-radius: 999px;
  background: var(--text);
  color: var(--background);
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
main,
.site-footer {
  width: min(calc(100% - 3rem), var(--content));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.7rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: max(0.2964em, 8.74px);
  font-size: 1.08rem;
  font-weight: 780;
  letter-spacing: -0.025em;
  text-decoration: none;
}

/* Hoja de marca 6a · 04: S = max(0,78 · cuerpo, piso de la variante), separación
   0,38 S. El piso de la variante A en web es 23px, porque su puente de material
   necesita 1,6px de dispositivo y la densidad del visitante no se controla.
   A cuerpo 17,3px manda el piso; desde cuerpo 29,5px manda la proporción, que es
   lo que cubre el 0,78em. */
.brand-mark {
  width: max(0.78em, 23px);
  height: max(0.78em, 23px);
  fill: currentColor;
}

.site-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a,
.site-footer nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.site-footer nav a:hover {
  color: var(--text);
}

.site-nav [aria-current="page"],
.site-footer nav [aria-current="page"] {
  color: var(--text);
}

.site-nav .language-switch {
  justify-content: center;
  min-width: 2.75rem;
  padding-inline: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
}

.site-nav .language-switch:hover {
  border-color: var(--border-strong);
  background: var(--surface);
}

.theme-toggle {
  display: none;
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

:root[data-theme-ready] .theme-toggle {
  display: inline-grid;
}

.theme-toggle:hover {
  border-color: var(--border-strong);
  background: var(--surface);
}

.theme-toggle svg {
  display: none;
  width: 1.15rem;
  height: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

:root[data-resolved-theme="dark"] .theme-icon-sun,
:root[data-resolved-theme="light"] .theme-icon-moon {
  display: block;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(24rem, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  min-height: 42rem;
  padding-block: 3.5rem 5rem;
}

.eyebrow {
  margin-bottom: 1.1rem;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 11ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3.8rem, 7.5vw, 7rem);
}

.hero h1 span {
  position: relative;
  z-index: 0;
}

.hero h1 span::after {
  position: absolute;
  z-index: -1;
  right: -0.08em;
  bottom: 0.08em;
  left: -0.05em;
  height: 0.23em;
  border-radius: 999px;
  background: var(--accent);
  content: "";
  transform: rotate(-1.5deg);
}

.hero-lede {
  max-width: 34rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  line-height: 1.55;
}

.hero-actions,
.app-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 3.2rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-0.12rem);
}

.button svg {
  width: 1.15rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.button-primary {
  background: var(--text);
  box-shadow: 0 0.75rem 1.5rem rgb(23 33 27 / 18%);
  color: var(--background);
}

.button-primary:hover {
  box-shadow: 0 1rem 2rem rgb(23 33 27 / 24%);
}

.button-secondary {
  border-color: var(--border-strong);
  background: transparent;
}

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

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-weight: 720;
  text-decoration-color: var(--border-strong);
  text-decoration-thickness: 0.09em;
}

.text-link:hover {
  text-decoration-color: currentColor;
}

.hero-art {
  position: relative;
  min-height: 35rem;
}

.orbit {
  position: absolute;
  border: 1px solid var(--border);
  border-radius: 50%;
}

.orbit-large {
  inset: 0.5rem 0 0 0.5rem;
}

.orbit-small {
  inset: 6rem 5rem 5.5rem 4.5rem;
  border-style: dashed;
}

.phone {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: min(18.5rem, 60%);
  padding: 0.8rem;
  transform: translate(-50%, -50%) rotate(3deg);
  border: 0.5rem solid #202b24;
  border-radius: 2.25rem;
  background: #eef0e8;
  box-shadow: var(--phone-shadow);
  color: #17211b;
}

.phone::before {
  position: absolute;
  top: 0.35rem;
  left: 50%;
  width: 3.2rem;
  height: 0.3rem;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #202b24;
  content: "";
}

.phone-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 0.25rem 0.7rem;
  font-size: 0.7rem;
  font-weight: 750;
}

.phone-logo {
  font-size: 0.92rem;
  letter-spacing: -0.03em;
}

.phone-count {
  color: #687169;
}

.photo-card {
  position: relative;
  height: 20rem;
  overflow: hidden;
  border-radius: 1.25rem;
  background: linear-gradient(165deg, #a8d8e6 0%, #d9eff2 54%, #b7cd7c 54.5%, #6f9455 100%);
}

.photo-sun {
  position: absolute;
  top: 2.2rem;
  right: 2.1rem;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: #ffe48e;
  box-shadow: 0 0 0 0.65rem rgb(255 228 142 / 28%);
}

.photo-hill {
  position: absolute;
  bottom: -3rem;
  width: 17rem;
  height: 10rem;
  border-radius: 50% 50% 0 0;
  transform: rotate(-12deg);
}

.photo-hill-back {
  right: -7rem;
  bottom: -1rem;
  background: #99b765;
}

.photo-hill-front {
  left: -5rem;
  background: #537d4d;
}

.photo-date {
  position: absolute;
  bottom: 0.8rem;
  left: 0.85rem;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgb(16 25 21 / 72%);
  color: white;
  font-size: 0.62rem;
  font-weight: 700;
}

.gesture-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0.2rem 0.2rem;
}

.gesture {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 50%;
}

.gesture svg {
  width: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.gesture-keep {
  background: #d6f0ba;
  color: #326220;
}

.gesture-delete {
  background: #ffd4c8;
  color: #9b3d26;
}

.gesture-label {
  color: #687169;
  font-size: 0.58rem;
  font-weight: 680;
}

.floating-note {
  position: absolute;
  z-index: 3;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--floating-note-border);
  border-radius: 999px;
  box-shadow: 0 0.8rem 2rem rgb(30 39 32 / 12%);
  font-size: 0.72rem;
  font-weight: 780;
}

.note-keep {
  top: 23%;
  right: 2%;
  transform: rotate(5deg);
  background: var(--accent);
  color: var(--accent-ink);
}

.note-delete {
  bottom: 22%;
  left: 0;
  transform: rotate(-5deg);
  background: #ffd4c8;
  color: #762b1b;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.principles article {
  padding: 2.5rem clamp(1.25rem, 3vw, 2.75rem);
  border-right: 1px solid var(--border);
}

.principles article:first-child {
  padding-left: 0;
}

.principles article:last-child {
  padding-right: 0;
  border-right: 0;
}

.principle-number {
  display: inline-block;
  margin-bottom: 2.75rem;
  color: var(--accent-strong);
  font-size: 0.73rem;
  font-weight: 820;
  letter-spacing: 0.08em;
}

.principles h2 {
  margin-bottom: 0.7rem;
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}

.principles p {
  max-width: 16rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.app-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(3rem, 10vw, 8rem);
  padding-block: clamp(6rem, 12vw, 10rem);
}

.app-intro h2,
.closing h2 {
  margin-bottom: 0;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
}

.app-summary {
  max-width: 34rem;
  margin-bottom: 2.75rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.25rem);
}

.feature-list {
  padding: 0;
  margin: 0 0 2.75rem;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  align-items: start;
  gap: 1rem;
  padding-block: 1.15rem;
  border-top: 1px solid var(--border);
}

.feature-list li:last-child {
  border-bottom: 1px solid var(--border);
}

.feature-list svg {
  width: 1.45rem;
  margin-top: 0.1rem;
  fill: none;
  stroke: var(--accent-strong);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.feature-list strong {
  letter-spacing: -0.015em;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.48rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 720;
}

.status span {
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--accent-strong);
  box-shadow: 0 0 0 0.22rem color-mix(in srgb, var(--accent-strong), transparent 78%);
}

.closing {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(3rem, 10vw, 8rem);
  padding: clamp(3rem, 7vw, 5.5rem);
  border-radius: var(--radius-large);
  background: var(--dark-surface);
  color: var(--dark-text);
}

.closing .eyebrow,
.closing-copy p {
  color: var(--closing-muted);
}

.closing-copy {
  align-self: end;
}

.closing-copy p {
  margin-bottom: 1.75rem;
  font-size: 1.08rem;
}

.closing .button-secondary {
  border-color: var(--closing-button-border);
}

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

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.8rem 2rem;
  padding-block: 4rem 2.5rem;
}

.footer-brand {
  width: max-content;
}

.site-footer > p:not(.copyright) {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer nav {
  grid-row: 1 / span 2;
  grid-column: 2;
}

.copyright {
  grid-column: 1 / -1;
  margin: 1.8rem 0 0;
  padding-top: 1.3rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.76rem;
}

/* Privacy policy */
.site-shell,
.policy + .site-footer {
  width: min(calc(100% - 3rem), 46rem);
  margin-inline: auto;
}

.site-shell {
  min-height: calc(100vh - 10rem);
  padding-block: clamp(3rem, 8vw, 6rem);
}

.policy .updated {
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  margin-bottom: 2.5rem;
  color: var(--muted);
  font-weight: 720;
  text-decoration-color: var(--border-strong);
}

.back-link:hover {
  color: var(--text);
}

.language-links {
  display: flex;
  gap: 0.55rem;
  margin-bottom: 3rem;
  font-weight: 700;
}

.page-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 3rem;
}

.page-controls .language-links {
  margin-bottom: 0;
}

.language-links [aria-current="page"] {
  color: var(--muted);
}

.policy article > p {
  margin-bottom: 0.95rem;
}

.policy h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.6rem, 7vw, 4.5rem);
}

.policy h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.8rem;
  font-size: 1.45rem;
  letter-spacing: -0.025em;
}

code {
  padding: 0.1em 0.3em;
  border-radius: 0.3rem;
  background: color-mix(in srgb, var(--text), transparent 92%);
  overflow-wrap: anywhere;
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.88em;
}

hr {
  margin-block: 5rem;
  border: 0;
  border-top: 1px solid var(--border);
}

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

/* Criba product page */
.product-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(28rem, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  min-height: 44rem;
  padding-block: 4rem 6rem;
}

.product-hero h1 {
  max-width: 10ch;
  margin-bottom: 1.6rem;
  font-size: clamp(3.7rem, 6.5vw, 6.25rem);
}

.product-hero h1 span {
  position: relative;
  z-index: 0;
}

.product-hero h1 span::after {
  position: absolute;
  z-index: -1;
  right: -0.08em;
  bottom: 0.07em;
  left: -0.06em;
  height: 0.22em;
  transform: rotate(-1.5deg);
  border-radius: 999px;
  background: var(--accent);
  content: "";
}

.product-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 2.1rem;
}

.product-facts span {
  padding: 0.42rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 720;
}

.product-showcase {
  position: relative;
  min-height: 39rem;
  margin: 0;
}

.showcase-orbit {
  position: absolute;
  inset: 1rem;
  border: 1px solid var(--border);
  border-radius: 50%;
}

.showcase-orbit::after {
  position: absolute;
  inset: 5rem;
  border: 1px dashed var(--border);
  border-radius: 50%;
  content: "";
}

.product-phone {
  width: min(19rem, 58%);
  transform: translate(-50%, -50%) rotate(2.5deg);
}

.swipe-cue {
  position: absolute;
  z-index: 3;
  top: 43%;
  display: flex;
  align-items: center;
  flex-direction: column;
  min-width: 7rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--floating-note-border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  line-height: 1.2;
}

.swipe-cue span {
  margin-bottom: 0.18rem;
  font-size: 0.62rem;
  font-weight: 700;
  opacity: 0.72;
}

.swipe-cue strong {
  font-size: 0.8rem;
}

.swipe-cue-delete {
  left: 0;
  transform: rotate(-4deg);
  background: #ffd4c8;
  color: #762b1b;
}

.swipe-cue-keep {
  right: 0;
  transform: rotate(4deg);
  background: var(--accent);
  color: var(--accent-ink);
}

.product-showcase figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  color: var(--muted);
  font-size: 0.72rem;
  text-align: center;
}

.workflow {
  padding-block: clamp(6rem, 10vw, 9rem);
  border-top: 1px solid var(--border);
}

.product-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: end;
  gap: clamp(2rem, 8vw, 7rem);
  margin-bottom: 4rem;
}

.product-section-heading h2,
.review-explainer h2,
.privacy-promise h2 {
  margin-bottom: 0;
  font-size: clamp(2.65rem, 5vw, 4.5rem);
}

.product-section-heading > p {
  max-width: 34rem;
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  list-style: none;
}

.workflow-grid li {
  min-height: 24rem;
  padding: clamp(1.6rem, 3.5vw, 2.8rem);
  border-right: 1px solid var(--border);
  background: var(--surface);
}

.workflow-grid li:last-child {
  border-right: 0;
}

.workflow-number {
  display: block;
  margin-bottom: 3.5rem;
  color: var(--accent-strong);
  font-size: 0.73rem;
  font-weight: 820;
  letter-spacing: 0.08em;
}

.workflow-grid svg {
  width: 2.4rem;
  margin-bottom: 2rem;
  fill: none;
  stroke: var(--accent-strong);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.workflow-grid h3 {
  margin-bottom: 0.85rem;
  font-size: 1.35rem;
}

.workflow-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.review-explainer,
.privacy-promise {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(3rem, 9vw, 7rem);
}

.review-explainer {
  padding: clamp(2.5rem, 6vw, 5rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: var(--surface);
}

.review-copy {
  align-self: end;
}

.review-copy > p {
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.review-path {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.review-path span {
  padding: 0.42rem 0.7rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 740;
  white-space: nowrap;
}

.review-path svg {
  flex: 0 0 auto;
  width: 1rem;
  fill: none;
  stroke: var(--accent-strong);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.privacy-promise {
  padding-block: clamp(6rem, 11vw, 9rem);
}

.privacy-lede {
  max-width: 34rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.privacy-points {
  padding: 0;
  margin: 0 0 2rem;
  list-style: none;
}

.privacy-points li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-block: 0.85rem;
  border-top: 1px solid var(--border);
  font-weight: 680;
}

.privacy-points li:last-child {
  border-bottom: 1px solid var(--border);
}

.privacy-points span {
  display: grid;
  flex: 0 0 auto;
  width: 1.65rem;
  height: 1.65rem;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.75rem;
}

.product-closing {
  margin-bottom: 1rem;
}

@media (max-width: 54rem) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 4rem;
  }

  .hero-copy {
    position: relative;
    z-index: 4;
  }

  .hero-art {
    min-height: 32rem;
  }

  .orbit-large {
    inset-inline: 8%;
  }

  .orbit-small {
    inset-inline: 20%;
  }

  .note-keep {
    right: 10%;
  }

  .note-delete {
    left: 10%;
  }

  .principles {
    grid-template-columns: 1fr;
  }

  .principles article,
  .principles article:first-child,
  .principles article:last-child {
    display: grid;
    grid-template-columns: 3rem 1fr;
    padding: 1.5rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .principles article:last-child {
    border-bottom: 0;
  }

  .principle-number {
    grid-row: 1 / span 2;
    margin: 0;
  }

  .principles h2 {
    margin-bottom: 0.35rem;
  }

  .principles p {
    max-width: none;
  }

  .app-section,
  .closing {
    grid-template-columns: 1fr;
  }

  .product-hero {
    grid-template-columns: 1fr;
    padding-top: 4.5rem;
  }

  .product-hero-copy {
    position: relative;
    z-index: 4;
  }

  .product-showcase {
    min-height: 35rem;
  }

  .showcase-orbit {
    inset-inline: 9%;
  }

  .swipe-cue-delete {
    left: 8%;
  }

  .swipe-cue-keep {
    right: 8%;
  }

  .product-section-heading,
  .review-explainer,
  .privacy-promise {
    grid-template-columns: 1fr;
  }

  .product-section-heading {
    gap: 1.5rem;
  }

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

  .workflow-grid li {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .workflow-grid li:last-child {
    border-bottom: 0;
  }

  .workflow-number {
    margin-bottom: 2rem;
  }

  .closing-copy {
    max-width: 32rem;
  }
}

@media (max-width: 38rem) {
  .site-header,
  main,
  .site-footer,
  .site-shell,
  .policy + .site-footer {
    width: min(calc(100% - 2rem), var(--content));
  }

  .site-header {
    padding-block: 1.2rem;
  }

  .site-nav {
    gap: 0.9rem;
  }

  .site-nav a {
    font-size: 0.82rem;
  }

  .site-nav .nav-secondary {
    display: none;
  }

  .hero {
    gap: 0;
    min-height: auto;
    padding-block: 4.5rem 3rem;
  }

  .hero h1 {
    font-size: clamp(3.35rem, 17vw, 5rem);
  }

  .product-hero {
    gap: 1rem;
    min-height: auto;
    padding-block: 4.5rem 3.5rem;
  }

  .product-hero h1 {
    font-size: clamp(3.15rem, 16vw, 4.8rem);
  }

  .product-showcase {
    min-height: 31rem;
  }

  .showcase-orbit {
    inset: 1.5rem -2rem 0;
  }

  .showcase-orbit::after {
    inset: 4rem;
  }

  .swipe-cue {
    min-width: 5.7rem;
    padding: 0.55rem 0.65rem;
  }

  .swipe-cue-delete {
    left: -0.4rem;
  }

  .swipe-cue-keep {
    right: -0.4rem;
  }

  .product-showcase figcaption {
    font-size: 0.67rem;
  }

  .hero-lede {
    font-size: 1.06rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-art {
    min-height: 29rem;
    margin-top: 1rem;
  }

  .phone {
    width: 14.5rem;
    border-width: 0.4rem;
  }

  .photo-card {
    height: 15.5rem;
  }

  .orbit-large {
    inset: 1.5rem -4rem 0;
  }

  .orbit-small {
    inset: 6rem 0 4rem;
  }

  .note-keep {
    top: 20%;
    right: -1%;
  }

  .note-delete {
    bottom: 18%;
    left: -1%;
  }

  .app-section {
    gap: 2.5rem;
    padding-block: 6rem;
  }

  .app-intro h2,
  .closing h2 {
    font-size: clamp(2.55rem, 13vw, 4rem);
  }

  .app-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .closing {
    gap: 2.5rem;
    padding: 2.2rem 1.5rem;
    border-radius: 1.4rem;
  }

  .site-footer {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    padding-block: 3rem 2rem;
  }

  .site-footer nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.55rem;
    margin-top: 1rem;
  }

  .copyright {
    width: 100%;
  }
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --background: #101915;
    --surface: #15211a;
    --surface-strong: #1c2a21;
    --text: #f1f3e9;
    --muted: #aab6ad;
    --border: #344239;
    --border-strong: #536158;
    --accent: #b8dd4f;
    --accent-strong: #b8dd4f;
    --accent-ink: #1c2804;
    --dark-surface: #e8eadf;
    --dark-text: #17211b;
    --closing-muted: #536158;
    --closing-button-border: #a8afa8;
    --closing-button-hover: #daddd2;
    --floating-note-border: rgb(255 255 255 / 8%);
    --shadow: 0 1.5rem 4rem rgb(0 0 0 / 34%);
    --phone-shadow: 0 1.5rem 4rem rgb(0 0 0 / 45%);
  }

  .workflow {
    padding-block: 5.5rem;
  }

  .product-section-heading {
    margin-bottom: 2.5rem;
  }

  .product-section-heading h2,
  .review-explainer h2,
  .privacy-promise h2 {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
  }

  .review-explainer {
    gap: 2rem;
    padding: 2.2rem 1.5rem;
    border-radius: 1.4rem;
  }

  .review-path {
    align-items: stretch;
    flex-direction: column;
  }

  .review-path span {
    text-align: center;
  }

  .review-path svg {
    align-self: center;
    transform: rotate(90deg);
  }

  .privacy-promise {
    gap: 2.5rem;
    padding-block: 5.5rem;
  }
}

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

  .button,
  .skip-link,
  .theme-toggle {
    transition: none;
  }
}
