/* Auth + onboarding shells — Unified Stripe-level layout system */

.authShell {
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font);
}
@media (min-width: 1024px) {
  .authShell {
    grid-template-columns: 1fr 1fr;
  }
}

.authShellMain {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 768px) {
  .authShellMain {
    padding: 2.25rem 2.5rem;
  }
}

.authShellTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.25rem;
}
.authShellTopLeft {
  display: flex;
  align-items: center;
}
.authShellTopRight {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.authBrandLink {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--foreground);
  text-decoration: none;
  transition: opacity 0.15s ease;
}
.authBrandLink:hover {
  text-decoration: none;
  opacity: 0.9;
  color: var(--foreground);
}

.authBrandMark {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-md);
  background: var(--primary);
  color: var(--primary-foreground);
  flex: 0 0 auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.authBrandMark svg {
  width: 1.15rem;
  height: 1.15rem;
}

.authBackBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 2.25rem;
  padding: 0 0.85rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted-foreground);
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease, transform 0.12s ease;
}
.authBackBtn:hover {
  color: var(--foreground);
  border-color: color-mix(in srgb, var(--foreground) 25%, var(--border));
  background: var(--muted);
  transform: translateY(-0.5px);
  text-decoration: none;
}
.authBackBtn:active {
  transform: scale(0.97);
}
.authBackBtn svg {
  width: 0.9rem;
  height: 0.9rem;
}

.authThemeToggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted-foreground);
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: color 0.15s ease, border-color 0.15s ease, background-color 0.15s ease, transform 0.12s ease;
}
.authThemeToggle:hover {
  color: var(--foreground);
  border-color: color-mix(in srgb, var(--foreground) 25%, var(--border));
  background: var(--muted);
  transform: translateY(-0.5px);
}
.authThemeToggle:active {
  transform: scale(0.97);
}
.authThemeToggle:focus-visible {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--auth-focus-ring);
}
.authThemeToggle svg {
  width: 1.05rem;
  height: 1.05rem;
}
.authThemeToggle .themeIconDark {
  display: none;
}
.authThemeToggle .themeIconLight {
  display: block;
}
[data-theme="dark"] .authThemeToggle .themeIconLight {
  display: none;
}
[data-theme="dark"] .authThemeToggle .themeIconDark {
  display: block;
}

.authShellBody {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 0;
}
@media (max-height: 640px) {
  .authShellBody {
    align-items: flex-start;
    padding-top: 0.5rem;
  }
}

.authShellBodyInner {
  width: 100%;
  max-width: var(--auth-form-width, 420px);
  margin: 0 auto;
}

.authShellFoot {
  text-align: center;
  font-size: var(--text-xs);
  color: var(--muted-foreground);
  margin: 0;
}

/* Hero / media right column */
.authHero {
  position: relative;
  display: none;
  overflow: hidden;
  background: color-mix(in srgb, var(--muted) 45%, var(--background));
  border-left: 1px solid var(--border);
}
@media (min-width: 1024px) {
  .authHero {
    display: flex;
    flex-direction: column;
  }
}

/* Ethereal shadow backdrop for Auth Hero panel */
.authEtherealRoot {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.authEtherealSvg {
  position: absolute;
  width: 0;
  height: 0;
  overflow: visible;
}
.authEtherealInner {
  position: absolute;
  inset: -100px;
  filter: url(#authEtherealFilter) blur(4px);
  will-change: filter;
}
.authEtherealShadow {
  width: 100%;
  height: 100%;
  background-color: var(--primary);
  opacity: 0.18;
  mask-image: url("/static/img/hero-ethereal-mask.png");
  mask-size: cover;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("/static/img/hero-ethereal-mask.png");
  -webkit-mask-size: cover;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}
.authEtherealNoise {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: url("/static/img/hero-ethereal-noise.png");
  background-size: 240px;
  background-repeat: repeat;
  opacity: 0.05;
  mix-blend-mode: overlay;
}
.authEtherealFade {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 85% 75% at 50% 50%, transparent 20%, color-mix(in srgb, var(--muted) 45%, var(--background)) 92%);
}
[data-theme="dark"] .authEtherealShadow {
  opacity: 0.25;
}

.authHeroInner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  flex: 1;
  padding: 2.25rem 2.5rem;
}

