/* LimeTechSolution — visual design system */

:root {
  /* Color */
  --green-50: #f3faf3;
  --green-100: #e5f6e6;
  --green-200: #c8ebca;
  --green-400: #6ee564;
  --green-500: #3fce4a;
  --green-600: #259b32;
  --green-700: #1b6f26;
  --green-900: #0f2a14;

  --ink: #121816;
  --ink-soft: #2c3831;
  --muted: #5b6a61;
  --muted-soft: #7d8b83;
  --line: #dce6df;
  --line-strong: #c5d2c9;
  --surface: #ffffff;
  --bg: #f5f7f5;
  --bg-tint: #eef6ef;
  --footer: #0e1611;
  --footer-text: #c5d4ca;
  --footer-muted: #8fa195;
  --focus: #1f8a2f;
  --danger: #b42318;

  --accent: var(--green-400);
  --accent-hover: var(--green-500);
  --accent-ink: var(--green-900);

  /* Type */
  --font-sans: "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --fs-display: clamp(2.5rem, 5vw, 3.75rem);
  --fs-h1: clamp(2rem, 3.6vw, 3rem);
  --fs-h2: clamp(1.5rem, 2.4vw, 2rem);
  --fs-h3: clamp(1.125rem, 1.5vw, 1.35rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.875rem;
  --lh-tight: 1.15;
  --lh-body: 1.65;
  --tracking-tight: -0.02em;
  --tracking-wide: 0.06em;

  /* Layout */
  --container: 1120px;
  --container-narrow: 720px;
  --section-y: clamp(3.5rem, 6vw, 5.5rem);
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(18, 24, 22, 0.05);
  --shadow: 0 8px 24px rgba(18, 24, 22, 0.06);
  --header-h: 4.5rem;
  --ease: 160ms ease;
}

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

html {
  scroll-behavior: smooth;
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 0% -5%, rgba(110, 229, 100, 0.12), transparent 55%),
    radial-gradient(700px 360px at 100% 0%, rgba(37, 155, 50, 0.06), transparent 50%),
    var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

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

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--green-600);
  text-underline-offset: 0.16em;
}

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

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: var(--space-2);
  top: -6rem;
  z-index: 1000;
  background: var(--surface);
  color: var(--ink);
  padding: 0.7rem 1rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
}

.skip-link:focus {
  top: var(--space-2);
}

/* Layout */
.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 2rem, var(--container-narrow));
  margin-inline: auto;
}

.section {
  padding: var(--section-y) 0;
}

.section-sm {
  padding: calc(var(--section-y) * 0.65) 0;
}

.section-light {
  background: var(--surface);
}

.section-tint {
  background: linear-gradient(180deg, var(--bg-tint), #f7faf7);
}

.section-dark {
  background: linear-gradient(160deg, #101a13 0%, #183221 100%);
  color: #e8f2ea;
}

.section-dark .section-intro,
.section-dark .lead {
  color: #b7c9bc;
}

.grid {
  display: grid;
  gap: var(--space-3);
}

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

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

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
}

/* Typography */
.display,
h1,
h2,
h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: var(--tracking-tight);
  line-height: var(--lh-tight);
  color: var(--ink);
  margin: 0 0 var(--space-2);
}

.display {
  font-size: var(--fs-display);
}

h1,
.page-hero h1 {
  font-size: var(--fs-h1);
}

h2 {
  font-size: var(--fs-h2);
}

