/* Travio website. Colors come from the app's tokens (TravioColor.swift), lifted into a sky. */
@font-face {
  font-family: "Fredoka";
  src: url("fonts/fredoka.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Nunito";
  src: url("fonts/nunito.woff2") format("woff2");
  font-weight: 200 1000;
  font-display: swap;
}

/* Lets the pins keep their size while the map zooms. */
@property --k { syntax: "<number>"; inherits: true; initial-value: 1; }

:root {
  color-scheme: light;

  /* App tokens */
  --ink: #14171A;           /* textPrimary, and the app's selected chip */
  --line: #E2E5EA;          /* lineStrong */
  --surface: #FFFFFF;       /* surfaceCard */
  --blue: #2D8CFF;          /* accentBlue: route, focus */
  --blue-soft: #EAF3FF;     /* accentBlueSoft */
  --culture: #8E6CF0;
  --beach: #13B5C1;
  --nature: #26B86B;
  --landmark: #E0892B;
  --culture-soft: #F2EEFE;
  --beach-soft: #E3F8FA;
  --nature-soft: #E7F8EF;
  --landmark-soft: #FDF1E4;

  /* Website additions, each needed for 4.5:1 on the sky */
  --ink-2: #5A606A;         /* textSecondary darkened: 5.2:1 on --sky-1 */
  --link: #1565C8;          /* 4.7:1 on --sky-1 */
  --culture-ink: #6B4BD1;
  --beach-ink: #0A7780;
  --nature-ink: #157A46;
  --landmark-ink: #A65C12;
  --sky-1: #D5EDFF;
  --sky-2: #EAF6FF;
  --sky-3: #F7FBFF;
  --sea: #BDE5FF;
  --land: #A9E8B8;
  --land-edge: #6FC08D;
  --sand: #FFF3CF;
  --mist: #F3F7FB;
  --mist-2: #E6ECF3;
  --metal-1: #E9EEF4;
  --metal-2: #D8E0EA;
  --metal-3: #CBD4DF;

  --display: "Fredoka", "Nunito", -apple-system, system-ui, sans-serif;
  --body: "Nunito", -apple-system, system-ui, sans-serif;
  --r-xl: 44px;
  --r-l: 30px;
  --r-m: 24px;
  --tap: 44px;
  --ease: cubic-bezier(.22, .9, .3, 1);
  --bounce: cubic-bezier(.34, 1.4, .64, 1);
  --clay: inset 0 2px 2px rgba(255, 255, 255, .85), inset 0 -4px 8px rgba(70, 110, 160, .16), 0 8px 18px -8px rgba(40, 80, 130, .4);
  --lift: 0 28px 54px -24px rgba(40, 80, 130, .34);
  font-family: var(--body);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
}

* { box-sizing: border-box; }
::selection { background: var(--blue); color: #fff; }
html { scrollbar-color: var(--metal-3) transparent; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: linear-gradient(180deg, var(--sky-1) 0, var(--sky-2) 760px, var(--sky-3) 1500px, var(--surface) 2600px);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -.012em; line-height: 1.08; text-wrap: balance; }
h1 { font-size: clamp(42px, 5.6vw, 66px); }
h2 { font-size: clamp(32px, 4.4vw, 50px); }
h3 { font-weight: 600; }
button { font: inherit; color: inherit; cursor: pointer; }
svg { fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 12px; }
.skip-link { position: absolute; left: -999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 50; background: var(--surface); padding: 10px 16px; border-radius: 12px; }

.lead { margin: 14px auto 0; max-width: 60ch; color: var(--ink-2); font-size: clamp(17px, 2vw, 19px); text-wrap: pretty; }
.head { text-align: center; max-width: 760px; margin: 0 auto; padding: 0 20px; }

/* Controls */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: var(--tap);
  padding: 0 20px; border-radius: 999px;
  background: var(--ink); color: #fff; text-decoration: none; font-weight: 800; font-size: 15px;
  box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, .28), 0 10px 18px -8px rgba(20, 23, 26, .55);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.store { display: inline-block; border-radius: 12px; filter: drop-shadow(0 12px 14px rgba(20, 23, 26, .28)); transition: transform .18s var(--ease); }
.store:hover { transform: translateY(-2px); }
.store:active { transform: translateY(1px); }
.store img { width: 162px; height: 54px; }
.icon-btn {
  display: inline-grid; place-items: center; width: var(--tap); height: var(--tap); padding: 0; border: 0; border-radius: 50%;
  background: var(--surface); color: var(--ink); box-shadow: var(--clay);
  transition: transform .18s var(--ease);
}
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { transform: translateY(-1px); }
.icon-btn:active { transform: translateY(1px); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 26px auto 0; padding: 0 16px; }
.chip {
  min-height: var(--tap); border: 0; padding: 0 18px; border-radius: 999px; font-weight: 800; font-size: 15px;
  background: var(--mist); color: var(--ink-2); box-shadow: inset 0 1px 1px #fff, 0 2px 5px -2px rgba(40, 80, 130, .3);
  transition: transform .18s var(--ease), background .18s, color .18s;
}
.chip:hover { transform: translateY(-1px); }
.chip:active { transform: translateY(1px); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: inset 0 1.5px 1px rgba(255, 255, 255, .28), 0 8px 14px -8px rgba(20, 23, 26, .6); }

/* Nav */
.nav {
  position: fixed; z-index: 30; top: 12px; left: 50%; transform: translateX(-50%);
  width: min(760px, calc(100% - 24px));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 6px 8px 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: inset 0 1px 0 #fff, 0 12px 28px -14px rgba(40, 80, 130, .45);
}
.brand { display: inline-flex; align-items: center; gap: 9px; min-height: var(--tap); font-family: var(--display); font-weight: 600; font-size: 19px; text-decoration: none; }
.brand img { border-radius: 9px; }
.nav nav { display: flex; gap: 8px; }
.nav nav a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 10px; text-decoration: none; font-weight: 700; font-size: 15px; color: var(--ink-2); transition: color .15s; }
.nav nav a:hover { color: var(--ink); }

