/* ==========================================================================
   Ravzilo – Android app landing page
   Brand palette is drawn from the supplied Ravzilo logo.
   ========================================================================== */

:root {
  --navy: #0a2f75;
  --navy-deep: #061b46;
  --navy-ink: #071a3e;
  --orange: #f58220;
  --orange-deep: #b85400;
  --orange-soft: #fff0e1;
  --green: #18863c;
  --green-deep: #0f6b2d;
  --green-soft: #e8f5e9;
  --cream: #fbf8f2;
  --cream-deep: #f4eee2;
  --paper: #fffdf9;
  --white: #ffffff;
  --ink: #0a1b3a;
  --muted: #5d6575;
  --line: rgba(10, 47, 117, 0.12);
  --line-soft: rgba(10, 47, 117, 0.08);
  --shadow-sm: 0 10px 30px -18px rgba(7, 26, 62, 0.26);
  --shadow-md: 0 26px 60px -28px rgba(7, 26, 62, 0.34);
  --container: 1180px;
  --radius: 24px;
  --ease: cubic-bezier(0.22, 0.75, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: "Segoe UI Variable Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.dialog-open {
  overflow: hidden;
}

body::selection,
body *::selection {
  background: rgba(245, 130, 32, 0.28);
  color: var(--navy-deep);
}

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

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

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
  border-radius: 6px;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: min(var(--container), calc(100% - 80px));
  margin-inline: auto;
}

.section {
  padding: 104px 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Shared type, eyebrow and buttons
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--green-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(24, 134, 60, 0.11);
}

.eyebrow--light {
  color: #ffbd82;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid transparent;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.15;
  text-align: left;
  text-decoration: none;
  transition:
    transform 220ms var(--ease),
    box-shadow 220ms var(--ease),
    background-color 220ms var(--ease),
    border-color 220ms var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.99);
}

.btn--download {
  border-color: rgba(255, 255, 255, 0.28);
  background: linear-gradient(135deg, #fb9a3c 0%, #f58220 58%, #ee760d 100%);
  color: var(--navy-deep);
  box-shadow: 0 16px 32px -18px rgba(201, 88, 4, 0.75);
}

.btn--download:hover {
  background: linear-gradient(135deg, #ffa64f 0%, #f98a2b 58%, #f57c12 100%);
  box-shadow: 0 20px 38px -18px rgba(201, 88, 4, 0.82);
}

.btn--cream {
  border-color: rgba(255, 255, 255, 0.65);
  background: #fff8ed;
  color: var(--navy-deep);
  box-shadow: 0 18px 42px -20px rgba(0, 0, 0, 0.46);
}

.btn--cream:hover {
  background: var(--white);
  box-shadow: 0 22px 46px -20px rgba(0, 0, 0, 0.54);
}

.btn--large {
  min-height: 70px;
  padding: 9px 24px 9px 10px;
  border-radius: 18px;
  font-size: 15.5px;
}

.btn--header {
  flex: 0 0 auto;
  gap: 8px;
  padding: 11px 16px;
  border-radius: 12px;
  font-size: 13px;
  white-space: nowrap;
}

.btn--header .icon {
  width: 17px;
  height: 17px;
}

.btn--quiet {
  min-height: 50px;
  padding: 10px 18px;
  border-color: var(--line);
  background: var(--cream);
  color: var(--navy);
}

.btn-icon {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  border-radius: 13px;
  background: var(--navy-deep);
  color: var(--white);
  place-items: center;
}

.btn-icon .icon {
  width: 25px;
  height: 25px;
}

.btn--cream .btn-icon {
  background: var(--orange);
  color: var(--navy-deep);
}

.btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.btn-text strong {
  font-size: 16px;
  letter-spacing: -0.015em;
}

.btn-text small {
  color: rgba(6, 27, 70, 0.8);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.015em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: none;
  color: var(--navy);
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 750;
  text-decoration: none;
}

.text-link-icon {
  display: grid;
  width: 31px;
  height: 31px;
  border: 1px solid rgba(10, 47, 117, 0.18);
  border-radius: 50%;
  place-items: center;
  transition:
    background-color 200ms var(--ease),
    color 200ms var(--ease),
    transform 200ms var(--ease);
}

.text-link-icon .icon {
  width: 15px;
  height: 15px;
}

.text-link:hover .text-link-icon {
  transform: translateX(3px);
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.text-link--button {
  padding: 0;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: rgba(251, 248, 242, 0.86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line-soft);
  background: rgba(251, 248, 242, 0.96);
  box-shadow: 0 10px 30px -25px rgba(7, 26, 62, 0.4);
}

.header-inner {
  display: flex;
  min-height: 92px;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

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

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

.main-nav a,
.nav-link {
  position: relative;
  border: 0;
  background: none;
  color: var(--navy);
  cursor: pointer;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.005em;
  padding: 8px 0;
}

.main-nav a::after,
.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms var(--ease);
}

.main-nav a:hover::after,
.nav-link:hover::after {
  transform: scaleX(1);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 66px 0 102px;
}

.hero::before {
  position: absolute;
  top: -300px;
  right: -260px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 130, 32, 0.14) 0%, rgba(245, 130, 32, 0) 68%);
  content: "";
  pointer-events: none;
}

.hero::after {
  position: absolute;
  bottom: -300px;
  left: -320px;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 134, 60, 0.11) 0%, rgba(24, 134, 60, 0) 68%);
  content: "";
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 34px;
}

