:root {
  color-scheme: light;
  --forest: #174d3a;
  --forest-deep: #0b2f25;
  --forest-soft: #2f6c55;
  --mint: #a6d8b5;
  --mint-light: #e8f3eb;
  --water: #dceff5;
  --gold: #f2b84b;
  --gold-light: #fff1cc;
  --ink: #122019;
  --ink-soft: #4f5d56;
  --canvas: #f7f8f4;
  --white: #ffffff;
  --line: #d9e1da;
  --shadow: 0 24px 70px rgba(20, 54, 42, 0.15);
  --radius: 28px;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--white);
  color: var(--forest-deep);
  font-weight: 750;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

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

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  color: var(--white);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  gap: 30px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  font-size: 25px;
  font-weight: 780;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.wordmark-symbol {
  display: block;
  width: 48px;
  height: 28px;
  flex: 0 0 auto;
  background: url("/assets/waypoint-mark.svg") center / contain no-repeat;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  border-bottom: 1px solid transparent;
  color: inherit;
  font-size: 14px;
  font-weight: 720;
  letter-spacing: 0.03em;
  text-decoration: none;
}

.site-nav a:hover {
  border-color: currentColor;
}

.site-nav .nav-login {
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 12px;
  padding: 8px 15px;
}

.site-nav .nav-login:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 0;
  background: var(--forest);
  color: var(--white);
}

.hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.26;
}

.hero-glow-one {
  top: -220px;
  right: -120px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(166, 216, 181, 0.45);
  box-shadow: inset 0 0 120px rgba(166, 216, 181, 0.15);
}

.hero-glow-two {
  bottom: 60px;
  left: -180px;
  width: 420px;
  height: 420px;
  background: rgba(220, 239, 245, 0.13);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  min-height: 700px;
  gap: 64px;
}

.hero-copy {
  padding-bottom: 80px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  color: var(--forest-soft);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero .eyebrow,
.eyebrow.light {
  color: var(--mint);
}

.eyebrow > span {
  display: inline-block;
  width: 34px;
  height: 2px;
  background: currentColor;
}

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

h1,
h2 {
  margin: 0;
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

h1 {
  max-width: 760px;
  font-size: clamp(54px, 6.5vw, 86px);
}

h2 {
  font-size: clamp(42px, 5vw, 66px);
}

h1 em,
h2 em {
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
}

.hero-lede {
  max-width: 635px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.79);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button span {
  margin-left: 10px;
}

.button-primary {
  background: var(--gold);
  color: var(--forest-deep);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.button-quiet {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}

.travel-cues {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.travel-cues li {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 700;
}

.hero-visual {
  position: relative;
  align-self: end;
  min-height: 660px;
}

.phone {
  position: relative;
  z-index: 3;
  overflow: hidden;
  padding: 38px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 48px;
  background: #101815;
  box-shadow: var(--shadow);
}

.phone::before {
  position: absolute;
  z-index: 5;
  top: 10px;
  left: 50%;
  width: 84px;
  height: 20px;
  border-radius: 999px;
  background: #050806;
  content: "";
  transform: translateX(-50%);
}

.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: #eef3ef;
  aspect-ratio: 9 / 16;
}

.phone-screen img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: contain;
}

.phone-hero {
  width: min(420px, 94%);
  margin: 0 auto -155px;
  transform: rotate(2.2deg);
}

.route-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(166, 216, 181, 0.35);
  border-radius: 50%;
}

.route-orbit::before,
.route-orbit::after {
  position: absolute;
  width: 13px;
  height: 13px;
  border: 4px solid var(--forest);
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.route-orbit-one {
  top: 50px;
  right: -100px;
  width: 520px;
  height: 520px;
}

.route-orbit-one::before {
  top: 55px;
  left: 78px;
}

.route-orbit-one::after {
  right: 37px;
  bottom: 145px;
  background: var(--mint);
}

.route-orbit-two {
  right: 35px;
  bottom: -80px;
  width: 340px;
  height: 340px;
}

.floating-note {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
  padding: 12px 15px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--forest-deep);
  box-shadow: 0 16px 45px rgba(4, 23, 17, 0.2);
  backdrop-filter: blur(16px);
}

.floating-note strong,
.floating-note small {
  display: block;
  line-height: 1.35;
}

.floating-note strong {
  font-size: 13px;
}

.floating-note small {
  color: var(--ink-soft);
  font-size: 11px;
}

.floating-note-top {
  top: 135px;
  right: -38px;
}

.floating-note-bottom {
  bottom: 75px;
  left: -30px;
}

.note-dot {
  width: 16px;
  height: 16px;
  border: 4px solid var(--mint-light);
  border-radius: 50%;
  background: var(--forest);
  box-shadow: 0 0 0 1px var(--forest);
}

.note-calendar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--gold-light);
  font-size: 12px;
  font-weight: 850;
}

