/* TokenWisely — Design tokens matched to olakai.ai theme */

/* GT America — served from olakai.ai CDN */
@font-face {
  font-family: 'GT America';
  src: url('https://olakai.ai/wp-content/themes/modern-base/build/fonts/GT-America-Standard-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GT America';
  src: url('https://olakai.ai/wp-content/themes/modern-base/build/fonts/GT-America-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GT America';
  src: url('https://olakai.ai/wp-content/themes/modern-base/build/fonts/GT-America-Standard-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Reckless — editorial serif used for all headings on olakai.ai */
@font-face {
  font-family: 'Reckless';
  src: url('https://olakai.ai/wp-content/themes/modern-base/build/fonts/Reckless-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Reckless';
  src: url('https://olakai.ai/wp-content/themes/modern-base/build/fonts/Reckless-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --tw-primary:    #082935;   /* olakai.ai theme: color--primary */
  --tw-primary-2:  #264753;   /* olakai.ai theme: color--primary-2 (hero card) */
  --tw-primary-4:  #B9D4DF;   /* olakai.ai theme: color--primary-4 (why section) */
  --tw-teal:       #2B7C8F;   /* olakai.ai theme: color--primary-3 */
  --tw-gold:       #F2AB44;   /* olakai.ai theme: color--accent */
  --tw-light:      #F0F2F5;   /* olakai.ai theme: color--gray-50 */
  --tw-body-text:  #535455;   /* olakai.ai theme: color--gray-700 */
  --tw-white:      #FFFFFF;
  --tw-radius:     50px;      /* olakai.ai buttons are full pills */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'GT America', system-ui, -apple-system, sans-serif;
  font-weight: 300;
  color: var(--tw-primary);
  background: var(--tw-white);
  line-height: 1.6;
}

/* ── NAVBAR ─────────────────────────────────────────────── */
.tw-nav {
  background: var(--tw-primary);
  padding: 0 1.5rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.tw-nav-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  line-height: 1;
}
.tw-nav-name {
  font-size: 1.1875rem;
  font-weight: 500;
  color: var(--tw-white);
  letter-spacing: -0.025em;
  font-family: 'GT America', system-ui, sans-serif;
}
.tw-nav-by-row {
  display: flex;
  align-items: center;
  gap: 4px;
}
.tw-nav-by-text {
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  font-family: 'GT America', system-ui, sans-serif;
  letter-spacing: 0.01em;
}
.tw-olakai-wordmark {
  display: block;
  height: 14px;
  width: auto;
  opacity: 0.65;
}
.tw-nav-brand:hover .tw-nav-name { color: rgba(255,255,255,0.85); }
.tw-nav-brand:hover .tw-olakai-wordmark { opacity: 0.9; }
.tw-nav-cta {
  display: inline-block;
  padding: .4rem 1.25rem;
  border-radius: var(--tw-radius);
  border: 2px solid var(--tw-gold);
  background: var(--tw-gold);
  color: var(--tw-primary);
  font-size: .875rem;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.tw-nav-cta:hover { background: transparent; color: var(--tw-gold); }

/* ── LAYOUT ──────────────────────────────────────────────── */
.tw-inner { max-width: 1280px; width: 90%; margin: 0 auto; }
.tw-section { padding: 80px 1.5rem; }
.tw-section--dark {
  background: var(--tw-primary);
  color: var(--tw-white);
}
.tw-section--light { background: var(--tw-light); }
.tw-section--white { background: var(--tw-white); }
.tw-section--light-teal { background: var(--tw-primary-4); color: var(--tw-primary); }

/* ── TYPOGRAPHY ──────────────────────────────────────────── */
.tw-h1 {
  font-family: 'Reckless', Georgia, serif;
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.0;
  letter-spacing: -0.06em;
  margin-bottom: 1.25rem;
  color: var(--tw-white);
}
.tw-h2 {
  font-family: 'Reckless', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  letter-spacing: -0.05em;
  line-height: 1.0;
}
.tw-h3 {
  font-family: 'Reckless', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.tw-h2--white { color: var(--tw-white); }
.tw-h3--white { color: var(--tw-white); }
.tw-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tw-teal);
  margin-bottom: 1rem;
}
.tw-eyebrow--gold { color: var(--tw-gold); }
.tw-eyebrow--light { color: rgba(255,255,255,0.5); }
.tw-section-intro { font-size: 1.0625rem; color: var(--tw-body-text); margin-top: .75rem; max-width: 680px; }
.tw-section-intro--white { color: rgba(255,255,255,0.72); }
.tw-center { text-align: center; margin-left: auto; margin-right: auto; }
p { line-height: 1.65; }

/* ── BUTTONS ─────────────────────────────────────────────── */
.tw-btn {
  display: inline-block;
  padding: .625rem 1.75rem;
  border-radius: var(--tw-radius);
  border: 2px solid transparent;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
  white-space: nowrap;
  font-family: 'GT America', system-ui, sans-serif;
}
.tw-btn--gold { background: var(--tw-gold); color: var(--tw-primary); border-color: var(--tw-gold); }
.tw-btn--gold:hover { background: transparent; color: var(--tw-gold); border-color: var(--tw-gold); transform: translateY(-1px); }
.tw-btn--outline { background: transparent; color: var(--tw-white); border-color: rgba(255,255,255,0.4); }
.tw-btn--outline:hover { border-color: var(--tw-white); background: rgba(255,255,255,0.08); transform: translateY(-1px); }
.tw-btn--outline-dark { background: transparent; color: var(--tw-primary); border-color: rgba(8,41,53,0.3); }
.tw-btn--outline-dark:hover { border-color: var(--tw-primary); transform: translateY(-1px); }
.tw-btn-note { display: block; margin-top: .625rem; font-size: .8125rem; color: rgba(255,255,255,0.5); }

/* ── HERO ────────────────────────────────────────────────── */
.tw-hero {
  background: var(--tw-primary);
  background-image: url('https://olakai.ai/wp-content/uploads/2025/12/hero-bg.webp');
  background-size: cover;
  background-position: center;
  padding: 80px 1.5rem;
}
.tw-hero-grid {
  max-width: 1280px;
  width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: 2.5rem;
  align-items: stretch;
}
.tw-hero-card {
  background: var(--tw-primary-2);
  border-radius: 6px;
  padding: 2.5rem;
  color: var(--tw-white);
}
.tw-hero-body {
  font-size: 1.1875rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
  margin-bottom: 1rem;
}
.tw-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  padding: 1.5rem 0;
}

/* ── QUOTE ROTATOR ───────────────────────────────────────── */
.tw-quote-rotator {
  position: relative;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,.62);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 24px 48px -16px rgba(10,22,40,.2);
}
.tw-qr-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 48px 40px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  animation: tw-quote-fade 28s infinite;
}
.tw-qr-slide:nth-of-type(1) { animation-delay: 0s; }
.tw-qr-slide:nth-of-type(2) { animation-delay: 7s; }
.tw-qr-slide:nth-of-type(3) { animation-delay: 14s; }
.tw-qr-slide:nth-of-type(4) { animation-delay: 21s; }
.tw-qr-icon { display: flex; margin: 0 0 18px; color: #0d9488; }
.tw-qr-icon svg { width: 32px; height: 32px; stroke-width: 1.9; }
.tw-qr-quote {
  font-family: 'Reckless', Georgia, serif;
  font-size: 1.75rem;
  line-height: 1.38;
  font-weight: 400;
  color: #16263a;
  margin: 0 0 22px;
}
.tw-qr-attr {
  font-family: 'Reckless', Georgia, serif;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 400;
  color: #0f766e;
}
.tw-quote-rotator:hover .tw-qr-slide { animation-play-state: paused; }
@keyframes tw-quote-fade { 0%{opacity:0} 4%{opacity:1} 23%{opacity:1} 28%{opacity:0} 100%{opacity:0} }

/* ── AI TOOL CAROUSEL ────────────────────────────────────── */
.tw-carousel {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 16px 44px;
}
.tw-carousel-eyebrow {
  margin: 0 0 22px;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 400;
  text-align: center;
}
.tw-marquee-wrap {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.tw-marquee-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: tw-marquee-scroll 70s linear infinite;
}
.tw-marquee-wrap:hover .tw-marquee-track { animation-play-state: paused; }
.tw-marquee-track img,
.tw-marquee-track svg {
  height: 38px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  flex: 0 0 auto;
  border-radius: 9px;
  transition: transform .2s ease;
}
.tw-marquee-track img:hover,
.tw-marquee-track svg:hover { transform: scale(1.12); }
@keyframes tw-marquee-scroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── VALUE PROPS 3-COL ───────────────────────────────────── */
.tw-value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
  text-align: center;
}
.tw-value-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tw-value-icon img { width: 72px; height: 72px; }
.tw-value-h3 {
  font-family: 'Reckless', Georgia, serif;
  font-weight: 400;
  font-size: 1.625rem;
  letter-spacing: -0.03em;
  margin-bottom: .75rem;
  color: var(--tw-primary);
}
.tw-value-p { font-size: 1.0625rem; color: var(--tw-body-text); line-height: 1.65; }

/* ── STACKING FEATURE CARDS ──────────────────────────────── */
.tw-features-dark {
  background: var(--tw-primary);
  background-image: url('https://olakai.ai/wp-content/uploads/2026/01/platform-constellation.svg');
  background-size: cover;
  background-position: center;
  padding: 80px 1.5rem;
  color: var(--tw-white);
}
.tw-features-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-bottom: 60px;
}
.tw-features-intro-tag {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: .75rem;
}
.tw-features-intro-h3 {
  font-family: 'Reckless', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}
.tw-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  padding: 60px 0;
  border-top: 1px solid rgba(255,255,255,.08);
}
.tw-feature-row-eyebrow {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--tw-gold);
  margin-bottom: .875rem;
}
.tw-feature-row-h3 {
  font-family: 'Reckless', Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--tw-white);
  margin-bottom: 1rem;
}
.tw-feature-row-p { font-size: 1.0625rem; color: rgba(255,255,255,0.75); line-height: 1.65; margin-bottom: 1.25rem; }
.tw-feature-row ul { list-style: none; padding: 0; margin-bottom: 0; }
.tw-feature-row ul li {
  font-size: .9375rem;
  color: rgba(255,255,255,0.7);
  padding: .4rem 0;
  padding-left: 1.25rem;
  position: relative;
  line-height: 1.5;
}
.tw-feature-row ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .7rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--tw-gold);
}
.tw-feature-row ul li strong { color: var(--tw-white); font-weight: 500; }