/* Hero: the planet comes first */
.hero { position: relative; padding: 64px 20px 34px; text-align: center; overflow: hidden; }
.globe { position: relative; margin: 0 auto; width: 100%; max-width: 1180px; height: clamp(340px, 47vh, 560px); }
.globe canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; display: block;
  cursor: grab; touch-action: pan-y; opacity: 0;
  -webkit-user-select: none; user-select: none;
}
.globe.ready canvas { opacity: 1; transition: opacity .5s; animation: settle .9s var(--ease); }
.globe canvas.grabbing { cursor: grabbing; }
@keyframes settle { from { transform: scale(.9) rotate(-3deg); } to { transform: none; } }
.globe-glow {
  position: absolute; left: 50%; top: 50%; aspect-ratio: 1; height: 118%;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .95) 62%, rgba(255, 255, 255, .5) 76%, rgba(255, 255, 255, 0));
}
.globe-fallback {
  position: absolute; left: 50%; top: 50%; aspect-ratio: 1; height: 78%;
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #D5F0FF, #7CCBFF 62%, #57B3F5);
  box-shadow: inset -14px -18px 40px rgba(30, 110, 190, .35);
  transition: opacity .5s;
}
.globe.ready .globe-fallback { opacity: 0; }
.globe-label {
  position: absolute; left: 0; top: 0; pointer-events: none; z-index: 2;
  display: flex; gap: 6px; align-items: baseline; white-space: nowrap;
  padding: 6px 13px; border-radius: 999px; background: var(--surface); font-size: 14px;
  box-shadow: 0 10px 22px -8px rgba(40, 80, 130, .5);
}
.globe-label span { color: var(--ink-2); font-size: 13px; }
.globe-card {
  position: absolute; z-index: 3; right: max(0px, calc(50% - 500px)); top: 50%; width: 250px; margin-top: -138px;
  overflow: hidden; border-radius: var(--r-m); background: var(--surface); text-align: left; box-shadow: var(--lift);
  animation: card-in .35s var(--ease);
}
@keyframes card-in { from { opacity: 0; transform: translateY(10px); } }
.globe-card img { width: 100%; height: 130px; object-fit: cover; }
.globe-card-body { padding: 12px 16px 16px; }
.globe-card h3 { font-size: 21px; }
.globe-card p { margin: 3px 0 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.4; }
.where { font-weight: 700; }
.shut { position: absolute; right: 6px; top: 6px; }
.globe-controls { display: flex; justify-content: center; gap: 10px; margin: 2px 0 16px; }
.hero-copy { position: relative; }
.hero-copy .store { margin-top: 20px; }
.trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin: 22px 0 0; padding: 0; color: var(--ink-2); font-size: 14px; font-weight: 700; }

