/* 2014 style — Bootstrap 3–era */
:root {
  --bg: #f5f5f5;
  --card: #ffffff;
  --text: #333333;
  --muted: #777777;
  --accent: #7b4fd8;
  --accent-2: #e78ac3;
  --gold: #d4af6a;
  --border: #dddddd;
  --prism: linear-gradient(120deg, #ff5f6d, #ffb25e, #f9f871, #6ee7a0, #5ec8f2, #8f7bff, #d98cf2);
}
[data-theme="dark"] {
  --bg: #2a2a2e;
  --card: #333338;
  --text: #eeeeee;
  --muted: #aaaaaa;
  --accent: #b39ddb;
  --accent-2: #f0a3d4;
  --gold: #e6c88a;
  --border: #44444a;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
h1, h2, h3, h4 { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
a { color: #428bca; }
.container { max-width: 970px; margin: 0 auto; padding: 0 15px; }

/* Navbar — navbar-inverse */
.nav { background: linear-gradient(#3c3c3c, #222222); border-bottom: 1px solid #080808; margin-bottom: 20px; padding: 10px 0; }
.nav-inner { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.brand { color: #fff; text-decoration: none; font-size: 20px; font-weight: bold; text-shadow: 0 -1px 0 rgba(0,0,0,.5); }
.nav-links { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-left: auto; }
.nav-links a { color: #9d9d9d; text-decoration: none; font-size: 14px; }
.nav-links a:hover { color: #fff; }

/* Buttons */
.btn { display: inline-block; padding: 6px 12px; border: 1px solid #ccc; border-radius: 4px; background: linear-gradient(#ffffff, #e6e6e6); cursor: pointer; text-decoration: none; color: #333; font-size: 14px; }
.btn:hover { background: linear-gradient(#e6e6e6, #d4d4d4); }
.btn-primary { background: linear-gradient(#7b4fd8, #5f3bbf); border-color: #5634ad; color: #fff; text-shadow: 0 -1px 0 rgba(0,0,0,.2); }
.btn-primary:hover { background: linear-gradient(#5f3bbf, #4c3099); color: #fff; }
.btn-outline { background: transparent; border-color: var(--border); color: #7b4fd8; box-shadow: none; }
.btn-sm { padding: 5px 10px; font-size: 12px; }
.theme-toggle { background: transparent; border: 1px solid #555; border-radius: 4px; color: #9d9d9d; padding: 4px 10px; cursor: pointer; font-size: 12px; }
.theme-toggle:hover { color: #fff; }

/* Hero jumbotron */
.hero { text-align: center; background: #eeeeee; border: 1px solid #e3e3e3; border-radius: 6px; padding: 50px 20px; margin: 0 auto 20px; max-width: 970px; box-shadow: inset 0 1px 1px rgba(0,0,0,.05); }
[data-theme="dark"] .hero { background: #333338; border-color: #444; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); letter-spacing: .3em; margin-bottom: 10px; background: var(--prism); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .tagline { font-size: 1.2rem; color: #7b4fd8; font-style: italic; margin-bottom: 16px; }
.hero p.lead { max-width: 640px; margin: 0 auto 24px; color: var(--muted); }
.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.prism-visual { width: min(420px, 80vw); margin: 30px auto 0; display: block; }
.refract { animation: refractShift 8s ease-in-out infinite alternate; }
@keyframes refractShift { from { opacity: .55; transform: translateX(0);} to { opacity: 1; transform: translateX(6px);} }

section { padding: 40px 0; }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 8px; }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 30px; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 4px; padding: 20px; box-shadow: 0 1px 1px rgba(0,0,0,.05); }
.card h3 { margin-bottom: 8px; color: #7b4fd8; }
.card p, .prose p, .step p { color: var(--muted); }
.prose { max-width: 720px; margin: 0 auto; }
.prose p { margin-bottom: 14px; }
.prose h2 { margin: 26px 0 10px; border-bottom: 1px solid var(--border); padding-bottom: 6px; }

.timeline { max-width: 640px; margin: 20px auto 0; }
.step { display: flex; gap: 14px; padding: 12px 0 12px 24px; border-left: 2px solid var(--border); position: relative; }
.step::before { content: ""; position: absolute; left: -7px; top: 20px; width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(#7b4fd8, #e78ac3); }
.step h3 { color: #7b4fd8; }

.prism-section { background: #efe6fb; border-radius: 6px; }
[data-theme="dark"] .prism-section { background: #38304f; }
.devil-section { background: #1c1c22; border-radius: 6px; color: #c9c9d1; }
.devil-section h2, .devil-section h3 { color: #d4af6a; }
.devil-section p { color: #a9a9b4; }

form { max-width: 560px; margin: 0 auto; }
label { display: block; margin-bottom: 6px; font-weight: bold; font-size: 14px; }
input, textarea, select { width: 100%; padding: 8px 12px; margin-bottom: 16px; border: 1px solid #ccc; border-radius: 4px; box-shadow: inset 0 1px 1px rgba(0,0,0,.075); font: inherit; background: var(--card); color: var(--text); }
input:focus, textarea:focus { border-color: #66afe9; outline: none; box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6); }
.note { background: #d9edf7; border: 1px solid #bce8f1; border-radius: 4px; padding: 10px 14px; color: #31708f; font-size: 14px; margin: 16px auto; max-width: 560px; }
[data-theme="dark"] .note { background: #2c3e46; border-color: #3d5560; color: #a8d4e6; }

footer { border-top: 1px solid var(--border); padding: 30px 0; margin-top: 40px; text-align: center; }
footer .tagline { font-style: italic; color: #7b4fd8; margin: 8px 0 16px; }
footer nav a { margin: 0 10px; font-size: 14px; text-decoration: none; color: var(--muted); }
footer .disclaimer { max-width: 620px; margin: 16px auto 0; font-size: 12px; color: var(--muted); }

ul.checklist { list-style: none; padding: 0; }
ul.checklist li { padding: 8px 0; border-bottom: 1px solid var(--border); color: var(--muted); }
ul.checklist li::before { content: "✦ "; color: #e78ac3; }

@media (max-width: 640px) {
  .nav-links { margin-left: 0; }
  .hero { padding: 30px 16px; }
}
