/* =========================================
   EaseFy — Future AI Glass Theme (No nav/breadcrumb/footer)
   ========================================= */
:root{
  /* Brand */
  --brand:#663d29;          /* primary */
  --brand-ink:#3f2519;      /* dark headings */
  --accent:#da926e;         /* highlights / chips */

  /* Surface + text */
  --paper:#f9f4f0;          /* page bg */
  --ink:#2b2622;            /* body text */
  --muted:#817568;

  /* Glass + shadows */
  --glass:rgba(255,255,255,.55);
  --glass-strong:rgba(255,255,255,.68);
  --glass-stroke:rgba(102,61,41,.22);
  --shadow-lg:0 22px 48px rgba(102,61,41,.18);
  --shadow-md:0 14px 30px rgba(102,61,41,.14);

  /* Background grid lines */
  --line:rgba(102,61,41,.07);
}

/* ===== Page background: soft corner glow + grid lines ===== */
html,body{height:100%}
body{
  margin:0;
  color:var(--ink);
  font:16px/1.6 "Roboto", system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  background:
    radial-gradient(1000px 650px at 120% 110%, rgba(102,61,41,.08), transparent 60%),
    linear-gradient(180deg, transparent 95px, var(--line) 96px, transparent 97px) 0 0/100% 96px,
    linear-gradient(90deg,  transparent 95px, var(--line) 96px, transparent 97px) 0 0/96px 100%,
    var(--paper);
}

/* ===== Type Rhythm ===== */
h1,h2,h3,h4{color:var(--brand-ink);letter-spacing:.2px}
h1{font-weight:900;line-height:1.1}
h2{font-weight:900;margin-top:1.15rem}
h3{font-weight:800}
.lead{font-size:1.125rem;color:#3a322d}
.small-muted{color:var(--muted)}

/* ===== Links & Buttons ===== */
a{color:var(--brand);text-decoration:underline;text-underline-offset:2px}
a:hover{filter:brightness(1.06)}

.btn-brand{
  background:linear-gradient(180deg, var(--brand), #5a3526);
  color:#fff !important;
  border:1px solid #4f2f22;
  padding:.8rem 1.25rem;
  border-radius:999px;
  box-shadow:0 12px 28px rgba(102,61,41,.22), inset 0 1px 0 rgba(255,255,255,.28);
  transition:transform .15s ease, filter .15s ease, box-shadow .15s ease;
}
.btn-brand:hover{transform:translateY(-1px);filter:brightness(1.04)}
.btn-brand:active{transform:translateY(0) scale(.99)}

/* ===== Core Sections ===== */
section{scroll-margin-top:90px}
.container article>section{background:transparent}

/* ===== Hero: AI Glass Card ===== */
.hero{
  position:relative;
  border-radius:22px;
  border:1px solid var(--glass-stroke);
  background:
    radial-gradient(600px 280px at 8% -20%, var(--glass-strong), var(--glass)),
    linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.66));
  backdrop-filter:blur(10px) saturate(140%);
  -webkit-backdrop-filter:blur(10px) saturate(140%);
  box-shadow:var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,.65);
}
.hero img{
  border-radius:16px;
  box-shadow:0 16px 36px rgba(0,0,0,.12);
}

/* ===== Callouts (TL;DR, asides) ===== */
.callout{
  padding:1.1rem 1.2rem;
  border-left:6px solid var(--accent);
  border-radius:16px;
  background:
    linear-gradient(180deg, #fff7f2 0%, #ffffff 100%);
  box-shadow:var(--shadow-md);
}

/* ===== Media Frame ===== */
.figure{
  background:#fff;
  border:1px solid #eadfd8;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 16px 34px rgba(0,0,0,.08);
}
.figure img{display:block;width:100%;height:auto}

/* ===== Tables ===== */
.table{
  background:#fff;
  border:1px solid #eadfd8;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 10px 22px rgba(0,0,0,.06);
}
.table thead th{
  background:#fff2ea;
  color:var(--brand-ink);
  border-bottom:1px solid #eadfd8;
}

/* ===== Utilities ===== */
.glass{
  border:1px solid var(--glass-stroke);
  background:linear-gradient(180deg, rgba(255,255,255,.8), rgba(255,255,255,.6));
  backdrop-filter:blur(8px) saturate(140%);
  -webkit-backdrop-filter:blur(8px) saturate(140%);
  border-radius:16px;
  box-shadow:var(--shadow-md);
}
.shadow-soft{box-shadow:0 12px 26px rgba(102,61,41,.12)}
.round-14{border-radius:14px}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  *{transition:none !important}
}
