:root {
  --background: #f7f7f9;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-solid: #ffffff;
  --text: #111113;
  --muted: #707078;
  --line: rgba(20, 20, 24, 0.09);
  --accent: #ff385c;
  --accent-dark: #e51d4a;
  --success: #18a572;
  --shadow-sm: 0 8px 28px rgba(15, 15, 20, 0.08);
  --shadow-md: 0 18px 60px rgba(15, 15, 20, 0.14);
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 30px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  background: var(--background);
  overscroll-behavior: none;
  touch-action: pan-x pan-y;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

html,
body,
#app {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 20% -10%, rgba(255,255,255,.95), transparent 35%),
    var(--background);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  min-height: 100dvh;
}

button, input, select {
  font: inherit;
}

button {
  color: inherit;
}

button, a {
  -webkit-user-select: none;
  user-select: none;
}

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

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

.app-shell {
  width: min(100%, 760px);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--background);
}

.page {
  padding: calc(22px + var(--safe-top)) 18px calc(36px + var(--safe-bottom));
}

.page--with-nav {
  padding-bottom: calc(104px + var(--safe-bottom));
}

.eyebrow {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}

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

h1 {
  margin-bottom: 0;
  font-size: clamp(30px, 7vw, 46px);
  line-height: 1.03;
  letter-spacing: -.045em;
}

h2 {
  letter-spacing: -.025em;
}

