/* site/styles.css */
/* =============================================
   Halfnote – landing page
   Palette
     Primary:    #0F766E
     Primary-dk: #0B5C55
     Accent:     #14B8A6
     Bg:         #F8FAFA
     Surface:    #FFFFFF
     Text:       #1A2E2C
     Text-muted: #5C736F
     Testimonial:#ECFDF5
   Font stack:  system-ui, -apple-system, "Segoe UI", Roboto,
                "Noto Sans", sans-serif
   ============================================= */

/* ---- Reset & base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 100%;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif;
  color: #1A2E2C;
  background: #F8FAFA;
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
  border: none;
}

.btn--small {
  padding: 0.4rem 1rem;
  font-size: 0.875rem;
}

.btn--large {
  padding: 0.9rem 2.2rem;
  font-size: 1.125rem;
}

.btn--primary {
  background: #0F766E;
  color: #fff;
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.25);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: #0B5C55;
  box-shadow: 0 4px 12px rgba(15, 118, 110, 0.35);
}

/* ---- Site header ---- */
.site-header {
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 250, 250, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(15, 118, 110, 0.1);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  color: #0F766E;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  color: #5C736F;
  transition: color 0.15s;
}

.nav-links a:not(.btn):hover {
  color: #0F766E;
}

/* ---- Hero ---- */
.hero {
  padding: 4rem 0 5rem;
  text-align: center;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.hero-heading {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 750;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 14ch;
}

.hero-subhead {
  font-size: 1.125rem;
  color: #5C736F;
  max-width: 42ch;
  line-height: 1.5;
}

.hero-graphic {
  margin-top: 1.5rem;
  opacity: 0.8;
}

/* ---- Features ---- */
.features {
  padding: 4rem 0;
}

.section-label {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 650;
  margin-bottom: 2.5rem;
  color: #1A2E2C;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  border: 1px solid rgba(15, 118, 110, 0.08);
  transition: box-shadow 0.2s, transform 0.2s;
}

.feature-card:hover {
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.08);
  transform: translateY(-3px);
}

.feature-icon {
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 650;
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.95rem;
  color: #5C736F;
  line-height: 1.5;
}

/* ---- Testimonial ---- */
.testimonial {
  padding: 4rem 0;
}

.testimonial-card {
  background: #ECFDF5;
  border-radius: 12px;
  padding: 2.5rem 2rem;
  max-width: 680px;
  margin: 0 auto;
  border-left: 4px solid #14B8A6;
}

.testimonial-text {
  font-size: 1.4rem;
  font-weight: 650;
  line-height: 1.3;
  color: #1A2E2C;
  margin-bottom: 0.75rem;
}

.testimonial-attribution {
  font-size: 0.95rem;
  color: #5C736F;
  margin-bottom: 0.4rem;
}

.testimonial-context {
  font-size: 0.9rem;
  color: #5C736F;
  line-height: 1.5;
}

/* ---- CTA ---- */
.cta {
  padding: 5rem 0;
  text-align: center;
}

.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cta-heading {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.cta-sub {
  font-size: 1.05rem;
  color: #5C736F;
}

.cta-footnote {
  font-size: 0.8rem;
  color: #5C736F;
  opacity: 0.75;
  margin-top: 0.5rem;
}

/* ---- Footer ---- */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(15, 118, 110, 0.1);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #5C736F;
}

.footer-brand {
  font-weight: 600;
}

/* ---- Responsive tweaks ---- */
@media (max-width: 600px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .nav-links {
    gap: 0.75rem;
  }

  .hero {
    padding: 2.5rem 0 3rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: 1.5rem 1.25rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
