﻿:root {
  --ink: #0f1c2e;
  --ink-soft: #1a2f4a;
  --gold: #e0a33a;
  --gold-soft: #f0c46a;
  --paper: #f3f6f9;
  --paper-deep: #e8eef4;
  --muted: #5f6f84;
  --line: #d7dee7;
  --green: #197d61;
  --red: #b54040;
  --display: "Fraunces", "Cairo", serif;
  --body: "Manrope", "Cairo", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 500px at 10% -10%, #d9e6f4 0%, transparent 55%),
    radial-gradient(900px 420px at 100% 0%, #f2e6c8 0%, transparent 45%),
    var(--paper);
  color: var(--ink);
  font-family: var(--body);
}

a { color: inherit; }

.platform-header,
footer {
  max-width: 1180px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
}

.platform-header { justify-content: space-between; }

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--gold);
  font: 700 13px var(--body);
}

.brand-mark.brand-logo {
  display: block;
  object-fit: contain;
  padding: 0;
  background: #fff;
  color: inherit;
}

.platform-header nav { display: flex; gap: 18px; }
.platform-header nav a { font-size: 14px; text-decoration: none; opacity: .9; }
.platform-header nav a:hover { color: var(--ink-soft); }

.locale-form select,
select,
input,
textarea {
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  background: #fff;
  color: var(--ink);
}

.notice {
  max-width: 1120px;
  margin: 8px auto;
  padding: 12px 18px;
  border-radius: 10px;
  background: #dff5ec;
  color: #116149;
}

/* Full-bleed marketing hero â€” no client stats */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
}

.hero--full {
  min-height: min(88vh, 760px);
  display: grid;
  place-items: center;
  margin: 0;
  padding: 72px 24px 88px;
  border-radius: 0;
  background:
    linear-gradient(160deg, rgba(15, 28, 46, .92) 18%, rgba(26, 47, 74, .78) 55%, rgba(15, 28, 46, .88) 100%),
    radial-gradient(ellipse at 20% 30%, #2a4a72 0%, transparent 50%),
    radial-gradient(ellipse at 85% 70%, #3a2f18 0%, transparent 42%),
    linear-gradient(135deg, #0f1c2e, #203959);
}

.hero-atmosphere {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0%, rgba(224, 163, 58, .08) 50%, transparent 100%),
    repeating-linear-gradient(
      -12deg,
      transparent 0 18px,
      rgba(255, 255, 255, .015) 18px 19px
    );
  animation: atmosphere-drift 18s ease-in-out infinite alternate;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  text-align: center;
  animation: hero-rise .9s ease both;
}

.brand-hero {
  margin: 0 0 18px;
  font-family: var(--display);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--gold-soft);
  animation: brand-glow 4.5s ease-in-out infinite;
}

.hero h1,
.section-heading h2,
.form-card h1,
.admin h1 {
  font-family: var(--display);
  font-size: clamp(28px, 4.6vw, 48px);
  line-height: 1.2;
  margin: 0 0 18px;
  font-weight: 650;
}

.hero h1 {
  max-width: 16ch;
  margin-inline: auto;
  color: #fff;
}

.hero-lead {
  margin: 0 auto 28px;
  max-width: 42ch;
  color: #c9d6e6;
  font-size: clamp(16px, 2.2vw, 19px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.button,
button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0;
  border-radius: 10px;
  padding: 12px 18px;
  background: var(--gold);
  color: var(--ink);
  font: 800 14px var(--body);
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover,
button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(15, 28, 46, .18);
}

.button--ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .35);
}

.button--ghost:hover {
  background: rgba(255, 255, 255, .08);
  box-shadow: none;
}

/* Kept for superadmin / school admin surfaces â€” not used on public landing */
.dashboard-card {
  background: #fff;
  color: var(--ink);
  padding: 18px;
  border-radius: 18px;
  box-shadow: 0 25px 70px #0005;
}

.dash-top,
.attendance,
.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dash-top span { color: var(--green); font-size: 12px; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 16px 0;
}

.stats > div {
  background: #f3f5f8;
  padding: 13px;
  border-radius: 12px;
}