.authHeroTop {
  min-height: 2.25rem;
  display: flex;
  align-items: center;
}

.authHeroArt {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 1.5rem 0;
}
.authHeroArt img {
  width: 100%;
  max-width: 26rem;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

.authHeroCopy {
  max-width: 26rem;
}
.authEyebrow {
  margin: 0 0 0.4rem;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
}
.authHeroTitle {
  font-size: 1.65rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--foreground);
  margin: 0;
}
.authHeroTitle em,
.authHeroTitle .authAccent {
  font-family: "Fraunces", var(--display), Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: var(--muted-foreground);
}
.authHeroSub {
  margin: 0.5rem 0 0;
  font-size: var(--text-sm);
  line-height: 1.5;
  color: var(--muted-foreground);
}

/* Dots progress indicators */
.authHeroProgress,
.authMobileProgress {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
@media (min-width: 1024px) {
  .authMobileProgress {
    display: none;
  }
}

.authDot,
.onboardDot {
  height: 0.35rem;
  width: 0.35rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 25%, transparent);
  transition: width 0.25s cubic-bezier(0.2, 0, 0, 1), background-color 0.25s ease;
}
.authDot.isDone,
.onboardDot.isDone {
  background: color-mix(in srgb, var(--primary) 65%, transparent);
}
.authDot.isActive,
.onboardDot.isActive {
  width: 1.4rem;
  background: var(--primary);
}

/* Form card on auth pages */
.authFormCard {
  display: grid;
  gap: 1.35rem;
  width: 100%;
  padding: 2.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--auth-card-radius, var(--radius-xl));
  box-shadow: var(--auth-shadow);
}
@media (max-width: 640px) {
  .authFormCard {
    padding: 1.5rem;
    border-radius: var(--radius-lg);
  }
}

.authFormHead {
  display: grid;
  gap: 0.3rem;
}
.authFormTitle {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.authFormSub {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--muted-foreground);
  line-height: 1.45;
}

/* Social authentication (Google SSO) */
.authSocialActions {
  display: flex;
  gap: 0.75rem;
  width: 100%;
}
.authSocialBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  height: var(--auth-input-height, 2.75rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card);
  color: var(--foreground);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.authSocialBtn:hover {
  background: var(--muted);
  border-color: color-mix(in srgb, var(--foreground) 25%, var(--border));
}
.authSocialBtn:focus-visible {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--auth-focus-ring);
}
.authSocialIcon {
  flex-shrink: 0;
}

/* Divider line */
.authDivider {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--muted-foreground);
  font-size: var(--text-xs);
  font-weight: 500;
}
.authDivider::before,
.authDivider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.authFormStack {
  display: grid;
  gap: 1.1rem;
}
.formFieldGroup {
  display: grid;
  gap: 0.35rem;
}
.labelRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.authFormActions {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.25rem;
}
.authFormSwitch {
  margin: 0;
  text-align: center;
  font-size: var(--text-sm);
  color: var(--muted-foreground);
}
.authFormSwitch a {
  font-weight: 600;
  color: var(--foreground);
  text-decoration: none;
}
.authFormSwitch a:hover {
  text-decoration: underline;
}