.icon-button,
.floating-icon {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.primary-button,
.secondary-button {
  min-height: 54px;
  padding: 0 22px;
  border: 0;
  border-radius: 17px;
  font-weight: 800;
}

.primary-button {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: white;
  box-shadow: 0 12px 26px rgba(255, 56, 92, .22);
}

.primary-button:disabled {
  opacity: .45;
  box-shadow: none;
}

.primary-button--full,
.secondary-button {
  width: 100%;
}

.secondary-button {
  background: var(--surface-solid);
  border: 1px solid var(--line);
}

.text-button {
  display: block;
  margin: 18px auto 0;
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  font-weight: 800;
}

.bottom-nav {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 0;
  width: min(100%, 760px);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
  padding: 9px 10px calc(8px + var(--safe-bottom));
  border-top: 1px solid var(--line);
  background: rgba(250,250,252,.9);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
}

.bottom-nav__item {
  min-width: 0;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  color: #7a7a82;
  font-size: 10px;
  font-weight: 650;
}

.bottom-nav__item span {
  display: block;
}

.bottom-nav__icon {
  height: 28px;
  margin-bottom: 1px;
}

.bottom-nav__item.is-active {
  color: var(--accent);
}

.bottom-nav__item.is-active svg {
  stroke-width: 2.4;
}

.toast-root {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: calc(90px + var(--safe-bottom));
  transform: translateX(-50%);
  width: min(90%, 400px);
  pointer-events: none;
}

.toast {
  padding: 14px 18px;
  border-radius: 18px;
  color: white;
  background: rgba(20,20,24,.92);
  box-shadow: var(--shadow-md);
  text-align: center;
  font-weight: 700;
  animation: toast-in .25s ease both;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
}

.modal-open {
  overflow: hidden;
}

.modal-backdrop {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(10,10,14,.42);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.modal-sheet {
  width: min(100%, 760px);
  max-height: 88dvh;
  overflow: auto;
  border-radius: 30px 30px 0 0;
  background: var(--surface-solid);
  box-shadow: var(--shadow-md);
  animation: sheet-up .32s cubic-bezier(.2,.8,.2,1) both;
}

.modal-sheet__handle {
  width: 42px;
  height: 5px;
  margin: 9px auto 0;
  border-radius: 999px;
  background: #d7d7dc;
}

.modal-content {
  padding: 14px 20px calc(24px + var(--safe-bottom));
}

.modal-heading,
.checkout-header,
.compact-header {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 10px;
}

.modal-heading h2,
.checkout-header h1 {
  margin: 0;
  text-align: center;
  font-size: 18px;
}

.field-label {
  display: block;
  margin: 28px 0 10px;
  font-weight: 800;
}

.range-value {
  margin-bottom: 8px;
  font-size: 30px;
  font-weight: 850;
  letter-spacing: -.04em;
}

.price-range {
  width: 100%;
  accent-color: var(--accent);
}

.select-field {
  width: 100%;
  height: 54px;
  padding: 0 14px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #f5f5f7;
}

.spinner {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: -4px;
  margin-right: 8px;
  border: 2px solid rgba(255,255,255,.45);
  border-top-color: white;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes sheet-up { from { transform: translateY(100%); } }

.helper-text {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.center { text-align: center; }
.danger-text { color: #d52c44; }

.empty-state {
  grid-column: 1 / -1;
  padding: 70px 20px;
  text-align: center;
}

.empty-state > div {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
  border-radius: 20px;
  background: white;
  box-shadow: var(--shadow-sm);
}

.empty-state h2 {
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--muted);
  line-height: 1.55;
}

@media (min-width: 760px) {
  body {
    padding: 28px 0;
  }

  .app-shell {
    overflow: hidden;
    border: 1px solid rgba(20,20,24,.08);
    border-radius: 34px;
    box-shadow: var(--shadow-md);
  }

  .bottom-nav {
    bottom: 28px;
    border-radius: 0 0 34px 34px;
  }

  .modal-sheet {
    margin-bottom: 28px;
    border-radius: 30px;
  }
}


/* Stay Lagos V2: native-app-style zoom lock */
button,
a,
input,
select,
textarea,
img,
svg {
  touch-action: manipulation;
}

input,
select,
textarea {
  font-size: 16px;
}

.splash-screen{position:fixed;z-index:9999;inset:0;display:grid;place-items:center;align-content:center;gap:12px;padding:24px;color:#fff;background:radial-gradient(circle at 50% 25%,rgba(255,90,117,.28),transparent 35%),linear-gradient(160deg,#121214,#281922 58%,#141416);text-align:center;transition:opacity .5s ease,visibility .5s ease}
.splash-screen.is-hidden{opacity:0;visibility:hidden}.splash-screen__mark{width:88px;height:88px;display:grid;place-items:center;margin-bottom:10px;border-radius:28px;background:linear-gradient(145deg,#ff5a75,#d91947);box-shadow:0 24px 60px rgba(255,56,92,.28);font-size:28px;font-weight:900;animation:splash-mark 1.05s cubic-bezier(.2,.8,.2,1) both}.splash-screen h1{margin:0;font-size:42px}.splash-screen p{margin:0;color:rgba(255,255,255,.75);font-size:18px;line-height:1.45}.splash-screen>span{position:absolute;bottom:calc(24px + var(--safe-bottom));color:rgba(255,255,255,.46);font-size:11px}@keyframes splash-mark{from{opacity:0;transform:scale(.7) translateY(12px)}to{opacity:1;transform:scale(1) translateY(0)}}.app-shell.is-entering{animation:app-enter .42s ease both}@keyframes app-enter{from{opacity:0;transform:translateY(8px)}}.page,.details-page{animation:page-in .24s ease both}@keyframes page-in{from{opacity:0;transform:translateY(5px)}}
.about-credit{margin-top:22px;padding:22px;border-radius:24px;color:#fff;background:linear-gradient(145deg,#17171a,#35353d);box-shadow:var(--shadow-md)}.about-credit p,.about-credit small{color:rgba(255,255,255,.68)}.about-credit h2{margin:8px 0 4px}.about-credit .credit-name{display:inline-block;margin-top:10px;color:#fff;font-weight:900}.about-credit__tech{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}.about-credit__tech span{padding:7px 10px;border:1px solid rgba(255,255,255,.12);border-radius:999px;background:rgba(255,255,255,.06);font-size:11px;font-weight:750}
