/* ============================================
   thus(digital) — marketing site
   Design language lifted from OptimAI
   ============================================ */

:root {
  --primary: #02605C;
  --secondary: #2A8A81;
  --tertiary: #9AC5C3;
  --body-color: #303030;
  --mid-grey: #7D8284;
  --invert-1: #CBD4D9;
  --invert-2: #E8ECEE;
  --surface: #FFFFFF;
  --border: #E2E8F0;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'M PLUS Rounded 1c', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--body-color);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.15s;
}
a:hover { color: var(--secondary); }

strong, b { font-weight: 500; }

/* ============ Wordmark ============ */

.brand {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  font-family: 'Fredoka', sans-serif;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: -0.01em;
}
.brand-size-nav { font-size: 1.5rem; }
.brand-size-hero { font-size: 3.4rem; line-height: 1.05; }
.brand .brand-inner {
  color: var(--secondary);
  font-weight: 300;
}

/* ============ Nav ============ */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.site-nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-link {
  color: var(--body-color);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.15s;
}
.nav-link:hover { color: var(--secondary); }

/* ============ Buttons ============ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.1s;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: #fff !important;
}
.btn-primary:hover {
  background: var(--secondary);
  color: #fff !important;
}
.btn-outline {
  background: transparent;
  color: var(--primary) !important;
  border: 1.5px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff !important;
}
.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1rem;
}
.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
}
.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* ============ Layout ============ */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container-narrow {
  max-width: 780px;
}

section {
  padding: 4rem 0;
}
section.section-alt {
  background: linear-gradient(135deg, rgba(2,96,92,0.02), rgba(42,138,129,0.02));
}
section + section {
  border-top: 1px solid var(--border);
}

.eyebrow {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--secondary);
  margin: 0 0 0.75rem;
}
.section-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--primary);
  margin: 0 0 0.5rem;
  line-height: 1.25;
}
.section-sub {
  color: var(--mid-grey);
  font-size: 1rem;
  margin: 0 0 2.25rem;
  max-width: 640px;
}
.section-centre {
  text-align: center;
}
.section-centre .section-sub { margin-left: auto; margin-right: auto; }

/* ============ Hero ============ */

.hero {
  padding: 5rem 0 4rem;
  text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(42,138,129,0.08), transparent 60%),
    radial-gradient(ellipse at bottom, rgba(2,96,92,0.05), transparent 70%);
}
.hero-wordmark {
  display: block;
  margin: 0 0 1.25rem;
}
.hero-tagline {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--primary);
  margin: 0 0 1rem;
  line-height: 1.3;
}
.hero-intro {
  font-size: 1.05rem;
  color: var(--body-color);
  max-width: 620px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}
.hero-cta {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ Products ============ */

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.product-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.product-card:hover {
  border-color: var(--secondary);
  box-shadow: 0 8px 28px rgba(2, 96, 92, 0.08);
  transform: translateY(-2px);
}
.product-card-featured {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
  background: linear-gradient(135deg, rgba(2,96,92,0.035), rgba(42,138,129,0.03));
}
/* Featured card hover - keep the primary border + 1px ring AND add the
   lift shadow in a single stacked box-shadow declaration so the visible
   2-stack frame doesn't thin / flash on hover. The generic
   .product-card:hover rule above flips border to --secondary and
   overwrites the ring; this rule overrides both with the same primary
   identity preserved. */
.product-card-featured:hover {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary), 0 8px 28px rgba(2, 96, 92, 0.08);
}
.product-badge {
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
}
.product-badge-soon {
  background: var(--mid-grey);
}
.product-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.7rem;
  font-weight: 500;
  color: var(--primary);
  margin: 0 0 0.35rem;
  line-height: 1.15;
}
.product-title .brand-inner-alt {
  color: var(--secondary);
  font-weight: 300;
}
.product-kicker {
  font-size: 0.85rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  margin: 0 0 1rem;
}
.product-desc {
  font-size: 0.95rem;
  color: var(--body-color);
  line-height: 1.6;
  margin: 0 0 1.25rem;
}
.product-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}
.product-bullets li {
  position: relative;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: var(--mid-grey);
  line-height: 1.5;
}
.product-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
}
.product-footer {
  margin-top: auto;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============ About / Bio ============ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: start;
}
.about-body p {
  font-size: 1rem;
  color: var(--body-color);
  line-height: 1.7;
  margin: 0 0 1rem;
}
.about-callout {
  margin: 1.75rem 0;
  padding: 1.5rem 1.5rem 1.25rem;
  background: linear-gradient(135deg, rgba(2,96,92,0.04), rgba(42,138,129,0.04));
  border-left: 3px solid var(--secondary);
  border-radius: var(--radius-md);
}
.about-callout-label {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--secondary);
  margin: 0 0 0.5rem !important;
}
.about-callout p {
  margin: 0 0 0.75rem;
  font-size: 0.98rem;
  line-height: 1.65;
}
.about-callout p:last-child { margin-bottom: 0; }

