:root {
  --navy: #0B1739;
  --navy-deep: #060D24;
  --blue: #2563EB;
  --cyan: #38BDF8;
  --ink: #14212e;
  --muted: #5a6b7a;
  --line: #dde6ee;
  --soft: #f2f7fb;
  --green: #12805c;
  --red: #b3402f;
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand img { width: 46px; height: 46px; object-fit: contain; border-radius: 11px; }
.brand-text { font-size: 21px; font-weight: 800; letter-spacing: 0.2px; line-height: 1.1; }
.brand-store { color: var(--blue); }
.brand-text small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.8px; text-transform: uppercase; margin-top: 2px; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; }
.main-nav a:hover { color: var(--blue); }
.main-nav .nav-cta { background: var(--navy); color: #fff; padding: 9px 16px; border-radius: 999px; white-space: nowrap; }
.main-nav .nav-cta:hover { background: var(--blue); color: #fff; }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700; font-size: 16px;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--navy); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.65); }
.btn-ghost:hover { border-color: #fff; }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--blue); }
.btn-card { background: var(--navy); color: #fff; padding: 11px 20px; font-size: 15px; }
.btn-card:hover { background: var(--blue); }
.btn-block { display: block; text-align: center; width: 100%; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, #1D4ED8 100%);
  color: #fff; padding: 84px 0 72px;
}
.hero-tag { font-size: 20px; font-weight: 800; letter-spacing: 0.4px; color: var(--cyan); margin-bottom: 16px; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 13px; font-weight: 700; color: var(--cyan); margin-bottom: 18px; }
.hero h1 { font-size: 52px; line-height: 1.08; max-width: 720px; margin-bottom: 20px; }
.hero-sub { font-size: 19px; max-width: 680px; color: #d7e6f5; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 18px; flex-wrap: wrap; }
.stat { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius); padding: 16px 20px; max-width: 300px; }
.stat strong { display: block; font-size: 30px; color: #fff; }
.stat span { font-size: 14px; color: #c4d8ec; }

/* Sections */
.section { padding: 76px 0; }
.section-dark { background: var(--navy-deep); color: #eaf3fb; }
.section-dark h2 { color: #fff; }
.section-dark .section-lede { color: #bcd3e9; }
.section-soft { background: var(--soft); }
h2 { font-size: 36px; color: var(--navy); margin-bottom: 12px; }
.section-lede { font-size: 18px; color: var(--muted); max-width: 720px; margin-bottom: 38px; }

/* Shelf */
.shelf-group { font-size: 23px; color: var(--navy); margin: 6px 0 18px; }
.shelf-grid + .shelf-group { margin-top: 48px; }
.shelf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.app-tile { width: 76px; height: 76px; border-radius: 19px; display: flex; align-items: center; justify-content: center; font-size: 34px; font-weight: 800; color: #fff; margin-bottom: 16px; }
.tile-a { background: linear-gradient(135deg, var(--blue), var(--cyan)); }
.tile-b { background: linear-gradient(135deg, #7C3AED, var(--cyan)); }
.tile-c { background: linear-gradient(135deg, var(--navy), var(--blue)); }
.app-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; display: flex; flex-direction: column; }
.app-logo-box { height: 92px; display: flex; align-items: center; margin-bottom: 16px; }
.app-logo-box img { max-height: 92px; width: auto; max-width: 230px; object-fit: contain; }
.app-card h3 { font-size: 24px; color: var(--navy); }
.app-owner { font-size: 13px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase; color: var(--blue); margin: 4px 0 10px; }
.app-card p { color: var(--muted); margin-bottom: 14px; }
.app-card .btn { margin-top: auto; align-self: flex-start; }
.get-note { font-size: 14px; margin-top: 14px; margin-bottom: 0 !important; }

/* Math */
.math-box { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius); padding: 28px; margin-bottom: 34px; }
.math-title { font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 18px; }
.math-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.12); font-size: 17px; }
.math-row:last-of-type { border-bottom: none; }
.math-row strong { font-size: 26px; white-space: nowrap; }
.math-bad { color: #ff9d8a; }
.math-good { color: #6fe3b4; }
.math-note { margin-top: 16px; color: #bcd3e9; font-size: 16px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-item h3 { color: #fff; font-size: 20px; margin-bottom: 8px; }
.why-item p { color: #bcd3e9; font-size: 16px; }

/* Tablet */
.tablet-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 38px; align-items: center; margin-top: 28px; }
.tablet-media img { border-radius: var(--radius); box-shadow: 0 24px 50px rgba(6,38,77,0.22); width: 100%; }
.tablet-lede { font-size: 21px; font-weight: 600; color: var(--navy); line-height: 1.45; margin-bottom: 24px; }
.tablet-facts { display: grid; gap: 16px; margin-bottom: 22px; }
.tablet-fact h3 { color: var(--navy); font-size: 18px; margin-bottom: 3px; }
.tablet-fact p { color: var(--muted); font-size: 16px; }
.tablet-note { font-weight: 700; color: var(--navy); font-size: 16px; }

/* Pricing */
.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 26px; }
.doors-single { grid-template-columns: 1fr; max-width: 600px; margin-left: auto; margin-right: auto; }
.doors-tiers { grid-template-columns: repeat(3, 1fr); }
.door { border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; background: #fff; }
.door-featured { border: 2px solid var(--blue); box-shadow: 0 18px 40px rgba(6,38,77,0.12); }
.door-tag { font-size: 13px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.door-price { font-size: 46px; font-weight: 800; color: var(--navy); line-height: 1; }
.door-price span { font-size: 17px; font-weight: 600; color: var(--muted); }
.door-commission { font-size: 18px; font-weight: 700; margin-top: 8px; }
.door-pitch { font-size: 18px; color: var(--navy); font-weight: 600; margin: 12px 0 18px; }
.door-list { list-style: none; margin-bottom: 24px; }
.door-list li { padding: 7px 0 7px 26px; position: relative; color: var(--muted); border-bottom: 1px solid #eef3f8; }
.door-list li:last-child { border-bottom: none; }
.door-list li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); }
.build-note { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; font-size: 17px; color: var(--navy); font-weight: 600; }

/* Form */
.sell-wrap { max-width: 720px; }
.seller-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: grid; gap: 16px; }
.seller-form label { font-weight: 700; color: var(--navy); font-size: 15px; display: grid; gap: 7px; }
.seller-form input, .seller-form textarea {
  font: inherit; font-weight: 400; color: var(--ink);
  border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #fbfdff;
}
.seller-form input:focus, .seller-form textarea:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.form-note { font-size: 14px; color: var(--muted); text-align: center; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #c4d8ec; padding: 44px 0 26px; }
.footer-inner { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 26px; }
.footer-brand { display: flex; gap: 14px; align-items: center; max-width: 420px; }
.footer-brand img { width: 44px; height: 44px; object-fit: contain; border-radius: 10px; }
.footer-contact p { margin-bottom: 4px; }
.footer-legal { text-align: center; font-size: 13px; color: #8fb0cc; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 18px; max-width: 1120px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

/* Mobile */
@media (max-width: 820px) {
  .main-nav a:not(.nav-cta) { display: none; }
  .hero { padding: 56px 0 52px; }
  .hero h1 { font-size: 36px; }
  .hero-sub { font-size: 17px; }
  h2 { font-size: 29px; }
  .section { padding: 54px 0; }
  .shelf-grid, .doors, .why-grid, .tablet-grid { grid-template-columns: 1fr; }
  .brand-text { font-size: 17px; }
  .brand-text small { font-size: 9px; letter-spacing: 0.4px; }
  .brand img { width: 38px; height: 38px; }
  .main-nav .nav-cta { padding: 8px 13px; font-size: 14px; }
  .stat { max-width: none; flex: 1 1 140px; }
}
