:root {
  --text: #111318;
  --muted: #616773;
  --surface: #f5f7fa;
  --border: #e4e8ee;
  --accent: #1769e0;
  --accent-dark: #0d52bc;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header,
main,
footer {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-size: 1.15rem;
  font-weight: 750;
  text-decoration: none;
  letter-spacing: -0.02em;
}

nav {
  display: flex;
  gap: 28px;
}

nav a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

nav a:hover {
  color: var(--text);
}

.hero {
  min-height: 670px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 90px 0 120px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 8vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.primary-button {
  display: inline-flex;
  padding: 14px 21px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--accent);
  font-weight: 650;
  text-decoration: none;
  transition: transform 150ms ease, background 150ms ease;
}

.primary-button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.product-section {
  padding: 20px 0 120px;
}

.product-card {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 72px;
  align-items: center;
  padding: clamp(32px, 7vw, 80px);
  border: 1px solid var(--border);
  border-radius: 36px;
  background: var(--surface);
}

.product-card h2,
.about-section h2,
.contact-section h2 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.product-copy,
.about-section p {
  max-width: 660px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.app-preview {
  min-height: 390px;
  padding: 28px;
  border: 1px solid #dce1e8;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0 26px 70px rgba(24, 33, 50, 0.12);
}

.preview-top,
.preview-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.preview-top {
  font-weight: 700;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #30b66c;
}

.timer {
  margin-top: 70px;
  text-align: center;
  font-size: 4rem;
  font-weight: 750;
  letter-spacing: -0.05em;
}

.turn-label {
  margin-top: 4px;
  color: var(--muted);
  text-align: center;
}

.preview-controls {
  margin-top: 76px;
  color: var(--muted);
  font-size: 0.9rem;
}

.preview-controls strong {
  padding: 12px 24px;
  border-radius: 999px;
  color: #ffffff;
  background: var(--accent);
}

.about-section {
  padding: 110px 0;
}

.about-section h2 {
  max-width: 850px;
}

.contact-section {
  margin-bottom: 96px;
  padding: 72px;
  border-radius: 30px;
  color: #ffffff;
  background: #111318;
}

.contact-section a {
  color: #a9c9ff;
  font-size: 1.1rem;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 30px 0 44px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

footer a {
  text-decoration: none;
}

@media (max-width: 760px) {
  .site-header,
  main,
  footer {
    width: min(calc(100% - 28px), var(--max-width));
  }

  nav {
    gap: 16px;
  }

  .hero {
    min-height: 610px;
    padding-top: 50px;
  }

  .product-card {
    grid-template-columns: 1fr;
    gap: 42px;
    border-radius: 26px;
  }

  .contact-section {
    padding: 44px 28px;
  }

  footer {
    gap: 18px;
    flex-direction: column;
  }
}

/* Legal and support pages */

.legal-page {
  width: min(calc(100% - 40px), 900px);
  margin: 0 auto;
  padding: 110px 0 120px;
}

.legal-header {
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.legal-header h1 {
  max-width: none;
  margin-bottom: 18px;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.legal-date {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-content {
  padding-top: 72px;
}

.legal-content > p {
  margin-bottom: 52px;
  color: var(--muted);
  font-size: 1.16rem;
}

.legal-content section {
  margin-bottom: 46px;
}

.legal-content h2 {
  margin-bottom: 12px;
  font-size: 1.55rem;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.legal-content p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.legal-content a {
  color: var(--accent);
  text-underline-offset: 3px;
}

.footer-links {
  display: flex;
  gap: 22px;
}

@media (max-width: 760px) {
  .legal-page {
    width: min(calc(100% - 28px), 900px);
    padding: 72px 0 90px;
  }

  .legal-header {
    padding-bottom: 36px;
  }

  .legal-content {
    padding-top: 40px;
  }

  .legal-content > p {
    font-size: 1.08rem;
  }

  .footer-links {
    gap: 16px;
  }
}

.support-response-time {
  margin-top: 16px;
}

/* Footer */

.site-footer {
  border-top: 1px solid #e5e7eb;
  margin-top: 80px;
  padding: 40px 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer p {
  color: #9ca3af;;
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: #4b5563;
  text-decoration: none;
}

.footer-links a:hover {
  color: #2563eb;
}

/* ---------- WhoseTurn Page ---------- */

.product-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 40px;
}

.product-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
  margin-bottom: 120px;
  flex-wrap: wrap;
}

.product-hero-copy {
  flex: 1;
  min-width: 320px;
}

.product-hero h1 {
  font-size: clamp(52px, 7vw, 84px);
  line-height: 0.95;
  margin: 16px 0 24px;
}

.product-intro {
  font-size: 24px;
  line-height: 1.6;
  color: #6b7280;
  max-width: 560px;
}

.coming-soon {
  margin-top: 32px;
  color: #2563eb;
  font-weight: 600;
}

.product-preview {
  width: 340px;
  border-radius: 32px;
  background: #111827;
  color: white;
  padding: 32px;
  box-sizing: border-box;
}

.preview-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22c55e;
}

.timer {
  font-size: 64px;
  font-weight: 700;
  margin: 48px 0 12px;
}

.turn-label {
  color: #d1d5db;
}

.preview-controls {
  display: flex;
  justify-content: space-between;
  margin-top: 60px;
  color: #9ca3af;
}

.features-section,
.use-cases-section,
.contact-section {
  margin-top: 120px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
  gap: 40px;
  margin-top: 48px;
}

.feature-grid article {
  border: 1px solid #e5e7eb;
  border-radius: 20px;
  padding: 28px;
}

.feature-grid h3 {
  margin-bottom: 16px;
}

.feature-grid p,
.use-cases-section p {
  color: #6b7280;
  line-height: 1.8;
}

.contact-section a {
  display: inline-block;
  margin-top: 20px;
  font-size: 22px;
  font-weight: 600;
}

.product-screenshot-wrap {
  width: min(360px, 100%);
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 42px;
  background: #ffffff;
  box-shadow: 0 28px 70px rgba(17, 24, 39, 0.16);
}

.product-screenshot {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 32px;
}

/* ---------- Use Cases ---------- */

.use-cases {
  margin-top: 120px;
}

.use-cases h2 {
  max-width: 720px;
  margin: 12px 0 40px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.section-label {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.use-case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.use-case {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #ffffff;
  font-size: 1.05rem;
  font-weight: 650;
}

@media (max-width: 760px) {
  .use-cases {
    margin-top: 88px;
  }

  .use-case-grid {
    grid-template-columns: 1fr;
  }
}
