@charset "utf-8";

/* TeamTalk marketing site — design system & one-page layout styles. */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,500;0,600;0,700;1,600;1,700&family=Sarabun:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  --navy: #190231;
  --blue: #267fd9;
  --indigo: #5031e9;
  --purple: #9d24a8;
  --gradient-brand: linear-gradient(120deg, var(--blue) 0%, var(--indigo) 55%, var(--purple) 100%);

  --bg: #ffffff;
  --bg-alt: #f5f3fb;
  --bg-alt-2: #efeafa;
  --text: #170a29;
  --text-muted: #5b5470;
  --border: #e3ddf2;

  --on-dark: #ffffff;
  --on-dark-muted: #c9bfe6;

  --focus-ring: #ffb703;

  --radius-xs: 0.4rem;
  --radius-sm: 0.6rem;
  --radius-md: 1.1rem;
  --radius-lg: 1.75rem;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(23, 10, 41, 0.08);
  --shadow-md: 0 12px 32px rgba(23, 10, 41, 0.14);
  --shadow-lg: 0 24px 60px rgba(23, 10, 41, 0.28);

  --container-w: 72rem;
  --font-heading: "Barlow Condensed", sans-serif;
  --font-body: "Sarabun", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  line-height: 1.05;
  margin: 0 0 1rem;
  color: var(--text);
}

h1 {
  font-size: clamp(2.6rem, 5vw, 4.2rem);
}

h2 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  margin: 0 0 1.25rem;
}

a {
  color: var(--indigo);
  text-decoration: none;

}

a:hover {
  color: var(--purple);
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

section {
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.section-alt {
  background: var(--bg-alt);
}

.section-head {
  max-width: 42rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--indigo);
  margin-bottom: 0.75rem;
}

.on-dark .eyebrow {
  color: var(--on-dark);
}

/* /// Skip link /// */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3.5rem;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
}

/* /// Focus visibility /// */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  border-radius: 0.35rem;
}

/* /// Buttons /// */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-style: italic;
  font-size: 1.05rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  border: 0.12rem solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--indigo);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: #3f22c9;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.95rem;
}

/* /// Header /// */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(25, 2, 49, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #fff;
}

.brand-logo {
  width: 2.1rem;
  height: 2.1rem;
}

.brand-name {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.75rem;
}

.main-nav a {
  color: var(--on-dark-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-style: italic;
  font-size: 1.05rem;
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: #fff;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle svg {
  width: 1.9rem;
  height: 1.9rem;
}

.mobile-nav {
  display: none;
}

.mobile-nav[data-open="true"] {
  display: block;
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav ul {
  list-style: none;
  padding: 1rem 1.5rem 1.5rem;
  display: grid;
  gap: 0.25rem;
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  color: #fff;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  font-size: 1.15rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav .store-badges {
  margin-top: 1rem;
}

@media (max-width: 61rem) {
  .main-nav {
    display: none;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

/* /// Hero /// */
.hero {
  position: relative;
  overflow: clip;
  background: var(--navy);
  color: #fff;
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(4rem, 9vw, 8rem);
}

.hero-glow {
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 46rem;
  background: var(--gradient-brand);
  opacity: 0.55;
  filter: blur(90px);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  color: #fff;
}

.hero .lede {
  font-size: 1.15rem;
  color: var(--on-dark-muted);
  max-width: 34rem;
}

.hero-note {
  color: var(--on-dark-muted);
  font-size: 0.95rem;
  margin-top: 0.75rem;
}

.sports-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 2rem;
}

.sports-chips li {
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--on-dark-muted);
  border-radius: var(--radius-pill);
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
}

.hero-visual .visual-frame {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
}

.hero-visual img {
  width: 100%;
  height: auto;
  filter: drop-shadow(var(--shadow-lg));
}

@media (max-width: 61rem) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
}

/* /// Store badges /// */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0;
}

.store-badges img {
  height: 3rem;
}

.store-badges a {
  border-radius: 0.6rem;
}

.store-badges img:hover {
  filter: brightness(1.4);
}

.web-badge {
  height: 40px;
  width: 160px;
  background: #0d0118;
  border: 1px solid rgb(150, 150, 150);
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-lg);
  color: #fff;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.web-badge:hover {
  filter: brightness(1.4);
  border: 1px solid rgb(255, 255, 255);
}

/* @media (max-width: 61rem) {
  .store-badges {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0.25rem;
  }
  .store-badges img, .web-badge {
    justify-self: center;
  }
} */

/* /// Feature grid /// */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  background: var(--gradient-brand);
  color: #fff;
  margin-bottom: 1.25rem;
}

.feature-icon svg {
  width: 1.6rem;
  height: 1.6rem;
}

.feature-card p {
  color: var(--text-muted);
  margin-bottom: 0;
}

@media (max-width: 61rem) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 38rem) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* /// App showcase (UI recreations) /// */

.showcase {
  background: var(--navy);
  color: #fff;
}

.showcase h2 {
  background: var(--navy);
  color: #fff;
}

.showcase