.hero-summary {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 -10px 50px rgba(7, 36, 27, 0.13);
}

.hero-summary div {
  display: flex;
  flex-direction: column;
  min-height: 122px;
  justify-content: center;
  padding: 24px 38px;
  border-right: 1px solid var(--line);
}

.hero-summary div:last-child {
  border-right: 0;
}

.hero-summary strong {
  color: var(--forest);
  font-size: 16px;
}

.hero-summary span {
  color: var(--ink-soft);
  font-size: 13px;
}

.section {
  padding: 110px 0;
}

.narrow-center {
  max-width: 790px;
  text-align: center;
}

.eyebrow.centered {
  justify-content: center;
}

.section-intro h2 {
  color: var(--forest-deep);
}

.section-intro h2 em {
  color: var(--forest-soft);
}

.section-intro .narrow-center > p:last-child {
  max-width: 700px;
  margin: 28px auto 0;
  color: var(--ink-soft);
  font-size: 20px;
}

.feature-section {
  padding-top: 0;
}

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

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

.feature-card::after {
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--mint-light);
  content: "";
  opacity: 0.7;
}

.feature-card:nth-child(2)::after,
.feature-card:nth-child(5)::after {
  background: var(--water);
}

.feature-card:nth-child(3)::after,
.feature-card:nth-child(4)::after {
  background: var(--gold-light);
}

.feature-number {
  position: absolute;
  top: 28px;
  right: 30px;
  color: #8b9790;
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.12em;
}

.feature-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 60px;
  place-items: center;
  border-radius: 17px;
  background: var(--forest);
  color: var(--mint);
  font-size: 27px;
  font-weight: 800;
}

.feature-card:nth-child(2) .feature-icon,
.feature-card:nth-child(5) .feature-icon {
  background: #215e70;
  color: var(--water);
}

.feature-card:nth-child(3) .feature-icon,
.feature-card:nth-child(4) .feature-icon {
  background: #7a5620;
  color: var(--gold-light);
}

.feature-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--forest-deep);
  font-size: 24px;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.feature-card p {
  position: relative;
  z-index: 1;
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

.story-section {
  overflow: hidden;
  background: var(--forest-deep);
  color: var(--white);
}

.story-grid,
.trips-grid {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: 110px;
}

.story-copy h2 em {
  color: var(--mint);
}

.story-copy > p:not(.eyebrow) {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 19px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 15px;
}

.check-list span {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: rgba(166, 216, 181, 0.14);
  color: var(--mint);
  font-weight: 800;
}

.story-phone-wrap,
.trips-phone-stack {
  position: relative;
  min-height: 730px;
}

.phone-story,
.phone-trips {
  width: 400px;
  margin: 0 auto -260px;
  transform: rotate(-2deg);
}

.story-phone-wrap::before {
  position: absolute;
  top: 80px;
  right: -90px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(166, 216, 181, 0.25);
  border-radius: 50%;
  content: "";
}

.story-bubble {
  position: absolute;
  z-index: 7;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--forest-deep);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.23);
  font-size: 12px;
  font-weight: 800;
}

.story-bubble-one {
  top: 140px;
  right: 3px;
}

.story-bubble-two {
  bottom: 125px;
  left: 0;
  background: var(--gold);
}

.trips-section {
  overflow: hidden;
  background: var(--water);
}

.trips-grid {
  grid-template-columns: minmax(420px, 1.05fr) minmax(360px, 0.95fr);
}

.trips-section .story-copy h2 {
  color: var(--forest-deep);
}

.trips-section .story-copy h2 em {
  color: #296c80;
}

.trips-section .story-copy > p:not(.eyebrow) {
  color: #405b64;
}

.phone-trips {
  margin-bottom: -320px;
  transform: rotate(2deg);
}

.sun-disc {
  position: absolute;
  top: 70px;
  left: 35px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: rgba(242, 184, 75, 0.52);
}

