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

::selection {
  background: rgba(15, 118, 110, 0.18);
  color: inherit;
}

:root {
  --bg-primary: #f3ede2;
  --bg-secondary: #fbf7ef;
  --bg-tertiary: #eadfcd;
  --bg-hover: #e0d4c0;
  --panel-bg: rgba(255, 250, 242, 0.88);
  --panel-strong: #fffaf2;
  --panel-muted: rgba(255, 248, 238, 0.7);
  --border-color: rgba(88, 67, 39, 0.16);
  --border-hover: rgba(88, 67, 39, 0.28);
  --text-primary: #171411;
  --text-secondary: #504a42;
  --text-muted: #7d7467;
  --heading-color: #113533;
  --accent-color: #0f766e;
  --accent-hover: #0b5e58;
  --shadow-soft: 0 24px 70px rgba(50, 37, 17, 0.12);
  --shadow-card: 0 12px 32px rgba(50, 37, 17, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1240px;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.08), transparent 34%),
    radial-gradient(circle at top right, rgba(234, 223, 205, 0.9), transparent 32%),
    linear-gradient(180deg, #f8f2e7 0%, var(--bg-primary) 28%, #f5efe3 100%);
  color: var(--text-primary);
  line-height: 1.6;
  font-family:
    "Avenir Next", "Segoe UI Variable", "SF Pro Display", "IBM Plex Sans", "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 28rem;
  height: 28rem;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(60px);
  opacity: 0.35;
  z-index: -1;
}

body::before {
  top: -8rem;
  right: -8rem;
  background: rgba(15, 118, 110, 0.14);
}

body::after {
  bottom: -10rem;
  left: -8rem;
  background: rgba(216, 174, 112, 0.2);
}

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

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

main,
.about-hero,
.about-content,
.article-hero,
.article-content,
.cta-banner,
.footer-inner {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.nav {
  position: sticky;
  top: 1rem;
  z-index: 20;
  width: min(calc(100% - 2rem), var(--container));
  margin: 1rem auto 0;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid rgba(88, 67, 39, 0.12);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.68);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(50, 37, 17, 0.05);
}

.nav-brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.nav-brand img,
.footer-brand img {
  width: 28px;
  height: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a:not(.nav-cta) {
  padding: 0.6rem 0.78rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition:
    background 0.18s ease,
    color 0.18s ease;
}

.nav-links a:not(.nav-cta):hover {
  background: rgba(255, 255, 255, 0.45);
  color: var(--text-primary);
}

.nav-cta,
.button-primary,
.cta-banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent-color);
  color: #f7f4ee;
  font-size: 0.94rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(15, 118, 110, 0.24);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.nav-cta:hover,
.button-primary:hover,
.cta-banner-btn:hover {
  transform: translateY(-1px);
  background: var(--accent-hover);
  box-shadow: 0 16px 34px rgba(15, 118, 110, 0.28);
}

.nav-cta svg,
.button-primary svg,
.cta-banner-btn svg {
  width: 15px;
  height: 15px;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(88, 67, 39, 0.12);
  background: rgba(255, 250, 242, 0.74);
  color: var(--text-primary);
  border-radius: 12px;
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease;
}

.nav-toggle:hover {
  background: #fffaf2;
  border-color: var(--border-hover);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3rem;
  align-items: center;
  padding: 5.5rem 0 2rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.hero-badge,
.section-label,
.feature-kicker,
.product-card span,
.metric-label {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-badge {
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  color: var(--accent-color);
  background: rgba(255, 250, 242, 0.7);
}

.hero-title {
  font-size: clamp(3.2rem, 7vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  font-weight: 700;
  color: var(--text-primary);
}

.hero-emphasis {
  color: var(--heading-color);
}

.hero-summary,
.section-copy,
.cta-banner p,
.about-hero p,
.about-card p,
.about-card li,
.article-content p,
.article-content li {
  color: var(--text-secondary);
}

.hero-summary {
  max-width: 38rem;
  font-size: 1.1rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  background: rgba(255, 250, 242, 0.74);
  color: var(--text-primary);
  font-size: 0.94rem;
  font-weight: 600;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.button-secondary:hover {
  transform: translateY(-1px);
  background: #fffaf2;
  border-color: var(--border-hover);
}

.hero-pills,
.product-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hero-pill,
.product-tools span {
  display: inline-flex;
  align-items: center;
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(88, 67, 39, 0.12);
  background: rgba(255, 250, 242, 0.74);
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 500;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.35rem;
}

.metric-card {
  padding: 1.25rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.95), rgba(255, 247, 237, 0.78));
  box-shadow: var(--shadow-card);
}

.metric-label,
.section-label,
.feature-kicker,
.product-card span {
  color: var(--accent-color);
}

.metric-card strong {
  display: block;
  margin: 0.35rem 0 0.45rem;
  font-size: 1rem;
  color: var(--text-primary);
}

.metric-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.hero-product {
  position: relative;
}

.product-shell {
  position: relative;
  padding: 1rem;
  border-radius: 32px;
  border: 1px solid rgba(88, 67, 39, 0.14);
  background:
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.14), transparent 42%),
    linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(245, 236, 221, 0.88));
  box-shadow: var(--shadow-soft);
}

