:root {
  --adobe-red-deep: #8c0000;
  --adobe-red-mid: #c80400;
  --adobe-red-bright: #e80e00;
  --adobe-blue: #0265dc;
  --adobe-blue-hover: #0054b6;
  --adobe-ink: #222222;
  --adobe-muted: #505050;
  --adobe-border: #d3d3d3;
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--adobe-ink);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.font-display {
  font-family: var(--font-display);
}

[hidden] {
  display: none !important;
}

/* Landing Hero Canvas */
.adobe-hero-shell {
  background:
    radial-gradient(circle at 26% 36%, rgba(235, 18, 0, 0.36) 0%, rgba(185, 0, 0, 0) 48%),
    linear-gradient(108deg, #8b0000 0%, #b80200 32%, #cf0600 66%, #a60000 100%);
  min-height: 100vh;
  color: #ffffff;
  position: relative;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* Responsive Navbar (Desktop vs Mobile frosted bar) */
.adobe-navbar-wrapper {
  position: relative;
}

.adobe-brand-logo-img {
  height: 38px;
  width: auto;
  display: block;
  filter: contrast(2.4) brightness(1.05);
  mix-blend-mode: lighten;
}

.adobe-wordmark {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.adobe-wordmark-lg {
  color: #ffffff;
  font-size: 2.05rem;
  gap: 0.55rem;
}

.adobe-wordmark-sm-red {
  color: #eb1000;
  font-size: 1.22rem;
  gap: 0.35rem;
}

.adobe-nav-desktop-link {
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  background: transparent;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

.adobe-nav-desktop-link:hover,
.adobe-nav-desktop-link:focus-visible,
.adobe-nav-desktop-link[aria-expanded='true'] {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.14);
}

.adobe-signin-btn-desktop {
  background-color: #ffffff;
  color: #222222;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.45rem 1.15rem;
  border: 1.5px solid #ffffff;
  white-space: nowrap;
  transition: transform 150ms ease, background-color 150ms ease;
}

.adobe-signin-btn-desktop:hover {
  background-color: #f4f4f4;
  color: #111111;
}

.adobe-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 150ms ease;
}

.adobe-icon-btn:hover {
  background-color: rgba(255, 255, 255, 0.16);
}

.adobe-mobile-pill-nav {
  background: rgba(255, 224, 224, 0.62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 8px 24px rgba(80, 0, 0, 0.18);
}

.adobe-signin-btn-mobile {
  background-color: transparent;
  color: #1a1a1a;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.35rem 1rem;
  border: 1.5px solid #2c2c2c;
  white-space: nowrap;
}

.adobe-signin-btn-mobile:hover {
  background-color: rgba(0, 0, 0, 0.06);
  color: #000000;
}

.adobe-dropdown-menu {
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
  padding: 0.5rem;
  min-width: 230px;
  z-index: 60;
}

.adobe-app-launcher-menu {
  min-width: 250px;
}

.adobe-app-launcher-sub {
  font-size: 0.75rem;
}

.adobe-dropdown-item {
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
  color: #222222;
}

.adobe-dropdown-item:hover,
.adobe-dropdown-item:focus {
  background-color: #f5f5f5;
  color: #000000;
}

/* Hero Typography */
.hero-kicker {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 4.1vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-wrap: balance;
}

.hero-subcopy {
  font-size: 1rem;
  line-height: 1.48;
  color: rgba(255, 255, 255, 0.94);
  max-width: 44ch;
}

.hero-cta-btn {
  background-color: #ffffff;
  color: #1c1c1c;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.62rem 1.5rem;
  border: none;
  box-shadow: 0 4px 14px rgba(60, 0, 0, 0.22);
  transition: transform 150ms ease, background-color 150ms ease;
}

.hero-cta-btn:hover {
  background-color: #f3f3f3;
  color: #000000;
  transform: translateY(-1px);
}

/* Hero 'A' Botanical Portrait Crop */
.hero-artwork-stage {
  position: relative;
  width: 100%;
  max-width: 580px;
  aspect-ratio: 1.16 / 1;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
  -webkit-mask-image:
    linear-gradient(to bottom, transparent 0%, #000 6%, #000 89%, transparent 99%),
    linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to bottom, transparent 0%, #000 6%, #000 89%, transparent 99%),
    linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-composite: intersect;
}

.hero-artwork-img {
  position: absolute;
  width: 204%;
  max-width: none;
  height: auto;
  left: -101%;
  top: -31.5%;
  user-select: none;
  pointer-events: none;
}

@media (max-width: 991.98px) {
  .hero-artwork-stage {
    max-width: 285px;
  }
}

/* Play / Pause Toggle */
.hero-playback-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(34, 0, 0, 0.56);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 150ms ease, transform 150ms ease;
}

.hero-playback-btn:hover {
  background: rgba(20, 0, 0, 0.78);
  transform: scale(1.04);
}

/* 6-Card Offer Grid */
.offer-grid-card {
  width: 100%;
  min-height: 112px;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 160ms cubic-bezier(0.16, 1, 0.3, 1), background-color 160ms ease,
    border-color 160ms ease, box-shadow 160ms ease;
}

.offer-grid-card-active {
  background-color: #ffffff;
  color: #161616;
  border: 1px solid #ffffff;
  box-shadow: 0 12px 28px rgba(60, 0, 0, 0.28);
}

.offer-grid-card-dark {
  background-color: rgba(62, 0, 0, 0.58);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.offer-grid-card:hover,
.offer-grid-card:focus-visible {
  transform: translateY(-2px);
}

.offer-grid-card-dark:hover,
.offer-grid-card-dark:focus-visible {
  background-color: rgba(84, 0, 0, 0.76);
  border-color: rgba(255, 255, 255, 0.42);
}

.offer-grid-card-title {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25;
}

.offer-progress-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  background-color: #e60d00;
  transition: width 300ms linear;
}

/* Auth Portal Shell */
.auth-portal-shell {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  display: flex;
  align-items: center;
  background-color: #071212;
}

.ocean-wave-backdrop {
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.auth-portal-container {
  z-index: 2;
}

@media (max-width: 767.98px) {
  .auth-portal-shell {
    background-color: #ffffff;
    align-items: stretch;
  }
}

.auth-card {
  background-color: #ffffff;
  border-radius: 6px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.48);
  color: #2c2c2c;
}

@media (max-width: 767.98px) {
  .auth-card {
    box-shadow: none;
    border-radius: 0;
  }
}

.auth-title {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #222222;
}

.auth-link {
  color: #1473e6;
  text-decoration: underline;
  background: transparent;
  border: none;
  padding: 0;
  font-weight: 500;
  cursor: pointer;
}

.auth-link:hover {
  color: #0d66d0;
}

.auth-input-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #555555;
  margin-bottom: 0.3rem;
}

.auth-input {
  border: 1.5px solid #c9c9c9;
  border-radius: 4px;
  padding: 0.56rem 2.35rem 0.56rem 0.75rem;
  font-size: 0.94rem;
  color: #222222;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}

.auth-input:focus {
  border-color: #1473e6;
  box-shadow: 0 0 0 1px #1473e6;
}

.auth-continue-btn {
  background-color: var(--adobe-blue);
  border-color: var(--adobe-blue);
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.48rem 1.35rem;
  border-radius: 999px;
}

.auth-continue-btn:hover,
.auth-continue-btn:focus {
  background-color: var(--adobe-blue-hover);
  border-color: var(--adobe-blue-hover);
  color: #ffffff;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #707070;
  font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: #e4e4e4;
}

.auth-social-pill {
  width: 100%;
  border: 1px solid #d6d6d6;
  background-color: #ffffff;
  color: #222222;
  border-radius: 999px;
  padding: 0.6rem 1rem;
  font-weight: 600;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease;
}

.auth-social-pill:hover {
  background-color: #f7f7f7;
  border-color: #9e9e9e;
}

.auth-social-circle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #dcdcdc;
  background-color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 140ms ease, border-color 140ms ease, transform 140ms ease;
}

.auth-social-circle:hover {
  background-color: #f6f6f6;
  border-color: #a8a8a8;
  transform: translateY(-1px);
}

.auth-input.is-invalid {
  background-image: none;
  padding-right: 2.5rem;
}

.auth-input-end-btn {
  position: absolute;
  right: 0.55rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 0.25rem;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #505050;
  z-index: 3;
  transition: color 140ms ease, background-color 140ms ease;
}

.auth-input-end-btn:hover {
  color: #161616;
  background-color: rgba(0, 0, 0, 0.05);
}

.auth-input-end-icon {
  position: absolute;
  right: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: inline-flex;
  align-items: center;
}

.auth-mobile-footer {
  border-top: 1px solid #e6e6e6;
  font-size: 0.72rem;
  color: #666666;
}

.auth-help-fab {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #c8c8c8;
  background-color: #ffffff;
  color: #2c2c2c;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