.stats strong,
.stats small { display: block; }
.stats strong { font-size: 20px; }
.stats small { color: var(--muted); font-size: 11px; }

.attendance {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.attendance b { font-size: 12px; color: var(--green); }

.features-section,
.features,
.mode,
.pricing,
.steps,
.faq,
.admin {
  max-width: 1120px;
  margin: 0 auto 78px;
  padding: 0 20px;
}

.features-section { padding-top: 64px; }

.feature-grid,
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.feature-grid article,
.features article,
.mode > div,
.plan,
.form-card,
.bank {
  background: rgba(255, 255, 255, .88);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  backdrop-filter: blur(4px);
}

.feature-grid h3,
.features h2,
.mode h2,
.plan h3 {
  font-family: var(--display);
  font-size: 19px;
  margin: 0 0 8px;
}

.feature-grid p,
.features p,
.mode p,
.plan p,
.section-heading > p {
  color: var(--muted);
  line-height: 1.8;
  font-size: 14px;
}

.mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pricing { padding-top: 18px; }

.section-heading {
  text-align: center;
  max-width: 630px;
  margin: 0 auto 30px;
}

.section-heading h2,
.steps h2,
.faq h2 {
  font-family: var(--display);
  font-size: 31px;
  margin: 0;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.plan { position: relative; }
.plan.featured { border: 2px solid var(--gold); }

.badge {
  position: absolute;
  top: -13px;
  inset-inline-start: 22px;
  background: var(--gold);
  padding: 5px 10px;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 800;
}

.price {
  display: block;
  font-size: 25px;
  margin: 20px 0 4px;
}

.price small,
.demo {
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
}

.plan ul {
  padding-inline-start: 20px;
  color: var(--muted);
  min-height: 105px;
  font-size: 13px;
  line-height: 2;
}

.plans-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 28px;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: 16px;
}

.steps {
  background: linear-gradient(180deg, #e4ecf4, #dfe8f1);
  border-radius: 24px;
  padding: 34px;
}

.steps ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0;
  list-style-position: inside;
}

.steps li { font-weight: 700; }

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  padding: 16px;
  margin: 10px 0;
  border-radius: 12px;
}

.faq summary { font-weight: 800; cursor: pointer; }
.faq p { color: var(--muted); line-height: 1.7; }

.form-page {
  max-width: 760px;
  margin: 36px auto 80px;
  padding: 0 20px;
}

.form-card { padding: 34px; }
.form-card form { margin-top: 28px; }

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-card label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
}

.form-card fieldset {
  display: flex;
  gap: 18px;
  border: 0;
  padding: 16px 0;
}

.form-card fieldset label,
.terms { display: block !important; }

.form-card textarea {
  width: 100%;
  min-height: 92px;
}

.form-card button { margin-top: 18px; }

.bank {
  margin: 24px 0;
  background: #fff8e9;
}

.status {
  background: #eef1f5;
  border-radius: 99px;
  padding: 5px 11px;
  font: 700 11px var(--body);
}

.error { color: var(--red); font-weight: 700; }

.admin { max-width: 1200px; }

.admin-hero {
  padding: 42px;
  background: var(--ink);
  color: #fff;
  border-radius: 22px;
  margin: 40px 0;
}

