/* walkami.com */

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("/fonts/bricolage.woff2") format("woff2");
}

:root {
  --bg: #F5F2EE;
  --card: #FFFFFF;
  --orange: #EE6743;
  --text: #1D1B18;
  --text-2: #8A867F;
  --text-3: #B8B4AC;
  --sky-top: #D7EBF7;
  --radius-card: 24px;
  --shadow-card: 0 1px 2px rgba(29, 27, 24, 0.04), 0 12px 32px rgba(29, 27, 24, 0.05);
  --hairline: 1px solid rgba(29, 27, 24, 0.06);
  --font-display: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  position: relative;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
  width: 100%;
}

/* Even out multi-line headings and subtitles — no orphan words. */
.hero h1,
.hero .sub,
.page-hero h1,
.page-hero .lead,
.privacy-line,
.section-title,
.lb-body h3,
.lb-body p {
  text-wrap: balance;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

.wrap.wide {
  max-width: 1000px;
}

/* The sky: the page's top is the scene. */

.sky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(380px, 52vw, 560px);
  background: linear-gradient(var(--sky-top), var(--bg));
  overflow: hidden;
  z-index: -1;
}

.sky svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Entrance: scene first, then the text cascade, the CTA last. */

.sun-rise {
  animation: sunrise 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
  transform-origin: center;
}

.cloud {
  animation: drift 16s ease-in-out infinite alternate;
}

.cloud.far {
  animation-duration: 24s;
}

