/* Ojas.me marketing site — static mirror of the Flutter web marketing pages. */

:root {
  --violet: #461353;
  --amber: #ffc233;
  --mind: #85ceff;
  --energy: #f58ea6;
  --paper: #fffbf6;
  --white: #ffffff;
  --line: #ece6ef;
  --muted: #6a778b;
  --ink: #333333;
  --max: 1180px;
  --nav-h: 70px;
  --app-url: "https://app.ojas.me";
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

/* ---------------------------------------------------------- Nav bar --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 251, 246, 0.88);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  height: var(--nav-h);
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav__logo img {
  height: 40px;
  width: auto;
}

.nav__logo-fallback {
  font-weight: 700;
  font-size: 26px;
  color: var(--violet);
}

.nav__spacer {
  flex: 1;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.18s ease;
}

.nav__link:hover {
  color: var(--violet);
}

.nav__link.is-active {
  font-weight: 600;
  color: var(--violet);
}

.btn-login {
  padding: 10px 26px;
  border-radius: 8px;
  background: var(--violet);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.btn-login:hover {
  transform: translateY(-1px);
  opacity: 0.9;
}

.nav__menu-btn {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--violet);
  padding: 8px;
  margin-left: -8px;
}

.nav__menu-btn svg {
  width: 26px;
  height: 26px;
}

/* Mobile drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 60;
}

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 280px;
  max-width: 82vw;
  background: var(--paper);
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  z-index: 70;
  padding: 20px 0;
}

.drawer.is-open {
  transform: translateX(0);
}

.drawer.is-open + .drawer-backdrop,
.drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer__logo {
  padding: 0 24px 12px;
}

.drawer__logo img {
  height: 44px;
}

.drawer hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0 0 8px;
}

.drawer a {
  display: block;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
}

.drawer a.is-active {
  font-weight: 600;
  color: var(--violet);
}

/* ------------------------------------------------------ Shared bits --- */
.section {
  position: relative;
  overflow: hidden;
}

.section--white {
  background: var(--white);
}

.section--paper {
  background: var(--paper);
}

.section--bordered {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(4px);
  z-index: 0;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
}

.chip {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 8px;
  background: var(--violet);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.chip--soft {
  background: rgba(255, 194, 51, 0.13);
  color: var(--violet);
  padding: 6px 14px;
  border-radius: 7px;
  font-size: 12px;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.text-amber {
  color: var(--amber);
}

.text-violet {
  color: var(--violet);
}

.lead {
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
}

.muted {
  color: var(--muted);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-block;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 0;
  transition: transform 0.18s ease, opacity 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn-outline {
  padding: 14px 30px;
  background: transparent;
  color: var(--violet);
  border: 1.5px solid var(--violet);
}

.btn-outline:hover {
  background: var(--violet);
  color: #fff;
}

.btn-filled {
  padding: 14px 30px;
  background: var(--violet);
  color: #fff;
  border: 1.5px solid var(--violet);
}

.btn-amber {
  padding: 14px 34px;
  background: var(--amber);
  color: var(--violet);
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(255, 194, 51, 0.38);
}

.btn-amber:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

/* -------------------------------------------------------------- Hero --- */
.hero {
  position: relative;
  overflow: hidden;
}

.hero .container {
  padding-top: 80px;
  padding-bottom: 100px;
}

.hero h1 {
  font-size: 50px;
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: var(--violet);
  margin: 28px 0 22px;
}

.hero p {
  max-width: 520px;
  margin: 0 0 36px;
}

.hero-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-phone {
  position: relative;
  border-radius: 20px;
  border: 10px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 40px 80px rgba(70, 19, 83, 0.28), 0 8px 24px rgba(70, 19, 83, 0.12);
  overflow: hidden;
  max-width: 440px;
}

.hero-phone img {
  border-radius: 10px;
}

.dots {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #d7d7d7;
}

.dot.is-active {
  width: 24px;
  background: var(--amber);
}

/* --------------------------------------------------------- App block --- */
.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  border-radius: 10px;
  background: #000;
  color: #fff;
}

.app-badge svg {
  width: 26px;
  height: 26px;
}

.app-badge small {
  display: block;
  font-size: 9.5px;
  opacity: 0.8;
  line-height: 1.1;
}

.app-badge strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.1;
}

.phone-shadow {
  max-width: 300px;
  margin: 0 auto;
  box-shadow: 0 24px 60px rgba(70, 19, 83, 0.18);
}

/* ------------------------------------------------------- Book block --- */
.book-head {
  text-align: center;
  margin-bottom: 60px;
}

.book-head h2 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.1;
  color: var(--violet);
  margin: 12px 0 0;
}

.book-head .subtitle {
  display: block;
  font-size: 34px;
  font-weight: 700;
  color: var(--ink);
}

.book-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: start;
}

.pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pillar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 2px 12px rgba(70, 19, 83, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pillar:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(70, 19, 83, 0.13);
}

.pillar .tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}

.pillar p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
}

.book-cover-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.book-cover {
  position: relative;
  max-width: 260px;
}

.book-cover img {
  border-radius: 14px;
  box-shadow: -8px 8px 24px rgba(70, 19, 83, 0.1), 0 40px 70px rgba(70, 19, 83, 0.3);
}

/* -------------------------------------------------- Newsletter block --- */
.newsletter {
  background: var(--violet);
  border-radius: 28px;
  padding: 60px 64px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.newsletter h2 {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
}

.newsletter p {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.newsletter-form {
  display: flex;
  gap: 6px;
  background: #fff;
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.newsletter-form input {
  flex: 1;
  border: 0;
  outline: none;
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink);
  background: transparent;
}

.newsletter-form button {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 10px;
  background: var(--violet);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.newsletter-form button svg {
  width: 20px;
  height: 20px;
}

/* ------------------------------------------------------------ Footer --- */
.footer {
  background: var(--white);
  border-top: 1px solid var(--line);
}

.footer .container {
  padding-top: 64px;
  padding-bottom: 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 44px;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 300px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--violet);
  margin: 0 0 18px;
}

.footer-col a,
.footer-col span {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}

.footer-col a:hover {
  color: var(--violet);
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}

.footer-bottom__links {
  display: flex;
  gap: 24px;
}

.footer-bottom__links a {
  text-decoration: underline;
}

/* ------------------------------------------------------- About page --- */
.realm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.realm-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 2px 12px rgba(70, 19, 83, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.realm-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(70, 19, 83, 0.13);
}

.realm-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.realm-icon svg {
  width: 26px;
  height: 26px;
}

.realm-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--violet);
  margin: 0 0 10px;
}

.realm-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

.center-head {
  text-align: center;
}

.center-head h2 {
  font-size: 40px;
  font-weight: 800;
  color: var(--violet);
  margin: 12px 0 16px;
}

.center-head .sub {
  max-width: 680px;
  margin: 0 auto;
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}

.wellbeing-card {
  background: #fff9ec;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(70, 19, 83, 0.06);
}

.wellbeing-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--violet);
  margin: 0 0 14px;
}

.benefit {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.6;
}

.benefit .bullet {
  margin-top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 56px;
  margin-top: 36px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(70, 19, 83, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 260px;
  margin: 0 auto;
  width: 100%;
}

.team-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(70, 19, 83, 0.12);
}

.team-card__photo {
  aspect-ratio: 1;
  background: #f6f6f6;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.team-card__name {
  padding: 14px 16px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--violet);
}

.cta-card {
  background: var(--violet);
  border-radius: 20px;
  padding: 56px 64px;
  text-align: center;
  box-shadow: 0 16px 48px rgba(70, 19, 83, 0.28);
}

.cta-card h2 {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 28px;
  line-height: 1.2;
}

/* --------------------------------------------------- Workshops page --- */
.workshop-hero-img {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 28px 64px rgba(70, 19, 83, 0.18);
  margin: 40px 0;
}

.workshop-hero-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.workshop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.wcard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(70, 19, 83, 0.06);
}

.wcard__header {
  position: relative;
  padding: 32px 36px 28px;
  overflow: hidden;
}

