/* AceDraft presale landing site — vanilla CSS3, no build step.
   Design tokens reconciled with src/styles.scss so this page shares the product's
   palette rather than inventing a second brand (see CLAUDE.md / presale-landing skill §8). */

:root {
  --color-brand-primary: #7621c2;
  --color-brand-primary-hover: #5b1a99;
  --color-teal-500: #14b8a6;
  --color-teal-600: #0d9488;
  --color-dark-surface: #0f172a;
  --color-bg: #f8fafc;
  --color-bg-alt: #f9fafb;
  --color-card: #ffffff;
  --color-border: #e2e8f0;
  --color-text: #101828;
  --color-text-muted: #475467;
  --color-text-on-dark: #f8fafc;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 12px;
  --shadow-card: 0 10px 30px -10px rgba(118, 33, 194, 0.12);
  --shadow-soft: 0 4px 20px -2px rgba(0, 0, 0, 0.06);
  --focus-ring: 0 0 0 3px rgba(118, 33, 194, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-family);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-brand-primary);
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
  border-radius: 6px;
}

/* ---------- Global API-loading indicator (mat-progressbar-style) ---------- */
/* Mirrors Angular Material's mat-progress-bar "indeterminate" mode: two bars sliding
   left-to-right on an independent loop. Fixed to the viewport top, above the sticky
   header, shown/hidden by app.js's showLoader()/hideLoader() around every /api call. */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1000;
  overflow: hidden;
  background: transparent;
}

.progress-bar-track {
  position: relative;
  width: 100%;
  height: 100%;
  background: rgba(118, 33, 194, 0.15);
  overflow: hidden;
}

.progress-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--color-brand-primary);
  will-change: left, right;
}

.progress-bar-fill--1 {
  animation: progress-bar-indeterminate-1 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
}

.progress-bar-fill--2 {
  animation: progress-bar-indeterminate-2 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) infinite;
  animation-delay: 1.15s;
}

@keyframes progress-bar-indeterminate-1 {
  0% { left: -35%; right: 100%; }
  60% { left: 100%; right: -90%; }
  100% { left: 100%; right: -90%; }
}

@keyframes progress-bar-indeterminate-2 {
  0% { left: -200%; right: 100%; }
  60% { left: 107%; right: -8%; }
  100% { left: 107%; right: -8%; }
}

@media (prefers-reduced-motion: reduce) {
  .progress-bar-fill--1,
  .progress-bar-fill--2 {
    animation: none;
    left: 0;
    right: 0;
  }
}

/* Small inline spinner variant, used inside buttons/cards mid-request
   (e.g. the pricing-tier load state) instead of the full-width top bar. */
.spinner-inline {
  display: inline-block;
  width: 1em;
  height: 1em;
  border: 2px solid rgba(118, 33, 194, 0.25);
  border-top-color: var(--color-brand-primary);
  border-radius: 50%;
  vertical-align: -0.2em;
  margin-right: 0.5em;
  animation: spinner-inline-spin 0.7s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .spinner-inline {
    animation-duration: 1.6s;
  }
}

