:root {
  color-scheme: light;
  --ink: #1e2422;
  --soft-ink: #46504b;
  --muted: #737b75;
  --paper: #fbf7ef;
  --paper-deep: #f2eadc;
  --card: rgba(255, 255, 255, 0.86);
  --white: #ffffff;
  --line: rgba(61, 73, 67, 0.13);
  --sea: #477f89;
  --sea-soft: #dcebef;
  --sand: #d9bf95;
  --olive: #74836e;
  --clay: #b9775b;
  --shadow: 0 18px 55px rgba(71, 85, 79, 0.14);
  --small-shadow: 0 10px 30px rgba(71, 85, 79, 0.1);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% -8%, rgba(255, 255, 255, 0.9), transparent 28rem),
    linear-gradient(180deg, var(--paper), #f7f2e8 55%, #f4efe7);
  color: var(--ink);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
select,
textarea,
input {
  font: inherit;
}

button,
select {
  min-height: 42px;
}

button {
  border: 0;
  cursor: pointer;
  font-weight: 700;
}

main {
  margin: 0 auto;
  max-width: 1220px;
  padding: 18px clamp(14px, 3vw, 34px) 56px;
}

.topbar {
  align-items: center;
  backdrop-filter: blur(22px);
  background: rgba(251, 247, 239, 0.82);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 12px clamp(14px, 3vw, 34px);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: baseline;
  display: flex;
  gap: 7px;
  font-weight: 760;
  white-space: nowrap;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

nav {
  display: flex;
  flex: 1;
  gap: 4px;
  justify-content: center;
}

nav a {
  border-radius: 999px;
  color: var(--soft-ink);
  font-size: 0.92rem;
  padding: 9px 12px;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.72);
}

.icon-button,
.soft-button {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  padding: 0 15px;
}

.soft-button {
  background: var(--sea-soft);
  color: #315d64;
}

.journey-map {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 242, 232, 0.9) 46%, rgba(220, 235, 239, 0.72)),
    radial-gradient(circle at 82% 18%, rgba(71, 127, 137, 0.18), transparent 22rem);
  border-radius: 24px;
  box-shadow: var(--shadow);
  min-height: 410px;
  overflow: hidden;
  position: relative;
}

.journey-map__image {
  background: linear-gradient(145deg, rgba(71, 127, 137, 0.18), rgba(217, 191, 149, 0.2));
  border-radius: 999px;
  filter: blur(18px);
  height: 220px;
  opacity: 0.52;
  position: absolute;
  right: -42px;
  top: -58px;
  transform: rotate(-8deg);
  width: 360px;
}

.journey-map::after {
  background:
    linear-gradient(90deg, transparent, rgba(71, 127, 137, 0.2), transparent),
    linear-gradient(135deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0));
  border-radius: 999px;
  content: "";
  height: 88px;
  position: absolute;
  right: 44px;
  top: 106px;
  transform: rotate(-11deg);
  width: 310px;
}

.journey-map::before {
  background: rgba(217, 191, 149, 0.2);
  border-radius: 999px;
  bottom: -70px;
  content: "";
  height: 180px;
  left: -64px;
  position: absolute;
  width: 300px;
}

.journey-map__content {
  display: flex;
  flex-direction: column;
  inset: 0;
  justify-content: space-between;
  padding: clamp(22px, 5vw, 42px);
  position: relative;
  z-index: 1;
}

.section-kicker,
.map-legend {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.section-kicker span,
.map-legend span {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  color: var(--soft-ink);
  font-size: 0.84rem;
  padding: 7px 10px;
}

h1,
h2,
.login-panel h1,
.settings-panel h1 {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  font-weight: 520;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.1rem, 7vw, 6.4rem);
  line-height: 0.9;
  margin: 20px 0 22px;
  max-width: 720px;
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
  margin: 0 0 12px;
}

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

.eyebrow {
  color: var(--clay);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 9px;
  text-transform: uppercase;
}

.lead {
  color: var(--soft-ink);
  max-width: 620px;
}

.dot {
  border-radius: 999px;
  display: inline-block;
  height: 9px;
  margin-right: 7px;
  width: 9px;
}

.dot--visited {
  background: var(--olive);
}

.dot--current {
  background: var(--sea);
  box-shadow: 0 0 0 6px rgba(71, 127, 137, 0.18);
}

.dot--upcoming {
  background: #c7c0b2;
}

.route-map {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 22px;
  box-shadow: var(--small-shadow);
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(10, minmax(82px, 1fr));
  list-style: none;
  margin: 18px 0 0;
  overflow-x: auto;
  padding: 18px 14px 14px;
}