.hero-copy {
  max-width: 620px;
  padding: 6px 0;
}

.hero .eyebrow {
  margin-bottom: 24px;
  padding: 9px 13px;
  border: 1px solid rgba(10, 47, 117, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-sm);
  color: var(--navy);
  font-size: 10.5px;
  letter-spacing: 0.12em;
}

.hero-title {
  max-width: 680px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.75rem, 4.35vw, 3.85rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.99;
  text-wrap: balance;
}

.hero-title-accent {
  position: relative;
  z-index: 0;
  display: inline;
}

.hero-title-accent::before {
  position: absolute;
  z-index: -1;
  right: -0.02em;
  bottom: 0.04em;
  left: -0.02em;
  height: 0.33em;
  border-radius: 3px 8px 4px 7px;
  background: linear-gradient(90deg, rgba(245, 130, 32, 0.35), rgba(245, 130, 32, 0.16));
  content: "";
  transform: rotate(-0.7deg);
}

.hero-lead {
  max-width: 545px;
  margin: 25px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 33px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 19px;
  margin-top: 23px;
  list-style: none;
}

.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5a6271;
  font-size: 11.5px;
  font-weight: 650;
  white-space: nowrap;
}

.hero-points .icon {
  width: 15px;
  height: 15px;
  color: var(--green);
  stroke-width: 2.4;
}

/* Hero visual ------------------------------------------------------------- */