.mini-steps {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.mini-steps > div {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mini-steps b {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(23, 77, 58, 0.2);
  border-radius: 50%;
  color: var(--forest);
  font-size: 13px;
}

.mini-steps strong,
.mini-steps small {
  display: block;
  line-height: 1.45;
}

.mini-steps strong {
  color: var(--forest-deep);
  font-size: 15px;
}

.mini-steps small {
  color: #52666d;
  font-size: 13px;
}

.gallery-section {
  overflow: hidden;
  background: var(--canvas);
}

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

.gallery-heading h2 {
  color: var(--forest-deep);
}

.gallery-heading h2 em {
  color: var(--forest-soft);
}

.gallery-heading > p:not(.eyebrow) {
  max-width: 670px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 19px;
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
  margin-top: 54px;
}

.gallery-shot {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(20, 54, 42, 0.1);
}

.gallery-shot-wide {
  grid-column: 1 / -1;
}

.gallery-shot-phone {
  grid-column: span 4;
}

.gallery-shot-wide img,
.gallery-shot-phone img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.gallery-shot figcaption {
  display: grid;
  gap: 3px;
  padding: 20px 22px 23px;
}

.gallery-shot figcaption strong {
  color: var(--forest-deep);
  font-size: 17px;
}

.gallery-shot figcaption span {
  color: var(--ink-soft);
  font-size: 13px;
}

.closing-section {
  background: var(--canvas);
}

.closing-card {
  position: relative;
  overflow: hidden;
  padding: 88px;
  border-radius: 42px;
  background: var(--forest);
  color: var(--white);
  text-align: center;
}

.closing-card::after {
  position: absolute;
  right: -110px;
  bottom: -180px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(166, 216, 181, 0.26);
  border-radius: 50%;
  content: "";
}

.closing-card .eyebrow {
  position: relative;
  z-index: 2;
  justify-content: center;
}

.closing-card h2,
.closing-card p,
.closing-card .button {
  position: relative;
  z-index: 2;
}

.closing-card h2 em {
  color: var(--gold);
}

.closing-card p:not(.eyebrow) {
  max-width: 620px;
  margin: 26px auto 32px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
}

.button-gold {
  background: var(--gold);
  color: var(--forest-deep);
}

.closing-route {
  position: absolute;
  top: 48px;
  left: -20px;
  display: flex;
  width: 330px;
  align-items: center;
  justify-content: space-between;
  transform: rotate(-13deg);
}

.closing-route::before {
  position: absolute;
  right: 8px;
  left: 8px;
  height: 2px;
  background: rgba(166, 216, 181, 0.3);
  content: "";
}

.closing-route span {
  position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  border: 3px solid var(--forest);
  border-radius: 50%;
  background: var(--mint);
}

.site-footer {
  padding: 60px 0;
  background: var(--forest-deep);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 34px;
}

.wordmark-footer {
  color: var(--white);
}

.footer-grid > div:first-child p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 24px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-note {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.44);
  font-size: 12px;
}

/* Shared trip invitation */

.invite-page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  background: var(--forest);
  color: var(--white);
}

.invite-header {
  position: relative;
  background: var(--forest);
}

