/* LumiNus website: one stylesheet for every page.
   Colours are the app's own (app/theme/palette.ts); the layout follows the
   December 2024 pitch deck: white space, Montserrat, pastel cards. */

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #161d1c;
  --ink-soft: #3f4745;
  --muted: #5b6361;
  --teal: #81ccc4;
  --teal-light: #a6d5d3;
  --teal-haze: #c9e9e6;
  --teal-pale: #e3f5f3;
  --teal-mist: #f1faf9;
  --teal-ink: #416662;
  --teal-night: #1f6a79;
  --peach: #f5bd9f;
  --peach-pale: #fcebe1;
  --sand: #f0dbc4;
  --sand-pale: #f7ede1;
  --cream: #fdfbf9;
  --line: #e2e8ea;
  --radius-card: 30px;
  --radius-shell: 40px;
  --shadow: 0 12px 32px rgba(30, 51, 43, 0.08);
  --gutter: clamp(16px, 5vw, 64px);
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-soft);
  background: #ffffff;
}

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

a {
  color: var(--teal-ink);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--ink);
}
:focus-visible {
  outline: 3px solid var(--teal-night);
  outline-offset: 3px;
  border-radius: 6px;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(2.4rem, 6vw, 4.1rem);
}
h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.7rem);
}
h3 {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
}
p {
  margin: 0 0 1em;
}

.skip {
  position: absolute;
  left: -999px;
  top: 10px;
  z-index: 10;
  background: #ffffff;
  color: var(--ink);
  padding: 8px 16px;
  border-radius: 999px;
}
.skip:focus {
  left: 16px;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- header ---------- */

.site-header {
  padding-block: 22px;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.wordmark {
  font-weight: 600;
  font-size: 1.65rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
}
.wordmark:hover {
  color: var(--ink);
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}
.nav a:hover {
  text-decoration: underline;
}
@media (max-width: 760px) {
  .nav .hide-sm {
    display: none;
  }
}

/* ---------- hero ---------- */

.hero,
.page-hero {
  background: linear-gradient(180deg, var(--teal-haze) 0%, var(--teal-light) 60%, var(--teal) 100%);
}
.hero {
  padding-bottom: calc(var(--radius-shell) + 48px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 32px;
  padding-block: 28px 8px;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 20px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.85rem;
}
.lead {
  max-width: 34em;
  font-size: clamp(1.1rem, 1.7vw, 1.28rem);
  color: var(--ink);
}
.markets {
  margin: 22px 0 0;
  font-size: 0.92rem;
  color: var(--ink);
}
.hero-art {
  position: relative;
  justify-self: center;
  width: min(300px, 78%);
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: 4% -14% -4%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
}
.hero-art img {
  position: relative;
  width: 100%;
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-art {
    order: -1;
    width: min(190px, 48%);
  }
}

/* ---------- buttons ---------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-white {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(57, 112, 145, 0.18);
}
.btn-white:hover {
  color: var(--ink);
}
.btn-teal {
  background: var(--teal);
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(57, 112, 145, 0.22);
}
.btn-teal:hover {
  color: var(--ink);
}
.text-link {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- the white shell over the gradient, as in the app ---------- */

.shell {
  position: relative;
  margin-top: calc(-1 * var(--radius-shell));
  background: #ffffff;
  border-radius: var(--radius-shell) var(--radius-shell) 0 0;
}
section {
  padding-block: clamp(56px, 8vw, 96px);
}
.section-head {
  max-width: 720px;
  margin: 0 auto clamp(32px, 5vw, 56px);
  text-align: center;
}
.section-head p {
  color: var(--muted);
  font-size: 1.08rem;
}
.kicker {
  display: block;
  margin-bottom: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-ink);
}

/* ---------- pastel cards, as in the deck ---------- */

.cards-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 24px;
}
.pcard {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: #ffffff;
  box-shadow: var(--shadow);
}
.pcard-head {
  min-height: 124px;
  padding: 26px 28px 52px;
}
@media (max-width: 860px) {
  .pcard-head {
    min-height: 0;
  }
}
.pcard-head h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 500;
}
.pcard-body {
  flex: 1;
  margin-top: -26px;
  padding: 26px 28px 30px;
  background: #ffffff;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}
.dots {
  margin: 0;
  padding: 0;
  list-style: none;
}
.dots li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 20px;
}
.dots li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot, var(--teal));
}
.teal .pcard-head {
  background: #bce6e1;
}
.peach .pcard-head {
  background: var(--peach);
}
.sand .pcard-head {
  background: var(--sand);
}
.teal {
  --dot: var(--teal);
}
.peach {
  --dot: var(--peach);
}
.sand {
  --dot: #dfbf9a;
}

