:root {
  --ink: #15130f;
  --paper: #fff8d8;
  --cream: #fff0a9;
  --night: #062432;
  --pine: #0c7a68;
  --pine-dark: #0b3d42;
  --moss: #2dad64;
  --gold: #ffd95a;
  --gold-deep: #f08d20;
  --copper: #c04422;
  --red: #f43f63;
  --plum: #794cff;
  --sky: #67cdfd;
  --facebook: #1877f2;
  --mint: #b6ff86;
  --pink: #ff65b8;
  --line: rgba(255, 232, 145, 0.58);
  --shadow: rgba(4, 10, 8, 0.34);
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 217, 90, 0.34), transparent 24rem),
    radial-gradient(circle at 92% 14%, rgba(103, 205, 253, 0.28), transparent 22rem),
    linear-gradient(180deg, #fff8d8 0%, #fff4ef 48%, #e9fbff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::selection {
  color: var(--night);
  background: var(--gold);
}

a {
  color: inherit;
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.7rem 0.95rem;
  color: var(--night);
  background: var(--gold);
  border-radius: 6px;
  font-weight: 800;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  padding: 1rem;
  transition: background-color 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
  background: rgba(10, 66, 72, 0.88);
  box-shadow: 0 14px 34px rgba(7, 47, 55, 0.2);
  backdrop-filter: blur(14px);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1160px, calc(100% - 1rem));
  min-width: 0;
  margin: 0 auto;
}

.brand-mark,
.nav-links {
  display: flex;
  align-items: center;
}

.brand-mark {
  flex: 0 0 auto;
  min-width: 0;
  gap: 0.65rem;
  color: #fff7d2;
  text-decoration: none;
  font-weight: 900;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.brand-mark img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 8px;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.36));
}

.nav-links {
  flex: 0 1 auto;
  min-width: 0;
  gap: 0.25rem;
  padding: 0.35rem;
  color: #fff8d8;
  background: rgba(5, 45, 52, 0.58);
  border: 1px solid rgba(255, 217, 90, 0.42);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.nav-links a {
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  color: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--night);
  background: var(--gold);
  outline: 0;
}

.nav-links .nav-cta {
  color: #ffffff;
  background: linear-gradient(180deg, #42a4ff 0%, var(--facebook) 100%);
}

.hero-section {
  position: relative;
  min-height: 88svh;
  isolation: isolate;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 7.5rem 1.25rem 4.5rem;
  color: #fff8dd;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 236, 117, 0.34), transparent 20rem),
    radial-gradient(circle at 76% 34%, rgba(103, 205, 253, 0.22), transparent 20rem),
    linear-gradient(90deg, rgba(6, 43, 52, 0.82) 0%, rgba(12, 110, 88, 0.52) 48%, rgba(255, 183, 70, 0.12) 100%),
    linear-gradient(180deg, rgba(255, 252, 210, 0.08) 0%, rgba(255, 248, 216, 0.86) 100%),
    url("/images/be_scene_800x341.jpg") center / cover no-repeat;
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 14rem;
  background: linear-gradient(180deg, rgba(255, 248, 216, 0) 0%, var(--paper) 100%);
}

.hero-content {
  width: min(720px, 100%);
  min-width: 0;
  margin: 0 auto 0 max(1rem, calc((100% - 1160px) / 2));
}

.hero-logo {
  width: min(21rem, 76%);
  margin-bottom: 1rem;
  filter: drop-shadow(0 16px 18px rgba(0, 0, 0, 0.48));
}

.eyebrow,
.section-kicker,
.gallery-kicker {
  margin: 0 0 0.75rem;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-section h1,
.section-heading h2,
.intro-grid h2,
.destination-copy h2,
.updates-panel h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
  line-height: 1.02;
}

.hero-section h1 {
  max-width: 660px;
  font-size: 4.7rem;
  text-shadow: 0 5px 24px rgba(0, 0, 0, 0.5);
}

.hero-copy {
  max-width: 630px;
  margin: 1.2rem 0 0;
  color: #fff2bd;
  font-size: 1.16rem;
  line-height: 1.65;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.58);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1rem;
}

.store-downloads {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  max-width: 620px;
  margin-top: 1.5rem;
  scroll-margin-top: 5.5rem;
}

.store-badge-link {
  display: block;
  width: min(11.5rem, calc(50% - 0.5rem));
  min-width: 9.5rem;
  border-radius: 8px;
  box-shadow: 0 13px 26px rgba(0, 0, 0, 0.28);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.store-badge-link img {
  width: 100%;
  height: auto;
}

.store-badge-link:hover,
.store-badge-link:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.05);
  outline: 0;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34);
}

