:root {
  --pink: #f06aa8;
  --hot-pink: #f44796;
  --deep-pink: #cf3f83;
  --rose: #ffe4f0;
  --purple: #8f65ff;
  --green: #42b883;
  --amber: #ffb84d;
  --ink: #281d2c;
  --muted: #766776;
  --paper: rgba(255, 255, 255, 0.86);
  --paper-strong: rgba(255, 255, 255, 0.94);
  --line: rgba(82, 38, 66, 0.12);
  --shadow: 0 24px 70px rgba(126, 45, 87, 0.18);
  --scrollY: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.88), transparent 24rem),
    radial-gradient(circle at 88% 8%, rgba(143, 101, 255, 0.22), transparent 26rem),
    linear-gradient(135deg, #ffeaf4 0%, #fff9fc 46%, #ffe0ee 100%);
  font-family: Inter, ui-rounded, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.page-glow {
  position: fixed;
  inset: -18vh -14vw;
  z-index: -5;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% calc(26% + var(--scrollY) * 0.012), rgba(240, 106, 168, 0.34), transparent 25rem),
    radial-gradient(circle at 82% calc(18% + var(--scrollY) * 0.01), rgba(66, 184, 131, 0.18), transparent 28rem),
    radial-gradient(circle at 70% 90%, rgba(143, 101, 255, 0.16), transparent 30rem);
  transform: translate3d(0, calc(var(--scrollY) * -0.04), 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px clamp(16px, 5vw, 58px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 239, 248, 0.78);
  backdrop-filter: blur(24px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 116px;
}

.brand img,
footer img {
  display: block;
  width: 118px;
  height: auto;
  max-height: none;
  object-fit: contain;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 32px);
}

nav a,
footer a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
}

.download-pill,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 900;
}

.download-pill,
.primary-button {
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  box-shadow: 0 16px 34px rgba(240, 106, 168, 0.28);
}

.secondary-button {
  color: var(--hot-pink);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(240, 106, 168, 0.20);
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(310px, 520px);
  align-items: center;
  gap: clamp(26px, 6vw, 88px);
  min-height: calc(100vh - 72px);
  padding: clamp(34px, 7vw, 90px) clamp(16px, 6vw, 82px);
}

.hero-copy {
  max-width: 780px;
  transform: translate3d(0, calc(var(--scrollY) * -0.035), 0);
}

.eyebrow {
  margin: 0 0 9px;
  color: var(--deep-pink);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Baloo 2", Inter, sans-serif;
  letter-spacing: 0;
  line-height: 0.96;
}

h1 {
  max-width: 880px;
  font-size: clamp(46px, 7vw, 96px);
}

h2 {
  font-size: clamp(34px, 5vw, 64px);
}

h3 {
  font-size: clamp(23px, 3vw, 34px);
}

.lede,
.story-section p,
.support-copy p,
.privacy-head p,
.policy-grid p {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.58;
}

.lede {
  max-width: 640px;
  font-size: clamp(17px, 2vw, 21px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-art,
.story-poster,
.feature-art {
  position: relative;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter:
    drop-shadow(0 0 18px rgba(240, 106, 168, 0.30))
    drop-shadow(0 24px 46px rgba(240, 106, 168, 0.28));
}

.hero-art {
  width: min(100%, 460px);
  max-width: 460px;
  justify-self: center;
  transform: translate3d(0, calc(var(--scrollY) * 0.035), 0) rotate(1.5deg);
}

.promo-crop {
  aspect-ratio: auto;
}

.hero-art img,
.story-poster img,
.feature-art img {
  display: block;
  width: 100%;
  height: auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.4vw, 24px);
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 58px;
}

.feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: visible;
  min-height: 620px;
  padding: clamp(16px, 2.2vw, 24px);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 232, 244, 0.76));
  box-shadow: 0 20px 60px rgba(126, 45, 87, 0.12);
}

.feature-card.shift-down {
  margin-top: 34px;
}

.feature-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 12px;
  border-radius: 50%;
  color: #fff;
  background: var(--pink);
  font-size: 12px;
  font-weight: 900;
}

.feature-card h2 {
  max-width: 520px;
  font-size: clamp(27px, 3.2vw, 42px);
}

.feature-card p {
  max-width: 500px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.42;
}

.feature-art {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 100%;
  height: clamp(330px, 38vw, 440px);
  margin: auto auto -8px;
}

.feature-art img {
  width: auto;
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}

.feature-art-large {
  height: clamp(380px, 43.7vw, 506px);
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 470px);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 74px 0 90px;
}

.story-section > div {
  padding: clamp(20px, 4vw, 34px);
  border-radius: 34px;
  background: var(--paper);
  box-shadow: 0 18px 60px rgba(126, 45, 87, 0.10);
  backdrop-filter: blur(18px);
}

.story-section p {
  font-size: 17px;
}

.story-poster {
  margin: 0;
  transform: translate3d(0, calc(var(--scrollY) * -0.025), 0) rotate(-1deg);
}

.support-section,
.privacy-section {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto 34px;
}

.support-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: start;
  padding: 76px 0;
}

.support-copy {
  position: sticky;
  top: 104px;
}

.support-panels {
  display: grid;
  gap: 14px;
}

.glass-panel,
.privacy-section {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 30px;
  background: var(--paper-strong);
  box-shadow: 0 18px 56px rgba(126, 45, 87, 0.10);
  backdrop-filter: blur(20px);
}

.glass-panel {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 4vw, 28px);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 18px;
  outline: 0;
  background: rgba(255, 255, 255, 0.90);
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(240, 106, 168, 0.62);
  box-shadow: 0 0 0 4px rgba(240, 106, 168, 0.12);
}

button:disabled {
  cursor: progress;
  opacity: 0.68;
}