/* ---------- how it works ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 22px;
}
.feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 26px 26px 28px;
  border: 1px solid #f1e8dd;
  border-radius: 24px;
  background: var(--cream);
}
.feature h3 {
  margin-bottom: 6px;
}
.feature p {
  margin: 0;
}
.disc {
  display: grid;
  flex: none;
  place-items: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--teal-pale);
}
.disc img {
  width: auto;
  height: 74px;
}
.disc.peach {
  background: var(--peach-pale);
}
.disc.sand {
  background: var(--sand-pale);
}
.disc.big {
  width: 132px;
  height: 132px;
}
.disc.big img {
  height: 104px;
}

/* ---------- our promise ---------- */

.band-mint {
  background: var(--teal-mist);
}
.promises {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: 20px;
}
.promise {
  padding: 26px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: var(--shadow);
}
.promise p {
  margin: 0;
}
.chip {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--teal);
}
.chip.peach {
  background: var(--peach);
}
.chip.sand {
  background: #dfbf9a;
}

/* ---------- who it's for ---------- */

.stages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 20px;
}
.stage {
  padding: 26px 28px;
  border-radius: 24px;
  border-top: 6px solid var(--teal);
  background: var(--cream);
}
.stage.peach {
  border-top-color: var(--peach);
}
.stage.sand {
  border-top-color: #dfbf9a;
}
.stage p {
  margin: 0;
}

/* ---------- meet Lumi ---------- */

.lumi-panel {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 32px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--radius-shell);
  background: linear-gradient(160deg, var(--sand-pale), var(--peach-pale));
}
.lumi-panel h2 {
  margin-bottom: 0.4em;
}
.lumi-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(8px, 2.5vw, 28px);
}
.lumi-row img {
  width: auto;
  height: clamp(110px, 15vw, 170px);
}
@media (max-width: 860px) {
  .lumi-panel {
    grid-template-columns: 1fr;
  }
}

/* ---------- private by design ---------- */

.privacy-strip {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}
.privacy-strip h2 {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
}
.privacy-strip p {
  max-width: 40em;
}
@media (max-width: 640px) {
  .privacy-strip {
    grid-template-columns: 1fr;
  }
}

/* ---------- about ---------- */

