:root{
  --bg: #fbfaf7;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --border: rgba(31,41,55,0.08);
  --shadow: 0 10px 30px rgba(17,24,39,0.08);
  --accent: #b45309;
  --accent-2: #f59e0b;
  --danger: #b91c1c;

  --radius: 16px;
  --container: 1100px;
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(800px 300px at 20% 0%, rgba(245,158,11,0.10), transparent 60%),
              radial-gradient(700px 280px at 90% 10%, rgba(180,83,9,0.08), transparent 55%),
              var(--bg);
  line-height: 1.55;
}

a{ color: var(--accent); text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 18px;
}

.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(251,250,247,0.75);
  border-bottom: 1px solid var(--border);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight: 700;
  color: var(--text);
  text-decoration:none;
}

.brand-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 6px 14px rgba(180,83,9,0.25);
}

.nav{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content:flex-end;
}

.nav-link{
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--text);
  opacity: 0.85;
}
.nav-link:hover{ background: rgba(31,41,55,0.05); text-decoration:none; }
.nav-link.active{
  background: rgba(180,83,9,0.12);
  color: var(--accent);
  font-weight: 600;
}

.site-main{
  padding: 28px 0 60px;
}

.hero{
  padding: 20px 0 10px;
}

.hero-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.hero h1{
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 12px;
}

.lead{
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 18px;
}

.cta-row{
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 24px;
}

.btn{
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 10px 18px;
  font-weight: 600;
  background: var(--card);
  color: var(--text);
  box-shadow: var(--shadow);
  display:inline-flex;
  align-items:center;
  gap: 8px;
}

.btn.primary{
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  border: none;
}

.btn.danger{
  background: #fee2e2;
  color: var(--danger);
  border: 1px solid rgba(185,28,28,0.2);
}

.btn[aria-disabled="true"]{
  opacity: 0.6;
  pointer-events: none;
}

.highlights{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.section{
  padding: 24px 0;
}

.section-head{
  margin-bottom: 18px;
}

.section-head h1,
.section-head h2{
  margin: 0 0 6px;
}

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

.card.mini{
  padding: 14px;
}

.kicker{
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 700;
}

.mini-title{
  font-weight: 600;
  margin-top: 4px;
}

.mini-body{
  color: var(--muted);
  font-size: 0.9rem;
}

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

.grid.two{
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid.screenshots{
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.hero-art{
  padding: 0;
  overflow: hidden;
}

.hero-art-inner{
  padding: 20px;
}

.hero-placeholder{
  height: 320px;
  border-radius: 24px;
  border: 1px dashed rgba(180,83,9,0.3);
  display:flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  background: linear-gradient(180deg, rgba(245,158,11,0.08), rgba(245,158,11,0.02));
  text-align: center;
  padding: 24px;
  gap: 8px;
}

.hero-phone{
  width: 160px;
  height: 260px;
  border-radius: 26px;
  border: 1px solid rgba(31,41,55,0.2);
  background: linear-gradient(180deg, #fff7ed, #fffbeb);
  box-shadow: inset 0 0 0 6px rgba(180,83,9,0.12);
}

.hero-note{
  font-weight: 600;
}

.hero-subnote{
  color: var(--muted);
  font-size: 0.9rem;
}

.shot{
  position: relative;
  min-height: 220px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow: hidden;
}

.shot img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.shot.placeholder{
  border-style: dashed;
  border-color: rgba(180,83,9,0.3);
}

.placeholder-label{
  font-weight: 600;
  color: var(--muted);
}

.list{
  margin: 0;
  padding-left: 18px;
  color: var(--text);
}

.list li{
  margin-bottom: 8px;
}

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

.small{
  font-size: 0.9rem;
}

.policy{
  white-space: pre-wrap;
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
  margin: 0;
}

.site-footer{
  border-top: 1px solid var(--border);
  padding: 24px 0 36px;
  background: rgba(255,255,255,0.6);
}

.footer-inner{
  display:flex;
  flex-wrap: wrap;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
}

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

.footer-copy{
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 720px){
  .header-inner{
    flex-direction: column;
    align-items: flex-start;
  }

  .nav{
    width: 100%;
    justify-content: flex-start;
  }

  .hero-placeholder{
    height: 260px;
  }
}

/* Put app icon inside the existing hero placeholder without changing its layout */
.hero-icon-placeholder{
  width: 120px;
  height: 120px;
  border-radius: 28px;
  border: 1px solid rgba(31,41,55,0.15);
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(17,24,39,0.10);
}

/* --- Carousel feel (still scrollable) --- */
.screenshots-row{
  position: relative;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
  scroll-behavior: smooth;
}

.screenshots-track{
  display: flex;
  gap: 12px;
  padding: 2px 2px;
  scroll-snap-type: x mandatory;
}

.screenshots-track .shot{
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: calc((100% - (12px * 2)) / 3);
  min-height: unset;
}

@media (min-width: 1100px){
  .screenshots-track .shot{
    width: calc((100% - (12px * 3)) / 4);
  }
}

@media (max-width: 900px){
  .screenshots-track .shot{
    width: calc((100% - 12px) / 2);
  }
}

@media (max-width: 520px){
  .screenshots-track .shot{
    width: 86%;
  }
}

.screenshots-row::-webkit-scrollbar{ height: 10px; }
.screenshots-row::-webkit-scrollbar-thumb{
  background: rgba(31,41,55,0.15);
  border-radius: 999px;
}
