/* Self-hosted Montserrat (latin + cyrillic subsets, 400 + 700). No external requests,
   zero @import, no Google Fonts link. Keeps LCP low, removes privacy/DNS dependency
   on external font providers, and satisfies CSP font-src 'self'. */

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/montserrat-latin-400.woff2?v=e66bcd2761') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/montserrat-latin-700.woff2?v=f9d9e65b15') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/montserrat-latin-ext-400.woff2?v=54d9a78b7f') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/montserrat-latin-ext-700.woff2?v=54d9a78b7f') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/montserrat-cyrillic-400.woff2?v=b2e276e240') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/montserrat-cyrillic-700.woff2?v=c688074198') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --rose-light: #fbe7e5;
  --rose:       #e8b4b8;
  --rose-deep:  #9c5d67;
  --cream:      #fdf6ef;
  --gold:       #c19a6b;
  --gold-dark:  #a07d54;
  --gold-darker: #8B6914;  /* Canonical brand dark-gold — matches countdown-card.ts fill. */
  --ink:        #3a2b2f;
  --sage:       #8fa87f;
  --hairline:   #e6d7c2;
  --card-bg:    #ffffff;
  --on-gold:    #ffffff;
  --shadow-soft: 0 8px 24px rgba(58, 43, 47, 0.08);
  --radius:     14px;
  --radius-lg:  20px;
  --max-w:      1100px;
  --font-serif: 'Montserrat', 'Noto Sans Devanagari', Georgia, 'Times New Roman', serif; /* --font-serif: historical variable name; face is Montserrat (sans). Kept to avoid cascading renames. */
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans Devanagari', sans-serif;
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
}

/* Site header */
.site-header {
  padding: 16px 24px;
  border-bottom: 1px solid var(--hairline);
  background: color-mix(in srgb, var(--cream) 95%, transparent);
}

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

.brand-mark {
  display: inline-block;
  width: 28px;
  height: 28px;
  background-image: url('/favicon.svg?v=b96f7e8ca3');
  background-size: contain;
  background-repeat: no-repeat;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--gold-darker);
}

/* Hero section */
.hero {
  background:
    linear-gradient(180deg, rgba(253, 246, 239, 0.1) 0%, rgba(253, 246, 239, 0.85) 80%, var(--cream) 100%),
    url('/assets/landing-back.webp?v=8525a71baf') center/cover no-repeat;
  text-align: center;
}

.hero-inner {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 20px 48px;
}

@media (min-width: 640px) {
  .hero-inner {
    padding: 96px 24px 72px;
  }
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--gold-darker);
  margin-bottom: 16px;
  line-height: 1.25;
}

.hero-tagline {
  display: block;
  margin-top: 12px;
  font-family: var(--font-sans);
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 500;
  color: var(--rose-deep);
  letter-spacing: 0.005em;
  line-height: 1.4;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: var(--rose-deep);
  margin-bottom: 32px;
  font-weight: 500;
}

.cta-sub {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--ink);
  opacity: 0.7;
}

/* CTA button */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--rose-deep) 0%, var(--gold) 100%);
  color: var(--on-gold);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  min-height: 44px;
  transition: filter 0.15s ease, transform 0.1s ease;
}

.cta:hover {
  filter: brightness(1.05);
}

.cta:active {
  transform: translateY(1px);
}

.cta:focus-visible {
  outline: 3px solid var(--gold-dark);
  outline-offset: 3px;
}

.cta-secondary {
  background: linear-gradient(225deg, var(--rose-deep) 0%, var(--gold) 100%);
}

/* Tiers section */
.tiers {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 24px;
  border-top: 1px solid var(--hairline);
}

.tiers h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  text-align: center;
  color: var(--gold-darker);
  margin-bottom: 8px;
}

.tiers-sub {
  text-align: center;
  color: var(--ink);
  opacity: 0.75;
  margin-bottom: 36px;
  font-size: 1rem;
}

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

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

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

.tier {
  background: var(--card-bg);
  border: 1px solid var(--rose);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  position: relative;
}

.tier-free {
  border-left: 3px solid var(--sage);
}

.tier.recommended {
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--gold) 15%, transparent), var(--shadow-soft);
}

.tier-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--on-gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.tier-name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gold-darker);
  margin-bottom: 12px;
}

.tier-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-darker);
  margin-bottom: 12px;
}

.tier-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tier-bullets li {
  font-size: 0.875rem;
  color: var(--ink);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}

.tier-bullets li::before {
  content: "·";
  position: absolute;
  left: 4px;
  color: var(--gold);
  font-weight: 700;
}

.tier-anti {
  margin-top: 16px;
  font-size: 0.8125rem;
  color: var(--rose-deep);
  font-style: italic;
  border-top: 1px solid var(--hairline);
  padding-top: 12px;
}

/* Closing section */
.closing {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 24px;
  text-align: center;
  border-top: 1px solid var(--hairline);
}

.closing h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--gold-darker);
  margin-bottom: 16px;
}

.closing p {
  font-size: 1rem;
  color: var(--ink);
  opacity: 0.8;
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* Features section — 3-card product preview between hero and tiers */
.features {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 56px 24px;
  border-top: 1px solid var(--hairline);
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

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

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.feature-image-wrap {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--cream);
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.feature-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.feature-title {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--gold-darker);
  margin-bottom: 8px;
  line-height: 1.3;
}

.feature-body {
  font-size: 0.9375rem;
  color: var(--ink);
  opacity: 0.85;
  line-height: 1.55;
}

/* Screen-reader only utility (standard accessible clip pattern) */
.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;
}

/* Site footer */
.site-footer {
  background: color-mix(in srgb, var(--rose-light) 50%, var(--cream));
  border-top: 1px solid var(--hairline);
  text-align: center;
  padding: 32px 24px;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--ink);
  opacity: 0.75;
  margin-bottom: 8px;
}

.footer-meta {
  font-size: 0.8125rem;
  color: var(--ink);
  opacity: 0.6;
}

.footer-meta a {
  color: var(--rose-deep);
  text-decoration: none;
}

.footer-meta a:hover {
  text-decoration: underline;
}

.footer-meta a:focus-visible {
  outline: 3px solid var(--gold-dark);
  outline-offset: 2px;
  border-radius: 2px;
}
