/* The journal's public cover. Shared support and policy pages keep site.css. */
.home {
  --atlas-dark: #102832;
  --gutter: clamp(20px, 5.4vw, 86px);
  background: #fff;
  overflow-wrap: break-word;
}
.home-wrap, .home .site-header, .home .site-footer {
  width: min(calc(100% - var(--gutter) * 2), 1220px);
  margin-inline: auto;
}
.home .site-header {
  min-height: 80px;
  gap: 16px;
  position: relative;
  z-index: 3;
}
.home .site-header .wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.85rem;
  letter-spacing: -.04em;
}
.home .wordmark img { border-radius: 7px; }
.home .site-nav { gap: clamp(12px, 2.5vw, 36px); }
.home .site-nav > a, .home .language-menu summary { font-size: .9375rem; }
.home .site-nav > a:hover, .home .site-footer a:hover { text-decoration: underline; }
.home .language-menu summary { min-height: 44px; padding-inline: 12px; }
.home .language-menu { border: 1px solid var(--line); border-radius: 9px; }
.home h1, .home h2, .home h3 { letter-spacing: -.04em; text-wrap: balance; }
.home h2 { font-size: clamp(2.25rem, 4vw, 3.85rem); line-height: 1.04; }
.home h3 { font-size: clamp(1.65rem, 2.75vw, 2.75rem); line-height: 1.08; }

