:root {
  --blue: #2442a7;
  --blue-2: #1b317d;
  --blue-3: #122358;
  --blue-soft: #355cc2;
  --ink: #08121f;
  --paper: #ffffff;
  --paper-soft: #f6f8fc;
  --text: #132033;
  --muted: #63708a;
  --line: rgba(10, 18, 33, 0.1);
  --shadow: 0 28px 64px rgba(10, 24, 55, 0.18);
  --green: #88e93c;
  --yellow: #ffd24e;
  --orange: #ff8e4b;
  --pink: #e94dd8;
  --cyan: #3cc8ff;
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 104px;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

button {
  font: inherit;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  background: rgba(8, 20, 53, 0.54);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  height: 88px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  padding: 4px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 28px rgba(52, 86, 204, 0.28);
}

.brand-mark::before {
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 12px;
  background: url("assets/screen-login.webp") center / cover no-repeat;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-copy strong {
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: -0.2px;
}

.brand-copy small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.main-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  font-weight: 700;
  transition: color 180ms ease;
}

.main-nav a:hover {
  color: #fff;
}

.header-button,
.button {
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

.header-button {
  padding: 12px 18px;
  color: #0f1f49;
  background: linear-gradient(135deg, var(--yellow), #d6f44a);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 16px 30px rgba(255, 210, 78, 0.18);
}

.header-button:hover,
.button:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  padding: 0;
  background: none;
  border: 0;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 6px auto;
  background: #fff;
  border-radius: 99px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  padding: 136px 0 98px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 210, 78, 0.22), transparent 20%),
    radial-gradient(circle at 14% 24%, rgba(138, 233, 60, 0.16), transparent 23%),
    linear-gradient(135deg, #2c4cae 0%, #2442a7 40%, #17317a 100%);
  border-radius: 0 0 48px 48px;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 100px 100px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
}

.hero-orb-a {
  width: 420px;
  height: 420px;
  top: -120px;
  right: -120px;
  background: rgba(255, 140, 75, 0.18);
}

.hero-orb-b {
  width: 360px;
  height: 360px;
  left: -110px;
  bottom: -70px;
  background: rgba(138, 233, 60, 0.12);
}

.hero-orb-c {
  width: 220px;
  height: 220px;
  right: 16%;
  bottom: 20%;
  background: rgba(60, 200, 255, 0.12);
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.72);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 6px rgba(255, 210, 78, 0.12);
}

.hero h1,
.section-head h2,
.workflow-copy h2,
.gallery-copy h2,
.download-copy h2 {
  margin: 0;
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -3px;
}

.hero h1 {
  font-size: clamp(52px, 5.8vw, 88px);
  max-width: 660px;
}

.hero-lead {
  max-width: 560px;
  margin: 24px 0 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.7;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-width: 186px;
  min-height: 62px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 16px;
}

.button-primary {
  color: #13203f;
  background: linear-gradient(135deg, var(--yellow), #f7de4a);
  box-shadow: 0 18px 32px rgba(255, 210, 78, 0.2);
}

.button-ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.button-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: none;
  color: #13203f;
  background: rgba(255, 255, 255, 0.48);
  border-radius: 12px;
}

.button-icon.alt {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.button-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: currentColor;
}

.button-primary .button-icon svg {
  transform: translateX(1px);
}

