:root {
  --black: #0A0A0A;
  --surface: #101010;
  --surface-2: #151515;
  --surface-3: #1C1C1C;
  --green: #00C896;
  --white: #FFFFFF;
  --muted: rgba(255, 255, 255, 0.66);
  --dim: rgba(255, 255, 255, 0.44);
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.18);
  --danger: #FF5A5F;
  --warning: #E8B44A;
  --display: "Montserrat", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
  z-index: -2;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--green);
  color: var(--black);
  border-radius: 8px;
  font-weight: 800;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 0 40px;
  background: rgba(10, 10, 10, 0.68);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(10, 10, 10, 0.88);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 128px;
}

.brand img {
  width: 128px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  background: rgba(255,255,255,0.03);
}

.desktop-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a:hover {
  background: rgba(255,255,255,0.07);
  color: var(--white);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.035);
}

.language-switch button {
  min-width: 38px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.language-switch button.active {
  background: var(--green);
  color: var(--black);
}

.header-actions,
.hero-actions,
.app-platforms {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 17px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

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

.button-primary {
  background: var(--green);
  color: var(--black);
}

.button-primary:hover {
  background: #16D3A4;
}

.button-ghost,
.button-glass {
  background: rgba(255,255,255,0.04);
  color: var(--white);
  border-color: var(--line);
}

.button-ghost:hover,
.button-glass:hover {
  border-color: rgba(0,200,150,0.58);
  background: rgba(0,200,150,0.09);
}

.button-large {
  min-height: 54px;
  padding: 15px 22px;
  font-size: 15px;
}

.cta-short {
  display: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 126px 40px 86px;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, var(--black));
  pointer-events: none;
}

.hero-media {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0.6;
  transform: translateX(19%);
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--black) 0%, rgba(10,10,10,0.86) 31%, rgba(10,10,10,0.38) 58%, rgba(10,10,10,0.76) 100%),
    linear-gradient(0deg, var(--black) 0%, rgba(10,10,10,0) 30%, rgba(10,10,10,0.8) 100%);
  z-index: 3;
}

.hero-shot {
  position: absolute;
  width: min(36vw, 360px);
  border-radius: 32px;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.hero-shot-main {
  width: min(42vw, 430px);
  z-index: 2;
}

.hero-shot-pay {
  transform: translate(-56%, 7%) rotate(-6deg);
  z-index: 1;
}

.hero-shot-card {
  transform: translate(57%, 10%) rotate(5deg);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing:0;
}

.section-kicker > span:first-child {
  width: 26px;
  height: 1px;
  background: var(--green);
}

.section-kicker > span:not(:first-child) {
  width: auto;
  height: auto;
  background: transparent;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-family: var(--display);
  font-size: 76px;
  line-height: 0.98;
  letter-spacing:0;
}

.hero-arrow {
  display: inline-block;
  color: var(--white);
  white-space: nowrap;
}

h2 {
  margin-bottom: 18px;
  font-family: var(--display);
  font-size: 44px;
  line-height: 1.08;
  letter-spacing:0;
}

h3 {
  margin-bottom: 9px;
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.2;
  letter-spacing:0;
}

p {
  color: var(--muted);
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 30px;
  color: rgba(255,255,255,0.77);
  font-size: 20px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 650px;
  margin: 42px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.hero-metrics div {
  padding: 18px;
  background: rgba(16,16,16,0.82);
}

.hero-metrics dt {
  font-family: var(--mono);
  color: var(--white);
  font-size: 22px;
  font-weight: 800;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: var(--dim);
  font-size: 13px;
  font-weight: 700;
}

.trust-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
  background: #0D0D0D;
}

.trust-band span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 96px 40px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms ease, transform 560ms ease;
}

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

.section-narrow {
  max-width: 1080px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.75fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 38px;
}

.section-heading p {
  margin: 0;
  font-size: 16px;
}

.flow-rail,
.product-grid,
.use-case-grid,
.security-grid,
.operator-grid,
.gallery-grid {
  display: grid;
  gap: 12px;
}