.authLegalNotice {
  margin: 0;
  font-size: var(--text-xs);
  color: var(--muted-foreground);
  text-align: center;
  line-height: 1.45;
}
.authLegalNotice a {
  color: var(--muted-foreground);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.authLegalNotice a:hover {
  color: var(--foreground);
}

.authAlert {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in srgb, var(--destructive) 30%, var(--border));
  background: var(--destructive-soft);
  color: var(--destructive);
  font-size: var(--text-sm);
  line-height: 1.4;
}
.authAlertIcon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.passwordField {
  position: relative;
  width: 100%;
}
.passwordField .input {
  padding-right: 2.75rem;
}
.passwordToggle {
  position: absolute;
  right: 0.4rem;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  background: transparent;
  color: var(--muted-foreground);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: color 0.12s ease, background-color 0.12s ease;
}
.passwordToggle:hover {
  color: var(--foreground);
  background: color-mix(in srgb, var(--muted) 60%, transparent);
}
.passwordToggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--primary);
}
.passwordToggle svg {
  width: 1.05rem;
  height: 1.05rem;
}
.passwordToggle .iconEyeOff { display: none; }
.passwordToggle.isVisible .iconEye { display: none; }
.passwordToggle.isVisible .iconEyeOff { display: block; }

/* Password live strength indicator */
.passwordStrength {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.45rem;
  animation: auth-step-fade 150ms ease-out;
}
.passwordStrengthBars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.3rem;
  height: 0.25rem;
}
.strengthSegment {
  height: 100%;
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--muted) 80%, var(--border));
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.passwordStrengthMeta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--text-xs);
  color: var(--muted-foreground);
  line-height: 1.3;
}
.strengthText {
  font-weight: 500;
  transition: color 0.15s ease;
}
.strengthHint {
  font-size: 0.7rem;
  opacity: 0.8;
}

/* Strength Colors per Score (1..4) */
.passwordStrength[data-score="1"] .strengthSegment:nth-child(1) {
  background: var(--destructive);
}
.passwordStrength[data-score="1"] .strengthText {
  color: var(--destructive);
}

.passwordStrength[data-score="2"] .strengthSegment:nth-child(-n+2) {
  background: var(--warning);
}
.passwordStrength[data-score="2"] .strengthText {
  color: var(--warning);
}

.passwordStrength[data-score="3"] .strengthSegment:nth-child(-n+3) {
  background: var(--info);
}
.passwordStrength[data-score="3"] .strengthText {
  color: var(--info);
}

.passwordStrength[data-score="4"] .strengthSegment:nth-child(-n+4) {
  background: var(--primary);
}
.passwordStrength[data-score="4"] .strengthText {
  color: var(--primary);
}

/* Submitting button spinner state */
.btnSubmit {
  position: relative;
  width: 100%;
  height: var(--auth-input-height, 2.75rem);
  font-size: var(--text-sm);
  letter-spacing: -0.015em;
}
.btnSubmit .btnSpinner {
  display: none;
  width: 1rem;
  height: 1rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: authBtnSpin 0.6s linear infinite;
  margin: 0 auto;
}
.btnSubmit.isSubmitting {
  pointer-events: none;
  opacity: 0.85;
}
.btnSubmit.isSubmitting .btnText {
  display: none;
}
.btnSubmit.isSubmitting .btnSpinner {
  display: inline-block;
}
.btnSubmit.isSubmitting .btnSpinner {
  display: inline-block;
}
@keyframes authBtnSpin {
  to { transform: rotate(360deg); }
}

/* Form 2-column grid layout */
.formGrid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (max-width: 520px) {
  .formGrid2 {
    grid-template-columns: 1fr;
  }
}

/* Option tiles */
.optionTiles {
  display: grid;
  gap: 0.45rem;
}
.optionTile {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, transform 0.1s ease;
}
.optionTile:hover {
  border-color: color-mix(in srgb, var(--primary) 35%, var(--border));
  background: color-mix(in srgb, var(--muted) 50%, var(--card));
  transform: translateY(-0.5px);
}
.optionTile:focus-visible,
.optionTile:focus-within {
  outline: none;
  border-color: var(--primary);
  box-shadow: var(--auth-focus-ring);
}
.optionTile.isSelected {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
  background: var(--primary-soft);
}
.optionTile input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.optionTileIcon {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: var(--radius-sm);
  background: var(--muted);
  color: var(--foreground);
  flex: 0 0 auto;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.optionTileIcon svg {
  width: 0.95rem;
  height: 0.95rem;
}
.optionTile.isSelected .optionTileIcon {
  background: var(--primary);
  color: var(--primary-foreground);
}
.optionTileText {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}
.optionTileTitle {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--foreground);
  line-height: 1.25;
}
.optionTileDesc {
  font-size: 0.72rem;
  color: var(--muted-foreground);
  line-height: 1.3;
}

