/* Labelingo — colours from the app icon: a violet night, a teal mug, an amber sticker. */
:root {
  color-scheme: dark;
  --night: #140b5c;
  --night-deep: #0c0638;
  --violet: #3a1ff0;
  --glow: #8b46ff;
  --teal: #20c8cc;
  --amber: #ffb43c;
  --amber-deep: #ff8a24;
  --cream: #fff6e8;
  --ink: #f4f1ff;
  --muted: rgba(244, 241, 255, 0.72);
  --faint: rgba(244, 241, 255, 0.5);
  --line: rgba(255, 255, 255, 0.12);
  --card: rgba(255, 255, 255, 0.06);
  --card-strong: rgba(255, 255, 255, 0.1);
  --display: ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --radius: 28px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.55 var(--body);
  color: var(--ink);
  background:
    radial-gradient(1100px 700px at 12% -10%, rgba(139, 70, 255, 0.55), transparent 60%),
    radial-gradient(900px 600px at 100% 20%, rgba(32, 200, 204, 0.16), transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--night-deep) 100%);
  background-color: var(--night-deep);
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--amber); text-underline-offset: 3px; }
a:hover { color: var(--cream); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 8px; }

.shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(40px, 6.4vw, 72px); font-weight: 800; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; }
h3 { font-size: 21px; font-weight: 700; }
p { margin: 0; }
.kicker {
  font-family: var(--display);
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--amber);
}
.lede { margin-top: 20px; font-size: clamp(18px, 2vw, 21px); color: var(--muted); max-width: 34em; }

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 11px; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35); }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 20px; }
.nav { display: flex; gap: 22px; font-size: 15px; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover { color: var(--ink); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 32px; }
.store-button {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px; border-radius: 16px;
  background: var(--cream); color: #140b3a; text-decoration: none;
  font-family: var(--display); font-weight: 800; font-size: 17px;
  box-shadow: 0 12px 30px rgba(255, 180, 60, 0.25);
}
.store-button small { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.04em; opacity: 0.7; }
.store-button:hover { color: #140b3a; transform: translateY(-1px); }
.store-button[aria-disabled="true"] { cursor: default; }
.store-button[aria-disabled="true"]:hover { transform: none; }
.note { font-size: 15px; color: var(--faint); }

.facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.fact {
  font-size: 14px; color: var(--muted);
  padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
}

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding: 40px 0 90px; }
.scene {
  position: relative; aspect-ratio: 4 / 5; border-radius: 40px; overflow: hidden;
  background:
    radial-gradient(420px 320px at 70% 20%, rgba(255, 180, 60, 0.28), transparent 70%),
    radial-gradient(500px 400px at 20% 90%, rgba(32, 200, 204, 0.3), transparent 70%),
    linear-gradient(160deg, #2a1bb8 0%, #1b0f78 100%);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px rgba(5, 2, 40, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.scene::after {
  /* A soft floor line, so the objects stand on something. */
  content: ""; position: absolute; left: 0; right: 0; bottom: 24%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}
.object { position: absolute; font-size: clamp(54px, 8vw, 86px); line-height: 1; filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.35)); }
.object.mug { left: 14%; bottom: 25%; }
.object.lamp { right: 16%; top: 20%; }
.object.plant { right: 12%; bottom: 25%; }
.object.book { left: 18%; top: 30%; font-size: clamp(44px, 6vw, 64px); }