.button > span:not(.button-icon) {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.button small {
  margin-bottom: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.button span:last-child {
  font-size: 18px;
  font-weight: 900;
}

.hero-stats {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.hero-stats div {
  padding: 16px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  backdrop-filter: blur(8px);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-size: 17px;
}

.hero-stats span {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
}

.hero-visual {
  position: relative;
  min-height: 640px;
}

.glow-ring {
  position: absolute;
  inset: 30px 18px 20px;
  border-radius: 40px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.glow-ring::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 24% 18%, rgba(138, 233, 60, 0.18), transparent 18%),
    radial-gradient(circle at 78% 24%, rgba(255, 210, 78, 0.12), transparent 20%),
    radial-gradient(circle at 50% 74%, rgba(60, 200, 255, 0.1), transparent 18%);
}

.device {
  overflow: hidden;
  border-radius: 32px;
  background: #0d1836;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 200ms ease, filter 200ms ease;
}

.hero-visual .device,
.workflow-visual .device {
  position: absolute;
}

.device img {
  width: 100%;
  display: block;
}

.phone-frame {
  padding: 8px;
  border-radius: 34px;
}

.phone-frame img {
  height: auto;
  object-fit: contain;
  border-radius: 25px;
}

.app-icon-card {
  position: absolute;
  z-index: 7;
  left: 11%;
  top: 48px;
  width: 96px;
  height: 96px;
  padding: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  box-shadow: 0 24px 52px rgba(10, 22, 52, 0.2);
  backdrop-filter: blur(12px);
}

.app-icon-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
}

.hero-phone-main {
  z-index: 4;
  width: 268px;
  top: 20px;
  right: 72px;
}

.hero-phone-menu {
  z-index: 5;
  width: 210px;
  left: 2%;
  top: 154px;
}

.hero-phone-issue {
  z-index: 6;
  width: 218px;
  left: 28%;
  bottom: 22px;
}

.glass-note {
  position: absolute;
  z-index: 8;
  min-width: 164px;
  padding: 14px 16px;
  color: #0f1d3d;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 18px;
  box-shadow: 0 20px 44px rgba(12, 26, 55, 0.24);
  backdrop-filter: blur(8px);
}

.glass-note strong,
.glass-note span {
  display: block;
}

.glass-note strong {
  font-size: 17px;
}

.glass-note span {
  margin-top: 4px;
  color: rgba(15, 29, 61, 0.62);
  font-size: 11px;
}

.note-download {
  right: 4%;
  top: 116px;
}

.note-brand {
  left: 9%;
  bottom: 62px;
}

.section {
  padding: 118px 0;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 44px;
}

.section-head.centered {
  text-align: center;
}

.section-head h2,
.workflow-copy h2,
.gallery-copy h2,
.download-copy h2 {
  font-size: clamp(40px, 4.2vw, 68px);
}

.section-head p,
.workflow-copy p,
.gallery-copy p,
.download-copy p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.modules {
  background: var(--paper);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.module-card {
  min-height: 250px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 42px rgba(14, 30, 62, 0.06);
}

.module-card.mint {
  background: linear-gradient(180deg, #eaf8df, #f4fbeb);
}

.module-card.orange {
  background: linear-gradient(180deg, #fff2e7, #fff8f1);
}

.module-card.lilac {
  background: linear-gradient(180deg, #f0ebff, #f7f4ff);
}

.card-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  margin-bottom: 20px;
  color: #fff;
  background: var(--blue);
  border-radius: 12px;
  font-size: 11px;
  font-weight: 900;
}

.card-kicker.blue {
  background: #3b59b8;
}

.card-kicker.orange {
  background: linear-gradient(135deg, #ff8e4b, #ffb743);
}

.card-kicker.lilac {
  background: linear-gradient(135deg, #8d67ff, #c45bff);
}

.module-card h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: -0.6px;
}

.module-card p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.62;
}

.translation-band {
  margin-top: 18px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(53, 92, 194, 0.08), transparent 22%),
    linear-gradient(135deg, #f8fbff, #eef3fb);
  border: 1px solid rgba(36, 66, 167, 0.08);
  border-radius: 28px;
}

.translation-band strong {
  display: block;
  font-size: 18px;
}

.translation-band p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.chip-row span {
  min-width: 40px;
  padding: 9px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  background: #fff;
  border: 1px solid rgba(36, 66, 167, 0.12);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.workflow-section {
  position: relative;
  overflow: hidden;
  padding: 124px 0;
  color: #fff;
  background:
    radial-gradient(circle at 16% 26%, rgba(255, 210, 78, 0.1), transparent 16%),
    radial-gradient(circle at 78% 20%, rgba(138, 233, 60, 0.12), transparent 18%),
    linear-gradient(135deg, #17317a 0%, #12265d 100%);
}

.workflow-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 88px 88px;
}

.workflow-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 42px;
  align-items: center;
}

.workflow-copy h2 {
  max-width: 650px;
}

.workflow-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.step-list {
  margin-top: 30px;
  display: grid;
  gap: 12px;
}

.step-list article {
  padding: 18px 18px 18px 16px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  backdrop-filter: blur(8px);
}

.step-list article span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #102050;
  background: linear-gradient(135deg, var(--yellow), #fff07a);
  border-radius: 12px;
  font-size: 11px;
  font-weight: 900;
}

.step-list h3,
.gallery-copy ul li {
  margin: 0;
}

.step-list h3 {
  font-size: 16px;
}

.step-list p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.55;
}

.workflow-visual {
  position: relative;
  min-height: 610px;
}

.large-card {
  width: 264px;
  right: 64px;
  top: 34px;
  z-index: 3;
}

.small-card {
  width: 218px;
}

.small-card.one {
  left: 10px;
  top: 96px;
  z-index: 2;
  transform: rotate(-4deg);
}

.small-card.two {
  right: 2px;
  bottom: 22px;
  z-index: 4;
  transform: rotate(4deg);
}

.gallery {
  background: var(--paper);
}

.gallery-inner {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 42px;
  align-items: center;
}

.gallery-copy h2 {
  max-width: 620px;
}

.check-list {
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #354055;
  font-size: 14px;
  font-weight: 600;
}

.check-list span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-soft));
  border-radius: 50%;
  font-size: 11px;
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 16px;
  align-items: center;
}