.route-map__stop {
  color: var(--muted);
  min-width: 82px;
  position: relative;
}

.route-map__stop::before {
  background: rgba(84, 99, 91, 0.18);
  content: "";
  height: 2px;
  left: 24px;
  position: absolute;
  right: -20px;
  top: 12px;
}

.route-map__stop:last-child::before {
  display: none;
}

.marker {
  background: #d4cbbd;
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  box-shadow: var(--small-shadow);
  display: block;
  height: 25px;
  position: relative;
  width: 25px;
  z-index: 1;
}

.is-visited .marker {
  background: var(--olive);
}

.is-visited .marker::after {
  color: var(--white);
  content: "✓";
  font-size: 0.75rem;
  font-weight: 900;
  left: 5px;
  position: absolute;
  top: 1px;
}

.is-current .marker {
  background: var(--sea);
  box-shadow: 0 0 0 8px rgba(71, 127, 137, 0.18), var(--small-shadow);
}

.route-map__label {
  display: block;
  font-size: 0.86rem;
  font-weight: 720;
  line-height: 1.18;
  margin-top: 8px;
  min-height: 2.1em;
  overflow-wrap: anywhere;
}

.is-current .route-map__label {
  color: var(--ink);
}

.today-card,
.split-section,
.while-here,
.coming-next,
.notes-section,
.travel-days,
.essentials-section,
.quiet-details {
  margin-top: 22px;
}

.today-card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 0.58fr);
  overflow: hidden;
}

.today-card__media {
  background-position: center;
  background-size: cover;
  min-height: 620px;
}

.today-card__body {
  padding: clamp(22px, 4vw, 42px);
}

.today-card__top {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 210px;
}

.destination-tools {
  display: grid;
  gap: 9px;
}

.destination-tools label,
.notes-grid span,
label {
  color: var(--soft-ink);
  font-size: 0.88rem;
  font-weight: 730;
}

select,
textarea,
input {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  padding: 10px 12px;
  width: 100%;
}

.gentle-note {
  background: #fff8e9;
  border: 1px solid rgba(217, 191, 149, 0.38);
  border-radius: 16px;
  color: #735c37;
  margin-top: 18px;
  padding: 13px 15px;
}

.at-a-glance {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 24px 0;
}

.at-a-glance article,
.suggestion-grid article,
.opportunity-grid article,
.route-checklist li,
.notes-grid label,
.timeline article,
.check-item,
.tip-grid article,
.travel-reminder {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 18px;
  box-shadow: var(--small-shadow);
}

.at-a-glance article {
  min-height: 116px;
  padding: 16px;
}

.at-a-glance span,
.suggestion-grid span {
  color: var(--muted);
  display: block;
  font-size: 0.82rem;
  font-weight: 760;
  margin-bottom: 9px;
}

.at-a-glance strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.35;
}

.suggestion-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.suggestion-grid article {
  min-height: 122px;
  padding: 18px;
}

.suggestion-grid article:first-child {
  background: linear-gradient(145deg, rgba(220, 235, 239, 0.76), rgba(255, 255, 255, 0.76));
}

.suggestion-grid p {
  color: var(--soft-ink);
}

.split-section,
.coming-next,
.notes-section,
.essentials-section,
.quiet-details {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(230px, 0.34fr) minmax(0, 0.66fr);
}

