/* GlideWisp marketing — dark charcoal + teal */

:root {
  --bg-deep: #0e1114;
  --bg: #151a1f;
  --bg-elevated: #1c2329;
  --surface: rgba(28, 35, 41, 0.72);
  --border: rgba(77, 184, 154, 0.18);
  --text: #e8eeeb;
  --text-muted: #9aa8a2;
  --teal: #4db89a;
  --teal-deep: #1f6b5a;
  --teal-glow: rgba(77, 184, 154, 0.22);
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --radius: 14px;
  --max: 1080px;
  --header-h: 4.25rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 90% 55% at 10% -10%, var(--teal-glow), transparent 55%),
    radial-gradient(ellipse 70% 45% at 95% 15%, rgba(31, 107, 90, 0.35), transparent 50%),
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(77, 184, 154, 0.08), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
  background-attachment: fixed;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #6dcfb4;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(14, 17, 20, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.logo:hover {
  color: var(--text);
}

.logo img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

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

/* Hero — brand first, one composition */
.hero {
  padding: clamp(3.5rem, 10vw, 6.5rem) 0 clamp(3rem, 8vw, 5rem);
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: 38rem;
}

.brand-mark {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 9vw, 4.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
}

.brand-mark span {
  color: var(--teal);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-sans);
  font-size: clamp(1.25rem, 3.2vw, 1.55rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--text);
  max-width: 28ch;
}

.hero-support {
  margin: 0 0 2rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 42ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3rem;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(160deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #061210;
}

.btn-primary:hover {
  background: linear-gradient(160deg, #5fc7ab 0%, #25856f 100%);
  color: #061210;
}

.btn-secondary {
  background: transparent;
  border-color: rgba(77, 184, 154, 0.45);
  color: var(--text);
}

.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(77, 184, 154, 0.08);
}

/* Sections */
.section {
  padding: clamp(3rem, 7vw, 5rem) 0;
}

.section-head {
  margin-bottom: 2rem;
  max-width: 36rem;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
}

.features {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.feature h3 {
  margin: 0 0 0.45rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.feature-icon {
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.85rem;
  border-radius: 8px;
  background: rgba(77, 184, 154, 0.12);
  border: 1px solid rgba(77, 184, 154, 0.28);
  display: grid;
  place-items: center;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 700;
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 42rem;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(21, 26, 31, 0.65);
  padding: 1.1rem 1.2rem;
}

.faq-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.faq-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 0.92rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--teal);
}

.powered-by {
  width: 100%;
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.85rem;
}

.powered-by a {
  color: var(--teal);
  text-decoration: none;
  font-weight: 500;
}

.powered-by a:hover {
  text-decoration: underline;
}

/* Legal pages */
.legal {
  padding: clamp(2.5rem, 6vw, 4rem) 0 4rem;
}

.legal .back {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.legal .back:hover {
  color: var(--teal);
}

.legal h1 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  letter-spacing: -0.02em;
}

.legal .updated {
  margin: 0 0 2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.legal h2 {
  margin: 2rem 0 0.65rem;
  font-size: 1.2rem;
}

.legal p,
.legal li {
  color: var(--text-muted);
}

.legal ul {
  padding-left: 1.2rem;
}

.legal strong {
  color: var(--text);
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn {
    transition: none;
  }
}
