:root {
  --bg: #f4f1ea;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --ink: #11161c;
  --muted: #5f6875;
  --line: rgba(17, 22, 28, 0.1);
  --accent: #268c8c;
  --accent-deep: #124848;
  --accent-soft: #d8efe9;
  --sun: #ffe8b8;
  --shadow: 0 18px 45px rgba(17, 22, 28, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --shell: min(1120px, calc(100vw - 2rem));
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(38, 140, 140, 0.16), transparent 26rem),
    radial-gradient(circle at 88% 10%, rgba(255, 232, 184, 0.5), transparent 22rem),
    repeating-linear-gradient(
      90deg,
      rgba(17, 22, 28, 0.035) 0,
      rgba(17, 22, 28, 0.035) 1px,
      transparent 1px,
      transparent 72px
    ),
    linear-gradient(180deg, #f6f1e8 0%, #efe7db 100%);
  font-family: "Avenir Next", "Helvetica Neue", Helvetica, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1 0 auto;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.5rem;
}

.site-backdrop {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.5), transparent 18rem),
    radial-gradient(circle at 78% 28%, rgba(216, 239, 233, 0.45), transparent 16rem);
}

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-header {
  position: relative;
  z-index: 1;
  padding: 1.25rem 0 1rem;
}

.site-header::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100vw;
  height: 1px;
  background: rgba(17, 22, 28, 0.16);
  transform: translateX(-50%);
}

.site-header-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  display: block;
  width: 2.95rem;
  height: 2.95rem;
  border-radius: 1.05rem;
  box-shadow: 0 10px 24px rgba(17, 22, 28, 0.14);
}

.brand-word {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.005em;
}

.site-nav,
.footer-links,
.hero-actions,
.inline-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.site-nav a,
.footer-links a,
.text-link {
  color: #6f554c;
  font-size: 1.03rem;
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.site-nav {
  gap: 2.3rem;
  padding: 0;
  border: 0;
  background: none;
}

.hero,
.split-panel {
  display: grid;
  gap: 2rem;
}

.hero {
  position: relative;
  z-index: 1;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  padding: 4.5rem 0 3.5rem;
}

.hero-copy,
.hero-visual,
.section-heading,
.feature-card,
.split-panel,
.page-hero,
.legal-card {
  position: relative;
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1,
.section-heading h2,
.page-hero h1,
.split-panel h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  letter-spacing: -0.03em;
}

h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 6.8vw, 5.5rem);
}

.hero .lede,
.page-hero .lede {
  max-width: 38rem;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions {
  margin-top: 2rem;
}

.app-store-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border-radius: 0.55rem;
  text-decoration: none;
}

.app-store-link:focus-visible {
  outline: 3px solid rgba(61, 132, 105, 0.34);
  outline-offset: 4px;
}

.app-store-badge {
  display: block;
  width: auto;
  height: 3.2rem;
  min-height: 40px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.85rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font: inherit;
  appearance: none;
  cursor: pointer;
}

.button-primary {
  background: linear-gradient(180deg, #12181f 0%, #0c1117 100%);
  color: #fff;
  box-shadow: 0 18px 38px rgba(17, 22, 28, 0.18);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.66);
  border-color: var(--line);
  color: var(--ink);
  backdrop-filter: blur(12px);
}

.trust-note,
.footer-copy {
  color: var(--muted);
}

