/* EaseAbroad Landing Page Stylesheet (Stitch Midnight Sapphire & Azure Sky) */

:root {
  --df-indigo: #006194;
  --df-indigo-dark: #004B73;
  --df-magenta: #007BB9;
  --df-coral: #FB7185;
  --df-coral-deep: #B90538;
  --grad: linear-gradient(135deg, #004B73 0%, #006194 52%, #B90538 100%);
  --grad-subtle: linear-gradient(135deg, rgba(0,75,115,0.08) 0%, rgba(0,97,148,0.06) 50%, rgba(185,5,56,0.08) 100%);
  --grad-warm: linear-gradient(135deg, #38BDF8 0%, #006194 50%, #B90538 100%);
  --bg: #F8FAFC;
  --surface: #FFFFFF;
  --surface-2: #EAEDFF;
  --surface-hover: #E2E7FD;
  --border: #BFC7D2;
  --border-subtle: #DDE2F7;
  --ink: #151B2B;
  --muted: #3F4850;
  --muted-light: #5B6470;
  --phone-bezel: #0D1322;
  --card-shadow: 0 14px 34px rgba(13, 19, 34, 0.08);
  --phone-shadow: 0 24px 50px rgba(13, 19, 34, 0.22);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0D1322;
    --surface: #151B2B;
    --surface-2: #1E293B;
    --surface-hover: #263449;
    --border: #334155;
    --border-subtle: #1E293B;
    --ink: #F8FAFC;
    --muted: #CBD5E1;
    --muted-light: #94A3B8;
    --phone-bezel: #070B14;
    --card-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    --phone-shadow: 0 26px 60px rgba(0, 0, 0, 0.65);
  }
}

/* Page baseline */
html {
  background-color: var(--bg);
}
@media (prefers-color-scheme: dark) {
  html {
    background-color: var(--bg);
  }
}

.lp {
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.lp main {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px 48px;
}

/* Header */
.lp header {
  max-width: 1160px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 247, 252, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

@media (prefers-color-scheme: dark) {
  .lp header {
    background: rgba(13, 19, 34, 0.92);
  }
}

.lp .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.4px;
}

.lp .brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(59, 42, 160, 0.25);
}

.lp header nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lp header nav a.nav-link {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--muted);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 9px;
  transition: color 0.15s, background 0.15s;
}

.lp header nav a.nav-link:hover {
  color: var(--ink);
  background: var(--surface-2);
}

.lp header nav a.login {
  color: var(--ink);
  font-weight: 600;
  font-size: 14.5px;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  text-decoration: none;
  margin-left: 6px;
  transition: all 0.15s;
}

.lp header nav a.login:hover {
  border-color: var(--df-coral);
  color: var(--df-coral);
}

.lp header nav a.nav-cta {
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 9px 16px;
  border-radius: 10px;
  text-decoration: none;
  margin-left: 6px;
  box-shadow: 0 6px 16px rgba(168, 50, 111, 0.28);
  transition: opacity 0.15s, transform 0.15s;
}

.lp header nav a.nav-cta:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

/* Mobile sub-navigation bar */
.mobile-subnav {
  display: none;
}

@media (max-width: 900px) {
  .lp header nav a.nav-link {
    display: none;
  }
  .mobile-subnav {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding: 10px 20px;
    gap: 8px;
    background: var(--surface-2);
    border-bottom: 1px solid var(--border-subtle);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .mobile-subnav::-webkit-scrollbar {
    display: none;
  }
  .mobile-subnav a {
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    text-decoration: none;
    padding: 5px 11px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
  }
}

/* Hero Section */
.hero2 {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding: 48px 0 64px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--df-indigo);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin-bottom: 18px;
}

@media (prefers-color-scheme: dark) {
  .eyebrow-pill {
    color: #C0B4FF;
  }
}

.eyebrow-pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--df-coral);
  box-shadow: 0 0 8px var(--df-coral);
}

.hero2 h1 {
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1.1;
  letter-spacing: -1.4px;
  margin: 0 0 20px;
  font-weight: 800;
  color: var(--ink);
}

.hero2 h1 span {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero2 p.lead {
  font-size: 18.5px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 560px;
  margin: 0 0 30px;
}

.hero-actions, .cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--grad);
  color: #fff;
  border-radius: 14px;
  padding: 14px 26px;
  font-weight: 700;
  font-size: 16.5px;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(168, 50, 111, 0.35);
  white-space: nowrap;
  transition: transform 0.15s, opacity 0.15s;
}

.btn-primary:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #111;
  color: #fff;
  border-radius: 14px;
  padding: 10px 18px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.badge:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.badge-soon {
  position: relative;
  opacity: 0.92;
  cursor: default;
}

.badge-soon:hover {
  transform: none;
}

.badge-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: 6px;
  vertical-align: middle;
}

@media (prefers-color-scheme: dark) {
  .badge-tag {
    background: rgba(0, 0, 0, 0.12);
    color: #111;
  }
}

.badge svg {
  width: 24px;
  height: 24px;
}