@keyframes spinner-inline-spin {
  to { transform: rotate(360deg); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
  flex-wrap: wrap;
}

.site-header .counter-pill {
  margin-left: auto;
  margin-right: 16px; /* Add some space between counter and nav */
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 700;
}

.brand img {
  border-radius: 8px;
}

.brand-word {
  font-size: 1.1rem;
}

.site-nav {
  display: flex;
  gap: 20px;
  /* margin-left: auto; */ /* Removed */
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--color-brand-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-login {
  text-decoration: none;
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.header-login:hover {
  color: var(--color-brand-primary);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.05s ease;
}

.btn-primary {
  background: var(--color-brand-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-brand-primary-hover);
}

.btn-primary:disabled {
  background: #b399d6;
  cursor: not-allowed;
}

.btn-ghost {
  background: transparent;
  color: var(--color-brand-primary);
  border: 1px solid var(--color-brand-primary);
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.9rem;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg) 100%);
  padding: 56px 0 48px;
}

.hero-inner {
  max-width: 720px;
}

.badge {
  display: inline-block;
  background: rgba(118, 33, 194, 0.1);
  color: var(--color-brand-primary);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin: 0 0 18px;
}

h1 {
  font-size: clamp(1.9rem, 4vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin: 0 0 28px;
  max-width: 620px;
}

.hero-form-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

input[type='email'],
input[type='text'] {
  flex: 1 1 240px;
  min-width: 0;
  padding: 13px 16px;
  font-size: 1rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-family: inherit;
  background: #fff;
  color: var(--color-text);
}

input[type='email']:invalid:not(:placeholder-shown) {
  border-color: #dc2626;
}

.hero-microcopy {
  margin: 12px 0 10px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  cursor: pointer;
}

.consent-row input {
  margin-top: 3px;
}

.form-error {
  color: #b42318;
  font-size: 0.9rem;
  margin-top: 10px;
}

.post-signup {
  margin-top: 24px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.post-signup h2 {
  margin: 0 0 8px;
  font-size: 1.4rem;
}

.share-link-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0 0;
}

.share-link-row code {
  background: var(--color-bg-alt);
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  word-break: break-all;
}

.referral-status {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.waitlist-count {
  margin-top: 18px;
  font-weight: 600;
  color: var(--color-teal-600);
}

.trust-strip {
  margin-top: 30px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.hero-cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Founding-spots counter ---------- */
.counter-banner {
  padding: 16px 0;
  display: flex;
  justify-content: center;
}
.viewing-text{
  color: #fff;
}
.counter-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-brand-primary);
  padding: 9px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}
.counter-pill1 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #F14A16;
  padding: 9px 18px;
  border-radius: 999px;
  box-shadow: #F14A16;
}

.counter-text {
  color: #fff;
  font-weight: 600;
  font-size: 2.85rem;
  height: 5rem;
}
.counter-text1  {
  color: #fff;
  font-weight: 600;
  font-size: 0.65rem;
  height: auto;
}
.pulse-dot {
  width: 2.5rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 50%;
  /* background: #4ade80; */
  background: #F14A16;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
}
.pulse-dot1 {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
  border-radius: 50%;
  /* background: #4ade80; */
  background: #43322d9c;
  
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
}
@media (prefers-reduced-motion: no-preference) {
  .pulse-dot {
    animation: pulse-ring 1.8s infinite;
  }
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* ---------- Demo resume + JD (S4) ---------- */
.demo-section {
  padding: 56px 0;
}

.demo-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 10px;
  max-width: 720px;
}

.section-lede {
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 0 32px;
}

.demo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 768px) {
  .demo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.demo-card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-soft);
}

.demo-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.demo-card-sub {
  margin: 0 0 16px;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.demo-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.demo-resume-render {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  max-height: 480px;
  overflow-y: auto;
  font-size: 0.85rem;
  line-height: 1.5;
}

.demo-resume-object {
  display: block;
  width: 100%;
  height: 480px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
}

.demo-resume-object-fallback {
  margin: 0;
  padding: 16px;
  text-align: center;
  color: var(--color-text-muted);
}

.dr-header {
  margin-bottom: 14px;
}

.dr-name {
  margin: 0 0 6px;
  font-size: 1.15rem;
}

.dr-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.dr-section {
  margin: 16px 0;
}

.dr-section h5 {
  margin: 0 0 8px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 6px;
}

.dr-section p {
  margin: 0 0 8px;
}

.dr-section ul {
  margin: 0 0 8px;
  padding-left: 18px;
}

.dr-section li {
  margin-bottom: 4px;
}

.dr-skill-group {
  margin-bottom: 10px;
}

.dr-skill-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.dr-tag-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.dr-tag-list li {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.75rem;
  margin: 0;
}

.dr-tag-list-inline {
  margin-top: 4px;
}

.dr-job {
  margin-bottom: 14px;
}

.dr-job:last-child {
  margin-bottom: 0;
}

.dr-job-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 0.88rem;
}

.dr-job-dates {
  color: var(--color-text-muted);
  font-size: 0.78rem;
  margin-left: auto;
}

.dr-meta p {
  margin: 0 0 4px;
  font-size: 0.82rem;
}

.demo-jd-box {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  line-height: 1.5;
  white-space: pre-wrap;
  max-height: 320px;
  overflow-y: auto;
  margin: 0 0 14px;
}

/* ---------- Copy-to-clipboard toast ---------- */
.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  background: var(--color-dark-surface);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 30px -6px rgba(0, 0, 0, 0.4);
  z-index: 40;
}

/* ---------- Verify-it-yourself (S5) ---------- */
.verify-section {
  background: var(--color-bg-alt);
  padding: 56px 0;
}

.verify-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 32px;
  max-width: 720px;
}

.verify-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 640px) {
  .verify-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

.verify-steps li {
  display: flex;
  gap: 14px;
}

.verify-steps h3 {
  margin: 4px 0 4px;
  font-size: 1.05rem;
}

.verify-steps p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ---------- Features → value (S6) ---------- */
.value-section {
  padding: 56px 0;
}

.value-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 32px;
  max-width: 720px;
}

