/* ==========================================================================
   Notify Me — landing page styles
   Pure CSS, no external requests. Light/dark via prefers-color-scheme +
   manual [data-theme] override on <html>.
   ========================================================================== */

:root {
  /* Brand */
  --indigo: #6366f1;
  --violet: #8b5cf6;
  --pink: #f472b6;
  --grad: linear-gradient(120deg, #6366f1, #8b5cf6);

  /* Light theme (default) */
  --bg: #ffffff;
  --bg-alt: #f6f7fb;
  --surface: #ffffff;
  --surface-2: #fbfbfe;
  --text: #15151f;
  --muted: #5a5b6e;
  --faint: #8b8ca0;
  --border: #e8e8f1;
  --border-strong: #d9dae8;
  --shadow-sm: 0 1px 2px rgba(20, 20, 45, 0.05), 0 4px 14px rgba(20, 20, 45, 0.05);
  --shadow-md: 0 8px 30px rgba(20, 20, 45, 0.1);
  --shadow-lg: 0 24px 60px rgba(60, 50, 130, 0.18);
  --ring: rgba(99, 102, 241, 0.45);
  --chip-bg: #f1f1fa;
  --glow:
    radial-gradient(60% 55% at 70% 12%, rgba(139, 92, 246, 0.22), transparent 70%),
    radial-gradient(50% 45% at 12% 0%, rgba(99, 102, 241, 0.18), transparent 70%);
  --yes: #0e9f6e;
  --no: #c2497a;
  --color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #0b0b14;
    --bg-alt: #10101d;
    --surface: #16162a;
    --surface-2: #1b1b30;
    --text: #f2f2f8;
    --muted: #b3b4ca;
    --faint: #7d7e98;
    --border: #262640;
    --border-strong: #34345a;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 34px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.55);
    --ring: rgba(139, 92, 246, 0.6);
    --chip-bg: #20203a;
    --glow:
      radial-gradient(60% 55% at 72% 8%, rgba(139, 92, 246, 0.3), transparent 70%),
      radial-gradient(50% 45% at 10% 0%, rgba(99, 102, 241, 0.25), transparent 70%);
    --yes: #34d399;
    --no: #f472b6;
    --color-scheme: dark;
  }
}

:root[data-theme='dark'] {
  --bg: #0b0b14;
  --bg-alt: #10101d;
  --surface: #16162a;
  --surface-2: #1b1b30;
  --text: #f2f2f8;
  --muted: #b3b4ca;
  --faint: #7d7e98;
  --border: #262640;
  --border-strong: #34345a;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 34px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 30px 70px rgba(0, 0, 0, 0.55);
  --ring: rgba(139, 92, 246, 0.6);
  --chip-bg: #20203a;
  --glow:
    radial-gradient(60% 55% at 72% 8%, rgba(139, 92, 246, 0.3), transparent 70%),
    radial-gradient(50% 45% at 10% 0%, rgba(99, 102, 241, 0.25), transparent 70%);
  --yes: #34d399;
  --no: #f472b6;
  --color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: var(--color-scheme);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family:
    ui-sans-serif,
    system-ui,
    -apple-system,
    'Segoe UI',
    Roboto,
    Helvetica,
    Arial,
    sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  font-weight: 700;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
}

/* SVG icons inherit color via stroke by default */
.section svg[fill='none'],
.steps svg,
.card svg,
.mock svg[viewBox='0 0 24 24'] {
  stroke: currentColor;
  stroke-width: 1.7;
}

::selection {
  background: rgba(139, 92, 246, 0.28);
}

/* ----------------------------------------------------------- Accessibility */
:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
  border-radius: 6px;
}

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--surface);
  color: var(--text);
  padding: 10px 16px;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  transition: top 0.18s ease;
}
.skip-link:focus {
  top: 12px;
}

/* ----------------------------------------------------------------- Layout */
.container {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}
.container-narrow {
  width: min(760px, 100% - 40px);
}

