/* ============================================================
   Ekadashi Calendar Alarm — landing
   Palette comes from the app screenshots: warm cream backgrounds,
   sage / teal buttons, peach & pink florals, soft gold accents.
   ============================================================ */

:root {
  --bg: #f4e9d4;
  --bg-soft: #fbf3e3;
  --bg-cream: #efe2c8;
  --ink: #2d2a24;
  --ink-soft: #5b554a;
  --muted: #8a8175;

  --sage: #7c9d9a;
  --sage-deep: #5e7f7c;
  --sage-soft: #b5cdca;

  --peach: #f0b89a;
  --peach-soft: #f7d3bc;
  --pink: #e9b8b3;
  --gold: #e6b365;
  --gold-soft: #f3d49a;

  --card: #fcf6e8;
  --card-border: rgba(45, 42, 36, 0.08);
  --shadow-sm: 0 2px 8px rgba(45, 42, 36, 0.06);
  --shadow-md: 0 10px 30px rgba(45, 42, 36, 0.08);
  --shadow-lg: 0 24px 60px rgba(45, 42, 36, 0.14);

  --radius: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  /* Smooth scroll is handled in script.js (reliable on iOS). */
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin: 0;
  color: var(--ink);
}

p {
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- background decoration ---------- */

.bg-decor {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  animation: float 18s ease-in-out infinite;
}

.blob-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--peach-soft), transparent 70%);
  top: -120px;
  left: -120px;
}

.blob-2 {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, var(--sage-soft), transparent 70%);
  bottom: -160px;
  right: -120px;
  animation-delay: -6s;
}

.blob-3 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, var(--gold-soft), transparent 70%);
  top: 40%;
  right: 25%;
  animation-delay: -12s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(30px, -20px) scale(1.05); }
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 32px;
  background: rgba(244, 233, 212, 0.78);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgba(45, 42, 36, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.brand-subtitle {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
}

.site-nav a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

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

.site-nav a:hover::after {
  transform: scaleX(1);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.btn small {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.75;
  margin-left: 2px;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 14px;
}

.btn-primary {
  background: var(--sage);
  color: #fff;
  box-shadow: 0 10px 24px rgba(94, 127, 124, 0.35);
}

.btn-primary:hover {
  background: var(--sage-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(94, 127, 124, 0.4);
}

.btn-secondary {
  background: var(--card);
  color: var(--ink);
  border-color: var(--card-border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 80px 32px 120px;
  max-width: var(--container);
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.06em;
  font-weight: 500;
  color: var(--ink-soft);
  background: rgba(252, 246, 232, 0.7);
  border: 1px solid var(--card-border);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(230, 179, 101, 0.2);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(230, 179, 101, 0.2); }
  50%      { box-shadow: 0 0 0 9px rgba(230, 179, 101, 0); }
}

.hero-title {
  font-size: clamp(48px, 7vw, 84px);
  line-height: 1.02;
  margin-bottom: 22px;
}

.title-line {
  display: block;
}

.title-line.accent {
  background: linear-gradient(120deg, var(--sage-deep), var(--gold) 60%, var(--peach));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 500;
}

.hero-lead {
  font-size: 18px;
  line-height: 1.6;
  max-width: 540px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-actions.center {
  justify-content: center;
}

.hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  list-style: none;
  padding: 0 40px 40px 20px;
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.hero-bullets .check {
  display: inline-block;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage-deep);
  font-weight: 700;
  margin-right: 8px;
  font-size: 12px;
}

/* ---------- hero visual (phones) ---------- */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 600px;
}

.phone {
  position: absolute;
  border-radius: 44px;
  overflow: hidden;
  background: #000;
  box-shadow:
    0 30px 60px rgba(45, 42, 36, 0.22),
    0 0 0 8px #1a1a1a,
    0 0 0 9px rgba(255, 255, 255, 0.08);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.phone img {
  width: 100%;
  height: auto;
  display: block;
}

.phone-back {
  width: 260px;
  transform: translate(-110px, -10px) rotate(-8deg);
  z-index: 1;
  animation: floatY 8s ease-in-out infinite;
}

.phone-front {
  width: 290px;
  transform: translate(80px, 20px) rotate(6deg);
  z-index: 2;
  animation: floatY 8s ease-in-out infinite;
  animation-delay: -4s;
}

@keyframes floatY {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -14px; }
}

.hero-visual:hover .phone-back  { transform: translate(-130px, -20px) rotate(-10deg); }
.hero-visual:hover .phone-front { transform: translate(100px, 10px) rotate(8deg); }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.7;
}

.orb-1 {
  width: 16px;
  height: 16px;
  background: var(--gold);
  top: 18%;
  right: 15%;
  animation: floatY 6s ease-in-out infinite;
}

.orb-2 {
  width: 10px;
  height: 10px;
  background: var(--peach);
  bottom: 18%;
  left: 12%;
  animation: floatY 7s ease-in-out infinite;
  animation-delay: -2s;
}

.orb-3 {
  width: 22px;
  height: 22px;
  background: var(--sage);
  top: 50%;
  right: 5%;
  opacity: 0.45;
  animation: floatY 9s ease-in-out infinite;
  animation-delay: -3s;
}

/* ---------- scroll cue ---------- */

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 1.5px solid var(--muted);
  border-radius: 14px;
  opacity: 0.6;
}

