/* AntSolutions marketing — vivid green/teal, built for a motor-insurance renewal product */
:root {
  --ink: #17123f;
  --ink-soft: #322a63;
  --green: #12a150;
  --green-deep: #0b7a3e;
  --green-light: #34c77a;
  --green-soft: #a7e8c4;
  --teal: #0ea8a0;
  --teal-deep: #087f79;
  --cream: #fff6ec;
  --peach: #ffe7d6;
  --sky: #eaf7f5;
  --white: #ffffff;
  --text: #241c4d;
  --muted: #5d5a78;
  --line: rgba(23, 18, 63, 0.12);
  --hero-gradient: linear-gradient(
    120deg,
    rgba(11, 122, 62, 0.88) 0%,
    rgba(18, 161, 80, 0.8) 32%,
    rgba(52, 199, 122, 0.5) 68%,
    rgba(14, 168, 160, 0.55) 100%
  );
  --font-display: "Sora", sans-serif;
  --font-body: "Inter", sans-serif;
  --space: clamp(1.25rem, 3vw, 2.5rem);
  --max: 72rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 1.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  color: var(--green-deep);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.5rem 0.75rem;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  border-radius: 0.5rem;
}

.skip-link:focus {
  top: 1rem;
}

/* Header — solid, sticky, always legible */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 0.85rem var(--space);
  background: rgba(255, 246, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

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

.nav-cta {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--green);
  color: var(--white) !important;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.nav-cta:hover {
  background: var(--green-deep);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  background: var(--white);
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s var(--ease);
}

/* Hero — vibrant sunrise wash over the field photo */
.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1560250097-0b93528c311a?auto=format&fit=crop&w=2000&q=80");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 18%;
  transform: scale(1.04);
  animation: hero-zoom 18s var(--ease) forwards;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background: var(--hero-gradient);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: clamp(3rem, 10vh, 6rem) var(--space) clamp(3.5rem, 8vh, 5.5rem);
}

.hero-brand {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7.5vw, 5.25rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--white);
  opacity: 0;
  animation: hero-rise 0.9s var(--ease) 0.15s forwards;
}

.hero-title {
  margin: 0 0 1rem;
  max-width: 18ch;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.45rem, 3.2vw, 2.15rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--green-soft);
  opacity: 0;
  animation: hero-rise 0.9s var(--ease) 0.32s forwards;
}

.hero-lede {
  margin: 0 0 1.5rem;
  max-width: 36ch;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255, 255, 255, 0.92);
  opacity: 0;
  animation: hero-rise 0.9s var(--ease) 0.45s forwards;
}

.hero-stats {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  opacity: 0;
  animation: hero-rise 0.9s var(--ease) 0.52s forwards;
}

.hero-stats li {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  font-size: 0.88rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  opacity: 0;
  animation: hero-rise 0.9s var(--ease) 0.6s forwards;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--white);
  color: var(--green-deep);
  box-shadow: 0 10px 24px -8px rgba(228, 64, 47, 0.55);
}

.btn-primary:hover {
  background: var(--green-soft);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-zoom {
  from {
    transform: scale(1.06);
  }
  to {
    transform: scale(1);
  }
}

/* Sections */
.section {
  padding: clamp(3.5rem, 10vw, 6.5rem) var(--space);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-deep);
}

.section-title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.section-lede {
  margin: 0 0 2.25rem;
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.08rem;
}

/* Products catalog */
.products {
  background: var(--white);
}

.product-catalog {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.product-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--peach);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.product-rank {
  align-self: flex-start;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--white);
  background: var(--green);
  white-space: nowrap;
}

.product-card-body {
  min-width: 0;
}

.product-category {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-deep);
}

.product-card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  color: var(--ink);
}

.product-card-body > p:not(.product-category):not(.product-meta) {
  margin: 0 0 0.85rem;
  color: var(--muted);
  max-width: 40rem;
}

.product-meta {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.product-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.btn-outline {
  background: var(--white);
  color: var(--ink);
  border-color: var(--line);
  border-radius: 999px;
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal-deep);
}

.text-link {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--teal-deep);
  text-decoration: none;
  border-bottom: 2px solid var(--green-light);
}

.text-link:hover {
  color: var(--green-deep);
  border-color: var(--green);
}

/* Photo frames — shared colorful treatment for supporting imagery */
.android-visual,
.product-visual,
.solutions-visual {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 6px solid var(--white);
  box-shadow: 0 24px 48px -20px rgba(23, 18, 63, 0.35);
}

/* Android spotlight */
.android {
  background: var(--ink);
  color: var(--sky);
}

.android .eyebrow {
  color: var(--green-soft);
}

.android .section-title {
  color: var(--white);
}

.android .section-lede {
  color: rgba(234, 247, 245, 0.78);
}

