/* invertoryapp.com: same "Clean" look as the app (Inter, white, one green accent). */
:root {
  --bg: #ffffff; --soft: #f6f7f8; --ink: #111418; --muted: #5f6873; --line: #eceef1;
  --accent: #16a34a; --accent-dark: #15803d; --accent-soft: #e7f6ec; --spring: #2563eb; --spring-soft: #e6eefc;
  --late: #dc2626; --late-soft: #fde8e8; --due: #b45309; --due-soft: #fdf1dc;
  --r: 14px; --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b0d10; --soft: #15181c; --ink: #eef1f4; --muted: #9aa3ad; --line: #23272d;
    --accent: #22c55e; --accent-dark: #16a34a; --accent-soft: #12301e; --spring: #60a5fa; --spring-soft: #142338;
    --late: #f87171; --late-soft: #3a1717; --due: #fbbf24; --due-soft: #3a2c10;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; }
a { color: var(--accent); }
h1, h2, h3 { letter-spacing: -.025em; line-height: 1.15; margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }

/* header */
.site-head { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.logo-mark { width: 40px; height: 40px; display: block; }
.head-cta { font-size: 15px; font-weight: 600; text-decoration: none; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 10px; }

/* hero */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent); background: var(--accent-soft);
  padding: 4px 10px; border-radius: 99px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(36px, 6vw, 58px); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: 19px; color: var(--muted); margin: 18px 0 26px; max-width: 34em; }

