/* Website (punchboo.com). Shares the app's look from /assets/css/ui.css; this file adds the page pieces:
   top bar, hero, feature cards, the CSS tablet, pricing cards, FAQ and footer. Phone-first, light and dark. */

/* ---------- Top bar ---------- */
.site-nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px); border-bottom: 1px solid var(--border); }
.site-nav .container { display: flex; align-items: center; gap: 18px; height: 62px; }
.site-nav .links { display: flex; gap: 20px; margin-left: 8px; }
.site-nav .links a { color: var(--ink-2); font-weight: 500; font-size: 14.5px; }
.site-nav .links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.site-nav .cta { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.site-nav .menu { display: none; position: relative; }
.site-nav .menu summary { list-style: none; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); }
.site-nav .menu summary::-webkit-details-marker { display: none; }
.site-nav .menu summary:hover { background: var(--fill); }
.site-nav .menu svg { width: 22px; height: 22px; }
.site-nav .menu[open] summary { background: var(--fill); }
.site-nav .menu .sheet { position: absolute; right: 0; top: 48px; min-width: 200px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 8px; display: grid; }
.site-nav .menu .sheet a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); font-weight: 500; }
.site-nav .menu .sheet a:hover { background: var(--fill); text-decoration: none; }
@media (max-width: 760px) {
  .site-nav .links { display: none; }
  .site-nav .menu { display: block; }
  .site-nav .cta .btn-ghost { display: none; }
  .site-nav .container { padding: 0 16px; }
}

/* ---------- Hero ---------- */
.hero { padding: 64px 0 36px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } .hero { padding-top: 36px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 6px 12px; border-radius: 99px; margin-bottom: 18px; }
.hero p.lead { font-size: 19px; line-height: 1.5; max-width: 32em; margin: 18px 0 26px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 20px; font-size: 14px; color: var(--muted); }
.ticks span::before { content: "✓"; color: var(--in); font-weight: 800; margin-right: 6px; }
.hero .row .btn { min-width: 150px; }
@media (max-width: 480px) { .hero .row { flex-direction: column; align-items: stretch; } .hero .row .btn { width: 100%; } }

