/* ==========================================================================
   Passée web style guide

   Consolidated from the earlier marketing site and the current app design
   system. The site keeps the old editorial calm, but uses the app's current
   rounded cards, warm surfaces, and native-feeling controls.

   Brand mood: private, warm, useful, lightly editorial.
   Type: Cormorant Garamond for the wordmark and display moments; SF Pro for UI.
   Shape: continuous rounded rectangles, visible warm hairlines, minimal shadow.
   ========================================================================== */

:root {
  --bg: #F4F0E8;
  --surface: #FFFDF8;
  --surface-soft: #F7F2E9;
  --surface-sage: #F3F6ED;
  --surface-rose: #FDF2F3;
  --surface-terracotta: #FAF0E2;
  --ink: #1F1A14;
  --ink-secondary: #665D52;
  --ink-soft: #786E5F;
  --ink-faint: #D8CFB7;
  --sage: #3E5A3E;
  --sage-deep: #2F4A2F;
  --terracotta: #A36A50;
  --rose: #6B3640;
  --slate: #4F6478;
  --ivory: #FBF6EA;
  --radius-card: 28px;
  --radius-small: 18px;
  --radius-button: 22px;
  --radius-chip: 999px;
  --hairline: 1px solid rgba(120, 110, 95, 0.22);
  --shadow-soft: 0 18px 42px rgba(31, 26, 20, 0.07);
  --content: 760px;
  --wide: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--sage);
  text-decoration: none;
}

a:hover {
  opacity: 0.76;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 4px;
}

p {
  margin: 0 0 1.15rem;
}

ul,
ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.55rem;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: 100%;
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 22px;
}

.container--wide {
  max-width: var(--wide);
}

.brand,
.display,
h1,
h2,
h3 {
  font-family: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0;
}

.brand {
  color: var(--sage);
  font-weight: 600;
}

h1,
.display--hero {
  font-size: clamp(3rem, 8vw, 6.2rem);
  font-weight: 600;
}

h2 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 600;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow--terracotta {
  color: var(--terracotta);
}

.eyebrow--rose {
  color: var(--rose);
}

.lead {
  color: var(--ink-secondary);
  font-size: clamp(1.08rem, 1.2vw, 1.28rem);
  line-height: 1.65;
}

.caption {
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.5;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 1.35rem 0;
  background: rgba(244, 240, 232, 0.94);
  border-bottom: var(--hairline);
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-header .brand {
  font-size: 1.9rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2vw, 2.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: auto;
  padding: 0 0 0.18rem;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  color: var(--ink-secondary);
  background: transparent;
  font-size: 1rem;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: currentColor;
  opacity: 1;
}

/* ----- Editorial landing -------------------------------------------------- */

.editorial-hero {
  min-height: calc(100vh - 88px);
  padding: clamp(4rem, 8vw, 7.5rem) 0;
  display: flex;
  align-items: center;
  border-bottom: var(--hairline);
}

.editorial-hero__grid {
  display: grid;
  align-items: center;
  gap: clamp(3rem, 9vw, 7rem);
}

@media (min-width: 920px) {
  .editorial-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  }
}

.editorial-hero__copy {
  max-width: 680px;
}

.editorial-hero h1,
.editorial-section h2,
.pricing-heading {
  color: var(--terracotta);
}