.fieldSection { display: grid; gap: 0.4rem; }
.fieldSectionLabel {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--foreground);
  letter-spacing: -0.01em;
}

/* Height-constrained 100dvh responsiveness to prevent vertical scrolling */
@media (max-height: 850px) {
  .authFormCard {
    padding: 1.5rem 1.65rem;
    gap: 0.9rem;
  }
  .authFormStack {
    gap: 0.75rem;
  }
  .authShellTop {
    min-height: 3.5rem;
  }
  .authShellBody {
    padding: 0.25rem 0;
  }
  .authFormTitle {
    font-size: 1.35rem;
  }
  .optionTile {
    padding: 0.45rem 0.65rem;
  }
}
@media (max-height: 720px) {
  .authFormCard {
    padding: 1.15rem 1.35rem;
    gap: 0.75rem;
  }
  .authFormStack {
    gap: 0.65rem;
  }
  .optionTileDesc {
    display: none;
  }
  .optionTile {
    padding: 0.4rem 0.6rem;
  }
}
.fieldHint {
  font-size: var(--text-xs);
  color: var(--muted-foreground);
  margin: 0;
}

.timezoneHint {
  margin: 0;
  font-size: var(--text-xs);
  color: var(--muted-foreground);
}
.timezoneUseDetected {
  align-self: start;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--muted-foreground);
  cursor: pointer;
  text-align: left;
}
.timezoneUseDetected:hover { color: var(--primary); }

@keyframes auth-step-fade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.authStepFade { animation: auth-step-fade 180ms ease-out; }
@media (prefers-reduced-motion: reduce) {
  .authStepFade { animation: none; }
  .authDot, .onboardDot { transition: none; }
}

/* Pricing shell — same surfaces as onboarding; honey only as accent ----- */
.priceShell {
  display: grid;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--background);
  color: var(--price-ink);
  font-family: var(--font);
}
@media (min-width: 960px) {
  .priceShell { grid-template-columns: minmax(18rem, 34vw) 1fr; }
}

.pricePanel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.5rem 1.35rem 1.35rem;
  overflow-x: hidden;
  overflow-y: auto;
  background: color-mix(in srgb, var(--muted) 40%, var(--background));
  border-bottom: 1px solid var(--price-line);
}
@media (min-width: 960px) {
  .pricePanel {
    padding: 2rem 2.25rem 1.75rem;
    border-bottom: none;
    border-right: 1px solid var(--price-line);
  }
}
.pricePanelDecor {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 20%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 60%),
    radial-gradient(ellipse 70% 50% at 85% 85%, color-mix(in srgb, var(--foreground) 5%, transparent), transparent 65%);
}
.pricePanelTop,
.pricePanelMid,
.pricePanelFoot { position: relative; z-index: 1; }
.pricePanelMid {
  display: grid;
  gap: 1.35rem;
  align-content: center;
  flex: 1;
}
.priceEyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--price-leaf);
}
.pricePanelTitle {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.1rem, 3.2vw, 2.85rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.12;
}
.priceAccent {
  font-style: italic;
  font-weight: 500;
  color: var(--price-leaf);
}
.pricePanelDesc {
  margin: 0.9rem 0 0;
  max-width: 22rem;
  color: var(--price-muted);
  font-size: 1rem;
  line-height: 1.55;
}
.pricePanelArt {
  display: flex;
  justify-content: flex-start;
}
.pricePanelArt img {
  width: min(100%, 17rem);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(22, 79, 50, 0.12));
}
.priceQuote {
  margin: 0;
  padding: 1rem 1.05rem 1.05rem;
  border-radius: 0.85rem;
  border: 1px solid var(--price-line);
  background: color-mix(in srgb, var(--card) 78%, transparent);
  display: grid;
  gap: 0.7rem;
}
.priceQuoteMark {
  display: block;
  width: 1.55rem;
  height: 1.35rem;
  color: var(--price-honey);
  line-height: 0;
}
.priceQuoteMark svg {
  width: 100%;
  height: 100%;
  display: block;
}
.priceQuoteText {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 0.98rem;
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.015em;
  line-height: 1.45;
  color: var(--price-ink);
}
.priceQuoteBy {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.priceQuoteAvatar {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 18%, var(--muted));
  color: var(--price-leaf);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  flex: 0 0 auto;
}
.priceQuoteMeta {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}
.priceQuoteName {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--price-ink);
}
.priceQuoteRole {
  font-size: var(--text-xs);
  color: var(--price-muted);
}

