:root{
  --bg:#fff7ef;
  --card:#ffffff;
  --text:#1f2a37;
  --muted:#4b5563;
  --line:#e7e2da;

  --accent:#FFB000;   /* bright saffron */
  --accent2:#FF7A00;  /* glaze */
  --accentText:#ffffff;

  --shadow: 0 18px 50px rgba(17,24,39,.12);
  --shadow2: 0 8px 24px rgba(17,24,39,.08);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(980px 560px at 18% -10%, rgba(255,176,0,.55) 0%, rgba(255,255,255,0) 62%),
    radial-gradient(980px 560px at 90% 6%, rgba(255,122,0,.22) 0%, rgba(255,255,255,0) 58%),
    var(--bg);
  color:var(--text);
}

.wrap{ max-width:1120px; margin:0 auto; padding:28px 18px 48px; }

a{ color:#a35f00; text-decoration:none; font-weight:700; }
a:hover{ text-decoration:underline; }

.nav{
  position:sticky; top:0; z-index:10;
  backdrop-filter:saturate(120%) blur(8px);
  background: rgba(255,255,255,.82);
  border-bottom:1px solid var(--line);
}
.nav-inner{
  max-width:1120px; margin:0 auto; padding:14px 18px;
  display:flex; align-items:center; justify-content:space-between; gap:18px;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand-mark{
  width:44px; height:44px; border-radius:14px;
  display:grid; place-items:center;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent2) 100%);
  color:#fff; box-shadow: var(--shadow2);
  font-size:22px;
}
.brand-name{ font-size:20px; font-weight:900; letter-spacing:-0.01em; }
.brand-name span{ color: #a35f00; }
.brand-tagline{ font-size:12px; color:var(--muted); font-weight:800; }

.nav-links{ display:flex; gap:16px; }
.nav-links a{ color:var(--text); font-weight:800; opacity:.9; }
.nav-links a:hover{ opacity:1; }

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

.btn{
  border:1px solid var(--line);
  background:#fff;
  color:var(--text);
  padding:12px 14px;
  border-radius:14px;
  cursor:pointer;
  font-weight:900;
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn-primary{
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent2) 100%);
  border:1px solid rgba(0,0,0,.08);
  color: var(--accentText);
  box-shadow: 0 18px 34px rgba(255,176,0,.30);
}
.btn-primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(255,176,0,.34);
}
.btn-outline{
  background:#fff;
  border:2px solid rgba(255,176,0,.95);
  color:#a35f00;
}
.btn-outline:hover{ box-shadow: 0 0 0 6px rgba(255,176,0,.14); }

