:root {
  --ink: #17251f;
  --muted: #607069;
  --line: #dbe5df;
  --paper: #ffffff;
  --surface: #f4f7f5;
  --surface-deep: #e9f0ec;
  --brand: #1f8a62;
  --brand-dark: #126244;
  --brand-soft: #dff2e9;
  --blue: #3378b8;
  --amber: #b67212;
  --red: #b84d4d;
  --violet: #7555a8;
  --shadow: 0 24px 64px rgb(25 67 48 / 10%);
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  color: var(--ink);
  background: var(--surface);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--surface);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

body::selection,
::selection {
  color: #fff;
  background: var(--brand);
}

a {
  color: var(--brand-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #fff;
  background: var(--brand-dark);
  border-radius: 10px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgb(219 229 223 / 82%);
  background: rgb(255 255 255 / 88%);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  min-height: 68px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--ink);
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #fff;
  background: var(--brand);
  border-radius: 11px 11px 11px 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.desktop-nav,
.home-nav {
  display: flex;
  gap: 6px;
  align-items: center;
}

.desktop-nav a,
.home-nav a {
  padding: 8px 10px;
  color: var(--muted);
  border-radius: 9px;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}

.desktop-nav a:hover,
.desktop-nav a.is-active,
.home-nav a:hover {
  color: var(--brand-dark);
  background: var(--brand-soft);
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: 56px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  min-height: 650px;
  margin: 0 auto;
  padding: 88px 64px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 84% 17%, rgb(128 229 180 / 32%), transparent 28%),
    linear-gradient(135deg, #174f3a 0%, #1f8a62 56%, #2ca273 100%);
  border-radius: 0 0 36px 36px;
  box-shadow: var(--shadow);
}

.hero-content,
.route-visual {
  position: relative;
  z-index: 2;
}

.hero-kicker,
.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-kicker {
  color: #bcebd6;
}

.hero-section h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(46px, 6.2vw, 82px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.hero-section h1 span {
  color: #bcebd6;
}

.hero-description {
  max-width: 640px;
  margin: 28px 0 0;
  color: rgb(255 255 255 / 84%);
  font-size: 17px;
  line-height: 1.9;
}

.hero-actions,
.document-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  padding: 10px 17px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button-primary {
  color: var(--brand-dark);
  background: #fff;
}

.button-secondary {
  color: inherit;
  border-color: currentColor;
  background: transparent;
}

.hero-section .button-secondary {
  color: #fff;
  border-color: rgb(255 255 255 / 40%);
}

.button-quiet {
  color: var(--muted);
  border-color: var(--line);
  background: var(--surface);
}

.route-visual {
  min-height: 420px;
  border: 1px solid rgb(255 255 255 / 18%);
  background: rgb(255 255 255 / 7%);
  border-radius: 30px;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 12%);
}

.route-line {
  position: absolute;
  top: 46px;
  left: 50%;
  width: 5px;
  height: 325px;
  background: repeating-linear-gradient(to bottom, #bcebd6 0 14px, transparent 14px 25px);
  border-radius: 20px;
  transform: translateX(-50%) rotate(19deg);
}

.route-stop {
  position: absolute;
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  color: var(--brand-dark);
  background: #fff;
  border: 7px solid rgb(188 235 214 / 55%);
  border-radius: 50%;
  box-shadow: 0 18px 32px rgb(12 67 44 / 24%);
  font-size: 13px;
  font-weight: 800;
}

.route-stop-one { top: 46px; left: 42%; }
.route-stop-two { top: 174px; left: 54%; }
.route-stop-three { right: 26%; bottom: 42px; }

.hero-orbit {
  position: absolute;
  border: 1px solid rgb(255 255 255 / 11%);
  border-radius: 50%;
}

.hero-orbit-one {
  top: -220px;
  right: -140px;
  width: 560px;
  height: 560px;
}

.hero-orbit-two {
  right: 110px;
  bottom: -310px;
  width: 680px;
  height: 680px;
}

.content-section {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 108px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

.section-heading h2,
.contact-section h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}

.split-heading {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  max-width: none;
  align-items: end;
}

.split-heading > p,
.contact-section p {
  margin: 0;
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 250px;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.feature-number,
.card-index {
  color: var(--brand);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.feature-card h3 {
  margin: 62px 0 10px;
  font-size: 22px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.legal-center {
  width: min(1180px, calc(100% - 40px));
  padding-right: 50px;
  padding-left: 50px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 32px;
  box-shadow: 0 20px 60px rgb(25 67 48 / 7%);
}

.legal-card-list {
  border-top: 1px solid var(--line);
}

.legal-card {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 40px;
  gap: 20px;
  align-items: center;
  min-height: 116px;
  padding: 22px 12px;
  color: inherit;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.legal-card::before {
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: -50px;
  width: 4px;
  background: var(--brand);
  border-radius: 0 4px 4px 0;
  content: "";
  opacity: 0;
  transform: scaleY(0.35);
  transition: 180ms ease;
}

.legal-card:hover::before {
  opacity: 1;
  transform: scaleY(1);
}

.legal-card.accent-blue::before { background: var(--blue); }
.legal-card.accent-amber::before { background: var(--amber); }
.legal-card.accent-red::before { background: var(--red); }
.legal-card.accent-violet::before { background: var(--violet); }

.card-content {
  display: grid;
  gap: 5px;
}

.card-content strong {
  font-size: 20px;
}

.card-content > span {
  color: var(--muted);
  font-size: 14px;
}

.card-arrow {
  color: var(--brand);
  font-size: 26px;
  transition: transform 180ms ease;
}

.legal-card:hover .card-arrow {
  transform: translateX(5px);
}

.contact-section {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}

.contact-section > div > p:last-child {
  margin-top: 20px;
}

.contact-link {
  display: grid;
  gap: 6px;
  padding: 30px;
  color: #fff;
  background: var(--brand-dark);
  border-radius: 22px;
  text-decoration: none;
}

.contact-link span {
  color: rgb(255 255 255 / 70%);
  font-size: 13px;
}

.contact-link strong {
  overflow-wrap: anywhere;
  font-size: clamp(18px, 2.5vw, 26px);
}

.contact-link span:last-child {
  margin-top: 18px;
  color: #fff;
  font-weight: 750;
}

.site-footer {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 80px auto 0;
  padding: 34px 0 46px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

.site-footer > div {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.site-footer strong {
  color: var(--ink);
}

.site-footer .icp-registration {
  color: var(--muted);
  text-decoration: none;
}

.site-footer > .icp-registration {
  flex: 0 0 100%;
  text-align: center;
}

.site-footer .icp-registration:hover {
  color: var(--brand-dark);
}

/* Legal documents */
.legal-shell {
  display: grid;
  grid-template-columns: 238px minmax(0, 820px);
  gap: 34px;
  justify-content: center;
  width: min(1120px, calc(100% - 40px));
  margin: 44px auto 0;
  align-items: start;
}

.toc-card {
  position: sticky;
  top: 94px;
  max-height: calc(100vh - 120px);
  padding: 20px;
  overflow: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.toc-title {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 800;
}

.toc-card nav,
.mobile-toc nav {
  display: grid;
  gap: 2px;
}

.toc-card a,
.mobile-toc a {
  padding: 7px 8px;
  color: var(--muted);
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.45;
  text-decoration: none;
}

.toc-card a:hover,
.mobile-toc a:hover {
  color: var(--brand-dark);
  background: var(--brand-soft);
}

.legal-document {
  min-width: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 18px 50px rgb(25 67 48 / 8%);
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  padding: 18px 34px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}

.breadcrumbs a {
  color: var(--muted);
}

.document-header {
  position: relative;
  padding: 54px 58px 46px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.document-header::after {
  position: absolute;
  top: -62px;
  right: -48px;
  width: 190px;
  height: 190px;
  background: var(--brand-soft);
  border-radius: 50%;
  content: "";
  opacity: 0.7;
}

.accent-blue .document-header::after { background: #e2effa; }
.accent-amber .document-header::after { background: #fbefd9; }
.accent-red .document-header::after { background: #fae8e8; }
.accent-violet .document-header::after { background: #eee7f8; }

.document-header h1 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.document-subtitle {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  color: var(--muted);
}

.document-meta {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 30px 0 0;
  padding: 18px 20px;
  background: var(--surface);
  border-radius: 14px;
}

.document-meta:empty {
  display: none;
}

.document-meta > div {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 10px;
  min-width: 0;
}

.document-meta dt {
  color: var(--muted);
  font-size: 12px;
}

.document-meta dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 700;
}

.document-body {
  padding: 24px 58px 58px;
}

.document-section {
  padding-top: 34px;
}

.document-section + .document-section {
  margin-top: 8px;
  border-top: 1px solid var(--line);
}

.document-section h2 {
  margin: 0 0 22px;
  color: var(--brand-dark);
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.accent-blue .document-section h2 { color: #285f91; }
.accent-amber .document-section h2 { color: #8c570e; }
.accent-red .document-section h2 { color: #963f3f; }
.accent-violet .document-section h2 { color: #60438f; }

.body-paragraph,
.clause {
  margin: 0 0 16px;
  color: #32423b;
  font-size: 15px;
  line-height: 1.95;
  text-align: justify;
  text-justify: inter-ideograph;
}

.clause {
  padding-left: 18px;
  border-left: 2px solid var(--surface-deep);
}

.important-lead {
  color: var(--ink);
  font-weight: 650;
}

.important-callout {
  margin: 34px 0 10px;
  padding: 25px 26px 10px;
  background: #fff8e6;
  border: 1px solid #efdcae;
  border-left: 4px solid var(--amber);
  border-radius: 14px;
}

.callout-label {
  margin: 0 0 12px;
  color: #79500c;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.1em;
}

.important-callout .clause,
.important-callout .body-paragraph {
  border-color: rgb(182 114 18 / 22%);
}

.document-list {
  margin: 4px 0 22px;
  padding-left: 26px;
  color: #32423b;
}

.document-list li {
  margin: 8px 0;
  padding-left: 5px;
}

.underlined {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.core-note {
  margin: 24px 0 28px;
  padding: 22px 24px;
  background: var(--brand-soft);
  border: 1px solid rgb(31 138 98 / 20%);
  border-left: 4px solid var(--brand);
  border-radius: 14px;
}

.core-note-label {
  margin: 0 0 8px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.core-note p:last-child {
  margin: 0;
  color: #32423b;
  line-height: 1.85;
}

.table-scroll {
  margin: 24px 0 28px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.table-scroll:focus {
  outline: 3px solid rgb(31 138 98 / 22%);
  outline-offset: 2px;
}

table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.65;
}

th,
td {
  padding: 13px 15px;
  vertical-align: top;
  text-align: left;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

th:last-child,
td:last-child {
  border-right: 0;
}

tbody tr:last-child td {
  border-bottom: 0;
}

th {
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: 12px;
  font-weight: 800;
}

tbody tr:nth-child(even) {
  background: #fafcfb;
}

.mobile-toc {
  display: none;
  margin: 24px 28px 0;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.mobile-toc summary {
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.mobile-toc nav {
  margin-top: 10px;
}

.related-documents {
  padding: 42px 58px 54px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

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

.related-card {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 13px 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 11px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.related-card:hover {
  color: var(--brand-dark);
  border-color: #b8d5c6;
}

@media (max-width: 1050px) {
  .desktop-nav {
    display: none;
  }

  .hero-section {
    grid-template-columns: 1fr;
  }

  .route-visual {
    display: none;
  }

  .legal-shell {
    display: block;
    width: min(820px, calc(100% - 32px));
  }

  .toc-card {
    display: none;
  }

  .mobile-toc {
    display: block;
  }
}

@media (max-width: 760px) {
  .header-inner,
  .content-section,
  .hero-section,
  .site-footer {
    width: min(100% - 28px, 680px);
  }

  .home-nav {
    gap: 0;
  }

  .home-nav a {
    padding: 8px 6px;
    font-size: 12px;
  }

  .hero-section {
    min-height: 560px;
    padding: 70px 28px;
    border-radius: 0 0 24px 24px;
  }

  .hero-section h1 {
    font-size: clamp(44px, 14vw, 66px);
  }

  .content-section {
    padding: 76px 0;
  }

  .feature-grid,
  .split-heading,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .split-heading,
  .contact-section {
    gap: 30px;
  }

  .legal-center {
    padding-right: 22px;
    padding-left: 22px;
    border-radius: 22px;
  }

  .legal-card {
    grid-template-columns: 42px minmax(0, 1fr) 24px;
    gap: 12px;
    padding: 20px 0;
  }

  .legal-card::before {
    left: -22px;
  }

  .site-footer {
    display: grid;
  }

  .legal-shell {
    width: min(100% - 24px, 680px);
    margin-top: 20px;
  }

  .legal-document {
    border-radius: 18px;
  }

  .breadcrumbs {
    padding: 14px 22px;
  }

  .document-header {
    padding: 40px 26px 34px;
  }

  .document-meta {
    grid-template-columns: 1fr;
  }

  .document-body {
    padding: 16px 26px 42px;
  }

  .document-section {
    padding-top: 28px;
  }

  .body-paragraph,
  .clause {
    font-size: 14px;
    line-height: 1.9;
    text-align: left;
  }

  .related-documents {
    padding: 34px 26px 40px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .brand > span:last-child {
    display: none;
  }

  .hero-actions,
  .document-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .document-meta > div {
    grid-template-columns: 60px minmax(0, 1fr);
  }
}

@media print {
  :root {
    background: #fff;
  }

  body {
    background: #fff;
  }

  .site-header,
  .toc-card,
  .mobile-toc,
  .breadcrumbs,
  .document-actions,
  .related-documents,
  .site-footer {
    display: none !important;
  }

  .legal-shell {
    display: block;
    width: auto;
    margin: 0;
  }

  .legal-document {
    border: 0;
    box-shadow: none;
  }

  .document-header,
  .document-body {
    padding-right: 0;
    padding-left: 0;
  }

  .document-section,
  .important-callout,
  table {
    break-inside: avoid;
  }

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

/* DayRoute homepage — brand refresh */
:root {
  --ink: #183037;
  --muted: #60767a;
  --line: #dce9e7;
  --surface: #f6faf9;
  --surface-deep: #e9f4f1;
  --brand: #78c8d7;
  --brand-dark: #245f69;
  --brand-soft: #e3f6f3;
  --brand-gradient: linear-gradient(135deg, #a1e2ed 0%, #d0e6ad 100%);
  --shadow: 0 28px 80px rgb(52 100 105 / 13%);
}

.home-page {
  background:
    radial-gradient(circle at 8% 20%, rgb(161 226 237 / 22%), transparent 24rem),
    radial-gradient(circle at 95% 48%, rgb(208 230 173 / 20%), transparent 28rem),
    #f8fbfa;
}

.home-header {
  border-color: rgb(220 233 231 / 72%);
  background: rgb(248 251 250 / 82%);
}

.home-header .header-inner {
  min-height: 76px;
}

.home-header .brand-mark {
  position: relative;
  display: block;
  width: 38px;
  height: 38px;
  overflow: hidden;
  background: var(--brand-gradient);
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 12px;
  box-shadow: 0 7px 18px rgb(96 170 175 / 25%);
}

.home-header .brand-mark i {
  position: absolute;
  width: 7px;
  height: 7px;
  background: #fff;
  border: 2px solid #2e7079;
  border-radius: 50%;
}

.home-header .brand-mark i:nth-child(1) { top: 7px; left: 8px; }
.home-header .brand-mark i:nth-child(2) { top: 15px; right: 7px; }
.home-header .brand-mark i:nth-child(3) { bottom: 6px; left: 10px; }

.home-header .brand-mark::after {
  position: absolute;
  top: 10px;
  left: 12px;
  width: 16px;
  height: 16px;
  border-right: 2px solid #2e7079;
  border-bottom: 2px solid #2e7079;
  content: "";
  transform: rotate(36deg) skew(-12deg);
}

.home-header .brand-mark-image::after {
  content: none;
}

.brand-mark-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-page .hero-section {
  width: min(1240px, calc(100% - 40px));
  min-height: 690px;
  margin-top: 18px;
  padding: 90px 74px;
  color: var(--ink);
  background:
    radial-gradient(circle at 4% 10%, rgb(255 255 255 / 55%), transparent 22rem),
    radial-gradient(circle at 90% 12%, rgb(255 255 255 / 42%), transparent 18rem),
    var(--brand-gradient);
  border: 1px solid rgb(255 255 255 / 75%);
  border-radius: 36px;
  box-shadow: 0 34px 100px rgb(77 137 141 / 16%);
}

.home-page .hero-content {
  max-width: 660px;
}

.home-page .hero-kicker {
  display: flex;
  gap: 10px;
  align-items: center;
  color: #2b6972;
  font-size: 12px;
  letter-spacing: .12em;
}

.home-page .hero-kicker span {
  width: 28px;
  height: 1px;
  background: currentColor;
}

.home-page .hero-section h1 {
  color: #163940;
  font-size: clamp(48px, 5.6vw, 78px);
  line-height: 1.08;
  letter-spacing: -.058em;
}

.home-page .hero-section h1 span {
  color: #24626b;
}

.home-page .hero-description {
  max-width: 590px;
  color: rgb(24 48 55 / 72%);
  font-size: 18px;
}

.home-page .button {
  min-height: 50px;
  padding: 12px 21px;
  border-radius: 15px;
}

.home-page .button-primary {
  color: #fff;
  background: #193d44;
  box-shadow: 0 12px 24px rgb(25 61 68 / 18%);
}

.home-page .hero-section .button-secondary {
  color: #234f57;
  border-color: rgb(35 79 87 / 24%);
  background: rgb(255 255 255 / 26%);
}

.home-page .hero-note {
  margin: 22px 0 0;
  color: rgb(24 48 55 / 56%);
  font-size: 12px;
}

.home-page .route-visual {
  min-height: 500px;
  overflow: hidden;
  background: rgb(255 255 255 / 48%);
  border: 1px solid rgb(255 255 255 / 82%);
  border-radius: 34px;
  box-shadow: 0 32px 64px rgb(49 109 113 / 16%), inset 0 1px 0 #fff;
  transform: rotate(2deg);
}

.map-grid {
  position: absolute;
  inset: 0;
  opacity: .3;
  background-image:
    linear-gradient(rgb(46 112 121 / 12%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(46 112 121 / 12%) 1px, transparent 1px);
  background-size: 46px 46px;
  transform: rotate(-8deg) scale(1.25);
}

.mock-route {
  position: absolute;
  top: 72px;
  left: 49%;
  width: 8px;
  height: 330px;
  background: #38828a;
  border: 3px solid #fff;
  border-radius: 20px;
  box-shadow: 0 3px 12px rgb(35 79 87 / 22%);
  transform: rotate(19deg);
}

.mock-stop {
  position: absolute;
  display: grid;
  min-width: 118px;
  padding: 11px 13px;
  background: rgb(255 255 255 / 92%);
  border: 1px solid #fff;
  border-radius: 13px;
  box-shadow: 0 12px 25px rgb(39 89 94 / 13%);
  font-size: 11px;
  line-height: 1.35;
}

.mock-stop::before {
  position: absolute;
  top: 50%;
  width: 13px;
  height: 13px;
  background: #d0e6ad;
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #38828a;
  content: "";
  transform: translateY(-50%);
}

.mock-stop b { color: #2f6d76; }
.mock-stop span { color: var(--muted); }
.stop-a { top: 52px; left: 10%; }
.stop-a::before { right: -40px; }
.stop-b { top: 205px; right: 7%; }
.stop-b::before { left: -38px; }
.stop-c { right: 20%; bottom: 68px; }
.stop-c::before { left: -37px; }

.mock-person {
  position: absolute;
  z-index: 2;
  top: 150px;
  left: 49%;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  color: #fff;
  background: #193d44;
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 6px 14px rgb(25 61 68 / 22%);
  font-size: 7px;
}

.route-summary {
  position: absolute;
  right: 24px;
  bottom: 22px;
  left: 24px;
  display: grid;
  padding: 18px 20px;
  background: rgb(25 61 68 / 91%);
  border-radius: 18px;
  box-shadow: 0 14px 30px rgb(25 61 68 / 18%);
}

.route-summary strong { color: #fff; font-size: 14px; }
.route-summary span { color: rgb(255 255 255 / 64%); font-size: 12px; }

.map-water {
  position: absolute;
  top: -8%;
  right: -24%;
  width: 70%;
  height: 118%;
  background: rgb(161 226 237 / 32%);
  border-left: 2px solid rgb(110 190 204 / 18%);
  border-radius: 48% 0 0 45%;
  transform: rotate(8deg);
}

.map-road {
  position: absolute;
  z-index: 1;
  height: 18px;
  background: rgb(255 255 255 / 62%);
  border: 1px solid rgb(152 181 177 / 22%);
  border-radius: 999px;
  box-shadow: inset 0 0 0 3px rgb(210 224 219 / 25%);
}

.road-one {
  top: 24%;
  left: -20%;
  width: 112%;
  transform: rotate(-12deg);
}

.road-two {
  top: 54%;
  left: -8%;
  width: 126%;
  transform: rotate(17deg);
}

.road-three {
  top: 8%;
  left: 48%;
  width: 95%;
  transform: rotate(63deg);
}

.map-place {
  position: absolute;
  z-index: 2;
  color: rgb(60 103 105 / 38%);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
}

.place-one { right: 5%; bottom: 23%; }
.place-two { top: 42%; left: 7%; }
.place-three { top: 11%; left: 39%; }

.route-path {
  position: absolute;
  z-index: 4;
  height: 9px;
  background: linear-gradient(90deg, #22bfd6, #61cf9b 62%, #9bd35e);
  border: 2px solid rgb(255 255 255 / 90%);
  border-radius: 999px;
  box-shadow: 0 5px 12px rgb(30 116 126 / 18%);
  transform-origin: left center;
}

.path-one {
  top: 73%;
  left: 20%;
  width: 31%;
  transform: rotate(-29deg);
}

.path-two {
  top: 58%;
  left: 45%;
  width: 30%;
  transform: rotate(-50deg);
}

.path-three {
  top: 35%;
  left: 63%;
  width: 26%;
  transform: rotate(-36deg);
}

.map-node {
  position: absolute;
  z-index: 7;
  display: grid;
  width: 35px;
  height: 35px;
  place-items: center;
  color: #162d32;
  background: #fff;
  border: 3px solid #193d44;
  border-radius: 50%;
  box-shadow: 0 7px 15px rgb(25 61 68 / 25%);
  font-size: 13px;
  font-weight: 900;
}

.map-node::after {
  position: absolute;
  inset: -8px;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 50%;
  content: "";
}

.point-one { top: 69%; left: 16%; }
.point-two { top: 53%; left: 41%; }
.point-three { top: 29%; left: 59%; }
.point-four { top: 14%; left: 78%; }

.node-label {
  position: absolute;
  z-index: 8;
  display: grid;
  min-width: 124px;
  padding: 10px 12px;
  overflow: hidden;
  background: rgb(255 255 255 / 78%);
  border: 1px solid rgb(255 255 255 / 88%);
  border-radius: 13px;
  box-shadow: 0 12px 24px rgb(46 93 97 / 17%);
  backdrop-filter: blur(13px);
  line-height: 1.35;
}

.node-label::after {
  position: absolute;
  width: 24px;
  height: 1px;
  background: rgb(25 61 68 / 38%);
  content: "";
}

.node-label b {
  color: #18383e;
  font-size: 14px;
}

.node-label span {
  max-width: 145px;
  overflow: hidden;
  color: #48666b;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.label-one { top: 54%; left: 4%; }
.label-one::after { right: -18px; bottom: 4px; transform: rotate(28deg); }
.label-two { top: 61%; left: 48%; }
.label-two::after { top: -7px; left: -18px; transform: rotate(-45deg); }
.label-three { top: 16%; left: 19%; min-width: 150px; }
.label-three::after { right: -20px; bottom: 8px; transform: rotate(18deg); }
.label-four { top: 3%; right: 3%; }
.label-four::after { bottom: -7px; left: 4px; transform: rotate(-38deg); }

.home-page .feature-story {
  width: min(1180px, calc(100% - 40px));
  padding-top: 132px;
}

.story-heading {
  max-width: 780px;
}

.story-heading > p:last-child {
  margin: 16px 0 0;
  color: var(--muted);
}

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

.story-card {
  position: relative;
  display: grid;
  min-height: 390px;
  padding: 34px;
  overflow: hidden;
  background: rgb(255 255 255 / 88%);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: 0 18px 45px rgb(52 100 105 / 7%);
}

.story-card-wide {
  grid-template-columns: 160px minmax(0, 1fr) 280px;
  grid-column: 1 / -1;
  gap: 34px;
  align-items: center;
  min-height: 360px;
  background:
    linear-gradient(110deg, rgb(255 255 255 / 96%) 0 60%, rgb(161 226 237 / 34%) 100%),
    var(--brand-gradient);
}

.story-index {
  align-self: start;
  display: grid;
  gap: 5px;
}

.story-index span {
  color: #3d8892;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .16em;
}

.story-index small { color: var(--muted); }

.story-copy {
  position: relative;
  z-index: 1;
}

.story-copy h3 {
  max-width: 650px;
  margin: 0 0 17px;
  color: #18383e;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.25;
  letter-spacing: -.035em;
}

.story-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.orbit-ornament {
  position: relative;
  width: 240px;
  height: 240px;
  border: 1px solid rgb(36 98 107 / 18%);
  border-radius: 50%;
}

.orbit-ornament::before,
.orbit-ornament::after {
  position: absolute;
  border: 1px solid rgb(36 98 107 / 16%);
  border-radius: 50%;
  content: "";
}

.orbit-ornament::before { inset: 35px; }
.orbit-ornament::after { inset: 73px; background: rgb(255 255 255 / 56%); }

.orbit-ornament i {
  position: absolute;
  z-index: 1;
  width: 16px;
  height: 16px;
  background: #fff;
  border: 4px solid #3d8892;
  border-radius: 50%;
  box-shadow: 0 5px 13px rgb(47 109 118 / 18%);
}

.orbit-ornament i:nth-child(1) { top: 15px; left: 104px; }
.orbit-ornament i:nth-child(2) { top: 110px; right: 27px; }
.orbit-ornament i:nth-child(3) { bottom: 19px; left: 64px; }

@media (max-width: 1050px) {
  .home-page .hero-section { padding: 72px 54px; }
  .home-page .route-visual { display: block; min-height: 440px; }
  .story-card-wide { grid-template-columns: 110px minmax(0, 1fr); }
  .story-card-wide .card-ornament { display: none; }
}

@media (max-width: 760px) {
  .home-header .header-inner { min-height: 66px; }
  .home-page .hero-section {
    width: calc(100% - 24px);
    min-height: auto;
    padding: 58px 24px 24px;
    border-radius: 26px;
  }
  .home-page .hero-section h1 { font-size: clamp(43px, 13vw, 62px); }
  .home-page .hero-description { font-size: 16px; }
  .home-page .route-visual { min-height: 390px; margin-top: 12px; }
  .home-page .feature-story { width: calc(100% - 28px); padding-top: 92px; }
  .story-grid { grid-template-columns: 1fr; }
  .story-card-wide { grid-template-columns: 1fr; gap: 24px; }
  .story-card { min-height: auto; padding: 27px; border-radius: 22px; }
}

@media (max-width: 520px) {
  .home-header .home-nav a:nth-child(2),
  .home-header .home-nav a:nth-child(4) { display: none; }
  .home-page .route-visual { min-height: 360px; }
  .mock-stop { min-width: 102px; padding: 8px 10px; }
  .stop-a { left: 3%; }
  .stop-b { right: 1%; }
}

.story-card {
  grid-template-rows: auto 1fr auto;
  gap: 25px;
}

.story-card-full {
  grid-template: auto / 130px minmax(0, 1fr) 210px;
  grid-column: 1 / -1;
  gap: 34px;
  align-items: center;
  min-height: 350px;
}

.story-card-full .story-index { align-self: start; }

.tone-sky {
  background: linear-gradient(155deg, #fff 0%, #edf9fb 100%);
}

.tone-leaf {
  background: linear-gradient(155deg, #fff 0%, #f2f8e8 100%);
}

.tone-cream {
  background: linear-gradient(155deg, #fff 0%, #fbf8ed 100%);
}

.tone-mist {
  background: linear-gradient(155deg, #fff 0%, #f0f5f4 100%);
}

.tone-route {
  background:
    radial-gradient(circle at 96% 12%, rgb(208 230 173 / 72%), transparent 16rem),
    linear-gradient(135deg, #e9f8f9 0%, #f8fbe9 100%);
}

.tone-night {
  color: #fff;
  background:
    radial-gradient(circle at 90% 12%, rgb(161 226 237 / 19%), transparent 18rem),
    #193d44;
  border-color: #193d44;
}

.tone-night .story-index span,
.tone-night .story-copy h3 { color: #fff; }
.tone-night .story-index small,
.tone-night .story-copy p { color: rgb(255 255 255 / 66%); }

.tone-private {
  background:
    radial-gradient(circle at 92% 22%, rgb(161 226 237 / 50%), transparent 18rem),
    linear-gradient(125deg, #fff 0%, #eef8ed 100%);
}

.card-signal {
  justify-self: end;
}

.calendar-signal {
  display: grid;
  grid-template-columns: 66px repeat(3, 1fr);
  align-items: center;
  width: 100%;
  overflow: hidden;
  background: rgb(255 255 255 / 72%);
  border: 1px solid #d8ecee;
  border-radius: 17px;
}

.calendar-signal b {
  display: grid;
  min-height: 58px;
  place-items: center;
  color: #fff;
  background: #3d8892;
  font-size: 22px;
}

.calendar-signal span {
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.transport-row,
.record-tags,
.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.transport-row span,
.record-tags span,
.category-strip span {
  padding: 7px 10px;
  color: #3c6d72;
  background: rgb(255 255 255 / 68%);
  border: 1px solid rgb(61 136 146 / 14%);
  border-radius: 999px;
  font-size: 11px;
}

.record-tags span {
  padding: 9px 13px;
  background: #fff;
  box-shadow: 0 7px 15px rgb(103 117 92 / 7%);
}

.category-strip {
  max-width: 180px;
  justify-content: center;
}

.privacy-chip {
  align-self: center;
  justify-self: end;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px 16px;
  color: #d8f5f1;
  background: rgb(255 255 255 / 8%);
  border: 1px solid rgb(255 255 255 / 13%);
  border-radius: 14px;
  font-size: 12px;
}

.privacy-chip span {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  color: #193d44;
  background: #d0e6ad;
  border-radius: 50%;
  font-weight: 900;
}

.pending-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 7px 12px;
  width: 100%;
  padding: 14px;
  background: rgb(255 255 255 / 70%);
  border: 1px dashed #b7ceca;
  border-radius: 15px;
}

.pending-note span {
  grid-row: 1 / 4;
  align-self: center;
  padding: 6px 8px;
  color: #4f7276;
  background: #e8f2f0;
  border-radius: 8px;
  font-size: 10px;
}

.pending-note i {
  height: 5px;
  background: #dce8e5;
  border-radius: 4px;
}
.pending-note i:nth-of-type(2) { width: 78%; }
.pending-note i:nth-of-type(3) { width: 55%; }

.play-route {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}

.play-route::before {
  position: absolute;
  right: 12px;
  left: 12px;
  height: 3px;
  background: #6fb4bd;
  content: "";
}

.play-route span,
.play-route i {
  position: relative;
  z-index: 1;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  background: #fff;
  border: 3px solid #4d959f;
  border-radius: 50%;
}

.play-route span {
  width: 43px;
  height: 43px;
  color: #fff;
  background: #193d44;
  border-color: #fff;
  font-size: 12px;
}

.timeline-signal {
  position: relative;
  display: grid;
  gap: 23px;
  width: 150px;
}

.timeline-signal::before {
  position: absolute;
  top: 7px;
  bottom: 7px;
  left: 7px;
  width: 2px;
  background: #84b9a8;
  content: "";
}

.timeline-signal i {
  position: relative;
  width: 100%;
  height: 15px;
  border-left: 16px solid #3d8892;
  border-radius: 50%;
}

.timeline-signal i::after {
  position: absolute;
  top: 5px;
  left: 28px;
  width: 100px;
  height: 5px;
  background: rgb(67 112 103 / 16%);
  border-radius: 4px;
  content: "";
}

.local-badge {
  display: grid;
  justify-items: center;
  padding: 25px 16px;
  background: rgb(255 255 255 / 62%);
  border: 1px solid rgb(61 136 146 / 17%);
  border-radius: 22px;
  box-shadow: 0 18px 35px rgb(60 110 114 / 9%);
}

.local-badge > span {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 12px;
  place-items: center;
  color: #fff;
  background: #397d86;
  border-radius: 18px;
  font-size: 29px;
}

.local-badge strong { color: #245f69; font-size: 14px; }
.local-badge small { margin-top: 3px; color: var(--muted); }

.detail-section {
  width: min(1180px, calc(100% - 40px));
  padding-top: 86px;
}

.detail-heading {
  max-width: none;
  text-align: center;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.detail-card {
  min-height: 285px;
  padding: 25px;
  background: rgb(255 255 255 / 85%);
  border: 1px solid var(--line);
  border-radius: 22px;
}

.detail-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: #275f67;
  background: var(--brand-gradient);
  border-radius: 14px;
  font-size: 15px;
  font-weight: 850;
}

.language-icon { font-family: "Songti SC", serif; font-size: 20px; }

.detail-card h3 {
  margin: 54px 0 11px;
  color: #193d44;
  font-size: 18px;
}

.detail-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.download-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 70px;
  align-items: center;
  width: min(1240px, calc(100% - 40px));
  min-height: 480px;
  margin: 70px auto 0;
  padding: 78px;
  overflow: hidden;
  background: var(--brand-gradient);
  border: 1px solid rgb(255 255 255 / 80%);
  border-radius: 36px;
  box-shadow: var(--shadow);
}

.download-glow {
  position: absolute;
  top: -230px;
  right: 10%;
  width: 520px;
  height: 520px;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgb(255 255 255 / 11%), 0 0 0 160px rgb(255 255 255 / 8%);
}

.download-product,
.download-copy,
.download-actions { position: relative; z-index: 1; }

.download-product {
  display: flex;
  gap: 30px;
  align-items: center;
}

.download-app-icon {
  flex: 0 0 auto;
  width: 126px;
  height: 126px;
  object-fit: cover;
  border: 1px solid rgb(255 255 255 / 75%);
  border-radius: 29px;
  box-shadow: 0 22px 42px rgb(35 79 87 / 20%);
}

.download-copy h2 {
  max-width: 700px;
  margin: 0;
  color: #173b42;
  font-size: clamp(42px, 5.4vw, 70px);
  line-height: 1.08;
  letter-spacing: -.055em;
}

.download-copy > p:last-child {
  margin: 22px 0 0;
  color: rgb(24 48 55 / 66%);
}

.download-actions {
  display: grid;
  justify-items: center;
  min-width: 240px;
}

.download-button {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 220px;
  padding: 12px 19px;
  color: #fff;
  background: #122e34;
  border: 1px solid rgb(255 255 255 / 25%);
  border-radius: 16px;
  box-shadow: 0 16px 30px rgb(27 60 66 / 20%);
  text-decoration: none;
}

.apple-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  font-size: 32px;
  line-height: 1;
}

.download-button > span:last-child { display: grid; }
.download-button small { color: rgb(255 255 255 / 65%); font-size: 10px; line-height: 1.2; }
.download-button strong { font-size: 22px; line-height: 1.1; }

.download-text-link {
  margin-top: 18px;
  color: #173b42;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.download-actions > small { margin-top: 5px; color: rgb(24 48 55 / 50%); }

.legal-hub {
  width: min(1180px, calc(100% - 40px));
  padding-top: 118px;
  padding-bottom: 56px;
}

.legal-hub-heading {
  display: flex;
  gap: 30px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 38px;
}

.legal-hub-heading h2 {
  margin: 0;
  font-size: clamp(31px, 4vw, 50px);
  line-height: 1.2;
  letter-spacing: -.04em;
}

.legal-hub-heading > a {
  padding-bottom: 8px;
  color: #306f78;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.legal-link-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.legal-link-grid a {
  display: grid;
  gap: 34px;
  min-height: 150px;
  padding: 22px;
  color: #244c53;
  border-right: 1px solid var(--line);
  text-decoration: none;
}

.legal-link-grid a:last-child { border-right: 0; }
.legal-link-grid span { font-size: 13px; font-weight: 750; }
.legal-link-grid i { align-self: end; color: #5fa8b1; font-size: 23px; font-style: normal; transition: transform 180ms ease; }
.legal-link-grid a:hover { background: rgb(227 246 243 / 55%); }
.legal-link-grid a:hover i { transform: translateX(6px); }

.home-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px 60px;
  margin-top: 94px;
  padding-top: 34px;
  padding-bottom: 42px;
}

.footer-brand {
  display: flex;
  gap: 13px;
  align-items: center;
}

.footer-brand > img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: 0 8px 18px rgb(52 100 105 / 10%);
}

.footer-brand > div {
  display: grid;
  gap: 1px;
}

.footer-brand strong {
  color: var(--ink);
  font-size: 15px;
}

.footer-brand span {
  color: var(--muted);
  font-size: 12px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 18px;
  align-items: center;
  justify-content: flex-end;
}

.footer-meta a,
.footer-meta span,
.footer-legal a {
  color: var(--muted);
  font-size: 12px;
}

.footer-legal {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-top: 21px;
  border-top: 1px solid var(--line);
}

.footer-legal a {
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--brand-dark);
}

@media (max-width: 1050px) {
  .story-card-full { grid-template-columns: 105px minmax(0, 1fr); }
  .story-card-full > :last-child { grid-column: 2; justify-self: start; }
  .detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .download-section { padding: 62px 54px; }
  .legal-link-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .legal-link-grid a:nth-child(3) { border-right: 0; }
  .legal-link-grid a:nth-child(n+4) { border-top: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .story-card-full { grid-template-columns: 1fr; gap: 24px; }
  .story-card-full > :last-child { grid-column: 1; }
  .category-strip { max-width: none; justify-content: flex-start; }
  .privacy-chip { justify-self: start; }
  .timeline-signal { margin-left: 4px; }
  .detail-section { width: calc(100% - 28px); }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-card { min-height: 230px; }
  .detail-card h3 { margin-top: 34px; }
  .download-section {
    grid-template-columns: 1fr;
    width: calc(100% - 24px);
    min-height: 560px;
    padding: 56px 28px;
    border-radius: 26px;
  }
  .download-product { align-items: flex-start; }
  .download-app-icon {
    width: 92px;
    height: 92px;
    border-radius: 22px;
  }
  .download-actions { justify-items: start; }
  .legal-hub { width: calc(100% - 28px); }
  .legal-hub-heading { display: grid; }
  .legal-link-grid { grid-template-columns: 1fr; }
  .legal-link-grid a,
  .legal-link-grid a:nth-child(3),
  .legal-link-grid a:nth-child(n+4) {
    display: flex;
    min-height: auto;
    align-items: center;
    justify-content: space-between;
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .legal-link-grid a:last-child { border-bottom: 0; }
  .home-footer {
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 72px;
  }
  .footer-meta { justify-content: flex-start; }
  .footer-legal { grid-column: 1; }
}

@media (max-width: 520px) {
  .download-product {
    display: grid;
    gap: 24px;
  }
  .download-app-icon {
    width: 84px;
    height: 84px;
    border-radius: 20px;
  }
  .map-place { display: none; }
  .node-label { min-width: 108px; padding: 8px 9px; }
  .node-label b { font-size: 12px; }
  .node-label span { max-width: 110px; font-size: 9px; }
  .label-one { top: 52%; left: 2%; }
  .label-two { top: 60%; left: 51%; }
  .label-three { top: 17%; left: 2%; min-width: 120px; }
  .label-four { top: 2%; right: 2%; }
  .map-node { width: 31px; height: 31px; font-size: 11px; }
}

/* Real app map preview */
.home-page .route-visual-real {
  width: 78%;
  min-height: 0;
  aspect-ratio: 1;
  align-self: end;
  justify-self: end;
  padding: 0;
  background: #eef4e8;
  border: 1px solid rgb(255 255 255 / 88%);
  transform: rotate(1deg);
}

.app-map-ui {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-preview-badge {
  position: absolute;
  z-index: 3;
  right: 14px;
  bottom: 10px;
  padding: 0;
  color: rgb(59 74 77 / 58%);
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
}

/* Hand-drawn feature illustration sprite */
.feature-art::before {
  position: absolute;
  z-index: 0;
  right: 1%;
  bottom: -2%;
  width: 34%;
  height: 96%;
  background-image: url("dayroute-feature-illustrations.png");
  background-repeat: no-repeat;
  background-size: 500% 200%;
  content: "";
  opacity: .52;
  pointer-events: none;
}

.feature-art > * {
  position: relative;
  z-index: 2;
}

.feature-art > :last-child {
  display: none;
}

.feature-art.art-1::before { background-position: 0% 0%; }
.feature-art.art-2::before { background-position: 25% 0%; }
.feature-art.art-3::before { background-position: 50% 0%; }
.feature-art.art-4::before { background-position: 75% 0%; }
.feature-art.art-5::before { background-position: 100% 0%; }
.feature-art.art-6::before { background-position: 0% 100%; }
.feature-art.art-7::before { background-position: 25% 100%; }
.feature-art.art-8::before { background-position: 50% 100%; }
.feature-art.art-9::before { background-position: 75% 100%; }
.feature-art.art-10::before { background-position: 100% 100%; }

.tone-night.feature-art::before {
  opacity: .4;
  filter: brightness(1.15) saturate(.8);
}

@media (min-width: 561px) {
  .story-card.feature-art:not(.story-card-full):not(.story-card-wide) {
    min-height: 610px;
    padding-bottom: 205px;
    grid-template-rows: auto 1fr;
  }

  .story-card.feature-art:not(.story-card-full):not(.story-card-wide)::before {
    right: 4%;
    bottom: 1%;
    width: 62%;
    height: 37%;
    opacity: .68;
  }
}

@media (min-width: 561px) and (max-width: 760px) {
  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-card-wide,
  .story-card-full {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .feature-art::before {
    right: -2%;
    bottom: -8%;
    width: 58%;
    height: 50%;
    opacity: .48;
  }

  .story-card.feature-art {
    min-height: 430px;
    padding-bottom: 150px;
  }

  .story-card-full.feature-art,
  .story-card-wide.feature-art {
    min-height: 480px;
  }

}
