:root {
  --green: #0f5132;
  --green-dark: #0a3823;
  --green-soft: #eaf5ef;
  --orange: #f5a623;
  --red: #c0392b;
  --text: #17231d;
  --muted: #5f6f66;
  --border: #dbe7df;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(15, 81, 50, 0.14);
}

/* Global reset */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--text);
  background:
    radial-gradient(
      circle at 80% 8%,
      rgba(15, 81, 50, 0.06),
      transparent 28%
    ),
    linear-gradient(180deg, #f7fbf8 0%, #ffffff 38%);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

/* Typography */

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  color: var(--green-dark);
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 18px;
  color: var(--green-dark);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  text-transform: uppercase;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.section-description {
  max-width: 720px;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* Header and navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  min-height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo {
  width: 46px;
  height: 46px;
  display: block;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 14px;
}

.brand strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1.1;
}

.brand span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
  text-decoration: none;
  transition: color 0.25s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  background: var(--green);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .nav-links a:hover {
    color: var(--green);
  }

  .nav-links a:hover::after {
    transform: scaleX(1);
  }
}

/* Buttons */

.button {
  min-height: 50px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.button.primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 14px 30px rgba(15, 81, 50, 0.2);
}

.button.secondary {
  color: var(--green);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 8px 22px rgba(15, 81, 50, 0.05);
}

@media (hover: hover) and (pointer: fine) {
  .button:hover {
    transform: translateY(-2px);
  }

  .button.primary:hover {
    background: var(--green-dark);
    box-shadow: 0 18px 36px rgba(15, 81, 50, 0.26);
  }

  .button.secondary:hover {
    border-color: rgba(15, 81, 50, 0.3);
    box-shadow: 0 12px 28px rgba(15, 81, 50, 0.1);
  }
}

/* Hero */

.hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 90px 0 70px;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  align-items: center;
  gap: 48px;
}

.hero-text {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.22rem;
  line-height: 1.7;
}

.hero-benefits {
  margin: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-benefits strong {
  padding: 0.5rem 0.8rem;
  color: var(--green);
  background: #eef7f0;
  font-weight: 800;
  border: 1px solid #cfe8d6;
  border-radius: 999px;
  font-size: 0.95rem;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.launch-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Hero screenshot collage */

.hero-card {
  position: relative;
  min-height: 510px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.hero-screenshots {
  position: relative;
  left: 25px;
  width: 100%;
  max-width: 510px;
  height: 470px;
  margin: 0 auto;
  isolation: isolate;
}

.hero-screenshots::before {
  content: "";
  position: absolute;
  inset: 60px 35px 55px;
  z-index: -1;
  background: rgba(15, 81, 50, 0.1);
  border-radius: 50%;
  filter: blur(55px);
}

.hero-screen {
  position: absolute;
  width: 178px;
  height: auto;
  max-height: none;
  object-fit: contain;
  background: var(--white);
  border: 1px solid rgba(23, 35, 29, 0.1);
  border-radius: 22px;
  box-shadow:
    0 30px 60px rgba(23, 35, 29, 0.16),
    0 8px 20px rgba(23, 35, 29, 0.08);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    filter 0.35s ease;
  will-change: transform;
}

.hero-screen-one {
  top: 42px;
  left: 2px;
  z-index: 1;
  transform: rotate(-7deg);
  filter: brightness(0.98);
}

.hero-screen-two {
  top: 0;
  left: 50%;
  z-index: 4;
  width: 215px;
  transform: translateX(-50%);
}

.hero-screen-three {
  top: 42px;
  right: -8px;
  z-index: 2;
  transform: rotate(7deg);
  filter: brightness(0.96);
}

@media (hover: hover) and (pointer: fine) {
  .hero-screen:hover {
    z-index: 20;
    filter: brightness(1);
    box-shadow:
      0 38px 75px rgba(23, 35, 29, 0.22),
      0 12px 26px rgba(23, 35, 29, 0.1);
  }

  .hero-screen-one:hover {
    transform: translateY(-10px) rotate(-7deg) scale(1.035);
  }

  .hero-screen-two:hover {
    transform: translateX(-50%) translateY(-10px) scale(1.035);
  }

  .hero-screen-three:hover {
    transform: translateY(-10px) rotate(7deg) scale(1.035);
  }
}

/* General sections */

.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 90px 0;
}

.section-heading {
  max-width: 900px;
  margin-bottom: 38px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

/* Why DateTrak */

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 22px;
}

.benefit-card {
  position: relative;
  min-height: 205px;
  padding: 38px 30px 30px;
  overflow: hidden;
  isolation: isolate;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(15, 81, 50, 0.12);
  border-radius: 26px;
  box-shadow:
    0 26px 60px rgba(15, 81, 50, 0.12),
    0 10px 24px rgba(23, 35, 29, 0.06);
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s ease,
    border-color 0.32s ease,
    background-color 0.32s ease;
}

.benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 28px;
  left: 28px;
  height: 5px;
  border-radius: 0 0 999px 999px;
  transition:
    right 0.32s ease,
    left 0.32s ease,
    height 0.32s ease;
}

.benefit-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -85px;
  z-index: -1;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  opacity: 0.08;
  transform: scale(0.9);
  transition:
    opacity 0.32s ease,
    transform 0.32s ease;
}