.badge small {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  opacity: 0.8;
}

.badge b {
  display: block;
  font-size: 17px;
  line-height: 1.1;
}

@media (prefers-color-scheme: dark) {
  .badge {
    background: #fff;
    color: #111;
  }
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-chip {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.15s;
}

.pill-chip:hover {
  color: var(--ink);
  border-color: var(--df-magenta);
}

/* Phones 3D stage in Hero */
.phones-stage {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phones-stage .blob {
  position: absolute;
  inset: 20px -20px;
  background: var(--grad);
  filter: blur(70px);
  opacity: 0.38;
  border-radius: 50%;
  pointer-events: none;
}

.phone-frame {
  position: absolute;
  margin: 0;
  border-radius: 32px;
  background: var(--phone-bezel);
  border: 7px solid var(--phone-bezel);
  box-shadow: var(--phone-shadow);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 26px;
}

.phone-frame figcaption {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 12, 30, 0.88);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  white-space: nowrap;
}

.phone-left {
  width: 220px;
  left: 0;
  top: 40px;
  transform: rotate(-6deg) scale(0.96);
  z-index: 1;
}

.phone-center {
  width: 236px;
  left: 50%;
  top: 15px;
  transform: translateX(-50%);
  z-index: 3;
  box-shadow: 0 30px 70px rgba(25, 10, 45, 0.32);
}

.phone-right {
  width: 215px;
  right: 0;
  top: 55px;
  transform: rotate(6deg) scale(0.94);
  z-index: 2;
}

.phone-frame:hover {
  transform: translateY(-4px) scale(1.02);
  z-index: 4;
}

/* Section Headings */
.section-block {
  padding: 48px 0 32px;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--df-coral);
  margin-bottom: 8px;
}

.section-head h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 0 0 12px;
  color: var(--ink);
  font-weight: 800;
}

.section-head p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* Bento Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.bento-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 45px rgba(35, 20, 60, 0.12);
}

.bento-wide {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
}

.bento-text .ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--grad);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 14px;
}

.card-kicker {
  display: block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--df-magenta);
  margin-bottom: 6px;
}

.bento-text h3 {
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.4px;
  margin: 0 0 10px;
  color: var(--ink);
  font-weight: 700;
}

.bento-wide .bento-text h3 {
  font-size: 26px;
}

.bento-text p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 14px;
}

.bento-text code {
  font-size: 13.5px;
  background: var(--surface-2);
  color: var(--df-indigo);
  padding: 2px 6px;
  border-radius: 6px;
  font-family: inherit;
  font-weight: 600;
}

@media (prefers-color-scheme: dark) {
  .bento-text code {
    color: #C0B4FF;
  }
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: var(--ink);
  margin-bottom: 8px;
  font-weight: 500;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--df-coral);
  font-weight: 800;
}

/* Phone showcases inside bento cards */
.phone-showcase {
  background: var(--phone-bezel);
  border: 7px solid var(--phone-bezel);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(25, 12, 40, 0.25);
  margin: 14px auto 0;
  width: 100%;
  max-width: 250px;
}

.phone-showcase.single {
  max-width: 240px;
}

.phone-showcase img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 22px;
}

.bento-pair-phones {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.bento-pair-phones .phone-showcase {
  max-width: 210px;
  margin: 0;
}

/* Events Spotlight Section */
.events-spotlight {
  margin: 64px 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 44px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  box-shadow: var(--card-shadow);
  position: relative;
  overflow: hidden;
}

.events-spotlight::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 260px;
  height: 260px;
  background: var(--grad);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  pointer-events: none;
}

.events-content h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin: 8px 0 14px;
  color: var(--ink);
  font-weight: 800;
}

.events-lead {
  font-size: 16.5px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 24px;
}

.events-points {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 26px;
}

.event-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ep-icon {
  font-size: 24px;
  line-height: 1;
}

.event-point h4 {
  font-size: 16px;
  margin: 0 0 4px;
  color: var(--ink);
  font-weight: 700;
}

.event-point p {
  font-size: 14px;
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.partner-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.partner-badge {
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--ink);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--df-coral);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  transition: opacity 0.15s;
}

.btn-secondary:hover {
  opacity: 0.8;
}

.events-phone-wrap {
  display: flex;
  justify-content: center;
}

.featured-phone {
  max-width: 270px;
  box-shadow: 0 24px 60px rgba(35, 15, 60, 0.28);
}

/* Travel Agency Section */
.agency-section {
  margin: 64px 0;
  background: linear-gradient(135deg, #18123A 0%, #29153A 50%, #2C1825 100%);
  color: #fff;
  border-radius: 30px;
  padding: 48px;
  box-shadow: 0 24px 60px rgba(18, 12, 35, 0.35);
  position: relative;
  overflow: hidden;
}

.agency-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 10% 20%, rgba(168, 50, 111, 0.25) 0%, transparent 50%),
              radial-gradient(circle at 90% 80%, rgba(201, 74, 42, 0.22) 0%, transparent 50%);
  pointer-events: none;
}