h3 {
  font-size: var(--fs-h3);
  letter-spacing: -0.01em;
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.cta-box h2 {
  color: #fff;
}

.eyebrow {
  margin: 0 0 var(--space-1);
  color: var(--green-600);
  font-weight: 700;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  font-size: 0.75rem;
}

.section-intro,
.lead {
  margin: 0;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.6;
}

.text-small,
.meta {
  font-size: var(--fs-small);
  color: var(--muted-soft);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.2rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.975rem;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: color-mix(in srgb, var(--accent) 65%, #1a6b24);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
  border-color: var(--green-600);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  background: var(--green-50);
  border-color: var(--green-200);
  color: var(--green-900);
}

.btn-text {
  background: transparent;
  color: var(--green-700);
  border-color: transparent;
  min-height: auto;
  padding: 0.35rem 0.15rem;
  box-shadow: none;
}

.btn-text:hover {
  color: var(--ink);
  text-decoration: underline;
}

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-text:focus-visible {
  outline-offset: 3px;
}

/* Cards */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: none;
  padding: 1.35rem;
  height: 100%;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.card:hover {
  border-color: var(--green-200);
  box-shadow: var(--shadow-sm);
}

.card-media {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-sm);
  background:
    linear-gradient(145deg, var(--green-100), #dfe9e2 55%, #cfdad3);
  margin: calc(var(--space-3) * -1) calc(var(--space-3) * -1) var(--space-3);
  border-bottom: 1px solid var(--line);
}

.card-title {
  margin-bottom: 0.4rem;
}

.card-text {
  color: var(--muted);
  margin: 0;
}

.card-meta {
  margin-top: var(--space-2);
  font-size: var(--fs-small);
  color: var(--muted-soft);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  position: relative;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.55rem;
  border-radius: 10px;
  background: linear-gradient(160deg, #16301c 0%, #214e2b 100%);
  border: 1px solid rgba(110, 229, 100, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand-mark img {
  width: 118px;
  height: auto;
}

.brand-text {
  display: none;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.02rem;
  line-height: 1.1;
}

.brand-text span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 0.15rem;
}

.brand-text--inverse {
  color: #fff;
}

.brand-text--inverse span {
  color: var(--footer-muted);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform var(--ease), background var(--ease);
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list > li > a,
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 0.75rem;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-family: inherit;
  cursor: pointer;
  transition: background var(--ease), color var(--ease);
}

.nav-list > li > a:hover,
.nav-dropdown-toggle:hover,
.nav-dropdown-toggle[aria-expanded="true"] {
  background: var(--green-50);
  color: var(--green-900);
}

.has-dropdown {
  position: relative;
}

.chevron {
  width: 0.38rem;
  height: 0.38rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.7;
}

.dropdown {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  min-width: 18rem;
  max-height: min(70vh, 28rem);
  overflow: auto;
  margin: 0;
  padding: 0.45rem;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  z-index: 30;
}

.dropdown a {
  display: block;
  padding: 0.6rem 0.75rem;
  color: var(--ink-soft);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.925rem;
}

.dropdown a:hover {
  background: var(--green-50);
  color: var(--green-900);
}

.header-cta {
  white-space: nowrap;
  min-height: 2.5rem;
  padding-inline: 1rem;
}

/* Page patterns */
.breadcrumbs {
  padding-top: var(--space-3);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted-soft);
  font-size: var(--fs-small);
}

.breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 0.45rem;
  color: var(--line-strong);
}

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

.breadcrumbs a:hover {
  color: var(--green-600);
}

.page-hero {
  padding: clamp(2.5rem, 5vw, 4rem) 0 var(--space-4);
  position: relative;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.page-hero h1 {
  max-width: 14ch;
}

.cta-box {
  background:
    radial-gradient(500px 200px at 10% 0%, rgba(110, 229, 100, 0.22), transparent 60%),
    linear-gradient(145deg, #102116 0%, #1a3a24 55%, #234f30 100%);
  color: #eef7f0;
  border-radius: 1.15rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border: 1px solid rgba(110, 229, 100, 0.18);
  box-shadow: var(--shadow);
}

.cta-box p {
  color: #b9cebd;
  max-width: 38rem;
}

.cta-box .btn-primary {
  margin-top: var(--space-3);
}

/* Footer */
.site-footer {
  background:
    radial-gradient(700px 280px at 0% 0%, rgba(110, 229, 100, 0.1), transparent 55%),
    var(--footer);
  color: var(--footer-text);
  padding: var(--section-y) 0 var(--space-4);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: var(--space-4);
}

.footer-brand .brand-mark {
  background: linear-gradient(160deg, #102116 0%, #1c3a25 100%);
}

.footer-brand p {
  margin-top: var(--space-2);
  color: var(--footer-muted);
  max-width: 28rem;
  font-size: 0.975rem;
}

.footer-heading {
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: var(--space-2);
}

.footer-list,
.social-list,
.legal-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-list li + li,
.social-list li + li {
  margin-top: 0.5rem;
}

.site-footer a {
  color: var(--footer-text);
  text-decoration: none;
  transition: color var(--ease);
}

.site-footer a:hover {
  color: var(--accent);
}

.social-list {
  display: flex;
  gap: 1rem;
  margin-top: var(--space-2);
}

.footer-bottom {
  margin-top: var(--space-5);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: space-between;
  align-items: center;
  color: var(--footer-muted);
  font-size: var(--fs-small);
}

.legal-list {
  display: flex;
  gap: 1rem;
}

/* Design preview helpers (template only) */
.ds-preview-label {
  margin: 0 0 var(--space-2);
  font-size: var(--fs-small);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

/* Responsive */
@media (min-width: 721px) {
  .brand-text {
    display: block;
  }
}

@media (max-width: 1100px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

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

  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: var(--space-2);
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-2);
    box-shadow: var(--shadow);
  }

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

  .nav-list {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-list > li > a,
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }

  .dropdown {
    position: static;
    max-height: none;
    box-shadow: none;
    margin-top: 0.35rem;
  }

  .header-cta {
    width: 100%;
  }
}

@media (max-width: 820px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

  .brand-text {
    display: none;
  }
}

@media (min-width: 1400px) {
  :root {
    --container: 1180px;
  }
}

/* ==========================================================================
   Homepage
   ========================================================================== */

.hero {
  padding: clamp(2rem, 4.5vw, 4rem) 0 clamp(1.75rem, 3vw, 2.5rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}

.hero-copy h1 {
  font-size: clamp(2.15rem, 4.2vw, 3.35rem);
  line-height: 1.12;
  max-width: 15ch;
  margin-bottom: 1.1rem;
}

.hero-copy .lead {
  max-width: 32rem;
  font-size: 1.05rem;
}

.hero-actions {
  margin-top: 1.75rem;
  gap: 0.7rem;
}

/* Hero mockup */
.hero-visual {
  position: relative;
  width: 100%;
  min-height: 19rem;
  isolation: isolate;
  max-width: 34rem;
  margin-inline: auto;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: -8% -4% -4%;
  background: radial-gradient(55% 50% at 58% 42%, rgba(110, 229, 100, 0.16), transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.mock-window {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(16, 33, 22, 0.1);
  overflow: hidden;
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.75rem;
  background: #f5f8f6;
  border-bottom: 1px solid var(--line);
}

.mock-bar > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
}

.mock-bar > span:first-child {
  background: var(--green-400);
}

.mock-url {
  flex: 1;
  height: 14px;
  margin-left: 0.45rem;
  border-radius: 999px;
  background: #e8eeea;
}

.mock-body {
  display: grid;
  grid-template-columns: 3.75rem minmax(0, 1fr);
  gap: 0.75rem;
  padding: 0.8rem;
}

.mock-side {
  display: grid;
  gap: 0.4rem;
  align-content: start;
}

.mock-side-item {
  height: 9px;
  border-radius: 4px;
  background: #eaefec;
}

.mock-side-item.is-active {
  background: var(--green-200);
}

.mock-main {
  display: grid;
  gap: 0.7rem;
}

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

.mock-stat {
  height: 2.25rem;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfdfb, #f2f6f3);
}

.mock-stat:first-child {
  background: linear-gradient(180deg, var(--green-100), #eaf6ea);
  border-color: var(--green-200);
}

.mock-chart {
  display: flex;
  align-items: flex-end;
  gap: 0.4rem;
  height: 5.5rem;
  padding: 0.5rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fbfdfb;
}

.mock-chart span {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 3px 3px 2px 2px;
  background: linear-gradient(180deg, var(--green-400), var(--green-600));
  opacity: 0.8;
}

.mock-chart span:nth-child(even) {
  background: linear-gradient(180deg, #cfe3d4, #b6d2bd);
}

.mock-rows {
  display: grid;
  gap: 0.35rem;
}

.mock-row {
  height: 8px;
  border-radius: 4px;
  background: #eef2f0;
}

.mock-row:nth-child(2) {
  width: 82%;
}

.mock-row:nth-child(3) {
  width: 60%;
}

.mock-phone {
  position: absolute;
  right: 0.25rem;
  bottom: -1.25rem;
  width: 7.5rem;
  padding: 0.45rem;
  border-radius: 18px;
  background: #101a13;
  border: 1px solid #24382a;
  box-shadow: 0 14px 28px rgba(16, 33, 22, 0.2);
}

.mock-phone-notch {
  width: 2.2rem;
  height: 4px;
  margin: 0 auto 0.35rem;
  border-radius: 999px;
  background: #2c4534;
}

.mock-phone-screen {
  display: grid;
  gap: 0.35rem;
  padding: 0.45rem;
  border-radius: 12px;
  background: var(--surface);
}

.mock-phone-hero {
  height: 2.7rem;
  border-radius: 7px;
  background: linear-gradient(150deg, var(--green-200), #dfeee2);
}

.mock-phone-line {
  height: 6px;
  border-radius: 4px;
  background: #eaefec;
}

.mock-phone-line.short {
  width: 62%;
}

.mock-phone-cta {
  height: 1.2rem;
  border-radius: 5px;
  background: var(--green-400);
}

.mock-code {
  position: absolute;
  left: 0;
  bottom: 1.1rem;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  background: #101a13;
  color: var(--green-400);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  border: 1px solid rgba(110, 229, 100, 0.28);
  box-shadow: 0 10px 20px rgba(16, 33, 22, 0.18);
}

/* Capability strip */
.capability-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
  list-style: none;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
}

.capability-strip li {
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}

/* Trustpilot proof */
.trustpilot-proof {
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.trustpilot-proof-inner {
  min-height: 5.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1rem;
}

.trustpilot-rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.7rem;
  color: var(--muted);
  font-size: 0.925rem;
}

.trustpilot-rating strong {
  color: var(--ink);
}

.trustpilot-stars {
  color: #00b67a;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  line-height: 1;
}

.trustpilot-proof a {
  flex: none;
  color: var(--ink);
  font-weight: 600;
  text-decoration-color: var(--green-400);
  text-underline-offset: 0.2em;
}

.trustpilot-proof a:hover {
  color: var(--green-700);
}

/* Section head with side CTA */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.section-head .section-intro {
  margin-top: 0.35rem;
}

.section-head-cta {
  flex-shrink: 0;
}

/* Service cards */
.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.work-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.service-card .card-title {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.service-card .card-text {
  font-size: 0.95rem;
}

.card-link {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green-700);
}

.card:hover .card-link {
  color: var(--green-600);
  text-decoration: underline;
}

.card:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

/* Why grid */
.why-grid {
  margin-top: clamp(1.75rem, 3vw, 2.5rem);
}

.why-item {
  padding: 0.15rem 0 0.15rem var(--space-3);
  border-left: 2px solid var(--green-200);
}

.why-item h3 {
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
}

.why-item p {
  color: var(--muted);
  margin: 0;
  font-size: 0.975rem;
}

/* Work cards */
.work-image {
  display: block;
  width: calc(100% + 2.7rem);
  max-width: none;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--green-50);
  margin: -1.35rem -1.35rem 1.1rem;
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) 0 0;
}

.work-card .card-meta {
  margin: 0 0 0.3rem;
  color: var(--green-700);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.7rem;
}

.work-card .card-title {
  font-size: 1.05rem;
  margin-bottom: 0;
}

/* Process */
.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-2);
  list-style: none;
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
  padding: 0;
}

.process-step {
  position: relative;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.035);
}

.process-num {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--green-400);
  margin-bottom: 0.55rem;
}

.process-step h3 {
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
}

.process-step p {
  color: #b7c9bc;
  margin: 0;
  font-size: 0.925rem;
}

/* Capabilities */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-2);
  list-style: none;
  margin: clamp(1.75rem, 3vw, 2.5rem) 0 0;
  padding: 0;
}

