:root {
  --bg: #07111f;
  --bg-2: #0b1729;
  --panel: #101d31;
  --panel-2: #142640;
  --line: rgba(255, 255, 255, 0.1);
  --text: #f7fbff;
  --muted: #9eb0c6;
  --maize: #f3b51b;
  --maize-2: #ffd778;
  --blue: #58b7ff;
  --sea: #28d4c7;
  --gold: var(--maize);
  --gold-2: var(--maize-2);
  --green: var(--sea);
  --danger: #ffb45c;
  --accent: var(--maize);
  --accent-soft: rgba(243, 181, 27, 0.14);
  --sea-soft: rgba(40, 212, 199, 0.11);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 0%, rgba(88, 183, 255, 0.16), transparent 34rem),
    radial-gradient(circle at 18% 22%, rgba(40, 212, 199, 0.06), transparent 26rem),
    linear-gradient(135deg, #07111f 0%, #0b1729 46%, #08101d 100%);
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
}

a {
  color: var(--blue);
}

.app-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.rail {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 28px 20px;
  border-right: 1px solid var(--line);
  background: rgba(6, 14, 26, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
  margin-bottom: 34px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  aspect-ratio: 1;
  border: 1px solid rgba(243, 181, 27, 0.45);
  border-radius: 10px;
  color: var(--gold);
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  letter-spacing: 0.12em;
  font-size: 14px;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  margin-top: 2px;
}

.nav {
  display: grid;
  gap: 8px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--muted);
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
}

.nav-item:hover,
.nav-item.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.nav-icon {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.rail-card,
.panel,
.module-card,
.deal-card,
.integration-card,
.guide-card,
.video-band {
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(20, 38, 64, 0.92), rgba(12, 25, 43, 0.92));
  border-radius: 8px;
}

.rail-card {
  margin-top: 36px;
  padding: 16px;
}

.rail-card strong,
.rail-card span {
  display: block;
}

.rail-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin-top: 6px;
}

.main {
  min-width: 0;
  padding: 22px clamp(18px, 4vw, 52px) 56px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 12px 0 20px;
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.96), rgba(7, 17, 31, 0));
}

.beta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  margin-bottom: 16px;
  border: 1px solid rgba(243, 181, 27, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(243, 181, 27, 0.12), rgba(88, 183, 255, 0.08)),
    rgba(255, 255, 255, 0.04);
}

.beta-banner strong {
  display: block;
  font-size: 15px;
}

.release-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.release-steps span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
  font-weight: 800;
}

.release-steps .done {
  color: #07111f;
  background: var(--green);
  border-color: transparent;
}

.menu-button {
  display: none;
}

.location-picker {
  display: grid;
  gap: 5px;
  min-width: min(420px, 100%);
}

label,
.location-picker label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
}

input:focus,
select:focus {
  border-color: rgba(243, 181, 27, 0.75);
}

.primary-action,
.secondary-action,
.close-button,
.stripe-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.primary-action {
  color: #07111f;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
}

.secondary-action,
.close-button,
.stripe-link {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.full {
  width: 100%;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.78fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
  min-height: calc(100vh - 110px);
}

.experience-home {
  display: grid;
  align-items: end;
  min-height: min(620px, calc(100vh - 112px));
  padding: clamp(28px, 6vw, 70px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.92), rgba(7, 17, 31, 0.68) 52%, rgba(7, 17, 31, 0.2)),
    url("../images/cruise-app.jpg") center / cover;
  box-shadow: var(--shadow);
}

.discovery-hero {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 840px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
  margin-bottom: 20px;
}

h2 {
  font-size: 22px;
  line-height: 1.15;
  margin-bottom: 10px;
}

.hero-text,
.page-head p,
.module-card p,
.panel p,
.deal-card p,
.integration-card p,
.guide-card p,
.video-band p {
  color: var(--muted);
  line-height: 1.6;
}

.hero-text {
  max-width: 660px;
  font-size: 19px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.destination-search {
  width: min(680px, 100%);
  padding: 12px;
  margin-top: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(7, 17, 31, 0.78);
  backdrop-filter: blur(14px);
}

.destination-search > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 7px;
}