.flow-rail {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.flow-rail article,
.feature-card,
.use-case-grid article,
.security-grid article,
.operator-grid span,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,0.035);
}

.flow-rail article,
.use-case-grid article,
.security-grid article {
  padding: 24px;
}

.flow-rail strong {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--green);
  font-family: var(--mono);
  font-size: 13px;
}

.flow-rail p,
.use-case-grid p,
.security-grid p,
.feature-card p {
  margin-bottom: 0;
  font-size: 15px;
}

.product-section {
  max-width: 1260px;
}

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

.feature-card {
  position: relative;
  overflow: hidden;
  min-height: 480px;
  padding: 24px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms ease, transform 520ms ease, border-color 180ms ease, background 180ms ease;
}

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

.feature-card:hover {
  border-color: rgba(0,200,150,0.4);
  background: rgba(0,200,150,0.055);
}

.feature-card-wide {
  grid-column: span 2;
}

.feature-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border: 1px solid rgba(0,200,150,0.34);
  border-radius: 8px;
  background: rgba(0,200,150,0.1);
  color: var(--green);
}

.feature-card img {
  position: absolute;
  right: 16px;
  bottom: -118px;
  width: 68%;
  max-width: 270px;
  border-radius: 30px;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.feature-card-wide img {
  right: 28px;
  bottom: -160px;
  width: 48%;
  max-width: 320px;
}

.app-section {
  max-width: 1260px;
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 48px;
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.app-copy p {
  font-size: 17px;
}

.platform-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--white);
  font-weight: 900;
  background: rgba(255,255,255,0.04);
}

.platform-link:hover {
  border-color: rgba(0,200,150,0.45);
}

.phone-stack {
  min-height: 620px;
  position: relative;
}

.phone-stack figure {
  position: absolute;
  width: 32%;
  min-width: 210px;
  margin: 0;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  background: var(--black);
}

.phone-stack figure:nth-child(1) {
  left: 4%;
  top: 20px;
  z-index: 3;
}

.phone-stack figure:nth-child(2) {
  left: 35%;
  top: 92px;
  z-index: 2;
}

.phone-stack figure:nth-child(3) {
  right: 2%;
  top: 0;
  z-index: 1;
}

.use-case-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.security-section {
  max-width: 1120px;
}

.security-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 30px;
}

.security-grid article {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.security-grid article.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.security-grid svg {
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  color: var(--green);
}

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

.operator-grid span {
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 16px 18px;
  color: var(--white);
  font-weight: 900;
}

.operator-grid span::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 10px;
  border-radius: 99px;
  background: var(--green);
}

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

.gallery-grid img {
  width: 100%;
  border-radius: 28px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.faq-section {
  max-width: 920px;
}

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

.faq-list details {
  padding: 0;
}

.faq-list summary {
  cursor: pointer;
  padding: 20px 22px;
  color: var(--white);
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 22px 22px;
}

.final-cta {
  max-width: 1180px;
  margin: 24px auto 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 40px;
  border: 1px solid rgba(0,200,150,0.34);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(0,200,150,0.12), rgba(255,255,255,0.035));
}

.final-cta h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: 32px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.8fr auto;
  gap: 34px;
  padding: 46px 40px;
  border-top: 1px solid var(--line);
  background: #080808;
}

.site-footer img {
  width: 132px;
  margin-bottom: 14px;
}

.site-footer p {
  max-width: 280px;
  margin-bottom: 0;
  font-size: 14px;
}

.site-footer nav {
  display: grid;
  gap: 9px;
  align-content: start;
}

.site-footer a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-footer a:hover {
  color: var(--green);
}

.footer-social {
  display: flex;
  gap: 8px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--white);
}

/* Web app pages */
.app-body {
  min-height: 100vh;
  background: var(--black);
}

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 clamp(18px, 4vw, 42px);
  border-bottom: 1px solid var(--line);
  background: rgba(10,10,10,0.92);
  backdrop-filter: blur(18px);
}

.app-logo {
  display: inline-flex;
  align-items: center;
}

.app-logo img {
  width: 132px;
  height: auto;
}