.invite-header .header-inner {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.invite-overview-link {
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 14px;
  font-weight: 720;
  text-decoration: none;
}

.invite-overview-link:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.invite-main {
  position: relative;
  display: grid;
  overflow: hidden;
  min-height: 760px;
  flex: 1;
  padding: 82px 20px 96px;
  place-items: center;
  background-color: var(--forest);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 54px 54px;
}

.invite-orbit {
  position: absolute;
  border: 1px solid rgba(166, 216, 181, 0.25);
  border-radius: 50%;
}

.invite-orbit::after {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 4px solid var(--forest);
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.invite-orbit-one {
  top: -230px;
  right: -120px;
  width: 620px;
  height: 620px;
}

.invite-orbit-one::after {
  bottom: 98px;
  left: 54px;
}

.invite-orbit-two {
  bottom: -300px;
  left: -180px;
  width: 580px;
  height: 580px;
}

.invite-orbit-two::after {
  top: 90px;
  right: 45px;
  background: var(--mint);
}

.invite-card {
  position: relative;
  z-index: 1;
  width: min(100%, 680px);
  padding: 62px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 40px;
  background: var(--canvas);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(4, 23, 17, 0.34);
}

.invite-route {
  position: relative;
  display: flex;
  width: 230px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 42px;
}

.invite-route::before {
  position: absolute;
  right: 7px;
  left: 7px;
  height: 3px;
  border-radius: 999px;
  background: var(--mint);
  content: "";
  transform: rotate(-4deg);
}

.invite-route i {
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
  border: 4px solid var(--canvas);
  border-radius: 50%;
  background: var(--forest-soft);
  box-shadow: 0 0 0 2px var(--forest-soft);
}

.invite-route i:last-child {
  background: var(--gold);
  box-shadow: 0 0 0 2px var(--gold);
}

.invite-card .eyebrow {
  color: var(--forest-soft);
}

.invite-card h1 {
  color: var(--forest-deep);
  font-size: clamp(50px, 7vw, 74px);
}

.invite-card h1 em {
  color: var(--forest-soft);
}

.invite-lede {
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.7;
}

.invite-actions {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.invite-button {
  width: 100%;
  background: var(--gold);
  color: var(--forest-deep);
  box-shadow: 0 14px 34px rgba(122, 86, 32, 0.18);
}

.invite-button .invite-button-label {
  margin-left: 0;
}

.invite-button b {
  margin-left: 10px;
  font-size: 19px;
}

.invite-secondary {
  justify-self: center;
  color: var(--forest-soft);
  font-size: 14px;
  font-weight: 750;
  text-underline-offset: 4px;
}

.invite-steps {
  display: grid;
  margin: 42px 0 0;
  padding: 30px 0 0;
  border-top: 1px solid var(--line);
  gap: 20px;
  list-style: none;
}

.invite-steps li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.invite-steps li > b {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--mint-light);
  color: var(--forest);
  font-size: 12px;
}

.invite-steps strong,
.invite-steps small {
  display: block;
  line-height: 1.45;
}

.invite-steps strong {
  color: var(--forest-deep);
  font-size: 15px;
}

.invite-steps small {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 13px;
}

.invite-help {
  margin: 28px 0 0;
  color: #6a7770;
  font-size: 12px;
  text-align: center;
}

.invite-footer {
  padding: 30px 0;
  background: var(--forest-deep);
  color: rgba(255, 255, 255, 0.65);
}

.invite-footer .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.invite-footer span {
  font-size: 13px;
}

.invite-footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
}

.invite-footer a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.invite-footer a:hover {
  color: var(--white);
}

@media (max-width: 600px) {
  .invite-header .header-inner {
    align-items: center;
    flex-direction: row;
    padding: 0;
  }

  .invite-main {
    min-height: auto;
    padding: 48px 14px 64px;
  }

  .invite-card {
    padding: 38px 24px;
    border-radius: 28px;
  }

  .invite-route {
    width: 175px;
    margin-bottom: 32px;
  }

  .invite-card h1 {
    font-size: 48px;
  }

  .invite-lede {
    font-size: 17px;
  }

  .invite-footer .shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .invite-footer nav {
    justify-content: flex-start;
  }
}

/* Privacy policy */

.privacy-page {
  background: var(--white);
}

.privacy-header {
  position: relative;
  background: var(--forest);
}

.privacy-hero {
  padding: 92px 0 78px;
  background: var(--forest);
  color: var(--white);
}

.privacy-hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 60px;
}

.privacy-hero h1 {
  font-size: clamp(52px, 7vw, 86px);
}

.privacy-hero p:not(.eyebrow) {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 19px;
}

