:root{
  /* Warm, friendly palette (non-sterile) */
  --bg:#fbf3ea;          /* apricot-cream */
  --paper:#fffaf5;       /* warm white */
  --ink:#1f2937;
  --muted:#55636c;

  --berry:#8a2b4a;       /* rich berry */
  --berry2:#6d1f3a;
  --mint:#2f7a6a;        /* calm green */
  --sun:#e28b2d;         /* warm accent */

  --tint:#f7efe8;
  --tint2:#f2f6f5;

  --border: rgba(31,41,55,.10);
  --soft: rgba(31,41,55,.06);
  --shadow: 0 20px 50px rgba(0,0,0,.10);
  --shadow2: 0 12px 26px rgba(0,0,0,.08);

  --r:18px;
  --r2:24px;
  --max:1160px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  color: var(--ink);
  line-height: 1.75;
  background:
    radial-gradient(900px 500px at 18% 8%, rgba(226,139,45,.14), transparent 55%),
    radial-gradient(800px 520px at 88% 18%, rgba(138,43,74,.12), transparent 55%),
    radial-gradient(900px 600px at 35% 95%, rgba(47,122,106,.10), transparent 60%),
    var(--bg);
}

img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline}

.skip{position:absolute;left:-999px;top:auto;width:1px;height:1px;overflow:hidden}
.skip:focus{
  left:16px;top:16px;width:auto;height:auto;
  padding:10px 12px;border-radius:12px;
  background:#111827;color:#fff;z-index:999
}

/* Header */
.top{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,250,245,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--soft);
}

.top__inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  flex-wrap:wrap;
}

.brand{display:flex;align-items:center;gap:12px}
.brand__mark{
  width:14px;height:14px;border-radius:6px;
  background: linear-gradient(90deg, var(--berry), var(--sun));
  box-shadow: 0 0 0 6px rgba(226,139,45,.14);
}
.brand__name{font-weight:950;letter-spacing:-.2px}
.brand__sub{font-size:12px;color:var(--muted);margin-top:2px}

/* Nav */
.nav{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.nav a{
  font-size:14px;
  padding:8px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.62);
  border: 1px solid transparent;
}
.nav a:hover{border-color:var(--soft); background: rgba(255,255,255,.86)}
.nav__cta{
  font-weight:950;
  color: var(--mint);
  background: rgba(47,122,106,.10) !important;
  border-color: rgba(47,122,106,.16) !important;
}

/* Mobile menu */
.menuBtn{
  display:none;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.86);
  cursor:pointer;
  font-weight:950;
}
.menuBtn__icon{width:18px;height:12px;position:relative;display:inline-block}
.menuBtn__icon::before,
.menuBtn__icon::after{
  content:"";
  position:absolute;left:0;right:0;height:2px;border-radius:2px;
  background: linear-gradient(90deg, var(--berry), var(--sun));
}
.menuBtn__icon::before{top:0}
.menuBtn__icon::after{bottom:0}
.menuBtn__label{font-size:14px}

@media (max-width: 920px){
  .menuBtn{display:inline-flex}
  .nav{
    width:100%;
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    padding:12px 0 2px;
  }
  .nav.isOpen{display:flex}
  .nav a{padding:12px 12px;background: rgba(255,255,255,.92)}
}

/* Wrap */
.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 26px 18px 80px;
}

/* Hero */
.hero__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  align-items:start;
}
@media (max-width: 980px){
  .hero__grid{grid-template-columns:1fr}
}

.hero__copy{
  background: rgba(255,255,255,.82);
  border: 1px solid var(--soft);
  border-radius: var(--r2);
  padding: 26px;
  box-shadow: var(--shadow);
}

.hero__side{
  display:flex;
  flex-direction:column;
  gap: 12px;
}

.crumbs{
  font-size: 13px;
  color: var(--muted);
}
.crumbs a{color: var(--berry); font-weight: 850}
.crumbs span{opacity:.75}