.editorial-hero h1 {
  font-size: clamp(4.5rem, 8.2vw, 7rem);
  line-height: 0.95;
  max-width: 760px;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.editorial-hero p {
  color: var(--ink-soft);
  font-size: clamp(1.25rem, 1.55vw, 1.6rem);
  line-height: 1.45;
  max-width: 690px;
}

.editorial-hero .editorial-kicker {
  color: var(--ink);
  font-family: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  font-size: clamp(1.75rem, 2.1vw, 2.25rem);
  font-style: italic;
  line-height: 1.28;
}

.hero-phone {
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 2rem;
}

.hero-phone img {
  width: min(100%, 320px);
  max-height: 640px;
  object-fit: cover;
  object-position: top center;
  border: 10px solid #181716;
  border-radius: 42px;
  box-shadow: 0 28px 60px rgba(31, 26, 20, 0.18);
}

.hero-phone figcaption {
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.editorial-section {
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.editorial-section--bordered {
  border-bottom: var(--hairline);
}

.editorial-two-col,
.editorial-section__intro,
.privacy-editorial {
  display: grid;
  gap: clamp(2.5rem, 7vw, 7rem);
}

@media (min-width: 860px) {
  .editorial-two-col,
  .editorial-section__intro,
  .privacy-editorial {
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1fr);
  }
}

.editorial-section h2 {
  font-size: clamp(3.2rem, 5vw, 5rem);
  line-height: 0.98;
  max-width: 620px;
}

.editorial-body {
  max-width: 760px;
}

.editorial-body p,
.editorial-section__intro > p,
.privacy-editorial > div p,
.privacy-list li,
.pricing-editorial p,
.feature-editorial-grid p,
.editorial-steps p {
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 1.25vw, 1.38rem);
  line-height: 1.5;
}

.editorial-body em {
  color: var(--ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.2em;
}

.editorial-steps {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: clamp(3rem, 7vw, 5rem);
}

@media (min-width: 860px) {
  .editorial-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.editorial-steps article,
.feature-editorial-grid article {
  border-top: var(--hairline);
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
}

.editorial-steps span {
  color: var(--terracotta);
  display: inline-block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 1rem;
}

.editorial-steps article:nth-child(2) span {
  color: var(--sage);
}

.editorial-steps article:nth-child(3) span {
  color: var(--rose);
}

.editorial-steps h3,
.feature-editorial-grid h3 {
  color: var(--ink);
  font-size: clamp(1.6rem, 2.1vw, 2.25rem);
  margin-bottom: 1rem;
}

.feature-editorial-grid {
  display: grid;
  gap: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
}

@media (min-width: 860px) {
  .feature-editorial-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.feature-editorial-grid .eyebrow,
.privacy-editorial .eyebrow,
.pricing-heading + .pricing-editorial .eyebrow {
  color: var(--ink-soft);
}

.privacy-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.privacy-list li {
  margin: 0;
  padding: 1.35rem 0 1.35rem 2rem;
  border-top: var(--hairline);
  position: relative;
}

.privacy-list li:last-child {
  border-bottom: var(--hairline);
}

.privacy-list li::before {
  content: ".";
  position: absolute;
  left: 0;
  top: 1.2rem;
  color: var(--sage);
}

.pricing-heading {
  margin-bottom: clamp(3rem, 6vw, 5rem);
  max-width: 860px;
}

.pricing-editorial {
  display: grid;
  border: var(--hairline);
  background: rgba(255, 253, 248, 0.46);
}

@media (min-width: 760px) {
  .pricing-editorial {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pricing-editorial article {
  padding: clamp(2.25rem, 5vw, 4rem);
}

.pricing-editorial article + article {
  background: rgba(216, 207, 183, 0.22);
  border-top: var(--hairline);
}

@media (min-width: 760px) {
  .pricing-editorial article + article {
    border-top: 0;
    border-left: var(--hairline);
  }
}

.pricing-editorial h3 {
  color: var(--ink);
  font-size: clamp(3rem, 5vw, 4.5rem);
  margin: 1.4rem 0 1.5rem;
}

.pricing-editorial h3 span {
  color: var(--ink-soft);
  font-size: 0.42em;
  font-weight: 500;
}

.hero {
  padding: clamp(3.4rem, 8vw, 7.6rem) 0 clamp(3.5rem, 7vw, 5rem);
}

.hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) 360px;
  }
}

.hero__copy h1 {
  max-width: 820px;
  margin-bottom: 1.25rem;
}

.hero__copy {
  position: relative;
}

.hero__copy .lead {
  max-width: 620px;
}

.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 560px;
  margin-top: 1.5rem;
}

.hero-pills span,
.compact-list li {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: var(--hairline);
  border-radius: var(--radius-chip);
  background: rgba(255, 253, 248, 0.72);
  color: var(--ink-secondary);
  font-size: 0.9rem;
  font-weight: 700;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.8rem;
}

.actions--center {
  justify-content: center;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid var(--sage);
  background: var(--sage);
  color: var(--ivory);
  font-weight: 700;
  text-align: center;
}

.button--secondary {
  background: var(--surface);
  color: var(--sage);
}

.button--light {
  background: var(--ivory);
  border-color: var(--ivory);
  color: var(--sage);
}

.button--outline-light {
  background: transparent;
  border-color: rgba(251, 246, 234, 0.54);
  color: var(--ivory);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 1.25rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-proof span {
  position: relative;
  padding-left: 14px;
}

.hero-proof span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--sage);
  transform: translateY(-50%);
}

.hero__panel,
.card,
.pricing-card,
.doc,
.notfound {
  background: var(--surface);
  border: var(--hairline);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}

.hero__panel {
  padding: 22px;
}

.phone-showcase {
  display: flex;
  justify-content: center;
  position: relative;
}

.phone-showcase::before {
  content: "";
  position: absolute;
  inset: 8% -8% auto auto;
  width: min(220px, 70%);
  aspect-ratio: 1;
  border-radius: 999px;
  background: var(--surface-terracotta);
  opacity: 0.7;
  z-index: -1;
}

.phone-showcase img,
.screenshot-card img {
  display: block;
  width: 100%;
  border: 1px solid rgba(120, 110, 95, 0.2);
  border-radius: 36px;
  box-shadow: var(--shadow-soft);
}

.phone-showcase img {
  max-width: 360px;
  max-height: 720px;
  object-fit: cover;
  object-position: top center;
}

.home-card {
  display: grid;
  gap: 12px;
}

.home-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: var(--hairline);
}

.home-card__head .brand {
  font-size: 2.4rem;
}