.benefit-red::before,
.benefit-red::after {
  background: var(--red);
}

.benefit-orange::before,
.benefit-orange::after {
  background: var(--orange);
}

.benefit-green::before,
.benefit-green::after {
  background: var(--green);
}

.benefit-grid h3 {
  margin-bottom: 14px;
  color: var(--green-dark);
  font-size: 1.25rem;
}

.benefit-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

@media (hover: hover) and (pointer: fine) {
  .benefit-card:hover {
    transform: translateY(-6px);
    background: var(--white);
    border-color: rgba(15, 81, 50, 0.22);
    box-shadow:
      0 34px 72px rgba(15, 81, 50, 0.16),
      0 14px 30px rgba(23, 35, 29, 0.08);
  }

  .benefit-card:hover::before {
    right: 20px;
    left: 20px;
    height: 6px;
  }

  .benefit-card:hover::after {
    opacity: 0.13;
    transform: scale(1);
  }
}

/* Features */

.features-section {
  position: relative;
}

.feature-columns {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 22px;
}

.feature-card {
  position: relative;
  padding: 28px;
  overflow: hidden;
  isolation: isolate;
  background: var(--white);
  border: 1px solid #dce8df;
  border-radius: 24px;
  box-shadow:
    0 20px 45px rgba(15, 81, 50, 0.09),
    0 6px 18px rgba(23, 35, 29, 0.04);
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s ease,
    border-color 0.32s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
}

.feature-organize::before {
  background: var(--red);
}

.feature-track::before {
  background: var(--orange);
}

.feature-protect::before {
  background: var(--green);
}

.feature-card::after {
  content: "";
  position: absolute;
  top: -90px;
  right: -80px;
  z-index: -1;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  opacity: 0.06;
  transition:
    opacity 0.32s ease,
    transform 0.32s ease;
}

.feature-organize::after {
  background: var(--red);
}

.feature-track::after {
  background: var(--orange);
}

.feature-protect::after {
  background: var(--green);
}