.select, .textarea{
  width:100%;
  background:#fff !important;
  color:var(--text) !important;
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px 12px;
  font-size:14px;
  box-shadow: 0 2px 10px rgba(17,24,39,.04) inset;
}
.select.sm{ padding:10px 10px; width:auto; }
.textarea{ min-height:110px; resize:vertical; }
.textarea:focus, .select:focus{ outline:none; border-color: rgba(255,176,0,.98); box-shadow: 0 0 0 6px rgba(255,176,0,.18); }
.textarea::placeholder{ color:#9ca3af; }

.hero{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:22px;
  align-items:center;
  padding:26px 0 10px;
}
.kicker{
  display:inline-block;
  font-weight:900;
  color:#7a4a00;
  background: rgba(255,176,0,.12);
  border:1px solid rgba(255,176,0,.25);
  padding:8px 12px;
  border-radius:999px;
}
h1{
  margin:14px 0 0;
  font-size:44px;
  line-height:1.08;
  letter-spacing:-0.03em;
}
.accent{ color:#a35f00; }
.sub{ margin:14px 0 0; color:var(--muted); font-size:17px; max-width:62ch; }

.hero-search{
  margin-top:16px;
  display:flex;
  gap:10px;
  align-items:center;
}
.hero-mini{ margin-top:12px; display:flex; flex-wrap:wrap; gap:10px; }

.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 14px;
  border:1px solid var(--line);
  background:#ffffff;
  border-radius:999px;
  font-weight:900;
  font-size:13px;
  cursor:pointer;
  color:#7a4a00;
  transition: border-color .12s ease, box-shadow .12s ease, transform .12s ease, background .12s ease;
}
.pill:hover{ border-color: rgba(255,176,0,.9); transform: translateY(-1px); }
.pill.active{
  border-color: rgba(255,176,0,.98);
  background: rgba(255,176,0,.12);
  box-shadow: 0 0 0 6px rgba(255,176,0,.18);
}

.hero-illustration{
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow: var(--shadow2);
  padding:18px;
  min-height:260px;
  display:grid;
  place-items:center;
  position:relative;
  overflow:hidden;
}
.hero-robot{ font-size:64px; }
.hero-bubbles{
  position:absolute;
  top:16px; right:16px;
  display:flex; gap:10px; flex-wrap:wrap; max-width:160px;
}
.hero-bubbles span{
  width:38px; height:38px;
  border-radius:14px;
  display:grid; place-items:center;
  background: rgba(255,176,0,.12);
  border:1px solid rgba(255,176,0,.25);
}
.hero-note{ margin-top:12px; font-weight:900; color:#7a4a00; }

.panel{
  margin-top:18px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow: var(--shadow2);
  padding:18px;
}
.panel-head h2{ margin:0; }
.panel-head p{ margin:8px 0 0; color:var(--muted); font-weight:700; }

.form{
  margin-top:14px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow: 0 8px 24px rgba(17,24,39,.06);
  padding:18px;
}
.grid{ display:grid; grid-template-columns: 1.25fr .75fr; gap:16px; }
label{ display:block; font-weight:900; margin:10px 0 8px; color:#33475B; }
.cta-full{ width:100%; margin-top:14px; }

.result-box{
  margin-top:16px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow: var(--shadow2);
  padding:18px;
}
.hidden{ display:none; }
.result-top{ display:flex; gap:10px; align-items:center; margin-bottom:8px; }
.badge{
  font-weight:900; font-size:12px;
  padding:6px 10px; border-radius:999px;
  background: rgba(255,176,0,.12);
  border:1px solid rgba(255,176,0,.25);
  color:#7a4a00;
}
.badge.ai{ background: rgba(255,122,0,.12); border-color: rgba(255,122,0,.22); color:#8a3b00; }
.badge.rule{ background: rgba(255,176,0,.12); border-color: rgba(255,176,0,.25); color:#7a4a00; }
.badge.subtle{ background:#fff; border:1px solid var(--line); color:var(--muted); }

.result-row{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
}
.result-cols{
  margin-top:12px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
}
.result-block{
  background:#fffaf3;
  border:1px solid rgba(255,176,0,.22);
  border-radius:16px;
  padding:14px;
}
.result-block .label{ font-weight:900; color:#7a4a00; font-size:12px; }
.result-block .value{ margin-top:6px; font-weight:800; }
.prompt{
  margin-top:10px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px;
  white-space:pre-wrap;
}
.row{ display:flex; gap:10px; margin-top:10px; flex-wrap:wrap; }

.section{ margin-top:28px; }
.section-title{ margin:0 0 14px; font-size:22px; letter-spacing:-0.01em; }

.how{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
.how-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow: var(--shadow2);
  padding:16px;
}
.how-num{
  width:38px; height:38px; border-radius:14px;
  display:grid; place-items:center;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent2) 100%);
  color:#fff;
  font-weight:900;
}
.how-title{ margin-top:10px; font-weight:900; }
.how-sub{ margin-top:6px; color:var(--muted); font-weight:700; }

.tool-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
}
.tool-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow: var(--shadow2);
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.tool-head{ display:flex; gap:10px; align-items:center; }
.tool-head span{
  width:36px; height:36px; border-radius:14px;
  display:grid; place-items:center;
  background: rgba(255,176,0,.12);
  border:1px solid rgba(255,176,0,.22);
}
.tool-body{ color:var(--muted); font-weight:800; }
.tool-btn{ margin-top:auto; }

.testimonials{ display:grid; grid-template-columns: 1fr 1fr; gap:14px; }
.quote{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow: var(--shadow2);
  padding:16px;
}
.stars{ color:#a35f00; font-weight:900; letter-spacing:2px; }
.by{ margin-top:10px; color:var(--muted); font-weight:800; }

.insights{ display:grid; grid-template-columns: repeat(3, 1fr); gap:14px; }
.post{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow: var(--shadow2);
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.thumb{
  width:100%;
  height:120px;
  border-radius:16px;
  background: radial-gradient(520px 180px at 20% 0%, rgba(255,176,0,.35) 0%, rgba(255,255,255,0) 60%),
              #fffaf3;
  border:1px solid rgba(255,176,0,.22);
  display:grid;
  place-items:center;
  font-weight:900;
  color:#7a4a00;
}

.footer{ margin-top:34px; border-top:1px solid var(--line); padding-top:18px; }
.footer-inner{ display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; }
.muted{ color:var(--muted); font-weight:800; }

@media (max-width: 980px){
  .hero{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns:1fr; }
  .tool-grid{ grid-template-columns:1fr 1fr; }
  .how{ grid-template-columns:1fr; }
  .testimonials{ grid-template-columns:1fr; }
  .insights{ grid-template-columns:1fr; }
  .nav-links{ display:none; }
}
