/* Launch page (index.html) only. Shared tokens live in style.css. */

.wrap.wide { max-width: 1120px; }
html { scroll-behavior: smooth; }
section { scroll-margin-top: 16px; }

.small-btn { padding: 9px 16px; font-size: 15px; border-radius: 12px; color: #121212 !important; }
.button.big { padding: 17px 28px; font-size: 19px; }
.kicker {
  font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--green-text); font-size: 15px; margin: 0 0 6px;
}
.accent { color: var(--green-text); }

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px; align-items: center; padding: 36px 0 56px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 18px;
  background: var(--card); border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 14px 6px 12px; font-size: 14px; color: var(--muted);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green-text); box-shadow: 0 0 0 0 rgba(79, 211, 122, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(79, 211, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 211, 122, 0); } }

.hero h1 {
  font-size: clamp(56px, 9.4vw, 112px); font-weight: 800; line-height: 0.9;
  text-transform: uppercase; letter-spacing: -0.005em; margin: 0 0 22px;
}
.hero .lead { font-size: 19px; color: var(--muted); margin: 0 0 30px; max-width: 31em; }
.hero-meta { font-size: 14px; color: var(--muted); margin: 18px 0 0; }

/* Phone: an HTML copy of the real board (BoardPage.qml) */
.phone {
  justify-self: center; width: 100%; max-width: 340px;
  background: #0b0b0b; border-radius: 46px; padding: 11px;
  box-shadow: 0 0 0 1.5px #2e2e2e, 0 40px 80px -30px rgba(9, 158, 55, .35), 0 30px 60px -20px rgba(0, 0, 0, .8);
  transform: rotate(2deg);
}
.screen {
  position: relative; background: var(--bg); border-radius: 36px; overflow: hidden;
  padding: 26px 14px 18px; font-size: 13px; line-height: 1.3; min-height: 590px;
}
.b-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 0 4px; }
.b-title { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; }
.b-icons { display: flex; gap: 8px; }
.b-icon {
  position: relative; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
}
.b-icon svg { width: 18px; height: 18px; }
.b-icon.bell { border: 1.5px solid var(--amber); color: var(--text); }
.b-icon.bell i {
  position: absolute; top: -6px; right: -6px; font-style: normal; font-size: 10px; font-weight: 700;
  background: var(--amber); color: #121212; border-radius: 99px; min-width: 16px; height: 16px; display: grid; place-items: center;
}
.b-icon.menu { border: 1.5px solid var(--blue); color: var(--green-text); }
.b-tags { display: flex; gap: 6px; margin: 12px 4px 12px; flex-wrap: wrap; }
.b-tags span { font-size: 10.5px; padding: 3px 9px; border-radius: 99px; border: 1.3px solid; }
.t-b { border-color: var(--blue) !important; }
.t-g { border-color: var(--green) !important; }
.b-bar { height: 4px; background: var(--blue); margin: 0 -14px 12px; position: relative; }
.b-bar span { position: absolute; inset: 0 auto 0 0; width: 40%; background: var(--green); animation: bar 7s infinite; }
@keyframes bar { 0%, 38% { width: 40%; } 48%, 100% { width: 60%; } }

.chore {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  background: var(--card); border: 1.5px solid var(--blue); border-radius: 16px;
  padding: 12px 12px 12px 14px; margin-bottom: 9px;
}
.chore b { display: block; font-weight: 600; font-size: 14px; }
.chore small { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.av {
  flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--subtle);
  display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 14px;
}
.c-done { border-color: var(--green); }
.c-done b { text-decoration: line-through; color: var(--muted); }
.c-done small { color: var(--green-text); }
.c-done .av { box-shadow: 0 0 0 2px var(--green); }
.c-late { border-color: var(--amber); }
.c-late small { color: var(--amber); }