.feature-card-heading {
  min-height: 118px;
  margin-bottom: 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-card-heading > div {
  min-width: 0;
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  flex: 0 0 52px;
  align-items: center;
  justify-content: center;
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid var(--border);
  border-radius: 17px;
  transition:
    transform 0.32s ease,
    background-color 0.32s ease;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.feature-organize .feature-icon {
  color: var(--red);
  background: rgba(192, 57, 43, 0.08);
  border-color: rgba(192, 57, 43, 0.15);
}

.feature-track .feature-icon {
  color: #b56e00;
  background: rgba(245, 166, 35, 0.12);
  border-color: rgba(245, 166, 35, 0.22);
}

.feature-protect .feature-icon {
  color: var(--green);
  background: var(--green-soft);
  border-color: var(--border);
}

.feature-card h3 {
  margin: 2px 0 10px;
  color: var(--green-dark);
  font-size: 1.45rem;
}

.feature-card-heading p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.feature-screenshot-frame {
  height: 410px;
  margin-bottom: 25px;
  padding: 8px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(
      145deg,
      rgba(234, 245, 239, 0.85),
      rgba(255, 255, 255, 0.96)
    );
  border: 1px solid rgba(15, 81, 50, 0.12);
  border-radius: 20px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 12px 30px rgba(15, 81, 50, 0.08);
}

.feature-screenshot {
  width: auto;
  max-width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: top center;
  border: 1px solid rgba(23, 35, 29, 0.1);
  border-radius: 15px;
  background: var(--white);
  box-shadow:
    0 16px 32px rgba(23, 35, 29, 0.14),
    0 5px 14px rgba(23, 35, 29, 0.06);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.feature-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-card li {
  position: relative;
  margin-bottom: 13px;
  padding-left: 27px;
  color: #33443b;
  line-height: 1.5;
}

.feature-card li:last-child {
  margin-bottom: 0;
}

.feature-card li::before {
  content: "";
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--green);
  border: 4px solid var(--green-soft);
  border-radius: 50%;
}

.feature-organize li::before {
  background: var(--red);
  border-color: rgba(192, 57, 43, 0.11);
}

.feature-track li::before {
  background: var(--orange);
  border-color: rgba(245, 166, 35, 0.14);
}

.feature-protect li::before {
  background: var(--green);
  border-color: var(--green-soft);
}

@media (hover: hover) and (pointer: fine) {
  .feature-card:hover {
    transform: translateY(-7px);
    border-color: rgba(15, 81, 50, 0.2);
    box-shadow:
      0 32px 68px rgba(15, 81, 50, 0.14),
      0 12px 26px rgba(23, 35, 29, 0.06);
  }

  .feature-card:hover::after {
    opacity: 0.11;
    transform: scale(1.08);
  }

  .feature-card:hover .feature-icon {
    transform: translateY(-2px) rotate(-3deg);
  }

  .feature-card:hover .feature-screenshot {
    transform: translateY(-4px) scale(1.015);
    box-shadow:
      0 22px 42px rgba(23, 35, 29, 0.17),
      0 8px 18px rgba(23, 35, 29, 0.08);
  }
}

.feature-note {
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--green);
  text-align: center;
  font-weight: 800;
}

.feature-note span {
  width: 45px;
  height: 1px;
  background: rgba(15, 81, 50, 0.25);
}

/* Who It's For */

.audience-cards{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
    gap:24px;

    margin-top:50px;

}

.audience-card{

    background:white;

    border:1px solid rgba(15,81,50,.10);

    border-radius:24px;

    padding:30px;

    box-shadow:
        0 18px 45px rgba(15,81,50,.08),
        0 6px 18px rgba(23,35,29,.04);

    transition:
        transform .30s ease,
        box-shadow .30s ease,
        border-color .30s ease;

}

.audience-icon{

    font-size:2rem;

    margin-bottom:16px;

}

.audience-card h3{

    color:var(--green-dark);

    margin-bottom:12px;

}

.audience-card p{

    color:var(--muted);

    line-height:1.7;

    margin-bottom:18px;

}

.audience-card ul{

    list-style:none;

    padding:0;

    margin:0;

}

.audience-card li{

    position:relative;

    padding-left:22px;

    margin-bottom:10px;

}

.audience-card li::before{

    content:"";

    position:absolute;

    left:0;

    top:.5em;

    width:8px;

    height:8px;

    border-radius:50%;

    background:var(--green);

}

@media (hover:hover){

.audience-card:hover{

    transform:translateY(-6px);

    border-color:rgba(15,81,50,.18);

    box-shadow:
        0 30px 65px rgba(15,81,50,.13),
        0 10px 25px rgba(23,35,29,.06);

}

}

/* Green callout */
.callout {
  position: relative;
  width: min(1120px, calc(100% - 32px));
  margin-top: 48px;
  margin-bottom: 48px;
  padding: 58px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(
      circle at 88% 10%,
      rgba(255, 255, 255, 0.13),
      transparent 30%
    ),
    var(--green);
  border-radius: 36px;
  box-shadow: 0 26px 64px rgba(15, 81, 50, 0.2);
}

.callout h2,
.callout .eyebrow {
  color: var(--white);
}

.callout p {
  max-width: 780px;
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.7;
}

/* Business solutions */
.business-section {
  text-align: center;
}

.business-section .section-heading {
  margin-bottom: 0;
}

.business-actions {
  margin-top: 28px;
}

.business-actions .btn {
  margin: 0 8px;
}

/* Support */
.support {
  text-align: center;
}

.support p {
  max-width: 720px;
  margin: 0 auto 20px;
}

.support a {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
}

.support a:hover {
  text-decoration: underline;
}
/* Footer branding */
.footer-brand img,
.footer-logo {
  display: block;
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  object-fit: contain;
  border-radius: 12px;
}

/* Footer */
.footer {
  padding: 42px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  text-align: center;
  color: var(--gray);
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.footer-links a {
  color: var(--gray);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Business solutions */
.business-section {
  text-align: center;
}

.business-section .container,
.support-section .container {
  max-width: 1040px;
  margin: 0 auto;
}

.business-section h2 {
    max-width: 760px;
    margin: 0 auto 18px;
}

.support-section h2 {
    max-width: 920px;
    margin: 0 auto 18px;
}

.section-intro {
  max-width: 820px;
  margin: 0 auto;
  color: var(--gray);
  line-height: 1.7;
}

.business-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 920px;
  margin: 34px auto 26px;
}

.business-benefit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 88px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid rgba(15, 81, 50, 0.12);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(25, 48, 39, 0.08);
  color: var(--dark);
  font-weight: 700;
}

.business-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  color: var(--white);
  background: var(--green);
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 800;
}