.scroll-cue span {
  display: block;
  width: 4px;
  height: 8px;
  background: var(--muted);
  border-radius: 2px;
  margin: 7px auto 0;
  animation: scrollCue 1.8s ease-in-out infinite;
}

@keyframes scrollCue {
  0%   { transform: translateY(0); opacity: 1; }
  60%  { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ---------- shared section ---------- */

.section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 100px 32px;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 14px;
  padding: 6px 12px;
  background: rgba(124, 157, 154, 0.12);
  border-radius: var(--radius-pill);
}

.section-head h2 {
  font-size: clamp(32px, 4.4vw, 50px);
  margin-bottom: 18px;
}

.section-head p {
  font-size: 17px;
  line-height: 1.65;
}

/* ---------- about ---------- */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.stat {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 600;
  line-height: 1;
  background: linear-gradient(135deg, var(--sage-deep), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-num sup {
  font-size: 24px;
  vertical-align: super;
  margin-left: 2px;
}

.stat-label {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

/* ---------- features ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 157, 154, 0.08), rgba(230, 179, 101, 0.06));
  opacity: 0;
  transition: opacity 0.35s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(124, 157, 154, 0.25);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card > * {
  position: relative;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--sage-soft), var(--sage));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 18px rgba(94, 127, 124, 0.25);
}

.feature-card:nth-child(2) .feature-icon {
  background: linear-gradient(135deg, var(--peach-soft), var(--peach));
  box-shadow: 0 8px 18px rgba(240, 184, 154, 0.35);
}

.feature-card:nth-child(3) .feature-icon {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 8px 18px rgba(230, 179, 101, 0.35);
}

.feature-card:nth-child(5) .feature-icon {
  background: linear-gradient(135deg, var(--pink), var(--peach));
}

.feature-card:nth-child(6) .feature-icon {
  background: linear-gradient(135deg, var(--sage), var(--sage-deep));
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- screens ---------- */

.screens-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.screen-item {
  margin: 0;
  text-align: center;
  transition: transform 0.4s ease;
}

.screen-item:hover {
  transform: translateY(-8px);
}

.screen-frame {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background: #000;
  box-shadow:
    var(--shadow-md),
    0 0 0 7px #1a1a1a,
    0 0 0 8px rgba(255, 255, 255, 0.06);
  margin-bottom: 18px;
  transition: box-shadow 0.4s ease;
}

.screen-item:hover .screen-frame {
  box-shadow:
    var(--shadow-lg),
    0 0 0 7px #1a1a1a,
    0 0 0 8px rgba(255, 255, 255, 0.06);
}

.screen-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.screen-item figcaption {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.screen-item figcaption strong {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
}

.screen-item figcaption span {
  font-size: 13px;
  color: var(--muted);
}

/* ---------- banner strip ---------- */

.banner-strip {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 32px;
}

.banner-inner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.banner-inner img {
  width: 100%;
  display: block;
}

/* ---------- languages ---------- */

.lang-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}

.lang-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lang-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.lang-flag {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--sage), var(--sage-deep));
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 8px 18px rgba(94, 127, 124, 0.25);
}

.lang-card:nth-child(2) .lang-flag { background: linear-gradient(135deg, var(--peach), var(--gold)); box-shadow: 0 8px 18px rgba(230, 179, 101, 0.3); }
.lang-card:nth-child(3) .lang-flag { background: linear-gradient(135deg, var(--gold), var(--peach)); }

.lang-card h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.lang-card p {
  font-size: 15px;
  color: var(--ink-soft);
  font-style: italic;
}

/* ---------- FAQ ---------- */

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 18px 24px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-item[open] {
  background: #fff;
}

.faq-item summary {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

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

.faq-item summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 300;
  color: var(--sage-deep);
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-panel {
  overflow: hidden;
  height: 0;
  opacity: 0;
}

.faq-panel p {
  margin: 0;
  padding-top: 12px;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ---------- CTA ---------- */

.cta {
  max-width: var(--container);
}

.cta-inner {
  background:
    radial-gradient(circle at 20% 20%, rgba(230, 179, 101, 0.2), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(124, 157, 154, 0.25), transparent 55%),
    var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 72px 40px;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.cta-icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-md);
}

.cta-inner h2 {
  font-size: clamp(32px, 4.4vw, 48px);
  margin-bottom: 12px;
}

.cta-inner > p {
  font-size: 18px;
  margin-bottom: 32px;
}

/* ---------- footer ---------- */

.site-footer {
  padding: 60px 32px 40px;
  background: rgba(252, 246, 232, 0.6);
  border-top: 1px solid var(--card-border);
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.footer-brand img {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.footer-note {
  font-size: 13px;
  color: var(--muted);
  max-width: 720px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 22px;
  border-top: 1px solid var(--card-border);
  font-size: 13px;
  color: var(--muted);
}

/* ---------- responsive ---------- */

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

  .hero {
    padding: 40px 24px 80px;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-bullets { justify-content: flex-start; }
  .hero-visual { min-height: 540px; }

  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .screens-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr; }
  .lang-cards { grid-template-columns: 1fr; }
  .scroll-cue { display: none; }

  .section { padding: 70px 24px; }
}

@media (max-width: 600px) {
  .site-header { padding: 12px 20px; gap: 12px; }
  .brand-subtitle { display: none; }

  .hero { padding: 24px 20px 60px; }
  .hero-title { font-size: 44px; }
  .hero-lead  { font-size: 16px; }
  .hero-visual { min-height: 460px; }
  .phone-back  { width: 200px; transform: translate(-70px, -10px) rotate(-8deg); }
  .phone-front { width: 230px; transform: translate(60px, 20px) rotate(6deg); }

  .feature-grid { grid-template-columns: 1fr; }
  .screens-grid { grid-template-columns: 1fr; }

  .cta-inner { padding: 48px 24px; }
  .stat-num { font-size: 52px; }
}

/* ---------- legal / support pages ---------- */

.site-nav a.active {
  color: var(--ink);
}

.site-nav a.active::after {
  transform: scaleX(1);
}

.legal-main {
  max-width: 880px;
  margin: 0 auto;
  padding: 60px 32px 40px;
}

.legal-wrap {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 56px 56px 48px;
  box-shadow: var(--shadow-md);
}

.legal-wrap .kicker {
  margin-bottom: 16px;
}

.legal-title {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 12px;
}

.legal-meta {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.legal-lead {
  font-size: 18px;
  line-height: 1.65;
  margin-bottom: 36px;
}

.legal-section {
  margin-top: 36px;
}

.legal-section h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.legal-section p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.legal-section ul {
  margin: 8px 0 16px;
  padding-left: 22px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}

.legal-section li {
  margin-bottom: 8px;
}

.legal-section a {
  color: var(--sage-deep);
  text-decoration: underline;
  text-decoration-color: rgba(94, 127, 124, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.legal-section a:hover {
  text-decoration-color: var(--sage-deep);
}

.legal-section.disclaimer {
  margin-top: 48px;
  padding: 24px 28px;
  background: rgba(230, 179, 101, 0.1);
  border: 1px solid rgba(230, 179, 101, 0.25);
  border-radius: var(--radius);
}

.legal-section.disclaimer h2 {
  font-size: 20px;
}

.legal-section.disclaimer p {
  margin-bottom: 0;
}

/* contact card on support page */

.contact-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: 8px;
  padding: 24px 28px;
  background: linear-gradient(135deg, rgba(124, 157, 154, 0.12), rgba(230, 179, 101, 0.1));
  border: 1px solid rgba(124, 157, 154, 0.22);
  border-radius: var(--radius);
}

.contact-icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--sage), var(--sage-deep));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 18px rgba(94, 127, 124, 0.25);
}

.contact-body {
  flex: 1;
  min-width: 0;
}

.contact-body h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 6px;
}

.contact-body p {
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.contact-body p + p {
  margin-top: 8px;
}

.contact-email {
  font-weight: 600;
  color: var(--sage-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-hint {
  color: var(--muted);
  font-size: 14px;
}

/* legal pages reuse .faq-item from index, no overrides needed */

/* footer-links row (shared between landing, support, privacy) */

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-bottom: 22px;
  font-size: 14px;
  color: var(--ink-soft);
}

.footer-links a {
  position: relative;
  transition: color 0.2s ease;
}

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

.footer-bottom a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* responsive — legal pages */

@media (max-width: 720px) {
  .legal-main { padding: 32px 20px; }
  .legal-wrap { padding: 32px 24px; }
  .contact-card { padding: 20px; flex-direction: column; }
}

/* ---------- reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Web Calendar Widget ---------- */

.calendar-widget-section {
    background-color: var(--bg-soft);
}

.calendar-widget-wrapper {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    background-color: var(--card);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
    align-items: start;
}

.desktop-calendar-card {
    display: flex;
    flex-direction: column;
}

.desktop-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.cal-nav-btn {
    background: transparent;
    border: 1px solid var(--card-border);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    transition: all 0.25s ease;
}

.cal-nav-btn:hover {
    background-color: var(--sage-soft);
    border-color: var(--sage);
    color: var(--sage-deep);
}

.current-month-display {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--ink);
}

.desktop-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--peach);
    border-bottom: 1px solid var(--card-border);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.desktop-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    flex: 1;
}

.desktop-day {
    aspect-ratio: 1.1;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    background-color: rgba(251, 249, 244, 0.3);
    padding: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
    position: relative;
}

.desktop-day:hover:not(.empty-day) {
    background-color: var(--sage-soft);
    border-color: var(--sage);
    transform: translateY(-2px);
}

.desktop-day.empty-day {
    background: transparent;
    border: none;
    cursor: default;
}

.day-number {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
}

.day-indicators {
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: flex-end;
}

.indicator-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

/* Highlight states for web calendar days */
.desktop-day.has-ekadashi {
    background-color: var(--bg-soft);
    border: 1px solid var(--peach);
}

.desktop-day.has-ekadashi .day-number {
    color: var(--ink);
}

.desktop-day.has-ekadashi::after {
    content: "Ekadashi";
    font-size: 0.65rem;
    color: var(--sage-deep);
    font-weight: 700;
    position: absolute;
    bottom: 8px;
    left: 8px;
}

.desktop-day.has-full-moon::before {
    content: "🌕";
    font-size: 0.8rem;
    position: absolute;
    top: 6px;
    right: 6px;
}

.desktop-day.has-new-moon::before {
    content: "🌑";
    font-size: 0.8rem;
    position: absolute;
    top: 6px;
    right: 6px;
}

.desktop-day.selected-desktop-day {
    box-shadow: 0 0 0 3px var(--sage);
    background-color: var(--sage-soft);
}

.desktop-day.is-today {
    border: 2px solid var(--sage);
}

.desktop-day.is-today .day-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--sage);
    color: #fff !important;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    margin-top: -2px;
    margin-left: -2px;
}


