
/* Trimly Global Styles */
*{box-sizing:border-box;margin:0;padding:0}
:root{
  --bg:#0f1216;
  --card:#141922;
  --muted:#a3acb9;
  --fg:#eaf2ff;
  --accent:#4ade80;
  --accent-2:#22d3ee;
  --radius:16px;
  --shadow:0 8px 24px rgba(0,0,0,.25);
}
html,body{height:100%}
body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,'Helvetica Neue',Arial,'Noto Sans',sans-serif;background:linear-gradient(180deg,#0b0e12,#121826);color:var(--fg);line-height:1.65}
a{color:inherit;text-decoration:none}
.container{width:min(1100px,92%);margin:0 auto}

/* Navbar */
.nav{position:sticky;top:0;z-index:50;background:rgba(15,18,22,.75);backdrop-filter:blur(10px);border-bottom:1px solid #1f2430}
.nav-inner{display:flex;align-items:center;justify-content:space-between;padding:14px 0}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;letter-spacing:.3px}
.brand .dot{width:10px;height:10px;border-radius:50%;background:linear-gradient(45deg,var(--accent),var(--accent-2))}
.nav ul{display:flex;gap:18px;list-style:none}
.nav a{color:var(--muted)}
.nav a:hover{color:#fff}
.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer}
.hamburger span{width:26px;height:2px;background:#c9d4e5}

/* Hero */
.hero{display:grid;grid-template-columns:1.1fr .9fr;gap:28px;align-items:center;padding:42px 0}
.hero h1{font-size:clamp(28px,4.5vw,48px);line-height:1.15;margin-bottom:10px}
.lead{color:var(--muted);max-width:55ch}
.cta{display:inline-block;margin-top:18px;background:linear-gradient(45deg,var(--accent),var(--accent-2));color:#061018;padding:10px 16px;border-radius:999px;font-weight:700}
.card-hero{background:var(--card);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}
.card-hero img{display:block;width:100%;height:100%;object-fit:cover}

/* Section */
.section{padding:26px 0}
.section h2{font-size:clamp(22px,3.2vw,32px);margin-bottom:14px}
.muted{color:var(--muted)}

/* Grid cards */
.grid{display:grid;gap:18px}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:900px){.hero{grid-template-columns:1fr}.grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.grid-3{grid-template-columns:1fr}.nav ul{display:none}.hamburger{display:flex}}

.card{background:var(--card);border-radius:var(--radius);padding:14px;box-shadow:var(--shadow);display:flex;flex-direction:column}
.card img{width:100%;height:180px;border-radius:12px;object-fit:cover;margin-bottom:10px}
.card h3{font-size:18px;margin:6px 0}
.btn{display:inline-block;background:linear-gradient(45deg,var(--accent),var(--accent-2));color:#061018;padding:8px 12px;border-radius:10px;font-weight:700}

/* Prose */
.prose{max-width:75ch}
.prose h1{font-size:clamp(26px,4vw,38px);margin-bottom:6px}
.prose h2{margin-top:22px;font-size:22px}
.prose p{color:#cfd7e6;margin:10px 0}
.prose ul{margin:10px 0 10px 18px}

/* Footer */
.footer{margin-top:34px;border-top:1px solid #1f2430}
.footer-inner{display:flex;justify-content:space-between;gap:16px;padding:18px 0;color:var(--muted);flex-wrap:wrap}
.footer a{color:#8be1ff}
