:root {
  --bg: #f5f0e6;
  --panel: #faf7f0;
  --card: #ffffff;
  --border: #111111;
  --border-light: #cccccc;
  --accent: #e85500;
  --accent-muted: #ff7a33;
  --green: #2d6a4f;
  --text: #111111;
  --text-secondary: #444444;
  --text-muted: #666666;
  --sidebar: #ebe4d8;
  --shadow: 0 12px 40px rgba(17, 17, 17, 0.08);
  --radius: 12px;
  --max-width: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-muted);
}

code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: var(--sidebar);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border-light);
}

.container {
  width: min(var(--max-width), calc(100% - 48px));
  margin-inline: auto;
}

/* Nav */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 230, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
}

.site-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}

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

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--border);
}

.btn-primary:hover {
  background: var(--accent-muted);
  color: #fff;
}

.btn-secondary {
  background: var(--card);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--panel);
  color: var(--text);
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.875rem;
}

/* Hero */

.hero {
  padding: 72px 0 56px;
  text-align: center;
}

.hero-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 24px;
  border-radius: 20px;
  border: 2px solid var(--border);
  box-shadow: var(--shadow);
}

.hero h1 {
  margin: 0 0 8px;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero .tagline {
  margin: 0 0 20px;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--text-secondary);
  font-weight: 500;
}

.hero .lead {
  max-width: 640px;
  margin: 0 auto 32px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.hero-meta {
  margin-top: 20px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero-shot {
  margin: 40px auto 0;
  max-width: 920px;
}

.hero-shot img {
  width: 100%;
  max-width: 880px;
  height: auto;
  margin-inline: auto;
}

/* Sections */

section {
  padding: 64px 0;
}

.section-label {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  margin: 0 0 16px;
  font-size: clamp(1.6rem, 3vw, 2rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-intro {
  margin: 0 0 48px;
  max-width: 720px;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.panel {
  background: var(--panel);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

/* Feature grid */

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

.feature-card {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Legacy feature rows (unused) */

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 72px;
}

.feature:last-child {
  margin-bottom: 0;
}

.feature.reverse .feature-copy {
  order: 2;
}

.feature.reverse .feature-visual {
  order: 1;
}

.feature h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

.feature p {
  margin: 0 0 20px;
  color: var(--text-secondary);
}

.feature-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text-secondary);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 1px solid var(--border);
}

/* Screenshot frames */

.visual-frame {
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.visual-frame img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.visual-frame .frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: var(--sidebar);
  border-bottom: 1px solid var(--border-light);
}

.visual-frame .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-light);
  border: 1px solid var(--border);
}

.visual-frame .frame-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    linear-gradient(135deg, var(--panel) 0%, var(--bg) 100%);
  text-align: center;
}

.visual-frame .frame-caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 240px;
}

/* Stats */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.stat-card strong {
  display: block;
  font-size: 1.75rem;
  margin-bottom: 4px;
  color: var(--accent);
}

.stat-card span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Download CTA */

.download-cta {
  text-align: center;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 32px;
  box-shadow: var(--shadow);
}

.download-cta h2 {
  margin: 0 0 12px;
  font-size: 1.75rem;
}

.download-cta p {
  margin: 0 0 28px;
  color: var(--text-secondary);
  max-width: 520px;
  margin-inline: auto;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
}

/* FAQ */

.faq-list {
  max-width: none;
  width: 100%;
  margin: 0;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-item[open] {
  border-color: var(--border);
}

.faq-item summary {
  padding: 18px 20px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--accent);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item .faq-answer {
  padding: 0 20px 18px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.faq-item .faq-answer p {
  margin: 0 0 12px;
}

.faq-item .faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-item .faq-answer ul {
  margin: 0 0 4px;
  padding-left: 1.25rem;
}

.faq-item .faq-answer li {
  margin-bottom: 6px;
}

.faq-item .faq-answer li:last-child {
  margin-bottom: 0;
}

.faq-item .faq-answer code {
  display: inline-block;
  margin-top: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--surface-muted, #f3f3f3);
  font-size: 0.88em;
}

/* Footer */

.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-light);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.site-footer p {
  margin: 0 0 8px;
}

.site-footer .footer-links {
  margin: 0;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer a:hover {
  color: var(--accent);
}

/* Responsive */

@media (max-width: 800px) {
  .container {
    width: min(var(--max-width), calc(100% - 32px));
  }

  .nav-links {
    display: none;
  }

  .nav-actions {
    gap: 8px;
  }

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

  .feature {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 56px;
  }

  .feature.reverse .feature-copy,
  .feature.reverse .feature-visual {
    order: unset;
  }

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

  section {
    padding: 48px 0;
  }
}
