:root {
  --paloma-yellow: #ffca08;
  --paloma-yellow-soft: #ffe27a;
  --charcoal: #4b4b4d;
  --ink: #232326;
  --muted: #747476;
  --line: #ece8dc;
  --surface: #fffdf7;
  --white: #ffffff;
  --green: #40a66b;
  --blue: #4a77d9;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(35, 35, 38, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  overflow-x: hidden;
  background: #050505;
  color: var(--white);
  font-family: "Poppins", Arial, sans-serif;
  letter-spacing: 0;
}

body::before {
  content: "";
  position: fixed;
  inset: -18%;
  z-index: -2;
  pointer-events: none;
  background:
    conic-gradient(from 145deg at 22% 20%, #050505, #16130a, #ffca08, #ffdc57, #332800, #050505),
    linear-gradient(120deg, rgba(255, 202, 8, 0.62), rgba(5, 5, 5, 0.2) 42%, rgba(255, 255, 255, 0.08)),
    #050505;
  filter: saturate(1.35) contrast(1.1);
  transform: scale(1.05);
  animation: paloma-paper-shift 18s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 75% 24%, rgba(255, 202, 8, 0.52), transparent 35%),
    radial-gradient(ellipse at 18% 76%, rgba(255, 202, 8, 0.18), transparent 34%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.28), rgba(5, 5, 5, 0.68) 42%, rgba(5, 5, 5, 0.36)),
    repeating-linear-gradient(0deg, rgba(255, 202, 8, 0.08) 0 1px, transparent 1px 5px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 6px);
  mix-blend-mode: normal;
}

@keyframes paloma-paper-shift {
  0% {
    transform: scale(1.05) translate3d(-1.5%, -1%, 0) rotate(0deg);
  }

  100% {
    transform: scale(1.12) translate3d(1.5%, 1%, 0) rotate(4deg);
  }
}

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

.site-header {
  position: relative;
  z-index: 10;
}

main {
  position: relative;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 72px);
  background: rgba(5, 5, 5, 0.7);
  border-bottom: 1px solid rgba(255, 202, 8, 0.14);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
  font-weight: 800;
  color: var(--white);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paloma-yellow);
  box-shadow: 0 10px 24px rgba(255, 202, 8, 0.28);
}

.brand-mark img,
.mini-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  font-size: 1.15rem;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--paloma-yellow);
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.header-cta {
  padding: 0 18px;
  background: var(--paloma-yellow);
  color: var(--charcoal);
  box-shadow: 0 14px 34px rgba(255, 202, 8, 0.25);
}

.app-prompt {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: end center;
  padding: 18px;
  background: rgba(35, 35, 38, 0);
  pointer-events: none;
  transition: background 180ms ease;
}

.app-prompt.is-visible {
  background: rgba(35, 35, 38, 0.18);
  pointer-events: auto;
}

.app-prompt-panel {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  width: min(100%, 430px);
  padding: 18px;
  border: 1px solid rgba(75, 75, 77, 0.12);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.98);
  box-shadow: 0 24px 70px rgba(35, 35, 38, 0.22);
  transform: translateY(18px);
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.app-prompt.is-visible .app-prompt-panel {
  transform: translateY(0);
  opacity: 1;
}

.app-prompt-brand {
  width: 54px;
  height: 54px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--paloma-yellow);
  box-shadow: 0 12px 26px rgba(255, 202, 8, 0.28);
}

.app-prompt-brand img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-prompt-copy {
  min-width: 0;
  padding-right: 28px;
}

.app-prompt-copy .eyebrow {
  margin-bottom: 6px;
  font-size: 0.68rem;
}

.app-prompt-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.22rem;
  line-height: 1.15;
}

.app-prompt-copy p:last-child {
  margin: 8px 0 0;
  color: #626265;
  font-size: 0.9rem;
  line-height: 1.5;
}

.app-prompt-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(75, 75, 77, 0.1);
  color: var(--charcoal);
  cursor: pointer;
  font: inherit;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
}

.app-prompt-actions {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 2px;
}

.app-prompt-actions .primary-button,
.app-prompt-actions .secondary-button {
  min-width: 0;
  min-height: 46px;
  padding: 0 12px;
  font-size: 0.9rem;
}

.app-prompt-actions .secondary-button {
  background: var(--white);
  color: var(--ink);
}

.prefer-play .play-store-link {
  order: -1;
  background: var(--paloma-yellow);
  color: var(--charcoal);
  box-shadow: 0 16px 34px rgba(255, 202, 8, 0.32);
}