.metric-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 620px;
}

.metric-strip div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.metric-strip strong,
.metric-strip span {
  display: block;
}

.metric-strip strong {
  font-size: 24px;
  color: var(--text);
}

.metric-strip span {
  color: var(--muted);
  font-size: 12px;
}

.hero-media {
  position: relative;
}

.hero-media img,
.guide-card img,
.video-band video {
  width: 100%;
  display: block;
  object-fit: cover;
}

.hero-media img {
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.floating-card {
  position: absolute;
  left: -20px;
  bottom: 28px;
  width: 190px;
  padding: 16px;
  border: 1px solid rgba(243, 181, 27, 0.35);
  border-radius: 8px;
  background: rgba(7, 17, 31, 0.9);
  box-shadow: var(--shadow);
}

.floating-card span,
.floating-card strong {
  display: block;
}

.floating-card span {
  color: var(--muted);
  font-size: 12px;
}

.floating-card strong {
  color: var(--green);
  font-size: 30px;
}

.module-grid,
.module-strip,
.earn-grid,
.account-grid,
.integration-grid,
.deal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

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

.category-strip button,
.destination-card {
  color: var(--text);
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.category-strip button {
  min-height: 84px;
  padding: 14px;
}

.category-strip span,
.category-strip small,
.destination-card strong,
.destination-card small {
  display: block;
}

.category-strip span {
  font-weight: 900;
}

.category-strip small,
.destination-card small {
  color: var(--muted);
  line-height: 1.4;
  margin-top: 5px;
}

.market-section {
  margin-top: 28px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.section-head h2 {
  margin-bottom: 0;
}

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

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

.platform-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.platform-tile {
  position: relative;
  min-height: 230px;
  padding: 20px;
  overflow: hidden;
  color: var(--text);
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 0%, rgba(243, 181, 27, 0.18), transparent 54%),
    radial-gradient(circle at 88% 12%, rgba(88, 183, 255, 0.12), transparent 48%),
    linear-gradient(160deg, rgba(26, 42, 74, 0.94), rgba(16, 29, 49, 0.98));
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.platform-tile:hover,
.platform-tile:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(243, 181, 27, 0.7);
}

.platform-tile strong,
.platform-tile small,
.platform-tile em {
  position: relative;
  z-index: 1;
  display: block;
}

.tile-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 54px;
  aspect-ratio: 1;
  margin-bottom: 18px;
  color: #07111f;
  background: linear-gradient(135deg, var(--maize), var(--maize-2));
  border-radius: 8px;
  font-size: 13px;
  font-weight: 950;
}

.platform-tile strong {
  font-size: 20px;
  line-height: 1.08;
}

.platform-tile small {
  min-height: 62px;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.45;
}

.platform-tile em {
  width: max-content;
  max-width: 100%;
  min-height: 25px;
  padding: 5px 10px;
  margin-top: 16px;
  color: var(--maize);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tap-hint {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  margin-top: 12px;
  color: var(--text);
  opacity: 0.72;
  font-size: 12px;
  font-weight: 850;
}

.t-exchange,
.t-guides,
.t-vip,
.t-deals,
.t-kids,
.t-live,
.t-booking,
.t-vote,
.t-predict,
.t-affiliate {
  --accent: var(--maize);
}

.experience-card {
  min-height: 248px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(20, 38, 64, 0.95), rgba(12, 25, 43, 0.95)),
    linear-gradient(135deg, rgba(88, 183, 255, 0.14), rgba(243, 181, 27, 0.1));
}

.experience-card span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  color: #07111f;
  background: var(--gold);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.experience-card h2 {
  margin-top: 18px;
}

.feature-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  align-items: start;
  gap: 18px;
  padding: 20px;
  margin-bottom: 18px;
  border: 1px solid rgba(243, 181, 27, 0.38);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0% 0%, rgba(243, 181, 27, 0.16), transparent 55%),
    radial-gradient(circle at 100% 0%, rgba(40, 212, 199, 0.07), transparent 46%),
    rgba(255, 255, 255, 0.05);
}

