:root {
  --primary: #0c7a54;
  --primary-deep: #085c3f;
  --primary-soft: rgba(12, 122, 84, 0.1);
  --accent: #c9a227;
  --bg: #f3f7f4;
  --bg-2: #e8f2ec;
  --text: #14201a;
  --muted: #5d6f66;
  --card: #ffffff;
  --border: rgba(12, 122, 84, 0.12);
  --shadow: 0 18px 50px rgba(8, 50, 35, 0.08);
  --radius: 22px;
  --max: 880px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101614;
    --bg-2: #18241e;
    --text: #eef5f1;
    --muted: #9aaca2;
    --card: #1b2621;
    --border: rgba(120, 190, 155, 0.18);
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
    --primary-soft: rgba(70, 180, 130, 0.14);
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(12, 122, 84, 0.16), transparent 55%),
    radial-gradient(900px 420px at 100% 0%, rgba(201, 162, 39, 0.12), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  min-height: 100vh;
  line-height: 1.65;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  border-bottom: 1px solid var(--border);
}

.site-nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(12, 122, 84, 0.2);
}

.brand span {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  justify-content: flex-end;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  text-decoration: none;
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 20px 8px;
  text-align: center;
}

.hero-mark {
  width: 132px;
  height: 132px;
  margin: 0 auto 18px;
  border-radius: 32px;
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
}

.hero-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 10px;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero-lead {
  max-width: 640px;
  margin: 0 auto 8px;
  color: var(--muted);
  font-size: 1.05rem;
}

.updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 10px 0 0;
}

.purpose {
  max-width: var(--max);
  margin: 28px auto 8px;
  padding: 0 20px;
}

.purpose-card {
  background: linear-gradient(145deg, rgba(12, 122, 84, 0.08), rgba(201, 162, 39, 0.06));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
}

.purpose-card h2 {
  margin: 0 0 10px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  color: var(--primary-deep);
  letter-spacing: -0.02em;
}

@media (prefers-color-scheme: dark) {
  .purpose-card h2 { color: #7fd4ad; }
}

.purpose-card p {
  margin: 0 0 12px;
  color: var(--text);
}

.purpose-card p:last-child { margin-bottom: 0; }

.purpose-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.purpose-point {
  background: color-mix(in srgb, var(--card) 88%, transparent);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 14px 12px;
}

.purpose-point strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.92rem;
  color: var(--primary);
}

.purpose-point span {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.content {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 20px 48px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 16px;
  box-shadow: 0 8px 28px rgba(8, 50, 35, 0.04);
}

.card h2 {
  margin: 0 0 12px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.2rem;
  color: var(--primary);
  letter-spacing: -0.02em;
}

.card h3 {
  margin: 16px 0 8px;
  font-size: 1rem;
}

.card p,
.card li {
  color: var(--text);
}

.card p:last-child,
.card ul:last-child,
.card ol:last-child {
  margin-bottom: 0;
}

ul, ol { padding-left: 20px; }

.highlight {
  border-left: 4px solid var(--primary);
  padding-left: 14px;
  margin: 0 0 12px;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 16px 48px;
  margin: 0;
}

.steps li:last-child { padding-bottom: 0; }

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th, td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

th {
  color: var(--primary);
  font-weight: 700;
}

.contact-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.contact-row:first-of-type { padding-top: 0; }
.contact-row:last-child { border-bottom: none; padding-bottom: 0; }

.label {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.value {
  font-size: 1.05rem;
  font-weight: 700;
  word-break: break-word;
}

.cta {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 24px rgba(12, 122, 84, 0.25);
}

.cta:hover { filter: brightness(1.05); }

.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px 20px 48px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: center;
  margin-bottom: 12px;
}

.site-footer a {
  color: var(--muted);
  font-weight: 600;
}

.site-footer a:hover { color: var(--primary); }

/* App Screenshots carousel */
.shots {
  position: relative;
  margin: 48px 0 24px;
  padding: 56px 0 64px;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.shots::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 28, 20, 0.88), rgba(6, 20, 15, 0.92)),
    url("../images/showcase-bg.jpg") center / cover no-repeat;
  z-index: -1;
}

.shots-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

.shots-head {
  text-align: center;
  margin-bottom: 28px;
}

.shots-head h2 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.03em;
  font-weight: 700;
}

.shots-head p {
  margin: 10px auto 0;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.02rem;
}

.shots-viewport {
  position: relative;
}

.shots-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 8px 4px 20px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.shots-track::-webkit-scrollbar { display: none; }

.shot-card {
  flex: 0 0 min(280px, 78vw);
  scroll-snap-align: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 22px 18px 20px;
  backdrop-filter: blur(10px);
  text-align: center;
}

.shot-card h3 {
  margin: 0 0 8px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #fff;
}

.shot-card p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  line-height: 1.45;
  min-height: 2.7em;
}

.shot-phone {
  width: min(210px, 100%);
  margin: 0 auto;
  padding: 9px;
  border-radius: 34px;
  background: linear-gradient(160deg, #2a2f2c, #121512);
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.shot-phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  aspect-ratio: 9 / 19.5;
  background: #f3f7f4;
}

.shot-phone-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.shots-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(10, 24, 18, 0.65);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 3;
  backdrop-filter: blur(8px);
  transition: background 0.2s ease, transform 0.2s ease;
}

.shots-nav:hover {
  background: rgba(12, 122, 84, 0.85);
  transform: translateY(-50%) scale(1.04);
}

.shots-nav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shots-nav.prev { left: -4px; }
.shots-nav.next { right: -4px; }

.shots-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}

.shots-dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.shots-dots button.active {
  width: 22px;
  background: #4ecf95;
}

@media (max-width: 720px) {
  .purpose-points { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero-mark { width: 112px; height: 112px; border-radius: 28px; }
  .card { padding: 20px; }
  .shots { padding: 40px 0 48px; }
  .shots-nav { display: none; }
  .shot-card { flex-basis: min(260px, 84vw); }
}