.prefer-play .app-store-link {
  order: 2;
  border: 1px solid rgba(75, 75, 77, 0.18);
  background: var(--white);
  color: var(--ink);
  box-shadow: none;
}

.prefer-app-store .app-store-link {
  order: -1;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  align-items: center;
  gap: clamp(36px, 6vw, 88px);
  min-height: calc(100vh - 76px);
  padding: clamp(44px, 7vw, 86px) clamp(20px, 5vw, 72px) 54px;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.92), rgba(5, 5, 5, 0.58) 43%, rgba(255, 202, 8, 0.1) 100%);
  perspective: 1200px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  z-index: -1;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0), rgba(5, 5, 5, 0.98));
  pointer-events: none;
}

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

.eyebrow {
  margin: 0 0 15px;
  color: var(--paloma-yellow);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.story-copy h2 {
  margin: 0;
  color: var(--white);
  font-weight: 800;
  line-height: 1.03;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(3.1rem, 7vw, 6.8rem);
}

.hero-text {
  max-width: 650px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.78;
}

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

.primary-button,
.secondary-button {
  gap: 10px;
  min-width: 150px;
  padding: 0 20px;
}

.primary-button {
  background: var(--paloma-yellow);
  color: var(--charcoal);
  box-shadow: 0 16px 34px rgba(255, 202, 8, 0.32);
}

.secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  backdrop-filter: blur(12px);
}

.button-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(75, 75, 77, 0.12);
  font-size: 0.75rem;
  line-height: 1;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.trust-row span {
  padding: 9px 12px;
  border: 1px solid rgba(255, 202, 8, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 0;
  perspective: 1400px;
}

.phone-frame {
  position: relative;
  width: min(392px, 88vw);
  aspect-ratio: 1320 / 2868;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 48px;
  background:
    linear-gradient(145deg, #171719, #555557 34%, #161618 63%, #737376),
    #202023;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.5),
    0 0 90px rgba(255, 202, 8, 0.18),
    inset 0 0 0 2px rgba(255, 255, 255, 0.08),
    inset 0 0 0 8px #1f1f22;
  transform: rotateY(7deg) rotateZ(2deg);
  transform-style: preserve-3d;
  transition: transform 120ms linear;
}

.phone-top {
  position: absolute;
  top: 24px;
  left: 50%;
  z-index: 8;
  transform: translateX(-50%) translateZ(44px);
  display: grid;
  place-items: center;
  width: 110px;
  height: 34px;
  pointer-events: none;
}

.dynamic-island {
  display: block;
  width: 96px;
  height: 29px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 78% 50%, #1f2024 0 7%, transparent 8%),
    linear-gradient(180deg, #050506, #171719);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.11),
    0 1px 0 rgba(255, 255, 255, 0.08);
}

.phone-side {
  position: absolute;
  z-index: -1;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #77777a, #202024);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.side-left {
  left: -4px;
  top: 108px;
  height: 96px;
}

.side-left::after {
  content: "";
  position: absolute;
  left: 0;
  top: 124px;
  width: 4px;
  height: 82px;
  border-radius: inherit;
  background: inherit;
}

.side-right {
  right: -4px;
  top: 172px;
  height: 142px;
}

.app-home {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: 0;
  padding: 76px 18px 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 39px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 18%),
    #fffaf0;
  color: var(--ink);
  transform: translateZ(22px);
}

.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.app-header p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.app-header strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
}

.mini-logo {
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 8px;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  margin-top: 18px;
  padding: 0 14px;
  border: 1px solid rgba(75, 75, 77, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 26px rgba(35, 35, 38, 0.06);
}

.search-bar span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.search-bar input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  background: transparent;
}

.promo-card {
  margin-top: 18px;
  padding: 22px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(75, 75, 77, 0.95), rgba(35, 35, 38, 0.98)),
    var(--charcoal);
  color: var(--white);
  position: relative;
  overflow: hidden;
  transform: translateZ(16px);
}

.promo-card::after {
  content: "";
  position: absolute;
  right: -34px;
  bottom: -46px;
  width: 148px;
  height: 148px;
  border-radius: 50%;
  background: var(--paloma-yellow);
}

.promo-card p,
.promo-card h2,
.promo-card span {
  position: relative;
  z-index: 1;
}

.promo-card p {
  margin: 0 0 8px;
  color: var(--paloma-yellow);
  font-weight: 800;
}

