:root {
  --av-color-bg: #f8fbf8;
  --av-color-surface: #ffffff;
  --av-color-surface-muted: #f1f6f1;
  --av-color-surface-soft: #edf5ef;
  --av-color-text: #163020;
  --av-color-text-muted: #4f6658;
  --av-color-text-soft: #6f8578;
  --av-color-primary: #2f8f5b;
  --av-color-primary-hover: #267449;
  --av-color-primary-bright: #48e27e;
  --av-color-primary-soft: #dff1e5;
  --av-color-primary-soft-2: #cfe8d8;
  --av-color-border: #d7e6da;
  --av-color-border-strong: #b8d2bf;
  --av-color-success: #2f8f5b;
  --av-color-warning: #b7791f;
  --av-color-shadow: rgba(27, 52, 39, 0.08);
  --av-page-x: clamp(1rem, 3vw, 2rem);
  --av-page-y: clamp(1.25rem, 3vw, 3rem);
  --av-content-max: 1180px;
  --av-card-radius: 1.5rem;
  --av-card-radius-sm: 1rem;
  --av-transition: 180ms ease;
  --av-font-body: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--av-font-body);
  color: var(--av-color-text);
  background:
    radial-gradient(circle at top left, rgba(223, 241, 229, 0.7), transparent 34%),
    linear-gradient(180deg, #fbfdfb 0%, var(--av-color-bg) 48%, #ffffff 100%);
  line-height: 1.55;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  width: min(100%, var(--av-content-max));
  margin: 0 auto;
  padding-left: var(--av-page-x);
  padding-right: var(--av-page-x);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(253, 255, 253, 0.96), rgba(245, 250, 246, 0.9));
  border-bottom: 1px solid rgba(205, 223, 211, 0.82);
  box-shadow: 0 8px 30px rgba(19, 42, 30, 0.05);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 4.75rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex: 1 1 auto;
  min-width: 0;
}

.brand,
.footer-mark,
.brand-mark,
.brand-icon {
  flex-shrink: 0;
}

.brand-mark,
.footer-mark {
  width: 100%;
  height: auto;
}

.footer-mark {
  width: 75%;
}

.brand-icon {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.9rem;
  box-shadow: 0 12px 24px rgba(47, 143, 91, 0.16);
}

.brand-mark {
  width: min(8.8rem, 36vw);
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.1rem;
  color: var(--av-color-text-muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.site-nav a {
  white-space: nowrap;
  transition: color var(--av-transition);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--av-color-primary);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

.header-actions .button {
  min-height: 3.25rem;
  padding: 0.92rem 1.35rem;
}

.button.header-mobile-action {
  display: none;
  min-height: 2.7rem;
  padding: 0.72rem 0.95rem;
  font-size: 0.88rem;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.875rem;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform var(--av-transition),
    background-color var(--av-transition),
    border-color var(--av-transition),
    color var(--av-transition),
    box-shadow var(--av-transition);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--av-color-primary);
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(47, 143, 91, 0.18);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--av-color-primary-hover);
}

.button-secondary {
  background: var(--av-color-surface);
  color: var(--av-color-primary);
  border-color: var(--av-color-border);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--av-color-border-strong);
  background: var(--av-color-surface-soft);
}

.menu-toggle {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--av-color-border);
  background: var(--av-color-surface);
  flex-shrink: 0;
}

.menu-toggle span {
  position: absolute;
  left: 0.72rem;
  right: 0.72rem;
  display: block;
  width: auto;
  height: 2px;
  background: var(--av-color-text);
  border-radius: 999px;
  transform-origin: center;
  transition: transform var(--av-transition), opacity var(--av-transition);
}

.menu-toggle span:nth-child(1) {
  transform: translateY(-0.34rem);
}

.menu-toggle span:nth-child(2) {
  transform: translateY(0);
}

.menu-toggle span:nth-child(3) {
  transform: translateY(0.34rem);
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(0) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(0) rotate(-45deg);
}

.site-nav.is-open {
  position: absolute;
  top: 4.7rem;
  left: var(--av-page-x);
  right: var(--av-page-x);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid var(--av-color-border);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 44px var(--av-color-shadow);
}

.hero {
  padding: clamp(2rem, 6vw, 5rem) 0 clamp(2rem, 5vw, 4rem);
}

.hero-shell {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--av-color-primary-soft);
  color: var(--av-color-primary);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  max-width: 14ch;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