/* Web Calendar Details Side Panel */
.desktop-calendar-details {
    border-left: 1px solid var(--card-border);
    padding-left: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.details-content-state {
    transition: opacity 0.3s ease;
}

.details-badge {
    display: inline-block;
    padding: 4px 12px;
    background-color: var(--peach-soft);
    color: #C07043;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 12px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.details-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--ink);
    margin-bottom: 6px;
}

.details-date {
    font-size: 0.95rem;
    color: var(--ink-soft);
    font-weight: 600;
    display: block;
    margin-bottom: 20px;
}

.details-desc {
    font-size: 0.95rem;
    color: var(--ink);
    line-height: 1.6;
    margin-bottom: 24px;
}

.details-parana-box {
    background-color: var(--bg-soft);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 20px;
}

.parana-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--sage);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.parana-title i {
    width: 18px;
    height: 18px;
}

.parana-time {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
}

.parana-notice {
    font-size: 0.75rem;
    color: var(--ink-soft);
    line-height: 1.4;
}

.desktop-legend {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 30px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

.legend-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 6px;
}

.legend-circle.fasting-circle {
    background-color: var(--bg-soft);
    border: 1px solid var(--peach);
}

/* Responsive Web Calendar Layout */
@media (max-width: 991px) {
    .calendar-widget-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }
    
    .desktop-calendar-details {
        border-left: none;
        border-top: 1px solid var(--card-border);
        padding-left: 0;
        padding-top: 30px;
    }
}

