:root {
  --ink: #172e37;
  --green: #1d5c50;
  --paper: #f7f6f0;
  --line: #d6dcd5;
  --muted: #53676b;
  --gold: #d5aa66;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  font-size: 16px;
  line-height: 1.6;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 5%;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
a {
  color: var(--green);
  text-underline-offset: 4px;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 650;
  text-decoration: none;
  color: var(--ink);
  font-size: 18px;
}
.brand b {
  font-size: 12px;
  border: 1px solid var(--line);
  padding: 1px 5px;
}
.mark {
  background: var(--green);
  color: white;
  padding: 6px;
  font-size: 15px;
}
nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
nav a {
  text-decoration: none;
  font-size: 14px;
}
button,
.button,
.file-button {
  display: inline-block;
  border: 1px solid var(--green);
  background: var(--green);
  color: white;
  padding: 11px 18px;
  border-radius: 4px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}
button:hover,
.button:hover {
  background: #16483f;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}
section {
  padding: 64px 5%;
  max-width: 1500px;
  margin: auto;
}
.hero {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 80px;
  padding-top: 76px;
  padding-bottom: 70px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 750;
  color: var(--green);
  margin: 0 0 18px;
}
h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -1px;
  font-weight: 500;
  margin: 0 0 22px;
}
h1 {
  font-family: Georgia, serif;
  font-size: clamp(40px, 4.7vw, 69px);
}
h2 {
  font-family: Georgia, serif;
  font-size: 36px;
}
h3 {
  font-size: 24px;
}
.lead {
  font-size: 18px;
  max-width: 540px;
  color: var(--muted);
}
.small,
small {
  font-size: 12px;
  color: var(--muted);
}
.actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 24px 0;
}
.textlink {
  font-size: 14px;
  font-weight: 600;
}
.paper {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 12px 12px 0 #e5e9e1;
  padding: 28px;
  transform: rotate(1deg);
}
.paper h2 {
  font-size: 29px;
  margin-top: 30px;
}
.paper-top {
  font-size: 10px;
  letter-spacing: 1.2px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.paper-top span:last-child {
  margin-left: auto;
  color: var(--muted);
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.sample-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.sample-row strong {
  font-size: 10px;
  background: #f5e7cf;
  padding: 3px 7px;
  font-weight: 500;
}
.sample-row strong.green {
  background: #dfede5;
}
.paper p {
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 21px;
}
.paper-foot {
  font-size: 9px;
  letter-spacing: 1.8px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: 24px;
  padding-bottom: 24px;
  gap: 20px;
  font-size: 12px;
  color: var(--muted);
}
.strip b {
  display: block;
  color: var(--ink);
  font-size: 20px;
  font-weight: 550;
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 20px;
}
.section-head h2 {
  margin-bottom: 0;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 600;
}
input,
select,
textarea {
  display: block;
  font: inherit;
  color: var(--ink);
  border: 1px solid #9daea9;
  background: #fff;
  border-radius: 3px;
  padding: 10px;
  margin: 7px 0 12px;
  width: 100%;
}
input[type="checkbox"] {
  width: auto;
  display: inline;
  margin: 0 10px 0 0;
}
.muted {
  color: var(--muted);
  font-size: 14px;
  max-width: 950px;
}
.route-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.route-card {
  background: white;
  border: 1px solid var(--line);
  padding: 22px;
  display: flex;
  flex-direction: column;
  align-items: start;
}
.route-card h3 {
  font-size: 18px;
  letter-spacing: -0.3px;
  line-height: 1.3;
  margin: 15px 0 8px;
}
.route-card p {
  font-size: 13px;
  color: var(--muted);
}
.route-card a {
  margin-top: auto;
  font-size: 13px;
}
.route-card .choose {
  background: transparent;
  color: var(--green);
  margin-top: 15px;
  padding: 7px 10px;
  font-size: 12px;
}
.tag {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.7px;
  color: var(--green);
  border: 1px solid var(--line);
  padding: 5px 8px;
  display: inline-block;
}
.pricing {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  background: #e8eee7;
}
.pricing > div {
  padding: 20px 0;
}
.pricing article {
  padding: 28px;
  background: var(--paper);
  border: 1px solid #c4d0c3;
}
.pricing p {
  font-size: 14px;
}
.pricing h3 {
  margin-top: 24px;
}
.pricing .price {
  font-size: 40px;
  margin: 10px 0 20px;
}
.price small {
  font-size: 14px;
}
.pricing article > small {
  display: block;
  margin-top: 14px;
}
.toolbar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 22px 0;
}
.toolbar button,
.file-button {
  background: white;
  color: var(--green);
  padding: 8px 11px;
  font-size: 12px;
}
.file-button input {
  display: none;
}
.notice {
  padding: 13px 17px;
  background: #e7eee8;
  border-left: 3px solid var(--green);
  font-size: 13px;
}
.tabs {
  display: flex;
  border-bottom: 1px solid var(--line);
  gap: 8px;
  margin: 28px 0;
}
.tabs button {
  background: transparent;
  border: none;
  border-radius: 0;
  color: var(--muted);
  padding: 14px;
}
.tabs .selected {
  color: var(--green);
  border-bottom: 3px solid var(--green);
}
.record {
  border: 1px solid var(--line);
  background: white;
  padding: 22px;
  margin: 15px 0;
}
.record-fields {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.record .remove {
  background: transparent;
  color: #8c3333;
  border-color: #b48787;
  padding: 7px 10px;
  font-size: 12px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 25px 0;
}
.metrics div {
  border: 1px solid var(--line);
  padding: 18px;
  font-size: 12px;
}
.metrics strong {
  font-size: 27px;
  display: block;
}
.boundaries {
  background: var(--ink);
  color: white;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 25px;
}
.boundaries .eyebrow,
.boundaries a {
  color: #c6dacc;
}
.boundaries p {
  font-size: 14px;
}
.boundaries h2 {
  font-size: 30px;
}
.boundaries > div:last-child {
  grid-column: 2;
  font-size: 13px;
}
#terms {
  max-width: 1100px;
}
#terms p {
  font-size: 13px;
  color: var(--muted);
}
footer {
  padding: 28px 5%;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 32px;
  max-width: 500px;
  width: 90%;
  color: var(--ink);
  background: var(--paper);
}
dialog::backdrop {
  background: #142d38a8;
}
dialog h2 {
  font-size: 29px;
}
.close {
  float: right;
  background: transparent;
  color: var(--ink);
  border: none;
  padding: 0;
  font-size: 24px;
}
.checkbox {
  display: flex;
  align-items: start;
  font-weight: 400;
}
#message {
  font-size: 14px;
  color: #824600;
  min-height: 24px;
}
#indicators ul {
  font-size: 13px;
}
#workspace {
  border-bottom: 1px solid var(--line);
}
@media (max-width: 850px) {
  .hero {
    gap: 35px;
    grid-template-columns: 1fr;
  }
  .paper {
    max-width: 550px;
  }
  .route-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing {
    grid-template-columns: 1fr;
  }
  .section-head {
    align-items: start;
    flex-direction: column;
  }
  .boundaries {
    grid-template-columns: 1fr;
  }
  .boundaries > div:last-child {
    grid-column: auto;
  }
}
@media (max-width: 560px) {
  header {
    align-items: start;
    gap: 20px;
    flex-direction: column;
  }
  nav {
    gap: 18px;
  }
  .hero {
    padding-top: 40px;
  }
  .strip {
    grid-template-columns: repeat(2, 1fr);
  }
  section {
    padding: 40px 5%;
  }
  .route-grid {
    grid-template-columns: 1fr;
  }
  .record-fields {
    grid-template-columns: 1fr;
  }
  .metrics {
    grid-template-columns: 1fr;
  }
  .tabs button {
    font-size: 12px;
    padding: 10px;
  }
  .paper {
    transform: none;
  }
  footer {
    align-items: start;
    flex-direction: column;
  }
  h2 {
    font-size: 30px;
  }
}