.route-checklist {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.route-checklist li {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 58px;
  padding: 13px 15px;
}

.route-checklist span {
  font-weight: 720;
}

.route-checklist strong {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  padding: 5px 9px;
}

.route-checklist .is-visited strong {
  background: #edf2e8;
  color: #556a4f;
}

.route-checklist .is-current {
  background: var(--sea-soft);
}

.route-checklist .is-current strong {
  background: var(--white);
  color: #315d64;
}

.while-here {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(242, 234, 220, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 24px;
  box-shadow: var(--small-shadow);
  padding: clamp(22px, 4vw, 36px);
}

.travel-days {
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 24px;
  box-shadow: var(--small-shadow);
  padding: clamp(22px, 4vw, 36px);
}

.timeline {
  display: grid;
  gap: 12px;
}

.timeline article {
  display: grid;
  gap: 16px;
  grid-template-columns: 104px minmax(0, 1fr);
  padding: 16px;
  position: relative;
}

.timeline article.is-past {
  opacity: 0.62;
}

.timeline article.is-today {
  background: linear-gradient(145deg, rgba(220, 235, 239, 0.88), rgba(255, 255, 255, 0.82));
}

.timeline time {
  color: var(--clay);
  font-size: 0.85rem;
  font-weight: 800;
}

.timeline h3 {
  font-size: 1.05rem;
  line-height: 1.2;
  margin: 0 0 5px;
}

.timeline span {
  color: #315d64;
  display: block;
  font-size: 0.92rem;
  line-height: 1.45;
  margin-top: 8px;
}

.essentials-section {
  align-items: start;
}

.essentials-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.check-item {
  align-items: start;
  cursor: pointer;
  display: grid;
  gap: 12px;
  grid-template-columns: 24px minmax(0, 1fr);
  min-height: 76px;
  padding: 15px;
}

.check-item input {
  accent-color: var(--sea);
  height: 20px;
  margin: 2px 0 0;
  width: 20px;
}

.check-item strong {
  color: var(--ink);
  display: block;
  line-height: 1.25;
}

.check-item small {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  margin-top: 5px;
}

.check-item.is-done {
  background: #edf2e8;
}

.check-item.is-done strong {
  color: #556a4f;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.install-button {
  margin-top: 18px;
}

.section-heading {
  margin-bottom: 18px;
}

.opportunity-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.opportunity-grid article {
  color: var(--soft-ink);
  font-weight: 720;
  min-height: 96px;
  padding: 16px;
}

.coming-next {
  align-items: center;
  background: #eef6f7;
  border: 1px solid rgba(71, 127, 137, 0.14);
  border-radius: 24px;
  box-shadow: var(--small-shadow);
  padding: clamp(22px, 4vw, 36px);
}

.coming-next h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.travel-reminder {
  color: #315d64;
  padding: 18px;
}

.notes-section {
  align-items: start;
}

.save-status {
  color: var(--sea);
  font-size: 0.88rem;
  font-weight: 750;
  min-height: 1.4em;
  padding-top: 12px;
}

.notes-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.notes-grid label {
  display: grid;
  gap: 10px;
  padding: 15px;
}

textarea {
  min-height: 84px;
  resize: vertical;
}

.quiet-details {
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  padding: 20px;
}

.quiet-details ul {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
  padding-left: 18px;
}

.trip-tips {
  align-items: start;
}

.tip-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tip-grid article {
  padding: 16px;
}

.tip-grid strong {
  display: block;
  margin-bottom: 6px;
}

.login-page {
  align-items: center;
  background:
    linear-gradient(180deg, rgba(32, 42, 39, 0.18), rgba(32, 42, 39, 0.42)),
    url("https://images.unsplash.com/photo-1533105079780-92b9be482077?auto=format&fit=crop&w=1800&q=85") center/cover;
  display: flex;
  min-height: 100vh;
  padding: 22px;
}

.login-panel,
.settings-panel {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  box-shadow: var(--shadow);
  margin: 0 auto;
  max-width: 430px;
  padding: 28px;
  width: 100%;
}

.settings-panel {
  margin-top: 64px;
}

.login-panel h1,
.settings-panel h1 {
  font-size: 2.5rem;
  line-height: 1;
  margin: 0 0 10px;
}

.login-form {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.login-form button {
  background: var(--ink);
  border-radius: 14px;
  color: var(--white);
  min-height: 46px;
  padding: 0 18px;
}

.alert,
.success {
  border-radius: 14px;
  margin: 14px 0;
  padding: 12px;
}

.alert {
  background: #fff0ec;
  color: #8f321e;
}

.success {
  background: #edf8ef;
  color: #28603a;
}

@media (max-width: 980px) {
  .today-card,
  .split-section,
  .coming-next,
  .notes-section,
  .essentials-section,
  .quiet-details {
    grid-template-columns: 1fr;
  }

  .today-card__media {
    min-height: 320px;
  }

  .today-card__top {
    grid-template-columns: 1fr;
  }

  .destination-tools {
    grid-template-columns: 1fr 1fr;
  }

  .opportunity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  main {
    padding-left: 12px;
    padding-right: 12px;
  }

  .topbar {
    align-items: stretch;
    flex-wrap: wrap;
  }

  nav {
    justify-content: flex-start;
    order: 3;
    overflow-x: auto;
    width: 100%;
  }

  .journey-map {
    border-radius: 20px;
    min-height: 460px;
  }

  .journey-map__content {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.52), rgba(255, 255, 255, 0.94));
  }

  .route-map {
    grid-template-columns: repeat(10, minmax(76px, 1fr));
  }

  .at-a-glance,
  .suggestion-grid,
  .route-checklist,
  .notes-grid,
  .essentials-grid,
  .tip-grid,
  .destination-tools,
  .opportunity-grid {
    grid-template-columns: 1fr;
  }

  .timeline article {
    grid-template-columns: 1fr;
  }

  .today-card,
  .while-here,
  .coming-next {
    border-radius: 20px;
  }

  .today-card__media {
    min-height: 240px;
  }
}