p {
  margin: 0;
  color: var(--av-color-text-muted);
}

.hero-lead {
  max-width: 38rem;
  margin-top: 1.35rem;
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-actions,
.cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.65rem;
}

.hero-points,
.deep-list {
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li,
.deep-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-top: 0.7rem;
  color: var(--av-color-text-muted);
}

.hero-points li::before,
.deep-list li::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--av-color-primary);
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 1rem;
  width: min(100%, 25rem);
  margin: 0 auto;
}

.hero-frame {
  overflow: hidden;
  border-radius: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--av-color-border);
  background: var(--av-color-surface);
  box-shadow: 0 24px 48px var(--av-color-shadow);
}

.hero-image {
  width: 100%;
  height: auto;
}

.hero-image-primary {
  object-fit: cover;
  object-position: top center;
}

.hero-frame-primary {
  position: relative;
  top: 2.2rem;
  right: 2.2rem;
  transform: rotate(-1.8deg);
  max-width: 25rem;
  justify-self: center;
}

.hero-frame-secondary {
  position: relative;
  width: min(57.6%, 14.12rem);
  justify-self: end;
  margin-top: -9rem;
  aspect-ratio: 0.78;
  right: 2.5rem;
  transform: rotate(15deg);
}

.hero-frame-secondary .hero-image-secondary {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% 16%;
}

.trust-strip {
  padding-bottom: 1rem;
}

.trust-grid,
.feature-grid,
.workflow-grid,
.deep-grid {
  display: grid;
  gap: 1rem;
}

.trust-item,
.feature-card,
.workflow-card,
.deep-card,
.faq-item {
  border: 1px solid var(--av-color-border);
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--av-card-radius);
  box-shadow: 0 18px 40px var(--av-color-shadow);
}

.trust-item {
  padding: 1.15rem 1.15rem 1rem;
}

.trust-item strong {
  display: block;
  font-size: 1rem;
}

.trust-item span {
  display: block;
  margin-top: 0.45rem;
  color: var(--av-color-text-muted);
  font-size: 0.95rem;
}

.section {
  padding: clamp(3.25rem, 6vw, 5.5rem) 0;
}

.section-muted {
  background:
    linear-gradient(180deg, rgba(237, 245, 239, 0.65), rgba(255, 255, 255, 0));
}

.section-deep-insights {
  margin-top: -2.2rem;
}

.section-tight-top {
  padding-top: clamp(1.2rem, 2.4vw, 2.1rem);
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 2rem;
}

.section-heading p {
  margin-top: 1rem;
  font-size: 1.02rem;
}

.feature-card,
.workflow-card,
.deep-card {
  padding: 1.45rem;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--av-color-primary-soft);
  color: var(--av-color-primary);
  font-weight: 800;
}

.feature-card p,
.workflow-card p,
.deep-card p {
  margin-top: 0.8rem;
}

.workflow-card {
  position: relative;
}

.workflow-step {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--av-color-primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.deep-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(241, 246, 241, 0.96));
}

.screens-showcase {
  display: grid;
  gap: 1.4rem;
}

.screens-notes {
  display: grid;
  gap: 0.9rem;
}

.screen-note {
  padding: 1.15rem 1.15rem 1.05rem;
  border: 1px solid var(--av-color-border);
  border-radius: 1.25rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(242, 248, 243, 0.93));
  box-shadow: 0 16px 36px rgba(22, 48, 32, 0.08);
}

.screen-note-kicker {
  display: inline-flex;
  margin-bottom: 0.7rem;
  padding: 0.35rem 0.72rem;
  border-radius: 999px;
  background: var(--av-color-primary-soft);
  color: var(--av-color-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.screen-note p {
  margin-top: 0.65rem;
}

.screens-collage {
  position: relative;
  min-height: 24.5rem;
  padding: 0.35rem 0 0.5rem;
}

.screens-collage::before {
  content: "";
  position: absolute;
  inset: 2.2rem 0.2rem 0.2rem 1.2rem;
  border-radius: 2rem;
  background:
    radial-gradient(circle at top right, rgba(72, 226, 126, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(237, 245, 239, 0.9), rgba(248, 251, 248, 0.2));
}

.screen-shot {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(215, 230, 218, 0.88);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 22px 46px rgba(22, 48, 32, 0.14);
}

.screen-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.screen-shot-stats img {
  object-fit: contain;
  object-position: center top;
}

.screen-shot-placement {
  z-index: 1;
  top: -6.2rem;
  left: -0.25rem;
  width: min(76%, 23.5rem);
  aspect-ratio: 1.07;
  transform: rotate(-4deg);
}

.screen-shot-stats {
  z-index: 3;
  top: -3.55rem;
  right: 0.3rem;
  width: min(50.4%, 15.36rem);
  aspect-ratio: 0.42;
  transform: rotate(4.5deg);
}

.screen-shot-history {
  z-index: 2;
  right: 7.2rem;
  bottom: -8.8rem;
  width: min(68%, 21rem);
  aspect-ratio: 1.06;
  transform: rotate(2.4deg);
}

.text-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--av-color-primary);
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
}

.faq-question {
  width: 100%;
  min-height: 3.2rem;
  padding: 1.15rem 1.2rem;
  border: 0;
  background: transparent;
  text-align: left;
  color: var(--av-color-text);
  font-weight: 700;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 1.2rem 1.15rem;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--av-color-border);
}

