:root {
  --bg: #f6f6f7;
  --bg-alt: #ffffff;
  --bg-soft: #f1f2f4;
  --border-subtle: #dfe3e8;
  --border-strong: #c4cdd5;
  --accent: #0b8a6a;
  --accent-soft: rgba(11, 138, 106, 0.08);
  --accent-strong: #046052;
  --text: #202223;
  --text-soft: #4f5b62;
  --text-muted: #6d7175;
  --radius-lg: 12px;
  --shadow-soft: 0 16px 40px rgba(23, 24, 24, 0.08);
  --shadow-subtle: 0 4px 12px rgba(31, 33, 36, 0.08);
  --max-width: 1120px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(12px);
  background: rgba(246, 246, 247, 0.9);
  border-bottom: 1px solid #e1e3e5;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  color: var(--text);
}

.logo span {
  color: var(--accent-strong);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.9rem;
}

.nav a {
  color: var(--text-soft);
  position: relative;
  padding-bottom: 0.15rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transition: width 0.2s ease-out;
}

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

.nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  padding: 0.35rem;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.hero {
  padding: 3.2rem 0 2.6rem;
  background: var(--bg-alt);
  border-bottom: 1px solid #e1e3e5;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent-soft);
  border: 1px solid rgba(11, 138, 106, 0.24);
  color: var(--accent-strong);
  margin-bottom: 0.7rem;
}

.hero h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(2.1rem, 3vw, 2.6rem);
}

.hero-subtitle {
  margin: 0 0 1.4rem;
  color: var(--text-soft);
  max-width: 540px;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  display: grid;
  gap: 0.4rem;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.hero-list li::before {
  content: "•";
  color: var(--accent);
  margin-right: 0.35rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.7rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.15s ease-out, transform 0.1s ease-out,
    box-shadow 0.15s ease-out, border-color 0.15s ease-out,
    color 0.15s ease-out;
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 1px 0 rgba(22, 29, 37, 0.05),
    0 1px 3px rgba(23, 24, 24, 0.2);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: var(--accent-strong);
  box-shadow: 0 2px 6px rgba(31, 33, 36, 0.25);
}

.btn-ghost {
  background: transparent;
  border-color: #dfe3e8;
  color: var(--text-soft);
}

.btn-ghost:hover {
  background: var(--bg-soft);
  border-color: var(--border-strong);
  color: var(--text);
}

.hero-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.hero-panel {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  padding: 1.2rem 1.3rem;
}

.hero-panel h3 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem 1rem;
  font-size: 0.85rem;
  color: var(--text-soft);
}

.hero-grid span {
  display: block;
}

.dot-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--bg-soft);
  font-size: 0.75rem;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.section {
  padding: 2.6rem 0;
}

.section-alt {
  background: var(--bg-soft);
}

.section h2 {
  margin: 0 0 1.2rem;
  font-size: 1.6rem;
}

.section-intro {
  margin: 0 0 1.5rem;
  max-width: 640px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-subtle);
  padding: 1.1rem 1.15rem;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.02rem;
  color: var(--text);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1.8rem;
  align-items: flex-start;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0.1rem 0 0;
  display: grid;
  gap: 0.4rem;
}

.list-check li::before {
  content: "✓";
  color: var(--accent);
  margin-right: 0.35rem;
}

.site-footer {
  margin-top: auto;
  padding: 1.6rem 0 1.8rem;
  border-top: 1px solid #e1e3e5;
  background: #ffffff;
  font-size: 0.82rem;
  color: var(--text-muted);
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.footer-links a {
  color: var(--text-soft);
}

.page {
  padding: 2.8rem 0 2.6rem;
}

.page-header {
  margin-bottom: 1.6rem;
}

.page-title {
  margin: 0 0 0.5rem;
  font-size: 1.7rem;
}

.page-subtitle {
  margin: 0;
  max-width: 640px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.page-content {
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-subtle);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-soft);
}

.page-content h2 {
  margin-top: 1.1rem;
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
  color: var(--text);
}

.page-content h3 {
  margin-top: 0.9rem;
  margin-bottom: 0.3rem;
  font-size: 1rem;
  color: var(--text);
}

.page-content p {
  margin: 0.2rem 0 0.7rem;
}

.page-content ul {
  margin: 0.2rem 0 0.7rem 1.1rem;
  padding-left: 0;
}