/* ── CSS SLIDESHOW ───────────────────────────────────────── */
.tw-slideshow {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(8,41,53,.4), 0 2px 8px rgba(8,41,53,.2);
}
.tw-slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: tw-slide-fade 13.5s infinite;
}
.tw-slideshow img:nth-child(1) { animation-delay: 0s; }
.tw-slideshow img:nth-child(2) { animation-delay: 4.5s; }
.tw-slideshow img:nth-child(3) { animation-delay: 9s; }
.tw-slideshow--2 img { animation-name: tw-slide-fade-2; animation-duration: 9s; }
.tw-slideshow--2 img:nth-child(1) { animation-delay: 0s; }
.tw-slideshow--2 img:nth-child(2) { animation-delay: 4.5s; }
@keyframes tw-slide-fade {
  0%      { opacity: 0; }
  3.7%    { opacity: 1; }
  33.33%  { opacity: 1; }
  37%     { opacity: 0; }
  100%    { opacity: 0; }
}
@keyframes tw-slide-fade-2 {
  0%      { opacity: 0; }
  5.56%   { opacity: 1; }
  50%     { opacity: 1; }
  55.56%  { opacity: 0; }
  100%    { opacity: 0; }
}

/* ── SCREENSHOT (single) ─────────────────────────────────── */
.tw-screenshot {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 24px 48px -16px rgba(10,22,40,.22);
}
.tw-screenshot img { display: block; width: 100%; height: auto; }

