:root {
  --bg: #f8f4ed;
  --bg-deep: #1a2c2f;
  --surface: #fffdf8;
  --surface-soft: #f2eee6;
  --text: #1f2421;
  --text-inverse: #f8f4ed;
  --muted: #5b625c;
  --brand: #2a7a64;
  --brand-strong: #11533f;
  --accent: #f1b963;
  --border: #d6d0c4;
  --radius: 18px;
  --shadow: 0 12px 30px rgba(15, 34, 30, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 0%, #fff8e8 0%, var(--bg) 40%), linear-gradient(180deg, #fcf9f2 0%, #f4eee0 100%);
  line-height: 1.6;
}

h1,
h2,
h3,
.brand,
.eyebrow {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: -0.02em;
}

h1,
h2,
h3,
p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.muted {
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.7), rgba(242, 238, 230, 0.9));
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
}

.brand {
  font-size: 1.15rem;
  font-weight: 700;
}

.mini-link {
  color: var(--muted);
  font-weight: 600;
}

.hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 84px;
}

.hero-bg-shape {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(2px);
  z-index: -1;
}

.hero-bg-shape-left {
  top: -180px;
  left: -140px;
  background: radial-gradient(circle, rgba(42, 122, 100, 0.28), rgba(42, 122, 100, 0));
}

.hero-bg-shape-right {
  top: 60px;
  right: -180px;
  background: radial-gradient(circle, rgba(241, 185, 99, 0.32), rgba(241, 185, 99, 0));
}

.hero-content {
  padding-top: 64px;
  max-width: 760px;
  animation: rise 0.7s ease both;
}

.eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--brand-strong);
  font-weight: 700;
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.lead {
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  color: var(--muted);
  max-width: 62ch;
}

.cta-group {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  border: 0;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: var(--text-inverse);
  box-shadow: 0 10px 20px rgba(17, 83, 63, 0.25);
}

.btn-primary:hover {
  background: var(--brand-strong);
}

.app-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.apple-icon {
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1;
}

.btn-secondary {
  background: var(--surface);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  box-shadow: var(--shadow);
}

.trust-line {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.card,
.feature-card,
.step-card,
.detail-card,
.beta-card,
.audience-card,
.security-card,
.faq-list details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card,
.feature-card,
.step-card,
.detail-card,
.audience-card,
.security-card,
.faq-list details {
  padding: 24px;
}

.solution-card {
  background: linear-gradient(160deg, #e8f6f1 0%, #fffdf8 70%);
}

h2 {
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  margin-bottom: 20px;
}

h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step-card {
  position: relative;
  overflow: hidden;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #2b2416;
  font-weight: 700;
  margin-bottom: 12px;
}

.hint {
  margin-top: 16px;
  color: var(--muted);
}

.demo-card {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
}

.demo-inventory {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.demo-media {
  padding: 0;
}

.demo-image {
  display: block;
  width: 100%;
  border-radius: 12px;
  border: 0;
  object-fit: cover;
  max-height: 440px;
  opacity: 0;
  transition: opacity 0.28s ease;
}

.demo-image.is-visible {
  border: 1px solid var(--border);
  opacity: 1;
}

.demo-state {
  color: var(--muted);
}

.demo-meta {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.92rem;
}

.demo-load-btn {
  margin: 0 0 14px;
  width: 100%;
  min-height: 64px;
  font-size: 1.08rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.demo-btn-icon {
  font-size: 0.82rem;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #c30f2f;
  color: #ffffff;
  border-radius: 999px;
  padding: 5px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  overflow: hidden;
}

.demo-btn-icon::after {
  content: "";
  position: absolute;
  top: 0;
  left: -40%;
  width: 24px;
  height: 100%;
  background: rgba(255, 255, 255, 0.55);
  transform: skewX(-20deg);
  animation: liveSheen 1.8s ease-in-out infinite;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4d4d;
  box-shadow: 0 0 10px rgba(255, 77, 77, 0.7);
  animation: livePulse 1.1s ease-in-out infinite;
}

@keyframes livePulse {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.7;
  }
}

@keyframes liveSheen {
  0% {
    left: -40%;
  }
  100% {
    left: 120%;
  }
}

.final-cta .btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: var(--text-inverse);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.final-cta .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.24);
}

.inventory-wrap {
  margin-top: 12px;
  overflow-x: auto;
}

.inventory-table {
  width: 100%;
  border-collapse: collapse;
}

.inventory-table th,
.inventory-table td {
  text-align: left;
  border-bottom: 1px solid var(--border);
  padding: 10px 8px;
  vertical-align: top;
}

.inventory-table th {
  font-size: 0.9rem;
}

.beta-card {
  padding: 32px;
  background: linear-gradient(165deg, #1f4447 0%, #123033 100%);
  color: var(--text-inverse);
}

.badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(241, 185, 99, 0.2);
  border: 1px solid rgba(241, 185, 99, 0.5);
  font-size: 0.82rem;
  font-weight: 700;
}

.beta-note {
  margin: 18px 0 22px;
  padding: 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list details p {
  margin-top: 12px;
  color: var(--muted);
}

.final-cta {
  background: linear-gradient(135deg, #17383d 0%, #245157 85%);
  color: var(--text-inverse);
}

.final-cta h2 {
  max-width: 720px;
}

.footer {
  background: #111f21;
  color: #d9e2df;
  padding: 24px 0;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.simple-header {
  padding: 32px 0 8px;
}

.legal-shell {
  max-width: 860px;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.legal-card h1 {
  margin-bottom: 14px;
}

.legal-card h2 {
  font-size: 1.3rem;
  margin-top: 22px;
  margin-bottom: 10px;
}

.legal-card p,
.legal-card li {
  color: var(--text);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.contact-block {
  background: var(--surface-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1050px) {
  .grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-4,
  .grid-3,
  .timeline,
  .demo-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .section {
    padding: 66px 0;
  }

  .two-col,
  .grid-5,
  .grid-4,
  .grid-3,
  .timeline,
  .demo-card {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-top: 48px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}