.trust-note {
  margin-top: 1rem;
  font-size: 0.92rem;
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.product-panel,
.feature-card,
.split-panel,
.legal-card,
.mini-card {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.product-panel {
  width: min(100%, 29rem);
  padding: 1.2rem;
  border-radius: 2rem;
}

.panel-topline,
.stack-row,
.meta-row {
  display: flex;
  align-items: center;
}

.panel-topline {
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.status-dot {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: #2bb673;
  box-shadow: 0 0 0 0.3rem rgba(43, 182, 115, 0.12);
}

.stack-card {
  border-radius: 1.35rem;
  padding: 1rem;
  margin-top: 1rem;
}

.stack-card-primary {
  background: linear-gradient(180deg, #fff, #f8fbfc);
  border: 1px solid rgba(17, 22, 28, 0.07);
  transform: translateY(0);
  animation: float-card 8s ease-in-out infinite;
}

.stack-card-secondary {
  background: linear-gradient(180deg, #edf7f5, #ffffff);
  border: 1px solid rgba(38, 140, 140, 0.12);
  transform: rotate(-2deg);
}

.stack-row {
  justify-content: space-between;
  gap: 1rem;
}

.stack-row strong {
  font-size: 1rem;
}

.stack-card p {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.meta-row {
  justify-content: space-between;
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.file-pill {
  display: inline-flex;
  align-items: center;
  min-height: 1.8rem;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
}

.file-pill-link {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
}

.file-pill-audio {
  color: #a64761;
  background: rgba(166, 71, 97, 0.11);
}

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

.mini-card {
  padding: 1rem;
  border-radius: 1.2rem;
}

.mini-card h2 {
  font-size: 1rem;
  font-family: "Avenir Next", "Helvetica Neue", Helvetica, sans-serif;
}

.mini-card p {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.section {
  position: relative;
  z-index: 1;
  padding: 1rem 0 2.5rem;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section-heading h2,
.split-panel h2,
.page-hero h1 {
  max-width: none;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
}

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

.feature-card,
.legal-card,
.split-panel {
  padding: 1.4rem;
  border-radius: var(--radius-lg);
}

.feature-card h3 {
  font-size: 1.15rem;
}

.feature-card p,
.split-panel p,
.legal-card p,
.legal-card li {
  color: var(--muted);
}

.feature-card p {
  margin-top: 0.55rem;
}

.split-panel {
  grid-template-columns: 1fr 1fr;
  align-items: start;
}

.inline-actions {
  margin-top: 1.1rem;
}

.text-link {
  font-weight: 700;
  color: var(--accent-deep);
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 0;
}

.hero-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.96fr);
  gap: 2.8rem;
  align-items: center;
  padding-top: 4.4rem;
  padding-bottom: 2.4rem;
}

.hero-layout .hero-copy {
  max-width: 34rem;
}

.hero-layout h1 {
  max-width: none;
  font-size: clamp(3rem, 7.8vw, 5.5rem);
  line-height: 0.95;
}

.headline-stack {
  display: inline-block;
}

.headline-stack > span {
  display: block;
}

.headline-accent {
  color: #13836f;
}

.headline-subline {
  display: block;
  margin-top: 0.42em;
  font-size: 0.43em;
  line-height: 1.08;
  font-style: italic;
  letter-spacing: -0.015em;
  color: rgba(17, 22, 28, 0.88);
  white-space: nowrap;
}

.hero-layout .lede {
  max-width: 34rem;
  margin-top: 1.4rem;
  font-size: clamp(1.08rem, 2.2vw, 1.34rem);
}

.lede-accent {
  color: #13836f;
  font-weight: 700;
}

.hero-stage {
  position: relative;
  min-height: 36rem;
}

.card-carousel {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 36rem;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
}

.card-carousel::before {
  content: "";
  position: absolute;
  inset: 12% 5% 7% 5%;
  border-radius: 2.6rem;
  background:
    radial-gradient(circle at 28% 34%, rgba(38, 140, 140, 0.22), transparent 42%),
    radial-gradient(circle at 76% 23%, rgba(255, 232, 184, 0.48), transparent 35%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.18));
  filter: blur(1px);
}

.carousel-track {
  position: relative;
  width: min(70vw, 19rem);
  aspect-ratio: 1290 / 2796;
  perspective: 900px;
}

.preview-card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 2rem;
  object-fit: cover;
  opacity: 0;
  pointer-events: none;
  transform: translateX(0) scale(0.82) rotate(0deg);
  transform-origin: center bottom;
  box-shadow: 0 30px 58px rgba(17, 22, 28, 0.24);
  transition:
    transform 480ms cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 280ms ease,
    filter 480ms ease;
  will-change: transform, opacity;
}

.preview-card[data-position="0"] {
  z-index: 5;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1) rotate(0deg);
  filter: saturate(1.04);
}

.preview-card[data-position="1"] {
  z-index: 4;
  opacity: 0.68;
  transform: translateX(34%) scale(0.9) rotate(7deg);
  filter: saturate(0.9);
}

.preview-card[data-position="-1"] {
  z-index: 4;
  opacity: 0.68;
  transform: translateX(-34%) scale(0.9) rotate(-7deg);
  filter: saturate(0.9);
}

.preview-card[data-position="2"] {
  z-index: 3;
  opacity: 0.28;
  transform: translateX(58%) scale(0.78) rotate(12deg);
  filter: saturate(0.78);
}

.preview-card[data-position="-2"] {
  z-index: 3;
  opacity: 0.28;
  transform: translateX(-58%) scale(0.78) rotate(-12deg);
  filter: saturate(0.78);
}

.preview-card.is-dragging {
  transition: none;
}

.carousel-nav {
  position: absolute;
  z-index: 8;
  top: 50%;
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(17, 22, 28, 0.08);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  color: #11161c;
  box-shadow: 0 18px 28px rgba(17, 22, 28, 0.1);
  font: inherit;
  font-size: 2.2rem;
  line-height: 1;
  transform: translateY(-50%);
  cursor: pointer;
  backdrop-filter: blur(14px);
}

.carousel-nav:focus-visible {
  outline: 3px solid rgba(61, 132, 105, 0.34);
  outline-offset: 3px;
}

.carousel-nav-prev {
  left: 0.3rem;
}

.carousel-nav-next {
  right: 0.3rem;
}

.carousel-dots {
  position: absolute;
  z-index: 8;
  bottom: 0.2rem;
  display: flex;
  gap: 0.42rem;
  align-items: center;
  justify-content: center;
}

.carousel-dots span {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(17, 22, 28, 0.22);
  transition: width 220ms ease, background 220ms ease;
}

.carousel-dots span.is-active {
  width: 1.15rem;
  background: #13836f;
}

.value-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-bottom: 2.2rem;
  scroll-margin-top: 6rem;
}

.value-tile {
  position: relative;
  min-height: 15rem;
  padding: 1.4rem;
  border-radius: 2rem;
  border: 1px solid rgba(17, 22, 28, 0.08);
  box-shadow: 0 24px 42px rgba(17, 22, 28, 0.08);
}

.value-tile-light {
  background: rgba(255, 255, 255, 0.82);
}

.value-tile-dark {
  background: linear-gradient(180deg, #111820 0%, #0d1218 100%);
  color: #f8f7f2;
}

.value-tile-accent {
  background: linear-gradient(180deg, #dff1ec 0%, #cde6de 100%);
}

.value-index {
  display: inline-block;
  margin-bottom: 1.6rem;
  color: rgba(17, 22, 28, 0.34);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.value-tile-dark .value-index,
.value-tile-dark .value-kicker,
.value-tile-dark h2 {
  color: #f8f7f2;
}

.value-kicker {
  margin-bottom: 0.8rem;
  color: var(--accent-deep);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.value-tile h2 {
  max-width: 15ch;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  line-height: 1.02;
  font-family: "Avenir Next", "Helvetica Neue", Helvetica, sans-serif;
  letter-spacing: -0.03em;
}

.story {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 1.2rem;
  padding-bottom: 2.8rem;
}

.problem-panel,
.solution-panel {
  padding: 1.6rem;
  border-radius: 2rem;
  box-shadow: 0 24px 44px rgba(17, 22, 28, 0.08);
}

.problem-panel {
  background: linear-gradient(180deg, #171d24 0%, #0d1218 100%);
  color: #f8f7f2;
}

.problem-panel .eyebrow {
  color: rgba(255, 255, 255, 0.74);
}

.problem-quote {
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

.solution-panel {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(17, 22, 28, 0.08);
}

.solution-intro {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.solution-card {
  padding: 1.1rem;
  border-radius: 1.4rem;
  background: linear-gradient(180deg, #f7f4ee 0%, #ffffff 100%);
  border: 1px solid rgba(17, 22, 28, 0.08);
}

.solution-step {
  display: inline-block;
  margin-bottom: 1rem;
  color: rgba(17, 22, 28, 0.42);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.solution-card h3 {
  font-size: 1.2rem;
  line-height: 1.06;
}

.solution-card p {
  margin-top: 0.55rem;
  color: var(--muted);
}

.brand-footer {
  margin-bottom: 0.85rem;
}

.site-footer-full {
  display: block;
  margin-top: 3.4rem;
  padding: 2.8rem 0 1.1rem;
  border-top: 1px solid rgba(17, 22, 28, 0.08);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, auto);
  gap: 2.8rem;
  align-items: start;
  padding-bottom: 2.2rem;
  border-bottom: 1px solid rgba(17, 22, 28, 0.08);
}

.footer-brand-block {
  max-width: 36rem;
}

.footer-description {
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(10rem, 1fr));
  gap: 2.6rem;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 0.9rem;
}

.footer-heading {
  color: #6f554c;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-column a {
  color: #6f554c;
  font-size: 1rem;
  text-decoration: none;
}

.footer-bottom {
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom p {
  color: rgba(95, 104, 117, 0.88);
  font-size: 0.96rem;
}

.legal-shell {
  position: relative;
  z-index: 1;
  padding: 3.25rem 0 3.5rem;
}

.support-shell {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 2.7rem;
}

.support-page {
  max-width: 38rem;
  margin: 0 auto;
}

.support-page h1 {
  max-width: none;
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(2.2rem, 4.2vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.support-card {
  margin-top: 1.35rem;
  padding: 1.35rem 1.45rem;
  border-radius: 1.3rem;
  background: rgba(252, 252, 249, 0.9);
  border: 1px solid rgba(17, 22, 28, 0.06);
  box-shadow: 0 22px 44px rgba(17, 22, 28, 0.06);
}

.support-label,
.support-note {
  color: #4c5767;
}

.support-label {
  font-size: clamp(0.94rem, 1.7vw, 1.08rem);
}

.support-email-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.85rem;
  padding: 0.62rem;
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 0 0 1px rgba(17, 22, 28, 0.04);
}

.support-email {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.1rem 0.25rem;
  color: #11161c;
  font-size: clamp(1rem, 2.15vw, 1.28rem);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.support-copy {
  min-width: 5.6rem;
  min-height: 2.7rem;
  padding-inline: 0.92rem;
  border-radius: 0.82rem;
  font-size: 0.9rem;
}

.support-note {
  margin-top: 0.95rem;
  font-size: clamp(0.88rem, 1.5vw, 0.98rem);
}

.get-siftlee-shell {
  position: relative;
  z-index: 1;
  padding: 2.5rem 0 3.4rem;
}

.get-siftlee-page {
  max-width: 44rem;
  margin: 0 auto;
}

.get-siftlee-page h1 {
  max-width: 11ch;
  font-size: clamp(2.6rem, 5.2vw, 4rem);
}

.get-siftlee-page .lede {
  max-width: 36rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: clamp(1.04rem, 2vw, 1.18rem);
}

.get-siftlee-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.8rem;
  padding: 1.8rem;
  border-radius: 1.6rem;
  background: rgba(252, 252, 249, 0.9);
  border: 1px solid rgba(17, 22, 28, 0.06);
  box-shadow: 0 22px 44px rgba(17, 22, 28, 0.06);
}

.get-siftlee-icon {
  flex: 0 0 auto;
  width: 5.4rem;
  height: 5.4rem;
  border-radius: 1.35rem;
  box-shadow: 0 14px 30px rgba(17, 22, 28, 0.14);
}

.get-siftlee-copy {
  min-width: 0;
}

.get-siftlee-copy h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.get-siftlee-copy p {
  max-width: 30rem;
  margin-top: 0.55rem;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.97rem;
}

.page-hero {
  margin-bottom: 1.2rem;
}

.legal-meta {
  margin-top: 0.3rem;
  color: var(--muted);
  font-size: 1rem;
}

.legal-doc {
  max-width: 48rem;
  color: #222934;
}

.legal-doc > * + * {
  margin-top: 1rem;
}

.legal-doc h2,
.legal-doc h3 {
  margin-top: 2rem;
  line-height: 1.15;
}

.legal-doc h2 {
  font-size: 1.45rem;
}

.legal-doc h3 {
  font-size: 1.1rem;
}

.legal-doc p,
.legal-doc li {
  color: #4c5767;
  font-size: 1rem;
}

.legal-doc ul {
  margin-top: 0.85rem;
}

.not-found {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 100vh;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal 0.7s ease forwards;
}

.reveal-delay {
  animation-delay: 0.12s;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float-card {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

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

  .hero {
    padding-top: 3rem;
  }

  .hero-layout,
  .story,
  .value-strip,
  .solution-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage {
    min-height: 35rem;
  }

  .hero-visual {
    justify-content: stretch;
  }

  .product-panel {
    width: 100%;
  }

  .split-panel,
  .site-footer {
    display: grid;
  }

  .footer-main,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav,
  .footer-links,
  .hero-actions,
  .inline-actions {
    gap: 0.8rem;
  }

  .site-header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .site-nav {
    gap: 1.35rem;
  }

  .site-header {
    padding-top: 1rem;
    padding-bottom: 0.85rem;
  }

  .hero {
    padding-top: 2.2rem;
    padding-bottom: 2.6rem;
  }

  .feature-grid,
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .support-shell {
    padding-top: 1.8rem;
  }

  .get-siftlee-shell {
    padding-top: 1.8rem;
  }

  .support-card {
    margin-top: 1.1rem;
    padding: 1.08rem;
  }

  .get-siftlee-card {
    align-items: flex-start;
    flex-direction: column;
    margin-top: 1.35rem;
    padding: 1.35rem;
  }

  .site-footer-full {
    margin-top: 2.6rem;
    padding-top: 2rem;
  }

  .footer-main {
    padding-bottom: 1.6rem;
  }

  .footer-description,
  .footer-column a {
    font-size: 0.96rem;
  }

  .support-email-row {
    align-items: stretch;
    flex-direction: column;
  }

  .support-email {
    font-size: 1.3rem;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    word-break: break-word;
  }

  .support-copy {
    width: 100%;
    min-width: 0;
  }

  .feature-card,
  .split-panel,
  .legal-card,
  .product-panel,
  .problem-panel,
  .solution-panel,
  .value-tile,
  .solution-card {
    border-radius: 1.4rem;
  }

  .hero-layout h1 {
    max-width: none;
  }

  .brand-mark {
    width: 2.7rem;
    height: 2.7rem;
  }

  .brand-word {
    font-size: 1.08rem;
  }

  .hero-stage,
  .card-carousel {
    min-height: 31rem;
  }

  .carousel-track {
    width: min(68vw, 15.5rem);
  }

  .carousel-nav {
    width: 2.4rem;
    height: 2.4rem;
    font-size: 1.9rem;
  }

  .carousel-nav-prev {
    left: 0;
  }

  .carousel-nav-next {
    right: 0;
  }
}

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

  .reveal,
  .stack-card-primary {
    opacity: 1;
    transform: none;
    animation: none;
  }
}
