:root {
  color-scheme: light;
  --ink: #102019;
  --muted: #66736d;
  --line: rgba(16, 32, 25, 0.12);
  --paper: #f6f8f4;
  --panel: rgba(255, 255, 255, 0.82);
  --accent: #00a77f;
  --accent-dark: #006b55;
  --mint: #d9fff0;
  --gold: #d89526;
  --blue: #2e74b9;
  --steel: #394b59;
  --soft: #edf3ee;
  --shadow: 0 24px 80px rgba(16, 32, 25, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 167, 127, 0.22), transparent 28%),
    radial-gradient(circle at 88% 2%, rgba(216, 149, 38, 0.18), transparent 28%),
    linear-gradient(180deg, #f9fbf6 0%, #eef4ef 48%, #f8faf6 100%);
  min-height: 100vh;
}

a {
  color: inherit;
}

.page-shell {
  position: relative;
  overflow: hidden;
}

.page-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(16, 32, 25, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(16, 32, 25, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 72%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  margin: 14px clamp(14px, 3vw, 36px) 0;
  padding: 12px clamp(14px, 3vw, 26px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid var(--line);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 45px rgba(16, 32, 25, 0.08);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(0, 107, 85, 0.28);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  gap: 8px;
}

.site-nav a {
  padding: 10px 12px;
  color: #43524a;
  text-decoration: none;
  font-weight: 650;
  border-radius: 12px;
}

.site-nav a:hover {
  color: var(--ink);
  background: rgba(0, 167, 127, 0.1);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.82fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 100px);
  padding: clamp(52px, 8vw, 108px) clamp(18px, 5vw, 72px) clamp(42px, 5vw, 66px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.18;
}

.hero-text {
  max-width: 680px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.65;
}

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

.button,
.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button.primary,
.card-link {
  color: #fff;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  box-shadow: 0 12px 28px rgba(0, 107, 85, 0.22);
}

.button.secondary {
  color: var(--accent-dark);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.button:hover,
.card-link:hover {
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.hero-stats span {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 14px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.64);
}

.hero-stats strong {
  color: var(--ink);
  font-size: 21px;
}

.tool-board {
  position: relative;
  min-height: 460px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(65, 81, 92, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(65, 81, 92, 0.07) 1px, transparent 1px),
    rgba(255, 255, 255, 0.84);
  background-size: 28px 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.board-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
}

.board-top strong,
.board-top small {
  display: block;
}

.board-top small {
  margin-top: 4px;
  color: var(--muted);
}

.status-pill {
  padding: 8px 12px;
  color: var(--accent-dark);
  border-radius: 999px;
  background: var(--mint);
  font-weight: 850;
  font-size: 12px;
}

.board-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 132px 242px;
  gap: 14px;
}

.metric,
.chart,
.calc-lines {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 14px 30px rgba(16, 32, 25, 0.08);
}

.metric small {
  display: block;
  color: var(--muted);
  font-weight: 750;
}

.metric strong {
  display: block;
  margin-top: 18px;
  font-size: 28px;
}

.chart {
  display: flex;
  align-items: end;
  gap: 12px;
}

.chart span {
  flex: 1;
  min-height: 34px;
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(180deg, #f4bb4b, var(--gold));
}

.calc-lines {
  display: grid;
  align-content: center;
  gap: 18px;
}

.calc-lines span {
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--steel), rgba(65, 81, 92, 0.12));
}

.section {
  padding: clamp(44px, 6vw, 82px) clamp(18px, 5vw, 72px);
  position: relative;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.tool-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 340px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 18px 40px rgba(16, 32, 25, 0.08);
  backdrop-filter: blur(10px);
}

.tool-card.featured {
  background: linear-gradient(150deg, rgba(217, 255, 240, 0.92), rgba(255, 255, 255, 0.78));
  border-color: rgba(0, 167, 127, 0.26);
}

.tool-card::after {
  content: "";
  position: absolute;
  right: -44px;
  top: -44px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(0, 167, 127, 0.08);
}

.tool-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  color: #fff;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  font-size: 14px;
  font-weight: 900;
}

.tool-icon.amber {
  background: linear-gradient(135deg, #9b6411, var(--gold));
}

.tool-icon.blue {
  background: linear-gradient(135deg, #1b4d80, var(--blue));
}

.tool-icon.grey {
  color: var(--ink);
  background: linear-gradient(135deg, #dfe8e2, #ffffff);
}

.tool-card p {
  color: var(--muted);
  line-height: 1.58;
}

.tool-label {
  margin-bottom: 18px;
  color: var(--accent-dark) !important;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.tool-label.soon {
  color: #8c661d !important;
}

.card-link {
  width: fit-content;
  margin-top: 24px;
}

.card-link.muted {
  color: var(--ink);
  background: rgba(237, 243, 238, 0.95);
  box-shadow: none;
}

.workflow {
  border-top: 1px solid var(--line);
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.workflow-grid div {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.64);
}

.workflow-grid span {
  color: var(--accent-dark);
  font-weight: 900;
}

.workflow-grid strong {
  display: block;
  margin: 20px 0 10px;
  font-size: 20px;
}

.workflow-grid p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 70px);
  margin: 0 clamp(14px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
}

.copy-block {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.info-strip div {
  padding: 20px;
  border-left: 4px solid var(--accent);
  border-radius: 18px;
  background: rgba(237, 243, 238, 0.78);
}

.info-strip strong,
.info-strip span {
  display: block;
}

.info-strip span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.contact-box {
  max-width: 760px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 18px 40px rgba(16, 32, 25, 0.08);
}

.contact-box p {
  color: var(--muted);
  line-height: 1.6;
}

.contact-box p:last-child {
  margin-bottom: 0;
}

.contact-box a {
  color: var(--accent-dark);
  font-weight: 800;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 clamp(18px, 5vw, 72px) 58px;
}

.legal-links a {
  padding: 10px 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  text-decoration: none;
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.policy-page {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(42px, 7vw, 80px) 20px;
}

.policy-page h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.policy-page h2 {
  margin-top: 34px;
  font-size: 24px;
}

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

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

  .hero {
    min-height: auto;
  }

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

@media (max-width: 680px) {
  .site-header,
  .site-footer,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    overflow: visible;
  }

  .site-nav a {
    padding: 8px 10px;
  }

  h1 {
    font-size: 40px;
  }

  .tool-board {
    min-height: 340px;
  }

  .board-grid,
  .tools-grid,
  .info-strip,
  .workflow-grid {
    grid-template-columns: 1fr;
  }

  .board-grid {
    grid-template-rows: repeat(4, 100px);
  }
}
