:root {
  color-scheme: dark;
  --bg: #07100c;
  --surface: #0d1a14;
  --surface-raised: #12241b;
  --text: #f4f8f5;
  --muted: #a9b8af;
  --green: #3bd58a;
  --green-soft: #163d2b;
  --red: #f25263;
  --orange: #f0a34a;
  --border: rgba(210, 235, 220, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 8%, rgba(34, 112, 76, 0.22), transparent 28rem),
    radial-gradient(circle at 0 45%, rgba(91, 38, 46, 0.15), transparent 30rem),
    var(--bg);
  line-height: 1.65;
}

a {
  color: inherit;
}

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(59, 213, 138, 0.5);
  border-radius: 11px;
  color: #04100a;
  background: linear-gradient(145deg, #69edaa, #25b96e);
  box-shadow: 0 8px 24px rgba(59, 213, 138, 0.18);
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease;
}

nav a:hover,
nav a:focus-visible {
  color: var(--green);
}

.hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: 64px;
  padding: 72px 0 80px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(48px, 7vw, 84px);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

h1 span {
  color: var(--green);
}

.lead {
  max-width: 620px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.primary-link,
.contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 15px;
  color: #06110b;
  background: var(--green);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(59, 213, 138, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.primary-link:hover,
.primary-link:focus-visible,
.contact-link:hover,
.contact-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(59, 213, 138, 0.28);
}

.hero-art {
  position: relative;
  width: min(410px, 100%);
  aspect-ratio: 1;
  justify-self: center;
  display: grid;
  place-items: center;
}

.hero-core {
  position: relative;
  z-index: 2;
  width: 150px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 42px;
  color: #06110b;
  background: linear-gradient(145deg, #7af1b5, #28bd72);
  box-shadow: 0 32px 80px rgba(36, 194, 113, 0.28);
  transform: rotate(-8deg);
}

.hero-core::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(4, 40, 22, 0.25);
  border-radius: 34px;
}

.hero-core span {
  font-size: 72px;
  font-weight: 900;
  transform: rotate(8deg);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(110, 222, 163, 0.22);
  border-radius: 50%;
}

.orbit-one {
  inset: 28px;
}

.orbit-two {
  inset: 82px;
  border-color: rgba(242, 82, 99, 0.23);
}

.spark {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 24px rgba(242, 82, 99, 0.7);
}

.spark-one {
  top: 65px;
  right: 62px;
}

.spark-two {
  bottom: 68px;
  left: 72px;
  width: 9px;
  height: 9px;
  background: var(--green);
}

.spark-three {
  top: 150px;
  left: 20px;
  width: 7px;
  height: 7px;
  background: var(--orange);
}

.section {
  padding: 92px 0;
  border-top: 1px solid var(--border);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 38px;
}

.section-heading h2,
.contact-panel h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.section-heading > p {
  max-width: 450px;
  margin-bottom: 4px;
  color: var(--muted);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.app-card {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--border);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), transparent 48%),
    var(--surface);
  box-shadow: var(--shadow);
}

.app-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  top: -120px;
  right: -90px;
  border-radius: 50%;
  background: rgba(59, 213, 138, 0.1);
  filter: blur(3px);
}

.panchang-card::after {
  background: rgba(240, 163, 74, 0.12);
}

.app-icon {
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  margin-bottom: 36px;
  border-radius: 22px;
  font-size: 30px;
  font-weight: 900;
}

.target-icon {
  position: relative;
  border: 8px solid var(--red);
  background: #f4eee5;
  box-shadow: inset 0 0 0 9px #17231c, inset 0 0 0 16px var(--green);
}

.target-icon span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

.calendar-icon {
  color: #3d1904;
  background: linear-gradient(145deg, #ffc77f, #e68f31);
}

.app-type {
  margin-bottom: 6px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panchang-card .app-type {
  color: var(--orange);
}

.app-card h3 {
  margin-bottom: 12px;
  font-size: 31px;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.app-card > p:not(.app-type) {
  max-width: 500px;
  color: var(--muted);
}

.app-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 30px;
}

.app-features span {
  padding: 6px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: #c9d6ce;
  background: rgba(255, 255, 255, 0.025);
  font-size: 12px;
  font-weight: 650;
}

.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.card-link span {
  color: var(--green);
  font-size: 20px;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.principle-grid article {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.025);
}

.principle-number {
  display: block;
  margin-bottom: 42px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.principle-grid h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.principle-grid p,
.contact-panel p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin: 70px 0 24px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid rgba(59, 213, 138, 0.25);
  border-radius: 30px;
  background:
    radial-gradient(circle at 90% 0, rgba(59, 213, 138, 0.16), transparent 16rem),
    var(--surface-raised);
  box-shadow: var(--shadow);
}

.contact-panel p {
  margin-top: 12px;
}

.contact-link {
  flex: 0 0 auto;
}

.advertising-note {
  padding: 18px 0 74px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.advertising-note p {
  margin: 0;
}

.advertising-note a,
.policy a {
  color: var(--green);
  font-weight: 750;
}

footer {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 13px;
}

footer p {
  margin: 0;
}

.footer-brand {
  color: var(--text);
}

/* Privacy policy pages */
.policy {
  background:
    radial-gradient(circle at 80% 0, rgba(34, 112, 76, 0.18), transparent 26rem),
    var(--bg);
}

.policy .page {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 88px;
}

.policy .policy-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 56px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.policy .policy-home:hover {
  color: var(--green);
}

.policy h1 {
  margin-bottom: 14px;
  font-size: clamp(40px, 7vw, 64px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.policy .policy-app {
  margin-bottom: 8px;
  color: var(--green);
  font-weight: 800;
}

.policy .updated {
  margin-bottom: 44px;
  color: var(--muted);
  font-size: 13px;
}

.policy .policy-intro {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--surface);
  color: #d7e1db;
  font-size: 17px;
}

.policy h2 {
  margin: 42px 0 12px;
  font-size: 23px;
  letter-spacing: -0.025em;
}

.policy p,
.policy li {
  color: #bdcac2;
}

.policy ul {
  padding-left: 22px;
}

.policy li + li {
  margin-top: 6px;
}

.policy .contact-box {
  margin-top: 48px;
  padding: 24px;
  border: 1px solid rgba(59, 213, 138, 0.24);
  border-radius: 20px;
  background: var(--green-soft);
}

.policy .contact-box h2 {
  margin-top: 0;
}

.policy .contact-box p:last-child {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .site-header {
    min-height: 74px;
  }

  nav {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 70px 0;
  }

  .hero-art {
    width: min(300px, 86vw);
  }

  .hero-core {
    width: 118px;
    border-radius: 34px;
  }

  .hero-core::after {
    border-radius: 27px;
  }

  .hero-core span {
    font-size: 56px;
  }

  .section {
    padding: 68px 0;
  }

  .section-heading,
  .contact-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .app-grid,
  .principle-grid {
    grid-template-columns: 1fr;
  }

  .app-card {
    min-height: 390px;
  }

  .principle-grid article {
    min-height: auto;
  }

  .principle-number {
    margin-bottom: 28px;
  }

  .contact-link {
    width: 100%;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding: 24px 0;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