.product-shell::before {
  content: "";
  position: absolute;
  inset: 12% auto auto 12%;
  width: 14rem;
  height: 14rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.14);
  filter: blur(70px);
  opacity: 0.55;
  pointer-events: none;
}

.product-toolbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.product-toolbar-chip {
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(88, 67, 39, 0.14);
  background: rgba(255, 250, 242, 0.8);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
}

.product-toolbar-dots {
  display: flex;
  gap: 0.45rem;
}

.product-toolbar-dots span {
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 999px;
  background: rgba(80, 74, 66, 0.22);
}

.product-panel {
  position: relative;
  z-index: 1;
  padding: 2.1rem;
  border-radius: 26px;
  border: 1px solid rgba(88, 67, 39, 0.14);
  background: rgba(255, 248, 238, 0.8);
  backdrop-filter: blur(12px);
}

.product-logo {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
}

.product-panel h2 {
  text-align: center;
  font-size: 2rem;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--heading-color);
}

.product-panel > p {
  max-width: 28rem;
  margin: 0.85rem auto 0;
  text-align: center;
  font-size: 1rem;
  color: var(--text-secondary);
}

.product-suggestions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.6rem;
}

.product-card {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid rgba(88, 67, 39, 0.12);
  background: rgba(255, 252, 246, 0.92);
  box-shadow: 0 8px 22px rgba(50, 37, 17, 0.05);
}

.product-card strong {
  display: block;
  margin: 0.4rem 0 0.45rem;
  font-size: 0.96rem;
  line-height: 1.3;
  color: var(--text-primary);
}

.product-card p {
  font-size: 0.84rem;
  line-height: 1.58;
  color: var(--text-muted);
}

.product-tools {
  justify-content: center;
  margin-top: 1rem;
}

.product-input {
  margin-top: 1.2rem;
  padding: 1.15rem 1.2rem 0.95rem;
  border-radius: 20px;
  border: 1px solid rgba(88, 67, 39, 0.14);
  background: rgba(255, 252, 246, 0.94);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.product-input p {
  font-size: 0.94rem;
  color: var(--text-muted);
}

.product-input-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.product-model {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(88, 67, 39, 0.12);
  background: rgba(255, 247, 237, 0.86);
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 500;
}

.product-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.2);
  color: var(--accent-color);
  font-size: 1.1rem;
  font-weight: 700;
}

.features,
.highlights,
.workflow,
.use-cases,
.faq,
.cta-banner {
  padding-top: 2.5rem;
}

.features {
  padding-bottom: 1rem;
}

.highlights {
  padding-bottom: 1rem;
}

.workflow,
.use-cases,
.faq {
  padding-bottom: 1rem;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
}

.section-header h2,
.cta-banner h2,
.about-hero h1,
.article-hero h1 {
  letter-spacing: -0.04em;
}

.section-header h2,
.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.04;
  color: var(--text-primary);
}

.section-copy {
  max-width: 34rem;
  font-size: 1.02rem;
  line-height: 1.75;
}

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

.feature-card,
.highlight-item,
.about-card,
.article-content,
.cta-banner-inner {
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
}

.feature-card {
  padding: 1.4rem;
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(251, 244, 233, 0.82));
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 118, 110, 0.24);
  box-shadow: 0 18px 35px rgba(50, 37, 17, 0.1);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  background: rgba(15, 118, 110, 0.08);
  color: var(--accent-color);
}

.feature-card h3 {
  margin: 0.45rem 0 0.55rem;
  font-size: 1.15rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.feature-card p {
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.highlight-item {
  padding: 1.6rem 1.2rem;
  border-radius: var(--radius-md);
  text-align: center;
  background: rgba(255, 250, 242, 0.8);
}

.highlight-value {
  font-size: 1.35rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--heading-color);
}

.highlight-label {
  margin-top: 0.45rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.workflow-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1rem;
  align-items: stretch;
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.workflow-step,
.workflow-panel,
.use-case-card,
.faq-item {
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-card);
}

.workflow-step {
  display: flex;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(251, 244, 233, 0.82));
}

