/* =========================================================
   TACKLE-D — CERTIFICATE OF INCORPORATION PAGE
   css/cin.css
   Brand: Yellow #FDC500 · Deep Black #070707
   PDF embedded via <embed> · fixed size
   ========================================================= */

/* ---------------------------------------------------------
   TOKENS
--------------------------------------------------------- */

:root {
  --cin-yellow: #FDC500;
  --cin-yellow-soft: #FFD84D;
  --cin-black: #070707;
  --cin-panel: #0E0E0E;
  --cin-line: #1E1E1E;
  --cin-line-strong: #2A2A2A;
  --cin-white: #F5F3EE;
  --cin-gray: #9A9A9A;
  --cin-gray-soft: #C4C0B8;
  --cin-sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

/* ---------------------------------------------------------
   01 — PAGE BASE
--------------------------------------------------------- */

.cin-page {
  background: var(--cin-black);
  color: var(--cin-white);
  font-family: var(--cin-sans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.cin-page main {
  position: relative;
  flex: 1 1 auto;
}

/* Soft amber ambient glow behind the certificate */
.cin-page::before {
  content: "";
  position: fixed;
  top: -300px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 1100px;
  background: radial-gradient(circle, rgba(253, 197, 0, 0.07) 0%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

/* ---------------------------------------------------------
   02 — MAIN WRAPPER
--------------------------------------------------------- */

.cin-main {
  position: relative;
  z-index: 1;
  padding: 140px 32px 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 40px;
}

/* ---------------------------------------------------------
   03 — HEADING
--------------------------------------------------------- */

.cin-heading {
  text-align: center;
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cin-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border: 1px solid var(--cin-line-strong);
  border-radius: 100px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cin-yellow);
  background: rgba(253, 197, 0, 0.05);
}

.cin-heading h1 {
  font-family: var(--cin-sans);
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--cin-white);
  margin: 0;
  text-wrap: balance;
}

.cin-heading h1 span {
  color: var(--cin-yellow);
}

.cin-heading p {
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--cin-gray-soft);
  margin: 0;
  max-width: 520px;
}

/* ---------------------------------------------------------
   04 — CERTIFICATE CARD (fixed size)
--------------------------------------------------------- */

.cin-certificate {
  position: relative;
  width: 480px;
  height: 640px;
  max-width: 100%;
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 40px 90px -30px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(253, 197, 0, 0.18),
    0 0 0 8px rgba(255, 255, 255, 0.02);
}

/* Amber accent hairline along the top */
.cin-certificate::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--cin-yellow), transparent);
  z-index: 3;
  pointer-events: none;
}

/* ---------------------------------------------------------
   05 — PDF EMBED
--------------------------------------------------------- */

.cin-certificate embed {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  background: #ffffff;
}

/* Fallback for browsers that ignore <embed> sizing */
.cin-certificate embed::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* ---------------------------------------------------------
   06 — DOWNLOAD LINK
--------------------------------------------------------- */

.cin-document-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.cin-download {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cin-yellow);
  text-decoration: none;
  padding: 13px 24px;
  border: 1px solid rgba(253, 197, 0, 0.30);
  border-radius: 100px;
  background: rgba(253, 197, 0, 0.05);
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.cin-download:hover {
  background: var(--cin-yellow);
  color: var(--cin-black);
  transform: translateY(-2px);
}

.cin-download span {
  color: inherit;
  transition: transform 0.3s ease;
}

.cin-download:hover span {
  transform: translate(2px, -2px);
}

/* ---------------------------------------------------------
   07 — RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 768px) {

  .cin-main {
    padding: 120px 20px 70px;
    gap: 36px;
  }

  .cin-heading h1 {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
  }

  .cin-heading p {
    font-size: 13.5px;
  }

  .cin-certificate {
    width: 400px;
    height: 534px;
    border-radius: 12px;
  }
}

@media (max-width: 480px) {

  .cin-main {
    padding: 100px 14px 60px;
    gap: 28px;
  }

  .cin-eyebrow {
    font-size: 9.5px;
    padding: 6px 14px;
    letter-spacing: 0.2em;
  }

  .cin-certificate {
    width: 320px;
    height: 427px;
    border-radius: 10px;
    box-shadow:
      0 30px 70px -25px rgba(0, 0, 0, 0.9),
      0 0 0 1px rgba(253, 197, 0, 0.18);
  }

  .cin-download {
    font-size: 11px;
    padding: 11px 20px;
  }
}

/* ---------------------------------------------------------
   08 — REDUCED MOTION
--------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .cin-page *,
  .cin-page *::before,
  .cin-page *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}