.business-message {
  margin: 0 auto 22px;
  color: var(--gray);
}

.business-section .btn {
  display: inline-flex;
  margin-bottom: 14px;
}

.business-email {
  display: block;
  width: fit-content;
  margin: 0 auto;
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
}

.business-section .btn-primary {
    margin-bottom: 14px;
}

.business-email {
    line-height: 1.5;
}

.business-email:hover {
  text-decoration: underline;
}

/* Support */
.support-section {
  padding-top: 72px;
  padding-bottom: 88px;
  text-align: center;
  background: rgba(15, 81, 50, 0.035);
}

.support-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 28px;
  background: #0f5132;
  color: #ffffff !important;
  border: 2px solid #0f5132;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 81, 50, 0.18);
  transition: all 0.2s ease;
}

.support-btn:hover {
  background: #0b4128;
  border-color: #0b4128;
  color: #ffffff;
}

.support-section .section-intro {
  margin-bottom: 28px;
}

.support-section .btn {
  display: inline-flex;
}

/* Final Business Solutions and Support buttons */
.business-section .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 28px;
  color: #ffffff;
  background-color: #0f5132;
  border: 2px solid #0f5132;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(15, 81, 50, 0.18);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.business-section .btn-primary:hover {
  color: #ffffff;
  background-color: #0b4128;
  border-color: #0b4128;
  box-shadow: 0 14px 30px rgba(15, 81, 50, 0.24);
}

