:root {
  --bg: #ffffff;
  --surface: #fff7ed;
  --text: #1f2937;
  --muted: #6b7280;
  --primary: #ea580c;
  --primary-dark: #c2410c;
  --border: #fed7aa;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 5vw;
}
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--text); }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.brand strong { display: block; }
.brand span { display: block; font-size: .75rem; color: var(--primary-dark); }

.site-nav { display: flex; gap: 1rem; }
.site-nav a { text-decoration: none; color: #374151; font-weight: 600; padding: .45rem .65rem; border-radius: .5rem; }
.site-nav a:hover, .site-nav a.active { background: #fff7ed; color: var(--primary-dark); }
.menu-btn { display: none; }

main { width: min(1120px, 92vw); margin: 0 auto; }
.hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.25rem; padding: 3rem 0; }
.hero-text h1 { font-size: clamp(2rem, 4vw, 3.4rem); margin: .3rem 0 .8rem; }
.hero-text p { color: var(--muted); line-height: 1.7; }
.tag { color: var(--primary-dark); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .78rem; }

.hero-card, .card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(251, 146, 60, .12);
}

.section { padding: 2rem 0 3rem; }
.section h2 { margin-bottom: 1rem; font-size: clamp(1.5rem, 2.5vw, 2rem); }

.features { display: grid; gap: 1rem; }
.features.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.features.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.features.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.page-head { padding: 2rem 0 .5rem; }
.page-head h1 { font-size: clamp(2rem, 3vw, 2.8rem); margin: 0; color: var(--primary-dark); }

.cta-row { display: flex; gap: .8rem; margin-top: 1rem; }
.btn { display: inline-flex; text-decoration: none; padding: .72rem 1rem; border-radius: .7rem; font-weight: 700; border: 1px solid transparent; cursor: pointer; }
.btn.primary { background: var(--primary); color: #fff; }
.btn.primary:hover { background: var(--primary-dark); }
.btn.ghost { background: #fff; color: var(--primary-dark); border-color: var(--border); }

form { display: grid; gap: .8rem; }
label { display: grid; gap: .35rem; font-weight: 600; color: #374151; }
input, textarea {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: .6rem;
  padding: .65rem .72rem;
  font: inherit;
}
input:focus, textarea:focus { outline: 2px solid #fb923c66; border-color: #fb923c; }

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid #f3f4f6;
  text-align: center;
  color: #6b7280;
  padding: 1.2rem;
}

.tip { position: relative; }
.tip::after {
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  bottom: calc(100% + 8px);
  background: #111827;
  color: #fff;
  font-size: .74rem;
  padding: .38rem .5rem;
  border-radius: .5rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: .18s;
}
.tip:hover::after { opacity: 1; transform: translateX(-50%) translateY(0); }

.reveal { opacity: 0; transform: translateY(12px); transition: .45s; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .hero, .features.two, .features.three, .features.five { grid-template-columns: 1fr; }
  .menu-btn { display: inline-flex; border: 1px solid #ddd; background: #fff; border-radius: .5rem; padding: .35rem .55rem; }
  .site-nav { display: none; position: absolute; top: 72px; right: 5vw; flex-direction: column; background: #fff; border: 1px solid #eee; border-radius: .6rem; padding: .6rem; }
  .site-nav.open, .site-nav.force-show { display: flex; }
}
