/* 1116 Tech Stacks — landing page styling, mirrors courses/styles.css with
 * the stack-card grid for the saleable bundle catalog. Kept self-contained
 * so stackstuff.1116.info (and legacy tech.1116.info during transition)
 * renders without depending on courses/. */

:root {
  --ink: #1a2236;
  --ink-muted: rgba(26,34,54,0.64);
  --ink-subtle: rgba(26,34,54,0.4);
  --blue: #6aafd2;
  --blue-deep: #4a8fb8;
  --pink: #f2a0b5;
  --pink-deep: #d97a92;
  --orange: #e8a87c;
  --orange-deep: #d4905e;
  --surface: #fff;
  --border: rgba(26,34,54,0.08);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Geist', 'GeistSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
  letter-spacing: -0.005em;
}
a { color: inherit; text-decoration: none; }

/* ── Nav ── */
.tech-nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(26,34,54,0.98);
  backdrop-filter: blur(8px);
}
.tech-nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
}
.tech-nav-logo { display: flex; align-items: center; gap: 10px; color: #fff; }
.tech-nav-logo-img { height: 28px; width: auto; }
.tech-nav-logo-sub {
  font-size: 13.5px; font-weight: 500;
  color: rgba(255,255,255,0.55); letter-spacing: -0.01em;
}
.tech-nav-links { display: flex; align-items: center; gap: 32px; }
.tech-nav-links a {
  font-size: 13.5px; font-weight: 500;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.tech-nav-links a:hover { color: #fff; }
.tech-nav-login {
  background: var(--blue);
  color: #fff !important;
  padding: 8px 20px; border-radius: 8px;
  font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}
.tech-nav-login:hover { background: var(--blue-deep); transform: translateY(-1px); }

/* ── Hero ── */
.tech-hero {
  background: linear-gradient(160deg, #1a2236 0%, #111827 60%, #0a0f1e 100%);
  color: #fff;
  padding: 96px 24px 72px;
  text-align: center;
}
.tech-hero-inner { max-width: 720px; margin: 0 auto; }
/* "creative evolution ꩜" — always lowercase, never bold, simple
 * (Jake 2026-04-29). */
.tech-hero-badge {
  display: inline-flex; align-items: center;
  background: rgba(106,175,210,0.18);
  border: 1px solid rgba(106,175,210,0.35);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  text-transform: none;
  color: #fff; letter-spacing: 0.01em;
  margin-bottom: 24px;
}
.tech-hero-title {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 800; line-height: 1.15; letter-spacing: -0.025em;
  margin: 0 0 20px;
}
.hero-1116-logo {
  display: inline-block;
  height: 1.45em;
  width: auto;
  vertical-align: -0.55em;
  margin-left: 0.1em;
}
.tech-hero-subtitle {
  font-size: 17px; color: rgba(255,255,255,0.75);
  max-width: 600px; margin: 0 auto;
}

/* ── Stack list ── */
.tech-list { padding: 72px 24px; background: #fafbfc; }
.tech-list-inner { max-width: 1140px; margin: 0 auto; }
.tech-list-cross-promo {
  text-align: center;
  font-size: 14px;
  color: var(--ink-muted);
  margin-bottom: 32px;
}
.tech-list-cross-promo a {
  color: var(--blue-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(74,143,184,0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.tech-list-cross-promo a:hover { text-decoration-color: var(--blue-deep); }
.tech-list-title {
  font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-subtle);
  margin: 0 0 24px;
}
.tech-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: 20px;
  margin-bottom: 32px;
}
.stack-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 24px 22px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.stack-card:hover {
  border-color: rgba(106,175,210,0.5);
  box-shadow: 0 8px 24px rgba(26,34,54,0.06);
  transform: translateY(-2px);
}
.stack-card-domain {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--pink-deep);
  letter-spacing: 0.01em;
  margin-bottom: 8px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  text-decoration: none;
  transition: color 0.15s;
}
.stack-card-domain:hover { color: var(--pink); }
.stack-card-eyebrow {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--blue-deep);
  margin-bottom: 8px;
}
.stack-card-title {
  font-size: 22px; font-weight: 800; line-height: 1.18; letter-spacing: -0.02em;
  margin: 0 0 10px;
}
.stack-card-desc {
  font-size: 14.5px; color: var(--ink-muted);
  margin: 0 0 14px;
  line-height: 1.5;
}
.stack-card-tools {
  font-size: 12px;
  color: var(--ink-subtle);
  margin: 0 0 18px;
  font-weight: 500;
}
.stack-card-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: auto;
}
.stack-card-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.stack-card-buy {
  display: inline-flex; align-items: center;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 12px rgba(232, 168, 124, 0.35);
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}
.stack-card-buy:hover {
  background: linear-gradient(135deg, var(--orange-deep) 0%, #b86a3f 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(232, 168, 124, 0.45);
}
.stack-card-buy:active { transform: translateY(0); }
.stack-card-buy:disabled {
  opacity: 0.6;
  cursor: wait;
  transform: none;
  box-shadow: none;
}
.tech-list-note {
  font-size: 14px; color: var(--ink-muted);
  text-align: center; margin: 0;
}
.tech-list-note a { color: var(--blue-deep); text-decoration: underline; }

/* ── Per-stack detail pages (tech/<slug>/index.html) ── */
.stack-hero {
  background: linear-gradient(160deg, #1a2236 0%, #111827 60%, #0a0f1e 100%);
  color: #fff;
  padding: 140px 24px 64px;
  text-align: left;
}
.stack-hero-inner { max-width: 900px; margin: 0 auto; }
.stack-hero-back {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.15s;
}
.stack-hero-back:hover { color: #fff; }
.stack-hero-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin: 16px 0 10px;
}
.stack-hero-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 16px;
}
.stack-hero-tagline {
  font-size: 18px;
  color: rgba(255,255,255,0.78);
  max-width: 720px;
  margin: 0;
  line-height: 1.45;
}

.stack-body { padding: 64px 24px 32px; background: #fff; }
.stack-body-inner { max-width: 1080px; margin: 0 auto; }
.stack-body-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px;
  align-items: start;
}
.stack-body-prose {
  color: var(--ink-muted);
  font-size: 15.5px;
  line-height: 1.6;
}
.stack-body-h2 {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 32px 0 12px;
}
.stack-body-h2:first-child { margin-top: 0; }
.stack-body-p { margin: 0 0 12px; }
.stack-tools-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px 20px;
}
.stack-tool-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--ink);
  font-weight: 600;
}
.stack-tool-bullet { color: var(--blue-deep); font-weight: 700; }
.stack-tool-name { color: var(--ink); }
.stack-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.stack-features li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
  line-height: 1.5;
}
.stack-features li:last-child { border-bottom: none; }
.stack-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 11px;
  color: var(--blue-deep);
  font-weight: 700;
}
.stack-features strong { color: var(--ink); font-weight: 700; }

