/* mithuru website: shared styles for the home page and the policy pages. Brand: white and pinks. */
:root {
  color-scheme: light;
  --white: #ffffff;
  --blush: #fff6f8;
  --pink: #ff628d;
  --pink-deep: #e2477a;
  --pink-200: #ffd6e2;
  --pink-100: #ffe4ec;
  --ink: #1b1530;
  --navy: #231e45;
  --muted: #6e6474;
  --gray: #797979;
  --line: #f3e3e9;
  --lavender: #eae3fb;
  --mint: #dcf3e7;
  --butter: #fff0c7;
  --sky: #dcedfb;
  --peach: #ffe2d2;
  --radius: 28px;
  --shadow: 0 18px 50px rgba(255, 98, 141, 0.16);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 17px/1.6 'Nunito', ui-rounded, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
}
img,
svg {
  display: block;
}
.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.sticker {
  width: 64px;
  height: 64px;
}

/* ---------- top bar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.5px;
  text-decoration: none;
  color: var(--ink);
}
.brand span {
  color: var(--pink);
}
.topnav {
  display: flex;
  gap: 6px;
  align-items: center;
}
.topnav a {
  text-decoration: none;
  font-weight: 800;
  font-size: 14.5px;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
}
.topnav a:hover {
  color: var(--ink);
  background: var(--blush);
}
.topnav a.pill {
  background: var(--ink);
  color: var(--white);
}
@media (max-width: 640px) {
  .topnav a:not(.pill) {
    display: none;
  }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 56px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, var(--pink-100), transparent 60%),
    radial-gradient(700px 500px at 5% 90%, var(--lavender), transparent 60%),
    var(--white);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  border-radius: 999px;
  background: var(--white);
  border: 1.5px solid var(--pink-200);
  font-weight: 800;
  font-size: 14px;
  color: var(--pink-deep);
}
.eyebrow .sticker {
  width: 26px;
  height: 26px;
}
.wordmark {
  position: relative;
  display: inline-block;
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-weight: 700;
  font-size: clamp(76px, 13vw, 148px);
  line-height: 0.95;
  letter-spacing: -4px;
  margin: 22px 0 6px;
  color: var(--ink);
}
.wordmark .i {
  position: relative;
  color: var(--pink);
}
/* The blob from the app's splash, bouncing as the dot on the i. */
.wordmark .dot {
  position: absolute;
  left: 50%;
  top: 0.07em;
  width: 0.34em;
  height: 0.31em;
  transform: translateX(-50%);
  animation: dot-bounce 2.6s cubic-bezier(0.45, 0, 0.2, 1) infinite;
}
@keyframes dot-bounce {
  0%,
  100% {
    transform: translate(-50%, 0) scale(1, 1);
  }
  40% {
    transform: translate(-50%, -0.16em) scale(0.94, 1.06);
  }
  55% {
    transform: translate(-50%, -0.16em) scale(0.96, 1.04);
  }
  80% {
    transform: translate(-50%, 0) scale(1.12, 0.88);
  }
  90% {
    transform: translate(-50%, 0) scale(0.97, 1.03);
  }
}
.langs {
  font-weight: 800;
  font-size: 18px;
  margin: 0;
  color: var(--muted);
}
.lede {
  font-size: clamp(19px, 2.2vw, 23px);
  line-height: 1.45;
  margin: 18px 0 0;
  max-width: 520px;
  font-weight: 700;
}
@media (max-width: 900px) {
  .lede {
    margin-left: auto;
    margin-right: auto;
  }
}
.lede em {
  font-style: normal;
  color: var(--pink-deep);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 30px;
}
@media (max-width: 900px) {
  .cta-row {
    justify-content: center;
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 16.5px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(27, 21, 48, 0.22);
}
.btn-pink {
  background: linear-gradient(135deg, #ff8fae, var(--pink) 55%, #ff4f7d);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(255, 98, 141, 0.38);
}
.btn-soft {
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--line);
}
.btn svg {
  width: 20px;
  height: 20px;
}
.fine {
  font-size: 14px;
  font-weight: 700;
  color: var(--gray);
  margin-top: 14px;
}

/* Stickers drifting around the hero. */
.floaty {
  position: absolute;
  z-index: 0;
  animation: float 7s ease-in-out infinite;
}
.floaty .sticker {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 14px rgba(35, 30, 69, 0.12));
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(var(--r, 0deg));
  }
  50% {
    transform: translateY(-14px) rotate(calc(var(--r, 0deg) + 6deg));
  }
}
.hero .wrap {
  position: relative;
  z-index: 1;
}
/* On phones the text fills the width, so only the corner stickers stay. */
@media (max-width: 900px) {
  .floaty.wide-only {
    display: none;
  }
}

