:root {
  --bg: #ffffff;
  --bg-raised: #f6f6f7;
  --border: #e3e4e7;
  --text: #14161a;
  --text-dim: #64686f;
  --accent: #ff5c33;
  --accent-dim: #c9481f;
  --radius: 14px;
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 20px;
  height: 20px;
  display: inline-block;
}

.header-cta {
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: color 0.15s ease;
}

.header-cta:hover {
  color: var(--text);
}

/* Hero */

.hero {
  padding: 96px 0 72px;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  width: 100%;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-dim);
  width: 100%;
  margin: 0;
}

/* Tools section */

.tools {
  padding: 72px 0 96px;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin: 0 0 28px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.tool-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.tool-card:hover {
  border-color: var(--accent-dim);
  transform: translateY(-2px);
}

.tool-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 92, 51, 0.12);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tool-card-icon svg {
  width: 22px;
  height: 22px;
}

.tool-card-body h3 {
  font-size: 1.15rem;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.tool-tagline {
  font-size: 0.85rem;
  color: var(--accent);
  margin: 0 0 10px;
  font-weight: 500;
}

.tool-desc {
  font-size: 0.92rem;
  color: var(--text-dim);
  margin: 0;
}

.tool-card-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  margin-top: auto;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.site-footer .wrap {
  font-size: 0.85rem;
  color: var(--text-dim);
}
