:root {
  --bg: #f5f2ee;
  --card: #ffffff;
  --card-border: #ece7e2;
  --text: #2f3640;
  --muted: #6a737d;
  --accent: #2d8c95;
  --accent-dark: #23727a;
  --accent-soft: #e4f1f2;
  --logo-navy: #2b3445;
  --logo-teal: #2d8c95;
  --logo-light: #e6f1f2;
  --shadow: 0 18px 40px rgba(26, 43, 56, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1150px, 92vw);
  margin: 0 auto;
}

.site-header {
  padding: 28px 0 18px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  background: var(--bg);
}

.brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 22px rgba(26, 43, 56, 0.12);
}

.brand-logo-svg {
  height: 62px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-text span {
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
}

.brand-text strong {
  font-size: 22px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  color: #384047;
}

.site-nav a:hover {
  color: var(--accent);
}

.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(45, 140, 149, 0.2);
}

.nav-auth {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  box-shadow: 0 8px 18px rgba(45, 140, 149, 0.2);
}

.nav-auth.secondary {
  background: #f0efec;
  color: #2f3640;
  border: 1px solid var(--card-border);
  box-shadow: none;
}

.hero {
  padding: 40px 0 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  gap: 42px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-copy h1 {
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.lead {
  font-size: 18px;
  color: #3f4a54;
  margin-bottom: 10px;
}

.avg-line {
  font-weight: 600;
  color: var(--accent-dark);
  margin-bottom: 8px;
}

.sublead {
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-btn,
.secondary-btn {
  border: none;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.primary-btn {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 14px 30px rgba(45, 140, 149, 0.2);
}

.secondary-btn {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.ghost-btn {
  border: 1px solid var(--accent);
  background: transparent;
}

.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(45, 140, 149, 0.25);
}

.microcopy {
  font-size: 12px;
  color: var(--muted);
}

.hero-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 22px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.hero-card-wrap {
  display: grid;
  gap: 12px;
}

.demo-heading {
  font-size: clamp(26px, 3vw, 32px);
  font-weight: 800;
  color: #213046;
  text-align: center;
}

.moving-line {
  width: 90px;
  height: 4px;
  border-radius: 999px;
  background: var(--accent-soft);
  margin: 10px auto 18px;
  overflow: hidden;
  position: relative;
}

.moving-line::after {
  content: "";
  position: absolute;
  left: -40%;
  top: 0;
  width: 45%;
  height: 100%;
  border-radius: 999px;
  background: var(--accent);
  animation: glide 2.2s ease-in-out infinite;
}

@keyframes glide {
  0% {
    transform: translateX(-30%);
  }
  50% {
    transform: translateX(120%);
  }
  100% {
    transform: translateX(260%);
  }
}

.card-note {
  color: var(--muted);
  margin-bottom: 16px;
}

.demo-form {
  display: grid;
  gap: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.demo-form label,
.plain-form label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
  display: grid;
  gap: 6px;
}

.demo-form input,
.demo-form select,
.plain-form input,
.plain-form select,
.plain-form textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e3ded9;
  background: #fbfbfa;
  font-size: 15px;
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
}

.demo-submit {
  font-size: 18px;
  letter-spacing: 0.02em;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.plain-form textarea {
  resize: vertical;
}

.plain-form .full {
  display: grid;
  gap: 6px;
}

.section {
  padding: 40px 0;
}

.section-title {
  font-size: 24px;
  margin-bottom: 20px;
}

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

.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 20px;
  font-weight: 800;
  font-size: 24px;
  display: grid;
  gap: 6px;
  color: var(--accent-dark);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.feature-card,
.price-card,
.faq-item,
.signup-card,
.contact-card,
.social-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blank-card {
  min-height: 120px;
}

.feature-card:hover,
.price-card:hover,
.faq-item:hover,
.stat-card:hover,
.signup-card:hover,
.contact-card:hover,
.social-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(32, 54, 63, 0.15);
}

.signup-card,
.contact-card {
  display: grid;
  gap: 20px;
  box-shadow: var(--shadow);
}

.plain-form button {
  align-self: flex-end;
}

.pricing-header {
  display: grid;
  gap: 24px;
}

.pricing-header ol {
  margin: 14px 0;
  padding-left: 20px;
  color: var(--muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.price-card h4 {
  margin-bottom: 10px;
}

.price {
  font-size: 32px;
  font-weight: 800;
  color: var(--accent-dark);
}

.price span {
  font-size: 14px;
  color: var(--muted);
}

.price-card ul {
  list-style: none;
  margin: 16px 0 20px;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.price-card.featured {
  border: 2px solid var(--accent);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.page-hero {
  padding: 30px 0 10px;
}

.page-hero h1 {
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 8px;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.social-card {
  text-align: center;
  font-weight: 700;
  color: var(--accent-dark);
}

.video-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.video-frame {
  background: #f7f6f3;
  border-radius: 16px;
  border: 1px dashed #d8d2cd;
  min-height: 220px;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.auth-grid.single {
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
}

.auth-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.link-row {
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
}

.auth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-pill {
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 700;
}

.form-note {
  font-size: 12px;
  color: var(--muted);
}

.form-error {
  font-size: 12px;
  color: #b64444;
  min-height: 16px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
}

.form-success {
  font-size: 12px;
  color: #2f7a5b;
  min-height: 16px;
}

.oauth-row {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.google-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  background: conic-gradient(
      #4285f4 0deg,
      #4285f4 90deg,
      #34a853 90deg,
      #34a853 180deg,
      #fbbc05 180deg,
      #fbbc05 270deg,
      #ea4335 270deg,
      #ea4335 360deg
    );
  border-radius: 50%;
  position: relative;
}

.google-icon::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: #fff;
  border-radius: 50%;
}
.form-actions {
  display: flex;
  justify-content: flex-end;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.account-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.account-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #f0ece7;
}

.account-line:last-child {
  border-bottom: none;
}

.site-footer {
  padding: 30px 0 50px;
  text-align: center;
  color: var(--muted);
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }

  .hero-card {
    order: 2;
  }
}

@media (max-width: 720px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
