:root {
  color-scheme: light;
  --forest: #155b3a;
  --ink: #182d25;
  --muted: #5d6e63;
  --line: #e0e7de;
  --welcome: #f5f1e7;
  --paper: #fcfdfb;
  --lime: #d3ed9d;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.55 Inter,
    'Segoe UI',
    Arial,
    sans-serif;
}
a {
  color: var(--forest);
  text-underline-offset: 3px;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  color: white;
  background: var(--forest);
  border: 1px solid var(--forest);
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
button.secondary,
.button.secondary {
  color: var(--forest);
  background: white;
  border-color: var(--line);
}
button.danger {
  color: #a82a32;
  background: #fff;
  border-color: #e7c4c6;
}
:focus-visible {
  outline: 3px solid #498260;
  outline-offset: 4px;
}
.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 5;
  background: #fff;
  padding: 12px;
}
.skip:focus {
  top: 16px;
}
.top {
  max-width: 1180px;
  margin: auto;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  color: var(--forest);
  font-size: 32px;
  letter-spacing: -1.5px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.brand span {
  color: #80a04c;
}
.brand small {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.3px;
  border-left: 1px solid var(--line);
  padding-left: 12px;
  margin-left: 10px;
}
#session {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  flex-wrap: wrap;
}
.demo-banner {
  background: #edf4e4;
  padding: 9px 16px;
  text-align: center;
  color: #31452b;
  font-size: 14px;
}
#nav {
  max-width: 1132px;
  margin: 20px auto 0;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--line);
}
#nav a {
  padding: 9px 14px;
  border-radius: 10px;
  text-decoration: none;
  min-height: 44px;
}
#nav a[aria-current='page'] {
  background: var(--forest);
  color: #fff;
}
main {
  max-width: 1132px;
  margin: 32px auto;
  min-height: 55vh;
}
h1 {
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin: 12px 0 16px;
}
h2 {
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 12px;
}
h3 {
  font-size: 18px;
  margin: 0 0 10px;
}
p {
  margin: 0 0 16px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 14px;
  color: var(--forest);
  font-weight: 700;
  margin: 0 0 12px;
}
.muted,
.small {
  color: var(--muted);
}
.small {
  font-size: 14px;
}
.money {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.hero {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 20px 0 36px;
}
.hero-copy {
  padding: 28px;
  background: var(--welcome);
  border-radius: 18px;
}
.hero-copy h1 {
  max-width: 600px;
  font-size: clamp(30px, 4vw, 40px);
}
.hero-copy p {
  max-width: 560px;
}
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.chip {
  display: inline-block;
  background: #edf4e4;
  color: #355630;
  border: 1px solid #deead0;
  border-radius: 24px;
  font-size: 14px;
  padding: 4px 10px;
}
.chip.pending {
  background: #fff7db;
  color: #6c5212;
  border-color: #f0dfa2;
}
.chip.cancelled {
  background: #f5e9e9;
  color: #7f3039;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: 20px;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.stack {
  display: grid;
  gap: 20px;
}
.card {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 18px;
  padding: 24px;
  min-width: 0;
}
.card.green {
  background: #f1f7eb;
}
.card + h2 {
  margin-top: 32px;
}
.stat strong {
  display: block;
  font-size: 30px;
  letter-spacing: -0.8px;
}
.stat span {
  color: var(--muted);
  font-size: 14px;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.section {
  margin-top: 32px;
}
.section > h2 {
  margin-bottom: 20px;
}
.order-card {
  border-left: 4px solid #d3ed9d;
}
.order-card .money {
  font-size: 21px;
  font-weight: 600;
}
label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
}
input,
select,
textarea {
  display: block;
  width: 100%;
  padding: 11px 12px;
  background: #fff;
  border: 1px solid #bbcabe;
  border-radius: 10px;
  color: var(--ink);
  min-width: 0;
  min-height: 44px;
}
textarea {
  min-height: 88px;
  resize: vertical;
}
input[type='checkbox'] {
  width: 22px;
  min-height: 22px;
  height: 22px;
  display: inline-block;
  flex: none;
  accent-color: var(--forest);
}
.check {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 400;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 16px;
}
legend {
  font-weight: 700;
  margin: 0 0 12px;
}
.fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 0 16px;
}
details {
  border: 1px solid var(--line);
  padding: 18px 20px;
  border-radius: 12px;
  background: #fff;
  margin-top: 16px;
}
summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 44px;
}
details[open] > summary {
  margin-bottom: 16px;
}
.table-wrap {
  overflow-x: auto;
}
.table-wrap table {
  min-width: 600px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
th,
td {
  text-align: left;
  padding: 12px 8px;
  border-bottom: 1px solid var(--line);
}
th {
  color: var(--muted);
  font-weight: 600;
}
td .money {
  font-size: inherit;
}
.quote-line {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
.quote-line:first-child {
  padding-top: 0;
}
.quote-line .fields {
  grid-template-columns: 2fr 1fr 1fr 1fr;
}
.quote-line label {
  margin: 8px 0;
}
.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
}
.timeline li {
  padding: 12px 0 12px 18px;
  border-left: 2px solid #d3ed9d;
}
.timeline small {
  display: block;
  color: var(--muted);
}
.notice {
  padding: 16px;
  background: #f1f7eb;
  border: 1px solid #d5e5c8;
  border-radius: 12px;
  margin-bottom: 20px;
}
.notice.warn {
  background: #fff8e4;
  border-color: #eadeb5;
  color: #635224;
}
#message:not(:empty) {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  max-width: min(680px, calc(100% - 32px));
  background: #183d2a;
  color: #fff;
  padding: 16px 22px;
  border-radius: 12px;
  box-shadow: 0 8px 30px #0002;
  z-index: 10;
}
#message.error {
  background: #8c2730;
}
.photos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}
.photos img {
  max-width: 100%;
  border-radius: 10px;
}
.photos figure {
  margin: 0;
}
.photos figcaption {
  font-size: 14px;
  color: var(--muted);
}
.passport {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 14px;
  background: #f5f8f5;
  padding: 20px;
  border-radius: 12px;
}
footer {
  max-width: 1132px;
  margin: 48px auto 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
@media (max-width: 1180px) {
  main,
  #nav,
  footer {
    margin-left: 24px;
    margin-right: 24px;
  }
}
@media (max-width: 700px) {
  .top {
    padding: 16px;
    align-items: flex-start;
  }
  .brand {
    font-size: 26px;
  }
  .brand small {
    font-size: 16px;
  }
  #session {
    justify-content: flex-end;
  }
  .hero,
  .two {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hero {
    padding-top: 0;
  }
  .hero-copy {
    padding: 22px;
  }
  main,
  #nav,
  footer {
    margin-left: 16px;
    margin-right: 16px;
  }
  .card {
    padding: 20px;
  }
  #nav {
    gap: 4px;
  }
  #nav a {
    font-size: 14px;
    padding: 8px 10px;
  }
  .quote-line .fields {
    grid-template-columns: 1fr 1fr;
  }
  .quote-line label:first-child {
    grid-column: 1/-1;
  }
  .row {
    align-items: flex-start;
  }
}
@media (prefers-reduced-motion: no-preference) {
  button,
  a {
    transition: background 0.15s;
  }
}