.admin-hero .stats > div { background: #ffffff12; }
.admin-hero .stats small { color: #bfd0df; }
.admin section { margin-bottom: 50px; }

.table-wrap {
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
}

table {
  border-collapse: collapse;
  width: 100%;
  min-width: 780px;
}

th,
td {
  text-align: start;
  padding: 13px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  font-size: 13px;
}

td small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

td form {
  display: inline-flex;
  gap: 6px;
  margin: 2px;
}

td input {
  max-width: 130px;
  padding: 7px;
}

.danger {
  background: #f9dede;
  color: var(--red);
}

footer {
  border-top: 1px solid var(--line);
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  flex-wrap: wrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.error-notice {
  background: #f9dede;
  color: var(--red);
}

.error-notice ul {
  margin: 0;
  padding-inline-start: 18px;
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.filters input,
.filters select { min-width: 140px; }

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

@keyframes brand-glow {
  0%, 100% { text-shadow: 0 0 0 transparent; }
  50% { text-shadow: 0 0 28px rgba(224, 163, 58, .35); }
}

@keyframes atmosphere-drift {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: .85; }
  to { transform: translate3d(-1.5%, 1%, 0) scale(1.03); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-inner,
  .hero-atmosphere,
  .brand-hero,
  .button,
  button {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 760px) {
  .platform-header nav { display: none; }

  .hero--full {
    min-height: auto;
    padding: 56px 20px 64px;
  }

  .feature-grid,
  .features,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .mode,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .steps ol { grid-template-columns: 1fr; }
  .platform-header { padding: 14px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .form-card { padding: 24px; }
}

/* ===== Landing home (scoped â€” does not restyle subscribe/trial forms) ===== */

/* ===== Landing home — playful cream / sky / coral (mock) ===== */
body.landing-page {
  --cream: #FFF9EC;
  --panel: #FFFFFF;
  --ink: #2B2140;
  --ink-soft: #5B5170;
  --sky: #3FB6E8;
  --sky-deep: #1E8FC4;
  --sun: #FFC947;
  --coral: #FF7A63;
  --mint: #4ED9AE;
  --lav: #F1EAFF;
  --peach: #FFE9D6;
  --radius-lg: 32px;
  --radius-md: 22px;
  --shadow-soft: 0 14px 30px -12px rgba(43, 33, 64, 0.18);
  background: var(--cream);
  color: var(--ink);
  font-family: 'Cairo', sans-serif;
  font-weight: 500;
  line-height: 1.65;
  overflow-x: hidden;
}

body.landing-page h1,
body.landing-page h2,
body.landing-page h3,
body.landing-page .brand span,
body.landing-page .button,
body.landing-page .step-num,
body.landing-page .eyebrow {
  font-family: 'Baloo Bhaijaan 2', 'Cairo', sans-serif;
}

body.landing-page h1,
body.landing-page h2,
body.landing-page h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

body.landing-page p {
  margin: 0;
  color: var(--ink-soft);
}

body.landing-page a {
  color: inherit;
  text-decoration: none;
}

body.landing-page img {
  max-width: 100%;
  display: block;
}

body.landing-page ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

body.landing-page .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  body.landing-page *,
  body.landing-page *::before,
  body.landing-page *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Header — full-bleed sticky blur */
body.landing-page .platform-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: none;
  margin: 0;
  padding: 18px 6vw;
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 249, 236, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 0;
  border-bottom: 2px solid rgba(43, 33, 64, 0.06);
  border-radius: 0;
  box-shadow: none;
}

body.landing-page .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--ink);
}

body.landing-page .brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(155deg, var(--sky), var(--sky-deep));
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
  transform: rotate(-6deg);
  border: 0;
}

body.landing-page .brand-mark.brand-logo {
  transform: none;
  background: #fff;
  box-shadow: var(--shadow-soft);
  object-fit: contain;
}

body.landing-page .landing-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

body.landing-page .landing-nav a {
  font-weight: 600;
  color: var(--ink-soft);
  padding: 6px 2px;
  position: relative;
}

body.landing-page .landing-nav a:not(.nav-cta):hover {
  color: var(--sky-deep);
}

body.landing-page .nav-cta {
  background: var(--coral);
  color: #fff !important;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 20px -8px rgba(255, 122, 99, 0.65);
  transition: transform 0.2s ease;
}

body.landing-page .nav-cta:hover {
  transform: translateY(-2px) scale(1.03);
}

body.landing-page .nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

body.landing-page .nav-toggle span[aria-hidden=true] {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--ink);
  border-radius: 3px;
  margin: 5px 0;
}

body.landing-page .locale-form select {
  border: 2px solid rgba(43, 33, 64, 0.12);
  border-radius: 12px;
  padding: 6px 10px;
  font-family: 'Cairo', sans-serif;
  font-weight: 600;
  color: var(--ink-soft);
  background: #fff;
}

/* Floaters */
.float-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.cloud {
  position: absolute;
  background: #fff;
  border-radius: 999px;
  opacity: 0.9;
  box-shadow: 0 8px 0 -2px #fff, 0 10px 24px -8px rgba(43, 33, 64, 0.15);
  animation: drift 26s ease-in-out infinite;
}

.cloud::before,
.cloud::after {
  content: ";
 position: absolute;
 background: #fff;
 border-radius: 999px;
}

@keyframes drift {
 0%, 100% { transform: translateX(0) translateY(0); }
 50% { transform: translateX(18px) translateY(-10px); }
}

.twinkle {
 position: absolute;
 animation: twinkle 3.4s ease-in-out infinite;
}

@keyframes twinkle {
 0%, 100% { opacity: 0.25; transform: scale(0.85); }
 50% { opacity: 1; transform: scale(1.1); }
}

.bob {
 animation: bob 5s ease-in-out infinite;
}

@keyframes bob {
 0%, 100% { transform: translateY(0); }
 50% { transform: translateY(-14px); }
}

@keyframes riseIn {
 to { opacity: 1; transform: translateY(0); }
}

@keyframes popIn {
 to { opacity: 1; }
}

/* Hero */
.landing-home .home-hero {
 position: relative;
 display: grid;
 grid-template-columns: 1.05fr 0.95fr;
 gap: 40px;
 align-items: center;
 padding: 70px 6vw 40px;
 max-width: 1360px;
 margin: 0 auto;
}

.landing-home .brand-kicker {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 background: var(--lav);
 color: var(--sky-deep);
 font-weight: 700;
 font-size: 0.9rem;
 padding: 7px 16px;
 border-radius: 999px;
 margin-bottom: 18px;
}

.landing-home .hero-brand {
 display: flex;
 align-items: center;
 gap: 16px;
 margin-bottom: 18px;
 opacity: 0;
 transform: translateY(16px);
 animation: riseIn 0.8s ease forwards 0.05s;
}

.landing-home .hero-logo {
 width: min(280px, 72vw);
 height: auto;
 aspect-ratio: 1;
 border-radius: 28px;
 object-fit: contain;
 background: #fff;
 box-shadow: var(--shadow-soft);
 flex: none;
}

.landing-home .hero-brand-name {
 margin: 0;
 font-family: "Baloo Bhaijaan 2", "Nunito", sans-serif;
 font-size: clamp(2.6rem, 5vw, 4rem);
 line-height: 1.05;
 letter-spacing: -0.02em;
 color: var(--ink);
}

.landing-home .hero-tagline {
 margin: 0;
 font-size: clamp(1.25rem, 2.4vw, 1.75rem);
 line-height: 1.35;
 font-weight: 700;
 color: var(--ink-soft, #3a3348);
 opacity: 0;
 transform: translateY(16px);
 animation: riseIn 0.8s ease forwards 0.15s;
}

.landing-home .home-hero h1 {
 font-size: clamp(2.1rem, 4vw, 3.3rem);
 line-height: 1.2;
 opacity: 0;
 transform: translateY(16px);
 animation: riseIn 0.8s ease forwards 0.1s;
}

.landing-home .hero-lead {
 margin-top: 18px;
 font-size: 1.14rem;
 max-width: 46ch;
 opacity: 0;
 transform: translateY(16px);
 animation: riseIn 0.8s ease forwards 0.3s;
}

.landing-home .hero-actions {
 display: flex;
 gap: 16px;
 margin-top: 30px;
 flex-wrap: wrap;
 opacity: 0;
 transform: translateY(16px);
 animation: riseIn 0.8s ease forwards 0.5s;
}

.landing-home .hero-assurance {
 margin-top: 16px;
 font-size: 0.92rem;
 color: var(--ink-soft);
 opacity: 0;
 animation: riseIn 0.8s ease forwards 0.65s;
}

.landing-home .button {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: 8px;
 font-weight: 700;
 font-size: 1rem;
 padding: 15px 30px;
 border-radius: 999px;
 border: 0;
 cursor: pointer;
 transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-home .button--sun {
 background: var(--sun);
 color: #3A2600;
 box-shadow: 0 12px 22px -8px rgba(255, 201, 71, 0.7);
}

.landing-home .button--sun:hover {
 transform: translateY(-3px);
 box-shadow: 0 16px 26px -8px rgba(255, 201, 71, 0.85);
}

.landing-home .button--soft {
 background: #fff;
 color: var(--ink);
 box-shadow: var(--shadow-soft);
}

.landing-home .button--soft:hover {
 transform: translateY(-3px);
}

.landing-home .hero-art {
 position: relative;
 aspect-ratio: 1 / 1;
 max-width: 480px;
 margin: 0 auto;
 opacity: 0;
 animation: popIn 0.9s cubic-bezier(0.2, 1.4, 0.4, 1) forwards 0.35s;
}

.landing-home .home-hero__copy {
 position: relative;
 z-index: 1;
}

/* Browser frames */
.landing-home .home-shot {
 padding: 10px 6vw 40px;
 max-width: 1160px;
 margin: 0 auto;
}

.landing-home .browser-frame {
 background: #fff;
 border-radius: 26px;
 overflow: hidden;
 box-shadow: 0 30px 60px -25px rgba(43, 33, 64, 0.3);
 border: 3px solid rgba(43, 33, 64, 0.06);
}

.landing-home .browser-frame img {
 width: 100%;
 height: auto;
 display: block;
 object-fit: cover;
 object-position: top center;
}

.landing-home .browser-chrome {
 display: flex;
 gap: 7px;
 padding: 14px 18px;
 background: var(--lav);
}

.landing-home .browser-chrome span {
 width: 11px;
 height: 11px;
 border-radius: 999px;
 background: rgba(43, 33, 64, 0.18);
}

.landing-home .browser-chrome span:first-child { background: var(--coral); }
.landing-home .browser-chrome span:nth-child(2) { background: var(--sun); }
.landing-home .browser-chrome span:nth-child(3) { background: var(--mint); }

.landing-home figcaption {
 text-align: center;
 color: var(--ink-soft);
 font-size: 0.85rem;
 margin-top: 12px;
 padding: 0 10px;
}

/* Sections */
.landing-home .home-section {
 position: relative;
 padding: 80px 6vw;
 max-width: 1240px;
 margin: 0 auto;
}

.landing-home .section-heading {
 max-width: 640px;
 margin-bottom: 46px;
}

.landing-home .eyebrow {
 display: inline-block;
 color: var(--coral);
 font-weight: 700;
 font-size: 0.95rem;
 margin-bottom: 8px;
}

.landing-home .section-heading h2 {
 font-size: clamp(1.6rem, 2.6vw, 2.3rem);
 margin-bottom: 12px;
}

.landing-home .section-heading p {
 font-size: 1.05rem;
 max-width: 52ch;
}

/* Feature bubbles */
.landing-home .feature-bubbles {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
 gap: 22px;
}

.landing-home .bubble {
 padding: 30px 26px;
 position: relative;
 box-shadow: var(--shadow-soft);
 transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.landing-home .bubble:hover {
 transform: translateY(-6px) rotate(-1deg);
 box-shadow: 0 22px 40px -16px rgba(43, 33, 64, 0.28);
}

.landing-home .bubble h3 {
 font-size: 1.15rem;
 margin-bottom: 8px;
}

.landing-home .bubble p {
 font-size: 0.95rem;
}

.landing-home .bubble-icon {
 width: 52px;
 height: 52px;
 border-radius: 16px;
 display: grid;
 place-items: center;
 margin-bottom: 16px;
 font-size: 1.4rem;
}

.landing-home .bubble--sky {
 background: #EAF8FF;
 border-radius: 28px 28px 28px 8px;
}
.landing-home .bubble--sky .bubble-icon { background: var(--sky); color: #fff; }

.landing-home .bubble--mint {
 background: #EAFBF4;
 border-radius: 28px 8px 28px 28px;
}
.landing-home .bubble--mint .bubble-icon { background: var(--mint); color: #fff; }

.landing-home .bubble--sun {
 background: var(--peach);
 border-radius: 8px 28px 28px 28px;
}
.landing-home .bubble--sun .bubble-icon { background: var(--sun); color: #3A2600; }

.landing-home .bubble--coral {
 background: #FFEDE9;
 border-radius: 28px 28px 8px 28px;
}
.landing-home .bubble--coral .bubble-icon { background: var(--coral); color: #fff; }

/* Tour */
.landing-home .tour-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
 gap: 34px;
}

.landing-home .tour-card { margin: 0; }

.landing-home .tour-card:nth-child(odd) .browser-frame--compact {
 transform: rotate(-2deg);
}

.landing-home .tour-card:nth-child(even) .browser-frame--compact {
 transform: rotate(2deg);
}

.landing-home .browser-frame--compact {
 transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.landing-home .tour-card:hover .browser-frame--compact {
 transform: rotate(0deg) translateY(-4px);
}

.landing-home .tour-card figcaption {
 text-align: start;
}

.landing-home .tour-card figcaption strong {
 display: block;
 color: var(--ink);
 font-size: 1.02rem;
 margin-bottom: 2px;
}

.landing-home .tour-card figcaption span {
 font-size: 0.88rem;
}

/* How it works */
.landing-home .home-steps {
 background: var(--lav);
 border-radius: var(--radius-lg);
}

.landing-home .start-steps {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 20px;
 position: relative;
 list-style: none;
 margin: 0;
 padding: 0;
}

.landing-home .start-steps::before {
 content: ;
 position: absolute;
 top: 26px;
 inset-inline: 12%;
 height: 3px;
 background: repeating-linear-gradient(
 to left,
 var(--sky) 0 10px,
 transparent 10px 20px
 );
 z-index: 0;
}

.landing-home .start-steps li {
 position: relative;
 z-index: 1;
 display: flex;
 flex-direction: column;
 align-items: flex-start;
 gap: 10px;
}

.landing-home .step-num {
 width: 52px;
 height: 52px;
 border-radius: 999px;
 background: var(--sky);
 color: #fff;
 display: grid;
 place-items: center;
 font-weight: 800;
 font-size: 1.2rem;
 box-shadow: var(--shadow-soft);
 border: 4px solid var(--lav);
}

.landing-home .start-steps li:nth-child(2) .step-num { background: var(--mint); }
.landing-home .start-steps li:nth-child(3) .step-num { background: var(--sun); color: #3A2600; }
.landing-home .start-steps li:nth-child(4) .step-num { background: var(--coral); }

.landing-home .start-steps strong {
 display: block;
 font-size: 1.02rem;
 margin-bottom: 4px;
 font-family: 'Baloo Bhaijaan 2', 'Cairo', sans-serif;
}

.landing-home .whats-new-list {
 list-style: none;
 margin: 0;
 padding: 0;
 display: grid;
 gap: 14px;
}

.landing-home .whats-new-list li {
 background: #fff;
 border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
 border-radius: 18px;
 padding: 18px 20px;
 box-shadow: var(--shadow-soft);
}

.landing-home .whats-new-list strong {
 display: block;
 color: var(--ink);
 font-size: 1.05rem;
 margin-bottom: 6px;
}

.landing-home .whats-new-list p {
 margin: 0;
 font-size: 0.95rem;
 color: color-mix(in srgb, var(--ink) 72%, transparent);
 max-width: 70ch;
}

.landing-home .whats-new-list li:nth-child(4n+1) { border-inline-start: 4px solid var(--sky); }
.landing-home .whats-new-list li:nth-child(4n+2) { border-inline-start: 4px solid var(--mint); }
.landing-home .whats-new-list li:nth-child(4n+3) { border-inline-start: 4px solid var(--sun); }
.landing-home .whats-new-list li:nth-child(4n+4) { border-inline-start: 4px solid var(--coral); }

.landing-home .start-steps p {
 font-size: 0.92rem;
}

/* Trial */
.landing-home .trial-panel {
 background: var(--panel);
 border-radius: var(--radius-lg);
 border: 3px dashed rgba(63, 182, 232, 0.45);
 padding: 60px 6vw;
 text-align: center;
}

.landing-home .trial-panel .section-heading {
 margin: 0 auto 30px;
 text-align: center;
}

.landing-home .trial-points {
 display: flex;
 justify-content: center;
 gap: 14px;
 flex-wrap: wrap;
 margin-bottom: 16px;
}

.landing-home .trial-points li {
 background: #EAF8FF;
 color: var(--sky-deep);
 font-weight: 700;
 font-size: 0.9rem;
 padding: 10px 18px;
 border-radius: 999px;
}

.landing-home .plans-aside {
 font-size: 0.95rem;
}

.landing-home .plans-aside a {
 color: var(--coral);
 font-weight: 700;
 text-decoration: underline;
 text-underline-offset: 3px;
}

/* Referrals */
.landing-home .referral-panel {
 background: linear-gradient(135deg, var(--sky), var(--sky-deep));
 border-radius: var(--radius-lg);
 color: #fff;
 text-align: center;
 padding: 56px 6vw;
}

.landing-home .referral-panel .eyebrow { color: var(--sun); }
.landing-home .referral-panel h2,
.landing-home .referral-panel p { color: #fff; }
.landing-home .referral-panel .section-heading { margin: 0 auto; }

/* FAQ */
.landing-home .home-faq details {
 background: #fff;
 border-radius: 18px;
 padding: 20px 24px;
 margin-bottom: 14px;
 box-shadow: var(--shadow-soft);
}

.landing-home .home-faq summary {
 cursor: pointer;
 font-weight: 700;
 font-family: 'Baloo Bhaijaan 2', 'Cairo', sans-serif;
 font-size: 1.02rem;
 list-style: none;
 display: flex;
 align-items: center;
 justify-content: space-between;
}

.landing-home .home-faq summary::-webkit-details-marker { display: none; }

.landing-home .home-faq summary::after {
 content: +;
 font-size: 1.4rem;
 color: var(--coral);
 transition: transform 0.25s ease;
 flex: none;
 margin-inline-start: 14px;
}

.landing-home .home-faq details[open] summary::after {
 transform: rotate(45deg);
}

.landing-home .home-faq details p {
 margin-top: 12px;
 font-size: 0.96rem;
}

/* CTA */
.landing-home .home-cta {
 text-align: center;
 padding: 80px 6vw;
 max-width: 760px;
 margin: 0 auto;
}

.landing-home .home-cta h2 {
 font-size: clamp(1.7rem, 3vw, 2.4rem);
 margin-bottom: 14px;
}

.landing-home .home-cta p {
 margin-bottom: 30px;
 font-size: 1.05rem;
}

/* Contact */
.landing-home .home-contact {
 background: var(--ink);
 color: #fff;
 border-radius: var(--radius-lg) var(--radius-lg) 0 0;
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 30px;
 max-width: 1240px;
 margin: 0 auto;
 padding: 60px 6vw 40px;
}

.landing-home .home-contact .eyebrow { color: var(--sun); }
.landing-home .home-contact h2,
.landing-home .home-contact p { color: #fff; }
.landing-home .home-contact a {
 text-decoration: underline;
 text-underline-offset: 3px;
}
.landing-home .home-contact p {
 margin-top: 10px;
 color: rgba(255, 255, 255, 0.8);
}

/* Landing footer override */
body.landing-page footer {
 max-width: none;
 margin: 0;
 background: var(--ink);
 color: rgba(255, 255, 255, 0.7);
 display: flex;
 flex-wrap: wrap;
 gap: 18px;
 align-items: center;
 justify-content: center;
 padding: 22px 6vw 40px;
 font-size: 0.85rem;
 text-align: center;
 border: 0;
 border-radius: 0;
}

body.landing-page footer a {
 color: rgba(255, 255, 255, 0.85);
}

body.landing-page footer a:hover {
 color: #fff;
 text-decoration: underline;
}

/* Responsive */
@media (max-width: 900px) {
 .landing-home .home-hero {
 grid-template-columns: 1fr;
 padding-top: 40px;
 }
 .landing-home .hero-art {
 order: -1;
 max-width: 320px;
 }
 .landing-home .start-steps {
 grid-template-columns: 1fr 1fr;
 }
 .landing-home .start-steps::before {
 display: none;
 }
 .landing-home .home-contact {
 grid-template-columns: 1fr;
 }
}

body.landing-page .landing-nav a.nav-cta,
body.landing-page .landing-nav .nav-download {
 display: inline-flex;
 align-items: center;
 justify-content: center;
}
body.landing-page .nav-download,
.platform-header .nav-download {
 border: 1px solid rgba(43, 33, 64, 0.14);
 background: #fff;
 color: var(--ink, #2b2140);
 border-radius: 999px;
 padding: 10px 16px;
 font: inherit;
 font-weight: 700;
 font-size: 14px;
 cursor: pointer;
}
body.landing-page .nav-download:hover,
.platform-header .nav-download:hover {
 background: var(--sun, #f0a45a);
 color: #fff;
 border-color: transparent;
}
.pwa-overlay {
 position: fixed;
 inset: 0;
 background: rgba(15, 28, 46, 0.45);
 display: flex;
 align-items: flex-end;
 justify-content: center;
 z-index: 80;
 padding: 0;
}
.pwa-overlay[hidden] { display: none !important; }
.pwa-sheet {
 width: 100%;
 max-width: 480px;
 background: #fff;
 border-radius: 18px 18px 0 0;
 box-shadow: 0 -16px 40px rgba(15, 28, 46, 0.2);
 padding-bottom: env(safe-area-inset-bottom, 0px);
}
.pwa-sheet-handle {
 width: 42px;
 height: 4px;
 border-radius: 999px;
 background: rgba(43, 33, 64, 0.15);
 margin: 10px auto 0;
}
.pwa-sheet-head {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 12px;
 padding: 14px 18px 8px;
}
.pwa-sheet-head h3 {
 margin: 0;
 font-size: 17px;
}
.pwa-close {
 border: none;
 background: rgba(43, 33, 64, 0.06);
 width: 34px;
 height: 34px;
 border-radius: 10px;
 cursor: pointer;
}
.pwa-sheet-body { padding: 8px 18px 20px; }
.pwa-lead { margin: 0 0 8px; font-weight: 700; line-height: 1.45; }
.pwa-hint { margin: 0; font-size: 13px; color: rgba(43, 33, 64, 0.65); line-height: 1.55; }
.pwa-steps { margin: 12px 0 0; padding-inline-start: 22px; line-height: 1.55; }
.pwa-steps li { margin-bottom: 8px; }
.pwa-ok { margin: 0; font-weight: 700; color: #2f6b4f; }
@media (min-width: 720px) {
 .pwa-overlay { align-items: center; padding: 20px; }
 .pwa-sheet { border-radius: 18px; }
 .pwa-sheet-handle { display: none; }
}

@media (max-width: 640px) {
 body.landing-page .platform-header {
 position: relative;
 }
 body.landing-page .nav-toggle {
 display: block;
 }
 body.landing-page .landing-nav {
 position: absolute;
 top: 100%;
 inset-inline: 0;
 background: var(--cream);
 flex-direction: column;
 align-items: stretch;
 gap: 0;
 padding: 10px 6vw;
 box-shadow: var(--shadow-soft);
 display: none;
 z-index: 30;
 }
 body.landing-page .landing-nav.is-open {
 display: flex;
 }
 body.landing-page .landing-nav a,
 body.landing-page .landing-nav .nav-download {
 padding: 12px 0;
 border-bottom: 1px solid rgba(43, 33, 64, 0.08);
 border-radius: 0;
 background: transparent;
 width: 100%;
 justify-content: flex-start;
 }
 body.landing-page .landing-nav .nav-cta {
 margin-top: 8px;
 justify-content: center;
 border-radius: 999px;
 border-bottom: none;
 }
 body.landing-page .landing-nav .nav-download {
 border: 1px solid rgba(43, 33, 64, 0.14);
 border-radius: 999px;
 justify-content: center;
 margin-top: 8px;
 background: #fff;
 }
 body.landing-page .locale-form {
 display: none;
 }
 .landing-home .start-steps {
 grid-template-columns: 1fr;
 }
}