.section {
  padding: 92px 0;
}
.section-alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 52px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.7rem, 1rem + 2.6vw, 2.6rem);
  margin-top: 10px;
}
.kicker {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--violet);
}
.sub {
  color: var(--muted);
  margin-top: 14px;
  font-size: 1.06rem;
}

/* ----------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 22px;
  border-radius: 13px;
  border: 1px solid transparent;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
  white-space: nowrap;
}
.btn-sm {
  padding: 9px 16px;
  font-size: 0.92rem;
  border-radius: 11px;
}
.btn-primary {
  background-image: var(--grad);
  color: #fff;
  box-shadow: 0 8px 22px rgba(99, 102, 241, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(99, 102, 241, 0.45);
}
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--violet);
}
.btn .i-chrome circle,
.btn .i-chrome path {
  stroke: currentColor;
  stroke-width: 1.8;
}

/* ----------------------------------------------------------------- Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 66px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.brand-mark {
  display: inline-flex;
  filter: drop-shadow(0 4px 10px rgba(99, 102, 241, 0.35));
}
.brand-name {
  font-size: 1.12rem;
}
.nav-links {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 9px;
  transition:
    color 0.15s ease,
    background 0.15s ease;
}
.nav-links a:hover {
  color: var(--text);
  background: var(--chip-bg);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 6px;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.15s ease,
    transform 0.15s ease;
}
.icon-btn:hover {
  border-color: var(--violet);
  transform: translateY(-1px);
}
.icon-btn svg {
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}
.icon-btn .i-sun {
  display: none;
}
.icon-btn .i-moon {
  display: block;
}
:root[data-theme='dark'] .icon-btn .i-sun {
  display: block;
}
:root[data-theme='dark'] .icon-btn .i-moon {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .icon-btn .i-sun {
    display: block;
  }
  :root:not([data-theme]) .icon-btn .i-moon {
    display: none;
  }
}

/* ----------------------------------------------------------------- Hero */
.hero {
  position: relative;
  padding: 84px 0 72px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: 0;
  background: var(--glow);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 13px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 4px rgba(244, 114, 182, 0.2);
}
.hero-copy h1 {
  font-size: clamp(2.2rem, 1.2rem + 3.8vw, 3.75rem);
  margin: 22px 0 0;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  color: var(--muted);
  font-size: 1.15rem;
  margin-top: 20px;
  max-width: 540px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.hero-cta.center {
  justify-content: center;
}
.trust {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 0.92rem;
  color: var(--faint);
}
.trust .i-lock {
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
}

/* Hero mock */
.hero-visual {
  display: flex;
  justify-content: center;
}
.mock {
  width: min(420px, 100%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(0.4deg);
}
.mock-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}
.mock-mark {
  display: inline-flex;
}
.mock-title {
  font-weight: 700;
  font-size: 0.98rem;
}
.mock-live {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--yes);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.mock-live::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yes);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18);
  animation: pulse 2s ease-in-out infinite;
}
.mock-body {
  padding: 18px;
}
.mock-url {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--muted);
  background: var(--chip-bg);
  padding: 7px 11px;
  border-radius: 9px;
}
.mock-url svg {
  stroke: currentColor;
}
.mock-label {
  display: block;
  margin: 16px 0 7px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--faint);
}
.mock-input {
  background: var(--surface-2);
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  padding: 13px 15px;
  font-size: 1.02rem;
  color: var(--text);
}
.caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  vertical-align: -0.18em;
  background: var(--violet);
  margin-left: 1px;
  animation: blink 1.1s steps(1) infinite;
}
.mock-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.chip {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--chip-bg);
  color: var(--muted);
}
.chip-on {
  background: var(--grad);
  color: #fff;
}
.mock-toast {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 18px;
  padding: 14px;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.toast-ic {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--grad);
  color: #fff;
  flex: none;
}
.toast-ic svg {
  fill: currentColor;
  stroke: none;
}
.toast-txt {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}
.toast-txt strong {
  color: var(--text);
}

@keyframes pulse {
  50% {
    opacity: 0.45;
  }
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .caret,
  .mock-live::before {
    animation: none;
  }
}