.sky-cloud {
  position: absolute; width: 170px; height: 54px; border-radius: 60px; background: var(--surface);
  box-shadow: inset 0 -8px 12px rgba(150, 195, 240, .35), 0 16px 26px -14px rgba(40, 80, 130, .3);
  animation: drift 26s ease-in-out infinite alternate;
}
.sky-cloud::before, .sky-cloud::after { content: ""; position: absolute; background: var(--surface); border-radius: 50%; }
.sky-cloud::before { width: 74px; height: 74px; left: 26px; top: -36px; }
.sky-cloud::after { width: 54px; height: 54px; right: 28px; top: -24px; }
.c1 { left: 5%; top: 150px; }
.c2 { right: 5%; top: 450px; transform: scale(.75); animation-duration: 34s; animation-direction: alternate-reverse; }
@keyframes drift { from { translate: -18px 0; } to { translate: 26px 0; } }
.paused * { animation-play-state: paused !important; }

/* Airplane windows: the app icon's shape, holding the world */
.windows { padding: 64px 0 20px; }
.window-track { margin-top: 30px; padding: 26px 0 10px; overflow-x: auto; scrollbar-width: none; perspective: 1100px; }
.window-track::-webkit-scrollbar { display: none; }
.window-belt { display: flex; gap: 26px; width: max-content; padding: 0 13px; }
.seat { margin: 0; width: clamp(150px, 19vw, 200px); flex: none; text-align: center; transition: transform .45s var(--bounce); }
.window-belt .seat:hover { transform: translateY(-8px) rotateY(-8deg); }
.seat figcaption { margin-top: 14px; font-weight: 800; font-size: 15px; }
.seat-frame {
  aspect-ratio: 5 / 7; border-radius: 46% / 34%; padding: 11%;
  background: linear-gradient(150deg, var(--surface), var(--metal-1) 70%, var(--metal-2));
  box-shadow: inset 0 2px 2px #fff, inset 0 -5px 10px rgba(120, 140, 170, .3), 0 24px 36px -16px rgba(40, 80, 130, .5);
}
.seat-glass {
  position: relative; height: 100%; overflow: hidden; border-radius: 46% / 34%;
  box-shadow: 0 0 0 3px var(--metal-3);
}
.seat-glass img { width: 100%; height: 100%; object-fit: cover; }
.shade {
  position: absolute; left: 0; right: 0; top: 0; height: 20%;
  background: linear-gradient(180deg, var(--sky-3), var(--metal-1));
  box-shadow: 0 3px 6px rgba(30, 50, 80, .25);
  transition: height .6s var(--ease);
}
.shade::after { content: ""; position: absolute; left: 37%; right: 37%; bottom: 5px; height: 4px; border-radius: 4px; background: var(--metal-3); }
.seat:hover .shade { height: 7%; }
.window-foot { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 12px; font-size: 14.5px; }
.window-foot a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--ink-2); }
.text-btn { display: inline-flex; align-items: center; gap: 6px; min-height: var(--tap); padding: 0 6px; border: 0; background: none; color: var(--ink-2); font-weight: 700; }
.text-btn svg { width: 16px; height: 16px; }