.capability-grid li {
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.9rem;
}

.capability-grid span {
  display: block;
  color: var(--ink);
  font-weight: 700;
  margin-bottom: 0.25rem;
  font-size: 0.975rem;
}

/* Branding split */
.brand-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.85fr);
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

.brand-actions {
  margin-top: var(--space-3);
}

.brand-image {
  width: 100%;
  max-width: 22rem;
  margin-inline: auto;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  object-fit: contain;
}

/* Homepage responsive */
@media (max-width: 1100px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

@media (max-width: 900px) {
  .hero {
    padding-top: 1.75rem;
  }

  .hero-grid,
  .brand-split {
    grid-template-columns: 1fr;
  }

  .hero-copy h1 {
    max-width: 18ch;
  }

  .hero-visual {
    min-height: 0;
    margin-top: 0.5rem;
    padding-bottom: 2rem;
    max-width: 28rem;
  }

  .mock-phone {
    right: 0.5rem;
    bottom: -0.75rem;
    width: 6.5rem;
  }

  .mock-code {
    left: 0.25rem;
    bottom: 0.75rem;
  }
}

@media (max-width: 768px) {
  .hero-actions .btn {
    flex: 1 1 10rem;
    white-space: normal;
    text-align: center;
  }

  .grid-4,
  .capability-grid,
  .process-list,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: flex-start;
  }

  .section-head-cta {
    width: 100%;
  }

  .why-item {
    padding-left: 1rem;
  }

  .brand-image {
    max-width: 16rem;
  }
}

