/* ALN Studio static app pages */
:root {
  --bg: #f7f5ff;
  --card: #ffffff;
  --ink: #21183f;
  --muted: #6f6685;
  --accent: #7157ff;
  --accent-soft: #e9e5ff;
  --line: #e6e1f4;
  --shadow: rgba(44, 34, 90, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(113, 87, 255, 0.16), transparent 34rem),
    radial-gradient(circle at bottom right, rgba(113, 87, 255, 0.08), transparent 30rem),
    var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

.site-header { padding: 32px 20px 16px; }
.header-inner, .main, .site-footer { width: min(980px, calc(100% - 40px)); margin: 0 auto; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; }
.logo { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: linear-gradient(135deg, var(--accent), #9d8cff); color: white; box-shadow: 0 12px 28px rgba(113, 87, 255, 0.25); font-size: 0.75rem; letter-spacing: 0.03em; }
.nav { display: flex; gap: 10px; flex-wrap: wrap; }
.nav a { text-decoration: none; color: var(--ink); background: rgba(255,255,255,0.82); border: 1px solid var(--line); padding: 9px 13px; border-radius: 999px; font-size: 0.95rem; }
.nav a:hover { border-color: var(--accent); }

.hero, .content-card { background: rgba(255, 255, 255, 0.84); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 5vw, 52px); box-shadow: 0 24px 70px var(--shadow); backdrop-filter: blur(12px); }
.hero h1, .content-card h1 { font-size: clamp(2rem, 5vw, 4rem); line-height: 1; margin: 0 0 16px; letter-spacing: -0.06em; }
.hero p { max-width: 720px; color: var(--muted); font-size: 1.12rem; }
.eyebrow { margin: 0 0 12px; color: var(--accent) !important; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem !important; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 11px 16px; border-radius: 14px; text-decoration: none; font-weight: 700; border: 1px solid transparent; }
.button.primary { color: white; background: var(--accent); }
.button.secondary { color: var(--accent); background: var(--accent-soft); }

.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 22px; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.tile h2 { margin: 0 0 8px; font-size: 1.25rem; letter-spacing: -0.03em; }
.tile p { margin: 0 0 14px; color: var(--muted); }
.tile a, .content-card a { color: var(--accent); font-weight: 700; }
.content-card { margin-top: 22px; }
.content-card.narrow { max-width: 820px; }
.content-card h2 { margin-top: 30px; font-size: 1.25rem; }
.content-card p, .content-card li { color: var(--muted); }
.notice { padding: 14px 16px; border-radius: 16px; background: var(--accent-soft); color: var(--ink); border: 1px solid #d8d0ff; }
.site-footer { padding: 28px 0 46px; color: var(--muted); font-size: 0.92rem; }

@media (max-width: 760px) {
  .header-inner { align-items: flex-start; }
  .grid, .grid.three { grid-template-columns: 1fr; }
  .nav { margin-top: 4px; }
}