.value-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 768px) {
  .value-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.value-list h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  color: var(--color-brand-primary);
}

.value-list p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ---------- Truth block ---------- */
.truth-block {
  background: var(--color-dark-surface);
  color: var(--color-text-on-dark);
  padding: 56px 0;
}

.truth-block h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 32px;
  max-width: 700px;
}

.truth-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 768px) {
  .truth-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.truth-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 20px;
}

.truth-card h3 {
  margin: 0 0 10px;
  font-size: 1.05rem;
  color: var(--color-teal-500);
}

.truth-card p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.truth-footer {
  margin: 28px 0 0;
  font-weight: 600;
  color: #fff;
}

/* ---------- How it works ---------- */
.how-it-works {
  padding: 56px 0;
}

.how-it-works h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 32px;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

.steps li {
  display: flex;
  gap: 14px;
}

.step-num {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-brand-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.steps h3 {
  margin: 4px 0 4px;
  font-size: 1.05rem;
}

.steps p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ---------- Pricing ---------- */
.pricing {
  background: var(--color-bg-alt);
  padding: 56px 0;
}

.pricing h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 28px;
  max-width: 720px;
}

.tier-cards-status {
  color: var(--color-text-muted);
}

.tier-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

@media (min-width: 860px) {
  .tier-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tier-card {
  display: block;
  background: var(--color-card);
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  padding: 22px;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-card);
  transition: border-color 0.15s ease;
}

.tier-card.is-selected {
  border-color: var(--color-brand-primary);
}

.tier-card.is-unavailable {
  opacity: 0.55;
  cursor: not-allowed;
}

.tier-remaining {
  margin: 10px 0 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-teal-600);
}

.tier-card-head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
}

.tier-radio {
  margin-top: 4px;
}

.tier-name {
  font-weight: 700;
  font-size: 1.1rem;
}

.tier-price {
  font-weight: 700;
  color: var(--color-brand-primary);
}

.tier-description {
  margin: 6px 0 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.tier-honesty {
  margin: 14px 0 0;
  font-size: 0.82rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
  padding-top: 12px;
}

.tier-card-slot {
  margin-top: 16px;
}

.purchase-panel {
  max-width: 420px;
  margin: 26px auto 0;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.purchase-panel label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.purchase-panel input {
  width: 100%;
  margin-bottom: 6px;
}

.purchase-email-hint {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin: 0 0 12px;
}

.purchase-panel .btn {
  width: 100%;
}

.sponsor-addon-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  cursor: pointer;
  margin: 4px 0 14px;
}

.sponsor-addon-row input {
  margin-top: 3px;
}

.purchase-success {
  max-width: 480px;
  margin: 26px auto 0;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.purchase-success-details {
  margin: 0 0 16px;
  text-align: left;
  background: #fff;
  border-radius: 8px;
  padding: 14px 16px;
}

.purchase-success-details p {
  margin: 4px 0;
  font-size: 0.92rem;
}

#purchase-success-plan {
  font-size: 1.05rem;
  color: var(--color-brand-primary);
}

#purchase-success-status {
  font-weight: 600;
}

#purchase-success-login-btn {
  margin: 6px 0;
}

.purchase-success-fallback {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: 10px;
}

/* ---------- FAQ ---------- */
.faq {
  padding: 56px 0;
}

.faq h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 24px;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding: 16px 0;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: '+';
  display: inline-block;
  width: 1.1em;
  color: var(--color-brand-primary);
  font-weight: 700;
}

.faq-item[open] summary::before {
  content: '−';
}

.faq-item p {
  margin: 10px 0 0 1.1em;
  color: var(--color-text-muted);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-dark-surface);
  color: #cbd5e1;
  padding: 36px 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.footer-links a {
  color: #e2e8f0;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--color-teal-500);
}

.site-footer p {
  margin: 4px 0;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* ---------- Notification rail ---------- */
.notification-rail {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 30;
  max-width: 380px;
  /* background: var(--color-dark-surface); */
  background: #F14A16;
  color: #fff;
  border-radius: 10px;
  padding: 14px 40px 14px 16px;
  box-shadow: 0 10px 30px -6px rgba(0, 0, 0, 0.4);
  font-size: 0.9rem;
  font-weight: 500;
}

#notification-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.notif-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  font-size: 1rem;
}

.notif-text {
  line-height: 1.4;
}

.notification-dismiss {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

@media (prefers-reduced-motion: no-preference) {
  .notification-rail {
    animation: notif-in 0.25s ease-out;
  }
}

@keyframes notif-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .notification-rail {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
}