@media (max-width: 430px) {
  .hero {
    padding: 1.5rem 0 1.25rem;
  }

  .hero-copy h1 {
    font-size: 1.95rem;
    max-width: none;
  }

  .hero-copy .lead {
    font-size: 1rem;
  }

  .hero-actions {
    margin-top: 1.35rem;
  }

  .hero-visual {
    display: none;
  }

  .capability-strip {
    margin-top: 1.5rem;
  }

  .trustpilot-proof-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.6rem;
    padding-block: 1.1rem;
  }

  .trustpilot-proof a {
    flex: auto;
  }

  .service-card,
  .work-card,
  .capability-grid li,
  .process-step {
    padding: 1.15rem;
  }

  .work-image {
    width: calc(100% + 2.3rem);
    margin: -1.15rem -1.15rem 1rem;
  }
}

/* ==========================================================================
   Services hub
   ========================================================================== */

.page-hero .hero-actions {
  margin-top: 1.5rem;
}

.service-groups {
  display: grid;
  gap: clamp(2rem, 4vw, 2.75rem);
}

.service-group-label {
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-soft);
}

.service-hub-grid {
  align-items: stretch;
}

.service-mark {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.9rem;
  border-radius: 0.7rem;
  background:
    linear-gradient(145deg, var(--green-100), var(--green-200));
  border: 1px solid var(--green-200);
  position: relative;
}