.support-section .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 28px;
  color: #0f5132;
  background-color: #ffffff;
  border: 2px solid rgba(15, 81, 50, 0.28);
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(15, 81, 50, 0.08);
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.support-section .btn-outline:hover {
  color: #ffffff;
  background-color: #0f5132;
  border-color: #0f5132;
  box-shadow: 0 12px 28px rgba(15, 81, 50, 0.18);
}

/* Responsive */
@media (max-width: 768px) {
  .callout {
    padding: 38px 28px;
    border-radius: 24px;
  }

  .business-actions .btn {
    display: block;
    margin: 10px auto;
    width: fit-content;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }
}

/* Tablet */

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

  .hero-content {
    max-width: 760px;
  }

  .hero-card {
    min-height: 500px;
  }

  .hero-screenshots {
    left: 0;
  }

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

  .benefit-card,
  .feature-card {
    min-height: auto;
  }

  .feature-card > p {
    min-height: auto;
  }
  .feature-card-heading {
    min-height: auto;
  }
  .feature-screenshot-frame {
    height: 520px;
  }
}

/* Mobile */

@media (max-width: 700px) {
  .nav {
    min-height: 72px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding: 58px 0 42px;
  }

  .hero-card {
    min-height: auto;
    padding: 24px 0 0;
  }

  .hero-screenshots {
    position: static;
    left: auto;
    width: 100%;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .hero-screenshots::before {
    display: none;
  }

  .hero-screen,
  .hero-screen-one,
  .hero-screen-two,
  .hero-screen-three {
    position: static;
    width: 100%;
    max-height: none;
    transform: none;
    filter: none;
    border-radius: 16px;
  }

  .hero-screen-two {
    grid-column: span 2;
    width: min(58%, 250px);
    margin: 0 auto;
    grid-row: 1;
  }

  .hero-screen-one,
  .hero-screen-three {
    grid-row: 2;
  }

  .section {
    padding: 54px 0;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .benefit-card,
  .feature-card {
    padding: 30px 24px 26px;
    border-radius: 22px;
  }

  .callout {
    padding: 38px 26px;
    border-radius: 28px;
  }

  .feature-note {
    gap: 10px;
    font-size: 0.92rem;
  }

  .feature-note span {
    width: 22px;
  }
  .feature-screenshot-frame {
    height: 460px;
    padding: 8px;
  }
  .feature-card-heading {
    gap: 14px;
  }
  .footer {
    display: block;
  }

  .footer div {
    margin-top: 14px;
  }
  .business-benefits {
  grid-template-columns: 1fr;
  gap: 14px;
}

.business-benefit {
  justify-content: flex-start;
  text-align: left;
}

.business-section h2,
.support-section h2 {
  font-size: 2rem;
}

.support-section {
  padding-top: 72px;
  padding-bottom: 72px;
}
}

/* Small mobile */

@media (max-width: 430px) {
  .brand span {
    display: none;
  }

  .hero-benefits {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
  .feature-screenshot-frame {
    height: 390px;
  }

  .audience-grid span {
    font-size: 0.9rem;
  }
}

@media (max-width: 720px) {
  .legal-page .nav {
    flex-wrap: wrap;
  }

  .legal-page .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 4px;
  }
}

/* Accessibility */

:focus-visible {
  outline: 3px solid rgba(245, 166, 35, 0.7);
  outline-offset: 4px;
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* =========================================================
   Legal pages
   ========================================================= */

.legal-page {
  background:
    radial-gradient(
      circle at 85% 8%,
      rgba(15, 81, 50, 0.08),
      transparent 28rem
    ),
    #f7faf8;
}

.legal-main {
  min-height: 70vh;
}

.legal-hero {
  padding: 88px 24px 58px;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(
      180deg,
      rgba(234, 245, 239, 0.72),
      rgba(255, 255, 255, 0.72)
    );
}

.legal-hero-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.legal-hero h1 {
  max-width: 760px;
  margin: 8px 0 18px;
  color: var(--green-dark);
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.legal-intro {
  max-width: 780px;
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 0.94rem;
}

.legal-meta span {
  display: inline-flex;
  gap: 5px;
}

.legal-meta strong {
  color: var(--text);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(190px, 245px) minmax(0, 780px);
  gap: 54px;
  align-items: start;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 90px;
}

.legal-toc {
  position: sticky;
  top: 110px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(15, 81, 50, 0.07);
}

.legal-toc-title {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-toc nav {
  display: grid;
  gap: 4px;
}

.legal-toc a {
  display: block;
  padding: 7px 8px;
  color: var(--muted);
  border-radius: 8px;
  font-size: 0.88rem;
  line-height: 1.35;
  text-decoration: none;
  transition:
    color 160ms ease,
    background-color 160ms ease;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
  color: var(--green-dark);
  background: var(--green-soft);
}

.legal-document {
  min-width: 0;
  padding: 44px clamp(24px, 5vw, 54px);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: 0 24px 64px rgba(15, 81, 50, 0.09);
}

.legal-section {
  scroll-margin-top: 110px;
}

.legal-section + .legal-section {
  margin-top: 48px;
  padding-top: 42px;
  border-top: 1px solid var(--border);
}

.legal-section h2 {
  margin: 0 0 20px;
  color: var(--green-dark);
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.legal-section h3 {
  margin: 30px 0 12px;
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.35;
}

.legal-section p {
  margin: 0 0 18px;
  color: #44544b;
  line-height: 1.78;
}

.legal-section ul {
  margin: 8px 0 22px;
  padding-left: 1.35rem;
}

.legal-section li {
  margin-bottom: 9px;
  padding-left: 4px;
  color: #44544b;
  line-height: 1.65;
}

.legal-section li::marker {
  color: var(--green);
}

.legal-note {
  margin: 26px 0;
  padding: 20px 22px;
  color: #365045;
  line-height: 1.65;
  background: var(--green-soft);
  border: 1px solid rgba(15, 81, 50, 0.14);
  border-left: 4px solid var(--green);
  border-radius: 14px;
}

.legal-note strong {
  color: var(--green-dark);
}

.legal-contact {
  padding: 22px;
  color: #44544b;
  font-style: normal;
  line-height: 1.75;
  background: #f7faf8;
  border: 1px solid var(--border);
  border-radius: 16px;
}

.legal-contact strong {
  color: var(--green-dark);
}

.legal-contact a,
.legal-document a {
  color: var(--green);
  font-weight: 700;
  text-underline-offset: 3px;
}

.legal-contact a:hover,
.legal-document a:hover {
  color: var(--green-dark);
}

.legal-back-link {
  margin-top: 54px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.legal-back-link a {
  text-decoration: none;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a[aria-current="page"] {
  color: var(--green);
  font-weight: 800;
}

@media (max-width: 900px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .legal-toc {
    position: static;
  }

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

@media (max-width: 640px) {
  .legal-hero {
    padding: 64px 20px 42px;
  }

  .legal-layout {
    width: min(100% - 24px, 1120px);
    padding: 28px 0 58px;
  }

  .legal-document {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .legal-toc {
    padding: 20px;
    border-radius: 16px;
  }

  .legal-toc nav {
    grid-template-columns: 1fr;
  }

  .legal-meta {
    display: grid;
    gap: 8px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Fix legal-page header branding */
.legal-page .site-header {
  width: 100%;
}

.legal-page .nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.legal-page .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  text-decoration: none;
}

.legal-page .brand-icon {
  display: block;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  object-fit: cover;
  border-radius: 12px;
}

.legal-page .brand-text {
  display: grid;
  gap: 1px;
}

.legal-page .brand-text strong {
  color: var(--green-dark);
  font-size: 1rem;
  line-height: 1.1;
}

.legal-page .brand-text span {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.25;
}

.legal-page .nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
}