/*
 * OurWay.ai landing page (Nov 2026 design, "OurWay Website - Nov26").
 *
 * The app embeds only <main class="page"> from landing/index.html, inside its
 * own Tailwind layout, so every rule here is scoped to .page and repeats the
 * browser defaults Tailwind's reset removes (heading weights, link colours).
 * Hover and press states live here because inline styles cannot express them.
 */

.page {
  min-height: 100vh;
  overflow-x: clip;
  background: #fff8f0;
  color: #3d4852;
  font-family: ui-rounded, "Trebuchet MS", "Avenir Next Rounded", system-ui,
    -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page,
.page * {
  box-sizing: border-box;
}

.page h1,
.page h2,
.page h3 {
  font-weight: 700;
}

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

.page ::selection {
  background: #f5d76e;
}

.page em {
  font-style: italic;
}

/* Handwriting on the hero board: the app loads Patrick Hand as
   --font-handwritten; the standalone file loads it from Google Fonts. */
.page .lp-hand {
  font-family: var(--font-handwritten), "Patrick Hand", cursive;
}

/* ── Layout ─────────────────────────────────────────────────────────────── */

.lp-wrap {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding-inline: 20px;
}

.lp-section {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 56px 20px;
  border-top: 1px solid #ecd8bf;
}

/* ── Header ─────────────────────────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #ecd8bf;
  background: rgba(255, 248, 240, 0.9);
  backdrop-filter: blur(12px);
}

.lp-nav {
  display: flex;
  height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.lp-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lp-brand-name {
  font-size: 20px;
  font-weight: 800;
}

.lp-brand-name span {
  color: #f58b44;
}

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

/* ── Shared bits ────────────────────────────────────────────────────────── */

.page .lp-link {
  color: #69747d;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.page .lp-link:hover {
  color: #3d4852;
}

.page .lp-underline {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lp-pebble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.lp-pebble-logo {
  width: 24px;
  height: 28px;
}

.lp-eyes {
  display: flex;
  gap: 3px;
  margin-top: -4px;
}

.lp-eyes span {
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: #3d4852;
}

.lp-dot {
  display: inline-flex;
  width: 18px;
  height: 21px;
  flex: 0 0 auto;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  box-shadow: inset 0 -1px 0 rgba(61, 72, 82, 0.08);
}

.lp-dot-small {
  width: 14px;
  height: 17px;
  background: currentColor;
}

.page .lp-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  background: #f58b44;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(245, 139, 68, 0.35);
  transition: background-color 180ms ease;
}

.page .lp-cta:hover {
  background: #e2762f;
  color: #ffffff;
}

.page .lp-cta:active {
  transform: translateY(1px);
}

.lp-h2 {
  margin: 0;
  color: #3d4852;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
}

.lp-kicker {
  margin: 0 0 22px;
  font-size: clamp(34px, 4.4vw, 48px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
}

.page .lp-lead {
  margin: 8px 0 0;
  color: #3d4852;
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 760;
  line-height: 1.14;
  letter-spacing: 0;
}

.lp-quote {
  margin: 22px 0 0;
  border: 1px solid rgba(138, 147, 154, 0.28);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  padding: 14px 16px;
}

.lp-cite {
  display: block;
  margin-top: 8px;
  color: #8a939a;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */

.lp-hero {
  width: min(100%, 1120px);
  min-height: calc(100svh - 57px);
  margin: 0 auto;
  padding: clamp(16px, 4svh, 56px) 20px clamp(20px, 4svh, 56px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(16px, 3.2svh, 36px);
}

.page .lp-hero-title {
  margin: 0;
  max-width: 100%;
  color: #3d4852;
  font-size: clamp(26px, min(4.2vw, 5.6svh), 54px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.lp-hero-board {
  width: min(100%, calc(clamp(180px, 44svh, 460px) * 600 / 460));
  position: relative;
  aspect-ratio: 600 / 460;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(236, 216, 191, 0.9);
  box-shadow: 0 14px 32px rgba(61, 72, 82, 0.09);
}

.lp-hero-caption {
  margin: calc(clamp(16px, 3.2svh, 36px) * -0.5) 0 0;
  color: #5e9a64;
  font-size: clamp(15px, min(1.7vw, 2.2svh), 19px);
  font-weight: 700;
  line-height: 1.4;
  text-wrap: balance;
}

.lp-hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 1.6svh, 14px);
}

.lp-launch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #ecd8bf;
  background: #ffffff;
  border-radius: 999px;
  padding: 6px 14px 6px 10px;
  color: #69747d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
}

.ow-pulse {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #f5d76e;
  flex-shrink: 0;
  animation: owPulse 1.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes owPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 215, 110, 0.75);
  }
  70% {
    box-shadow: 0 0 0 7px rgba(245, 215, 110, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(245, 215, 110, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ow-pulse {
    animation: none !important;
  }
}

.page .lp-cta-hero {
  min-height: clamp(48px, 6.5svh, 58px);
  padding: 12px 30px;
  font-size: clamp(16px, 2.3svh, 18px);
}

/* ── How it works ───────────────────────────────────────────────────────── */

.lp-how {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.lp-stages {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 14px;
}

.lp-stage {
  flex: 1 1 220px;
  min-width: 0;
  background: #ffffff;
  border: 1px solid rgba(236, 216, 191, 0.85);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lp-stage-img {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  aspect-ratio: 200 / 140;
  align-self: center;
}

.lp-stage-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.lp-stage-num {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
}

.page .lp-stage-title {
  margin: 0;
  color: #3d4852;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.lp-stage-copy {
  margin: 0;
  color: #69747d;
  font-size: 16px;
  line-height: 1.55;
  text-wrap: pretty;
}

.lp-loop {
  flex: 2 1 460px;
  min-width: 0;
  border: 2px dashed #f5a867;
  border-radius: 24px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(245, 168, 103, 0.06);
}

.lp-repeat {
  align-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #e2762f;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ── Needs / does ───────────────────────────────────────────────────────── */

.page .lp-point {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #3d4852;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}

.lp-point-copy {
  margin: 12px 0 0;
  color: #69747d;
  font-size: 18px;
  line-height: 1.65;
}

.lp-point-next {
  margin-top: 30px;
  border-top: 1px solid rgba(236, 216, 191, 0.75);
  padding-top: 28px;
}

.lp-stat {
  border: 1px solid rgba(236, 216, 191, 0.85);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
  padding: 14px 16px;
}

/* ── Family story ───────────────────────────────────────────────────────── */

.lp-story {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 32px;
  align-items: center;
}

.lp-story-next {
  border-top: 1px solid rgba(236, 216, 191, 0.85);
  padding-top: 26px;
}

.lp-story-photo {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(61, 72, 82, 0.09);
}

.lp-story-img {
  display: block;
  width: 100%;
  border: 1px solid rgba(236, 216, 191, 0.9);
  border-radius: 18px;
  object-fit: cover;
}

.lp-story-text {
  max-width: 520px;
  border-left: 4px solid;
  padding-left: 24px;
}

.lp-story-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.page .lp-story-title {
  margin: 0;
  color: #3d4852;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.12;
  letter-spacing: 0;
}

.lp-story-copy {
  margin: 14px 0 0;
  color: #69747d;
  font-size: 18px;
  line-height: 1.65;
}

/* ── Bottom CTA and footer ──────────────────────────────────────────────── */

.lp-bottom-cta {
  width: min(100% - 40px, 1140px);
  margin: 16px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 24px;
  border: 2px solid rgba(245, 139, 68, 0.36);
  background: #f8ead8;
  padding: clamp(36px, 5vw, 60px) 20px clamp(40px, 6vw, 64px);
  text-align: center;
  gap: 14px;
}

.page .lp-cta-bottom {
  margin-top: 12px;
  min-height: 56px;
  padding: 16px 28px;
  font-size: 18px;
}

.lp-phase {
  margin: 0;
  max-width: 100%;
  background: #fff1c9;
  border: 1px solid #f5d76e;
  border-radius: 12px;
  padding: 4px 10px;
  color: #3d4852;
  font-size: clamp(12px, 1.8svh, 14px);
  font-weight: 400;
  line-height: 1.35;
  text-wrap: balance;
}

.lp-footer {
  margin-top: 64px;
  border-top: 1px solid #ecd8bf;
  padding-block: 32px;
}

/* ── Privacy page ───────────────────────────────────────────────────────── */

.lp-privacy {
  flex: 1;
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 56px 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.page .lp-privacy a {
  color: #f58b44;
}

.page .lp-privacy a:hover {
  color: #e2762f;
}