/* ── MEDIA-TEXT ROW (2-col 50/50) ────────────────────────── */
.tw-media-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.tw-media-row--reverse .tw-media-row-media { order: -1; }

/* ── KAI SECTION ─────────────────────────────────────────── */
.tw-kai-questions {
  margin: 1.25rem 0 1.5rem;
  padding: 0;
  list-style: none;
}
.tw-kai-questions li {
  font-style: italic;
  font-size: 1rem;
  color: var(--tw-body-text);
  padding: .5rem 0 .5rem 1.5rem;
  position: relative;
  line-height: 1.5;
  border-bottom: 1px solid rgba(8,41,53,.08);
}
.tw-kai-questions li::before {
  content: '"';
  position: absolute;
  left: 0;
  color: var(--tw-teal);
  font-style: normal;
  font-size: 1.25rem;
  line-height: 1.3;
}

/* ── INTEGRATIONS ────────────────────────────────────────── */
.tw-integrations-row {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 4rem;
  align-items: center;
}
.tw-icon-grid {
  background: var(--tw-light);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: center;
}
.tw-icon-grid-item {
  width: 56px;
  height: 56px;
  background: var(--tw-white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  transition: transform .2s;
}
.tw-icon-grid-item:hover { transform: translateY(-2px); }
.tw-icon-grid-item svg { width: 28px; height: 28px; }
.tw-icon-grid-item img { width: 28px; height: 28px; object-fit: contain; border-radius: 4px; }

/* ── BOTTOM CTA ──────────────────────────────────────────── */
.tw-cta-dark {
  background: var(--tw-primary);
  background-image: url('https://olakai.ai/wp-content/uploads/2025/09/ai-power.svg');
  background-size: cover;
  background-position: center;
  padding: 100px 1.5rem;
  color: var(--tw-white);
}
.tw-cta-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 3rem;
  align-items: center;
}
.tw-cta-body { font-size: 1.0625rem; color: rgba(255,255,255,0.7); margin-top: 1rem; max-width: 560px; line-height: 1.65; }
.tw-cta-note { font-size: .8125rem; color: rgba(255,255,255,0.4); margin-top: .75rem; }
.tw-cta-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  background: rgba(255,255,255,.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 2.5rem;
}
.tw-cta-right-text { font-size: .9375rem; color: rgba(255,255,255,0.55); line-height: 1.5; }