.form-message {
  min-height: 18px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.form-message[data-tone="success"] {
  color: #267b54;
}

.form-message[data-tone="error"] {
  color: #b52458;
}

.privacy-section {
  padding: clamp(18px, 5vw, 44px);
}

.legal-page {
  padding: clamp(34px, 7vw, 82px) clamp(16px, 6vw, 82px) 20px;
}

.legal-hero {
  width: min(980px, 100%);
  margin: 0 auto 28px;
  text-align: center;
}

.legal-hero h1 {
  margin-inline: auto;
}

.legal-hero .lede {
  margin-inline: auto;
}

.policy-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}

.privacy-head {
  max-width: 760px;
  margin-bottom: 24px;
}

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

.policy-grid article {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 246, 251, 0.78);
  border: 1px solid rgba(240, 106, 168, 0.12);
}

.policy-grid h3 {
  font-size: 24px;
}

.privacy-note {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 246, 251, 0.86);
  border: 1px solid rgba(240, 106, 168, 0.14);
}

.privacy-note p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 46px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

footer div {
  display: flex;
  gap: 18px;
}

.hidden {
  display: none !important;
}

.dashboard-page {
  width: min(1180px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(42px, 9vw, 92px) 0 24px;
}

.dashboard-login-brand {
  width: min(460px, 100%);
  margin: 0 auto 18px;
  text-align: center;
}

.dashboard-login-brand h1 {
  color: var(--hot-pink);
  font-size: clamp(70px, 12vw, 128px);
  line-height: 0.84;
}

.dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 240px);
  gap: clamp(18px, 5vw, 58px);
  align-items: center;
  margin-bottom: 22px;
}

.dashboard-hero h1 {
  font-size: clamp(48px, 8vw, 92px);
}

.dashboard-hero img {
  width: min(100%, 230px);
  justify-self: end;
  filter:
    drop-shadow(0 0 18px rgba(240, 106, 168, 0.28))
    drop-shadow(0 22px 40px rgba(143, 101, 255, 0.18));
}

.dashboard-auth {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
  width: min(460px, 100%);
  margin: 0 auto;
}

.dashboard-auth h2 {
  font-size: clamp(30px, 4vw, 46px);
}

.dashboard-auth .primary-button {
  width: 100%;
}

.panel-copy,
.panel-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

.dashboard-setup-note ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.dashboard-shell {
  display: grid;
  gap: 16px;
}

.dashboard-toolbar,
.insight-panel {
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  background: var(--paper-strong);
  box-shadow: 0 18px 56px rgba(126, 45, 87, 0.10);
  backdrop-filter: blur(20px);
}

.dashboard-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(18px, 4vw, 28px);
}

.dashboard-toolbar h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.dashboard-controls {
  display: flex;
  align-items: end;
  gap: 10px;
}

.dashboard-controls label {
  min-width: 136px;
}

.export-panel {
  gap: 12px;
}

.export-controls {
  display: flex;
  align-items: end;
  gap: 10px;
}

.export-controls label {
  min-width: min(100%, 280px);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.metric-card {
  display: grid;
  gap: 8px;
  min-height: 122px;
  padding: 18px;
  border: 1px solid rgba(240, 106, 168, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 16px 42px rgba(126, 45, 87, 0.08);
}

.metric-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metric-card strong {
  align-self: end;
  font-family: "Baloo 2", Inter, sans-serif;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 0.95;
}

.insight-panel {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 4vw, 28px);
}

.panel-heading {
  display: grid;
  gap: 5px;
}

.daily-bars {
  display: grid;
  gap: 10px;
}

.daily-bar {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) minmax(220px, auto);
  gap: 12px;
  align-items: center;
}

.daily-bar span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.daily-bar strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.3;
}

.daily-bar-track {
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(240, 106, 168, 0.12);
}

.daily-bar-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--pink), var(--purple));
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid rgba(240, 106, 168, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
}

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(82, 38, 66, 0.09);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--deep-pink);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 228, 240, 0.54);
}

td {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.42;
}

tr:last-child td {
  border-bottom: 0;
}

.empty-state {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 960px) {
  .hero-section,
  .story-section,
  .support-section {
    grid-template-columns: 1fr;
  }

  .hero-art,
  .story-poster {
    max-width: 520px;
  }

  .feature-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .feature-card.shift-down {
    min-height: 560px;
    margin-top: 0;
  }

  .support-copy {
    position: static;
  }

  .dashboard-auth,
  .dashboard-hero,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-hero img {
    justify-self: center;
    width: min(100%, 160px);
  }

  .daily-bar {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 700px) {
  .site-header {
    align-items: flex-start;
  }

  nav {
    display: none;
  }

  .brand img {
    width: 105px;
  }

  .download-pill {
    min-height: 40px;
    padding-inline: 14px;
    font-size: 13px;
  }

  .hero-section {
    min-height: auto;
    padding-top: 42px;
  }

  h1 {
    font-size: 43px;
  }

  .hero-actions,
  footer {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .feature-card {
    min-height: 520px;
  }

  .feature-art {
    height: 330px;
    margin-bottom: -6px;
  }

  .dashboard-toolbar,
  .dashboard-controls,
  .export-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .dashboard-page {
    padding-top: 28px;
  }

  .dashboard-hero {
    gap: 12px;
    margin-bottom: 16px;
  }

  .dashboard-hero h1 {
    font-size: 43px;
  }

  .dashboard-hero img {
    display: none;
  }

  .dashboard-controls label,
  .dashboard-controls .primary-button,
  .export-controls label,
  .export-controls .secondary-button {
    width: 100%;
  }
}

@media (max-width: 460px) {
  .feature-card {
    min-height: 500px;
  }

  .feature-art {
    height: 300px;
  }
}