/* ---------- the phone ---------- */
.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
}
.phone {
  position: relative;
  width: 300px;
  height: 610px;
  border-radius: 46px;
  background: var(--navy);
  padding: 12px;
  box-shadow:
    0 40px 80px rgba(35, 30, 69, 0.25),
    0 0 0 6px rgba(255, 255, 255, 0.6);
  transform: rotate(3deg);
}
.phone::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 50%;
  width: 92px;
  height: 26px;
  margin-left: -46px;
  border-radius: 20px;
  background: var(--navy);
  z-index: 3;
}
.screen {
  position: relative;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #fde7ee;
  padding: 58px 16px 16px;
}
.screen-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.song {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 5px 12px 5px 5px;
  font-size: 11.5px;
  font-weight: 800;
  line-height: 1.2;
}
.song b {
  display: block;
}
.song small {
  color: var(--muted);
  font-weight: 700;
}
.song .disc {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: conic-gradient(from 30deg, var(--pink), #ffd6e2, var(--pink));
  border: 2px solid var(--navy);
}
.verified {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--pink);
  color: white;
  font-size: 13px;
  font-weight: 900;
  display: grid;
  place-items: center;
}
.screen h4 {
  font-family: 'Shrikhand', 'Fredoka', serif;
  font-weight: 400;
  font-size: 34px;
  margin: 14px 0 0;
  color: var(--navy);
  line-height: 1;
}
.screen .meta {
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  margin-top: 4px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 10px;
}
.chips span {
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #f3cdd9;
}
.board {
  position: relative;
  height: 270px;
  margin-top: 10px;
}
.polaroid {
  position: absolute;
  left: 4px;
  top: 10px;
  width: 128px;
  padding: 7px 7px 26px;
  background: white;
  border-radius: 4px;
  transform: rotate(-6deg);
  box-shadow: 0 8px 18px rgba(35, 30, 69, 0.14);
}
.polaroid .pic {
  height: 120px;
  border-radius: 2px;
  background: linear-gradient(160deg, #ffd6e2, #eae3fb 55%, #dcedfb);
  display: grid;
  place-items: center;
}
.polaroid .pic .sticker {
  width: 72px;
  height: 72px;
}
.polaroid p {
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
  font-family: 'Gochi Hand', cursive;
  font-size: 15px;
}
.note {
  position: absolute;
  right: 0;
  top: 0;
  width: 128px;
  padding: 10px 12px;
  background: #fff8d6;
  border-radius: 6px;
  transform: rotate(4deg);
  font-family: 'Gochi Hand', cursive;
  font-size: 15px;
  line-height: 1.15;
  color: var(--navy);
  box-shadow: 0 8px 18px rgba(35, 30, 69, 0.12);
}
.board .sticker {
  position: absolute;
  width: 54px;
  height: 54px;
}
.actions {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 60px;
}
.actions span {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(35, 30, 69, 0.18);
}
.actions .skip {
  background: var(--navy);
  color: white;
}
.actions .hi {
  background: white;
  color: #c2185b;
}

/* ---------- sections ---------- */
.section {
  padding-top: 84px;
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}
.kicker {
  display: inline-block;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--pink-deep);
  margin-bottom: 8px;
}
h2 {
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.05;
  letter-spacing: -1px;
  margin: 0;
}
.section-head p {
  color: var(--muted);
  font-size: 18px;
  margin: 12px 0 0;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 900px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .features {
    grid-template-columns: 1fr;
  }
}
.feature {
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.25s ease;
}
.feature:hover {
  transform: translateY(-4px) rotate(-0.4deg);
}
.feature .sticker {
  width: 70px;
  height: 70px;
}
.feature h3 {
  font-size: 21px;
  margin: 14px 0 6px;
  font-weight: 900;
}
.feature p {
  margin: 0;
  color: #4a4256;
  font-size: 16px;
}
.tint-pink {
  background: var(--pink-100);
}
.tint-lavender {
  background: var(--lavender);
}
.tint-mint {
  background: var(--mint);
}
.tint-butter {
  background: var(--butter);
}
.tint-sky {
  background: var(--sky);
}
.tint-peach {
  background: var(--peach);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  counter-reset: step;
}
@media (max-width: 800px) {
  .steps {
    grid-template-columns: 1fr;
  }
}
.step {
  position: relative;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px 24px;
  text-align: center;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -16px;
  left: 50%;
  margin-left: -16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pink);
  color: white;
  font-weight: 900;
  display: grid;
  place-items: center;
}
.step .sticker {
  width: 76px;
  height: 76px;
  margin: 4px auto 6px;
}
.step h3 {
  margin: 4px 0 4px;
  font-size: 20px;
  font-weight: 900;
}
.step p {
  margin: 0;
  color: var(--muted);
}