.carousel { 
  position: relative;
  margin: 0 auto; 
}
 
  .carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;            
    /* hide scrollbar (Firefox) */
    -webkit-overflow-scrolling: touch;
  }
  .carousel-track::-webkit-scrollbar { display: none; }  
  /* hide scrollbar (Chrome/Safari) */
 
  .carousel-track img {
    height: clamp(300px, 60vh, 560px); /* image height adapts to screen size */
    width: auto;
    flex: none;
    border-radius: 20px;
    scroll-snap-align: start;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .12);
  }
 
  .carousel-btn {
    position: absolute;
    top: calc(50% - 12px);
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 12px rgba(0, 0, 0, .2);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    transition: opacity .2s, transform .2s;
  }

  .carousel-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .carousel-btn:hover { 
    transform: translateY(-50%) scale(1.08); 
  }
  .carousel-btn:disabled { 
    opacity: 0; 
    pointer-events: none; 
  }
  .carousel-btn.prev { 
    left: 12px; 
  }
  .carousel-btn.next { 
    right: 12px; 
  }
 
  @media (max-width: 61rem) { 
    .carousel-btn { display: none; } 
  } /* swipe on phones */




/* /// How it works /// */
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 1.25rem;
  max-width: 46rem;
  margin: 0 auto;
}

.steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  align-items: flex-start;
  padding-block: 0.5rem;
}

.steps li::before {
  content: counter(step);
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  color: #fff;
  background: var(--gradient-brand);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
}

.steps li p {
  margin: 0.4rem 0 0;
  color: var(--text-muted);
}

.steps li strong {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.2rem;
}

/* /// Why / checklist /// */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.checklist {
  list-style: none;
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.checklist li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.checklist svg {
  width: 1.4rem;
  height: 1.4rem;
  color: var(--indigo);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

@media (max-width: 61rem) {
  .why-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* /// FAQ /// */
.faq-list {
  max-width: 46rem;
  margin: 0 auto;
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  padding: 0.25rem 1.5rem;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-style: italic;
  font-size: 1.15rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary .chevron {
  width: 1.3rem;
  height: 1.3rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
  color: var(--indigo);
}

.faq-item[open] summary .chevron {
  transform: rotate(180deg);
}

.faq-item p {
  color: var(--text-muted);
  padding-bottom: 1.1rem;
  margin: 0;
}

/* /// Download CTA /// */
.cta {
  background: var(--gradient-brand);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  margin-inline: 1.5rem;
}

.cta h2 {
  color: #fff;
}

.cta p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 34rem;
  margin-inline: auto;
}

.cta .store-badges {
  justify-content: center;
}

.cta-wrap {
  max-width: var(--container-w);
  margin-inline: auto;
}

/* /// Footer /// */
.site-footer {
  background: var(--navy);
  color: var(--on-dark-muted);
  padding-block: 3rem 2rem;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  justify-content: space-between;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
  max-width: 22rem;
}

.footer-brand .brand {
  margin-bottom: 0.75rem;
}

.footer-nav {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-nav h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.footer-nav ul {
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.footer-nav a {
  color: var(--on-dark-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: #fff;
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.85rem;
}

.footer-fine-print p {
  margin: 0.2rem 0;
}

/* /// Cookie banner /// */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 32rem;
  margin-inline: auto;
  background: #fff;
  color: var(--text);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 1.25rem 1.5rem;
  z-index: 900;
}

.cookie-banner p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* /// Utility /// */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {

  html,
  .btn,
  [data-reveal] {
    scroll-behavior: auto;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* /// 404 page /// */
.not-found {
  background: var(--navy);
  color: #fff;
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 5rem;
  position: relative;
  overflow: clip;
}

.not-found h1 {
  color: #fff;
  font-size: clamp(4rem, 12vw, 7rem);
  margin-bottom: 0.5rem;
}

.not-found p {
  color: var(--on-dark-muted);
  /* max-width: 32rem;
  margin-inline: auto 1.25rem; */
}

.not-found .btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* /// Legal pages (Privacy Policy / Terms of Use) /// */
[id] {
  scroll-margin-top: 6rem;
}

.legal-hero {
  background: var(--navy);
  color: #fff;
  padding-block: clamp(3rem, 7vw, 5rem) clamp(2.5rem, 5vw, 3.5rem);
  position: relative;
  overflow: clip;
}

.legal-hero .container {
  position: relative;
  z-index: 1;
}

.legal-hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  margin-bottom: 0.5rem;
}

.legal-hero .last-updated {
  color: var(--on-dark-muted);
  margin-bottom: 0;
}

.legal-section {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.legal-layout {
  display: grid;
  grid-template-columns: 15.5rem 1fr;
  gap: 3rem;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 6rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
}

.legal-toc p {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.legal-toc ol {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  counter-reset: toc;
}

.legal-toc li {
  counter-increment: toc;
}

.legal-toc a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.4;
}

.legal-toc a::before {
  content: counter(toc) ". ";
  color: var(--indigo);
  font-weight: 600;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: var(--indigo);
}

.legal-content h3 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
}

.legal-content h3:first-of-type {
  margin-top: 0;
}

.legal-content h4 {
  font-size: 1.15rem;
  margin-top: 1.5rem;
}

.legal-content p {
  color: var(--text);
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 1.25rem 1.35rem;
  list-style: disc;
  display: grid;
  gap: 0.5rem;
}

.legal-content ul ul {
  margin-top: 0.5rem;
}

.legal-content li {
  color: var(--text);
}

.legal-intro {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 48rem;
}

@media (max-width: 61rem) {
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }
}
