:root {
  color-scheme: light;
  --ink: #122f39;
  --ink-deep: #082f3d;
  --muted: #5c6e72;
  --line: #d9e3df;
  --cream: #f6f3ea;
  --paper: #fffdf8;
  --white: #ffffff;
  --teal: #087d81;
  --teal-light: #cfecee;
  --coral: #ef765a;
  --coral-dark: #d9563f;
  --gold: #f5c86b;
  --shadow: 0 22px 60px rgba(12, 49, 59, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

body,
button,
a {
  -webkit-font-smoothing: antialiased;
}

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

img {
  max-width: 100%;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-150%);
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink-deep);
  border-radius: 8px;
}

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

.hero {
  position: relative;
  min-height: 810px;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background: var(--ink-deep);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero::before {
  background: linear-gradient(90deg, rgba(4, 34, 44, 0.98) 0%, rgba(5, 43, 55, 0.91) 38%, rgba(7, 51, 62, 0.48) 66%, rgba(7, 42, 54, 0.2) 100%);
}

.hero::after {
  background: linear-gradient(0deg, rgba(8, 47, 61, 0.85), transparent 30%);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}

.topbar {
  width: min(1240px, calc(100% - 48px));
  min-height: 82px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 22px;
  font-weight: 850;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.brand-mark {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 30px;
  border: 2px solid currentColor;
  border-radius: 50%;
  transform: rotate(18deg);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: var(--coral);
  transform: translate(-50%, -50%);
}

.brand-mark::before {
  width: 6px;
  height: 22px;
  clip-path: polygon(50% 0, 100% 50%, 50% 43%, 0 50%);
}

.brand-mark::after {
  width: 22px;
  height: 6px;
  clip-path: polygon(50% 0, 57% 50%, 50% 100%, 0 50%);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 27px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:not(.login-link):not(.nav-cta):hover {
  color: var(--gold);
}

.login-link {
  margin-left: 10px;
  padding: 9px 2px;
}

.nav-cta {
  padding: 10px 18px;
  color: var(--ink-deep);
  background: var(--white);
  border-radius: 999px;
}

.hero-content {
  width: min(1240px, calc(100% - 48px));
  min-height: 640px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  gap: 78px;
  align-items: center;
  padding: 66px 0 96px;
}

.hero-copy {
  max-width: 730px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--teal);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 6.4vw, 92px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.dek {
  max-width: 650px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
}

.hero-actions,
.download-actions,
.final-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
}

.hero-actions {
  margin-top: 32px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 21px;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary,
.button-download {
  color: var(--white);
  background: var(--coral);
  box-shadow: 0 14px 30px rgba(239, 118, 90, 0.24);
}

.button-primary:hover,
.button-download:hover {
  background: var(--coral-dark);
}

.button-ghost {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(8px);
}

.button-light {
  color: var(--ink-deep);
  background: var(--white);
}

.hero-note {
  margin: 17px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.journey-card {
  position: relative;
  width: min(390px, 100%);
  margin-left: auto;
  padding: 12px;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  box-shadow: 0 30px 70px rgba(0, 20, 26, 0.35);
  transform: rotate(2deg);
}

.journey-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 16px -13px -15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 14px;
  background: rgba(7, 65, 76, 0.5);
  transform: rotate(-5deg);
}

.journey-card-photo {
  height: 245px;
  border-radius: 9px;
  background: url('/assets/trippy-u-hero.png') 75% 52% / 235% auto no-repeat;
}

.journey-card-body {
  padding: 14px 7px 7px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-end;
}

.journey-card-body > div {
  display: grid;
}

.journey-card-body strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.mini-label,
.photo-count {
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.journey-route {
  position: absolute;
  left: -55px;
  bottom: 52px;
  display: flex;
  align-items: center;
  transform: rotate(-10deg);
}

.journey-route span {
  width: 13px;
  height: 13px;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(239, 118, 90, 0.35);
}

.journey-route i {
  width: 38px;
  border-top: 2px dashed rgba(255, 255, 255, 0.8);
}

main {
  overflow: hidden;
}

.intro-strip {
  width: min(1180px, calc(100% - 48px));
  margin: -58px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.intro-strip > div {
  min-height: 116px;
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 24px 31px;
}

.intro-strip > div + div {
  border-left: 1px solid var(--line);
}

.intro-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.intro-strip strong {
  color: var(--ink);
  font-size: 16px;
}

.strip-number {
  color: var(--coral);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-style: italic;
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 120px 0;
}

.section-centered {
  text-align: center;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(39px, 4.6vw, 61px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.04;
}

.section-lede {
  max-width: 720px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.platform-grid {
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  text-align: left;
}

.platform-card {
  position: relative;
  overflow: hidden;
  min-height: 490px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.platform-web {
  background: #f2f7f5;
}

.platform-android {
  background: #fff1e9;
}

.platform-icon {
  position: absolute;
  top: 38px;
  right: 38px;
  width: 72px;
  height: 72px;
  color: var(--teal);
  border: 2px solid currentColor;
  opacity: 0.85;
}

.browser-icon {
  border-radius: 7px;
}

.browser-icon::before {
  content: "•••";
  position: absolute;
  top: -6px;
  left: 7px;
  letter-spacing: 1px;
}

.browser-icon::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 0;
  right: 0;
  border-top: 2px solid currentColor;
}

.phone-icon {
  width: 47px;
  border-radius: 12px;
}

.phone-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 10px;
  height: 3px;
  border-radius: 999px;
  background: currentColor;
  transform: translateX(-50%);
}

.card-kicker {
  margin: 0 0 80px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.platform-card h3,
.feature-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 500;
  line-height: 1.15;
}

.platform-card > p:not(.card-kicker),
.feature-card > p {
  color: var(--muted);
}

.platform-card > p:not(.card-kicker) {
  max-width: 475px;
  margin: 14px 0 22px;
}

.check-list {
  margin: 0 0 27px;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
  font-size: 14px;
  font-weight: 700;
}

.check-list li::before {
  content: "✓";
  display: inline-grid;
  width: 21px;
  height: 21px;
  margin-right: 9px;
  place-items: center;
  color: var(--teal);
  background: rgba(8, 125, 129, 0.1);
  border-radius: 50%;
  font-size: 12px;
}

.text-link {
  color: var(--coral-dark);
  font-size: 14px;
  font-weight: 850;
}

.feature-section {
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100vw - 1180px) / 2));
  padding-left: max(24px, calc((100vw - 1180px) / 2));
  background: var(--cream);
}

.feature-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: end;
}

.feature-heading > p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 17px;
}

.feature-grid {
  margin-top: 58px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  padding: 31px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.feature-card-wide {
  grid-column: span 2;
}

.feature-number {
  display: block;
  margin-bottom: 45px;
  color: var(--coral);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.feature-card > p {
  max-width: 430px;
  margin: 13px 0 0;
}

.adventure-preview {
  position: absolute;
  right: 18px;
  bottom: -10px;
  width: 46%;
  height: 180px;
}

.preview-photo {
  position: absolute;
  width: 120px;
  height: 145px;
  padding: 8px 8px 25px;
  background-color: var(--white);
  background-image: url('/assets/trippy-u-hero.png');
  background-repeat: no-repeat;
  border: 7px solid var(--white);
  box-shadow: 0 12px 20px rgba(8, 47, 61, 0.18);
}

.preview-one {
  left: 12px;
  top: 20px;
  background-position: 83% 46%;
  background-size: 500%;
  transform: rotate(-8deg);
}

.preview-two {
  left: 32%;
  top: 1px;
  z-index: 2;
  background-position: 67% 44%;
  background-size: 460%;
  transform: rotate(3deg);
}

.preview-three {
  right: 4px;
  top: 23px;
  background-position: 91% 37%;
  background-size: 430%;
  transform: rotate(9deg);
}

.organize-tags,
.privacy-pills {
  position: absolute;
  left: 31px;
  right: 31px;
  bottom: 31px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.organize-tags span,
.privacy-pills span {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.organize-tags span {
  background: var(--cream);
  border: 1px solid var(--line);
}

.organize-tags b {
  color: var(--coral);
}

.map-line {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 47px;
  display: flex;
  align-items: center;
}

.map-line i {
  width: 17px;
  height: 17px;
  border: 5px solid rgba(8, 125, 129, 0.2);
  border-radius: 50%;
  background: var(--coral);
}

.map-line span {
  flex: 1;
  border-top: 2px dashed var(--teal);
}

.voice-wave {
  position: absolute;
  left: 32px;
  bottom: 35px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.voice-wave i {
  width: 4px;
  height: 18px;
  border-radius: 999px;
  background: var(--coral);
}

.voice-wave i:nth-child(2n) { height: 35px; }
.voice-wave i:nth-child(3n) { height: 52px; }

.feature-card-dark {
  color: var(--white);
  background: var(--ink-deep);
  border-color: var(--ink-deep);
}

.feature-card-dark > p {
  color: rgba(255, 255, 255, 0.68);
}

.privacy-pills span:first-child {
  color: var(--ink-deep);
  background: var(--white);
}

.privacy-pills span:last-child {
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
  color: var(--white);
  background: var(--ink-deep);
}

.story-visual,
.story-copy {
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: linear-gradient(150deg, #0c6670, #083746);
}

.story-visual::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 80px rgba(255, 255, 255, 0.03), 0 0 0 160px rgba(255, 255, 255, 0.02);
}

.device-phone {
  position: relative;
  z-index: 2;
  width: 165px;
  height: 330px;
  padding: 10px;
  border: 5px solid #d8e7e5;
  border-radius: 26px;
  background: var(--ink);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  transform: translate(16px, 25px) rotate(-6deg);
}

.device-phone::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: 5px;
  left: 50%;
  width: 47px;
  height: 7px;
  border-radius: 999px;
  background: var(--ink);
  transform: translateX(-50%);
}

.device-screen {
  height: 100%;
  padding: 170px 15px 16px;
  display: flex;
  flex-direction: column;
  color: var(--white);
  background: linear-gradient(0deg, rgba(3, 31, 40, 0.95), transparent 70%), url('/assets/trippy-u-hero.png') 77% center / auto 100%;
  border-radius: 14px;
}

.screen-label {
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.device-screen strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
}

.capture-button {
  width: 36px;
  height: 36px;
  margin: auto auto 0;
  border: 4px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: var(--coral);
}

.sync-path {
  position: relative;
  z-index: 3;
  width: 95px;
  display: flex;
  align-items: center;
}

.sync-path span {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold);
}

.sync-path i {
  flex: 1;
  border-top: 2px dashed rgba(255, 255, 255, 0.7);
}

.device-browser {
  position: relative;
  z-index: 2;
  width: 280px;
  height: 205px;
  padding: 34px 14px 14px;
  background: var(--paper);
  border: 5px solid #d8e7e5;
  border-radius: 9px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
  transform: translate(-10px, -22px) rotate(3deg);
}

.browser-dots {
  position: absolute;
  top: 9px;
  left: 12px;
  display: flex;
  gap: 4px;
}

.browser-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
}

.browser-content {
  height: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.browser-content span {
  border-radius: 4px;
  background-image: url('/assets/trippy-u-hero.png');
  background-size: 560%;
}

.browser-content span:nth-child(1) { background-position: 80% 42%; }
.browser-content span:nth-child(2) { background-position: 66% 50%; }
.browser-content span:nth-child(3) { background-position: 92% 38%; }

.story-copy {
  padding: 80px max(48px, calc((100vw - 1180px) / 2));
  align-items: flex-start;
  flex-direction: column;
}

.story-copy h2 {
  max-width: 550px;
}

.story-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
}

.story-copy .button {
  margin-top: 30px;
}

.android-section {
  padding-bottom: 75px;
}

.download-panel {
  min-height: 380px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 55px;
  align-items: center;
  overflow: hidden;
  padding: 60px;
  background: #eef7f3;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.download-copy > p:not(.eyebrow):not(.download-note) {
  max-width: 640px;
  margin: 18px 0 25px;
  color: var(--muted);
  font-size: 18px;
}

.button-download {
  min-height: 56px;
}

.version-note {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.download-note {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.android-badge {
  width: 245px;
  height: 245px;
  margin: auto;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  box-shadow: 0 0 0 20px rgba(8, 125, 129, 0.09), 0 0 0 45px rgba(8, 125, 129, 0.04);
}

.android-badge strong {
  font-size: 25px;
}

.android-badge small {
  color: rgba(255, 255, 255, 0.7);
}

.android-head {
  position: relative;
  width: 70px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 40px 40px 8px 8px;
  background: var(--white);
}

.android-head::before,
.android-head::after {
  content: "";
  position: absolute;
  top: -11px;
  width: 2px;
  height: 20px;
  background: var(--white);
}

.android-head::before { left: 17px; transform: rotate(-32deg); }
.android-head::after { right: 17px; transform: rotate(32deg); }

.android-head i {
  position: absolute;
  top: 18px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--teal);
}

.android-head i:first-child { left: 20px; }
.android-head i:last-child { right: 20px; }

.install-guide {
  padding: 105px 0 0;
}

.guide-heading {
  max-width: 760px;
}

.guide-heading > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
}

.install-steps {
  margin: 55px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.install-steps li {
  min-height: 195px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 31px 28px 31px 0;
  border-bottom: 1px solid var(--line);
}

.install-steps li:nth-child(odd) {
  padding-right: 42px;
  border-right: 1px solid var(--line);
}

.install-steps li:nth-child(even) {
  padding-left: 42px;
}

.install-steps li > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--coral);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
}

.install-steps strong {
  display: block;
  margin-bottom: 7px;
  font-size: 18px;
}

.install-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.install-steps b {
  color: var(--ink);
}

.safety-note {
  margin-top: 28px;
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 20px 24px;
  background: #fff8e8;
  border: 1px solid #eddba9;
  border-radius: 9px;
}

.safety-note > span {
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  font-weight: 900;
}

.safety-note p {
  margin: 0;
  font-size: 14px;
}

.faq-section {
  padding-top: 75px;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 95px;
}

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

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 23px 45px 23px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 800;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 5px;
  top: 20px;
  color: var(--coral);
  font-size: 24px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: -6px 45px 24px 0;
  color: var(--muted);
}

.final-cta {
  width: min(1180px, calc(100% - 48px));
  min-height: 310px;
  margin: 0 auto 100px;
  padding: 55px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: var(--white);
  background: linear-gradient(110deg, rgba(4, 37, 48, 0.94), rgba(4, 55, 67, 0.72)), url('/assets/trippy-u-hero.png') center 46% / cover;
  border-radius: 14px;
}

.final-cta h2 {
  max-width: 660px;
  font-size: clamp(36px, 4.5vw, 55px);
}

.final-actions {
  min-width: 210px;
  align-items: stretch;
  flex-direction: column;
}

footer {
  min-height: 190px;
  padding: 45px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "brand nav" "copy nav" "legal legal";
  gap: 4px 45px;
  color: rgba(255, 255, 255, 0.68);
  background: #062630;
}

.footer-brand {
  grid-area: brand;
  color: var(--white);
}

footer > p {
  grid-area: copy;
  margin: 0;
}

footer nav {
  grid-area: nav;
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
}

footer small {
  grid-area: legal;
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

@media (max-width: 1050px) {
  .nav-links {
    gap: 18px;
  }

  .hero-content {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 40px;
  }

  .journey-card {
    width: 320px;
  }

  .journey-card-photo {
    height: 210px;
  }

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

  .feature-card-wide {
    grid-column: span 2;
  }

  .story-section {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .device-browser {
    width: 220px;
  }

  .sync-path {
    width: 45px;
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
  }

  .topbar {
    width: min(100% - 32px, 1240px);
    min-height: 70px;
  }

  .nav-links a:not(.login-link):not(.nav-cta) {
    display: none;
  }

  .nav-links {
    gap: 14px;
  }

  .login-link {
    margin-left: 0;
  }

  .hero-content {
    width: min(100% - 32px, 1240px);
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 76px 0 135px;
  }

  .journey-card {
    width: min(390px, 88%);
    margin: 0 auto;
  }

  .intro-strip {
    grid-template-columns: 1fr;
    margin-top: -45px;
  }

  .intro-strip > div {
    min-height: 94px;
  }

  .intro-strip > div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .section {
    padding: 85px 0;
  }

  .platform-grid,
  .feature-heading,
  .story-section,
  .download-panel,
  .faq-section {
    grid-template-columns: 1fr;
  }

  .feature-heading {
    gap: 25px;
  }

  .feature-heading > p {
    max-width: 660px;
  }

  .story-copy {
    min-height: 520px;
  }

  .story-visual {
    min-height: 500px;
  }

  .download-panel {
    padding: 45px;
  }

  .android-badge {
    width: 190px;
    height: 190px;
  }

  .install-steps {
    grid-template-columns: 1fr;
  }

  .install-steps li:nth-child(odd),
  .install-steps li:nth-child(even) {
    min-height: auto;
    padding: 27px 0;
    border-right: 0;
  }

  .faq-section {
    gap: 45px;
  }

  .final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .final-actions {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .brand {
    font-size: 19px;
  }

  .brand-mark {
    width: 27px;
    height: 27px;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-cta {
    padding: 8px 13px;
  }

  h1 {
    font-size: clamp(47px, 14.5vw, 68px);
  }

  .hero-actions .button {
    width: 100%;
  }

  .journey-card-photo {
    height: 190px;
  }

  .journey-route {
    display: none;
  }

  .intro-strip,
  .section,
  .final-cta {
    width: min(100% - 32px, 1180px);
  }

  .platform-card {
    min-height: auto;
    padding: 30px;
  }

  .platform-icon {
    top: 27px;
    right: 27px;
    transform: scale(0.75);
    transform-origin: top right;
  }

  .card-kicker {
    margin-bottom: 65px;
  }

  .feature-section {
    width: 100%;
  }

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

  .feature-card-wide {
    grid-column: auto;
    min-height: 500px;
  }

  .adventure-preview {
    left: 20px;
    right: 20px;
    bottom: 0;
    width: auto;
  }

  .story-visual {
    min-height: 430px;
  }

  .device-phone {
    width: 135px;
    height: 270px;
  }

  .device-screen {
    padding-top: 135px;
  }

  .device-browser {
    width: 175px;
    height: 145px;
  }

  .sync-path {
    width: 20px;
  }

  .story-copy {
    min-height: 550px;
    padding: 70px 25px;
  }

  .download-panel {
    padding: 35px 25px;
  }

  .download-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .button-download {
    width: 100%;
  }

  .install-steps li {
    grid-template-columns: 38px 1fr;
    gap: 13px;
  }

  .final-cta {
    min-height: 420px;
    margin-bottom: 70px;
    padding: 42px 28px;
  }

  footer {
    grid-template-columns: 1fr;
    grid-template-areas: "brand" "copy" "nav" "legal";
  }

  footer nav {
    margin-top: 27px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
