:root {
  color-scheme: dark;
  --bg: #071018;
  --bg-soft: #0b1420;
  --panel: rgba(14, 23, 36, 0.78);
  --panel-strong: rgba(15, 25, 40, 0.94);
  --line: rgba(148, 163, 184, 0.18);
  --text: #f5f8ff;
  --muted: #9fb0c6;
  --teal: #19d6c3;
  --cyan: #38bdf8;
  --green: #6ee7b7;
  --rose: #fb7185;
  --amber: #f59e0b;
  --blue: #60a5fa;
  --shadow: 0 30px 100px rgba(0, 0, 0, 0.38);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(25, 214, 195, 0.13), transparent 28%),
    radial-gradient(circle at 88% 28%, rgba(56, 189, 248, 0.12), transparent 32%),
    linear-gradient(180deg, #061018 0%, #08111b 52%, #050a10 100%);
}

body.is-locked {
  overflow: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
summary {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--text);
  color: #061018;
}

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

.site-header {
  position: fixed;
  inset: 16px 18px auto;
  z-index: 50;
  min-height: 66px;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 18px;
  align-items: center;
  padding: 10px 12px 10px 16px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-radius: 8px;
  background: rgba(6, 13, 22, 0.66);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(6, 13, 22, 0.92);
  border-color: rgba(148, 163, 184, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  box-shadow: 0 16px 32px rgba(25, 214, 195, 0.18);
}

.brand-mark svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: white;
  stroke-width: 1.8;
}

.app-brand-mark {
  overflow: hidden;
  background: #071018;
}

.app-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  line-height: 1.1;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.site-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 8px;
  color: #c9d7eb;
  font-size: 14px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: white;
  background: rgba(148, 163, 184, 0.1);
}

.header-cta,
.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 8px;
  font-weight: 800;
}

.header-cta {
  padding: 0 15px;
  color: #061018;
  background: var(--text);
}

.language-switch {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  background: rgba(15, 25, 40, 0.74);
}

.language-switch button {
  min-width: 38px;
  height: 30px;
  border: 0;
  border-radius: 7px;
  color: #9fb0c6;
  background: transparent;
  cursor: pointer;
  font-weight: 900;
}

.language-switch button:hover,
.language-switch button.is-active {
  color: #061018;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(15, 25, 40, 0.75);
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  margin: 5px auto;
  border-radius: 99px;
  background: white;
}

.hero {
  min-height: 92vh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 128px 24px 96px;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media {
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  animation: heroFloat 18s ease-in-out infinite alternate;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(5, 10, 16, 0.98) 0%, rgba(5, 10, 16, 0.88) 32%, rgba(5, 10, 16, 0.34) 66%, rgba(5, 10, 16, 0.18) 100%),
    linear-gradient(180deg, rgba(5, 10, 16, 0.2), rgba(5, 10, 16, 0.92));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(54px, 8.5vw, 112px);
  line-height: 0.91;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 610px;
  margin: 26px 0 0;
  color: #c7d4e7;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.button.primary {
  color: #041016;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
  box-shadow: 0 20px 55px rgba(25, 214, 195, 0.23);
}

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

.button.ghost {
  color: white;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
}

.hero-proof span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  color: #dbeafe;
  background: rgba(12, 21, 33, 0.58);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 2;
  width: 28px;
  height: 44px;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 99px;
}

.scroll-cue span {
  width: 4px;
  height: 8px;
  border-radius: 99px;
  background: white;
  animation: cue 1.6s ease-in-out infinite;
}

.snapshot {
  width: min(1180px, calc(100% - 48px));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: -40px auto 0;
  position: relative;
  z-index: 4;
}

.metric,
.workflow,
.security-panel,
.download-card,
.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.metric {
  min-height: 118px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 18px;
}

.metric span {
  color: var(--muted);
}

.metric strong {
  font-size: 30px;
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 118px 0;
}

.intro {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 48px;
  align-items: center;
}

.section-copy h2,
.section-heading h2,
.banner-copy h2,
.security-panel h2,
.download-copy h2,
.faq h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
}

.section-copy p:not(.eyebrow),
.banner-copy p:not(.eyebrow),
.security-panel p,
.download-copy p,
.faq p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.product-stage {
  min-height: 610px;
  position: relative;
}

.desktop-frame {
  position: absolute;
  inset: 20px 0 0;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  overflow: hidden;
  background: #0b1420;
  box-shadow: 0 42px 100px rgba(0, 0, 0, 0.45);
}

.frame-bar {
  height: 42px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(255, 255, 255, 0.025);
}

.desktop-product-shot {
  width: 100%;
  height: calc(100% - 42px);
  object-fit: cover;
  object-position: center;
  filter: saturate(1.06) contrast(1.04);
}