.store-badge-placeholder {
  opacity: 0.78;
  cursor: default;
  filter: grayscale(0.18);
}

.store-badge-placeholder:hover,
.store-badge-placeholder:focus-visible {
  transform: none;
  filter: grayscale(0.18);
}

.store-note {
  flex: 1 1 100%;
  color: #fff2bd;
  font-size: 0.86rem;
  font-weight: 800;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.55);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.58rem;
  min-height: 3rem;
  padding: 0.85rem 1.1rem;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  outline: 0;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.28);
}

.button-primary {
  color: var(--night);
  background: linear-gradient(180deg, #fff6a8 0%, var(--gold) 45%, #f59728 100%);
  border-color: #fff0a4;
}

.button-secondary {
  color: #ffffff;
  background: linear-gradient(180deg, #42a4ff 0%, var(--facebook) 100%);
  border-color: rgba(255, 255, 255, 0.75);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  max-width: 680px;
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
}

.hero-points li {
  min-width: 0;
  padding: 0.85rem 0.7rem;
  background: rgba(4, 37, 43, 0.62);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
}

.hero-point-value,
.hero-point-label {
  display: block;
}

.hero-point-value {
  color: var(--gold);
  font-size: 1.25rem;
  font-weight: 950;
  line-height: 1;
}

.hero-point-label {
  margin-top: 0.3rem;
  color: #fff8df;
  font-size: 0.78rem;
  font-weight: 800;
}

.section-shell {
  width: min(1160px, calc(100% - 2rem));
  max-width: 100%;
  margin: 0 auto;
}

.intro-band,
.steps-band {
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 101, 184, 0.12), transparent 18rem),
    radial-gradient(circle at 86% 10%, rgba(103, 205, 253, 0.18), transparent 20rem),
    var(--paper);
}

.intro-band {
  padding: 4.75rem 0 3.5rem;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: end;
}

.section-kicker {
  color: var(--copper);
}

.intro-grid h2,
.section-heading h2,
.destination-copy h2,
.updates-panel h2 {
  color: #201611;
  font-size: 3.1rem;
}

.intro-grid p:not(.section-kicker),
.destination-copy p,
.updates-panel p {
  margin: 0;
  color: #574433;
  font-size: 1.08rem;
  line-height: 1.75;
}

.feature-section {
  padding: 2rem 0 5rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading.light h2,
.section-heading.light .section-kicker {
  color: #fff6cc;
}

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

.feature-card {
  min-height: 15.5rem;
  padding: 1.35rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 249, 220, 0.98) 100%);
  border: 1px solid rgba(255, 101, 184, 0.2);
  border-bottom: 4px solid rgba(255, 217, 90, 0.78);
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(52, 30, 14, 0.1);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  color: var(--paper);
  background: linear-gradient(145deg, var(--red), var(--plum));
  border: 2px solid rgba(255, 217, 90, 0.8);
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(107, 76, 204, 0.22);
}