.promo-card h2 {
  max-width: 220px;
  margin: 0;
  font-size: 1.75rem;
  line-height: 1.08;
}

.promo-card span {
  display: block;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 600;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.category-grid article {
  min-height: 76px;
  padding: 13px;
  border: 1px solid rgba(75, 75, 77, 0.1);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(35, 35, 38, 0.055);
}

.cat-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--paloma-yellow);
  color: var(--charcoal);
  font-size: 0.7rem;
}

.product-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.product-row article {
  min-width: 0;
  padding: 10px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(35, 35, 38, 0.08);
}

.product-visual {
  height: 92px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.product-visual.lemon {
  background:
    radial-gradient(circle at 30% 36%, #fff7b0 0 14%, transparent 15%),
    radial-gradient(circle at 62% 58%, #89cc7a 0 11%, transparent 12%),
    linear-gradient(135deg, #f4f7e6, #ffdd51);
}

.product-visual.tech {
  background:
    linear-gradient(145deg, rgba(74, 119, 217, 0.92), rgba(35, 35, 38, 0.95)),
    var(--blue);
}

.product-row strong,
.product-row span {
  display: block;
  overflow-wrap: anywhere;
}

.product-row strong {
  color: var(--ink);
  font-size: 0.8rem;
}

.product-row span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.service-band,
.feature-story,
.brand-strip {
  position: relative;
  padding: clamp(54px, 7vw, 92px) clamp(20px, 5vw, 72px);
}

.service-band {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.96), rgba(18, 18, 18, 0.92));
}

.section-heading {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(220px, 0.62fr) minmax(0, 1fr);
  align-items: end;
  gap: 28px;
  margin-bottom: 28px;
}

.section-heading h2,
.story-copy h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

.services-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  perspective: 1300px;
}

.services-grid article {
  min-height: 256px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.22);
  transform-style: preserve-3d;
  backdrop-filter: blur(12px);
  transition: transform 160ms linear, box-shadow 200ms ease, border-color 200ms ease;
}

.services-grid article:hover {
  border-color: rgba(255, 202, 8, 0.6);
  box-shadow: 0 28px 70px rgba(35, 35, 38, 0.12);
  transform: translate3d(0, -8px, 18px) rotateX(2deg);
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--paloma-yellow);
  color: var(--charcoal);
  font-weight: 800;
}

.services-grid h3 {
  margin: 38px 0 12px;
  color: var(--white);
  font-size: 1.25rem;
}

.services-grid p,
.story-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
}

.story-copy,
.flow-list,
.brand-strip > * {
  position: relative;
  z-index: 2;
}

.feature-story {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  background:
    linear-gradient(120deg, rgba(5, 5, 5, 0.98), rgba(35, 35, 38, 0.94)),
    #050505;
  color: var(--white);
}

.feature-story .eyebrow,
.feature-story h2 {
  color: var(--paloma-yellow);
}

.story-copy p {
  max-width: 620px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.74);
}

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

.flow-list div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 86px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.flow-list span {
  color: var(--paloma-yellow);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.flow-list strong {
  overflow-wrap: anywhere;
  font-size: clamp(1rem, 2vw, 1.4rem);
}

.brand-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 168px;
  background:
    linear-gradient(90deg, var(--paloma-yellow), #ffd94a 55%, var(--paloma-yellow));
  overflow: hidden;
}

.brand-strip::after {
  content: "PALOMA";
  position: absolute;
  right: clamp(16px, 5vw, 72px);
  bottom: -0.18em;
  color: rgba(75, 75, 77, 0.08);
  font-size: clamp(5rem, 18vw, 16rem);
  font-weight: 800;
  line-height: 0.8;
  pointer-events: none;
}

.brand-strip-left {
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand-strip-left div {
  display: flex;
  gap: 10px;
}

.swatch {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(35, 35, 38, 0.14);
  border-radius: 8px;
}

.swatch.yellow {
  background: var(--paloma-yellow);
}

.swatch.charcoal {
  background: var(--charcoal);
}

.swatch.white {
  background: var(--white);
}

.brand-strip p {
  margin: 0;
  color: var(--charcoal);
  font-size: clamp(2rem, 7vw, 5.6rem);
  font-weight: 800;
  line-height: 1;
}

.brand-strip [lang="ar"] {
  font-family: "Noto Kufi Arabic", sans-serif;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  max-width: 560px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(75, 75, 77, 0.18);
  border-radius: 8px;
  background: rgba(35, 35, 38, 0.9);
  color: var(--paloma-yellow);
  font-size: 0.86rem;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.social-links a:hover {
  background: var(--white);
  color: var(--charcoal);
}

.policy-hero,
.policy-layout {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.policy-hero {
  display: grid;
  align-content: end;
  min-height: 48vh;
  padding-top: 96px;
  padding-bottom: 56px;
}

.policy-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--white);
  font-size: clamp(3rem, 9vw, 6.8rem);
  line-height: 0.95;
}

.policy-hero p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  padding-bottom: 72px;
}

.policy-card,
.policy-links-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.policy-card {
  padding: clamp(24px, 5vw, 48px);
}

.policy-card h2,
.policy-links-card h2 {
  margin: 0;
  color: var(--paloma-yellow);
  font-size: clamp(1.35rem, 3vw, 2.2rem);
}

.policy-card p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
  line-height: 1.8;
}