.frame-bar span {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: rgba(148, 163, 184, 0.5);
}

.dashboard-preview {
  height: calc(100% - 42px);
  display: grid;
  grid-template-columns: 92px 1fr;
}

.preview-sidebar {
  border-right: 1px solid rgba(148, 163, 184, 0.1);
  background:
    linear-gradient(180deg, rgba(25, 214, 195, 0.16), transparent 18%),
    rgba(3, 8, 15, 0.64);
}

.preview-main {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 20px;
}

.preview-top {
  height: 44px;
  border: 1px solid rgba(148, 163, 184, 0.13);
  border-radius: 8px;
  background: rgba(148, 163, 184, 0.08);
}

.preview-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.preview-kpis i {
  height: 100px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(25, 214, 195, 0.14), transparent),
    rgba(148, 163, 184, 0.08);
}

.preview-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 12px;
}

.chart-line,
.chart-donut {
  min-height: 230px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  border-radius: 8px;
  background: rgba(3, 8, 15, 0.42);
}

.chart-line canvas {
  width: 100%;
  height: 100%;
}

.chart-donut {
  display: grid;
  place-items: center;
}

.chart-donut span {
  width: 150px;
  height: 150px;
  border-radius: 99px;
  background: conic-gradient(var(--teal), var(--cyan), var(--rose), var(--teal));
  -webkit-mask: radial-gradient(circle, transparent 0 48px, black 50px);
  mask: radial-gradient(circle, transparent 0 48px, black 50px);
  animation: spinSlow 14s linear infinite;
}

.floating-card {
  position: absolute;
  z-index: 2;
  width: 210px;
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  background: rgba(8, 16, 27, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.floating-card span {
  color: var(--muted);
  font-size: 13px;
}

.card-ai {
  right: -24px;
  top: 86px;
}

.card-budget {
  left: -18px;
  bottom: 78px;
}

.feature-banner {
  min-height: 620px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: end;
  margin: 22px 0 0;
  padding: 70px 24px;
}

.feature-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.feature-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 13, 22, 0.08), rgba(6, 13, 22, 0.88));
}

.banner-copy {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.banner-copy h2,
.banner-copy p {
  max-width: 650px;
}

.workflows {
  padding-top: 118px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 32px;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.workflow {
  min-height: 390px;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 14px;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.workflow-media {
  height: 136px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(3, 8, 15, 0.5);
}

.workflow-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% 42%;
  transform: scale(1.06);
  transition: transform 220ms ease, filter 220ms ease;
}

.workflow-media.focus-table img {
  object-position: 72% 74%;
}

.workflow-media.focus-chart img {
  object-position: 74% 40%;
}

.workflow-media.focus-icon {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 42%, rgba(25, 214, 195, 0.2), transparent 44%),
    rgba(3, 8, 15, 0.76);
}

.workflow-media.focus-icon img {
  width: 118px;
  height: 118px;
  object-fit: cover;
  border-radius: 28px;
  transform: none;
  box-shadow: 0 24px 58px rgba(25, 214, 195, 0.18);
}

.workflow:hover {
  transform: translateY(-4px);
  border-color: rgba(25, 214, 195, 0.32);
  background: rgba(15, 25, 40, 0.92);
}

.workflow:hover .workflow-media img {
  transform: scale(1.1);
  filter: saturate(1.16);
}

.workflow:hover .workflow-media.focus-icon img {
  transform: translateY(-2px) scale(1.02);
}

.workflow span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #061018;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), var(--teal));
}

.workflow h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.14;
}

.workflow p {
  margin: 0;
  color: var(--muted);
  line-height: 1.58;
}

.security {
  padding-top: 40px;
}

.security-panel {
  min-height: 430px;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.75fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
  padding: clamp(26px, 5vw, 58px);
  background:
    radial-gradient(circle at 20% 25%, rgba(25, 214, 195, 0.18), transparent 32%),
    radial-gradient(circle at 80% 70%, rgba(251, 113, 133, 0.08), transparent 34%),
    rgba(15, 25, 40, 0.82);
}

.security-panel h2,
.security-panel p {
  max-width: 780px;
}

.security-visual {
  min-height: 360px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(3, 8, 15, 0.52);
}

.security-visual > img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: 74% center;
  opacity: 0.9;
  transform: scale(1.05);
}

.security-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 10%, rgba(3, 8, 15, 0.72));
}

.security-card {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  align-items: center;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(7, 16, 26, 0.82);
  backdrop-filter: blur(14px);
}

.security-card img {
  grid-row: span 2;
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 10px;
}

.security-card span {
  color: var(--muted);
  font-size: 13px;
}

.security-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.security-points span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  background: rgba(3, 8, 15, 0.35);
}

.download {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 26px;
  align-items: end;
}

