/* ==========================================================================
   CannaGlobe → SHIFTai transition page
   ========================================================================== */

/* --------------------------------------------------------------------------
   Fonts (self-hosted, latin + latin-ext subsets)
   -------------------------------------------------------------------------- */

@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/anton-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/anton-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Inter ships as a variable font — one file covers 400–800. */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/plexmono-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/plexmono-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/plexmono-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/plexmono-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Surfaces */
  --bg: #0a0a0f;
  --surface: #111119;
  --surface-raised: #16161f;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.14);

  /* Text — every value below clears 4.5:1 on --bg */
  --text: #ffffff;
  --text-muted: #bfbfc8;
  --text-dim: #8b8b99;

  /* Accents */
  --cyan: #00e5ff;
  --gold: #d4ac60;
  --gold-light: #f2d98a;
  --gold-dark: #a8843c;
  --purple: #7c3aed;
  --magenta: #ff1a8c;

  /* Type */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif;
  --font-display: 'Anton', Impact, 'Haettenschweiler', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Rhythm */
  --shell: 1120px;
  --measure: 660px;
  --gutter: clamp(20px, 5vw, 24px);
  --radius: 16px;
  --radius-sm: 12px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

::selection {
  background: var(--purple);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 100;
  transform: translate(-50%, -120%);
  background: var(--cyan);
  color: #000;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  text-decoration: none;
  transition: transform 0.18s var(--ease);
}

.skip-link:focus-visible {
  transform: translate(-50%, 0);
}

.mono {
  font-family: var(--font-mono);
}

.text-gold {
  color: var(--gold);
}

.text-cyan {
  color: var(--cyan);
}

/* --------------------------------------------------------------------------
   Page shell + ambient glow
   -------------------------------------------------------------------------- */

.page {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: clip;
}

/* Two soft light sources — cyan top-left, gold behind the Founders card.
   Fixed so the gradient doesn't scroll away and reveal a flat backdrop. */
.page__glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(
      52rem 32rem at 50% -6rem,
      rgba(0, 229, 255, 0.13),
      transparent 70%
    ),
    radial-gradient(
      40rem 30rem at 88% 12%,
      rgba(124, 58, 237, 0.12),
      transparent 68%
    ),
    radial-gradient(
      44rem 30rem at 12% 88%,
      rgba(212, 172, 96, 0.07),
      transparent 70%
    );
}

/* --------------------------------------------------------------------------
   Masthead
   -------------------------------------------------------------------------- */

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 28px var(--gutter) 0;
}

.brand {
  display: inline-block;
  text-decoration: none;
  line-height: 0;
}

/* Height-driven so the logo's 4.33:1 aspect governs the width. The width and
   height attributes on the img reserve the box before the PNG decodes. */
.brand__logo {
  display: block;
  height: clamp(26px, 6vw, 34px);
  width: auto;
  transition: filter 0.22s var(--ease);
}

.brand:hover .brand__logo {
  filter: brightness(1.12) drop-shadow(0 0 14px rgba(206, 103, 164, 0.45));
}

.chip {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
}

/* --------------------------------------------------------------------------
   Shared bits
   -------------------------------------------------------------------------- */

.eyebrow {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.eyebrow--cyan {
  color: var(--cyan);
}

.eyebrow--gold {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}

/* Display type: a single deliberate slant. The source markup skewed the
   block one way and the inner span back the other, which cancelled out. */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.5px;
  line-height: 1.02;
}