/* Big white card, as on the reference site */
.card {
  width: min(1240px, calc(100% - 24px)); margin: 56px auto 0; padding: clamp(48px, 7vw, 80px) 0 0;
  background: var(--surface); border-radius: var(--r-xl); box-shadow: var(--lift); overflow: hidden;
}
.feature-text { min-height: 3.2em; max-width: 56ch; margin: 20px auto 0; padding: 0 20px; text-align: center; color: var(--ink-2); text-wrap: pretty; }
/* The stage ends before the lower part of the screens, as the showcase is about the top of each. */
.phones { --pw: clamp(236px, 25vw, 310px); position: relative; height: calc(var(--pw) * 1.68); margin-top: 28px; perspective: 1500px; overflow: hidden; }
.phones::after { content: ""; position: absolute; z-index: 5; inset: auto 0 0; height: 70px; background: linear-gradient(180deg, rgba(255, 255, 255, 0), var(--surface)); pointer-events: none; }
.phone {
  position: absolute; left: 50%; top: 18px; width: var(--pw); margin-left: calc(var(--pw) / -2);
  padding: 9px; border-radius: 48px; background: var(--ink);
  box-shadow: inset 0 0 0 2px #3A3F47, 0 34px 50px -22px rgba(20, 40, 70, .55);
  transition: transform .7s var(--ease), opacity .5s;
  cursor: pointer;
}
.phone img { width: 100%; border-radius: 39px; }
.phone[data-pos="0"] { z-index: 3; transform: none; cursor: default; }
.phone[data-pos="1"] { z-index: 2; transform: translateX(78%) translateZ(-170px) rotateY(-24deg); }
.phone[data-pos="-1"] { z-index: 2; transform: translateX(-78%) translateZ(-170px) rotateY(24deg); }
.phone[data-pos="2"] { z-index: 1; transform: translateX(142%) translateZ(-340px) rotateY(-34deg); opacity: .55; }
.phone[data-pos="-2"] { z-index: 1; transform: translateX(-142%) translateZ(-340px) rotateY(34deg); opacity: .55; }
.phone[data-pos="off"] { z-index: 0; transform: translateZ(-500px); opacity: 0; pointer-events: none; }

/* The map */
.map-section { padding: 84px 0 0; }
.atlas {
  position: relative; width: min(1240px, calc(100% - 24px)); margin: 26px auto 0;
  height: clamp(440px, 44vw, 580px); border-radius: var(--r-xl); overflow: hidden;
  background-color: var(--sea);
  background-image: radial-gradient(rgba(255, 255, 255, .55) 1.6px, transparent 1.7px);
  background-size: 20px 20px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, .8), inset 0 -8px 20px rgba(60, 130, 200, .16), var(--lift);
}
.atlas-view { position: absolute; inset: 0; cursor: grab; touch-action: pan-y; overflow: hidden; }
.atlas-view.grabbing { cursor: grabbing; }
.atlas-stage { position: absolute; left: 0; top: 0; transform-origin: 0 0; --k: 1; }
.atlas-stage.moving { transition: transform .85s var(--ease), --k .85s var(--ease); }
.atlas-stage svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; overflow: visible; }
.land-edge { fill: var(--land-edge); stroke: none; }
.land-coast { fill: none; stroke: var(--sand); stroke-width: 2.4; }
.land { fill: var(--land); stroke: rgba(255, 255, 255, .85); stroke-width: .55; cursor: pointer; transition: fill .3s, filter .2s; vector-effect: non-scaling-stroke; }
.land:hover { filter: brightness(1.05) saturate(1.2); }
.route { fill: none; stroke: var(--blue); stroke-width: 2.6; stroke-dasharray: .1 7; animation: march 2.2s linear infinite; pointer-events: none; }
@keyframes march { to { stroke-dashoffset: -7.1; } }