.departure-board {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  width: min(calc(100% - clamp(20px, 3.4vw, 56px)), 1550px);
  margin-inline: auto;
  border-radius: 24px;
  background: var(--atlas-dark);
  color: white;
}
.window-view, .window-view img, .departure-board::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.window-view { z-index: -2; }
.window-view img { object-fit: cover; object-position: center 54%; }
.departure-board::before {
  content: "";
  z-index: -1;
  background: linear-gradient(90deg, rgb(5 21 29 / 87%) 0%, rgb(6 23 31 / 74%) 30%, rgb(8 26 34 / 42%) 56%, rgb(6 23 31 / 3%) 86%);
}
.departure-layout {
  width: min(100%, 1344px);
  margin-inline: auto;
  padding: clamp(32px, 3.2vw, 52px) clamp(30px, 5.2vw, 90px);
  min-height: clamp(540px, 42vw, 645px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(205px, .8fr);
  gap: clamp(24px, 3.5vw, 64px);
  align-items: center;
}
.departure-copy { padding-block: 20px; }
.departure-copy h1 {
  font-size: clamp(3.2rem, 5.8vw, 5.8rem);
  line-height: 1;
  max-width: 13ch;
  text-wrap: initial;
}
.departure-copy h1 span { color: #c5ecdb; }
.departure-copy > p {
  font-size: clamp(1.06rem, 1.45vw, 1.32rem);
  line-height: 1.52;
  margin-top: 24px;
  max-width: 42ch;
  color: #f1f5f4;
}
.download-line { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 20px; margin-top: 33px; }
.download-line > span { font-size: .92rem; color: #f4f8f6; }
.home .app-store-badge { border-radius: 9px; }
.home .app-store-badge:focus-visible, .home .last-call a:focus-visible { outline-color: #b8f2d9; }
.home .app-store-badge img { height: 56px; }
.phone-preview {
  display: grid;
  justify-items: center;
  justify-self: center;
  width: min(100%, clamp(210px, 17.8vw, 280px));
}
.phone-shell {
  width: 100%;
  overflow: hidden;
  padding: 8px 0 5px;
  background: white;
  border: 6px solid #192022;
  border-radius: 32px;
  outline: 1px solid rgb(225 236 233 / 65%);
  box-shadow: 10px 19px 38px rgb(4 16 20 / 37%);
  transform: rotate(3deg);
}
.phone-shell img { width: 100%; height: auto; display: block; }
.phone-preview figcaption {
  padding: 0;
  margin-top: 18px;
  font-size: .75rem;
  font-weight: 600;
  color: #fff;
  text-shadow: 0 1px 4px #10242c, 0 0 12px #10242c;
}
.phone-preview figcaption span::before { content: " · "; }
.day-layout, .home-faq {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
  padding-block: clamp(64px, 7.5vw, 115px);
}
.section-intro, .journal-spread p, .last-call p {
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  line-height: 1.55;
}
.section-intro { margin-top: 20px; color: #4c5b62; max-width: 39ch; }
.day-details { margin: 28px 0 0; }
.day-details > div { border-top: 1px solid #d8e0e1; padding-block: 14px 12px; }
.day-details dt { display: flex; align-items: center; gap: 13px; font-weight: 600; }
.day-details dt svg { flex: none; color: #286957; width: 20px; }
.day-details dd { margin: 5px 0 0 33px; color: #4c5b62; max-width: 43ch; line-height: 1.5; }
.pass-spread {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  align-items: center;
  gap: clamp(10px, 2.2vw, 36px);
  padding: clamp(26px, 3.4vw, 54px);
  overflow: hidden;
  border-radius: 18px;
  background: #dbede6;
  color: #254e44;
}
.pass-spread > img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 272px;
  justify-self: center;
  transform: rotate(3deg);
  border-radius: 12px;
  box-shadow: 0 12px 22px rgb(27 67 56 / 18%);
}
.pass-leg { display: flex; flex-direction: column; justify-self: start; }
.pass-leg b { display: block; font-size: clamp(2rem, 3.7vw, 3.7rem); line-height: 1; letter-spacing: -.04em; }
.pass-leg span { display: block; font-size: .95rem; margin-top: 5px; }
.pass-leg i { display: block; height: clamp(28px, 4.5vw, 68px); border-inline-start: 1px dashed #75988a; margin: 13px 0 14px 4px; }
.pass-spread figcaption { position: absolute; left: clamp(16px, 2vw, 30px); bottom: 12px; padding: 0; font-size: .75rem; color: #375e52; }
.journal { border-top: 1px solid #dbe2e3; padding-top: clamp(42px, 5.3vw, 78px); }
.journal-spread { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(16px, 2vw, 28px); margin-top: 30px; }
.journal-spread article {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
}
.journal-spread article > div { padding: clamp(25px, 3.2vw, 48px) clamp(24px, 3.2vw, 48px) 0; }
.journal-spread p { margin-top: 14px; max-width: 39ch; }
.journal-spread img { display: block; max-width: 100%; height: auto; }
.route-page { background: #172d37; color: white; }
.route-page p { color: #d6e7e9; }
.route-page img { width: 100%; margin-top: auto; mask-image: linear-gradient(transparent,black 12%); }
.stamp-page { background: #f3f5f7; }
.stamp-page p { color: #4c5b62; }
.stamp-page img { width: min(70%, 320px); margin: 26px auto 30px; }
.home-faq { align-items: start; }
.home-faq h2 { max-width: 14ch; }
.support-link { margin-top: 16px; display: inline-flex; align-items: center; min-height: 44px; color: #286957; font-weight: 600; }
.home-questions details { border-top: 1px solid #d1dcdc; }
.home-questions details:last-child { border-bottom: 1px solid #d1dcdc; }
.home-questions summary { padding-block: 20px; }
.home-questions details > p { margin: 0 30px 22px 0; color: #4c5b62; }
.last-call { background: #112b32; color: white; }
.last-call-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding-block: clamp(48px, 6vw, 88px); }
.last-call-inner > div { max-width: 710px; }
.last-call .app-store-badge { justify-self: start; }
.last-call h2 { font-size: clamp(2.1rem, 3.7vw, 3.5rem); }
.last-call p { color: #ceE0de; margin-top: 15px; max-width: 52ch; }
.home .site-footer { border: 0; padding-block: 28px 36px; }
.home .site-footer nav a { text-decoration: none; }

@media (max-width: 850px) {
  .home { --gutter: clamp(20px, 4.8vw, 40px); }
  .departure-layout { grid-template-columns: 1.4fr .8fr; min-height: 0; padding-inline: 30px; }
  .departure-copy h1 { font-size: clamp(2.55rem, 5.8vw, 3.1rem); }
  .day-layout, .home-faq { gap: 34px; }
  .stamp-page img { width: 80%; }
}
@media (max-width: 680px) {
  .home .site-header { min-height: 66px; }
  .home .site-nav { gap: 10px; }
  .home .site-header .section-nav { display: none; }
  .home .site-header .wordmark { font-size: 1.55rem; gap: 7px; }
  .home .site-header .wordmark img { width: 27px; height: 27px; }
  .home .site-nav > a, .home .language-menu summary { font-size: .875rem; }
  .home .language-menu summary { padding-inline: 9px; }
  .departure-board { border-radius: 16px; }
  .window-view img { object-position: 53% center; }
  .departure-board::before {
    background: linear-gradient(180deg, rgb(7 24 32 / 91%) 0%, rgb(8 27 34 / 76%) 33%, rgb(8 26 33 / 16%) 71%, rgb(8 26 33 / 30%) 100%);
  }
  .departure-layout { display: block; padding: 0; }
  .departure-copy { padding: 38px clamp(19px, 6vw, 38px) 0; }
  .departure-copy h1 { font-size: clamp(2rem, 10vw, 3.75rem); max-width: none; }
  .departure-copy > p { margin-top: 16px; max-width: 35ch; }
  .download-line { margin-top: 20px; gap: 14px; }
  .home .app-store-badge img { height: 48px; }
  .download-line span { font-size: .85rem; }
  .phone-preview {
    display: block;
    position: relative;
    width: 100%;
    height: clamp(265px, 69vw, 355px);
    margin-top: 28px;
    overflow: hidden;
  }
  .phone-shell { width: clamp(178px, 48%, 228px); margin: 12px auto 0; transform: translateX(17%) rotate(4deg); border-radius: 25px; }
  .phone-preview figcaption {
    position: absolute;
    bottom: 12px;
    left: 10px;
    padding: 3px 7px;
    margin: 0;
    border-radius: 4px;
    background: #182c33;
    color: white;
    text-shadow: none;
  }
  .phone-preview figcaption span { display: block; }
  .phone-preview figcaption span::before { content: none; }
  .day-layout, .home-faq { grid-template-columns: minmax(0, 1fr); gap: 24px; padding-block: 54px; }
  .day-details { margin-top: 20px; }
  .pass-spread { padding: 28px 22px 36px; grid-template-columns: .8fr 1.2fr; }
  .pass-spread > img { max-width: 220px; }
  .journal { padding-top: 42px; }
  .journal-spread { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 22px; }
  .journal-spread p { max-width: 45ch; }
  .route-page img { max-height: 340px; object-fit: cover; margin-top: 10px; }
  .stamp-page img { width: min(70%, 284px); margin-block: 24px; }
  .home-faq h2 { max-width: none; }
  .support-link { margin-top: 6px; }
  .last-call-inner { display: grid; gap: 25px; }
  .home .site-footer { align-items: start; gap: 14px; }
}
@media (max-width: 350px) {
  .home .site-header { width: calc(100% - 24px); gap: 7px; }
  .home .site-nav { gap: 5px; }
  .departure-copy { padding-inline: 16px; }
  .download-line { align-items: flex-start; }
}