/* ---------- CSS tablet: a black frame around a small version of the real clock screen ---------- */
.tablet { background: #0e1014; border-radius: 28px; padding: 14px; box-shadow: var(--shadow-lg); }
.tablet.tilt { transform: rotate(-1.2deg); }
@media (max-width: 960px) { .tablet.tilt { transform: none; } }
.tablet .scr { background: var(--bg); border-radius: 16px; padding: 16px; color: var(--ink); overflow: hidden; }
.tablet .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 4px; }
.tablet .co { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.tablet .co i { width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 12px; }
.tablet .time { font: 200 34px/1 var(--font-display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
@media (max-width: 420px) { .tablet .time { font-size: 26px; } .tablet .co { font-size: 13px; } }
.tablet .date { font-size: 11px; color: var(--muted); text-align: right; margin-top: 4px; }
.tablet .greet { font: 600 18px var(--font-display); letter-spacing: -.03em; margin: 8px 0 12px; }
.tablet .greet small { display: block; font: 400 11.5px var(--font); color: var(--muted); margin-top: 2px; }
.tablet .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.tablet .t { background: var(--surface); border: 1px solid var(--glass-line); border-radius: 14px; padding: 12px 8px 10px; text-align: center; box-shadow: var(--shadow); }
.tablet .t .avatar { width: 36px; height: 36px; font-size: 13px; margin-bottom: 6px; }
.tablet .t.in .avatar { box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--in); }
.tablet .t.lunch .avatar { box-shadow: 0 0 0 2px var(--surface), 0 0 0 3.5px var(--lunch); }
.tablet .t b { display: block; font-size: 12.5px; letter-spacing: -.01em; }
.tablet .t .since { font-size: 10.5px; color: var(--muted); margin-top: 1px; min-height: 13px; }
.tablet .t .badge { height: 19px; font-size: 10px; padding: 0 7px; margin-top: 6px; }
@media (max-width: 400px) { .tablet .t:nth-child(n+5) { display: none; } .tablet .tiles { grid-template-columns: repeat(2, 1fr); } }

/* ---------- CSS office: a phone-sized view of the dashboard ---------- */
.office { background: var(--surface); border: 1px solid var(--glass-line); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 16px; font-size: 13px; }
.office .bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.office .bar b { font-size: 15px; }
.office .stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.office .st { background: var(--surface-2); border-radius: 12px; padding: 10px; }
.office .st .l { font-size: 11px; color: var(--muted); }
.office .st .v { font: 600 22px/1.1 var(--font-display); letter-spacing: -.03em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.office table { width: 100%; border-collapse: collapse; }
.office td { padding: 7px 4px; border-top: 1px solid var(--border); white-space: nowrap; }
.office td.r { text-align: right; font-variant-numeric: tabular-nums; }
.office .flag { color: var(--lunch); font-weight: 500; }

/* ---------- Sections ---------- */
section.block { padding: 72px 0; }
@media (max-width: 760px) { section.block { padding: 48px 0; } }
section.alt { background: color-mix(in srgb, var(--surface) 55%, transparent); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 640px; margin: 0 auto 36px; text-align: center; }
.section-head p { font-size: 17px; }
.feat .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); margin-bottom: 14px; }
.feat .ic svg { width: 22px; height: 22px; }
.feat p { margin: 0; font-size: 14.5px; }
.steps .n { width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: var(--brand-ink); display: grid; place-items: center; font-weight: 700; margin-bottom: 12px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; gap: 28px; } }
.two ul { padding-left: 0; list-style: none; margin: 14px 0 0; }
.two li { display: flex; gap: 10px; padding: 6px 0; color: var(--ink-2); }
.two li::before { content: "✓"; color: var(--in); font-weight: 800; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plans.plans-2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin: 0 auto; }
@media (max-width: 960px) { .plans, .plans.plans-2 { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.plan { display: flex; flex-direction: column; padding: 26px; }
.plan.pop { border: 2px solid var(--brand); position: relative; }
.plan.pop .tag { position: absolute; top: -12px; left: 26px; background: var(--brand); color: var(--brand-ink); font: 700 12px var(--font); padding: 5px 10px; border-radius: 99px; }
.plan .price { font: 700 42px/1 var(--font-display); letter-spacing: -.03em; margin: 10px 0 0; font-variant-numeric: tabular-nums; }
.plan .price small { font: 500 15px var(--font); letter-spacing: 0; color: var(--muted); }
.plan .per { color: var(--muted); font-size: 14px; margin-top: 4px; }
.plan ul { list-style: none; padding: 0; margin: 20px 0 24px; flex: 1; }
.plan li { display: flex; gap: 10px; padding: 6px 0; font-size: 14.5px; color: var(--ink-2); }
.plan li::before { content: "✓"; color: var(--in); font-weight: 800; flex: none; }
.plan li.no::before { content: "–"; color: var(--muted); }
.plan li.head { font-weight: 600; color: var(--ink); }
.plan li.head::before { content: ""; }
.tiers { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 14px; }
.tiers td { padding: 9px 4px; border-top: 1px solid var(--border); }
.tiers td:last-child { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--ink); }
.tiers tr.on td { color: var(--brand); }
.calc { max-width: 760px; margin: 34px auto 0; display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; }
@media (max-width: 700px) { .calc { grid-template-columns: 1fr; } .calc .out { text-align: left; } }
.calc input[type=range] { width: 100%; accent-color: var(--brand); }
.calc .out { text-align: right; }
.calc .out .big { font: 700 34px/1.1 var(--font-display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* ---------- FAQ ---------- */
details.faq { border-bottom: 1px solid var(--border); padding: 16px 0; }
details.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--muted); font-size: 20px; line-height: 1; flex: none; }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 10px 0 0; }
details.faq p + p { margin-top: 8px; }

