/* Craftglen marketing site - shared styles */
:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #1a1d23;
  --muted: #5c6570;
  --border: #e2e5ea;
  --accent: #1b6ef3;
  --accent-hover: #1558c4;
  --radius: 12px;
  --max: 40rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.brand {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.brand:hover {
  text-decoration: none;
  color: var(--accent);
}

.nav a {
  color: var(--muted);
  font-size: 0.925rem;
}

.hero {
  margin-bottom: 2rem;
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.hero .tagline {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.app-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  margin-bottom: 1rem;
}

.app-card img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  flex-shrink: 0;
  background: #eee;
}

.app-card h2 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
}

.app-card p {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.app-card .meta {
  font-size: 0.8rem;
  color: var(--muted);
}

.landing-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  display: block;
  margin: 0 0 1.25rem;
  background: #eee;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.benefits {
  margin: 1.5rem 0;
  padding: 0;
  list-style: none;
}

.benefits li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.5rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.benefits li:last-child {
  border-bottom: none;
}

.benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin: 1.75rem 0 1.25rem;
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.15rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  line-height: 1.2;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-soon {
  background: #d8dce3;
  color: #5c6570;
  cursor: default;
  pointer-events: none;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pkg {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.5rem 0 0;
}

.site-footer {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0.35rem 0;
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.45rem;
  }

  .app-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