.workflow-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  background: rgba(15, 118, 110, 0.08);
  color: var(--accent-color);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.workflow-step h3,
.use-case-card h3,
.faq-item h3 {
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.workflow-step p,
.use-case-card p,
.faq-item p {
  margin-top: 0.55rem;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.workflow-panel {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(255, 251, 245, 0.96), rgba(245, 236, 221, 0.88));
}

.workflow-panel-head span,
.use-case-kicker {
  display: inline-flex;
  width: fit-content;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.workflow-panel-head strong {
  display: block;
  margin-top: 0.45rem;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: var(--heading-color);
}

.workflow-lane {
  padding: 1rem 1.05rem;
  border-radius: 18px;
  border: 1px solid rgba(88, 67, 39, 0.12);
  background: rgba(255, 252, 246, 0.84);
}

.workflow-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.08);
  color: var(--accent-color);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.workflow-lane p {
  margin-top: 0.75rem;
  font-size: 0.96rem;
  color: var(--text-primary);
  line-height: 1.7;
}

.workflow-list {
  margin-top: 0.8rem;
  padding-left: 1rem;
}

.workflow-list li {
  margin-bottom: 0.4rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.workflow-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.workflow-tags span {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(88, 67, 39, 0.12);
  background: rgba(255, 248, 238, 0.9);
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 500;
}

.use-case-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.use-case-card,
.faq-item {
  padding: 1.45rem;
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.96), rgba(251, 244, 233, 0.82));
}

.cta-banner {
  padding-bottom: 4.5rem;
}

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.6rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.18), transparent 36%),
    linear-gradient(135deg, rgba(255, 251, 245, 0.95), rgba(245, 236, 221, 0.9));
}

.cta-banner p {
  max-width: 35rem;
  margin-top: 0.85rem;
  font-size: 1rem;
  line-height: 1.7;
}