.wcard__header h3 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  margin: 16px 0 0;
}

.wcard__body {
  padding: 32px 36px 36px;
}

.wcard__body > p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  margin: 0 0 28px;
}

.wtag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wmodule {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.5;
}

.wmodule .bullet {
  margin-top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
}

.wdetail {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  margin-bottom: 14px;
}

.wdetail .label {
  width: 72px;
  font-weight: 700;
  font-size: 13px;
  color: var(--violet);
}

.wdetail .value {
  font-size: 15px;
  color: var(--ink);
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 28px;
}

.section-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--violet);
  margin: 28px 0 16px;
}

/* --------------------------------------------------------- Utilities --- */
.stack-gap > * + * {
  margin-top: 16px;
}

.only-mobile {
  display: none;
}

/* ------------------------------------------------------- Responsive --- */
@media (max-width: 900px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav__inner {
    padding: 0 16px;
    gap: 12px;
  }

  .nav__links {
    display: none;
  }

  .nav__menu-btn {
    display: inline-flex;
  }

  .only-mobile {
    display: block;
  }

  .two-col,
  .book-grid,
  .newsletter,
  .footer-grid,
  .realm-grid,
  .team-grid,
  .workshop-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .two-col--reverse-mobile .two-col__media {
    order: 2;
  }

  .hero .container {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .book-head h2 {
    font-size: 32px;
  }

  .book-head .subtitle {
    font-size: 26px;
  }

  .center-head h2 {
    font-size: 30px;
  }

  .newsletter {
    padding: 40px 28px;
  }

  .cta-card {
    padding: 40px 28px;
  }

  .cta-card h2 {
    font-size: 24px;
  }

  .workshop-hero-img img {
    height: 240px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom__links {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 600px) {
  .realm-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------- Embed (in-app WebView) --- */
body.embed .nav,
body.embed .drawer,
body.embed .drawer-backdrop,
body.embed .footer {
  display: none !important;
}

body.embed .legal-page {
  padding-top: 20px;
}

/* ------------------------------------------------------ Legal pages --- */
.legal-page {
  padding: 48px 0 72px;
  background: var(--paper);
}

.legal-container {
  max-width: 820px;
}

.legal-page h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--violet);
  line-height: 1.25;
  margin: 0 0 16px;
}

.legal-page h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--violet);
  line-height: 1.35;
  margin: 28px 0 8px;
}

.legal-page h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--violet);
  margin: 20px 0 6px;
}

.legal-page p {
  font-size: 15px;
  line-height: 1.65;
  color: #3a3a3a;
  margin: 0 0 12px;
}

.legal-page ul {
  margin: 0 0 12px;
  padding-left: 24px;
}

.legal-page li {
  font-size: 15px;
  line-height: 1.65;
  color: #3a3a3a;
  margin-bottom: 6px;
}

.legal-page a {
  color: var(--violet);
  text-decoration: underline;
}

.legal-page .legal-lead {
  font-size: 18px;
  font-weight: 700;
  color: var(--violet);
  margin-bottom: 12px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 14px;
  line-height: 1.5;
  color: #3a3a3a;
}

.legal-table th,
.legal-table td {
  border: 1px solid #e0e0e0;
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  font-weight: 700;
  background: #fff;
  color: var(--violet);
}

@media (max-width: 600px) {
  .legal-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  margin: 24px 0;
}

.contact-row + .contact-row {
  margin-top: 16px;
}

.contact-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}

.contact-value {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--violet);
}

.contact-value a {
  text-decoration: none;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.contact-actions .btn {
  text-align: center;
  text-decoration: none;
}

.contact-actions .btn-filled {
  color: #fff;
}

.contact-actions .btn-outline {
  color: var(--violet);
}

.contact-actions .btn-outline:hover {
  color: #fff;
}

@media (max-width: 600px) {
  .legal-page {
    padding: 32px 0 56px;
  }

  .legal-page h1 {
    font-size: 24px;
  }

  .contact-actions {
    flex-direction: column;
  }

  .contact-actions .btn {
    width: 100%;
  }
}