.display__line {
  display: block;
  transform: skewX(-7deg);
  background: linear-gradient(180deg, #ffffff 30%, #c4c4d2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 17px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  padding: 18px 34px;
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    transform 0.18s var(--ease),
    box-shadow 0.18s var(--ease),
    background-color 0.18s var(--ease),
    border-color 0.18s var(--ease);
}

/* inline-block so the arrow rides along with the last word when the label
   wraps, instead of being parked at the far edge as a second flex item. */
.btn__arrow {
  display: inline-block;
  transition: transform 0.18s var(--ease);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

.btn--gold {
  background: linear-gradient(
    135deg,
    var(--gold-light),
    var(--gold) 55%,
    var(--gold-dark)
  );
  color: #0a0a0f;
  box-shadow:
    0 0 0 1px rgba(212, 172, 96, 0.4),
    0 10px 30px -10px rgba(212, 172, 96, 0.5);
}

.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(242, 217, 138, 0.6),
    0 16px 38px -12px rgba(212, 172, 96, 0.65);
}

.btn--magenta {
  background: var(--magenta);
  color: #ffffff;
  font-size: 16px;
  padding: 16px 32px;
  box-shadow: 0 10px 30px -12px rgba(255, 26, 140, 0.7);
}

.btn--magenta:hover {
  transform: translateY(-2px);
  background: #ff3d9d;
  box-shadow: 0 16px 38px -12px rgba(255, 26, 140, 0.8);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  padding: 14px 20px;
  border: 1px solid var(--line-strong);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn:active {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(44px, 8vw, 64px) var(--gutter) 40px;
  text-align: center;
}

.hero__title {
  font-size: clamp(34px, 8.5vw, 76px);
  margin: 0 0 24px;
}

.hero__lead {
  font-size: clamp(17px, 2.2vw, 19px);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: var(--measure);
  margin: 0 auto 8px;
  text-wrap: pretty;
}

.hero__lead--strong {
  color: var(--text);
  font-weight: 600;
  margin-bottom: 40px;
}

.wordmark {
  white-space: nowrap;
}

.wordmark__shift {
  color: var(--gold);
}

.wordmark__ai {
  background: linear-gradient(90deg, var(--purple), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__cta {
  margin: 0;
}

.hero__url {
  margin: 14px 0 0;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   Pillars
   -------------------------------------------------------------------------- */

.pillars {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 40px var(--gutter);
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition:
    transform 0.22s var(--ease),
    border-color 0.22s var(--ease),
    background-color 0.22s var(--ease);
}

.card:hover {
  transform: translateY(-3px);
  background: var(--surface-raised);
  border-color: rgba(0, 229, 255, 0.28);
}

.card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 10px;
  color: var(--cyan);
  background: rgba(0, 229, 255, 0.09);
  border: 1px solid rgba(0, 229, 255, 0.18);
}

.card__icon svg {
  width: 20px;
  height: 20px;
}

.card__title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px;
  text-wrap: balance;
}

/* Once the cards sit side by side, reserve two lines for every title so the
   body copy starts on the same baseline across the row. */
@media (min-width: 560px) {
  .card__title {
    min-height: 2.7em;
  }
}

.card__body {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   Statement
   -------------------------------------------------------------------------- */

.statement {
  max-width: 820px;
  margin: 0 auto;
  padding: 24px var(--gutter) 8px;
  text-align: center;
}

.statement p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Founders Club
   -------------------------------------------------------------------------- */

.founders {
  max-width: 900px;
  margin: clamp(40px, 7vw, 56px) auto 0;
  padding: 0 var(--gutter);
}

.founders__card {
  background: var(--surface);
  border: 1px solid rgba(212, 172, 96, 0.35);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 40px);
}

.founders__intro {
  text-align: center;
  margin-bottom: 28px;
}

.founders__title {
  font-size: clamp(26px, 4.5vw, 32px);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 12px;
  text-wrap: balance;
}

.founders__body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  text-wrap: pretty;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.step {
  text-align: center;
}

.step__num {
  display: block;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.step__label {
  display: block;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
}

/* Promo code */

.promo {
  text-align: center;
}

.promo__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 12px;
}

.promo__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.promo__code {
  font-size: clamp(20px, 5vw, 24px);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  background: var(--bg);
  border: 1px dashed var(--gold);
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  user-select: all;
}

.promo__status {
  min-height: 1.4em;
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--cyan);
}

.founders__cta {
  text-align: center;
  margin: 32px 0 0;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 56px) var(--gutter) 64px;
  text-align: center;
}

.fineprint {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-dim);
  text-wrap: pretty;
}

.fineprint a {
  color: var(--cyan);
}

/* --------------------------------------------------------------------------
   Scroll reveal
   -------------------------------------------------------------------------- */

/* Only applied once JS confirms IntersectionObserver support, so the content
   is never left invisible if the script fails to run. */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s var(--ease),
    transform 0.6s var(--ease);
}

.js-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .js-reveal .reveal {
    opacity: 1;
    transform: none;
  }
}