.spotlight-copy {
  display: grid;
  gap: 8px;
}

.feature-spotlight h2 {
  margin-bottom: 8px;
}

.feature-spotlight p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
}

.feature-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: var(--maize-2);
  background: rgba(243, 181, 27, 0.1);
  border: 1px solid rgba(243, 181, 27, 0.22);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

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

.feature-detail-card {
  display: grid;
  gap: 8px;
  min-height: 190px;
  padding: 16px;
  border: 1px solid rgba(243, 181, 27, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0%, rgba(40, 212, 199, 0.06), transparent 46%),
    rgba(255, 255, 255, 0.05);
}

.feature-detail-card div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.feature-detail-card strong {
  color: var(--text);
  line-height: 1.2;
}

.feature-detail-card b {
  color: var(--maize);
  white-space: nowrap;
}

.feature-detail-card small {
  color: var(--maize-2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.tm-item-cta {
  align-self: end;
  width: fit-content;
  min-height: 32px;
  padding: 0 12px;
  color: #07111f;
  background: linear-gradient(135deg, var(--maize), var(--maize-2));
  border: 0;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.mini-detail-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.mini-detail-list span {
  padding: 6px 9px;
  color: var(--maize-2);
  background: rgba(243, 181, 27, 0.08);
  border: 1px solid rgba(243, 181, 27, 0.18);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.kids-studio {
  margin-bottom: 18px;
  border-color: rgba(40, 212, 199, 0.2);
  background:
    radial-gradient(circle at 100% 0%, rgba(40, 212, 199, 0.08), transparent 46%),
    linear-gradient(160deg, rgba(21, 31, 58, 0.96), rgba(10, 23, 42, 0.98));
}

.studio-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.studio-head p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
}

.studio-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
  align-items: end;
  gap: 12px;
}

.story-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.story-scene {
  min-height: 172px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.story-scene span {
  color: #c4b5fd;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-scene h3 {
  margin: 10px 0 8px;
  font-size: 18px;
}

.story-scene p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.experience-card p,
.offer-card p {
  color: var(--muted);
  line-height: 1.6;
}

.module-strip {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 0;
}

.module-strip article {
  min-height: 156px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.module-strip strong,
.module-strip span {
  display: block;
}

.module-strip strong {
  color: var(--gold);
  font-size: 17px;
}

.module-strip span {
  color: var(--muted);
  line-height: 1.5;
  margin-top: 10px;
}

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

.experience-module {
  min-height: 284px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.experience-module p {
  flex: 1;
}

.destination-card {
  position: relative;
  min-height: 310px;
  overflow: hidden;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: end;
}

.destination-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 17, 31, 0.05), rgba(7, 17, 31, 0.92));
}

.destination-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.destination-card > * {
  position: relative;
  z-index: 1;
}

.destination-card strong {
  margin-top: 10px;
  font-size: 20px;
}

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

.offer-card {
  position: relative;
  min-height: 196px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(20, 38, 64, 0.94), rgba(12, 25, 43, 0.94));
}

.promo-card {
  background:
    linear-gradient(160deg, rgba(20, 38, 64, 0.96), rgba(12, 25, 43, 0.92)),
    linear-gradient(135deg, rgba(243, 181, 27, 0.18), transparent);
}

.module-card,
.panel,
.deal-card,
.integration-card {
  padding: 22px;
}

.legal-row,
.app-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.legal-row {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
}

.legal-row a,
.app-footer a {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.legal-row a:hover,
.app-footer a:hover {
  color: var(--gold);
}

.app-footer {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

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

.legal-page {
  min-height: 100vh;
  padding: 40px 18px;
}

.legal-doc {
  width: min(880px, 100%);
  margin: 0 auto;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(20, 38, 64, 0.94), rgba(12, 25, 43, 0.94));
}

.legal-doc h1 {
  font-size: clamp(34px, 6vw, 56px);
}

.legal-doc h2 {
  margin-top: 28px;
}

.legal-doc p,
.legal-doc li {
  color: var(--muted);
  line-height: 1.7;
}

.legal-doc ul {
  padding-left: 20px;
}

.video-band {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 22px;
  align-items: center;
  padding: 22px;
  margin-top: 14px;
}

.video-band video {
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background: #000;
}

.page-head {
  padding: 44px 0 12px;
}

.page-head h1 {
  font-size: clamp(36px, 5vw, 62px);
  max-width: 900px;
}

.fx-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 16px;
}

.form-panel {
  display: grid;
  gap: 14px;
  align-self: start;
}

.fx-tier-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.fx-tier-tab {
  min-height: 104px;
  padding: 14px;
  color: var(--text);
  text-align: left;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.fx-tier-tab.active {
  color: #07111f;
  background: linear-gradient(135deg, var(--maize), var(--maize-2));
  border-color: transparent;
}

.fx-tier-tab span,
.fx-tier-tab strong,
.fx-tier-tab small {
  display: block;
}

.fx-tier-tab span {
  font-size: 13px;
  font-weight: 900;
}

.fx-tier-tab span b {
  display: inline-flex;
  padding: 2px 5px;
  margin-left: 4px;
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.16);
  font-size: 9px;
}

.fx-tier-tab strong {
  margin-top: 8px;
  font-size: 25px;
}

.fx-tier-tab small {
  margin-top: 2px;
  color: inherit;
  opacity: 0.82;
  font-weight: 800;
}

.fx-slider {
  min-height: auto;
  padding: 0;
  accent-color: var(--gold);
  background: transparent;
  border: 0;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.comparison > div,
.savings-callout {
  padding: 22px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.comparison span,
.comparison small,
.savings-callout span {
  display: block;
  color: var(--muted);
}

.comparison strong,
.savings-callout strong {
  display: block;
  margin: 6px 0;
  font-size: clamp(28px, 4vw, 48px);
}

.savings-callout {
  margin-top: 12px;
  border: 1px solid rgba(94, 227, 154, 0.35);
}

.savings-callout strong {
  color: var(--green);
}

.fx-upsell {
  margin-top: 14px;
  padding: 13px 14px;
  color: var(--gold);
  background: rgba(243, 181, 27, 0.1);
  border: 1px solid rgba(243, 181, 27, 0.22);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 850;
}

.search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 12px;
  margin: 12px 0 18px;
}

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

.guide-card {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  padding: 14px;
}

.guide-card img {
  aspect-ratio: 1;
  border-radius: 8px;
}

.pill,
.tag-row span,
.status,
.discount {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.pill,
.tag-row span {
  color: var(--gold);
  background: rgba(243, 181, 27, 0.12);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0;
}

.deal-card {
  position: relative;
}

.download-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
}

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

.download-card {
  display: grid;
  gap: 12px;
  min-height: 230px;
  padding: 22px;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(88, 183, 255, 0.14), rgba(255, 255, 255, 0.04));
}

.download-card strong {
  align-self: end;
  color: var(--gold);
}

.release-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.release-steps span {
  padding: 10px 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.discount {
  position: absolute;
  top: 18px;
  right: 18px;
  color: #07111f;
  background: var(--gold);
}

.deal-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
  margin: 22px 0;
}

.status {
  color: var(--blue);
  background: rgba(88, 183, 255, 0.12);
  margin-bottom: 14px;
}

.signup-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.68);
}

