/* ThinkLikeACTO.ai — shared styles */

:root {
  --navy: #1B3A6B;
  --navy-deep: #142d54;
  --teal: #00A896;
  --teal-deep: #008b7d;
  --ice: #D5E8F0;
  --off-white: #F7F9FC;
  --text: #1E293B;
  --muted: #64748B;
  --line: #E2E8F0;
  --line-strong: #CBD5E1;
  --white: #FFFFFF;
  --font-serif: "DM Serif Display", Georgia, serif;
  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.1;
}

h1 { font-size: clamp(40px, 5.4vw, 68px); }
h2 { font-size: clamp(32px, 3.6vw, 48px); }
h3 { font-size: 24px; }

p { margin: 0 0 1em; }
a { color: var(--navy); text-decoration: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 20px;
}

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

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.logo-mark {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  flex-shrink: 0;
}
.logo-wordmark {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.logo .dot-ai {
  color: var(--teal);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  margin-left: 2px;
  letter-spacing: 0;
  transform: translateY(-1px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a:not(.btn) {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.15s ease;
}
.nav-links a:not(.btn):hover { color: var(--teal); }
.nav-links a.active { color: var(--navy); }
.nav-links a.active::after {
  content: "";
  display: block;
  height: 2px;
  background: var(--teal);
  margin-top: 4px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover { background: var(--navy-deep); }
.btn-teal {
  background: var(--teal);
  color: var(--white);
}
.btn-teal:hover { background: var(--teal-deep); }
.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost-light:hover { border-color: var(--white); }
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-link {
  color: var(--ice);
  font-weight: 500;
  font-size: 15px;
  border-bottom: 1px solid rgba(213, 232, 240, 0.4);
  padding-bottom: 2px;
}
.btn-link:hover { color: var(--white); border-color: var(--white); }

.btn .arrow {
  display: inline-block;
  transition: transform 0.18s ease;
}
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
section.dark {
  background: var(--navy);
  color: var(--ice);
}
section.dark h1, section.dark h2, section.dark h3 { color: var(--white); }
section.tint { background: var(--off-white); }

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}
.section-head p {
  font-size: 19px;
  color: var(--muted);
  margin-top: 18px;
  line-height: 1.55;
}
section.dark .section-head p { color: var(--ice); opacity: 0.85; }

/* ---------- Footer ---------- */
.footer {
  background: var(--navy);
  color: var(--ice);
  padding: 56px 0 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer h4 {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 18px;
}
.footer .logo,
.footer .logo-wordmark { color: var(--white); }
.footer-tag {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 18px;
  color: var(--ice);
  margin: 14px 0 0;
  max-width: 280px;
  line-height: 1.4;
}
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer li { margin-bottom: 10px; }
.footer a {
  color: var(--ice);
  font-size: 15px;
  opacity: 0.8;
  transition: opacity 0.15s;
}
.footer a:hover { opacity: 1; color: var(--white); }
.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

/* ---------- Misc utilities ---------- */
.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}
.rule-dark {
  background: rgba(255,255,255,0.12);
}

.tag {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(0, 168, 150, 0.08);
  padding: 6px 10px;
  border-radius: 2px;
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  section { padding: 64px 0; }
  .nav-links { gap: 20px; }
  .nav-links a:not(.btn) { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .container { padding: 0 24px; }
}