.agency-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 44px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.agency-pill {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #FFA278;
  margin-bottom: 10px;
}

.agency-copy h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin: 0 0 14px;
  color: #fff;
  font-weight: 800;
}

.agency-lead {
  font-size: 16.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 28px;
}

.agency-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.agency-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--grad-warm);
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255, 95, 74, 0.4);
}

.agency-step h4 {
  font-size: 16px;
  margin: 0 0 4px;
  color: #fff;
  font-weight: 700;
}

.agency-step p {
  font-size: 14px;
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.agency-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-agency-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-warm);
  color: #fff;
  font-weight: 700;
  font-size: 15.5px;
  padding: 13px 24px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(255, 95, 74, 0.35);
  transition: transform 0.15s, opacity 0.15s;
}

.btn-agency-primary:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.btn-agency-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.15s;
}

.btn-agency-outline:hover {
  background: rgba(255, 255, 255, 0.16);
}

.agency-phone-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.agency-caption {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 10px;
  text-align: center;
}

/* Bottom CTA */
.cta {
  background: var(--grad);
  color: #fff;
  border-radius: 28px;
  padding: 48px 32px;
  text-align: center;
  margin: 64px 0 32px;
  box-shadow: 0 20px 50px rgba(59, 42, 160, 0.28);
}

.cta h2 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: -0.6px;
  font-weight: 800;
}

.cta p {
  margin: 0 auto 26px;
  font-size: 17px;
  max-width: 620px;
  opacity: 0.95;
  line-height: 1.5;
}

.cta p a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}

.cta .btn-primary {
  background: #fff;
  color: var(--df-indigo-dark);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cta .btn-primary:hover {
  background: #f7f7fc;
}

.cta .badge {
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  box-shadow: none;
}

/* Footer (Preserves all legal and LGPD links) */
.lp footer {
  max-width: 1160px;
  margin: 0 auto;
  padding: 28px 24px 40px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}

.lp footer .footer-brand {
  font-weight: 500;
}

.lp footer .footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s;
}

.lp footer .footer-links a:hover {
  color: var(--df-coral);
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 980px) {
  .hero2 {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
    padding-top: 24px;
  }
  .hero2 p.lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions, .hero-pills {
    justify-content: center;
  }
  .phones-stage {
    height: 380px;
    max-width: 420px;
    margin: 0 auto;
  }
  .phone-left {
    width: 155px;
    top: 25px;
  }
  .phone-center {
    width: 175px;
    top: 5px;
  }
  .phone-right {
    width: 150px;
    top: 35px;
  }
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-wide {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  .bento-pair-phones {
    flex-direction: row;
    gap: 12px;
  }
  .bento-pair-phones .phone-showcase {
    max-width: 170px;
  }
  .events-spotlight {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    text-align: left;
  }
  .agency-grid {
    grid-template-columns: 1fr;
    padding: 0;
  }
  .agency-section {
    padding: 36px 24px;
  }
  .lp footer {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

@media (max-width: 520px) {
  .bento-pair-phones {
    flex-direction: column;
  }
  .bento-pair-phones .phone-showcase {
    max-width: 220px;
  }
  .phones-stage {
    height: 320px;
    max-width: 330px;
  }
  .phone-left {
    width: 125px;
    top: 25px;
  }
  .phone-center {
    width: 145px;
    top: 5px;
  }
  .phone-right {
    width: 120px;
    top: 35px;
  }
}

/* Standalone PWA & iOS status bar inheritance */
@media all and (display-mode: standalone) {
  html {
    background-color: #006194;
  }
  .lp header {
    background: var(--grad);
    padding-top: calc(16px + env(safe-area-inset-top));
    padding-bottom: 16px;
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
    color: #fff;
  }
  .lp header a, .lp header .brand {
    color: #fff;
  }
  .lp header nav a.nav-link {
    color: rgba(255, 255, 255, 0.9);
  }
  .lp header nav a.login {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.15);
  }
  .lp main, .lp footer {
    background: var(--bg);
  }
}

@media all and (display-mode: standalone) and (prefers-color-scheme: dark) {
  html {
    background-color: #0D1322;
  }
}

.ios-standalone html {
  background-color: #006194;
}
@media (prefers-color-scheme: dark) {
  .ios-standalone html {
    background-color: #0D1322;
  }
}
.ios-standalone .lp header {
  background: var(--grad);
  padding-top: calc(16px + env(safe-area-inset-top));
  padding-bottom: 16px;
  padding-left: max(20px, env(safe-area-inset-left));
  padding-right: max(20px, env(safe-area-inset-right));
  color: #fff;
}
.ios-standalone .lp header a, .ios-standalone .lp header .brand {
  color: #fff;
}
.ios-standalone .lp header nav a.nav-link {
  color: rgba(255, 255, 255, 0.9);
}
.ios-standalone .lp header nav a.login {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.15);
}
.ios-standalone .lp main, .ios-standalone .lp footer {
  background: var(--bg);
}