.footer-shell {
  display: grid;
  gap: 1.5rem;
}

.footer-brand p {
  margin-top: 1rem;
  max-width: 28rem;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-meta a {
  color: var(--av-color-text-muted);
}

.footer-meta {
  justify-content: center;
}

@media (min-width: 48rem) {
  .feature-grid,
  .workflow-grid,
  .deep-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .screens-showcase {
    grid-template-columns: minmax(15rem, 0.78fr) minmax(0, 1.22fr);
    align-items: center;
    gap: 1.5rem;
  }

  .screens-collage {
    min-height: 28rem;
  }

  .cta-row,
  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .footer-shell {
    grid-template-columns: minmax(0, 1.8fr) minmax(0, 0.8fr);
    align-items: center;
  }
}

@media (min-width: 30rem) and (max-width: 63.9375rem) {
  .button.header-mobile-action {
    display: inline-flex;
  }
}

@media (min-width: 64rem) {
  .menu-toggle {
    display: none;
  }

  .header-mobile-action {
    display: none;
  }

  .site-nav,
  .header-actions {
    display: flex;
  }

  .site-nav {
    gap: 0.95rem;
    font-size: 0.92rem;
  }

  .header-shell {
    gap: 1.2rem;
    min-height: 5rem;
  }

  .brand {
    gap: 1rem;
  }

  .brand-icon {
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 1rem;
  }

  .brand-mark {
    width: 9.8rem;
  }

  .hero-shell {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.6rem;
  }

  .hero-visual {
    width: min(100%, 27rem);
  }

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

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

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

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

  .screens-showcase {
    grid-template-columns: minmax(16.5rem, 0.72fr) minmax(0, 1.28fr);
    gap: 2rem;
  }

  .screens-notes {
    gap: 1rem;
  }

  .screen-note {
    padding: 1.25rem 1.2rem 1.15rem;
  }

  .screens-collage {
    min-height: 29rem;
  }

  .screen-shot-placement {
    top: -7.2rem;
    left: -0.5rem;
    width: min(76%, 25.5rem);
  }

  .screen-shot-stats {
    top: -4.6rem;
    right: 0.1rem;
    width: min(50.4%, 15.84rem);
    aspect-ratio: 0.42;
  }

  .screen-shot-history {
    right: 7.7rem;
    bottom: -10rem;
    width: min(68%, 22rem);
  }
}

@media (max-width: 47.9375rem) {
  .hero-visual {
    width: min(100%, 21.75rem);
    padding: 0 0.5rem;
    overflow: visible;
  }

  .hero-frame-primary {
    top: 1.2rem;
    right: 0.2rem;
    max-width: min(100%, 18.8rem);
  }

  .hero-frame-secondary {
    width: min(52%, 10.2rem);
    margin-top: -5.2rem;
    right: 0.1rem;
    transform: rotate(9deg);
  }

  .screens-showcase {
    gap: 2.15rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .screens-collage {
    min-height: 21rem;
    margin-top: 1.9rem;
    margin-bottom: 0.9rem;
  }

  .screen-shot-placement {
    top: -3.3rem;
    left: -0.2rem;
    width: min(76%, 17.75rem);
  }

  .screen-shot-stats {
    top: -2rem;
    right: -0.15rem;
    width: min(45.6%, 9.12rem);
    aspect-ratio: 0.42;
  }

  .screen-shot-history {
    right: 3.7rem;
    bottom: -4.8rem;
    width: min(70%, 15.9rem);
  }
}