.hero-visual {
  position: relative;
  display: flex;
  min-height: 700px;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.hero-visual::before {
  position: absolute;
  top: 42px;
  right: 4%;
  width: 190px;
  height: 190px;
  background-image: radial-gradient(rgba(10, 47, 117, 0.18) 1.1px, transparent 1.1px);
  background-size: 17px 17px;
  content: "";
  -webkit-mask-image: linear-gradient(135deg, #000, transparent 75%);
  mask-image: linear-gradient(135deg, #000, transparent 75%);
  opacity: 0.7;
  pointer-events: none;
}

.hero-visual-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 490px;
  height: 540px;
  border-radius: 44% 56% 58% 42% / 48% 42% 58% 52%;
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.9) 0 8%, transparent 31%),
    linear-gradient(145deg, #ffe4c7 0%, #fff5e8 46%, #e5f3e8 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  transform: translate(-50%, -50%) rotate(-6deg);
}

.hero-visual-glow::after {
  position: absolute;
  right: 34px;
  bottom: 48px;
  width: 64px;
  height: 64px;
  border: 11px solid rgba(24, 134, 60, 0.18);
  border-radius: 50%;
  content: "";
}

.hero-visual-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 575px;
  height: 575px;
  border: 1px solid rgba(10, 47, 117, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.hero-visual-ring::before {
  position: absolute;
  top: 28px;
  right: 61px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 7px rgba(245, 130, 32, 0.14);
  content: "";
}

.hero-visual-ring::after {
  position: absolute;
  bottom: 34px;
  left: 49px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(24, 134, 60, 0.12);
  content: "";
}

.phone-stage {
  position: relative;
  z-index: 2;
  width: 328px;
  height: 670px;
}

.phone {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 9px;
  border-radius: 47px;
  background: linear-gradient(155deg, #102c60 0%, #071a3e 43%, #04122c 100%);
  box-shadow:
    0 50px 90px -36px rgba(4, 18, 44, 0.62),
    0 18px 35px -22px rgba(4, 18, 44, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  transform: rotate(-1.6deg);
}

.phone::before {
  position: absolute;
  top: 142px;
  left: -3px;
  width: 3px;
  height: 62px;
  border-radius: 3px 0 0 3px;
  background: #0b2a5d;
  box-shadow: 0 82px 0 #0b2a5d;
  content: "";
}

.phone-island {
  position: absolute;
  top: 17px;
  left: 50%;
  z-index: 5;
  width: 86px;
  height: 23px;
  border-radius: 999px;
  background: #04122c;
  transform: translateX(-50%);
}

.phone-island::after {
  position: absolute;
  top: 8px;
  right: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #173567;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.13);
  content: "";
}

.app-screen {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  overflow: hidden;
  padding: 38px 15px 64px;
  border-radius: 39px;
  background: var(--paper);
}

.app-bar {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 5px;
}

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

.app-cart {
  position: relative;
  display: grid;
  width: 32px;
  height: 32px;
  border: 1px solid #eee8dc;
  border-radius: 10px;
  background: #faf6ee;
  color: var(--navy);
  place-items: center;
}

.app-cart .icon {
  width: 15px;
  height: 15px;
}

.app-cart > span {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  width: 15px;
  height: 15px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--orange);
  color: var(--navy-deep);
  font-size: 7px;
  font-weight: 800;
  place-items: center;
}

.app-greeting > span {
  color: #8b8f99;
  font-size: 7px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.app-greeting h2 {
  max-width: 245px;
  margin: 3px 0 0;
  color: var(--navy);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.app-search {
  display: flex;
  height: 37px;
  flex: 0 0 auto;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding: 0 8px 0 11px;
  border: 1px solid #f0ebe1;
  border-radius: 11px;
  background: #f8f4ed;
  color: #928d84;
  font-size: 8.5px;
  font-weight: 550;
}

.app-search .icon {
  width: 14px;
  height: 14px;
  color: var(--navy);
  stroke-width: 2;
}

.app-search-filter {
  position: relative;
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  margin-left: auto;
  border-radius: 6px;
  background: var(--orange);
}

.app-search-filter::before,
.app-search-filter::after {
  position: absolute;
  left: 5px;
  width: 9px;
  height: 1.4px;
  border-radius: 2px;
  background: var(--navy-deep);
  content: "";
}

.app-search-filter::before {
  top: 7px;
}

.app-search-filter::after {
  top: 11px;
}

.app-promo {
  position: relative;
  min-height: 127px;
  margin-top: 12px;
  overflow: hidden;
  padding: 14px 14px 13px;
  border-radius: 17px;
  background:
    radial-gradient(circle at 94% 8%, rgba(245, 130, 32, 0.25), transparent 40%),
    linear-gradient(125deg, #0a2f75 0%, #0c347e 58%, #123f8f 100%);
  color: var(--white);
}

.app-promo-copy {
  position: relative;
  z-index: 1;
}

.app-promo-copy > span:first-child {
  color: #ffb16c;
  font-size: 6.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.app-promo h3 {
  margin: 6px 0 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.00;
}

.app-promo-btn {
  display: inline-flex;
  min-height: 23px;
  align-items: center;
  border-radius: 7px;
  background: var(--orange);
  color: var(--navy-deep);
  font-size: 7.5px;
  font-weight: 800;
  padding: 5px 10px;
}

.app-promo-art {
  position: absolute;
  right: -6px;
  bottom: -12px;
  display: grid;
  width: 94px;
  height: 94px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--navy-deep);
  place-items: center;
  transform: rotate(-9deg);
}

.app-promo-art .icon {
  width: 41px;
  height: 41px;
  stroke-width: 1.8;
}

.app-promo-circle {
  position: absolute;
  top: -18px;
  left: -12px;
  width: 52px;
  height: 52px;
  border: 2px solid rgba(255, 255, 255, 0.23);
  border-radius: 50%;
}

.app-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 17px 0 9px;
}

.app-section-head h3 {
  margin: 0;
  color: var(--navy);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.app-section-head > span {
  color: var(--orange-deep);
  font-size: 7.5px;
  font-weight: 750;
}

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

.app-category {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 6px 2px 7px;
  border: 1px solid #f0eadf;
  border-radius: 11px;
  background: var(--white);
  color: var(--navy);
  font-size: 6.8px;
  font-weight: 750;
  text-align: center;
}

.app-category-icon {
  display: grid;
  width: 29px;
  height: 29px;
  border-radius: 9px;
  place-items: center;
}

.app-category-icon .icon {
  width: 16px;
  height: 16px;
  stroke-width: 1.8;
}

.app-category-icon--peach {
  background: #ffe6d2;
  color: #bd580c;
}

.app-category-icon--mint {
  background: #e3f3e7;
  color: var(--green-deep);
}

.app-category-icon--lilac {
  background: #eee9fa;
  color: #5641a0;
}

.app-category-icon--butter {
  background: #fff3c9;
  color: #9a6509;
}

.app-section-head--products {
  margin-top: 14px;
}

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

.app-product {
  min-width: 0;
  padding: 6px;
  border: 1px solid #f0eadf;
  border-radius: 12px;
  background: var(--white);
}

.app-product-art {
  display: grid;
  height: 50px;
  margin-bottom: 6px;
  border-radius: 8px;
  place-items: center;
}

.app-product-art .icon {
  width: 27px;
  height: 27px;
  stroke-width: 1.7;
}

.app-product-art--fashion {
  background: #ffe7d7;
  color: #c45c0c;
}

.app-product-art--tech {
  background: #e4f3e8;
  color: var(--green-deep);
}

.app-product strong {
  display: block;
  overflow: hidden;
  color: var(--navy);
  font-size: 7.6px;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.app-product > span:last-child {
  display: block;
  color: #97938b;
  font-size: 6.8px;
  font-weight: 550;
}

.app-nav {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  height: 58px;
  align-items: center;
  justify-content: space-around;
  border-top: 1px solid #eee8dd;
  background: rgba(255, 253, 249, 0.97);
  padding: 6px 8px 8px;
}

.app-nav > span {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #9ca2ae;
}

.app-nav .icon {
  width: 16px;
  height: 16px;
  stroke-width: 1.9;
}

.app-nav i {
  font-size: 6.5px;
  font-style: normal;
  font-weight: 650;
}

.app-nav .is-active {
  color: var(--navy);
}

.app-nav .is-active::before {
  position: absolute;
  top: -6px;
  width: 19px;
  height: 2.5px;
  border-radius: 3px;
  background: var(--orange);
  content: "";
}

/* Floating trust cards ---------------------------------------------------- */

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  background: rgba(255, 253, 249, 0.95);
  box-shadow: 0 18px 38px -20px rgba(7, 26, 62, 0.4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  animation: float 7s ease-in-out infinite;
}

.float-card--secure {
  top: 124px;
  right: -14px;
}

.float-card--delivery {
  bottom: 140px;
  left: -24px;
  animation-delay: -3.5s;
}

.float-card-icon {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border-radius: 10px;
  place-items: center;
}

.float-card-icon .icon {
  width: 17px;
  height: 17px;
}

.float-card-icon--green {
  background: var(--green-soft);
  color: var(--green-deep);
}

.float-card-icon--orange {
  background: var(--orange-soft);
  color: var(--orange-deep);
}

.float-card strong,
.float-card small {
  display: block;
}

.float-card strong {
  color: var(--navy);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.float-card small {
  margin-top: 1px;
  color: #777d89;
  font-size: 8px;
  font-weight: 550;
}

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

/* --------------------------------------------------------------------------
   Features
   -------------------------------------------------------------------------- */

.features {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper);
}

.section-heading {
  max-width: 660px;
  margin: 0 auto 52px;
  text-align: center;
}

.section-heading h2,
.steps-heading h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(2.15rem, 3.3vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.048em;
  line-height: 1.07;
  text-wrap: balance;
}

.section-heading > p:last-child {
  max-width: 560px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}

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

.feature-card {
  position: relative;
  overflow: hidden;
  padding: 30px 28px 32px;
  border: 1px solid #efe7db;
  border-radius: var(--radius);
  background: var(--cream);
  transition:
    transform 260ms var(--ease),
    border-color 260ms var(--ease),
    box-shadow 260ms var(--ease);
}

.feature-card::after {
  position: absolute;
  top: -55px;
  right: -55px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(10, 47, 117, 0.07);
  border-radius: 50%;
  content: "";
}

.feature-card:hover {
  border-color: rgba(245, 130, 32, 0.35);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.feature-icon {
  display: grid;
  width: 52px;
  height: 52px;
  margin-bottom: 25px;
  border-radius: 15px;
  place-items: center;
}

.feature-icon .icon {
  width: 25px;
  height: 25px;
}

.feature-icon--orange {
  background: var(--orange-soft);
  color: var(--orange-deep);
}

.feature-icon--green {
  background: var(--green-soft);
  color: var(--green-deep);
}

.feature-icon--navy {
  background: #e8edf9;
  color: var(--navy);
}

.feature-card h3 {
  margin: 0 0 9px;
  color: var(--navy);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.67;
}

/* --------------------------------------------------------------------------
   Mid-page call to action
   -------------------------------------------------------------------------- */

.mid-cta {
  padding: 104px 0 0;
}

.mid-cta-panel {
  position: relative;
  display: flex;
  overflow: hidden;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
  padding: 56px 56px 57px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 90% 12%, rgba(245, 130, 32, 0.19), transparent 34%),
    radial-gradient(circle at 8% 112%, rgba(24, 134, 60, 0.24), transparent 37%),
    linear-gradient(120deg, #071d49 0%, #0a2f75 62%, #0c347e 100%);
  box-shadow: 0 34px 80px -42px rgba(6, 27, 70, 0.7);
}

.mid-cta-panel::before {
  position: absolute;
  top: -270px;
  right: -80px;
  width: 530px;
  height: 530px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 50%;
  content: "";
}

.mid-cta-panel::after {
  position: absolute;
  right: 225px;
  bottom: -176px;
  width: 380px;
  height: 380px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  content: "";
}

.mid-cta-copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.mid-cta-copy .eyebrow {
  margin-bottom: 16px;
}

.mid-cta-copy h2 {
  margin: 0 0 13px;
  color: var(--white);
  font-size: clamp(2rem, 3.1vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.05;
  text-wrap: balance;
}

.mid-cta-copy > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 15px;
  line-height: 1.65;
}

.mid-cta-action {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 13px;
}

.mid-cta-action .btn {
  width: 294px;
}

.help-link {
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  font-size: 11.5px;
  font-weight: 650;
  padding: 2px 0;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.25);
  text-underline-offset: 4px;
}

.help-link:hover {
  color: var(--white);
}

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */

.steps {
  padding: 104px 0 126px;
}

.steps-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}

.steps-heading h2 {
  margin: 0;
  font-size: clamp(2.15rem, 3.3vw, 3rem);
}

.steps-heading .text-link {
  margin-bottom: 8px;
  white-space: nowrap;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  list-style: none;
}

.step {
  position: relative;
  padding-top: 24px;
  border-top: 1px solid rgba(10, 47, 117, 0.16);
}

.step::before {
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px var(--cream);
  content: "";
}

.step:nth-child(2)::before {
  background: var(--green);
}

.step-number {
  display: block;
  margin-bottom: 21px;
  color: var(--orange-deep);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.step:nth-child(2) .step-number {
  color: var(--green-deep);
}

.step:nth-child(3) .step-number {
  color: var(--navy);
}

.step h3 {
  margin: 0 0 9px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.step p {
  max-width: 310px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.68;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  overflow: hidden;
  border-radius: 38px 38px 0 0;
  background:
    radial-gradient(circle at 96% 4%, rgba(245, 130, 32, 0.14), transparent 28%),
    radial-gradient(circle at 7% 96%, rgba(24, 134, 60, 0.12), transparent 26%),
    var(--navy-deep);
  color: var(--white);
}

.site-footer::before {
  position: absolute;
  top: -300px;
  right: -160px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  content: "";
}

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

.footer-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 74px 0 58px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.footer-cta-copy {
  max-width: 620px;
}

.footer-logo {
  width: auto;
  height: 68px;
  margin-bottom: 25px;
}

.footer-cta h2 {
  margin: 0 0 13px;
  color: var(--white);
  font-size: clamp(2.15rem, 3.3vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.06;
  text-wrap: balance;
}

.footer-cta-copy > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.63);
  font-size: 15px;
  line-height: 1.68;
}

.footer-cta-action {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-cta-action .btn {
  width: 306px;
}

.footer-cta-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 550;
  padding-left: 4px;
}

.footer-cta-note .icon {
  width: 14px;
  height: 14px;
  color: #64c97c;
  stroke-width: 2.4;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  gap: 70px;
  padding: 46px 0 52px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand p {
  max-width: 250px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13.5px;
  line-height: 1.65;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 650;
}

.footer-badge .icon {
  width: 14px;
  height: 14px;
  color: #6ed08a;
}

.footer-nav {
  display: flex;
  gap: 82px;
}

.footer-nav > div {
  min-width: 132px;
}

.footer-nav h3 {
  margin: 2px 0 18px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.footer-nav a,
.footer-nav button {
  display: block;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.35;
  text-align: left;
  transition: color 180ms ease;
}

.footer-nav a:hover,
.footer-nav button:hover {
  color: var(--orange);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 21px 0 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Installation dialog
   -------------------------------------------------------------------------- */

.install-dialog {
  width: min(490px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  overflow: auto;
  padding: 36px;
  border: 1px solid rgba(10, 47, 117, 0.08);
  border-radius: 26px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 100px -30px rgba(3, 12, 33, 0.7);
}

.install-dialog[open] {
  animation: dialog-in 260ms var(--ease);
}

.install-dialog::backdrop {
  background: rgba(3, 14, 37, 0.68);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.dialog-close {
  position: absolute;
  top: 17px;
  right: 17px;
  display: grid;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--cream);
  color: var(--navy);
  cursor: pointer;
  place-items: center;
}

.dialog-close .icon {
  width: 16px;
  height: 16px;
}

.dialog-icon {
  display: grid;
  width: 50px;
  height: 50px;
  margin-bottom: 19px;
  border-radius: 15px;
  background: var(--orange-soft);
  color: var(--orange-deep);
  place-items: center;
}

.dialog-icon .icon {
  width: 25px;
  height: 25px;
}

.install-dialog .eyebrow {
  margin-bottom: 9px;
}

.install-dialog h2 {
  max-width: 360px;
  margin: 0 0 24px;
  color: var(--navy);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.dialog-steps {
  display: grid;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dialog-steps li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.dialog-steps li > span {
  display: grid;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 10px;
  font-weight: 750;
  place-items: center;
}

.dialog-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.dialog-steps strong {
  color: var(--ink);
}

.dialog-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 22px 0 0;
  padding: 11px 12px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green-deep);
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.45;
}

.dialog-note .icon {
  width: 15px;
  height: 15px;
  margin-top: 1px;
  stroke-width: 2.2;
}

.dialog-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.dialog-actions .btn {
  min-height: 50px;
  padding: 10px 18px;
  font-size: 13px;
}

.dialog-actions .btn--download {
  flex: 1;
}

.dialog-actions .btn--download .icon {
  width: 18px;
  height: 18px;
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 720ms var(--ease),
    transform 720ms var(--ease);
  transition-delay: var(--delay, 0s);
}

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

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1180px) {
  .container {
    width: calc(100% - 64px);
  }

  .float-card--secure {
    right: -2px;
  }

  .float-card--delivery {
    left: -4px;
  }

  .hero-visual-glow {
    width: 440px;
    height: 500px;
  }

  .hero-visual-ring {
    width: 510px;
    height: 510px;
  }
}

@media (max-width: 1080px) {
  .float-card {
    display: none;
  }

  .hero-inner {
    gap: 18px;
  }

  .hero-visual-glow {
    width: 410px;
    height: 470px;
  }

  .hero-visual-ring {
    width: 470px;
    height: 470px;
  }
}

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

  .header-inner {
    justify-content: space-between;
  }

  .hero {
    padding-top: 48px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy {
    max-width: 660px;
    margin-inline: auto;
  }

  .hero .eyebrow {
    justify-content: center;
  }

  .hero-title,
  .hero-lead {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-points {
    justify-content: center;
  }

  .hero-visual {
    min-height: 675px;
    margin-top: 12px;
  }

  .hero-visual::before {
    right: 18%;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    max-width: 580px;
    margin-inline: auto;
  }

  .feature-card {
    padding: 28px 28px 30px;
  }

  .feature-icon {
    margin-bottom: 19px;
  }

  .mid-cta-panel {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
    padding: 44px 40px 45px;
  }

  .mid-cta-copy {
    max-width: 640px;
  }

  .mid-cta-action {
    align-items: flex-start;
    width: 100%;
  }

  .mid-cta-action .btn {
    width: min(100%, 340px);
  }

  .footer-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .footer-cta-action {
    align-items: flex-start;
  }

  .steps-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .steps-heading .text-link {
    margin-bottom: 0;
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 40px);
  }

  .section {
    padding: 78px 0;
  }

  .header-inner {
    min-height: 78px;
    gap: 12px;
  }

  .brand img {
    height: 50px;
  }

  .btn--header {
    gap: 6px;
    padding: 10px 12px;
    font-size: 12px;
  }

  .btn--header .icon {
    width: 15px;
    height: 15px;
  }

  .hero {
    padding: 42px 0 72px;
  }

  .hero .eyebrow {
    margin-bottom: 20px;
    font-size: 9.5px;
  }

  .hero-title {
    font-size: clamp(2.4rem, 9.4vw, 3.1rem);
    line-height: 1.01;
  }

  .hero-lead {
    margin-top: 20px;
    font-size: 15.5px;
    line-height: 1.65;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: 27px;
  }

  .hero-actions .btn--large {
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
  }

  .hero-actions .text-link {
    justify-content: center;
  }

  .hero-points {
    gap: 8px 14px;
    margin-top: 20px;
  }

  .hero-points li {
    font-size: 10.8px;
  }

  .hero-visual {
    min-height: 660px;
    margin-top: 6px;
  }

  .hero-visual-glow {
    width: 350px;
    height: 430px;
  }

  .hero-visual-ring {
    width: 400px;
    height: 400px;
  }

  .hero-visual::before {
    display: none;
  }

  .phone-stage {
    zoom: 0.94;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2,
  .steps-heading h2 {
    font-size: clamp(2rem, 7.6vw, 2.45rem);
  }

  .section-heading > p:last-child {
    font-size: 14.5px;
  }

  .feature-card {
    padding: 25px 23px 27px;
  }

  .feature-card h3 {
    font-size: 18px;
  }

  .mid-cta {
    padding-top: 78px;
  }

  .mid-cta-panel {
    padding: 34px 24px 36px;
    border-radius: 26px;
  }

  .mid-cta-copy h2 {
    font-size: 2rem;
  }

  .mid-cta-copy > p:last-child {
    font-size: 14px;
  }

  .mid-cta-action .btn {
    width: 100%;
    max-width: none;
  }

  .steps {
    padding: 78px 0 90px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .step {
    padding-top: 21px;
  }

  .step-number {
    margin-bottom: 13px;
  }

  .step p {
    max-width: 100%;
  }

  .footer-cta {
    padding: 56px 0 44px;
  }

  .footer-logo {
    height: 56px;
    margin-bottom: 21px;
  }

  .footer-cta h2 {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

  .footer-cta-copy > p:last-child {
    font-size: 14px;
  }

  .footer-cta-action,
  .footer-cta-action .btn {
    width: 100%;
  }

  .footer-main {
    flex-direction: column;
    gap: 38px;
    padding: 38px 0 42px;
  }

  .footer-nav {
    gap: 48px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    padding: 18px 0 22px;
  }

  .install-dialog {
    padding: 30px 24px 26px;
  }

  .install-dialog h2 {
    padding-right: 20px;
    font-size: 27px;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 36px);
  }

  .brand img {
    height: 44px;
  }

  .btn--header {
    padding: 9px 10px;
    font-size: 11px;
  }

  .btn--header .icon {
    display: none;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-title {
    font-size: clamp(2.22rem, 9.7vw, 2.65rem);
    letter-spacing: -0.052em;
  }

  .hero .eyebrow {
    padding: 8px 11px;
    font-size: 8.5px;
    letter-spacing: 0.1em;
  }

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

  .hero-visual-glow {
    width: 300px;
    height: 380px;
  }

  .hero-visual-ring {
    width: 340px;
    height: 340px;
  }

  .phone-stage {
    zoom: 0.84;
  }

  .btn--large {
    min-height: 66px;
    padding: 8px 18px 8px 9px;
  }

  .btn-icon {
    width: 48px;
    height: 48px;
  }

  .btn-text strong {
    font-size: 15px;
  }

  .mid-cta-panel {
    padding: 30px 20px 32px;
  }

  .footer-nav {
    gap: 34px;
  }

  .dialog-actions {
    flex-direction: column;
  }

  .dialog-actions .btn {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .phone-stage {
    zoom: 0.76;
  }

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

  .hero-visual-glow {
    width: 270px;
    height: 350px;
  }

  .hero-visual-ring {
    width: 300px;
    height: 300px;
  }

  .hero-title {
    font-size: 2.05rem;
  }

  .btn--header {
    padding: 9px;
  }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .float-card {
    animation: none;
  }
}