.android-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.android .plain-list li {
  color: rgba(234, 247, 245, 0.92);
  border-top-color: rgba(234, 247, 245, 0.16);
}

.android .plain-list li:last-child {
  border-bottom-color: rgba(234, 247, 245, 0.16);
}

.android .plain-list li::before {
  background: var(--teal);
}

.android .plain-list a {
  color: var(--green-soft);
}

.android .plain-list a:hover {
  color: var(--green);
}

.android-visual {
  min-height: 22rem;
}

.android-visual img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
}

.product {
  background: var(--sky);
}

.product-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.features {
  background: var(--white);
}

.features .eyebrow {
  color: var(--green-deep);
}

.features .section-title {
  color: var(--ink);
}

.features .section-lede {
  color: var(--muted);
}

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.feature-list li {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--cream);
  border: 1px solid var(--line);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.feature-list li:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px -18px rgba(23, 18, 63, 0.25);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.9rem;
  border-radius: 0.85rem;
  font-size: 1.3rem;
}

.feature-list li:nth-child(6n + 1) .feature-icon {
  background: rgba(255, 90, 78, 0.16);
}

.feature-list li:nth-child(6n + 2) .feature-icon {
  background: rgba(255, 177, 0, 0.2);
}

.feature-list li:nth-child(6n + 3) .feature-icon {
  background: rgba(14, 168, 160, 0.16);
}

.feature-list li:nth-child(6n + 4) .feature-icon {
  background: rgba(255, 177, 0, 0.2);
}

.feature-list li:nth-child(6n + 5) .feature-icon {
  background: rgba(14, 168, 160, 0.16);
}

.feature-list li:nth-child(6n + 6) .feature-icon {
  background: rgba(255, 90, 78, 0.16);
}

.feature-list h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

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

.feature-list a {
  color: var(--teal-deep);
}

.feature-list a:hover {
  color: var(--green-deep);
}

.feature-list strong {
  color: var(--green-deep);
  font-weight: 700;
}

.solutions {
  background: var(--white);
}

.solutions-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.solutions-visual {
  min-height: 22rem;
}

.solutions-visual img {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  object-fit: cover;
}

.plain-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--text);
  font-weight: 600;
}

.plain-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.2rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: var(--green);
}

.pricing {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green) 45%, var(--teal) 100%);
  color: var(--white);
}

.pricing .eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.pricing .section-title {
  color: var(--white);
}

.pricing .section-lede {
  color: rgba(255, 255, 255, 0.9);
}

.pricing .section-lede strong {
  color: var(--white);
  font-weight: 800;
}

.pricing-amount {
  margin: 0 0 2.25rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  max-width: 28rem;
}

.price-figure {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--white);
}

.price-unit {
  margin: 0;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.92);
}

.pricing-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.pricing-steps strong {
  color: var(--white);
  font-weight: 800;
}

.pricing-steps > div {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.step-label {
  display: block;
  margin-bottom: 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--white);
  opacity: 0.85;
}

.pricing-steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.98rem;
}

.contact {
  background: var(--cream);
}

.contact-block {
  font-style: normal;
  margin: 0;
}

.contact-block p {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.contact-block a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--green-light);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.contact-block a:hover {
  color: var(--green-deep);
  border-color: var(--green);
}

.contact-block .note {
  margin-top: 1.25rem;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(234, 247, 245, 0.75);
  padding: 2.75rem var(--space) 2.25rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-brand {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: -0.02em;
}

.footer-tag {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-nav a {
  color: rgba(234, 247, 245, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.footer-nav a:hover {
  color: var(--green-soft);
}

.footer-copy {
  margin: 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(234, 247, 245, 0.14);
  font-size: 0.82rem;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .feature-list {
    grid-template-columns: 1fr 1fr;
  }

  .solutions-grid,
  .android-grid {
    grid-template-columns: 1fr;
  }

  .solutions-visual,
  .android-visual {
    order: -1;
    min-height: 16rem;
  }

  .solutions-visual img,
  .android-visual img {
    min-height: 16rem;
    aspect-ratio: 16 / 10;
  }

  .pricing-steps {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: var(--space);
    left: var(--space);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    margin-top: 0.5rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 36px -16px rgba(23, 18, 63, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.5rem);
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 0.85rem 0.75rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0.5rem;
  }

  .site-nav a:last-child {
    border-bottom: none;
  }

  .nav-cta {
    margin: 0.35rem 0.25rem 0.25rem;
    text-align: center;
    justify-content: center;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 100vh;
    min-height: 100dvh;
  }

  .hero-content {
    padding-top: clamp(2rem, 8vh, 4rem);
    padding-bottom: 2.5rem;
  }

  .hero-media {
    background-position: 50% 12%;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }
}

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

  .hero-media,
  .hero-brand,
  .hero-title,
  .hero-lede,
  .hero-stats,
  .hero-actions,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