.tall-card {
  grid-row: span 2;
  width: min(100%, 306px);
  justify-self: end;
}

.mosaic-card {
  width: min(100%, 238px);
  justify-self: start;
}

.mosaic-card.a {
  transform: translateY(24px);
}

.mosaic-card.b {
  transform: translateY(8px);
}

.download-section {
  padding: 100px 0 96px;
  background:
    radial-gradient(circle at 74% 24%, rgba(255, 210, 78, 0.16), transparent 18%),
    radial-gradient(circle at 18% 78%, rgba(138, 233, 60, 0.16), transparent 18%),
    linear-gradient(135deg, #10255f 0%, #081528 100%);
}

.download-panel {
  position: relative;
  overflow: hidden;
  padding: 44px 42px;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 30px;
  align-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.download-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 82px 82px;
}

.download-copy {
  position: relative;
  z-index: 2;
}

.download-copy p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
}

.download-visual {
  position: relative;
  min-height: 360px;
}

.download-orb {
  position: absolute;
  inset: 20px 34px;
  border-radius: 28px;
  background: radial-gradient(circle at 50% 45%, rgba(255, 210, 78, 0.24), transparent 34%);
  filter: blur(12px);
}

.download-stack {
  position: absolute;
  border-radius: 26px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
}

.download-stack.one {
  left: 0;
  top: 18px;
  width: 58%;
  height: 57%;
  background:
    linear-gradient(135deg, rgba(255, 210, 78, 0.14), rgba(36, 66, 167, 0.14)),
    url("assets/screen-dashboard.webp") center/cover;
  transform: rotate(-8deg);
}

.download-stack.two {
  right: 7%;
  top: 2%;
  width: 52%;
  height: 54%;
  background:
    linear-gradient(135deg, rgba(36, 66, 167, 0.18), rgba(255, 210, 78, 0.14)),
    url("assets/screen-menu.webp") center/cover;
  transform: rotate(8deg);
}

.download-stack.three {
  width: 34%;
  height: 36%;
  right: 28%;
  bottom: 6px;
  background: linear-gradient(135deg, var(--green), var(--yellow));
  transform: rotate(6deg);
}