/* waitlist form */
.join { display: flex; flex-wrap: wrap; gap: 8px; max-width: 520px; }
.join input[type=email], .join select { font: inherit; font-size: 16px; padding: 13px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--soft); color: var(--ink); }
.join input[type=email] { flex: 1 1 240px; }
.join select { flex: 0 1 190px; }
.join input:focus, .join select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.join button { flex: 1 1 100%; font: inherit; font-weight: 700; font-size: 16px; border: 0; cursor: pointer; padding: 14px 18px;
  border-radius: 12px; background: var(--accent); color: #fff; }
.join button:hover { background: var(--accent-dark); }
.join button:disabled { opacity: .6; cursor: default; }
.hp { position: absolute; left: -9999px; }        /* hidden trap field: real people never fill it in */
.form-note { font-size: 14px; color: var(--muted); margin: 10px 0 0; min-height: 1.5em; }
.form-note.ok { color: var(--accent); font-weight: 600; }
.form-note.err { color: var(--late); }

/* phone mock-up */
.phone { width: 300px; max-width: 100%; margin: 0 auto; border: 10px solid #111418; border-radius: 42px; overflow: hidden;
  background: #fff; color: #111418; box-shadow: 0 30px 60px rgba(17, 20, 24, .18); font-size: 13px; }
.p-top { padding: 18px 16px 10px; border-bottom: 1px solid #eceef1; }
.p-top b { font-size: 20px; letter-spacing: -.02em; }
.p-top div { color: #6b7280; font-size: 12px; }
.p-body { padding: 10px; display: flex; flex-direction: column; gap: 8px; background: #fff; }
.p-stats { display: flex; gap: 6px; }
.p-stats div { flex: 1; background: #f6f7f8; border-radius: 10px; text-align: center; padding: 7px 2px; font-size: 10.5px; color: #6b7280; }
.p-stats b { display: block; font-size: 22px; color: #111418; }
.p-card { background: #f6f7f8; border-radius: 10px; padding: 9px 10px; }
.p-h { font-size: 10px; font-weight: 700; color: #6b7280; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 5px; }
.p-li { display: flex; justify-content: space-between; gap: 6px; padding: 2px 0; }
.p-li span:last-child { color: #6b7280; font-size: 11.5px; text-align: right; }
.p-btn { background: #16a34a; color: #fff; text-align: center; font-weight: 700; padding: 10px; border-radius: 10px; }
.p-nav { display: flex; justify-content: space-around; border-top: 1px solid #eceef1; padding: 8px 0 12px; font-size: 10.5px; color: #6b7280; }
.p-nav b { color: #16a34a; }
.c-late { color: #dc2626; } .c-due { color: #b45309; }

/* sections */
section { padding: 64px 0; }
.alt { background: var(--soft); }
.sec-head { max-width: 640px; margin-bottom: 32px; }
.sec-head h2 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; }
.sec-head p { color: var(--muted); margin: 10px 0 0; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.alt .feat { background: var(--bg); }
.feat .ico { font-size: 26px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: var(--accent-soft); margin-bottom: 12px; }
.feat h3 { font-size: 19px; margin-bottom: 6px; }
.feat p { margin: 0; color: var(--muted); font-size: 15.5px; }
.soon { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--spring);
  background: var(--spring-soft); padding: 2px 8px; border-radius: 99px; vertical-align: middle; margin-left: 6px; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { position: relative; padding: 22px 22px 22px 70px; border-radius: var(--r); background: var(--bg); border: 1px solid var(--line); }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 22px; top: 20px; width: 34px; height: 34px;
  border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; display: grid; place-items: center; }
.step h3 { font-size: 18px; margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); font-size: 15.5px; }

.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 10px 0 0; }

.cta-band { text-align: center; }
.cta-band .join { margin: 24px auto 0; }
.cta-band h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--muted); }

/* legal pages */
.legal { max-width: 760px; padding: 48px 20px 64px; margin: 0 auto; }
.legal h1 { font-size: 36px; margin-bottom: 6px; }
.legal h2 { font-size: 21px; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--ink); }
.draft { background: var(--due-soft); color: var(--due); border-radius: 10px; padding: 10px 14px; font-size: 14px; margin: 16px 0 0; }

@media (max-width: 860px) {
  .hero { padding-top: 36px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .grid, .steps { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
}

/* header nav */
.head-nav { display: flex; align-items: center; gap: 18px; }
.head-nav > a:not(.head-cta) { color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; }
.head-nav > a[aria-current="page"] { color: var(--accent); }

/* roadmap page */
.rm-hero { padding: 56px 0 8px; }
.rm-hero h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 800; }
.rm { padding-top: 24px; }
.rm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; }
.rm-col h2 { margin: 0; }
.rm-col > .muted { font-size: 14px; margin: 8px 0 12px; }
.rm-badge { display: inline-block; font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 99px; letter-spacing: .02em; }
.rm-badge.live { background: var(--accent); color: #fff; }
.rm-badge.now { background: var(--due-soft); color: var(--due); }
.rm-badge.next { background: var(--spring-soft); color: var(--spring); }
.rm-badge.later { background: var(--soft); color: var(--muted); border: 1px solid var(--line); }
.rm-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; margin-bottom: 10px; }
.rm-card h3 { font-size: 16px; margin-bottom: 4px; }
.rm-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
@media (max-width: 1000px) { .rm-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .rm-grid { grid-template-columns: 1fr; } .head-nav { gap: 12px; } .head-nav > a:not(.head-cta) { font-size: 14px; } }
.cta-short { display: none; }
@media (max-width: 480px) {
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .site-head .logo { font-size: 17px; }
}

/* shop */
.shop-all { display: inline-block; margin-top: 4px; }
.shop { padding-top: 16px; }
.shop-section { margin-bottom: 40px; }
.shop-section h2 { font-size: 26px; font-weight: 800; }
.shop-section > .muted { margin: 6px 0 16px; }
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: transform .12s, box-shadow .12s; }
.product:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .12); }
.product img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; display: block; background: var(--soft); }
.p-name { font-weight: 700; font-size: 15.5px; padding: 12px 14px 2px; line-height: 1.3; }
.p-price { color: var(--muted); font-size: 14.5px; padding: 0 14px; }
.p-btn { margin: 10px 14px 14px; text-align: center; font-weight: 700; font-size: 14px; color: var(--accent); background: var(--accent-soft);
  border-radius: 10px; padding: 8px; margin-top: auto; }
.product .p-price { margin-bottom: 10px; }
@media (max-width: 900px) { .products { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .products { grid-template-columns: 1fr 1fr; gap: 10px; } .p-name { font-size: 14px; } }

/* shop coupon */
.coupon { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; max-width: 640px;
  background: var(--accent-soft); border: 2px dashed var(--accent); border-radius: var(--r); padding: 14px 16px; }
.coupon-icon { font-size: 30px; }
.coupon-text { flex: 1; min-width: 200px; font-size: 15px; line-height: 1.4; }
.coupon-code { font: 800 20px/1 Inter, sans-serif; letter-spacing: .06em; color: var(--ink); background: var(--bg);
  border: 2px solid var(--accent); border-radius: 10px; padding: 10px 14px; cursor: pointer; display: flex; align-items: center; gap: 10px; }
.coupon-code span { font: 700 12px Inter, sans-serif; letter-spacing: 0; color: var(--accent); text-transform: uppercase; }