/* The animated card: open → completed, on a loop. */
.c-live { animation: live-border 7s infinite; }
.c-live .strike { background: linear-gradient(currentColor, currentColor) no-repeat 0 55% / 0 1.5px; animation: strike 7s infinite; }
.c-live small { position: relative; height: 1.3em; }
.c-live .s-open, .c-live .s-done { position: absolute; left: 0; top: 0; white-space: nowrap; }
.c-live .s-open { animation: fade-out 7s infinite; }
.c-live .s-done { color: var(--green-text); opacity: 0; animation: fade-in 7s infinite; }
.c-live .av { animation: live-av 7s infinite; }
@keyframes live-border { 0%, 38% { border-color: var(--blue); } 46%, 92% { border-color: var(--green); } 100% { border-color: var(--blue); } }
@keyframes strike { 0%, 40% { background-size: 0 1.5px; color: var(--text); } 48%, 92% { background-size: 100% 1.5px; color: var(--muted); } 100% { background-size: 0 1.5px; color: var(--text); } }
@keyframes fade-out { 0%, 40% { opacity: 1; } 44%, 94% { opacity: 0; } 100% { opacity: 1; } }
@keyframes fade-in { 0%, 42% { opacity: 0; } 46%, 92% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes live-av { 0%, 38% { box-shadow: 0 0 0 0 transparent; } 46%, 92% { box-shadow: 0 0 0 2px var(--green); } 100% { box-shadow: 0 0 0 0 transparent; } }

.fab {
  position: absolute; right: 18px; bottom: 18px; width: 52px; height: 52px; border-radius: 50%;
  background: var(--green); color: #fff; display: grid; place-items: center; font-size: 28px; line-height: 1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .5);
}

/* ── Excuses strip ────────────────────────────────────────────────── */
.excuses {
  border-block: 1px solid var(--border); background: var(--sheet); overflow: hidden;
  padding: 18px 0; white-space: nowrap;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.excuse-track { display: inline-flex; animation: drift 45s linear infinite; }
.excuse-track .dup { display: inline-flex; }
.excuses s {
  margin-right: 48px;
  font-family: var(--display); font-weight: 600; font-size: 28px; color: var(--muted);
  text-decoration: line-through; text-decoration-color: var(--green-text); text-decoration-thickness: 3px;
}
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── How it works ─────────────────────────────────────────────────── */
.how { margin-top: 80px; }
.how > h2, .premium > h2, .faq > h2 { font-size: clamp(38px, 5.5vw, 58px); margin-bottom: 28px; }
.steps-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step { background: var(--card); border-radius: 22px; padding: 18px 18px 22px; display: flex; flex-direction: column; }
.step .vis {
  background: var(--bg); border-radius: 16px; height: 158px; padding: 14px;
  display: flex; flex-direction: column; justify-content: center; gap: 8px; margin-bottom: 16px; overflow: hidden;
}
.step .num { font-family: var(--display); font-weight: 800; color: var(--green-text); font-size: 18px; letter-spacing: .08em; }
.step h3 { font-size: 27px; margin: 2px 0 8px; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }

.mini-chore { display: flex; align-items: center; justify-content: space-between; gap: 8px; border: 1.5px solid var(--blue); border-radius: 13px; padding: 9px 10px; background: var(--card); }
.mini-chore b { display: block; font-size: 13px; font-weight: 600; }
.mini-chore small { display: block; font-size: 10.5px; color: var(--muted); }
.mini-chore .av { width: 30px; height: 30px; font-size: 12px; }
.mini-chore.dim { opacity: .5; }

.snap { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.snap-photo {
  width: 150px; height: 92px; border-radius: 12px; position: relative;
  background:
    radial-gradient(circle at 30% 70%, #3f5f6e 0 18%, transparent 19%),
    radial-gradient(circle at 68% 62%, #6c5a3e 0 14%, transparent 15%),
    linear-gradient(160deg, #3a3f45, #23272b 60%, #1b1e21);
  box-shadow: 0 0 0 2px var(--green);
}
.snap-photo::before, .snap-photo::after { content: ""; position: absolute; width: 14px; height: 14px; border: 2px solid #fff; opacity: .8; }
.snap-photo::before { left: 7px; top: 7px; border-right: 0; border-bottom: 0; border-radius: 4px 0 0 0; }
.snap-photo::after { right: 7px; bottom: 7px; border-left: 0; border-top: 0; border-radius: 0 0 4px 0; }
.snap-check { position: absolute; right: -10px; top: -10px; width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #121212; display: grid; place-items: center; }
.snap-check svg { width: 18px; height: 18px; }
.snap-label { font-size: 12px; font-weight: 700; background: var(--green); color: #121212; border-radius: 99px; padding: 5px 14px; }

.vote { display: flex; flex-direction: column; gap: 8px; }
.vote-q { margin: 0 0 2px; font-size: 13px; font-style: italic; color: var(--text); }
.vote-row { display: flex; justify-content: space-between; align-items: center; background: var(--card); border-radius: 10px; padding: 7px 10px; font-size: 12.5px; }
.dots { display: flex; gap: 5px; }
.dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--subtle); }
.dots i.on { background: var(--green); }
.dots i.on.b { background: var(--blue-text); }

.rep { display: flex; align-items: center; gap: 14px; justify-content: center; }
.rep-ring {
  --p: 90; width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: conic-gradient(var(--green) calc(var(--p) * 1%), var(--subtle) 0);
}
.rep-ring span {
  width: 72px; height: 72px; border-radius: 50%; background: var(--bg); display: flex; align-items: baseline; justify-content: center; padding-top: 18px;
  font-family: var(--display); font-weight: 800; font-size: 30px;
}
.rep-ring small { font-size: 15px; }
.rep-txt b { display: block; font-family: var(--display); font-size: 22px; }
.rep-txt small { display: block; color: var(--muted); font-size: 12px; margin-bottom: 8px; }
.pill-red { font-size: 11px; border: 1.3px solid var(--green); color: var(--green-text); border-radius: 99px; padding: 3px 8px; }

/* ── Rules ────────────────────────────────────────────────────────── */
.rules { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 40px; margin-top: 96px; align-items: start; }
.rules-head h2 { font-size: clamp(36px, 4.6vw, 50px); }
.rule-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rule-list li { display: flex; gap: 16px; background: var(--card); border-radius: 18px; padding: 18px 20px; color: var(--muted); font-size: 15.5px; }
.rule-list b { display: block; color: var(--text); font-family: var(--display); font-size: 22px; font-weight: 700; margin-bottom: 2px; }
.r-ic { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 19px; border: 1.5px solid; }
.r-ic.amber { color: var(--amber); border-color: var(--amber); }
.r-ic.green { color: var(--green-text); border-color: var(--green); }
.r-ic.blue { color: var(--blue-text); border-color: var(--blue); }

/* ── Discover ─────────────────────────────────────────────────────── */
.discover { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; margin-top: 104px; }
.discover h2 { font-size: clamp(38px, 5vw, 56px); }
.disc-copy > p:not(.kicker) { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: .38em; width: 14px; height: 8px;
  border-left: 2.5px solid var(--green-text); border-bottom: 2.5px solid var(--green-text); transform: rotate(-45deg);
}
.disc-card {
  background: var(--card); border: 1.5px solid var(--green); border-radius: 22px; padding: 22px;
  max-width: 360px; justify-self: center; width: 100%; transform: rotate(-1.5deg);
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .8);
}
.dc-top { display: flex; gap: 14px; align-items: center; }
.dc-av { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, #2f5f45, #1d3b2b); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 20px; }
.dc-top b { display: block; font-size: 18px; }
.dc-top small { color: var(--muted); font-size: 13px; }
.dc-pills, .dc-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.dc-pills span { font-size: 12px; border: 1.3px solid var(--green); color: var(--green-text); border-radius: 99px; padding: 4px 10px; }
.dc-tags span { font-size: 12px; background: var(--subtle); border-radius: 99px; padding: 5px 11px; }
.dc-bio { color: var(--muted); font-size: 14px; font-style: italic; margin: 14px 0; }
.dc-btn { display: block; text-align: center; border: 1.5px solid var(--blue); color: var(--blue-text); border-radius: 13px; padding: 10px; font-size: 14px; }

/* ── Premium ──────────────────────────────────────────────────────── */
.premium { margin-top: 104px; }
.premium > .muted { max-width: 40em; margin: -14px 0 24px; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.plan { background: var(--card); border-radius: 22px; padding: 26px; position: relative; border: 1.5px solid transparent; }
.plan h3 { font-size: 34px; margin: 0 0 4px; }
.plan.pro { border-color: var(--green); background: linear-gradient(180deg, rgba(9, 158, 55, .10), var(--card) 55%); }
.badge { position: absolute; top: 22px; right: 22px; background: var(--green); color: #121212; font-weight: 700; font-size: 13px; border-radius: 99px; padding: 5px 12px; }

/* ── Beta ─────────────────────────────────────────────────────────── */
.beta { margin-top: 104px; }
.beta-card { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 32px; background: var(--card); border-radius: 26px; padding: 32px; border: 1px solid var(--border); }
.beta-card h2 { font-size: clamp(36px, 4.6vw, 48px); }
.beta-cta { display: flex; flex-direction: column; justify-content: center; align-items: stretch; background: var(--bg); border-radius: 20px; padding: 24px; text-align: center; }
.beta-cta p { margin: 10px 0 0; }
.dl-form { display: flex; flex-direction: column; gap: 10px; text-align: left; }
.dl-form label { font-family: var(--display); font-weight: 700; font-size: 18px; }
.dl-form input {
  font: inherit; color: var(--text); background: var(--card); border: 1.5px solid var(--border);
  border-radius: 12px; padding: 13px 14px; width: 100%;
}
.dl-form input:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(9, 158, 55, .3); }
.dl-msg { margin: 0 !important; color: var(--danger); font-size: 14.5px; }
.dl-form .button { margin-top: 4px; width: 100%; }
.beta-cta .iphone { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border); color: var(--muted); }
.beta-cta .iphone b { color: var(--text); }

/* ── FAQ ──────────────────────────────────────────────────────────── */
.faq { margin-top: 96px; max-width: 820px; }
.faq details { background: var(--card); border-radius: 16px; margin-bottom: 10px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; position: relative;
  font-family: var(--display); font-weight: 700; font-size: 22px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); color: var(--green-text); font-size: 26px; font-family: var(--sans); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* ── Final CTA ────────────────────────────────────────────────────── */
.final { text-align: center; margin: 110px 0 70px; }
.final h2 { font-size: clamp(42px, 7vw, 84px); font-weight: 800; text-transform: uppercase; line-height: .92; margin-bottom: 30px; }

/* ── Footer ───────────────────────────────────────────────────────── */
.foot-grid { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.foot-grid .brand { font-size: 22px; }
.foot-grid .brand .mark { width: 26px; height: 26px; }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .rules, .discover { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 16px; }
  .phone { max-width: 320px; transform: none; }
  .plans, .beta-card { grid-template-columns: 1fr; }
  .beta-card { padding: 22px; }
  .hide-sm { display: none; }
}
@media (max-width: 560px) {
  .steps-grid { grid-template-columns: 1fr; }
  .excuses s { font-size: 22px; }
  .how, .rules, .discover, .premium, .beta, .faq { margin-top: 72px; }
  .disc-card { transform: none; }
}