.feature-card:nth-child(2) .feature-icon {
  background: linear-gradient(145deg, #ffb12b, #ff4b7d);
}

.feature-card:nth-child(3) .feature-icon {
  background: linear-gradient(145deg, #22c0ff, #0aad67);
}

.feature-card:nth-child(4) .feature-icon {
  background: linear-gradient(145deg, #1877f2, #7a5cff);
}

.feature-card:nth-child(5) .feature-icon {
  background: linear-gradient(145deg, #ff65b8, #ffca3a);
}

.feature-card:nth-child(6) .feature-icon {
  background: linear-gradient(145deg, #35c767, #ffc93a);
}

.feature-card h3,
.gallery-copy h3,
.phone-strip h3,
.steps-list h3 {
  margin: 0 0 0.65rem;
  color: #241712;
  font-size: 1.25rem;
  font-weight: 950;
}

.feature-card p,
.gallery-copy p,
.phone-strip p,
.steps-list p,
.scene-panel figcaption {
  margin: 0;
  color: #614a36;
  line-height: 1.65;
}

.showcase-band {
  padding: 5rem 0;
  color: #fff8df;
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 217, 90, 0.36), transparent 18rem),
    radial-gradient(circle at 88% 20%, rgba(255, 101, 184, 0.28), transparent 20rem),
    linear-gradient(135deg, rgba(11, 122, 104, 0.9), rgba(54, 114, 214, 0.88), rgba(121, 76, 255, 0.78)),
    url("/images/be_scene_800x341.jpg") center / cover fixed no-repeat;
}

.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 2rem;
  align-items: center;
}

.gallery-stage {
  min-width: 0;
}

.device-frame {
  position: relative;
  overflow: hidden;
  background: #130d0b;
  border: 6px solid #1f120d;
  border-radius: 8px;
  box-shadow:
    0 0 0 2px rgba(255, 217, 90, 0.65),
    0 30px 62px rgba(0, 0, 0, 0.42);
}

.device-frame img {
  width: 100%;
}

.device-frame-tablet {
  max-width: 740px;
  margin: 0 auto;
}

.gallery-copy {
  padding: 1.4rem;
  color: #2c2117;
  background: rgba(255, 252, 235, 0.95);
  border: 1px solid rgba(255, 217, 90, 0.72);
  border-radius: 8px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.28);
}

.gallery-copy h3 {
  color: #23160f;
  font-size: 1.8rem;
}

.gallery-copy p {
  color: #584334;
}

.gallery-kicker {
  color: var(--copper);
}

.gallery-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.gallery-thumb {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 0.6rem;
  align-items: center;
  width: 100%;
  padding: 0.45rem;
  color: #2c2117;
  text-align: left;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 190, 60, 0.44);
  border-radius: 8px;
}

.gallery-thumb img {
  width: 4rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.gallery-thumb span {
  font-weight: 900;
}

.gallery-thumb:hover,
.gallery-thumb:focus-visible,
.gallery-thumb.is-active {
  color: var(--night);
  background: linear-gradient(180deg, #fff59d 0%, var(--gold) 100%);
  outline: 0;
}

.phone-strip {
  display: grid;
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: center;
  margin-top: 2rem;
  padding: 1.2rem;
  background: rgba(255, 252, 235, 0.92);
  border: 1px solid rgba(255, 217, 90, 0.62);
  border-radius: 8px;
}

.phone-strip h3 {
  color: #23160f;
  font-size: 1.65rem;
}

.phone-strip p {
  color: #584334;
}

.device-frame-phone {
  border-width: 5px;
}

.destination-section {
  padding: 5rem 0;
  background:
    radial-gradient(circle at 90% 12%, rgba(182, 255, 134, 0.38), transparent 20rem),
    radial-gradient(circle at 12% 20%, rgba(255, 101, 184, 0.16), transparent 18rem),
    linear-gradient(180deg, #fff8d8 0%, #e7fbff 52%, #f5eeff 100%);
}

.destination-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 2rem;
  align-items: center;
}

.destination-copy p {
  margin-top: 1rem;
}

.check-list {
  display: grid;
  gap: 0.75rem;
  padding: 0;
  margin: 1.4rem 0 0;
  list-style: none;
}

.check-list li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: #3f3126;
  font-weight: 800;
}

.check-list i {
  margin-top: 0.2rem;
  color: var(--moss);
}

.scene-panel {
  margin: 0;
}

.scene-panel img {
  border: 6px solid #321d12;
  border-radius: 8px;
  box-shadow:
    0 0 0 2px rgba(255, 217, 90, 0.72),
    0 28px 54px rgba(54, 32, 15, 0.18);
}

.scene-panel figcaption {
  padding-top: 0.8rem;
  font-weight: 800;
  text-align: center;
}

.steps-band {
  padding: 5rem 0;
}

.steps-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.steps-list li {
  min-height: 13rem;
  padding: 1.2rem;
  background: linear-gradient(180deg, #ffffff 0%, #fff4c7 100%);
  border: 1px solid rgba(255, 101, 184, 0.18);
  border-radius: 8px;
  box-shadow: 0 16px 32px rgba(56, 32, 14, 0.08);
}

.steps-list span {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--copper);
  font-size: 1.8rem;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 900;
}

.updates-section {
  padding: 4.5rem 0;
  color: #1f160f;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 217, 90, 0.55), transparent 17rem),
    radial-gradient(circle at 88% 16%, rgba(255, 101, 184, 0.4), transparent 18rem),
    linear-gradient(135deg, rgba(24, 119, 242, 0.88), rgba(103, 205, 253, 0.72), rgba(255, 217, 90, 0.58)),
    url("/images/ipad_screen_souvenirs.jpg") center / cover no-repeat;
}

.updates-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem;
  background: rgba(255, 252, 235, 0.94);
  border: 1px solid rgba(255, 217, 90, 0.74);
  border-radius: 8px;
  box-shadow: 0 28px 58px rgba(0, 0, 0, 0.28);
}