.pin {
  position: absolute; width: 46px; height: 46px; margin: -52px 0 0 -23px; padding: 0; border: 0; background: none;
  transform: scale(calc(1 / var(--k))); transform-origin: 50% 113%;
  transition: opacity .3s, filter .3s;
  --c: var(--blue);
}
.pin.cat-culture { --c: var(--culture); } .pin.cat-beach { --c: var(--beach); }
.pin.cat-nature { --c: var(--nature); } .pin.cat-landmark { --c: var(--landmark); }
.pin-face {
  position: relative; display: block; width: 100%; height: 100%; border-radius: 50%; padding: 3px; background: var(--surface);
  box-shadow: 0 0 0 2.5px var(--c), 0 8px 12px -3px rgba(20, 60, 110, .5);
  transition: transform .35s var(--bounce);
  transform-origin: 50% 113%;
}
.pin-face::after {
  content: ""; position: absolute; left: 50%; bottom: -8px; width: 13px; height: 13px; margin-left: -6.5px;
  background: var(--surface); transform: rotate(45deg); border-radius: 0 0 4px 0; z-index: -1;
  box-shadow: 2.5px 2.5px 0 var(--c);
}
.pin-face img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.pin:hover { z-index: 5; }
.pin:hover .pin-face { transform: scale(1.25) translateY(-2px); }
.pin.active { z-index: 6; }
.pin.active .pin-face { transform: scale(1.4) translateY(-3px); box-shadow: 0 0 0 3.5px var(--c), 0 14px 18px -4px rgba(20, 60, 110, .55); }
.pin.dim { opacity: .2; filter: grayscale(1); pointer-events: none; }
.pin:focus-visible { outline: 0; }
.pin:focus-visible .pin-face { outline: 3px solid var(--ink); outline-offset: 5px; }

.zoom { position: absolute; left: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 8px; z-index: 8; }
.stats {
  position: absolute; left: 18px; top: 18px; z-index: 8; margin: 0; display: flex; gap: 14px; padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .9); font-size: 14px; font-weight: 700; color: var(--ink-2);
  box-shadow: 0 10px 18px -10px rgba(30, 80, 140, .5);
  pointer-events: none;
}
.stats b { font-family: var(--display); color: var(--ink); font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.postcard {
  position: absolute; right: 20px; top: 20px; bottom: 20px; width: 300px; z-index: 9;
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-l); background: var(--surface);
  box-shadow: 0 30px 46px -20px rgba(20, 60, 110, .6);
}
.postcard > img { width: 100%; flex: 1 1 40%; min-height: 0; object-fit: cover; }
.postcard-body { padding: 16px 20px 18px; }
.postcard h3 { font-size: 26px; margin-top: 10px; }
.postcard p { margin: 4px 0 0; font-size: 15px; color: var(--ink-2); line-height: 1.4; }
.postcard p + p { margin-top: 8px; }
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 800; }
.tag.cat-culture { background: var(--culture-soft); color: var(--culture-ink); }
.tag.cat-beach { background: var(--beach-soft); color: var(--beach-ink); }
.tag.cat-nature { background: var(--nature-soft); color: var(--nature-ink); }
.tag.cat-landmark { background: var(--landmark-soft); color: var(--landmark-ink); }
.postcard-nav { display: flex; gap: 8px; align-items: center; margin-top: 14px; }
.icon-btn.soft { flex: none; background: var(--mist); box-shadow: inset 0 1px 1px #fff; }
.next {
  flex: 1; min-width: 0; height: var(--tap); border: 0; border-radius: 999px; padding: 0 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  background: var(--blue-soft); color: var(--link); font-weight: 800; font-size: 14.5px; white-space: nowrap; overflow: hidden;
  transition: transform .18s var(--ease);
}
.next svg { flex: none; width: 15px; height: 15px; }
.next:hover { transform: translateY(-1px); }
.next:active { transform: translateY(1px); }
.fineprint { text-align: center; margin: 16px 20px 0; color: var(--ink-2); font-size: 14px; }

/* Privacy */
.privacy {
  display: grid; grid-template-columns: auto minmax(0, 520px); justify-content: center; align-items: center; gap: clamp(36px, 7vw, 90px);
  width: min(1100px, calc(100% - 40px)); margin: 100px auto 0;
}
.seat-big { width: clamp(220px, 26vw, 320px); }
.privacy h2 { margin-bottom: 18px; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding: 9px 0 9px 36px; color: var(--ink-2); font-size: 18px; line-height: 1.4; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 10px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--nature) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 12.5l3.5 3.5L17 9'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.text-link { display: inline-flex; align-items: center; min-height: var(--tap); margin-top: 8px; color: var(--link); font-weight: 800; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; padding: 96px 20px 0; }
.faq .head { margin-bottom: 26px; }
.faq details { margin-top: 10px; border-radius: var(--r-m); background: var(--mist); box-shadow: inset 0 1px 1px #fff; }
.faq summary { cursor: pointer; list-style: none; min-height: 58px; padding: 16px 54px 16px 22px; font-weight: 800; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq > details summary::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235A606A' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .25s var(--ease);
}
.faq > details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--ink-2); }
.more { text-align: center; color: var(--ink-2); margin: 14px 0 0; }
.more a { display: inline-flex; align-items: center; min-height: var(--tap); color: var(--link); font-weight: 800; }

