
:root{
  --bg:#fff8f2;
  --bg-soft:#fffdf9;
  --paper:#ffffffcc;
  --text:#1c130f;
  --muted:#6d5a52;
  --line:#eedcd0;
  --brand:#b41d1d;
  --brand-2:#ffb74d;
  --shadow:0 20px 50px rgba(73,34,13,.10);
  --radius:24px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(circle at top right, rgba(255,183,77,.18), transparent 28%),
    radial-gradient(circle at left top, rgba(180,29,29,.08), transparent 28%),
    linear-gradient(180deg,#fffaf6,#fff7f1 40%,#fffdf9);
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.container{width:min(1180px, calc(100% - 32px)); margin:0 auto}
.site-header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background:rgba(255,250,246,.78);
  border-bottom:1px solid rgba(238,220,208,.7);
}
.header-inner{display:flex; align-items:center; justify-content:space-between; gap:18px; padding:14px 0}
.brand{display:flex; align-items:center; gap:12px; font-weight:800; letter-spacing:-.03em}
.brand-badge{
  width:42px;height:42px;border-radius:14px;
  display:grid;place-items:center;
  background:linear-gradient(135deg,var(--brand),#e24c37);
  color:#fff; box-shadow: var(--shadow);
}
.brand small{display:block;color:var(--muted);font-weight:600;letter-spacing:0}
.nav-toggle{display:none}
.site-nav{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end}
.site-nav a{
  padding:10px 14px; border-radius:999px; font-size:14px;
  color:var(--muted); transition:.2s ease;
}
.site-nav a:hover,.site-nav a.active{background:#fff; color:var(--text); box-shadow: var(--shadow)}
.hero{padding:72px 0 36px}
.hero-grid{display:grid; grid-template-columns:1.2fr .9fr; gap:28px; align-items:center}
.kicker{
  display:inline-flex; align-items:center; gap:8px; padding:8px 12px; border-radius:999px;
  background:#fff; color:var(--brand); border:1px solid var(--line); font-size:14px; font-weight:700;
}
.hero h1{font-size:clamp(40px,6vw,72px); line-height:.96; margin:16px 0}
.hero p{font-size:18px; color:var(--muted); max-width:62ch}
.cta-row{display:flex; flex-wrap:wrap; gap:14px; margin-top:24px}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px; padding:14px 18px;
  border-radius:16px; font-weight:700; border:1px solid transparent; transition:.2s ease;
}
.btn-primary{background:linear-gradient(135deg,var(--brand),#d7422d); color:#fff; box-shadow: var(--shadow)}
.btn-secondary{background:#fff; border-color:var(--line)}
.hero-card,.panel,.section-card{
  background:var(--paper);
  border:1px solid rgba(238,220,208,.85);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
}
.hero-card{padding:18px}
.hero-card img{aspect-ratio:4/3; object-fit:cover; border-radius:20px}
.hero-stats{display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:12px}
.stat{background:#fff; border:1px solid var(--line); border-radius:18px; padding:14px}
.stat strong{display:block; font-size:24px}
main section{padding:24px 0}
.section-head{display:flex; justify-content:space-between; align-items:end; gap:18px; margin-bottom:20px}
.section-head h2{font-size:clamp(28px,4vw,42px); margin:0; letter-spacing:-.03em}
.section-head p{margin:0; color:var(--muted); max-width:65ch}
.grid-3{display:grid; grid-template-columns:repeat(3,1fr); gap:18px}
.grid-2{display:grid; grid-template-columns:repeat(2,1fr); gap:18px}
.grid-4{display:grid; grid-template-columns:repeat(4,1fr); gap:18px}
.feature-card,.menu-card,.info-card,.tool-card,.faq-item,.article-card{
  background:rgba(255,255,255,.88);
  border:1px solid var(--line);
  border-radius:22px; overflow:hidden;
  box-shadow:var(--shadow);
}
.feature-card,.info-card,.tool-card,.article-card,.faq-item{padding:22px}
.feature-card h3,.info-card h3,.tool-card h3,.article-card h3,.menu-card h3{margin:0 0 8px}
.menu-card img{aspect-ratio:16/12; object-fit:cover}
.menu-card__body{padding:16px 16px 18px}
.meta{color:var(--muted); font-weight:600}
.section-card{padding:26px}
.badge-list,.pill-list{display:flex; flex-wrap:wrap; gap:10px}
.badge,.pill{
  display:inline-flex; padding:8px 12px; border-radius:999px; font-size:14px;
  background:#fff; border:1px solid var(--line); color:var(--muted)
}
.table-wrap{overflow:auto; border-radius:18px; border:1px solid var(--line); background:#fff}
table{width:100%; border-collapse:collapse; min-width:700px}
th,td{padding:14px 16px; text-align:left; border-bottom:1px solid #f1e3d8}
th{background:#fff6ef; font-size:14px; color:var(--muted)}
form{display:grid; gap:14px}
input,select,textarea{
  width:100%; padding:14px 16px; border-radius:16px; border:1px solid var(--line);
  background:#fff; font:inherit; color:var(--text)
}
textarea{min-height:140px; resize:vertical}
.calculator-output{
  padding:18px; border-radius:18px; background:#fff; border:1px solid var(--line)
}
.note{font-size:14px; color:var(--muted)}
.footer{padding:38px 0 60px; color:var(--muted)}
.footer-grid{display:grid; grid-template-columns:1.2fr .8fr .8fr; gap:18px}
.footer a{color:var(--muted)}
.center{text-align:center}
.quiz-option{
  display:block; width:100%; text-align:left; padding:14px 16px; margin:10px 0;
  border-radius:16px; border:1px solid var(--line); background:#fff; cursor:pointer
}
.quiz-option:hover{border-color:#d8b39b}
.callout{
  padding:18px; border-radius:20px; background:linear-gradient(135deg,rgba(180,29,29,.08),rgba(255,183,77,.12));
  border:1px solid var(--line)
}
.hero-compact{padding:54px 0 20px}
.hero-compact h1{font-size:clamp(34px,5vw,56px); margin:12px 0}
.columns{columns:2; column-gap:24px}
.columns p{break-inside:avoid}
@media (max-width: 960px){
  .hero-grid,.grid-3,.grid-4,.grid-2,.footer-grid{grid-template-columns:1fr}
  .site-nav{display:none; position:absolute; left:16px; right:16px; top:74px; padding:12px; background:#fff; border-radius:22px; border:1px solid var(--line); box-shadow:var(--shadow)}
  .site-nav.open{display:flex; flex-direction:column}
  .nav-toggle{display:inline-flex; padding:12px 14px; border-radius:14px; border:1px solid var(--line); background:#fff}
  .columns{columns:1}
}
