@import url("https://use.typekit.net/nqe6jwf.css");
h1, h2, h3, h4 {
  font-family: mozilla-headline, sans-serif;
  font-weight: 100;
  font-style: normal;
}
h1 span, h2 span, h3 span, h4 span {
  font-family: inherit;
}

h1 {
  color: #ffcc54;
}

h5, h6 {
  font-family: ibm-plex-sans, sans-serif;
  font-weight: 200;
  font-style: normal;
}

body, p, a, li, span {
  font-family: ibm-plex-sans, sans-serif;
  font-weight: 300;
  font-style: normal;
}

body.proto-page {
  background-color: #000000;
}

.site-header {
  width: 100%;
  padding: 1rem 2rem;
  background-color: #1c1d1e;
  border-bottom: 1px solid #373a3b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.site-header__title {
  font-family: mozilla-headline, sans-serif;
  font-weight: 100;
  font-size: 1.25rem;
  color: #ffffff;
  letter-spacing: 0.02em;
  margin: 0;
}
.site-header__home {
  font-size: 0.8rem;
  font-weight: 400;
  padding: 0.3rem 0.85rem;
  flex-shrink: 0;
  color: #a9abac;
  border-color: #373a3b;
}
.site-header__home:hover {
  background-color: #373a3b;
  color: #ffffff;
  border-color: #373a3b;
}

.page {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1rem;
  gap: 2rem;
}

.proto-intro {
  width: 100%;
  padding: 1rem;
  background-color: #d4d5d6;
  border: 1px solid #a9abac;
  border-radius: 4px;
}
.proto-intro__heading {
  font-family: ibm-plex-sans, sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #535759;
  margin-bottom: 0.25rem;
}
.proto-intro p {
  font-family: ibm-plex-sans, sans-serif;
  font-size: 0.875rem;
  color: #1c1d1e;
  line-height: 1.6;
  margin: 0;
}

.trip-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.form-field__label {
  font-family: ibm-plex-sans, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #a9abac;
}
.form-field__input {
  font-family: ibm-plex-sans, sans-serif;
  font-size: 1rem;
  font-weight: 300;
  color: #1c1d1e;
  background-color: #ffffff;
  border: 1px solid #a9abac;
  border-radius: 4px;
  padding: 0.65rem 0.9rem;
  width: 100%;
  transition: border-color 0.12s;
}
.form-field__input::placeholder {
  color: #7e8183;
}
.form-field__input:focus {
  outline: none;
  border-color: #373a3b;
  background-color: #ffffff;
}
.form-field__slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: #a9abac;
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  margin: 0.5rem 0;
}
.form-field__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1c1d1e;
  border: 2px solid #000000;
  cursor: pointer;
}
.form-field__slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1c1d1e;
  border: 2px solid #000000;
  cursor: pointer;
}

.form-field__slider-readout {
  font-family: ibm-plex-sans, sans-serif;
  font-size: 1.5rem;
  font-weight: 300;
  color: #a9abac;
  text-align: center;
  display: block;
}

.btn {
  display: inline-block;
  font-family: ibm-plex-sans, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  padding: 0.7rem 1.75rem;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.12s, border-color 0.12s, color 0.12s;
  white-space: nowrap;
}
.btn--primary {
  background-color: #1c1d1e;
  color: #ffffff;
  border-color: #000000;
}
.btn--primary:hover {
  background-color: #000000;
  border-color: #000000;
}
.btn--secondary {
  background-color: #ffffff;
  color: #1c1d1e;
  border-color: #535759;
}
.btn--secondary:hover {
  background-color: #d4d5d6;
}
.btn:disabled, .btn--disabled {
  background-color: #d4d5d6;
  color: #a9abac;
  border-color: #d4d5d6;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-container {
  width: 100%;
  display: flex;
}

.choice-cards {
  display: flex;
  gap: 1rem;
  width: 100%;
}
@media (max-width: 480px) {
  .choice-cards {
    flex-direction: column;
  }
}

.choice-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem 1rem;
  background-color: #d4d5d6;
  border: 2px solid #a9abac;
  border-radius: 4px;
  text-decoration: none;
  color: #1c1d1e;
  font-family: ibm-plex-sans, sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.12s, border-color 0.12s;
}
.choice-card:hover {
  background-color: #d4d5d6;
  border-color: #373a3b;
  color: #a9abac;
}
.choice-card__icon {
  font-size: 2rem;
  line-height: 1;
  color: #a9abac;
}
.choice-card__label {
  font-weight: 500;
}