/* Closing: three windows open, one question */
.closing { padding: 100px 20px 90px; text-align: center; overflow: hidden; }
.closing-windows { display: flex; justify-content: center; align-items: flex-end; gap: clamp(14px, 3vw, 34px); margin-bottom: 44px; }
.closing-windows .seat { width: clamp(100px, 22vw, 260px); }
.closing-windows .seat:nth-child(2) { width: clamp(118px, 26vw, 310px); }
.js .closing-windows .shade { height: 100%; transition: height 1.3s var(--ease); }
.js .closing-windows.open .shade { height: 16%; }
.closing-windows .seat:nth-child(2) .shade { transition-delay: .15s; }
.closing-windows .seat:nth-child(3) .shade { transition-delay: .3s; }
.closing h2 { font-size: clamp(44px, 8vw, 84px); margin-bottom: 28px; }

.footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 26px;
  width: min(1240px, 100%); margin: 0 auto; padding: 20px 24px 30px; border-top: 1px solid var(--line); font-size: 14.5px;
}
.footer nav { display: flex; gap: 14px; }
.footer nav a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 4px; color: var(--ink-2); text-decoration: none; font-weight: 700; }
.footer nav a:hover { color: var(--ink); }
.footer small { flex-basis: 100%; color: var(--ink-2); font-size: 13px; }