.policy-links-card {
  display: grid;
  align-content: start;
  gap: 22px;
  padding: 24px;
}

.policy-links-card div {
  display: grid;
  gap: 10px;
}

.policy-links-card a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255, 202, 8, 0.2);
  border-radius: 8px;
  background: rgba(5, 5, 5, 0.36);
  color: var(--white);
  font-weight: 800;
}

.policy-links-card a:hover {
  background: var(--paloma-yellow);
  color: var(--ink);
}

@media (max-width: 900px) {
  .site-header {
    min-height: 68px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 36px;
  }

  .hero-copy {
    text-align: left;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 5.1rem);
  }

  .hero-visual {
    order: -1;
  }

  .phone-frame {
    width: min(340px, 92vw);
    transform: rotateY(3deg);
  }

  .app-home {
    min-height: 0;
  }

  .section-heading,
  .feature-story {
    grid-template-columns: 1fr;
  }

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

  .services-grid article {
    min-height: 210px;
  }

  .brand-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .social-links {
    justify-content: flex-start;
  }

  .policy-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  html {
    overflow-x: hidden;
  }

  .site-header {
    padding-inline: 16px;
    gap: 12px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .header-cta {
    display: none;
  }

  .app-prompt {
    align-items: end;
    padding: 14px;
  }

  .app-prompt-actions {
    grid-template-columns: 1fr;
  }

  .app-prompt-actions .primary-button,
  .app-prompt-actions .secondary-button {
    width: 100%;
  }

  .hero,
  .service-band,
  .feature-story,
  .brand-strip {
    padding-inline: 16px;
  }

  .hero,
  .hero-copy,
  .hero-visual,
  .service-band,
  .feature-story,
  .brand-strip {
    max-width: 100vw;
    min-width: 0;
  }

  .hero-copy {
    width: min(358px, calc(100vw - 32px));
    justify-self: start;
  }

  .hero-visual {
    width: min(358px, calc(100vw - 32px));
    justify-self: start;
  }

  .hero h1 {
    font-size: 2.55rem;
    overflow-wrap: anywhere;
  }

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

  .primary-button,
  .secondary-button {
    min-width: 0;
    padding-inline: 10px;
    font-size: 0.82rem;
  }

  .phone-frame {
    width: min(312px, 88vw);
    padding: 9px;
    border-width: 1px;
    border-radius: 42px;
  }

  .app-home {
    min-height: 0;
    padding: 68px 14px 14px;
    border-radius: 34px;
  }

  .phone-top {
    top: 20px;
    width: 98px;
    height: 30px;
  }

  .dynamic-island {
    width: 84px;
    height: 25px;
  }

  .promo-card h2 {
    max-width: 190px;
    font-size: 1.48rem;
  }

  .promo-card {
    margin-top: 12px;
    padding: 18px;
  }

  .promo-card span {
    margin-top: 10px;
    font-size: 0.76rem;
  }

  .category-grid,
  .product-row {
    gap: 8px;
    margin-top: 12px;
  }

  .category-grid article {
    min-height: 64px;
    padding: 10px;
    font-size: 0.78rem;
  }

  .cat-icon {
    width: 23px;
    height: 23px;
    margin-bottom: 6px;
  }

  .product-row article {
    padding: 8px;
  }

  .product-visual {
    height: 56px;
  }

  .flow-list div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .brand-strip p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .brand-strip-left {
    align-items: flex-start;
    flex-direction: column;
  }

  .social-links {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .social-links a {
    width: 100%;
  }
}