.download-card {
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 26px;
  overflow: hidden;
  position: relative;
}

.download-card::before {
  content: "";
  position: absolute;
  inset: -60% -20% auto auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(25, 214, 195, 0.18), transparent 68%);
}

.download-card > * {
  position: relative;
  z-index: 1;
}

.download-card-art {
  width: 88px;
  height: 88px;
  flex: 0 0 auto;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 22px 60px rgba(25, 214, 195, 0.2);
}

.download-card span,
.download-card strong {
  display: block;
}

.download-card span {
  color: var(--muted);
}

.download-card strong {
  margin-top: 8px;
  font-size: clamp(20px, 2.5vw, 30px);
}

.faq {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
  padding: 40px 0 120px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-visual {
  min-height: 230px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.48fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.faq-visual img {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
  object-position: 70% center;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.14);
}

.faq-visual div {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 10px 8px;
}

.faq-visual strong {
  font-size: 24px;
  line-height: 1.1;
}

.faq-visual span {
  color: var(--muted);
  line-height: 1.55;
}

.faq details {
  padding: 0 18px;
}

.faq details:has(code) {
  display: none;
}

.faq summary {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-weight: 800;
}

.faq summary::after {
  content: "+";
  color: var(--teal);
  font-size: 24px;
}

.faq details[open] summary::after {
  content: "-";
}

.faq code {
  color: #d9f99d;
}

.site-footer {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  color: var(--muted);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--text);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a,
.legal-card a {
  color: #7dd3fc;
}

.footer-links a:hover,
.legal-card a:hover {
  color: #5eead4;
}

.legal-page {
  width: min(100% - 36px, 1120px);
  margin: 0 auto;
  padding: 150px 0 90px;
}

.legal-hero {
  position: relative;
  min-height: 360px;
  display: grid;
  align-content: end;
  gap: 16px;
  padding: 42px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(6, 13, 22, 0.98), rgba(8, 23, 35, 0.68)),
    url("assets/flytivy-banner-privacy.png") center / cover no-repeat;
  box-shadow: var(--shadow);
}

.legal-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(180deg, transparent, rgba(5, 10, 16, 0.96));
  pointer-events: none;
}

.legal-hero > * {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(44px, 8vw, 84px);
  line-height: 0.95;
}

.legal-hero p {
  margin: 0;
  color: #c8d8eb;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.5;
}

.legal-hero span {
  color: var(--muted);
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 22px;
}

.legal-card {
  padding: 24px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 8px;
  background: rgba(15, 25, 40, 0.72);
}

.legal-card h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.legal-card p {
  margin: 0;
  color: #b7c7db;
  line-height: 1.7;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroFloat {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.06) translate3d(-1.2%, -0.8%, 0);
  }
}

@keyframes cue {
  0%,
  100% {
    transform: translateY(-5px);
    opacity: 0.45;
  }
  50% {
    transform: translateY(6px);
    opacity: 1;
  }
}

@keyframes spinSlow {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto auto auto;
  }

  .nav-toggle {
    display: block;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .language-switch {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .site-nav.is-open {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    gap: 6px;
    justify-content: stretch;
    padding: 8px 0 0;
  }

  .site-nav.is-open a {
    justify-content: center;
    background: rgba(148, 163, 184, 0.08);
  }

  .snapshot,
  .workflow-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro,
  .download,
  .security-panel,
  .faq-visual {
    grid-template-columns: 1fr;
  }

  .product-stage {
    min-height: 560px;
  }
}

@media (max-width: 720px) {
  .site-header {
    inset: 10px 10px auto;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 90vh;
    padding: 116px 18px 82px;
  }

  .hero h1 {
    font-size: clamp(44px, 16vw, 76px);
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 10, 16, 0.95), rgba(5, 10, 16, 0.6)),
      linear-gradient(180deg, rgba(5, 10, 16, 0.3), rgba(5, 10, 16, 0.95));
  }

  .snapshot,
  .workflow-grid,
  .preview-kpis,
  .preview-grid {
    grid-template-columns: 1fr;
  }

  .snapshot,
  .section,
  .faq {
    width: min(100% - 28px, 1180px);
  }

  .section {
    padding: 84px 0;
  }

  .desktop-frame {
    position: relative;
    inset: auto;
  }

  .dashboard-preview {
    grid-template-columns: 1fr;
  }

  .preview-sidebar {
    display: none;
  }

  .floating-card {
    position: relative;
    inset: auto;
    width: 100%;
    margin-top: 10px;
  }

  .feature-banner {
    min-height: 520px;
  }

  .download-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .download-card-art {
    width: 76px;
    height: 76px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .legal-page {
    width: min(100% - 28px, 1120px);
    padding: 118px 0 70px;
  }

  .legal-hero {
    min-height: 430px;
    padding: 28px;
  }

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