.signup-modal.open {
  display: flex;
}

.signup-card {
  position: relative;
  width: min(520px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.signup-card form {
  display: grid;
  gap: 14px;
}

.close-button {
  position: absolute;
  top: 16px;
  right: 16px;
  min-height: 34px;
}

.form-status {
  min-height: 24px;
  color: var(--green);
  margin: 14px 0 0;
}

.empty {
  color: var(--muted);
}

@media (max-width: 1020px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .rail {
    position: fixed;
    z-index: 30;
    width: min(320px, 86vw);
    transform: translateX(-105%);
    transition: transform 0.18s ease;
  }

  .nav-open .rail {
    transform: translateX(0);
  }

  .menu-button {
    display: inline-flex;
    min-height: 44px;
    padding: 0 14px;
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .hero-grid,
  .fx-layout,
  .video-band {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-media img {
    aspect-ratio: 16 / 10;
  }

  .feature-spotlight {
    grid-template-columns: 1fr;
  }

  .feature-detail-list {
    grid-template-columns: 1fr;
  }

  .studio-head {
    flex-direction: column;
  }

  .studio-controls,
  .fx-tier-tabs,
  .story-preview {
    grid-template-columns: 1fr 1fr;
  }

  .module-grid,
  .module-strip,
  .experience-module-grid,
  .earn-grid,
  .account-grid,
  .download-grid,
  .integration-grid,
  .deal-grid,
  .destination-grid,
  .experience-grid,
  .platform-grid,
  .offer-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .main {
    padding: 14px 14px 40px;
  }

  .topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .beta-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .release-steps {
    justify-content: flex-start;
  }

  .hero-grid {
    gap: 22px;
  }

  h1 {
    font-size: 42px;
  }

  .metric-strip,
  .fx-tier-tabs,
  .studio-controls,
  .story-preview,
  .module-grid,
  .module-strip,
  .experience-module-grid,
  .earn-grid,
  .account-grid,
  .download-grid,
  .integration-grid,
  .deal-grid,
  .destination-grid,
  .experience-grid,
  .platform-grid,
  .offer-row,
  .guide-grid,
  .comparison,
  .search-row,
  .guide-card {
    grid-template-columns: 1fr;
  }

  .experience-home {
    min-height: 560px;
    padding: 24px;
  }

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

  .destination-search > div,
  .category-strip {
    grid-template-columns: 1fr;
  }

  .platform-tile {
    min-height: 190px;
  }

  .section-head {
    align-items: stretch;
    flex-direction: column;
  }

  .floating-card {
    left: 14px;
    bottom: 14px;
  }
}

/* Delete account UI (Apple Guideline 5.1.1(v)) */
.danger-panel{margin-top:24px;padding:24px;border:1px solid rgba(220,80,80,.4);border-radius:12px;background:rgba(220,80,80,.06)}
.danger-panel h2{color:#ff6b6b;margin-bottom:8px}
.danger-panel p{color:rgba(255,255,255,.7);font-size:.92rem;margin-bottom:16px}
.danger-btn{background:#cc3344;color:#fff;border:none;padding:12px 24px;border-radius:8px;font-weight:600;cursor:pointer;font-size:.95rem;transition:background .2s}
.danger-btn:hover:not(:disabled){background:#b02030}
.danger-btn:disabled{opacity:.4;cursor:not-allowed}
.delete-confirm-modal{position:fixed;inset:0;background:rgba(0,0,0,.75);display:flex;align-items:center;justify-content:center;z-index:9999;padding:20px}
.delete-confirm-modal[hidden]{display:none}
.delete-confirm-card{background:#1a1a24;border:1px solid rgba(255,255,255,.12);border-radius:14px;padding:32px;max-width:440px;width:100%}
.delete-confirm-card h2{color:#ff6b6b;margin-bottom:14px}
.delete-confirm-card p{color:rgba(255,255,255,.78);font-size:.95rem;margin-bottom:14px}
.delete-confirm-card input{width:100%;padding:12px 14px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.15);border-radius:8px;color:#fff;font-size:1rem;margin:8px 0 18px;font-family:inherit}
.delete-confirm-card input:focus{outline:none;border-color:#cc3344}
.delete-confirm-actions{display:flex;gap:12px;justify-content:flex-end}
.delete-confirm-actions button{padding:10px 20px;border-radius:8px;font-weight:600;cursor:pointer;font-size:.92rem;border:none}
#deleteCancelBtn{background:rgba(255,255,255,.08);color:#fff}
#deleteCancelBtn:hover{background:rgba(255,255,255,.14)}
