/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&display=swap');

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base */
html { 
    font-size: 16px;
}

body {
  font-family: 'Courier Prime', 'Courier New', monospace;
  font-size: 16px;
  line-height: 1.6;
  color: #000;
  background: #fff;
  font-weight: 400;
}

/* Page Layout */
.page {
  min-height: 100vh;
  background: #fff;
  position: relative;
}

.dotted-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, #d1d1d1 1px, transparent 1px);
  background-size: 20px 20px;
  z-index: 0;
}

.container {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  padding: 4rem 2rem;
  z-index: 1;
}

/* Typography */
h1 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

h2 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

h3 {
  font-family: 'Archivo Black', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

h4 {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Header */
header {
  margin-bottom: 4rem;
}

header > p {
  margin-bottom: 1.5rem;
}

/* Masthead */
.masthead {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 4px solid #000;
  position: relative;
}

.masthead-est {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
  opacity: 0.5;
}

.masthead-brand {
  display: inline-block;
}

.masthead-title {
  font-size: 5rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.masthead-tagline {
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  padding: 0.25rem 1rem;
}

.masthead-tagline p {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  font-family: 'Courier Prime', monospace;
  margin: 0;
}

.masthead-ornament {
  position: absolute;
  top: 0;
  font-size: 1.5rem;
  opacity: 0.3;
}

.masthead-ornament.left {
  left: 0;
}

.masthead-ornament.right {
  right: 0;
}

/* Button */
.cta-btn {
  padding: 0.75rem 1.5rem;
  background-color: #dc2626;
  color: #fff;
  border: 2px solid #000;
  font-family: 'Courier Prime', monospace;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  box-shadow: 4px 4px 0px 0px rgba(0, 0, 0, 1);
}

.cta-btn:hover {
  background-color: #b91c1c;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.grid.nogap {
  margin-bottom: 0;
}

.grid.last {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Cards */
.card {
  background: #fff;
  border: 2px solid #000;
  padding: 2rem;
  position: relative;
}

.card.large {
  padding: 2.5rem;
  margin-bottom: 4rem;
}

.card.cta {
  background-color: rgba(254, 240, 138, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: inset 0 0 0 6px rgba(255, 245, 157, 0.4), inset 0 0 0 8px black;
}

/* Card content spacing */
.content-stack > * + * {
  margin-top: 2rem;
}

.content-stack-md > * + * {
  margin-top: 1.5rem;
}

.list-compact {
  list-style: none;
  padding: 0;
}

.list-compact > * + * {
  margin-top: 0.5rem;
}

/* Utility spacing */
.mb-lg {
  margin-bottom: 2rem;
}

.mt-lg {
  margin-top: 2rem;
}

.mt-sm {
  margin-top: 1rem;
}

/* Card paragraph spacing */
.card > p:last-child,
.card > div > p:last-child {
  margin-bottom: 0;
}

.card.cta > p {
  margin-bottom: 1.5rem;
}

.card.cta > p:last-child {
  margin-bottom: 0;
}

.card:not(.cta) > p:nth-child(2) {
  margin-bottom: 1.5rem;
}

.card:not(.cta) > p:nth-last-child(2) {
  margin-bottom: 2rem;
}

/* Links */
a {
  color: #000;
  text-decoration: underline;
  transition: text-decoration 0.2s;
}

a:hover {
  text-decoration: none;
}

/* Marker Highlights */
.marker-yellow {
  background: linear-gradient(to bottom, #fff59d 00%, #fff59d 70%, transparent 100%);
  padding: 0 4px;
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.marker-pink {
  background: linear-gradient(to bottom, transparent 30%, #f8bbd0 30%);
  padding: 0 4px;
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.marker-blue {
  background: linear-gradient(to bottom, #bbdefb 0%,#bbdefb 80%, transparent 90% );
  padding: 0 4px;
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.marker-green {
  background: linear-gradient(to bottom, transparent 30%, #c8e6c9 30%);
  padding: 0 4px;
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.marker-purple {
  background: linear-gradient(to bottom, transparent 30%, #e1bee7 30%, #e1bee7 70%, transparent 70%);
  padding: 0 4px;
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Vintage Ornaments */
.ornaments::before,
.ornaments::after {
  content: '✦';
  position: absolute;
  font-size: 1.5rem;
  color: #000;
  opacity: 0.6;
}

.ornaments::before {
  top: -8px;
  left: -8px;
}

.ornaments::after {
  bottom: -8px;
  right: -8px;
}

/* Decorative Divider */
.divider {
  position: relative;
  text-align: center;
  margin: 2rem 0;
}

.divider::before {
  content: '◆ ◆ ◆';
  display: inline-block;
  letter-spacing: 0.5rem;
  opacity: 0.4;
}

/* Vintage Number */
.vintage-number {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  border: 2px solid #000;
  border-radius: 50%;
  text-align: center;
  line-height: 1.8rem;
  font-weight: bold;
  margin-right: 0.5rem;
  font-family: 'Archivo Black', sans-serif;
}

/* Attention Star */
.star {
  display: inline-block;
  margin: 0 0.25rem;
}

.star::before {
  content: '★';
  font-size: 1.2em;
}

/* Vintage Pointer */
.pointer::before {
  content: '☞';
  display: inline-block;
  margin-right: 0.5rem;
  font-size: 2em;
  font-weight: 999;
  vertical-align: middle;
}

footer {
    padding-top: 1em;
    margin-top: 4rem;
    border-top:#000 solid 1px; 
 
    text-align: center;
}

footer p {
    opacity: 0.4;
    font-weight: 400;
    line-height: 1.6;
}


@keyframes highlightSection {
    0% { background-color: rgb(249 225 44); }
    100% { background-color: rgba(254, 240, 138, 0.4); }
}

.highlight-animation {
    animation: highlightSection 3s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .masthead-title {
    font-size: 2.5rem;
  }
  
  .container {
    padding: 2rem 1rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .card.large {
    padding: 2rem;
  }
}
