/* Lumo website. Colours and type follow the app's theme (lib/core/theme/lumo_theme.dart). */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --ink: #1b1e2b;
  --ink-soft: #5b6072;
  --cream: #fff9f1;
  --cream-deep: #ffefd3;
  --surface: #ffffff;
  --line: #efe6d8;
  --gold: #ffc94d;
  --gold-strong: #ffb21e;
  --gold-text: #a35f00;
  --coral: #e5395b;
  --mint: #12956a;
  --violet: #7b5ce0;
  --blue: #4a8bff;
  --radius: 28px;
  --shadow: 0 24px 60px rgba(120, 70, 0, 0.14);
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-text); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
h1 { font-size: clamp(2.7rem, 7.4vw, 5rem); }
h2 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.lead { font-size: clamp(1.08rem, 2.1vw, 1.3rem); color: var(--ink-soft); line-height: 1.5; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 12px; z-index: 100; }
.skip:focus { left: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 249, 241, 0.86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.site-header.scrolled { border-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; color: var(--ink); text-decoration: none; }
.brand img { width: 38px; height: 38px; border-radius: 22.37%; box-shadow: 0 6px 14px rgba(160, 90, 0, 0.25); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.96rem; }
.nav a:hover { color: var(--gold-text); }
.nav .links { display: none; gap: 28px; }
@media (min-width: 820px) { .nav .links { display: flex; } }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform 0.15s, box-shadow 0.15s; }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 24px rgba(255, 178, 30, 0.38); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(255, 178, 30, 0.48); }
.nav .btn { min-height: 42px; padding: 0 18px; font-size: 0.95rem; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(900px 620px at 6% -10%, #ffeb8a 0%, rgba(255, 235, 138, 0) 62%), radial-gradient(900px 800px at 104% 108%, #ff8a1f 0%, rgba(255, 138, 31, 0) 58%), linear-gradient(160deg, #ffd44f 0%, #ffb623 54%, #ff9d1c 100%); }
.hero .wrap { display: grid; gap: 40px; padding: 56px 0 0; }
.hero h1 em { font-style: normal; color: #fff; text-shadow: 0 4px 22px rgba(170, 80, 0, 0.28); }
.hero .lead { color: rgba(27, 30, 43, 0.82); margin-top: 22px; max-width: 34ch; }
.hero .eyebrow { color: rgba(27, 30, 43, 0.75); margin-bottom: 18px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 58px; padding: 8px 22px 8px 18px; border-radius: 16px; background: var(--ink); color: #fff; text-decoration: none; box-shadow: 0 14px 30px rgba(60, 30, 0, 0.3); transition: transform 0.15s; }
.store:hover { transform: translateY(-2px); }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 0.7rem; font-weight: 500; opacity: 0.75; line-height: 1.2; }
.store b { display: block; font-size: 1.08rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.store.soon { cursor: default; background: rgba(27, 30, 43, 0.86); }
.store.soon:hover { transform: none; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 28px 0 0; padding: 0; list-style: none; font-weight: 600; font-size: 0.95rem; color: rgba(27, 30, 43, 0.84); }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust svg { width: 18px; height: 18px; }
.hero-art { position: relative; justify-self: center; width: min(360px, 78vw); margin-bottom: -90px; }
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: 1.05fr 0.95fr; align-items: center; padding-top: 72px; gap: 20px; }
  .hero-art { width: 400px; margin-bottom: -120px; }
}

/* Phone */
.phone { position: relative; z-index: 2; border-radius: 15.4% / 7.1%; padding: 2.4%; background: linear-gradient(145deg, #2b2e3c, #0c0d14 40%, #1b1d28); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.14), 0 40px 80px rgba(96, 44, 0, 0.4), 0 10px 24px rgba(0, 0, 0, 0.22); }
.phone .screen { border-radius: 13.6% / 6.2%; overflow: hidden; background: var(--cream); aspect-ratio: 1080 / 2400; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; }
.phone.plain { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.14), 0 30px 70px rgba(120, 70, 0, 0.22), 0 8px 20px rgba(0, 0, 0, 0.14); }
.float-card { position: absolute; z-index: 3; width: 38%; aspect-ratio: 3 / 4; border-radius: 22px; border: 5px solid #fff; background-size: cover; background-position: center; box-shadow: 0 24px 50px rgba(96, 44, 0, 0.36); animation: bob 7s ease-in-out infinite; }
.float-card.left { left: -22%; top: 46%; --tilt: -12deg; transform: rotate(var(--tilt)); }
.float-card.right { right: -24%; top: 22%; --tilt: 10deg; transform: rotate(var(--tilt)); animation-delay: -3.5s; }
.float-card span { position: absolute; top: 10%; padding: 2px 10px 3px; border: 3px solid #fff; border-radius: 10px; color: #fff; font-weight: 800; font-size: clamp(0.7rem, 1.6vw, 1rem); letter-spacing: 0.04em; }
.float-card.left span { right: 8%; background: rgba(229, 57, 91, 0.92); transform: rotate(8deg); }
.float-card.right span { left: 8%; background: rgba(18, 149, 106, 0.94); transform: rotate(-7deg); }
.orbit { position: absolute; z-index: 1; left: -45%; right: -45%; top: 52%; aspect-ratio: 3 / 1; border: 4px solid rgba(255, 255, 255, 0.9); border-radius: 50%; transform: rotate(-15deg); box-shadow: 0 0 26px rgba(255, 255, 255, 0.85), inset 0 0 26px rgba(255, 255, 255, 0.5); }
@keyframes bob { 0%, 100% { transform: rotate(var(--tilt)) translateY(0); } 50% { transform: rotate(var(--tilt)) translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .float-card { animation: none; } html { scroll-behavior: auto; } }

/* Sections */
section { padding: 88px 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 { margin: 14px 0 16px; }
.after-hero { padding-top: 96px; }

.steps { display: grid; gap: 18px; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { counter-increment: step; position: relative; padding: 30px 28px 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 20px; border-radius: 50%; background: var(--gold); font-weight: 800; font-size: 1.15rem; }
.step p { margin-top: 10px; color: var(--ink-soft); }

.feature { display: grid; gap: 36px; align-items: center; }
.feature + .feature { margin-top: 96px; }
.feature .shot { justify-self: center; width: min(300px, 70vw); }
.feature h2 { margin: 14px 0 16px; }
.feature ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.feature li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.feature li svg { width: 22px; height: 22px; margin-top: 3px; color: var(--gold-strong); }
.feature li b { font-weight: 700; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 72px; }
  .feature.flip .shot { order: 2; }
  .feature .shot { width: 320px; }
}
.tint { background: linear-gradient(180deg, var(--cream) 0%, var(--cream-deep) 100%); }
.dots { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.dot-chip { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 10px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; font-size: 0.95rem; }
.dot-chip i { width: 11px; height: 11px; border-radius: 50%; }

.dark { background: radial-gradient(800px 600px at 92% -10%, #4a3f2a 0%, rgba(74, 63, 42, 0) 60%), linear-gradient(170deg, #1d2030 0%, #12141f 100%); color: #fff; }
.dark .lead, .dark .feature li, .dark p { color: rgba(255, 255, 255, 0.76); }
.dark .feature li b, .dark h2, .dark h3 { color: #fff; }
.dark .eyebrow { color: var(--gold); }
.dark h2 em { font-style: normal; color: var(--gold); }

.cards { display: grid; gap: 18px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card { padding: 28px 26px 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.card .ico { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 18px; border-radius: 16px; background: #fff3d6; color: var(--gold-text); }
.card .ico svg { width: 26px; height: 26px; }
.card p { margin-top: 8px; color: var(--ink-soft); font-size: 0.98rem; }

.plans { display: grid; gap: 18px; }
@media (min-width: 820px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { padding: 34px 30px 36px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.plan.premium { border: 2px solid var(--gold); background: linear-gradient(180deg, #fff6e0, #fff); box-shadow: var(--shadow); }
.plan .tag { display: inline-block; padding: 5px 14px; border-radius: 999px; background: linear-gradient(90deg, var(--gold), #ff9d5c); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.08em; }
.plan h3 { font-size: 1.7rem; margin: 14px 0 6px; letter-spacing: -0.03em; }
.plan > p { color: var(--ink-soft); }
.plan ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.plan li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; }
.plan li svg { width: 20px; height: 20px; margin-top: 4px; color: var(--mint); }
.fine { margin-top: 22px; font-size: 0.9rem; color: var(--ink-soft); }

.faq { max-width: 820px; }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 700; font-size: 1.1rem; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: #fff3d6; color: var(--gold-text); font-weight: 700; font-size: 1.2rem; transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 52px 24px 0; color: var(--ink-soft); }

.cta { text-align: center; background: radial-gradient(700px 500px at 50% 120%, #ff8a1f 0%, rgba(255, 138, 31, 0) 60%), linear-gradient(160deg, #ffd44f 0%, #ffb623 60%, #ff9d1c 100%); }
.cta img { width: 96px; height: 96px; margin: 0 auto 26px; border-radius: 22.37%; box-shadow: 0 20px 44px rgba(150, 70, 0, 0.35); }
.cta .lead { margin: 16px auto 0; max-width: 46ch; color: rgba(27, 30, 43, 0.82); }
.cta .stores { justify-content: center; }

.site-footer { background: #12141f; color: rgba(255, 255, 255, 0.72); padding: 44px 0 52px; font-size: 0.95rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 40px; justify-content: space-between; align-items: center; }
.site-footer a { color: #fff; text-decoration: none; font-weight: 600; }
.site-footer a:hover { text-decoration: underline; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }

/* Legal pages */
.legal { padding: 56px 0 96px; }
.legal .wrap { max-width: 780px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 10px; }
.legal h2 { font-size: 1.5rem; margin: 44px 0 12px; letter-spacing: -0.02em; }
.legal p, .legal li { color: #3c4050; }
.legal p + p { margin-top: 14px; }
.legal ul { padding-left: 22px; }
.legal li + li { margin-top: 8px; }
.legal .updated { color: var(--ink-soft); font-weight: 600; }
.legal table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: 0.95rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 12px 14px; border: 1px solid var(--line); }
.legal th { background: #fff3d6; }
.table-scroll { overflow-x: auto; }