.cloud-enter-r {
  animation: cloudin-r 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.cloud-enter-l {
  animation: cloudin-l 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

@keyframes sunrise {
  from {
    opacity: 0;
    transform: translateY(64px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes cloudin-l {
  from {
    opacity: 0;
    transform: translateX(-36px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes cloudin-r {
  from {
    opacity: 0;
    transform: translateX(36px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes drift {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(34px);
  }
}

.rise {
  animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

.rise.d1 { animation-delay: 0.55s; }
.rise.d2 { animation-delay: 0.8s; }
.rise.d3 { animation-delay: 1.05s; }
.rise.d4 { animation-delay: 1.2s; }
.rise.d5 { animation-delay: 1.35s; }

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rise, .sun-rise, .cloud, .cloud-enter-l, .cloud-enter-r {
    animation: none;
  }
}

/* (Mobile hero overrides live at the END of this file — they must
   come after the base rules to win the cascade.) */

/* Header: bare and transparent — the wordmark and links float
   directly on the sky, no chrome. */

header {
  padding: 34px 0 8px;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 21px;
  color: var(--orange);
  text-decoration: none;
  letter-spacing: -0.01em;
}

nav {
  display: flex;
  gap: 28px;
}

nav a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 4px 0;
  transition: color 0.15s ease;
}

nav a:hover {
  color: var(--text);
}

nav a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

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

  nav {
    gap: 20px;
  }

  nav a {
    font-size: 14px;
  }
}

/* Hero */

.hero {
  text-align: center;
  padding: clamp(56px, 9vw, 104px) 0 0;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(52px, 9vw, 88px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

.hero .sub {
  color: var(--text-2);
  font-size: 21px;
  line-height: 1.55;
  max-width: 600px;
  margin: 26px auto 0;
}

.hero .store {
  margin-top: 44px;
}

/* App Store badge (the official Apple SVG — never redraw it) */

.appstore {
  display: inline-block;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.appstore:hover {
  opacity: 0.82;
}

.appstore img {
  display: block;
  height: 56px;
  width: auto;
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 27, 24, 0.42);
}

.lightbox-card {
  position: relative;
  background: var(--card);
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  max-width: 420px;
  width: 100%;
  text-align: center;
  animation: rise 0.35s ease-out both;
}

.lb-scene {
  display: block;
  width: 100%;
  height: auto;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
  color: var(--text-2);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  transition: color 0.15s ease;
}

.lightbox-close:hover {
  color: var(--text);
}

.lb-body {
  padding: 26px 32px 28px;
}

.lb-body h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.lb-body p {
  color: var(--text-2);
  font-size: 16px;
  margin-top: 10px;
}

.lb-cta {
  margin-top: 22px;
}

.lb-later {
  display: block;
  margin: 14px auto 0;
  background: none;
  border: 0;
  color: var(--text-2);
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s ease;
}

.lb-later:hover {
  color: var(--text);
}

/* The 3-step journey tiles. */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: clamp(64px, 9vw, 110px);
}

@media (max-width: 720px) {
  .steps {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}

.step {
  background: var(--card);
  border-radius: var(--radius-card);
  border: var(--hairline);
  box-shadow: var(--shadow-card);
  padding: 12px 12px 22px;
}

.step svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 1px solid rgba(29, 27, 24, 0.08);
}

.step-cap {
  margin-top: 16px;
  padding: 0 10px;
}

.step-cap span {
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.step-cap h2 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 4px 0 4px;
}

.step-cap p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.55;
}

/* Quiet privacy line under the cards */

.privacy-line {
  text-align: center;
  color: var(--text-2);
  font-size: 16px;
  margin-top: 52px;
}

/* Subpages (privacy, support) */

.sky-short {
  height: clamp(280px, 32vw, 360px);
}

.page-hero {
  text-align: center;
  padding: clamp(48px, 8vw, 92px) 0 8px;
}

.eyebrow {
  color: var(--orange);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 6.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-top: 10px;
}

.page-hero .meta {
  color: var(--text-3);
  font-size: 15px;
  margin-top: 14px;
}

.page-hero .lead {
  color: var(--text-2);
  font-size: 19px;
  line-height: 1.55;
  max-width: 460px;
  margin: 18px auto 0;
}

.pcard {
  background: var(--card);
  border-radius: var(--radius-card);
  border: var(--hairline);
  box-shadow: var(--shadow-card);
  padding: 30px;
  margin-top: 20px;
}

.pcard h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.pcard > p {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.6;
  margin-top: 10px;
}

.pcard a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
}

/* The policy document: one quiet monospaced block. */

.doc {
  background: var(--card);
  border-radius: var(--radius-card);
  border: var(--hairline);
  box-shadow: var(--shadow-card);
  padding: clamp(28px, 5vw, 48px);
  margin-top: 24px;
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--text-2);
}

.doc .doc-intro {
  color: var(--text);
  font-weight: 600;
}

.doc h2 {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  margin: 34px 0 6px;
}

.doc p {
  margin-top: 10px;
}

.doc ul {
  list-style: none;
  margin-top: 10px;
}

.doc li {
  position: relative;
  padding-left: 18px;
  margin-top: 8px;
}

.doc li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: var(--text-3);
}

.doc strong {
  color: var(--text);
  font-weight: 600;
}

.doc a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: inherit;
}

.section-title {
  font-family: var(--font-display);
  text-align: center;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-top: 52px;
}

.faq {
  background: var(--card);
  border-radius: var(--radius-card);
  border: var(--hairline);
  box-shadow: var(--shadow-card);
  padding: 10px 34px;
  margin-top: 22px;
}

.qa {
  padding: 22px 0;
}

.qa + .qa {
  border-top: var(--hairline);
}

.qa h2 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.qa p {
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.5;
  margin-top: 6px;
}

.qa a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: inherit;
}

.cta {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 17px;
  padding: 14px 30px;
  border-radius: 999px;
  margin-top: 20px;
}

.cta:hover {
  opacity: 0.92;
}

.pcard a.cta {
  color: #fff;
}

.contact {
  text-align: center;
  padding: 38px 32px;
}

.contact > div > p {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.contact .cta {
  margin-top: 20px;
  font-size: 16px;
  padding: 13px 24px;
}

.pcard .cta-note {
  color: var(--text-3);
  font-size: 13px;
  margin-top: 12px;
}

/* Footer + meadow: the page's bottom is the scene too. */

footer {
  padding: clamp(64px, 9vw, 110px) 0 0;
  text-align: center;
}

.f-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 26px;
}

.f-links a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.15s ease;
}

.f-links a:hover {
  color: var(--text);
}

.f-legal {
  color: var(--text-3);
  font-size: 13px;
  margin-top: 16px;
}

.f-legal + .f-legal {
  margin-top: 4px;
}

.meadow {
  display: block;
  width: 100%;
  height: clamp(150px, 19vw, 250px);
  margin-top: 34px;
}

/* Small screens: the slice-crop pushes the sun into the nav row —
   drop it into the air above the headline — and the hero gets real
   breathing room. Last in the file so it wins the cascade. */
@media (max-width: 640px) {
  .sun-pos {
    transform: translate(-38px, 58px);
  }

  .hero {
    padding-top: 148px;
    padding-bottom: 48px;
  }

  .hero h1 {
    font-size: min(14.5vw, 76px);
  }

  .hero .sub {
    font-size: 18px;
    padding: 0 16px;
    margin-top: 22px;
  }

  .hero .store {
    margin-top: 48px;
  }
}