.footer {
  padding: 0 0 2.5rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(88, 67, 39, 0.12);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a,
.footer-copy {
  font-size: 0.88rem;
  color: var(--text-muted);
}

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

.about-hero {
  padding-top: 5rem;
}

.about-hero h1,
.article-hero h1 {
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  line-height: 0.98;
  color: var(--text-primary);
}

.about-hero p {
  max-width: 42rem;
  margin-top: 1.35rem;
  font-size: 1.08rem;
  line-height: 1.75;
}

.about-content {
  padding: 2.2rem 0 4rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.about-card {
  padding: 1.7rem;
  border-radius: var(--radius-md);
  background: rgba(255, 250, 242, 0.82);
}

.about-card h3,
.article-content h2 {
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.about-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.15rem;
}

.about-card p,
.about-card li {
  font-size: 0.96rem;
  line-height: 1.7;
}

.about-card ul,
.article-content ul {
  padding-left: 1.2rem;
}

.article-hero {
  padding-top: 5rem;
  text-align: center;
}

.article-hero .subtitle {
  margin-top: 0.8rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
}

.article-content {
  margin-top: 2rem;
  margin-bottom: 4rem;
  padding: 2rem;
  border-radius: 24px;
  background: rgba(255, 250, 242, 0.84);
}

.article-content p,
.article-content li {
  font-size: 0.98rem;
  line-height: 1.8;
}

.article-content h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.35rem;
}

.article-content li {
  margin-bottom: 0.45rem;
}

.article-content a {
  color: var(--accent-color);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-content a:hover {
  color: var(--accent-hover);
}

.article-divider {
  height: 1px;
  margin: 2rem 0;
  background: rgba(88, 67, 39, 0.12);
}

.anim-hero .anim-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(26px);
  animation: word-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.anim-hero .anim-word:nth-of-type(1) {
  animation-delay: 0.08s;
}

.anim-hero .anim-word:nth-of-type(2) {
  animation-delay: 0.16s;
}

.anim-hero .anim-word:nth-of-type(3) {
  animation-delay: 0.24s;
}

.anim-hero .anim-word:nth-of-type(4) {
  animation-delay: 0.32s;
}

.anim-hero .anim-word:nth-of-type(5) {
  animation-delay: 0.4s;
}

.anim-hero .anim-word:nth-of-type(6) {
  animation-delay: 0.48s;
}

.anim-hero .anim-word:nth-of-type(7) {
  animation-delay: 0.56s;
}

.anim-hero .anim-word:nth-of-type(8) {
  animation-delay: 0.64s;
}

@keyframes word-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.anim-fade-in {
  opacity: 0;
  transform: translateY(18px);
  animation: fade-up 0.6s ease forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.anim-scroll {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.55s ease,
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.anim-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-metrics .anim-scroll:nth-child(1),
.features-grid .anim-scroll:nth-child(1),
.highlights-grid .anim-scroll:nth-child(1) {
  transition-delay: 0s;
}

.hero-metrics .anim-scroll:nth-child(2),
.features-grid .anim-scroll:nth-child(2),
.highlights-grid .anim-scroll:nth-child(2) {
  transition-delay: 0.08s;
}

.hero-metrics .anim-scroll:nth-child(3),
.features-grid .anim-scroll:nth-child(3),
.highlights-grid .anim-scroll:nth-child(3) {
  transition-delay: 0.16s;
}

.features-grid .anim-scroll:nth-child(4),
.highlights-grid .anim-scroll:nth-child(4) {
  transition-delay: 0.24s;
}

.features-grid .anim-scroll:nth-child(5) {
  transition-delay: 0.32s;
}

.features-grid .anim-scroll:nth-child(6) {
  transition-delay: 0.4s;
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 4.5rem;
  }

  .hero-summary {
    max-width: 100%;
  }

  .hero-metrics,
  .features-grid,
  .highlights-grid,
  .product-suggestions,
  .workflow-steps,
  .use-case-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .section-header,
  .cta-banner-inner,
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .cta-banner-btn {
    width: 100%;
  }
}

@media (max-width: 760px) {
  main,
  .about-hero,
  .about-content,
  .article-hero,
  .article-content,
  .cta-banner,
  .footer-inner {
    width: min(calc(100% - 2rem), var(--container));
    margin-inline: auto;
  }

  /* Nav keeps a tighter gutter so the links and CTA button fit on one
     row before wrapping, matching the previous mobile layout. */
  .nav {
    width: min(calc(100% - 1rem), var(--container));
    margin-inline: auto;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
    padding-top: 1.75rem;
  }

  .footer-links {
    justify-content: center;
    gap: 0.75rem 1.25rem;
  }

  /* Center-align the main content blocks on phones. Cards keep their
     internal grid / flex layouts; only the text alignment flips so
     headings, paragraphs, and inline flex groups center inside the
     narrow viewport instead of hugging the left edge. */
  .hero-copy,
  .hero-actions,
  .hero-pills,
  .hero-metrics,
  .feature-card,
  .use-case-card,
  .workflow-step,
  .highlight-item,
  .faq-item,
  .product-card,
  .product-tools,
  .cta-banner-inner,
  .section-copy,
  .about-card {
    text-align: center;
  }

  .hero-copy,
  .hero-actions,
  .hero-pills {
    align-items: center;
  }

  .hero-pills,
  .hero-actions,
  .product-tools {
    justify-content: center;
  }

  .section-copy {
    margin-inline: auto;
  }

  .nav {
    position: static;
    margin-top: 0.75rem;
    padding: 0.85rem 1rem;
    border-radius: 24px;
    flex-wrap: wrap;
    justify-content: space-between;
  }

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

  .nav-links {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(88, 67, 39, 0.12);
  }

  .nav.is-open .nav-links {
    display: flex;
  }

  .nav-links a:not(.nav-cta) {
    padding: 0.75rem 0.9rem;
    text-align: center;
    font-size: 0.95rem;
    border-radius: 14px;
  }

  .nav-cta {
    width: 100%;
    margin-top: 0.5rem;
  }

  .hero {
    gap: 1.8rem;
    padding-top: 3rem;
  }

  .hero-title {
    font-size: clamp(2.6rem, 14vw, 4.2rem);
  }

  .hero-summary {
    font-size: 1rem;
  }

  .hero-metrics,
  .features-grid,
  .highlights-grid,
  .about-grid,
  .product-suggestions,
  .workflow-steps,
  .use-case-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .product-panel,
  .article-content,
  .cta-banner-inner,
  .about-card,
  .feature-card,
  .highlight-item,
  .metric-card {
    padding: 1.3rem;
  }

  .product-panel h2,
  .section-header h2,
  .cta-banner h2 {
    font-size: 1.9rem;
  }

  .product-tools,
  .hero-pills,
  .hero-actions {
    gap: 0.55rem;
  }

  .footer {
    padding-bottom: 2rem;
  }
}