.policy-meta {
  min-width: 260px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.policy-meta span,
.policy-meta strong,
.policy-meta small {
  display: block;
}

.policy-meta span {
  color: var(--mint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.policy-meta strong {
  margin-top: 4px;
  font-size: 20px;
}

.policy-meta small {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.63);
  font-size: 12px;
  line-height: 1.6;
}

.policy-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  justify-content: center;
  gap: 88px;
  padding-top: 84px;
  padding-bottom: 110px;
}

.policy-nav {
  position: sticky;
  top: 24px;
  display: flex;
  height: max-content;
  flex-direction: column;
  padding: 20px 0;
  border-top: 2px solid var(--forest);
}

.policy-nav strong {
  margin-bottom: 12px;
  color: var(--forest);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.policy-nav a {
  padding: 6px 0;
  color: var(--ink-soft);
  font-size: 13px;
  text-decoration: none;
}

.policy-nav a:hover {
  color: var(--forest);
}

.policy-article section {
  scroll-margin-top: 30px;
  padding: 0 0 64px;
}

.policy-article section + section {
  padding-top: 62px;
  border-top: 1px solid var(--line);
}

.policy-kicker {
  margin: 0 0 10px;
  color: var(--forest-soft);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.policy-article h2 {
  color: var(--forest-deep);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.13;
}

.policy-article h3 {
  margin: 36px 0 8px;
  color: var(--forest-deep);
  font-size: 20px;
  letter-spacing: -0.02em;
}

.policy-article p {
  margin: 20px 0 0;
  color: #3f4e47;
}

.policy-article a:not(.button) {
  color: var(--forest-soft);
  font-weight: 700;
}

.policy-callout {
  margin-top: 30px;
  padding: 26px;
  border-left: 4px solid var(--gold);
  border-radius: 0 18px 18px 0;
  background: var(--gold-light);
}

.policy-callout strong {
  color: var(--forest-deep);
}

.policy-callout p {
  margin-top: 6px;
}

.policy-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.policy-cards > div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--canvas);
}

.policy-cards h3 {
  margin: 0;
  font-size: 17px;
}

.policy-cards p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.65;
}

.policy-list {
  display: grid;
  gap: 15px;
  margin: 26px 0 0;
  padding-left: 22px;
  color: #3f4e47;
}

.policy-list li {
  padding-left: 6px;
}

.policy-list li::marker {
  color: var(--forest-soft);
}

.contact-section {
  margin-top: 4px;
  padding: 44px !important;
  border: 0 !important;
  border-radius: var(--radius);
  background: var(--mint-light);
}

.contact-section .button {
  margin-top: 28px;
}

.privacy-footer {
  margin-top: 0;
}

/* Account deletion */

.deletion-hero {
  padding-bottom: 88px;
}

.deletion-hero-inner {
  max-width: 820px;
  text-align: center;
}

.deletion-hero .eyebrow {
  justify-content: center;
}

.deletion-hero h1 {
  font-size: clamp(48px, 7vw, 78px);
}

.deletion-hero p:not(.eyebrow) {
  margin-inline: auto;
}

.deletion-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: start;
  gap: 72px;
  padding-top: 88px;
  padding-bottom: 110px;
}

.deletion-explainer h2,
.deletion-panel h2 {
  margin: 0;
  color: var(--forest-deep);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.14;
}

.deletion-list {
  display: grid;
  gap: 22px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.deletion-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.deletion-list li > span {
  display: inline-grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--mint-light);
  color: var(--forest);
  font-size: 14px;
  font-weight: 900;
}

.deletion-list strong,
.deletion-list small {
  display: block;
}

.deletion-list small {
  margin-top: 3px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.deletion-note {
  margin-top: 36px;
}

.deletion-panel {
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.deletion-panel [hidden] {
  display: none !important;
}

.deletion-panel section > p:not(.step-label),
.deletion-status {
  margin: 15px 0 0;
  color: var(--ink-soft);
}

.step-label {
  margin: 0 0 8px;
  color: var(--forest-soft);
  font-size: 11px;
  font-weight: 820;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.google-button {
  width: 100%;
  margin-top: 26px;
  border-color: var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.google-mark {
  display: inline-grid;
  width: 26px;
  height: 26px;
  margin: 0 10px 0 0 !important;
  place-items: center;
  border-radius: 50%;
  background: var(--water);
  color: #2457a6;
  font-weight: 900;
}

.form-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
  color: #718078;
  font-size: 12px;
  text-align: center;
}

.form-divider::before,
.form-divider::after {
  height: 1px;
  flex: 1;
  background: var(--line);
  content: "";
}

.deletion-form,
#confirm-step {
  display: grid;
  gap: 12px;
}

.deletion-form label,
#confirm-step > label:not(.check-field) {
  margin-top: 4px;
  color: var(--forest-deep);
  font-size: 14px;
  font-weight: 750;
}

.deletion-form input,
#delete-confirmation {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid #becbc2;
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.deletion-form .button {
  width: 100%;
  margin-top: 10px;
  cursor: pointer;
}

.deletion-form .password-reset {
  justify-self: end;
  margin-top: -6px;
}

.destructive-warning {
  margin: 16px 0 4px;
  padding: 18px;
  border-left: 4px solid #a33b32;
  border-radius: 0 14px 14px 0;
  background: #fff0ee;
  color: #61221d;
}

.destructive-warning p {
  margin: 5px 0 0;
  font-size: 14px;
}

.check-field {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin: 4px 0;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}

.check-field input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 1px;
  accent-color: var(--forest);
}