/* Privacy, support and credits pages */
.page { width: min(760px, calc(100% - 40px)); margin: 0 auto; padding: 110px 0 70px; }
.page-head h1 { font-size: clamp(38px, 6vw, 58px); }
.page-head .meta { margin: 12px 0 0; color: var(--ink-2); font-size: 15px; font-weight: 700; }
.page-head .lead { margin: 16px 0 0; }
.back { display: inline-flex; align-items: center; gap: 2px; min-height: var(--tap); margin-bottom: 8px; color: var(--link); font-weight: 800; text-decoration: none; }
.page-card { margin-top: 26px; }
.page-card section + section { margin-top: 34px; }
.page-card h2, .page h2.section-title { font-size: 26px; margin-bottom: 10px; line-height: 1.2; }
.page h2.section-title { margin: 38px 0 12px; font-size: 30px; }
.page-card h3 { font-size: 19px; margin: 18px 0 6px; }
.page-card p, .page-card li { color: var(--ink-2); max-width: 70ch; text-wrap: pretty; }
.page-card strong { color: var(--ink); }
.page-card a, .answer a { color: var(--link); }
.page-card ul { padding-left: 22px; }
.page-card li { margin-top: 8px; }
.num { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; margin-right: 10px; border-radius: 10px; background: var(--blue-soft); color: var(--link); font-size: 15px; vertical-align: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.summary-card { padding: 22px 24px; border-radius: var(--r-m); background: var(--surface); box-shadow: var(--lift); }
.summary-card ul { list-style: none; padding: 0; }
.summary-card li { position: relative; padding-left: 34px; }
.tick { position: absolute; left: 0; top: 1px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--nature); color: #fff; }
.icon { width: 14px; height: 14px; }
.icon.fill { fill: currentColor; stroke: none; }
.services { list-style: none; padding: 0; }
.contact-card { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 18px; padding: 20px 22px; border-radius: var(--r-m); background: var(--surface); box-shadow: var(--lift); }
.contact-card .ic { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 16px; background: var(--blue-soft); color: var(--blue); }
.contact-card .ic .icon { width: 22px; height: 22px; }
.contact-card .txt { flex: 1 1 240px; display: flex; flex-direction: column; color: var(--ink-2); font-size: 15px; }
.contact-card .txt strong { color: var(--ink); font-size: 17px; }
.btn-accent { color: #fff !important; }
.page .faq { max-width: none; padding: 0; }
.page .faq summary { display: flex; align-items: center; gap: 12px; padding-right: 22px; }
.q-ic, .chev { display: grid; place-items: center; flex: none; }
.q-ic { width: 32px; height: 32px; border-radius: 11px; background: var(--blue-soft); color: var(--blue); }
.q-ic .icon { width: 16px; height: 16px; }
.chev { margin-left: auto; color: var(--ink-2); transition: transform .25s var(--ease); }
.page .faq details[open] .chev { transform: rotate(180deg); }
.answer { padding: 0 22px 20px; color: var(--ink-2); }
.answer p { padding: 0; margin: 0 0 10px; }
.credits { width: 100%; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.credits th, .credits td { padding: 10px 8px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; overflow-wrap: break-word; }
.credits th { border-top: 0; color: var(--ink-2); }

/* Tablets and phones */
@media (max-width: 899px) {
  :root { --r-xl: 34px; }
  .nav nav { display: none; }
  .c2 { display: none; }
  .c1 { left: -60px; top: 96px; transform: scale(.6); }
  .hero { padding-top: 66px; }
  .globe { height: min(88vw, 480px); }
  .globe-card { left: 50%; right: auto; top: auto; bottom: 8px; width: min(320px, 92%); margin: 0 0 0 calc(min(320px, 92%) / -2); display: grid; grid-template-columns: 96px 1fr; }
  .globe-card img { height: 100%; }
  .globe-card-body { padding: 10px 40px 12px 12px; }
  .globe-card h3 { font-size: 18px; }
  .globe-card p:last-child { display: none; }
  .atlas { height: auto; display: flex; flex-direction: column; }
  .atlas-view { position: relative; inset: auto; height: 340px; flex: none; }
  .stats { left: 12px; top: 288px; padding: 6px 12px; font-size: 13px; }
  .zoom { left: auto; right: 12px; top: 12px; bottom: auto; flex-direction: row; }
  .pin { width: 44px; height: 44px; margin: -50px 0 0 -22px; }
  .pin-face { width: 36px; height: 36px; margin: 8px auto 0; padding: 2px; box-shadow: 0 0 0 2px var(--c), 0 6px 10px -3px rgba(20, 60, 110, .5); }
  .pin-face::after { width: 10px; height: 10px; margin-left: -5px; bottom: -6px; }
  .postcard { position: relative; inset: auto; width: auto; margin: 10px; border-radius: 26px; }
  .postcard > img { flex: none; height: 170px; }
  .privacy { grid-template-columns: 1fr; justify-items: center; margin-top: 76px; }
  .privacy-copy { width: 100%; }
  .credits thead { display: none; }
  .credits tr { display: block; padding: 12px 0; border-top: 1px solid var(--line); }
  .credits tr:first-child { border-top: 0; }
  .credits td { display: inline; border: 0; padding: 0 10px 0 0; }
  .credits td:first-child { display: block; font-weight: 800; color: var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .closing-windows .shade { height: 16%; }
}