.service-mark::after {
  content: "";
  position: absolute;
  inset: 0.55rem;
  border-radius: 0.35rem;
  background: linear-gradient(160deg, var(--green-400), var(--green-600));
  opacity: 0.85;
}

.service-card:nth-child(2n) .service-mark::after {
  clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%);
}

.service-card:nth-child(3n) .service-mark::after {
  border-radius: 999px;
  inset: 0.6rem;
}

.service-card:nth-child(4n) .service-mark::after {
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

/* ==========================================================================
   Service page template (reusable)
   ========================================================================== */

.service-hero {
  padding: clamp(1.75rem, 4vw, 3.25rem) 0 clamp(1.5rem, 3vw, 2.25rem);
  overflow: hidden;
}

.service-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.service-hero-copy h1 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.12;
  max-width: 16ch;
  margin-bottom: 1rem;
}

.service-hero-copy .lead {
  max-width: 34rem;
}

.service-hero-visual {
  width: 100%;
  max-width: 28rem;
  margin-inline: auto;
}

.service-hero-visual.service-hero-visual--phone {
  max-width: 15rem;
}

.mock-phone--static {
  position: static;
  width: 100%;
  padding: 0.7rem;
  border-radius: 28px;
}

.mock-phone--static .mock-phone-notch {
  width: 3.4rem;
  height: 6px;
  margin-bottom: 0.55rem;
}

.mock-phone--static .mock-phone-screen {
  gap: 0.55rem;
  padding: 0.7rem;
  border-radius: 18px;
}

.mock-phone--static .mock-phone-hero {
  height: 5.5rem;
}

.mock-phone--static .mock-phone-line {
  height: 9px;
}

.mock-phone--static .mock-phone-cta {
  height: 2rem;
}

.service-overview p + p {
  margin-top: 0.9rem;
}

.service-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2);
}

.service-features li {
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.95rem;
}

.service-features strong {
  display: block;
  color: var(--ink);
  margin-bottom: 0.25rem;
  font-size: 1rem;
}

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

.faq-list {
  margin-top: var(--space-3);
  display: grid;
  gap: 0.65rem;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0.85rem 1rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ink);
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--green-600);
  font-weight: 700;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0.75rem 0 0.15rem;
  color: var(--muted);
}

