/* AKD Media — Castahedron storefront + legal pages.
   Self-contained, no external deps. Brand: dark indigo + dice-green accent. */
:root {
  --bg: #0e0e16;
  --bg-2: #14141f;
  --surface: #1a1a27;
  --line: #ffffff1a;
  --ink: #ececf3;
  --muted: #9a9ab2;
  --green: #2faa55;
  --green-hi: #38c463;
  --red: #e54151;
  --teal: #00a5b5;
  --gold: #d9a441;
  --radius: 14px;
  --maxw: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: ui-sans-serif, system-ui, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { color: var(--green-hi); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
img { max-width: 100%; display: block; }

/* Header */
.site-head {
  position: sticky; top: 0; z-index: 10;
  background: #0e0e16cc; backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .04em; color: var(--ink); }
.brand img { height: 30px; width: auto; }
.brand small { color: var(--muted); font-weight: 500; letter-spacing: .12em; font-size: 11px; }
.nav a { color: var(--muted); margin-left: 20px; font-size: 14px; }
.nav a:hover { color: var(--ink); text-decoration: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 12px 20px; border-radius: 11px; font-weight: 700; font-size: 15px;
  border: 1px solid transparent; transition: transform .08s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #06150c; }
.btn-primary:hover { background: var(--green-hi); }
.btn-ghost { background: #ffffff10; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: #ffffff18; }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* Hero */
.hero { padding: 64px 0 48px; text-align: center; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% 0 auto 0; height: 480px;
  background: radial-gradient(60% 60% at 50% 0%, #1d722733 0%, transparent 70%);
  pointer-events: none;
}
.hero-logo { width: min(560px, 86%); margin: 0 auto 26px; filter: drop-shadow(0 14px 40px #000a); }
.hero p.lede { font-size: clamp(16px, 2.4vw, 20px); color: var(--muted); max-width: 640px; margin: 0 auto 12px; }
.hero .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.pill { display: inline-block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-hi); border: 1px solid #2faa5544; background: #2faa5514; padding: 5px 12px; border-radius: 999px; }

/* Sections */
section { padding: 48px 0; border-top: 1px solid var(--line); }
section h2 { font-size: clamp(22px, 3vw, 30px); margin: 0 0 6px; letter-spacing: -.01em; }
section .sub { color: var(--muted); margin: 0 0 28px; }

/* Free banner */
.free-card {
  background: linear-gradient(180deg, #18241b, #14141f); border: 1px solid #2faa5533;
  border-radius: var(--radius); padding: 26px 28px; display: flex; gap: 22px;
  align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.free-card .price { font-size: 34px; font-weight: 800; color: var(--green-hi); }

/* Pricing grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; display: flex; flex-direction: column; gap: 8px;
}
.card h3 { margin: 0; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 14px; flex: 1; }
.card .row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 14px; max-width: 720px; }
.steps li { list-style: none; position: relative; padding-left: 46px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: -2px; width: 30px; height: 30px;
  display: grid; place-items: center; border-radius: 50%;
  background: #2faa5522; color: var(--green-hi); border: 1px solid #2faa5555; font-weight: 700;
}
code { background: #ffffff14; padding: 2px 7px; border-radius: 6px; font-size: .92em; }

/* Legal pages */
.legal { padding: 48px 0 80px; }
.legal h1 { font-size: 30px; margin: 0 0 4px; }
.legal .updated { color: var(--muted); margin: 0 0 28px; font-size: 14px; }
.legal h2 { font-size: 19px; margin: 30px 0 8px; }
.legal ul { padding-left: 20px; }
.legal li { margin: 4px 0; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding: 30px 0 50px; color: var(--muted); font-size: 14px; }
.site-foot .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-foot .links a { color: var(--muted); margin-left: 18px; }
.site-foot .links a:hover { color: var(--ink); }
.site-foot .brand img { height: 26px; }

@media (max-width: 560px) {
  .nav { display: none; }
  .free-card { flex-direction: column; align-items: flex-start; }
}
