﻿:root {
  --ink: #183c37;
  --muted: #607671;
  --paper: #f6f8f3;
  --white: #fff;
  --green: #23634e;
  --line: #dbe5dc;
  --lime: #ddecbd;
  --sand: #fff2d8;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--green);
  text-underline-offset: 4px;
}
button,
input,
select {
  font: inherit;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 12px;
  padding: 13px 20px;
  background: var(--green);
  color: white;
  font-weight: 650;
  cursor: pointer;
  text-decoration: none;
  min-height: 46px;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button.secondary,
.button.secondary {
  background: #e6eee5;
  color: var(--ink);
}
button.danger {
  background: #8b3a32;
}
button.link {
  padding: 8px;
  background: transparent;
  color: var(--green);
}
:focus-visible {
  outline: 3px solid #b98530;
  outline-offset: 4px;
}
header {
  max-width: 1160px;
  margin: auto;
  padding: 26px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.brand {
  font-weight: 780;
  font-size: 24px;
  letter-spacing: -1px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
}
.brand:before {
  content: "k";
  font-size: 24px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--green);
  color: var(--lime);
}
nav {
  display: flex;
  gap: 20px;
  align-items: center;
}
nav a {
  text-decoration: none;
  font-weight: 550;
  font-size: 14px;
}
.wrap {
  max-width: 1100px;
  margin: auto;
  padding: 32px 28px;
}
.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 72px;
  padding-top: 70px;
  padding-bottom: 80px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  font-weight: 750;
  color: var(--green);
}
h1 {
  font-size: clamp(36px, 5.7vw, 68px);
  line-height: 1.04;
  letter-spacing: -2.8px;
  margin: 20px 0 24px;
  font-weight: 720;
}
h2 {
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.16;
  letter-spacing: -1px;
  margin: 12px 0 20px;
}
h3 {
  font-size: 20px;
  letter-spacing: -0.4px;
  margin: 8px 0 12px;
}
p {
  line-height: 1.7;
  color: var(--muted);
  max-width: 640px;
}
.lead {
  font-size: 19px;
  line-height: 1.7;
}
.actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin: 24px 0;
}
.small {
  font-size: 13px;
}
.preview {
  background: #e4eddd;
  border-radius: 32px;
  padding: 32px;
  transform: rotate(2deg);
}
.preview > .card {
  transform: rotate(-2deg);
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 8px 30px #12312605;
}
.card + .card {
  margin-top: 16px;
}
.pill {
  display: inline-flex;
  border-radius: 30px;
  background: #eaf2df;
  color: #355338;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 650;
}
.pill.low {
  background: var(--sand);
  color: #6e5224;
}
.forecast-date {
  font-size: 36px;
  letter-spacing: -1.5px;
  margin: 18px 0 4px;
  color: var(--ink);
}
.timeline {
  display: flex;
  gap: 4px;
  margin: 22px 0;
}
.timeline i {
  height: 7px;
  background: #9dbb88;
  flex: 1;
  border-radius: 4px;
}
.timeline i:last-child {
  background: #ead1a0;
}
.note {
  border-left: 3px solid #91b784;
  padding: 10px 16px;
  background: #eff5e9;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.6;
}
.section {
  padding-top: 65px;
  padding-bottom: 65px;
  border-top: 1px solid var(--line);
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  font-size: 13px;
  font-weight: 750;
  background: var(--lime);
  display: grid;
  place-items: center;
  height: 32px;
  width: 32px;
  border-radius: 50%;
  margin-bottom: 24px;
}
.trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.cta {
  padding: 50px;
  background: var(--green);
  color: white;
  border-radius: 26px;
}
.cta p {
  color: #e0eadf;
}
.cta .button {
  background: var(--lime);
  color: var(--ink);
}
footer {
  max-width: 1100px;
  margin: 40px auto;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}
footer nav {
  flex-wrap: wrap;
}
.app-header {
  border-bottom: 1px solid var(--line);
  max-width: none;
  background: white;
}
.app-shell {
  max-width: 1040px;
  margin: auto;
  padding: 32px 24px;
}
.app-shell h1 {
  font-size: 38px;
  letter-spacing: -1.3px;
}
.screen-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}
.auth {
  max-width: 450px;
  margin: 30px auto;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin: 18px 0 8px;
}
input:not([type="checkbox"]),
select {
  width: 100%;
  padding: 13px;
  border: 1px solid #bdcdbf;
  border-radius: 10px;
  background: white;
  color: var(--ink);
  min-height: 48px;
}
input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
  vertical-align: middle;
  margin-right: 8px;
}
.check {
  font-weight: 400;
  line-height: 1.6;
}
.error {
  background: #fff0ec;
  color: #853b30;
  padding: 15px;
  border-radius: 12px;
  line-height: 1.5;
}
.success {
  background: #e8f1dd;
  color: #355538;
  padding: 15px;
  border-radius: 12px;
  line-height: 1.5;
}
.med-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.med-grid .card {
  margin: 0;
}
.metric {
  font-size: 30px;
  font-weight: 600;
  margin-top: 14px;
}
.empty {
  text-align: center;
  padding: 60px 24px;
}
.empty p {
  margin: 15px auto;
}
.detail {
  max-width: 700px;
}
.detail dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 20px 0;
}
.detail dt {
  color: var(--muted);
  font-size: 14px;
}
.detail dd {
  margin: 0;
  font-weight: 600;
}
.history-row {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}
.progress {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.progress span {
  height: 4px;
  background: var(--line);
  flex: 1;
  border-radius: 4px;
}
.progress .active {
  background: var(--green);
}
[hidden] {
  display: none !important;
}
.legal {
  max-width: 760px;
  padding-top: 20px;
}
.legal h1 {
  font-size: 44px;
}
.legal h2 {
  font-size: 24px;
  margin-top: 36px;
}
#message:empty {
  display: none;
}
#message {
  margin-bottom: 22px;
}
.notification {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.subtle {
  color: var(--muted);
}
@media (max-width: 760px) {
  header {
    padding: 20px;
  }
  header nav {
    gap: 14px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 25px;
    padding-bottom: 50px;
  }
  .hero h1 {
    max-width: 440px;
  }
  .preview {
    padding: 23px;
    max-width: 430px;
  }
  .grid,
  .trust,
  .med-grid {
    grid-template-columns: 1fr;
  }
  .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
  .section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
  .cta {
    padding: 28px;
  }
  .screen-head {
    align-items: flex-start;
  }
  .app-header {
    flex-wrap: wrap;
  }
  .app-header nav {
    width: 100%;
    justify-content: space-between;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .app-shell {
    padding: 22px 18px;
  }
  footer {
    flex-direction: column;
  }
  .brand {
    font-size: 22px;
  }
  h1 {
    letter-spacing: -1.8px;
  }
}
@media (max-width: 760px) {
  header:not(.app-header) nav a[href="#how"],
  header:not(.app-header) nav .button {
    display: none;
  }
}