.app-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.app-nav a {
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.app-nav a[aria-current="page"],
.app-nav a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

.app-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 84px;
}

.app-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.76fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 28px;
}

.app-panel,
.auth-panel,
.data-card,
.state-card,
.mini-card {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(16,16,16,0.92);
  box-shadow: 0 18px 50px rgba(0,0,0,0.28);
  min-width: 0;
}

.app-panel {
  padding: clamp(24px, 4vw, 40px);
}

.app-panel h1,
.app-panel h2 {
  max-width: 780px;
  margin-bottom: 14px;
  font-size: 56px;
  line-height: 1;
}

.app-panel p {
  max-width: 660px;
  font-size: 17px;
  overflow-wrap: break-word;
}

.app-visual {
  min-height: 430px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(0,200,150,0.28);
  border-radius: 22px;
  background: rgba(0,200,150,0.06);
  min-width: 0;
}

.app-visual img {
  width: min(78%, 320px);
  border-radius: 30px;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

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

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

.app-grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mini-card,
.data-card,
.state-card {
  padding: 20px;
}

.mini-card svg,
.data-card svg,
.state-card svg {
  width: 30px;
  height: 30px;
  color: var(--green);
  margin-bottom: 16px;
}

.mini-card h3,
.data-card h3,
.state-card h3 {
  margin-bottom: 8px;
}

.mono-value {
  color: var(--white);
  font-family: var(--mono);
  font-size: 42px;
  font-weight: 700;
  letter-spacing:0;
}

.green {
  color: var(--green);
}

.app-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.table-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.table-row {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.8fr 0.8fr;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.table-row:last-child {
  border-bottom: 0;
}

.table-row strong {
  color: var(--white);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  border: 1px solid rgba(0,200,150,0.34);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--green);
  background: rgba(0,200,150,0.09);
  font-size: 12px;
  font-weight: 900;
}

.status-pill.warning {
  border-color: rgba(232,180,74,0.42);
  color: var(--warning);
  background: rgba(232,180,74,0.09);
}

.status-pill.danger {
  border-color: rgba(255,90,95,0.42);
  color: var(--danger);
  background: rgba(255,90,95,0.09);
}

.auth-layout {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  gap: 28px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 44px 0;
}

.auth-panel {
  padding: clamp(24px, 4vw, 36px);
}

.auth-tabs,
.segmented {
  display: flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
}

.auth-tabs button,
.segmented span,
.segmented button {
  flex: 1;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}

.auth-tabs button.active,
.segmented span.active,
.segmented button.active {
  background: var(--green);
  color: var(--black);
}

.form-stack {
  display: grid;
  gap: 13px;
  margin-top: 22px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--white);
  font-size: 13px;
  font-weight: 900;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 14px;
  background: var(--surface-2);
  color: var(--white);
}

.field textarea {
  min-height: 128px;
  padding-top: 14px;
  resize: vertical;
}

.flow-list {
  display: grid;
  gap: 12px;
  counter-reset: flow;
}

.flow-step {
  position: relative;
  padding: 18px 18px 18px 62px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.flow-step::before {
  counter-increment: flow;
  content: counter(flow, decimal-leading-zero);
  position: absolute;
  left: 18px;
  top: 18px;
  color: var(--green);
  font-family: var(--mono);
  font-weight: 700;
}

.notice-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(0,200,150,0.07);
}

.notice-card.danger {
  border-color: rgba(255,90,95,0.38);
  background: rgba(255,90,95,0.08);
}

.otp-code-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.otp-code-grid input {
  min-height: 54px;
  padding: 0;
  text-align: center;
  font-family: var(--mono);
  font-size: 20px;
}