@media (max-width: 768px) {
    .desktop-weekdays {
        font-size: 0.75rem;
        padding-bottom: 8px;
        margin-bottom: 12px;
    }
    .desktop-days-grid {
        gap: 4px;
    }
    .desktop-day {
        aspect-ratio: 1;
        padding: 4px;
        border-radius: 8px;
    }
    .day-number {
        font-size: 0.75rem;
    }
    .desktop-day.has-full-moon::before,
    .desktop-day.has-new-moon::before {
        font-size: 0.55rem;
        top: 2px;
        right: 2px;
    }
    .desktop-day.selected-desktop-day {
        box-shadow: 0 0 0 2px var(--sage);
    }
    .desktop-day.is-today .day-number {
        width: 18px;
        height: 18px;
        font-size: 0.7rem;
        margin-top: 0px;
        margin-left: 0px;
    }
    .desktop-day.has-ekadashi::after {
        content: "";
        width: 4px;
        height: 4px;
        background-color: var(--sage-deep);
        border-radius: 50%;
        position: absolute;
        bottom: 4px;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 575px) {
    .calendar-widget-wrapper {
        padding: 20px 15px;
        border-radius: var(--radius);
    }
    
    .details-title {
        font-size: 1.5rem;
    }
    
    .desktop-legend {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-left: 10px;
    }
}