.priceTrustList {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}
.priceTrustList li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: var(--text-sm);
  color: var(--price-muted);
  line-height: 1.4;
}
.priceTrustIcon {
  display: grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  background: rgba(31, 107, 69, 0.12);
  color: var(--price-leaf);
  flex: 0 0 auto;
  margin-top: 0.05rem;
}
.priceTrustIcon svg { width: 0.85rem; height: 0.85rem; }
.pricePanelFoot {
  margin: 0;
  font-size: var(--text-xs);
  color: var(--price-muted);
}

.priceMain {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.15rem 1.15rem 2rem;
  background: var(--background);
}
@media (min-width: 768px) {
  .priceMain { padding: 1.5rem 2rem 2.5rem; }
}
.priceMainTop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.priceMobileBrand { display: none; }
.priceLogout {
  border: none;
  background: none;
  padding: 0.35rem 0.15rem;
  font: inherit;
  font-size: var(--text-sm);
  color: var(--price-muted);
  cursor: pointer;
}
.priceLogout:hover { color: var(--price-leaf); }
.priceMainBody {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.priceOffer {
  width: 100%;
  max-width: 58rem;
  display: grid;
  gap: 1.5rem;
}
.priceOfferHead {
  display: grid;
  gap: 0.45rem;
  max-width: 34rem;
}
.priceOfferEyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--price-honey);
}
.priceOfferTitle {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.pricePaywallNote {
  margin: 0.85rem 0 0;
  padding: 0.7rem 0.85rem;
  border-radius: 0.65rem;
  border: 1px solid var(--price-line);
  background: color-mix(in srgb, var(--primary) 10%, var(--card));
  color: var(--price-ink);
  font-size: var(--text-sm);
  line-height: 1.4;
}
.priceOfferSub {
  margin: 0.15rem 0 0;
  color: var(--price-muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.priceOfferFoot {
  display: grid;
  gap: 0.55rem;
  padding-top: 0.25rem;
}
.priceFootLine {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  align-items: center;
  margin: 0;
  font-size: 0.78rem;
  color: var(--price-muted);
}
.priceFootDot {
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--price-honey) 70%, var(--price-muted));
}
.priceDevNote,
.priceFootLinks {
  margin: 0;
  font-size: 0.78rem;
  color: var(--price-muted);
}
.priceFootLinks a {
  color: var(--price-leaf);
  text-decoration: underline;
  text-underline-offset: 2px;
}

[data-theme="dark"] .authHeroDecor,
[data-theme="dark"] .onboardPanelDecor,
[data-theme="dark"] .pricePanelDecor {
  background-image:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(62, 207, 122, 0.12), transparent 60%),
    radial-gradient(ellipse 70% 50% at 85% 85%, rgba(255, 255, 255, 0.03), transparent 65%);
}
[data-theme="dark"] .authHeroArt img,
[data-theme="dark"] .onboardPanelArt img,
[data-theme="dark"] .pricePanelArt img { opacity: 0.92; }
[data-theme="dark"] .pricePanel {
  background: color-mix(in srgb, var(--muted) 70%, var(--background));
}