h1{
  margin: 10px 0 10px;
  font-size: clamp(30px, 3.1vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.6px;
}
h2{
  margin:0 0 10px;
  font-size: 22px;
  letter-spacing: -0.25px;
}
h3{margin:0 0 8px;font-size:16px}
p{margin:0 0 14px;color:var(--muted)}
.lead{margin:0 0 18px;color:var(--muted);max-width: 86ch}

/* Buttons */
.ctaRow{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(31,41,55,.10);
}
.ctaRow--center{justify-content:flex-start}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 950;
  border: 1px solid rgba(31,41,55,.14);
  background: rgba(255,255,255,.88);
  color: var(--ink);
  box-shadow: var(--shadow2);
  text-decoration:none;
}
.btn:hover{background:#fff}

/* Primary = berry */
.btn--primary{
  background: linear-gradient(90deg, var(--berry), var(--berry2));
  border-color: transparent;
  color: #fff;
}
.btn--primary:hover{
  background: linear-gradient(90deg, var(--berry), var(--berry2));
  filter: brightness(.98);
  text-decoration:none;
}

/* Secondary */
.btn--ghost{
  background: transparent;
  border-color: rgba(138,43,74,.22);
  color: var(--berry);
}

/* Soft */
.btn--soft{
  background: rgba(226,139,45,.14);
  border-color: rgba(226,139,45,.20);
  color: #7a3a09;
}
.btn--full{width:100%}

/* Soft cards under hero */
.softCards{
  margin-top: 16px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (max-width: 860px){ .softCards{grid-template-columns:1fr} }

.softCard{
  background: rgba(255,255,255,.75);
  border: 1px solid var(--soft);
  border-radius: 16px;
  padding: 12px 14px;
}
.softCard__k{font-weight:950;margin-bottom:4px}
.softCard__v{font-size:13px;color:var(--muted);line-height:1.5}
.softCard--accent{border-left:5px solid rgba(47,122,106,.70)}

/* Author */
.author{
  background: rgba(255,255,255,.85);
  border: 1px solid var(--soft);
  border-radius: var(--r2);
  padding: 18px;
  box-shadow: var(--shadow2);
}
.author__avatar{
  width:72px;height:72px;border-radius:20px;overflow:hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow2);
  background:#fff;
}
.author__meta{margin-top:10px}
.author__name{font-weight:950;letter-spacing:-.2px}
.author__role{font-size:13px;color:var(--muted);margin-top:2px}
.author__text{margin:10px 0 0;color:var(--muted);line-height:1.6}

/* Side card */
.sideCard{
  background: rgba(47,122,106,.08);
  border: 1px solid rgba(47,122,106,.14);
  border-radius: var(--r2);
  padding: 18px;
  box-shadow: var(--shadow2);
}
.sideCard__title{font-weight:950;margin-bottom:6px}
.sideCard__text{margin:0 0 12px}

/* Sections */
.section{margin: 34px 0}
.section__head{margin-bottom: 16px}
.section__head p{margin:0;max-width: 88ch}

.section--tint{
  background: rgba(255,255,255,.70);
  border: 1px solid var(--soft);
  border-radius: var(--r2);
  padding: 26px;
  box-shadow: var(--shadow2);
}

.section--alt{
  background: rgba(47,122,106,.06);
  border: 1px solid rgba(47,122,106,.12);
  border-radius: var(--r2);
  padding: 26px;
  box-shadow: var(--shadow2);
}

.section--alert{
  background: rgba(226,139,45,.10);
  border: 1px solid rgba(226,139,45,.18);
  border-radius: var(--r2);
  padding: 26px;
  box-shadow: var(--shadow2);
}

/* Tiles */
.tiles{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 1100px){ .tiles{grid-template-columns:1fr 1fr} }
@media (max-width: 720px){ .tiles{grid-template-columns:1fr} }

.tile{
  background: rgba(255,255,255,.82);
  border: 1px solid var(--soft);
  border-radius: var(--r2);
  padding: 16px;
  box-shadow: var(--shadow2);
}
.tile p{margin:0}

/* Two columns */
.twoCol{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 980px){ .twoCol{grid-template-columns:1fr} }

.box{
  background: rgba(255,255,255,.82);
  border: 1px solid var(--soft);
  border-radius: var(--r2);
  padding: 16px;
  box-shadow: var(--shadow2);
}
.box--warm{
  background: rgba(226,139,45,.10);
  border-color: rgba(226,139,45,.16);
}
.list{margin:0;padding-left:18px;color:var(--muted)}
.list li{margin:7px 0}

.miniNote{
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(138,43,74,.08);
  border: 1px solid rgba(138,43,74,.12);
  color: #5d2b3b;
  font-weight: 700;
  line-height: 1.55;
}

/* CTA band */
.ctaBand{
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(31,41,55,.10);
  display:flex;
  gap: 14px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}
.ctaBand__sub{color:var(--muted);font-size:14px;margin-top:2px}

/* Timeline */
.timeline{
  background: rgba(255,255,255,.85);
  border: 1px solid var(--soft);
  border-radius: var(--r2);
  padding: 10px 10px;
  box-shadow: var(--shadow2);
}
.t{
  display:grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  padding: 12px 10px;
  border-top: 1px solid rgba(31,41,55,.06);
}
.t:first-child{border-top:none}
.t__dot{
  width: 10px;height: 10px;border-radius:999px;
  margin-top: 6px;
  background: rgba(138,43,74,.90);
  box-shadow: 0 0 0 6px rgba(138,43,74,.12);
}
.t__dot--accent{
  background: rgba(47,122,106,.90);
  box-shadow: 0 0 0 6px rgba(47,122,106,.12);
}
.t__body p{margin:0}

/* Table card */
.tableCard{
  margin-top: 14px;
  background: rgba(255,255,255,.86);
  border: 1px solid var(--soft);
  border-radius: var(--r2);
  padding: 16px;
  box-shadow: var(--shadow2);
}
.tableWrap{overflow:auto;border-radius:16px;border:1px solid rgba(31,41,55,.08)}
table{width:100%;border-collapse:collapse;min-width:640px;background:#fff}
th,td{padding:12px 12px;text-align:left;border-bottom:1px solid rgba(31,41,55,.08);vertical-align:top}
th{background: rgba(47,122,106,.08);color:#234a41;font-weight:950}
tr:nth-child(even) td{background: rgba(251,243,234,.55)}

/* Check grid */
.checkGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 900px){ .checkGrid{grid-template-columns:1fr} }

.check{
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(47,122,106,.12);
  border-radius: var(--r2);
  padding: 14px;
  display:grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  align-items:start;
  box-shadow: var(--shadow2);
}
.check__n{
  width:34px;height:34px;border-radius:14px;
  display:grid;place-items:center;
  background: rgba(47,122,106,.14);
  border: 1px solid rgba(47,122,106,.18);
  color: var(--mint);
  font-weight: 950;
}
.check__b p{margin:0}

/* Checklist bullets */
.list--checks{
  list-style: none;
  padding-left: 0;
}
.list--checks li{
  margin: 10px 0;
  padding-left: 30px;
  position: relative;
}
.list--checks li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color: var(--mint);
  font-weight: 950;
}

/* Big CTA */
.bigCta{
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(31,41,55,.10);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  flex-wrap:wrap;
}
.bigCta__title{font-weight:950;letter-spacing:-.2px}
.bigCta__sub{color:var(--muted);font-size:14px;margin-top:2px}

/* Footer */
.footer{
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(31,41,55,.10);
  color:#5f6b73;
  font-size: 13px;
}

/* Print */
@media print{
  .top, .btn, .menuBtn { display:none !important; }
  body{background:#fff;color:#000}
  p, li{color:#000}
  .wrap{max-width:none}
}
