:root {
  --marigold: #f2700f;
  --marigold-soft: #fff0e0;
  --ink: #17123f;
  --ink-soft: #4a4670;
  --rani: #d6136e;
  --white: #ffffff;
  --line: #e4e2ee;
  --sans: "Anek Latin", "Anek Devanagari", "Anek Gujarati", "Anek Bangla", "Anek Tamil",
    "Anek Telugu", "Anek Kannada", "Anek Malayalam", system-ui, sans-serif;
  --gutter: clamp(16px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.55;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--rani); outline-offset: 3px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
}
.brand img { width: 40px; height: 40px; border-radius: 10px; }

.button {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}
.button:hover { background: #2b2566; }

/* Landing: hero */
.hero {
  background: var(--marigold);
  padding: 20px var(--gutter) clamp(40px, 7vw, 88px);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  max-width: 1240px;
  margin: clamp(28px, 5vw, 64px) auto 0;
}
.hero-top { max-width: 1240px; margin: 0 auto; }
.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 7.2vw, 6.25rem);
  font-stretch: 85%;
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.01em;
}
.hero p {
  max-width: 34em;
  margin: 24px 0 30px;
  font-size: clamp(1.125rem, 1.7vw, 1.375rem);
  line-height: 1.4;
}

.fan { position: relative; aspect-ratio: 1 / 0.86; }
.poster {
  position: absolute;
  width: 60%;
  margin: 0;
  background: var(--ink);
  box-shadow: 0 18px 40px rgba(23, 18, 63, 0.35);
  animation: deal 700ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.poster img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.poster figcaption {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  color: var(--white);
  font-size: clamp(0.6875rem, 1.1vw, 0.9375rem);
  font-weight: 600;
  line-height: 1.2;
}
.poster:nth-child(1) { left: 0; top: 8%; --turn: -7deg; transform: rotate(var(--turn)); animation-delay: 200ms; }
.poster:nth-child(2) { right: 0; top: 6%; --turn: 6deg; transform: rotate(var(--turn)); animation-delay: 100ms; }
.poster:nth-child(3) { left: 20%; top: 0; --turn: 0deg; transform: rotate(var(--turn)); z-index: 1; }
.poster:nth-child(2) figcaption span:first-child { visibility: hidden; }
@keyframes deal {
  from { transform: translateY(24px) rotate(0deg); opacity: 0; }
  to { transform: rotate(var(--turn)); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .poster { animation: none; }
}

/* Landing: nine-language wall */
.wall {
  background: var(--ink);
  color: var(--white);
  padding: clamp(48px, 8vw, 104px) var(--gutter);
}
.wall > * { max-width: 1240px; margin-inline: auto; }
.wall h2 {
  margin-block: 0 clamp(24px, 4vw, 44px);
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 500;
}
.greetings {
  margin-block: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.1em 0.5em;
  font-size: clamp(2.5rem, 7.6vw, 6.5rem);
  font-weight: 700;
  line-height: 1.22;
}
.greetings li:nth-child(odd) { color: #ff9a4d; }

/* Landing: content sections */
.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: clamp(48px, 7vw, 96px) var(--gutter);
}
.section h2 {
  max-width: 18em;
  margin: 0 0 clamp(24px, 3vw, 40px);
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  font-stretch: 85%;
  font-weight: 800;
  line-height: 1.05;
}
.strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.strip img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.daily-note { max-width: 40em; margin: 24px 0 0; color: var(--ink-soft); }

.tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(32px, 6vw, 96px);
  margin: 0;
}
.tools div { padding: 18px 0; border-top: 2px solid var(--ink); }
.tools dt { font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.tools dd { margin: 4px 0 0; color: var(--ink-soft); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 48px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: block;
  color: var(--rani);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
}
.steps strong { display: block; margin-top: 8px; font-size: 1.375rem; line-height: 1.2; }

.premium { background: var(--marigold-soft); }
.premium .section { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.premium h2 { margin-bottom: 12px; }
.premium p { max-width: 36em; margin: 0; }

/* Shared footer */
.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 40px var(--gutter);
  font-size: 1rem;
}
.site-footer > div { max-width: 1240px; margin: 0 auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer a { display: inline-block; padding: 4px 0; }
.site-footer p { margin: 16px 0 0; color: #c9c6e0; }

/* Legal and support pages */
.page-head { background: var(--marigold); padding: 20px var(--gutter) 36px; }
.page-head > * { display: block; max-width: 44rem; margin-inline: auto; }
.page-head .brand { display: flex; }
.page-head h1 {
  margin-top: 32px;
  margin-bottom: 0;
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-stretch: 85%;
  font-weight: 800;
  line-height: 1;
}
.page-head p { margin-top: 12px; margin-bottom: 0; }
.prose { max-width: 44rem; margin: 0 auto; padding: 36px var(--gutter) 72px; box-sizing: content-box; }
.prose h2 { margin: 2em 0 0.4em; font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.prose h2:first-child { margin-top: 0; }
.prose li { margin-bottom: 0.4em; }
.prose a { color: #b00f5a; font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.prose th, .prose td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.fill { background: #ffe14d; padding: 0 4px; font-weight: 600; }

@media (max-width: 800px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .strip img:nth-child(n + 4) { display: none; }
  .tools, .steps { grid-template-columns: minmax(0, 1fr); }
  .prose { box-sizing: border-box; }
}