.section-tight {
  padding-block: clamp(24px, 4vw, 48px);
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
}
.facts div {
  padding: 18px 20px;
  border-radius: 18px;
  background: var(--cream);
  border: 1px solid #f1e8dd;
}
.facts dt {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.facts dd {
  margin: 4px 0 0;
  font-weight: 500;
  color: var(--ink);
}
.note {
  margin: 28px auto 0;
  max-width: 720px;
  text-align: center;
  color: var(--muted);
}

/* ---------- call to action ---------- */

.cta {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  overflow: hidden;
  padding: clamp(32px, 6vw, 64px);
  border-radius: var(--radius-shell);
  background: var(--teal-night);
  color: #e6f3f4;
}
.cta h2 {
  color: #ffffff;
}
.cta p {
  max-width: 34em;
  font-size: 1.08rem;
}
.cta-art {
  width: clamp(110px, 16vw, 170px);
}
@media (max-width: 760px) {
  .cta {
    grid-template-columns: 1fr;
  }
  .cta-art {
    order: -1;
    width: 110px;
  }
}

/* ---------- footer ---------- */

.site-footer {
  padding-block: 40px;
  border-top: 1px solid #f1e8dd;
  background: var(--cream);
  font-size: 0.92rem;
  color: var(--muted);
}
.site-footer .wrap {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}
.site-footer p {
  margin: 8px 0 0;
}
.site-footer .wordmark {
  font-size: 1.3rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-content: flex-start;
  gap: 10px 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-links a {
  color: var(--ink);
  font-weight: 500;
}
@media (max-width: 640px) {
  .site-footer .wrap {
    grid-template-columns: 1fr;
  }
  .footer-links {
    justify-content: flex-start;
  }
}

/* ---------- inner pages: privacy, support, 404 ---------- */

.page-hero {
  padding-bottom: calc(var(--radius-shell) + 28px);
}
.page-hero .wrap {
  padding-top: 12px;
}
.page-hero h1 {
  margin-top: 8px;
  font-size: clamp(2.1rem, 5vw, 3.2rem);
}
.page-hero .lead {
  margin-bottom: 0;
}
.doc {
  max-width: 780px;
  margin-inline: auto;
}
.doc h2 {
  margin-top: 2.2em;
  font-size: clamp(1.45rem, 2.6vw, 1.85rem);
}
.doc h2:first-of-type {
  margin-top: 1em;
}
.doc h3 {
  margin-top: 1.6em;
}
.doc ul,
.doc ol {
  padding-left: 1.25em;
}
.doc li {
  margin-bottom: 0.45em;
}
.table-scroll {
  overflow-x: auto;
  margin: 1em 0 1.6em;
}
.doc table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.doc th,
.doc td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.doc th {
  background: var(--teal-mist);
  color: var(--ink);
  font-weight: 600;
}
.summary {
  margin: 0 0 32px;
  padding: 22px 26px;
  border-radius: 22px;
  background: var(--teal-mist);
}
.summary h2 {
  margin-top: 0;
  font-size: 1.3rem;
}
.summary ul {
  margin: 0;
}
.toc {
  margin: 0 0 8px;
  padding: 20px 24px;
  border-radius: 20px;
  background: var(--cream);
  border: 1px solid #f1e8dd;
}
.toc strong {
  color: var(--ink);
}
.toc ol {
  margin: 8px 0 0;
  columns: 2;
  column-gap: 32px;
}
@media (max-width: 640px) {
  .toc ol {
    columns: 1;
  }
}

.contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 24px;
  margin-bottom: 40px;
  padding: clamp(22px, 4vw, 34px);
  border-radius: var(--radius-card);
  background: var(--sand-pale);
}
.contact-card h2 {
  margin: 0 0 0.3em;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
}
.contact-card p {
  margin: 0;
}
@media (max-width: 560px) {
  .contact-card {
    grid-template-columns: 1fr;
  }
}

.faq details {
  margin-bottom: 12px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
}
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  color: var(--ink);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 500;
  color: var(--teal-ink);
}
.faq details[open] summary::after {
  content: "\2013";
}
.faq details p {
  margin: 0 0 18px;
}

.lost {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding-block: 32px 72px;
  text-align: center;
}
.lost img {
  width: 150px;
  margin-bottom: 12px;
}

/* ---------- to be confirmed: easy to find, meant to be removed ---------- */

.tbc {
  padding: 0 6px;
  border: 1px dashed #d9a600;
  border-radius: 6px;
  background: #fff1bf;
  color: #574100;
  font-weight: 600;
  font-size: 0.92em;
}
.draft-banner {
  margin: 0 0 28px;
  padding: 14px 18px;
  border: 1px dashed #d9a600;
  border-radius: 16px;
  background: #fff1bf;
  color: #574100;
  font-weight: 500;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .hero-art img {
    animation: none;
  }
  .btn {
    transition: none;
  }
}