/* ── FOOTER ──────────────────────────────────────────────── */
.tw-footer {
  background: var(--tw-primary);
  color: rgba(255,255,255,0.4);
  font-size: .8125rem;
  text-align: center;
  padding: 1.75rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
}
.tw-footer a { color: rgba(255,255,255,0.4); text-decoration: none; }
.tw-footer a:hover { color: rgba(255,255,255,0.7); }
.tw-footer .tw-sep { margin: 0 .5rem; opacity: .4; }

/* ── UTILS ───────────────────────────────────────────────── */
.mt-2  { margin-top: .5rem; }
.mt-4  { margin-top: 1rem; }
.mt-6  { margin-top: 1.5rem; }
.mt-8  { margin-top: 2rem; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .tw-hero-grid,
  .tw-features-intro,
  .tw-feature-row,
  .tw-media-row,
  .tw-integrations-row,
  .tw-cta-grid { grid-template-columns: 1fr; }
  .tw-hero { padding-bottom: 60px; }
  .tw-quote-rotator { height: 400px; }
  .tw-qr-quote { font-size: 1.35rem; }
  .tw-feature-row { padding: 40px 0; }
  .tw-media-row--reverse .tw-media-row-media { order: 0; }
  .tw-value-grid { grid-template-columns: 1fr; gap: 2rem; }
  .tw-cta-grid { gap: 2.5rem; }
  .tw-features-intro { padding-bottom: 40px; }
  .tw-carousel { padding: 40px 16px 32px; }
}
@media (max-width: 640px) {
  .tw-section { padding: 60px 1rem; }
  .tw-hero { padding: 60px 1rem 40px; }
  .tw-features-dark { padding: 60px 1rem; }
  .tw-cta-dark { padding: 70px 1rem; }
  .tw-inner { width: 100%; }
  .tw-hero-btns { flex-direction: column; align-items: flex-start; }
  .tw-marquee-track { gap: 40px; }
  .tw-marquee-track img, .tw-marquee-track svg { height: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .tw-qr-slide { animation: none; opacity: 0; }
  .tw-qr-slide:first-of-type { opacity: 1; }
  .tw-slideshow img { animation: none; opacity: 0; }
  .tw-slideshow img:first-child { opacity: 1; }
  .tw-marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; gap: 36px 48px; }
  .tw-btn:hover { transform: none; }
}