/* Stickers look like the ones in the app: glass word card, amber "?", locked card. */
.sticker {
  position: absolute; display: inline-flex; flex-direction: column; align-items: flex-start;
  padding: 9px 15px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.82); color: #111;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  animation: float 6s ease-in-out infinite;
  white-space: nowrap;
}
.sticker b { font-family: var(--display); font-size: 18px; font-weight: 800; }
.sticker span { font-size: 12px; color: rgba(0, 0, 0, 0.55); font-weight: 600; }
.sticker.ask {
  width: 50px; height: 50px; border-radius: 50%; padding: 0; align-items: center; justify-content: center;
  background: linear-gradient(180deg, var(--amber), var(--amber-deep)); color: #1b1200;
  font-family: var(--display); font-weight: 900; font-size: 24px;
}
.sticker.locked { background: rgba(10, 6, 40, 0.6); color: #fff; flex-direction: row; gap: 8px; align-items: center; }
.sticker.locked b { font-size: 17px; letter-spacing: 0.02em; }
.s1 { left: 8%; bottom: 43%; animation-delay: -1s; }
.s2 { right: 10%; top: 9%; animation-delay: -3s; }
.s3 { right: 16%; bottom: 41%; animation-delay: -2s; }
.s4 { left: 12%; top: 19%; animation-delay: -4s; }
.phone-caption {
  position: absolute; left: 50%; bottom: 7%; transform: translateX(-50%);
  font-size: 14px; color: rgba(255, 255, 255, 0.8); padding: 9px 16px; border-radius: 999px;
  background: rgba(10, 6, 40, 0.45); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  white-space: nowrap;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Sections */
section.block { padding: 70px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 40em; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 18px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.step { padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.step .glyph {
  width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
  font-size: 26px; margin-bottom: 20px; background: var(--card-strong);
}
.step p { margin-top: 10px; color: var(--muted); font-size: 16px; }

.languages { margin-top: 36px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.language {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px 20px; border-radius: 22px; background: var(--card); border: 1px solid var(--line);
}
.language .name { color: var(--muted); font-size: 15px; }
.language .word { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--cream); }
.language .flag { font-size: 22px; }
.fine { margin-top: 18px; color: var(--faint); font-size: 15px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.feature { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.feature .num { font-family: var(--display); font-weight: 900; font-size: 44px; color: var(--teal); line-height: 1; }
.feature p { margin-top: 10px; color: var(--muted); font-size: 16px; }

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 40px; }
.plan { padding: 32px; border-radius: 32px; background: var(--card); border: 1px solid var(--line); }
.plan.pro {
  background: linear-gradient(160deg, rgba(139, 70, 255, 0.35), rgba(58, 31, 240, 0.25));
  border-color: rgba(185, 140, 255, 0.45);
}
.plan .price { margin-top: 12px; font-family: var(--display); font-size: 30px; font-weight: 800; color: var(--cream); }
.plan .price small { font-size: 16px; color: var(--muted); font-weight: 600; }
.plan ul { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.plan li { display: flex; gap: 10px; color: var(--muted); font-size: 16px; }
.plan li::before { content: "✓"; color: var(--teal); font-weight: 800; }
.plan.pro li::before { color: var(--amber); }

.privacy-band {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center;
  padding: 34px; border-radius: 32px; background: rgba(32, 200, 204, 0.08); border: 1px solid rgba(32, 200, 204, 0.3);
}
.privacy-band .shield { font-size: 54px; }
.privacy-band p { margin-top: 10px; color: var(--muted); }

.faq { margin-top: 32px; display: grid; gap: 12px; max-width: 820px; }
.faq details { border-radius: 20px; background: var(--card); border: 1px solid var(--line); padding: 0 22px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 0; font-family: var(--display); font-weight: 700; font-size: 18px;
  display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--amber); font-weight: 800; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--muted); font-size: 16px; }

.support { text-align: center; padding: 80px 0 90px; }
.support p { margin: 16px auto 0; color: var(--muted); max-width: 32em; }
.support .mail { display: inline-block; margin-top: 22px; font-family: var(--display); font-size: 22px; font-weight: 800; }

.site-footer {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px;
  padding: 26px 0 40px; border-top: 1px solid var(--line); color: var(--faint); font-size: 14px;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }

/* Legal pages */
.policy { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 10px 0 80px; }
.policy .hero-block { padding: 30px 0 30px; border-bottom: 1px solid var(--line); }
.policy .hero-block h1 { font-size: clamp(36px, 5vw, 52px); margin-top: 10px; }
.policy .updated { margin-top: 14px; color: var(--faint); font-size: 14px; }
.policy .hero-block p:not(.updated) { margin-top: 16px; color: var(--muted); font-size: 18px; }
.policy section { padding-top: 34px; }
.policy h2 { font-size: 23px; }
.policy p, .policy li { margin-top: 12px; color: var(--muted); font-size: 16px; }
.policy ul { padding-left: 22px; margin: 0; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: 36px; padding-bottom: 60px; }
  .scene { max-width: 460px; width: 100%; margin: 0 auto; }
  .steps, .features { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav { display: none; }
  .privacy-band { grid-template-columns: 1fr; text-align: left; }
  .sticker b { font-size: 16px; }
  .phone-caption { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .sticker { animation: none; }
  .store-button:hover { transform: none; }
}