.about-clients {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.about-clients-label {
  font-family: 'Fredoka', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.14em;
  color: var(--secondary);
  margin: 0 0 0.75rem;
}
.about-clients-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem 2rem;
  font-size: 0.9rem;
  color: var(--mid-grey);
  list-style: none;
  padding: 0;
  margin: 0;
}
.about-clients-list li {
  flex: 0 0 auto;
}

.about-body p.about-linkedin {
  margin-top: 2.5rem;
  font-size: 0.95rem;
  text-align: center;
}

/* ============ Testimonials ============ */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
}
.testimonial-card.is-placeholder {
  border-style: dashed;
  opacity: 0.65;
}
.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--body-color);
  margin: 0 0 1.25rem;
  flex: 1;
}
.testimonial-quote::before {
  content: '\201C';
  font-family: 'Fredoka', sans-serif;
  font-size: 2.4rem;
  color: var(--tertiary);
  line-height: 0;
  vertical-align: -0.4rem;
  margin-right: 0.25rem;
}
.testimonial-who {
  font-size: 0.85rem;
  color: var(--mid-grey);
  line-height: 1.4;
}
.testimonial-name {
  font-weight: 500;
  color: var(--body-color);
  display: block;
}

/* ============ Contact / CTA ============ */

.cta-band {
  text-align: center;
  padding: 4.5rem 0;
}
.cta-title {
  font-family: 'Fredoka', sans-serif;
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--primary);
  margin: 0 0 0.75rem;
}
.cta-sub {
  color: var(--mid-grey);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
.cta-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-secondary {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--mid-grey);
}
.cta-secondary a { font-weight: 500; }

/* ============ Footer ============ */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  background: var(--surface);
}
.site-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.site-footer-brand {
  font-size: 0.85rem;
  color: var(--mid-grey);
}
.site-footer-brand a { color: var(--mid-grey); }
.site-footer-brand a:hover { color: var(--primary); }
.site-footer-links {
  display: flex;
  gap: 1.5rem;
}
.site-footer-links a {
  font-size: 0.85rem;
  color: var(--mid-grey);
}
.site-footer-links a:hover { color: var(--primary); }

/* ============ Responsive ============ */

@media (max-width: 860px) {
  .products-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .brand-size-hero { font-size: 2.6rem; }
  .hero-tagline { font-size: 1.2rem; }
  section { padding: 3rem 0; }
  .section-title { font-size: 1.5rem; }
}

@media (max-width: 560px) {
  .site-nav-links { gap: 1rem; }
  .site-nav-links .nav-link-hideable { display: none; }
  .brand-size-hero { font-size: 2.1rem; }
  .hero { padding: 3.5rem 0 3rem; }
  .product-card { padding: 1.5rem; }
  .cta-title { font-size: 1.5rem; }
}