.faq summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .service-process {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  .service-hero-copy h1 {
    max-width: 18ch;
  }

  .service-hero-visual {
    max-width: 24rem;
  }

  .service-features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .service-process {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .service-hero-visual {
    display: none;
  }

  .service-hero-copy h1 {
    max-width: none;
    font-size: 1.9rem;
  }
}

/* Legal documents */
.legal-hero {
  padding: clamp(2.5rem, 5vw, 4rem) 0 1.5rem;
  background:
    radial-gradient(ellipse 60% 80% at 100% 0%, rgba(124, 185, 74, 0.12), transparent 55%),
    linear-gradient(180deg, #f7faf7 0%, var(--surface) 100%);
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  margin: 0.35rem 0 0.75rem;
  max-width: 18ch;
}

.legal-hero .lead {
  max-width: 38rem;
  margin-bottom: 1.25rem;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--fs-small);
}

.legal-meta strong {
  color: var(--ink);
  font-weight: 600;
}

.legal-doc {
  padding-block: clamp(2rem, 4vw, 3.25rem);
}

.legal-doc h2 {
  margin: 2.25rem 0 0.75rem;
  font-size: clamp(1.2rem, 1.5vw, 1.4rem);
  scroll-margin-top: 5rem;
}

.legal-doc h2:first-child {
  margin-top: 0;
}

.legal-doc h3 {
  margin: 1.25rem 0 0.5rem;
  font-size: 1.05rem;
}

.legal-doc p,
.legal-doc li {
  color: var(--muted);
  line-height: 1.7;
}

.legal-doc p + p {
  margin-top: 0.85rem;
}

.legal-doc ul {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
}

.legal-doc li + li {
  margin-top: 0.4rem;
}

.legal-doc a {
  color: var(--green-700, #2f6b2f);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.legal-doc a:hover {
  color: var(--ink);
}

.legal-contact {
  margin-top: 2.5rem !important;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--muted);
}

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

/* Contact page */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: var(--space-4);
  align-items: start;
}

.contact-panel {
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.contact-panel h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
}

.contact-panel > p {
  color: var(--muted);
  margin-bottom: var(--space-3);
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field--full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

.field .optional {
  font-weight: 400;
  color: var(--muted-soft, var(--muted));
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.field textarea {
  min-height: 8.5rem;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--green-200);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(63, 206, 74, 0.18);
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: var(--space-3);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-small);
}

.form-alert {
  margin-bottom: var(--space-3);
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  border: 1px solid var(--green-200);
  background: var(--green-50);
  color: var(--green-900);
  font-size: 0.95rem;
}

.form-alert--error {
  border-color: #f0c9c9;
  background: #fdf3f3;
  color: #7a2222;
}

.contact-methods {
  display: grid;
  gap: 0.85rem;
}

.contact-method {
  display: flex;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--ease), transform var(--ease);
}

a.contact-method:hover {
  border-color: var(--green-200);
  transform: translateY(-1px);
}

.contact-method .cm-mark {
  flex: none;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.contact-method h3 {
  margin: 0 0 0.15rem;
  font-size: 0.95rem;
}

.contact-method p {
  margin: 0;
  color: var(--muted);
  font-size: 0.925rem;
  overflow-wrap: anywhere;
}

.contact-aside-note {
  margin-top: var(--space-3);
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--green-400);
  background: var(--green-50);
  border-radius: 0 10px 10px 0;
  color: var(--muted);
  font-size: 0.925rem;
}

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

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

/* Products */
.product-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(500px 220px at 100% 0%, rgba(63, 206, 74, 0.12), transparent 60%),
    var(--surface);
}

.product-kicker {
  margin: 0 0 0.45rem;
  color: var(--green-700);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-feature-copy h3 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

.product-feature-copy > p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.product-points {
  list-style: none;
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1.35rem;
  padding: 0;
}

.product-points li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ink-soft);
  font-size: 0.975rem;
}

.product-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green-500);
}

.product-feature-visual {
  display: grid;
  gap: 1rem;
}

.product-mark {
  display: grid;
  gap: 0.15rem;
  justify-items: start;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
}

.product-mark-badge {
  display: inline-grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.45rem;
  border-radius: 9px;
  background: linear-gradient(160deg, #102116 0%, #1c3a25 100%);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
}

.product-mark strong {
  color: var(--ink);
  font-size: 1.05rem;
}

.product-mark span:last-child {
  color: var(--muted);
  font-size: 0.875rem;
}

.product-mock {
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0f1712;
  box-shadow: 0 16px 30px rgba(16, 33, 22, 0.16);
}

.product-mock-top {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.product-mock-top span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: rgba(197, 212, 202, 0.35);
}

.product-mock-row {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.85rem;
}

.product-mock-avatar {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: linear-gradient(140deg, #3fce4a, #1f8a2f);
  flex: none;
}

.product-mock-avatar.alt {
  background: linear-gradient(140deg, #6ee564, #2ea43c);
}

.product-mock-lines {
  flex: 1;
  display: grid;
  gap: 0.35rem;
}

.product-mock-lines span {
  display: block;
  height: 0.45rem;
  border-radius: 999px;
  background: rgba(197, 212, 202, 0.22);
}

.product-mock-lines .short {
  width: 55%;
}

.product-mock-pill {
  margin-top: 0.35rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  background: rgba(63, 206, 74, 0.14);
  color: #b7f0b4;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

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