.updates-panel h2 {
  color: #23160f;
  font-size: 2.6rem;
}

.updates-panel p {
  max-width: 620px;
  margin-top: 0.85rem;
  color: #584334;
}

.site-footer {
  padding: 2.5rem 0;
  color: #fff8d8;
  background: linear-gradient(135deg, #073642 0%, #0b6d68 55%, #4a2a9a 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 1.5rem;
  align-items: center;
}

.site-footer img {
  width: 10rem;
  margin-bottom: 0.6rem;
}

.site-footer p {
  margin: 0;
}

.footer-support {
  margin-top: 0.45rem !important;
  color: #d7f7f1;
  font-size: 0.95rem;
}

.footer-support a {
  color: #fff8d8;
  font-weight: 800;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 0.9rem;
  max-width: 34rem;
}

.footer-links a {
  color: #fff8d8;
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold);
  outline: 0;
}

.copyright {
  text-align: right;
}

@media (max-width: 980px) {
  .site-header {
    padding: 0.8rem;
  }

  .brand-mark span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .nav-links a {
    padding: 0.55rem 0.58rem;
    font-size: 0.86rem;
  }

  .hero-section {
    min-height: 88svh;
    padding-top: 6.6rem;
    background-position: center;
  }

  .hero-content {
    margin-left: auto;
  }

  .hero-section h1 {
    font-size: 3.35rem;
  }

  .hero-copy {
    font-size: 1.05rem;
  }

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

  .intro-grid,
  .showcase-grid,
  .destination-grid,
  .phone-strip {
    grid-template-columns: 1fr;
  }

  .intro-grid h2,
  .section-heading h2,
  .destination-copy h2 {
    font-size: 2.45rem;
  }

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

  .phone-strip {
    padding: 1rem;
  }

  .updates-panel,
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .updates-panel {
    display: grid;
  }

  .copyright {
    text-align: left;
  }
}

@media (max-width: 680px) {
  .site-nav {
    width: calc(100% - 0.25rem);
    gap: 0.4rem;
  }

  .brand-mark img {
    width: 2rem;
    height: 2rem;
  }

  .nav-links {
    overflow-x: auto;
    max-width: calc(100% - 2.4rem);
    gap: 0.1rem;
    padding: 0.25rem;
    scrollbar-width: none;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links a {
    flex: 0 0 auto;
    padding: 0.42rem 0.33rem;
    font-size: 0.68rem;
    white-space: nowrap;
  }

  .nav-links .nav-cta {
    display: none;
  }

  .hero-section {
    min-height: 88svh;
    padding: 6rem 1rem 3.5rem;
    background:
      radial-gradient(circle at 18% 18%, rgba(255, 236, 117, 0.28), transparent 16rem),
      linear-gradient(180deg, rgba(6, 43, 52, 0.84) 0%, rgba(12, 110, 88, 0.48) 54%, rgba(255, 248, 216, 0.86) 100%),
      url("/images/be_scene_800x341.jpg") center / cover no-repeat;
  }

  .hero-logo {
    width: min(17rem, 90%);
  }

  .hero-content,
  .hero-section h1,
  .hero-copy,
  .hero-points {
    width: 100%;
    max-width: 100%;
  }

  .hero-content {
    margin-right: 0;
    margin-left: 0;
  }

  .hero-section h1 {
    font-size: 2.45rem;
  }

  .hero-actions {
    display: grid;
  }

  .store-downloads {
    gap: 0.55rem;
    max-width: 100%;
  }

  .store-badge-link {
    width: min(10.75rem, calc(50% - 0.3rem));
    min-width: 0;
  }

  .hero-points,
  .feature-grid,
  .gallery-controls,
  .steps-list {
    grid-template-columns: 1fr;
  }

  .intro-band,
  .showcase-band,
  .destination-section,
  .steps-band,
  .updates-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .intro-grid h2,
  .section-heading h2,
  .destination-copy h2,
  .updates-panel h2 {
    font-size: 2rem;
  }

  .feature-card,
  .steps-list li {
    min-height: auto;
  }

  .gallery-copy,
  .updates-panel {
    padding: 1rem;
  }

  .gallery-copy h3,
  .phone-strip h3 {
    font-size: 1.45rem;
  }

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

@media (max-width: 380px) {
  .nav-links a[href="#screenshots"] {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