/* Made for sri lanka: a slow scrolling ribbon. */
.ribbon {
  width: 110%;
  margin-left: -5%;
  margin-top: 88px;
  padding: 22px 0;
  background: var(--ink);
  color: white;
  overflow: hidden;
  transform: rotate(-1.5deg);
}
.ribbon-track {
  display: flex;
  width: max-content;
  animation: ribbon 40s linear infinite;
}
.ribbon-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 22px;
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 24px;
  white-space: nowrap;
}
.ribbon-item .sticker {
  width: 44px;
  height: 44px;
}
@keyframes ribbon {
  to {
    transform: translateX(-50%);
  }
}

.facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.fact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 8px;
  font-size: 16px;
  border-radius: 999px;
  background: var(--blush);
  border: 1.5px solid var(--line);
  font-weight: 800;
}
.fact .sticker {
  width: 34px;
  height: 34px;
}

.info {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
@media (max-width: 900px) {
  .info {
    grid-template-columns: repeat(2, 1fr);
  }
}
.info a {
  display: block;
  text-decoration: none;
  padding: 20px;
  border-radius: 22px;
  background: var(--white);
  border: 1.5px solid var(--line);
  font-weight: 900;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease;
}
.info a:hover {
  transform: translateY(-3px);
  border-color: var(--pink-200);
}
.info small {
  display: block;
  color: var(--muted);
  font-weight: 700;
  margin-top: 2px;
}

/* ---------- footer (the closing call to action) ---------- */
.outro {
  position: relative;
  margin-top: 110px;
  padding: 110px 0 56px;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(520px 420px at 0% 100%, rgba(255, 178, 160, 0.55), transparent 70%),
    radial-gradient(560px 420px at 100% 0%, rgba(233, 214, 255, 0.7), transparent 70%),
    radial-gradient(600px 300px at 50% 0%, rgba(255, 228, 236, 0.9), transparent 70%),
    #fff9fb;
}
.outro-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}
.outro h2 {
  font-size: clamp(26px, 3.2vw, 36px);
  max-width: 560px;
  margin: 0 auto;
}
.outro .btn {
  margin-top: 22px;
}
.mascot {
  width: 104px;
  height: 104px;
  flex: none;
  animation: bob 3.2s ease-in-out infinite;
}
.mascot.right {
  animation-delay: -1.6s;
}
.mascot .eyes {
  transform-box: fill-box;
  transform-origin: center;
  animation: blink 5s infinite;
}
.mascot.right .eyes {
  animation-delay: -2.2s;
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0) rotate(-3deg);
  }
  50% {
    transform: translateY(-12px) rotate(3deg);
  }
}
@keyframes blink {
  0%,
  92%,
  100% {
    transform: scaleY(1);
  }
  95% {
    transform: scaleY(0.1);
  }
}
@media (max-width: 720px) {
  .outro-row {
    flex-direction: column;
    gap: 18px;
  }
  .mascot.right {
    display: none;
  }
}
.about {
  max-width: 520px;
  margin: 70px auto 0;
  color: var(--muted);
  font-size: 15px;
}
.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-top: 18px;
  font-size: 15px;
  font-weight: 700;
}
.legal-links a {
  color: var(--ink);
  text-underline-offset: 3px;
}
.copyright {
  color: var(--gray);
  font-size: 14px;
  margin-top: 18px;
}

/* ---------- policy pages ---------- */
.doc {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px 0;
}
.doc h1 {
  font-family: 'Fredoka', 'Nunito', sans-serif;
  font-size: clamp(36px, 6vw, 52px);
  line-height: 1;
  margin: 0;
  letter-spacing: -1px;
}
.doc .updated {
  color: var(--muted);
  font-weight: 700;
  margin: 10px 0 28px;
}
.doc section {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 18px 22px;
  margin: 12px 0;
}
.doc h2 {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 19px;
  letter-spacing: 0;
  margin: 0 0 6px;
}
.doc p {
  margin: 0;
  color: #3f384a;
}
.doc a {
  color: var(--pink-deep);
  font-weight: 800;
}

/* Calm down for people who asked their phone for less motion. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  html {
    scroll-behavior: auto;
  }
}