.home-card__row {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: var(--hairline);
}

.home-card__row:last-child {
  border-bottom: 0;
}

.home-card__icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--surface-soft);
  color: var(--sage);
  font-weight: 700;
}

.home-card__title {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.2;
}

.home-card__meta {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.35;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 13px;
  border-radius: var(--radius-chip);
  background: var(--surface-sage);
  border: 1px solid rgba(62, 90, 62, 0.18);
  color: var(--sage);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
}

.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section__header {
  max-width: 760px;
  margin-bottom: 1.8rem;
}

.section__split,
.feature-strip {
  display: grid;
  gap: 1.5rem;
  align-items: end;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: var(--hairline);
  border-radius: var(--radius-card);
  background: var(--surface);
}

@media (min-width: 820px) {
  .section__split,
  .feature-strip {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  }
}

.section__split .lead {
  margin-bottom: 0;
}

.grid {
  display: grid;
  gap: 16px;
}

@media (min-width: 760px) {
  .grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

.card {
  padding: 24px;
}

.card--sage {
  background: var(--surface-sage);
}

.card--rose {
  background: var(--surface-rose);
}

.card--terracotta {
  background: var(--surface-terracotta);
}

.card h3 {
  margin-bottom: 0.7rem;
}

.card p:last-child {
  margin-bottom: 0;
}

.grid--3 .card {
  min-height: 240px;
}

.step-row {
  display: grid;
  gap: 14px;
}

@media (min-width: 760px) {
  .step-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.step-card {
  padding: 24px;
  border: var(--hairline);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.step-card__number {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 1.15rem;
  border-radius: 50%;
  background: var(--surface-sage);
  color: var(--sage);
  font-weight: 800;
}

.step-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
}

.screenshot-section {
  padding-top: clamp(2rem, 5vw, 4rem);
}

.screenshot-grid {
  display: grid;
  gap: 18px;
  align-items: start;
}

@media (min-width: 860px) {
  .screenshot-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
  }
}

.screenshot-card {
  margin: 0;
}

.screenshot-card img {
  max-height: 620px;
  object-fit: cover;
  object-position: top center;
}

.screenshot-card--large img {
  max-height: 720px;
}

.screenshot-card figcaption {
  margin-top: 0.8rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
}

.feature-strip {
  align-items: center;
  background: var(--surface-sage);
}

.feature-strip h2 {
  max-width: 520px;
}

.compact-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compact-list li {
  margin: 0;
  background: rgba(255, 253, 248, 0.8);
}

.list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list li {
  margin: 0;
  padding: 0.85rem 0;
  border-bottom: var(--hairline);
}

.list li:last-child {
  border-bottom: 0;
}

.privacy-band {
  background: var(--sage);
  color: var(--ivory);
  text-align: center;
}

.privacy-band .eyebrow,
.privacy-band h2,
.privacy-band p,
.privacy-band a {
  color: var(--ivory);
}

.privacy-band .lead {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-card {
  padding: 24px;
}

.pricing-card--plus {
  background: var(--surface-rose);
  border-color: rgba(107, 54, 64, 0.22);
}

.price {
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 700;
}

.doc {
  margin: clamp(2rem, 6vw, 4rem) auto;
  padding: clamp(1.6rem, 4vw, 3rem);
}

.doc__header {
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: var(--hairline);
}

.doc__header h1 {
  margin-bottom: 0.75rem;
}

.doc__updated,
.effective {
  margin: 0 0 0.75rem;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.doc h2 {
  margin: 2.5rem 0 1rem;
}

.doc h3 {
  margin: 1.5rem 0 0.75rem;
}

.doc p,
.doc li {
  color: var(--ink-secondary);
}

.faq__entry {
  padding: 1.35rem 0;
  border-bottom: var(--hairline);
}

.faq__entry:last-child {
  border-bottom: 0;
}

.faq__entry h3 {
  margin-bottom: 0.7rem;
}

.notfound {
  margin: clamp(3rem, 8vw, 7rem) auto;
  padding: clamp(2rem, 5vw, 4rem);
}

.site-footer {
  margin-top: auto;
  padding: 2.4rem 0 3rem;
  border-top: var(--hairline);
}

.site-footer__inner {
  display: grid;
  gap: 1rem;
}

.site-footer .brand {
  font-size: 1.65rem;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__nav a,
.site-footer__small {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

@media (min-width: 760px) {
  .site-footer__inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  .site-footer__nav {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .site-header__inner {
    align-items: center;
    flex-direction: column;
    gap: 12px;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .site-nav a {
    min-height: 36px;
    padding: 0 12px;
    white-space: nowrap;
  }

  .button {
    width: 100%;
  }

  .home-card__row {
    grid-template-columns: 38px 1fr;
  }

  .home-card__row .chip {
    grid-column: 2;
    justify-self: start;
  }

  .phone-showcase img,
  .screenshot-card img {
    border-radius: 28px;
  }
}