.destructive-button {
  width: 100%;
  margin-top: 10px;
  background: #a33b32;
  color: var(--white);
  cursor: pointer;
}

.button:disabled,
.text-action:disabled {
  cursor: not-allowed;
  opacity: 0.52;
  transform: none;
}

.text-action {
  justify-self: center;
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--forest-soft);
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.deletion-status {
  min-height: 26px;
  font-size: 14px;
}

.deletion-status.is-error {
  color: #922f27;
  font-weight: 700;
}

.success-step {
  text-align: center;
}

.success-step[hidden] {
  display: none;
}

.success-step .button {
  margin-top: 24px;
}

.success-mark {
  display: inline-grid;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--mint-light);
  color: var(--forest);
  font-size: 28px;
  font-weight: 900;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr 390px;
    gap: 30px;
  }

  .floating-note-top {
    right: 0;
  }

  .floating-note-bottom {
    left: 0;
  }

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

  .story-grid,
  .trips-grid {
    gap: 55px;
  }

  .policy-layout {
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 50px;
  }

  .deletion-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 800px) {
  .site-header {
    position: relative;
    background: var(--forest);
  }

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

  .site-nav {
    gap: 18px;
  }

  .site-nav a {
    font-size: 12px;
  }

  .hero {
    padding-top: 70px;
  }

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

  .hero-copy {
    padding-bottom: 20px;
  }

  .hero-visual {
    min-height: 580px;
  }

  .phone-hero {
    width: 350px;
    margin-bottom: -240px;
  }

  .floating-note-top {
    right: max(0px, calc(50% - 230px));
  }

  .floating-note-bottom {
    left: max(0px, calc(50% - 235px));
  }

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

  .hero-summary div {
    min-height: 90px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-summary div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 82px 0;
  }

  .story-grid,
  .trips-grid {
    grid-template-columns: 1fr;
  }

  .gallery-shot-phone {
    grid-column: span 6;
  }

  .story-phone-wrap,
  .trips-phone-stack {
    min-height: 610px;
    order: 2;
  }

  .trips-section .story-copy {
    order: 1;
  }

  .phone-story,
  .phone-trips {
    width: 350px;
  }

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

  .policy-meta {
    width: 100%;
  }

  .policy-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .policy-nav {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px 20px;
  }

  .policy-nav strong {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
    gap: 12px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
  }

  .site-nav .nav-detail {
    display: none;
  }

  .hero {
    padding-top: 56px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 40px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 490px;
  }

  .phone-hero {
    width: 292px;
    margin-bottom: -190px;
  }

  .floating-note {
    min-width: 170px;
  }

  .floating-note-top {
    top: 75px;
    right: -5px;
  }

  .floating-note-bottom {
    bottom: 40px;
    left: -4px;
  }

  .route-orbit-one {
    right: -160px;
  }

  .hero-summary div {
    padding-inline: 24px;
  }

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

  .screenshot-gallery {
    grid-template-columns: 1fr;
  }

  .gallery-shot-wide,
  .gallery-shot-phone {
    grid-column: 1;
  }

  .feature-card {
    min-height: 320px;
  }

  .feature-icon {
    margin-bottom: 44px;
  }

  .phone-story,
  .phone-trips {
    width: 300px;
  }

  .story-phone-wrap,
  .trips-phone-stack {
    min-height: 515px;
  }

  .story-bubble-one {
    right: -2px;
  }

  .closing-card {
    padding: 68px 24px;
    border-radius: 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .policy-layout {
    padding-top: 52px;
  }

  .policy-nav {
    grid-template-columns: 1fr;
  }

  .policy-article section {
    padding-bottom: 46px;
  }

  .policy-article section + section {
    padding-top: 46px;
  }

  .contact-section {
    margin-inline: -4px;
    padding: 30px 22px !important;
  }

  .deletion-layout {
    padding-top: 56px;
    padding-bottom: 76px;
  }

  .deletion-panel {
    padding: 26px 20px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}