.page-nav {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.page-nav a {
  font-size: 0.82rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid #dfe3e8;
  background: #ffffff;
}

.page-nav a:hover {
  background: var(--bg-soft);
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 0.8rem;
  max-width: 28rem;
}

.contact-form-inline {
  margin-top: 0.8rem;
}

.contact-form-success {
  display: none;
  padding: 1.25rem 1.1rem;
  background: #e8f5f0;
  border: 1px solid rgba(11, 138, 106, 0.35);
  border-radius: 12px;
  color: var(--accent-strong);
  font-weight: 500;
  max-width: 28rem;
}
.contact-form-success.is-visible {
  display: block;
}
.contact-form-wrapper.is-submitted .contact-form {
  display: none;
}
.contact-form .btn.is-loading {
  pointer-events: none;
  opacity: 0.85;
}
.contact-form .btn.is-loading::after {
  content: "";
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  margin-left: 0.5rem;
  vertical-align: -0.15em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: contact-spin 0.6s linear infinite;
}
@keyframes contact-spin {
  to { transform: rotate(360deg); }
}

.field-group label {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 0.2rem;
  color: var(--text-soft);
}

input,
textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 9px;
  border: 1px solid #c4cdd5;
  background: #ffffff;
  color: var(--text);
  font-size: 0.9rem;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(11, 138, 106, 0.4);
}

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-panel {
    order: -1;
  }

  .grid-3,
  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0.7rem 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: 52px 0 auto;
    background: #ffffff;
    border-bottom: 1px solid #e1e3e5;
    padding: 0.75rem 1.2rem 0.85rem;
    flex-wrap: wrap;
    gap: 0.9rem 1.4rem;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease-out, opacity 0.18s ease-out;
  }

  .nav.open {
    transform: translateY(0%);
    opacity: 1;
    pointer-events: auto;
  }

  .hero {
    padding-top: 2.4rem;
  }
}

@media (max-width: 520px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

/* ----- Product landing (AI Product Description Agent page) ----- */
.hero-copy h1 {
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  margin: 0 0 0.9rem;
}
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 0.3rem;
}
.hero-stats li { min-width: 110px; }
.stat-value { display: block; font-weight: 650; font-size: 1.2rem; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); }
.stat-footnote { margin: 0; font-size: 0.78rem; color: var(--text-muted); }
.hero-card {
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}
.hero-card-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.9rem;
  background: var(--bg-soft);
}
.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28c840; }
.hero-card-body { padding: 1rem 1.1rem 1.1rem; }
.hero-card-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin: 0 0 0.35rem;
}
.hero-card-block {
  font-size: 0.85rem;
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--border-subtle);
  margin-bottom: 0.8rem;
}
.hero-card-output {
  background: #e3f1eb;
  border-color: rgba(11, 138, 106, 0.4);
}
.step-card { position: relative; padding-top: 1.6rem; }
.step-number {
  position: absolute;
  top: 0.8rem;
  left: 1.1rem;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
.features-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: flex-start;
}
.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
}
.features-list li {
  font-size: 0.9rem;
  color: var(--text-soft);
  padding-left: 1.1rem;
  position: relative;
}
.features-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}
.feature-highlight { background: #f1f8f5; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.pricing-card h3 { margin-bottom: 0.2rem; }
.price { margin: 0 0 0.4rem; font-size: 1.4rem; font-weight: 650; }
.price span { font-size: 0.9rem; font-weight: 400; color: var(--text-muted); }
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 0.9rem;
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  color: var(--text-soft);
}
.pricing-card .btn { width: 100%; }
.pricing-card-featured {
  position: relative;
  transform: translateY(-6px);
  border-color: rgba(11, 138, 106, 0.6);
  box-shadow: 0 14px 32px rgba(11, 138, 106, 0.2);
  background: #f1f8f5;
}
.pill {
  position: absolute;
  top: 0.9rem;
  right: 1.1rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(11, 138, 106, 0.4);
  color: var(--accent-strong);
}
.btn-outline {
  background: transparent;
  border-color: var(--border-subtle);
  color: var(--text-soft);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
  background: var(--accent-soft);
}
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.resource-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.6rem;
  font-size: 0.86rem;
}
.resource-list span { display: block; color: var(--text-soft); }
.resources-note { margin-top: 1.3rem; font-size: 0.8rem; color: var(--text-muted); }
.faq-list { display: grid; gap: 0.6rem; }
.faq-list details {
  border-radius: 12px;
  background: #fff;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--border-subtle);
}
.faq-list summary { cursor: pointer; font-size: 0.92rem; font-weight: 500; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before {
  content: "+";
  display: inline-block;
  margin-right: 0.4rem;
  font-weight: 700;
  color: var(--accent);
}
.faq-list details[open] summary::before { content: "–"; }
.faq-list p { margin: 0.4rem 0 0; font-size: 0.86rem; color: var(--text-soft); }
.faq-more { margin-top: 1rem; font-size: 0.86rem; color: var(--text-soft); }
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  gap: 1.8rem;
  align-items: flex-start;
}
@media (max-width: 960px) {
  .features-layout,
  .pricing-grid,
  .resources-grid { grid-template-columns: minmax(0, 1fr); }
  .pricing-card-featured { transform: none; }
}

/* ----- Products page: product cards ----- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.product-card {
  border-radius: var(--radius-lg);
  background: #fff;
  border: 2px solid var(--border-subtle);
  padding: 1.5rem 1.4rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-subtle);
}
.product-card h2 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}
.product-card .product-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.product-card ul {
  margin: 0.5rem 0 1rem 1.1rem;
  padding-left: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}
.product-card .btn { margin-top: 0.5rem; }
@media (max-width: 768px) {
  .products-grid { grid-template-columns: minmax(0, 1fr); }
}