/* ----------------------------------------------------------------- Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}
.step-n {
  position: absolute;
  top: 20px;
  right: 22px;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.45;
}
.step-ic,
.card-ic {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.14), rgba(139, 92, 246, 0.14));
  color: var(--violet);
  margin-bottom: 16px;
}
.step h3,
.card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.step p,
.card p {
  color: var(--muted);
  font-size: 0.98rem;
}

/* ----------------------------------------------------------------- Features grid */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.18s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

/* ----------------------------------------------------------------- Compare */
.compare {
  max-width: 860px;
  margin-inline: auto;
}
.cmp {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.cmp th,
.cmp td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.98rem;
}
.cmp thead th {
  font-size: 1rem;
  font-weight: 700;
  background: var(--surface-2);
  vertical-align: middle;
}
.cmp tbody th {
  font-weight: 600;
  color: var(--muted);
}
.cmp tr:last-child th,
.cmp tbody tr:last-child td,
.cmp tbody tr:last-child th {
  border-bottom: none;
}
.cmp-us {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.06), rgba(139, 92, 246, 0.06));
}
.cmp thead .cmp-us {
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.14), rgba(139, 92, 246, 0.1));
}
.cmp-logo {
  display: inline-flex;
  vertical-align: -5px;
  margin-right: 7px;
}
.yes,
.no,
.meh {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
}
.yes {
  color: var(--yes);
}
.no {
  color: var(--no);
}
.meh {
  color: var(--faint);
}
.yes::before,
.no::before,
.meh::before {
  font-weight: 700;
  font-size: 1.05em;
}
.yes::before {
  content: '✓';
}
.no::before {
  content: '✕';
}
.meh::before {
  content: '–';
}

/* ----------------------------------------------------------------- Privacy band */
.privacy {
  display: flex;
  gap: 28px;
  align-items: center;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 38px 40px;
}
.privacy-ic {
  flex: none;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: var(--grad);
  color: #fff;
}
.privacy-ic svg {
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
}
.privacy-copy h2 {
  font-size: 1.7rem;
}
.privacy-copy p {
  color: var(--muted);
  margin-top: 10px;
  max-width: 64ch;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-weight: 600;
  color: var(--violet);
}
.link-arrow svg {
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 0.15s ease;
}
.link-arrow:hover svg {
  transform: translateX(3px);
}

/* ----------------------------------------------------------------- FAQ */
.faq {
  display: grid;
  gap: 12px;
}
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 4px 20px;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '';
  flex: none;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--faint);
  border-bottom: 2px solid var(--faint);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(-135deg);
}
.faq details p {
  color: var(--muted);
  padding: 0 0 18px;
  margin: 0;
  max-width: 68ch;
}

/* ----------------------------------------------------------------- CTA band */
.cta-band {
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.8rem, 1rem + 3vw, 2.7rem);
}
.cta-band .sub {
  margin-bottom: 28px;
}

/* ----------------------------------------------------------------- Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 52px 0 32px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.footer-tag {
  color: var(--muted);
  margin-top: 12px;
  font-size: 0.95rem;
  max-width: 30ch;
}
.footer-links {
  display: grid;
  gap: 10px;
  align-content: start;
}
.footer-links a {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.15s ease;
}
.footer-links a:hover {
  color: var(--text);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--faint);
  font-size: 0.9rem;
}
.footer-bottom p {
  margin: 0;
}

/* ----------------------------------------------------------------- Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.no-js .reveal,
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ----------------------------------------------------------------- Responsive */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    text-align: center;
  }
  .hero-copy .lede {
    margin-inline: auto;
  }
  .hero-cta {
    justify-content: center;
  }
  .eyebrow {
    margin-inline: auto;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 68px 0;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .privacy {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }
  .privacy-copy p {
    margin-inline: auto;
  }
  .link-arrow {
    justify-content: center;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 16px;
  }
  .grid {
    grid-template-columns: 1fr;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .nav-actions .btn-sm {
    width: auto;
  }
  .cmp th,
  .cmp td {
    padding: 13px 12px;
    font-size: 0.9rem;
  }
}