.site-footer {
  padding: 34px 0 22px;
  background: #050a14;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  padding-bottom: 28px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-top p {
  max-width: 290px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
  line-height: 1.7;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links strong {
  margin-bottom: 4px;
  color: #fff;
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.footer-links a,
.footer-links span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.footer-bottom {
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.65, 0.25, 1);
}

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

.float-main,
.float-menu,
.float-issue {
  transition: transform 220ms ease, filter 220ms ease;
}

.float-main {
  transform: rotate(1deg) translate3d(calc(var(--px, 0) * 14px), calc(var(--py, 0) * 14px), 0);
}

.float-menu {
  transform: rotate(-4deg) translate3d(calc(var(--px, 0) * -8px), calc(var(--py, 0) * 8px), 0);
}

.float-issue {
  transform: rotate(3deg) translate3d(calc(var(--px, 0) * 8px), calc(var(--py, 0) * -8px), 0);
}

[data-float].hovered {
  filter: saturate(1.04) brightness(1.03);
}

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

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .float-main,
  .float-menu,
  .float-issue {
    transform: none;
  }
}

@media (max-width: 760px) {
  .hero-inner,
  .workflow-inner,
  .gallery-inner,
  .download-panel {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 18px;
  }

  .hero h1 {
    font-size: clamp(42px, 8vw, 62px);
  }

  .hero-visual {
    min-height: 590px;
  }

  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-visual {
    min-height: 560px;
  }

  .large-card {
    width: 250px;
    right: 8%;
  }

  .small-card.one {
    top: 92px;
    left: 6%;
  }

  .small-card.two {
    right: 2%;
  }

  .gallery-mosaic {
    max-width: 720px;
  }

  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-top > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(100% - 32px, 720px);
  }

  .header-button {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .menu-open .menu-toggle span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-open .menu-toggle span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    inset: 88px 0 auto;
    padding: 28px 20px 34px;
    display: grid;
    gap: 20px;
    background: rgba(8, 20, 53, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .main-nav a {
    font-size: 28px;
  }

  .menu-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero {
    padding-top: 124px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .translation-band {
    grid-template-columns: 1fr;
  }

  .chip-row {
    justify-content: flex-start;
  }

  .workflow-section,
  .download-section {
    padding: 90px 0;
  }

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

  .footer-top > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 560px);
  }

  .header-inner {
    height: 78px;
  }

  .hero {
    border-radius: 0 0 36px 36px;
    padding-bottom: 76px;
  }

  .hero h1 {
    font-size: 46px;
    letter-spacing: -2.6px;
  }

  .hero-lead {
    font-size: 15px;
  }

  .button {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
  }

  .hero-visual {
    min-height: 560px;
  }

  .app-icon-card {
    width: 74px;
    height: 74px;
    left: 0;
    top: 20px;
    padding: 9px;
  }

  .hero-phone-main {
    width: 220px;
    right: 10px;
    top: 6px;
  }

  .hero-phone-menu {
    width: 174px;
    left: 0;
    top: 158px;
  }

  .hero-phone-issue {
    width: 178px;
    left: auto;
    right: 22px;
    bottom: 12px;
  }

  .note-download {
    right: 2%;
    top: 104px;
  }

  .note-brand {
    left: 2%;
    bottom: 46px;
  }

  .section {
    padding: 82px 0;
  }

  .section-head h2,
  .workflow-copy h2,
  .gallery-copy h2,
  .download-copy h2 {
    font-size: 38px;
    letter-spacing: -2.2px;
  }

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

  .module-card {
    min-height: 220px;
  }

  .workflow-visual {
    min-height: 520px;
  }

  .large-card {
    width: 210px;
    top: 10px;
    right: 12px;
  }

  .small-card {
    width: 172px;
  }

  .small-card.one {
    left: 0;
    top: 104px;
  }

  .small-card.two {
    right: 0;
    bottom: 8px;
  }

  .gallery-mosaic {
    grid-template-columns: 1fr;
  }

  .tall-card {
    width: min(100%, 260px);
    justify-self: center;
  }

  .mosaic-card {
    width: min(100%, 230px);
    justify-self: center;
  }

  .mosaic-card.a,
  .mosaic-card.b {
    transform: none;
  }

  .download-panel {
    padding: 34px 22px;
    border-radius: 26px;
  }

  .download-visual {
    min-height: 320px;
  }

  .download-stack.one {
    width: 60%;
  }

  .download-stack.two {
    width: 56%;
  }

  .download-stack.three {
    width: 42%;
  }

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

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