.link-card {
  display: block;
  color: inherit;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.link-card:hover,
.transaction-row:hover {
  transform: translateY(-1px);
  border-color: rgba(0,200,150,0.42);
  background: rgba(0,200,150,0.06);
}

button.table-row,
.settings-action {
  width: 100%;
  border: 0;
  text-align: left;
  background: transparent;
  cursor: pointer;
}

.settings-action {
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: inherit;
  background: rgba(16,16,16,0.92);
}

.settings-action svg {
  width: 30px;
  height: 30px;
  color: var(--green);
}

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

.screen-strip img {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 240px;
  text-align: center;
  border: 1px dashed rgba(255,255,255,0.24);
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  padding: 28px;
}

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

@media (max-width: 1100px) {
  .desktop-nav {
    display: none;
  }

  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 38px;
  }

  .hero-media {
    opacity: 0.36;
    transform: translateX(24%);
  }

  .flow-rail,
  .use-case-grid,
  .operator-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .feature-card-wide {
    grid-column: span 1;
  }

  .app-section,
  .section-heading,
  .site-footer,
  .app-hero,
  .auth-layout {
    grid-template-columns: 1fr;
  }

  .phone-stack {
    min-height: 560px;
  }

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

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

@media (max-width: 760px) {
  .site-header {
    min-height: 68px;
    padding: 0 18px;
    gap: 10px;
  }

  .brand img {
    width: 106px;
  }

  .header-actions {
    margin-left: auto;
    flex: 0 1 auto;
    min-width: 0;
    justify-content: flex-end;
  }

  .header-actions .button-ghost {
    display: none;
  }

  .header-actions .button-primary {
    min-height: 40px;
    padding: 10px 12px;
    font-size: 13px;
    white-space: nowrap;
  }

  .site-header .cta-wide {
    display: none;
  }

  .site-header .cta-short {
    display: inline;
  }

  .hero {
    min-height: 88vh;
    align-items: start;
    padding: 156px 20px 64px;
  }

  .hero-media {
    transform: translateX(12%);
    opacity: 0.25;
  }

  .hero-shot {
    width: 260px;
  }

  .hero-shot-main {
    width: 300px;
  }

  h1 {
    font-size: 40px;
    max-width: 100%;
  }

  h2 {
    font-size: 31px;
  }

  h3 {
    font-size: 18px;
  }

  .hero-copy {
    font-size: 17px;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .hero-content {
    width: min(100%, 350px);
    max-width: 350px;
    min-width: 0;
  }

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

  .section {
    padding: 72px 20px;
  }

  .flow-rail,
  .product-grid,
  .use-case-grid,
  .security-grid,
  .operator-grid,
  .gallery-grid,
  .app-grid,
  .app-grid.two,
  .app-grid.four,
  .screen-strip {
    grid-template-columns: 1fr;
  }

  .app-topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 20px;
  }

  .app-nav {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .app-shell,
  .auth-layout {
    width: min(100%, 350px);
    max-width: 100%;
  }

  .app-panel,
  .auth-panel {
    padding: 22px;
    width: 100%;
    max-width: 350px;
    overflow: hidden;
  }

  .app-panel h1,
  .app-panel h2 {
    font-size: 30px;
    line-height: 1.06;
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .app-panel p,
  .auth-panel p {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .app-visual {
    min-height: auto;
    padding: 24px 0;
  }

  .table-row {
    grid-template-columns: 1fr;
  }

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

  .feature-card img,
  .feature-card-wide img {
    width: 70%;
    right: 18px;
    bottom: -120px;
  }

  .app-section {
    gap: 24px;
  }

  .phone-stack {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .phone-stack figure {
    position: relative;
    inset: auto !important;
    width: min(100%, 330px);
    min-width: 0;
    margin: 0 auto;
  }

  .final-cta {
    margin: 0 20px 72px;
    padding: 26px 22px;
    flex-direction: column;
    align-items: flex-start;
  }

  .final-cta h2 {
    font-size: 25px;
  }

  .site-footer {
    padding: 38px 20px;
  }
}

@media (max-width: 480px) {
  .site-header .header-actions {
    display: none;
  }

  .hero-copy,
  .hero-metrics,
  .hero-actions {
    width: min(100%, 350px);
    max-width: 350px;
  }

  .hero-actions {
    align-items: stretch;
  }

  .hero-actions .button {
    flex: 1 1 0;
    min-width: 0;
    padding-left: 12px;
    padding-right: 12px;
  }
}