/* ---------- Call to action band + footer ---------- */
.cta-band { text-align: center; padding: 56px 24px; border-radius: var(--r-xl); background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent) 60%, #30b0c7)); color: #fff; }
.cta-band h2, .cta-band p { color: #fff; }
.cta-band .btn { background: #fff; color: #1d1d1f; }
.cta-band .btn:hover { background: #f5f5f7; color: #1d1d1f; }
footer.site { padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
footer.site .cols { display: flex; flex-wrap: wrap; gap: 28px 56px; }
footer.site .cols b { color: var(--ink); display: block; margin-bottom: 4px; }
footer.site .cols a { color: var(--ink-2); display: block; margin: 6px 0; }

/* ---------- Plain pages (help, contact) ---------- */
.page { max-width: 760px; margin: 0 auto; padding: 40px 22px 60px; }
.page h1 { font-size: clamp(30px, 4vw, 40px); }
.page .card + .card { margin-top: 16px; }
.page .card h3 { margin-bottom: 6px; }
.page .card p:last-child { margin-bottom: 0; }
@media (max-width: 600px) { .page { padding: 28px 16px 48px; } }

/* ---------- Live demo ---------- */
.demo-frame { background: #0e1014; border-radius: 28px; padding: 14px; box-shadow: var(--shadow-lg); }
.demo-frame iframe { display: block; width: 100%; aspect-ratio: 4 / 3; min-height: 520px; border: 0; border-radius: 16px; background: var(--bg); }
@media (max-width: 600px) { .demo-frame { border-radius: 20px; padding: 8px; } .demo-frame iframe { min-height: 560px; aspect-ratio: auto; height: 70vh; } }
.demo-tip { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 14px 0 0; font-size: 14px; color: var(--muted); }
.demo-tip span::before { content: "•"; margin-right: 6px; color: var(--brand); }

/* ---------- Screenshots ---------- */
.shot { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); background: var(--surface); }
.tablet-shot { background: #0e1014; border-radius: 28px; padding: 12px; box-shadow: var(--shadow-lg); }
.tablet-shot img { display: block; width: 100%; height: auto; border-radius: 16px; }
.tablet-shot.tilt { transform: rotate(-1.2deg); }
@media (max-width: 960px) { .tablet-shot.tilt { transform: none; } }
.hero-owl { width: 96px; height: auto; margin-bottom: 14px; }
@media (max-width: 760px) { .hero-owl { width: 72px; } }

/* Feature rows: text one side, picture the other, swapping sides */
.frow { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: center; padding: 36px 0; }
.frow.flip { grid-template-columns: 1.15fr 1fr; }
.frow.flip > :first-child { order: 2; }
@media (max-width: 860px) { .frow, .frow.flip { grid-template-columns: 1fr; gap: 24px; padding: 24px 0; } .frow.flip > :first-child { order: 0; } }
.frow h2 { font-size: clamp(24px, 2.8vw, 34px); }
.frow ul { list-style: none; padding: 0; margin: 14px 0 0; }
.frow li { display: flex; gap: 10px; padding: 5px 0; color: var(--ink-2); }
.frow li::before { content: "✓"; color: var(--in); font-weight: 800; flex: none; }
.kicker { font-size: 13px; font-weight: 600; color: var(--brand); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }

/* Small stat strip under the hero */
.proof { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
@media (max-width: 760px) { .proof { grid-template-columns: repeat(2, 1fr); } }
.proof .card { padding: 16px 18px; }
.proof b { display: block; font: 600 22px/1.1 var(--font-display); letter-spacing: -.03em; }
.proof span { font-size: 13px; color: var(--muted); }

/* Forms on the website */
.site-form { max-width: 560px; }
.site-form .btn { margin-top: 4px; }
.site-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.site-form .ok-box { background: var(--in-soft); color: var(--in); border-radius: 12px; padding: 16px; font-weight: 500; }
.note { font-size: 13px; color: var(--muted); }