.map-placeholder {
  width: 100%;
  height: 280px;
  background-color: #d4d5d6;
  border: 2px dashed #7e8183;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7e8183;
  font-family: ibm-plex-sans, sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.route-cards {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

.route-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  background-color: #d4d5d6;
  border: 1px solid #a9abac;
  border-radius: 4px;
}
.route-card__info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.route-card__name {
  font-family: ibm-plex-sans, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1c1d1e;
}
.route-card__detail {
  font-family: ibm-plex-sans, sans-serif;
  font-size: 0.8rem;
  color: #535759;
}

.summary-card {
  width: 100%;
  background-color: #d4d5d6;
  border: 1px solid #a9abac;
  border-radius: 4px;
  overflow: hidden;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #d4d5d6;
}
.summary-row:last-child {
  border-bottom: none;
}
.summary-row__label {
  font-family: ibm-plex-sans, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #535759;
}
.summary-row__value {
  font-family: ibm-plex-sans, sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: #1c1d1e;
}

.page-heading {
  font-family: mozilla-headline, sans-serif;
  font-weight: 100;
  font-size: 1.75rem;
  color: #a9abac;
  width: 100%;
  margin: 0;
}

.site-footer {
  width: 100%;
  padding: 1rem 2rem;
  text-align: center;
  color: #a9abac;
  font-family: ibm-plex-sans, sans-serif;
  font-size: 0.75rem;
  border-top: 1px solid #d4d5d6;
  margin-top: auto;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  line-height: 1.6;
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  font-family: ibm-plex-sans, sans-serif;
  color: #222;
  background-color: #4D4D4D;
  height: 100%;
  min-height: 100vh;
  justify-content: flex-start;
  align-items: center;
}

.top-bar {
  display: flex;
  flex-direction: row;
  width: 100vw;
}
.top-bar .main-heading {
  color: #f5f5f5;
  padding: 1rem;
}
.top-bar .main-heading .highlight {
  color: #ffcc54;
}

.main-content {
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  width: 100%;
  padding: 4rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.main-content h3 {
  color: #333;
  font-size: 2rem;
  font-weight: 100;
  font-style: normal;
  margin-bottom: 1rem;
  text-align: center;
}

.footer {
  padding-top: 1rem;
  padding-bottom: 1rem;
  color: #a9abac;
}

.map-demo {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  margin-top: 1rem;
}

.page-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem 1rem;
  width: 100%;
}
.page-header h1 {
  font-size: 2.5rem;
  letter-spacing: -0.5px;
}
.page-header h1 span {
  color: #fff;
}
.page-header .subtitle {
  color: #a9abac;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.planner-card {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  width: 100%;
  padding: 2.5rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  margin-bottom: 1.5rem;
}
.planner-card h2 {
  font-size: 1.5rem;
  color: #333;
  margin-bottom: 1.5rem;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
}
.field-group label {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #555;
}
.field-group input,
.field-group select {
  font-family: ibm-plex-sans, sans-serif;
  font-size: 1rem;
  font-weight: 300;
  padding: 0.65rem 0.9rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fafafa;
  color: #222;
  transition: border-color 0.15s;
  width: 100%;
}
.field-group input:focus,
.field-group select:focus {
  outline: none;
  border-color: #ffcc54;
  background: #fff;
}

.field-row {
  display: flex;
  gap: 1rem;
}
.field-row .field-group {
  flex: 1;
}

.waypoints-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.waypoint-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.waypoint-item input {
  font-family: ibm-plex-sans, sans-serif;
  font-size: 1rem;
  font-weight: 300;
  padding: 0.55rem 0.9rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fafafa;
  color: #222;
  flex: 1;
}
.waypoint-item input:focus {
  outline: none;
  border-color: #ffcc54;
  background: #fff;
}

.btn-icon {
  background: none;
  border: 1px solid #ddd;
  border-radius: 4px;
  width: 2.2rem;
  height: 2.2rem;
  cursor: pointer;
  font-size: 1.1rem;
  color: #888;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.15s, color 0.15s;
}
.btn-icon:hover {
  border-color: #ffcc54;
  color: #333;
}

.add-waypoint-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: ibm-plex-sans, sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: #888;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.5rem;
  transition: color 0.15s;
}
.add-waypoint-btn:hover {
  color: #333;
}

.btn-primary {
  font-family: ibm-plex-sans, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  background-color: #ffcc54;
  color: #222;
  border: none;
  border-radius: 4px;
  padding: 0.75rem 2rem;
  cursor: pointer;
  align-self: flex-start;
  transition: background-color 0.15s;
}
.btn-primary:hover {
  background-color: #f0bb30;
}

.map-placeholder {
  width: 100%;
  height: 340px;
  background: #e8e8e8;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.9rem;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.map-placeholder svg {
  width: 2.5rem;
  height: 2.5rem;
  opacity: 0.4;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.summary-stat {
  background: #f7f7f7;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.summary-stat .stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #888;
}
.summary-stat .stat-value {
  font-size: 1.5rem;
  font-family: mozilla-headline, sans-serif;
  font-weight: 100;
  color: #222;
}
.summary-stat .stat-sub {
  font-size: 0.8rem;
  color: #aaa;
}

.itinerary {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.stop-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid #f0f0f0;
}
.stop-item:last-child {
  border-bottom: none;
}

.stop-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #ffcc54;
  border: 2px solid #f0bb30;
  flex-shrink: 0;
  margin-top: 0.35rem;
}
.stop-dot.origin {
  background: #4D4D4D;
  border-color: #333;
}
.stop-dot.destination {
  background: #e05b4b;
  border-color: #c94a3b;
}

.stop-info {
  display: flex;
  flex-direction: column;
}

.stop-name {
  font-size: 0.95rem;
  font-weight: 400;
  color: #222;
}

.stop-detail {
  font-size: 0.8rem;
  color: #aaa;
}

@media (max-width: 768px) {
  .main-content {
    padding: 1rem;
    margin: 1rem;
  }
  .main-content h3 {
    font-size: 1.5rem;
  }
}
@media (max-width: 480px) {
  .main-content h3 {
    font-size: 1.25rem;
  }
}
@media (max-width: 640px) {
  .planner-card {
    padding: 1.5rem 1rem;
  }
  .field-row {
    flex-direction: column;
    gap: 0;
  }
  .summary-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