.stack-body-buy { position: sticky; top: 96px; }
.stack-buy-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(26,34,54,0.04);
}
.stack-buy-eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-subtle);
  margin-bottom: 6px;
}
.stack-buy-price {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 8px;
}
.stack-buy-meta {
  font-size: 12.5px;
  color: var(--ink-muted);
  margin-bottom: 18px;
  line-height: 1.45;
}
.stack-buy-button {
  display: block;
  width: 100%;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: inherit;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 12px rgba(232, 168, 124, 0.35);
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}
.stack-buy-button:hover {
  background: linear-gradient(135deg, var(--orange-deep) 0%, #b86a3f 100%);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(232, 168, 124, 0.45);
}
.stack-buy-button:disabled { opacity: 0.6; cursor: wait; transform: none; box-shadow: none; }
.stack-buy-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.45;
}
.stack-buy-note a { color: var(--blue-deep); text-decoration: underline; }

.stack-cross {
  background: #fafbfc;
  padding: 24px;
  border-top: 1px solid var(--border);
}
.stack-cross-inner {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
  font-size: 14px;
  color: var(--ink-muted);
}
.stack-cross-inner a {
  color: var(--blue-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(74,143,184,0.35);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.stack-cross-inner a:hover { text-decoration-color: var(--blue-deep); }

@media (max-width: 768px) {
  .stack-hero { padding: 110px 20px 48px; }
  .stack-hero-tagline { font-size: 16px; }
  .stack-body { padding: 40px 20px 24px; }
  .stack-body-grid { grid-template-columns: 1fr; gap: 32px; }
  .stack-body-buy { position: static; }
}

/* ── Footer ── canonical 1116 .site-footer pattern (Jake 2026-04-29):
 * top row = logo + nav with Login CTA; bottom row = copyright + legal.
 * Mirrors ai.1116.info exactly so the footer reads the same across every
 * public surface. */
.site-footer {
  background: #111827;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 60px 0 32px;
  color: rgba(255,255,255,0.4);
}
.site-footer-container {
  max-width: 1140px; margin: 0 auto;
  padding: 0 24px;
}
.site-footer-top {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 24px;
}
.site-footer-brand {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.site-footer-brand:hover { opacity: 1; }
.site-footer-logo {
  height: 38px; display: block; width: auto;
}
.site-footer-sublabel {
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  letter-spacing: -0.01em;
}
.site-footer-nav {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.site-footer-link {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
  text-decoration: none;
}
.site-footer-link-home:hover { color: var(--blue); }
.site-footer-cta {
  font-size: 13px; font-weight: 600;
  color: #fff !important;
  background: var(--blue);
  border-radius: 8px;
  padding: 8px 20px;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
}
.site-footer-cta:hover { background: var(--blue-deep); transform: translateY(-1px); }
.site-footer-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
}
.site-footer-legal {
  display: flex; gap: 24px; align-items: center; flex-wrap: wrap;
}
.site-footer-legal-link {
  color: rgba(255,255,255,0.25);
  transition: color 0.2s;
  font-size: 13px;
  text-decoration: none;
}
.site-footer-legal-link:hover { color: rgba(255,255,255,0.6); }
@media (max-width: 600px) { .site-footer-legal { gap: 16px; } }

/* ── Mobile ── */
@media (max-width: 700px) {
  .tech-nav-links { gap: 16px; }
  .tech-nav-links a:not(.tech-nav-login) { display: none; }
  .tech-hero { padding: 64px 20px 48px; }
  .tech-list { padding: 48px 20px; }
  .tech-grid { grid-template-columns: 1fr; }
  .stack-card { padding: 22px; }
  .stack-card-title { font-size: 20px; }
  .stack-card-price { font-size: 20px; }
  .tech-footer-inner { justify-content: center; text-align: center; }
}
