/* Pinterrail's paper-and-ink design system, adapted from the supplied design kit. */
:root {
  --page: #fcfaf6;
  --surface: #fff;
  --ink: #2e303c;
  --muted: #60616a;
  --accent: #c8432a;
  --accent-hover: #ab3520;
  --accent-edge: #8e2d1c;
  --peach: #f9e8df;
  --mint: #e3f1eb;
  --sand: #f2eddf;
  --line: #dedbd5;
  --display: "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Red Hat Display", system-ui, sans-serif;
  --hand: "Caveat", cursive;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --radius: 28px;
  --shadow: 0 4px 8px #2e303c08, 0 24px 48px #2e303c14;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--page); color: var(--ink); font: 1.0625rem/1.6 var(--body); -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2, h3, h4 { font-family: var(--display); text-wrap: balance; }
h1, h2 { font-weight: 800; letter-spacing: -.045em; line-height: 1.1; }
h2 { font-size: clamp(2.15rem, 4vw, 3.4rem); }
h3 { font-size: 1.4rem; line-height: 1.3; letter-spacing: -.025em; }
p { text-wrap: pretty; }
a { color: inherit; text-underline-offset: 5px; }
button { font: inherit; color: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.on-ink :focus-visible { outline-color: #ffc9ac; }
.container { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: clamp(72px, 8vw, 112px); }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; background: var(--ink); color: white; padding: 12px 20px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 20; background: var(--page); border-bottom: 1px solid transparent; }
.site-header[data-scrolled] { border-color: var(--line); }
.header-inner { min-height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font: 800 1.65rem var(--display); letter-spacing: -.065em; }
.brand img { width: 45px; height: 45px; border-radius: 13px; }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: .9375rem; font-weight: 600; }
.site-nav > a:not(.button) { text-decoration: none; padding-block: 12px; }
.site-nav > a:not(.button):hover { color: var(--accent); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 15px 25px; min-height: 50px; border: 1px solid transparent; border-radius: 999px; background: var(--accent); color: #fff; box-shadow: 0 4px 0 var(--accent-edge); text-decoration: none; font-weight: 700; line-height: 1.3; transition: transform .2s var(--ease), background .2s, box-shadow .2s; }
.button:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 6px 0 var(--accent-edge); }
.button:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--accent-edge); }
.button-small { padding: 12px 21px; min-height: 44px; font-size: .9375rem; }
.button-ink { background: var(--ink); box-shadow: 0 4px 0 #171923; }
.button-ink:hover { background: #414452; box-shadow: 0 6px 0 #171923; }
.menu-toggle { display: none; min-width: 70px; min-height: 44px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; font-size: .9375rem; font-weight: 700; }
.hero { position: relative; isolation: isolate; margin-inline: 24px; border-radius: var(--radius); color: #fff; background: #343b43 url('../images/slider/banner3.jpg') center 62% / cover no-repeat; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(24, 29, 38, .85), rgba(24, 29, 38, .52) 53%, rgba(24, 29, 38, .12)); }
.hero-inner { min-height: 670px; padding-block: 78px 64px; display: grid; grid-template-columns: 1.45fr 1fr; align-items: center; gap: 56px; }
.hero-label { display: inline-flex; align-items: center; gap: 10px; padding: 7px 13px; border: 1px solid #ffffff55; border-radius: 999px; font-size: .875rem; font-weight: 600; background: #20283355; }
.hero h1 { font-size: clamp(3rem, 5.5vw, 5.2rem); max-width: 11ch; margin: 25px 0; }
.hero h1 .marked { color: #ffbb9b; }
.marked { position: relative; white-space: nowrap; isolation: isolate; }
.marked::after { content: ""; position: absolute; z-index: -1; left: -2%; right: -2%; bottom: .04em; height: .2em; border-radius: 45% 20% 50% 30%; background: #f3c9b6; transform: rotate(-2deg); }
.hero .marked::after { height: 4px; background: currentColor; bottom: -.04em; }
.hero-description { max-width: 39ch; color: #f3efeb; font-size: 1.1875rem; line-height: 1.65; }
.actions { display: flex; gap: 27px; align-items: center; flex-wrap: wrap; margin-top: 30px; }
.text-link { font-size: 1rem; font-weight: 700; text-decoration-thickness: 1px; }
.text-link:hover { text-decoration-thickness: 2px; }
.reassurance { font-size: .875rem; color: #e2dedb; margin-top: 19px; }
.travel-note { align-self: end; justify-self: end; width: min(100%, 300px); margin: 0 8px 24px 0; padding: 25px 26px 20px; background: var(--page); color: var(--ink); border-radius: 17px; box-shadow: var(--shadow); transform: rotate(4deg); }
.note-top { display: flex; justify-content: space-between; align-items: center; font-size: .8125rem; font-weight: 700; color: var(--muted); }
.note-top .icon { width: 28px; height: 28px; color: var(--accent); }
.note-title { font: 700 2rem/1.1 var(--hand); margin: 18px 0; }
.note-route { width: 100%; height: 65px; color: var(--accent); }
.note-bottom { border-top: 1px dashed #b9b4ac; padding-top: 15px; margin-top: 14px; display: flex; justify-content: space-between; gap: 12px; font-size: .8125rem; }
.note-bottom strong { color: var(--accent); }
.trip-strip { display: flex; justify-content: center; gap: 55px; flex-wrap: wrap; padding-block: 28px; border-bottom: 1px solid var(--line); font-size: .9375rem; font-weight: 600; }
.trip-strip span { display: flex; align-items: center; gap: 11px; }
.icon { width: 24px; height: 24px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.trip-strip .icon { color: var(--accent); width: 21px; height: 21px; }
.eyebrow { font: 600 1.75rem/1.3 var(--hand); color: var(--accent-hover); margin-bottom: 12px; }
.section-heading { display: flex; justify-content: space-between; gap: 48px; align-items: end; margin-bottom: 42px; }
.section-heading h2 { max-width: 17ch; }
.section-heading > p { max-width: 34ch; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature-card { padding: 30px; border-radius: var(--radius); background: var(--peach); }
.feature-card:nth-child(2) { background: var(--mint); }
.feature-card:nth-child(3) { background: var(--sand); }
.icon-key { display: inline-flex; align-items: center; justify-content: center; width: 51px; height: 51px; background: var(--surface); color: var(--accent); border-radius: 16px; margin-bottom: 27px; box-shadow: 0 3px 0 #2e303c10; }
.feature-card h3 { margin-bottom: 12px; }
.feature-card > p { color: var(--muted); }
.feature-detail { border-top: 1px solid #2e303c26; margin-top: 28px; padding-top: 18px; font-size: .875rem; font-weight: 600; }
.extra-features { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 35px; padding-inline: 10px; }
.extra-feature { display: flex; gap: 17px; }
.extra-feature > .icon { margin-top: 4px; color: var(--accent); }
.extra-feature h3 { font-size: 1.0625rem; margin-bottom: 5px; }
.extra-feature p { font-size: 1rem; color: var(--muted); }
.product-section { background: #f1f2ed; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split-copy h2 { max-width: 15ch; }
.split-copy > p:not(.eyebrow) { margin-top: 24px; color: var(--muted); }
.feature-list { margin: 28px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.feature-list li { display: flex; gap: 13px; align-items: start; }
.feature-list .icon { color: var(--accent); margin-top: 3px; width: 20px; height: 20px; }
.screens { display: flex; align-items: center; justify-content: center; gap: 20px; padding: 23px 10px; min-width: 0; }
.screens figure { width: 46%; max-width: 235px; }
.screens figure:first-child { transform: translateY(-18px) rotate(-5deg); }
.screens figure:last-child { transform: translateY(18px) rotate(5deg); }
.screens img { width: 100%; border-radius: 19px; box-shadow: var(--shadow); }
.screens figcaption { font-size: .8125rem; color: var(--muted); text-align: center; margin-top: 16px; }
.story-photo { position: relative; padding: 10px 20px 25px 0; }
.story-photo img { width: 100%; max-width: 510px; }
.story-photo figcaption { position: absolute; bottom: 22px; left: 8px; background: var(--page); padding: 9px 20px; font: 600 1.65rem var(--hand); transform: rotate(-4deg); }
.story-copy .mission-line { border-left: 3px solid var(--accent); padding-left: 22px; font-size: 1.2rem; font-weight: 600; color: var(--ink); }
.community-section { padding-block: clamp(64px, 7vw, 96px) 35px; margin-bottom: clamp(64px, 7vw, 96px); background: radial-gradient(ellipse at 52% 65%, #69473845, transparent 65%), linear-gradient(135deg, #35343f, #252832); color: var(--page); overflow: hidden; }
.community-heading { max-width: 640px; margin-inline: auto; text-align: center; }
.community-heading .eyebrow { color: #edb69b; }
.community-heading h2 { font-size: clamp(2.25rem, 4.5vw, 3.7rem); }
.community-heading .marked { color: #ffc6a6; }
.community-heading .marked::after { height: 3px; bottom: -.06em; background: currentColor; }
.community-heading > p:last-child { max-width: 47ch; margin: 25px auto 0; color: #d4d1d4; font-size: 1.0625rem; }
.community-map { margin: 28px auto 0; max-width: 1080px; }
.community-map > img { width: 100%; height: auto; }
.community-map-caption { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #ffffff20; padding-top: 24px; margin-top: 12px; }
.community-legend { display: inline-flex; align-items: center; gap: 12px; color: #e0dce0; font-size: .875rem; }
.community-swatch { width: 38px; height: 12px; flex-shrink: 0; border-radius: 99px; background: linear-gradient(100deg, #f7d9be, #d97150); }
.community-note { color: #edb69b; font: 600 1.5rem/1.3 var(--hand); }
.closing { padding: 0 0 96px; }
.closing-panel { background: var(--peach); border-radius: 32px; padding: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; }
.closing-panel h2 { max-width: 15ch; }
.closing-panel .closing-copy { margin-top: 22px; color: var(--muted); max-width: 38ch; }
.closing .reassurance { color: var(--muted); }
.app-summary { background: var(--surface); border-radius: 24px; padding: 29px; box-shadow: var(--shadow); transform: rotate(2deg); }
.app-summary-top { display: flex; gap: 17px; align-items: center; padding-bottom: 24px; border-bottom: 1px dashed var(--line); }
.app-summary-top img { width: 72px; height: 72px; border: 1px solid #eee; border-radius: 20px; }
.app-summary-top strong { display: block; font: 800 1.3rem var(--display); }
.app-summary-top span { font-size: .875rem; color: var(--muted); }
.app-facts { margin: 20px 0 0; display: grid; gap: 15px; }
.app-facts div { display: grid; grid-template-columns: 85px 1fr; gap: 12px; font-size: .875rem; }
.app-facts dt { color: var(--muted); }
.app-facts dd { margin: 0; font-weight: 600; }
.site-footer { background: var(--ink); color: var(--page); padding: 56px 0 25px; }
.footer-main { display: flex; justify-content: space-between; gap: 35px; }
.footer-tagline { color: #c4c5cc; margin-top: 16px; font-size: 1rem; }
.footer-links { display: flex; flex-wrap: wrap; align-content: start; gap: 10px 30px; font-size: .9375rem; }
.footer-links a { padding-block: 10px; }
.footer-bottom { border-top: 1px solid #ffffff26; margin-top: 40px; padding-top: 23px; display: flex; justify-content: space-between; gap: 20px; color: #c4c5cc; font-size: .8125rem; }
/* Content is visible by default, including if JavaScript fails to load. */
.reveal-in { animation: rise-in .7s var(--ease) both; }
@keyframes rise-in { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.legal-hero { padding: 70px 0; background: var(--peach); }
.legal-hero h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
.legal-updated { display: block; margin-top: 20px; color: var(--muted); }
.legal-page { padding-block: 64px 90px; }
.legal-content { max-width: 800px; margin-inline: auto; overflow-wrap: anywhere; }
.legal-content h4 { font-size: 1.45rem; margin: 44px 0 18px; scroll-margin-top: 115px; }
.legal-content h5 { font: 700 1.15rem var(--display); margin: 25px 0 15px; }
.legal-content p, .legal-content blockquote { margin: 0 0 22px; }
.legal-content blockquote { padding: 0; }
.legal-content a { color: var(--accent-hover); }
.legal-content .translation { padding: 20px 24px; border-left: 3px solid var(--accent); border-radius: 0 12px 12px 0; background: var(--peach); }
@media (min-width: 1600px) { .hero { max-width: 1552px; margin-inline: auto; } }
@media (max-width: 1000px) {
  .container { width: calc(100% - 64px); }
  .header-inner { min-height: 78px; flex-wrap: wrap; gap: 0; padding-block: 14px; }
  .menu-ready .menu-toggle { display: block; }
  .site-nav { width: 100%; display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 15px; padding-top: 14px; border-top: 1px solid var(--line); }
  .menu-ready .site-nav { display: none; }
  .menu-ready .site-nav[data-open] { display: flex; }
  .site-nav .button { margin-left: auto; }
  .hero-inner { grid-template-columns: 1.6fr 1fr; gap: 26px; min-height: 620px; }
  .hero h1 { font-size: clamp(3.2rem, 6.5vw, 4.3rem); }
  .travel-note { padding: 20px; }
  .feature-card { padding: 25px; }
  .section-heading { gap: 30px; }
  .split { gap: 40px; }
  .closing-panel { gap: 35px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .brand { font-size: 1.5rem; }
  .brand img { width: 39px; height: 39px; }
  .hero { margin-inline: 12px; border-radius: 22px; background-position: 57% center; }
  .hero::before { background: linear-gradient(90deg, #181d26d9, #181d2666); }
  .hero-inner { min-height: 610px; display: block; padding-block: 57px; }
  .hero h1 { font-size: clamp(3.1rem, 9vw, 4.3rem); max-width: 12ch; }
  .hero-description { font-size: 1.125rem; max-width: 37ch; }
  .travel-note { display: none; }
  .trip-strip { gap: 14px 25px; padding-block: 24px; justify-content: flex-start; font-size: .875rem; }
  .trip-strip span:last-child { display: none; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 24px; max-width: 45ch; }
  .feature-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-card { padding: 28px; }
  .icon-key { margin-bottom: 20px; }
  .extra-features { grid-template-columns: 1fr; gap: 25px; padding-inline: 0; }
  .split { grid-template-columns: 1fr; gap: 45px; }
  .split-copy h2 { max-width: 17ch; }
  .screens { padding: 20px 8px; gap: 18px; }
  .story-photo { max-width: 500px; margin-inline: auto; }
  .story-copy { grid-row: 1; }
  .community-map { margin-top: 32px; }
  .community-map-caption { flex-direction: column; align-items: center; gap: 16px; margin-top: 24px; text-align: center; }
  .community-heading > p:last-child { font-size: 1rem; }
  .closing { padding-bottom: 64px; }
  .closing-panel { grid-template-columns: 1fr; gap: 40px; padding: 32px 26px; }
  .app-summary { transform: none; padding: 24px; }
  .footer-main, .footer-bottom { flex-direction: column; }
  .footer-links { gap: 5px 25px; }
  .legal-hero { padding-block: 50px; }
}
@media (max-width: 390px) {
  .hero-label { font-size: .8125rem; }
  .hero h1 { font-size: 2.9rem; }
  .actions { gap: 23px; }
  .app-summary-top { gap: 12px; }
  .app-summary-top img { width: 56px; height: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
