/* ============================================================
   Image Compressor & Resizer — Web Kit
   Charcoal & gold, light theme. Reusable for apps #2-5:
   change --brand vars + page content, keep this stylesheet.
   ============================================================ */
:root {
  --charcoal: #16181D;
  --gold: #E0A82E;
  --gold-dark: #C89020;
  --bone: #FAFAF8;
  --card: #FFFFFF;
  --text: #16181D;
  --muted: #5C6066;
  --border: #ECECEA;
  --maxw: 760px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bone);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header / nav */
.site-header {
  background: var(--charcoal);
  color: #fff;
  padding: 16px 24px;
}
.site-header .inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.brand .mark { width: 30px; height: 30px; flex: none; }
.nav a { color: #cfd2d6; font-size: 14px; font-weight: 600; margin-left: 20px; }
.nav a:hover { color: #fff; text-decoration: none; }

/* Hero */
.hero {
  background: var(--charcoal);
  color: #fff;
  padding: 72px 24px 88px;
  text-align: center;
}
.hero .inner { max-width: var(--maxw); margin: 0 auto; }
.hero .mark-lg { width: 88px; height: 88px; margin: 0 auto 28px; display: block; }
.hero h1 { font-size: clamp(30px, 6vw, 46px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.hero p { color: #b9bcc1; font-size: clamp(16px, 2.4vw, 19px); margin-top: 18px; max-width: 560px; margin-left: auto; margin-right: auto; }
.cta {
  display: inline-block; margin-top: 32px;
  background: var(--gold); color: #fff; font-weight: 800; font-size: 16px;
  padding: 14px 30px; border-radius: 12px; transition: background .15s;
}
.cta:hover { background: var(--gold-dark); text-decoration: none; }
.cta.disabled { opacity: .55; pointer-events: none; }
.cta-note { display: block; margin-top: 12px; color: #8b8f94; font-size: 13px; }

/* Sections */
main { max-width: var(--maxw); margin: 0 auto; padding: 56px 24px 80px; }
.section-eyebrow { color: var(--gold-dark); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.section-title { font-size: 26px; font-weight: 800; letter-spacing: -0.01em; margin: 6px 0 24px; }

/* Tool grid */
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.tool {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 18px 16px; display: flex; flex-direction: column; gap: 6px;
}
.tool .t-name { font-weight: 700; font-size: 15px; }
.tool .t-desc { color: var(--muted); font-size: 13px; }

/* Legal pages */
.legal { max-width: var(--maxw); margin: 0 auto; padding: 48px 24px 80px; }
.legal h1 { font-size: 30px; font-weight: 800; letter-spacing: -0.01em; }
.legal .updated { color: var(--muted); font-size: 14px; margin: 8px 0 32px; }
.legal h2 { font-size: 19px; font-weight: 700; margin: 32px 0 10px; }
.legal p, .legal li { color: #2c2f34; font-size: 15.5px; }
.legal ul { margin: 8px 0 8px 22px; }
.legal li { margin: 5px 0; }
.legal .box {
  background: var(--card); border: 1px solid var(--border); border-left: 3px solid var(--gold);
  border-radius: 10px; padding: 14px 16px; margin: 20px 0; font-size: 14.5px; color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px; text-align: center; color: var(--muted); font-size: 13px;
}
.site-footer a { margin: 0 8px; font-weight: 600; }
.site-footer .row { margin-bottom: 8px; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
