/* Contactilo — landing page styles */

:root {
  /* Cool sage-tinted canvas — reads green-gray, not beige */
  --bg: #f0f4f2;
  --bg-elevated: #ffffff;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --hero-navy: #1a1a40;
  --accent: #2d6a4f;
  --accent-hover: #1b4332;
  --accent-soft: rgba(45, 106, 79, 0.08);
  --border: rgba(0, 0, 0, 0.08);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --radius: 12px;
  --radius-lg: 20px;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --font-hero: "Inter", var(--font-sans);
  --font-hero-headline: "Plus Jakarta Sans", var(--font-sans);
  --font-hero-emphasis: "Fraunces", Georgia, "Times New Roman", serif;
  --app-insights: #00809d;
  --app-reminders: #009d20;
  --app-gifts: #ff5959;
  /* Very light blobs for section backgrounds (radial gradients) */
  --section-blob-base: #f7faf8;
  --section-blob-green: rgba(0, 157, 32, 0.11);
  --section-blob-teal: rgba(0, 128, 157, 0.1);
  --section-blob-teal-soft: rgba(0, 128, 157, 0.055);
  --section-blob-red: rgba(255, 89, 89, 0.085);
  --font-hand: "Caveat", cursive;
  --get-in-touch-orange: #ff8500;
  --space: clamp(1rem, 4vw, 2rem);
  --max: 72rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Blob wash pulse (::before layers); disabled via prefers-reduced-motion above */
@keyframes section-blob-pulse {
  0%,
  100% {
    opacity: 0.68;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.055);
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--accent-hover);
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--text);
  color: var(--bg);
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: min(100% - var(--space) * 2, var(--max));
  margin-inline: auto;
}

/* Cursor dot trail — 3 dots, section palette (script in index.html; disabled when reduced motion / touch) */
.cursor-trail {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90;
  overflow: hidden;
  contain: strict;
}

.cursor-trail__dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 9px;
  height: 9px;
  margin: -4.5px 0 0 -4.5px;
  border-radius: 50%;
  will-change: transform, opacity;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.875rem 0;
}

.header-spacer {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.header-brand {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.75rem;
  max-width: min(100%, 56rem);
}

/* Breathing room between logo lockup and language columns */
.header-brand .logo--lockup {
  padding-inline: clamp(0.85rem, 2.5vw, 1.35rem);
}

/* Tight cluster: langs hug the title, whole block stays centered in the header */
.lang-split {
  flex: 0 1 auto;
  max-width: 100%;
}

.lang-split--left .lang-nav__list {
  justify-content: flex-end;
}

.lang-split--right .lang-nav__list {
  justify-content: flex-start;
}

.site-header .logo {
  color: var(--hero-navy);
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.logo--lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex: 0 0 auto;
  font-size: clamp(1.65rem, 3.5vw, 2.15rem);
  line-height: 1.1;
}

.logo__icon {
  width: clamp(2.25rem, 5vw, 2.75rem);
  height: clamp(2.25rem, 5vw, 2.75rem);
  border-radius: 22%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.site-header .logo:hover {
  color: #4f46e5;
}

.logo--lockup:hover .logo__icon {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}

.header-trailing {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem 1rem;
}

.lang-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.lang-nav__list a {
  display: inline-block;
  padding: 0.25rem 0.45rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s ease, color 0.2s ease;
}

.lang-nav__list a:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

/* aria-current="page" on the active locale link (see replace_nav in build) */
.lang-nav__list a[aria-current] {
  color: var(--text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
  text-decoration-color: var(--accent);
  background: rgba(0, 0, 0, 0.04);
  pointer-events: none;
}

.lang-nav__list a[aria-current]:hover {
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

.lang-nav__future {
  display: inline-block;
  padding: 0.25rem 0.45rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  opacity: 0.65;
}

/* Mobile language menu */
.lang-menu-toggle {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.55rem;
  margin: 0;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.lang-menu-toggle:hover {
  background: var(--accent-soft);
  border-color: rgba(45, 106, 79, 0.25);
}

.lang-menu-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.lang-menu-toggle__label {
  white-space: nowrap;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 1.1rem;
  height: 0.85rem;
}

.hamburger__bar {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.lang-menu-toggle.is-open .hamburger__bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.lang-menu-toggle.is-open .hamburger__bar:nth-child(2) {
  opacity: 0;
}

.lang-menu-toggle.is-open .hamburger__bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.lang-menu-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 1rem 0 1.25rem;
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.lang-menu-panel[hidden] {
  display: none !important;
}

.lang-nav__list--mobile {
  flex-direction: column;
  align-items: stretch;
  gap: 0.15rem;
}

.lang-nav__list--mobile a,
.lang-nav__list--mobile .lang-nav__future {
  display: block;
  padding: 0.5rem 0.35rem;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .lang-split--left,
  .lang-split--right {
    display: none;
  }

  .lang-menu-toggle {
    display: inline-flex;
  }

  .header-spacer {
    display: none;
  }

  .header-inner {
    position: relative;
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-end;
    min-height: 3rem;
    padding-left: 0;
    padding-right: 0;
  }

  .header-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    grid-column: auto;
    max-width: calc(100% - 8rem);
  }

  .header-trailing {
    grid-column: auto;
    margin-left: auto;
    flex-shrink: 0;
  }
}

@media (min-width: 769px) {
  .lang-menu-toggle {
    display: none !important;
  }

  .lang-menu-panel {
    display: none !important;
  }
}

/* Hero */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(1.05rem, 3.4vw, 2.45rem) 0 clamp(1.7rem, 5.4vw, 3.95rem);
  background-color: var(--section-blob-base);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -14%;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-image:
    radial-gradient(
      ellipse min(90vw, 44rem) min(58vw, 30rem) at 10% 22%,
      var(--section-blob-green),
      transparent 62%
    ),
    radial-gradient(
      ellipse min(75vw, 38rem) min(52vw, 26rem) at 90% 38%,
      var(--section-blob-teal),
      transparent 58%
    ),
    radial-gradient(
      ellipse min(65vw, 32rem) min(48vw, 22rem) at 48% 95%,
      var(--section-blob-red),
      transparent 56%
    ),
    radial-gradient(
      ellipse min(50vw, 24rem) min(42vw, 18rem) at 78% 8%,
      var(--section-blob-teal-soft),
      transparent 52%
    );
  transform-origin: 45% 35%;
  animation: section-blob-pulse 16s ease-in-out infinite alternate;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.hero__grid > * {
  min-width: 0;
}

@media (min-width: 900px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
  }
}

.hero__content {
  animation: fade-up 0.7s ease-out both;
  text-align: center;
  max-width: 28rem;
  margin-inline: auto;
}

@media (min-width: 900px) {
  .hero__content {
    text-align: right;
    max-width: 100%;
    margin-inline: 0;
    justify-self: stretch;
  }
}

.hero__eyebrow {
  margin: 0 0 0.15rem;
  padding: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.01em;
  line-height: 1.35;
}

.hero__title {
  font-family: var(--font-hero-headline);
  font-size: clamp(2.5rem, 6.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.035em;
  color: var(--hero-navy);
  margin: 0 0 1.5rem;
  padding-top: 0;
}

.hero__title-strong {
  font-family: var(--font-hero-headline);
  font-weight: 800;
  font-style: normal;
  letter-spacing: -0.04em;
  font-size: 1em;
  color: #4f46e5;
}

.hero__title-strong--underline {
  text-decoration: underline;
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.22em;
  text-decoration-color: var(--text);
}

/* Hero carousel: images keep intrinsic ratio; only max-height caps size */
.hero-carousel {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
}

@media (min-width: 900px) {
  .hero-carousel {
    margin-inline: 0;
  }
}

.hero-carousel:focus {
  outline: none;
}

.hero-carousel:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 1rem;
}

.hero-carousel__viewport {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
}

.hero-carousel__nav {
  position: absolute;
  bottom: 0.2rem;
  right: 0.2rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.hero-carousel__nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.12rem;
  margin: 0;
  border: none;
  border-radius: 3px;
  background: transparent;
  color: var(--hero-navy);
  cursor: pointer;
  opacity: 0.45;
  line-height: 0;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.hero-carousel__nav-btn:hover {
  opacity: 0.95;
  color: var(--accent);
}

.hero-carousel__nav-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  opacity: 1;
}

.hero-carousel__track {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-carousel__slide {
  grid-area: 1 / 1;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  background: transparent;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.65s ease;
}

.hero-carousel__slide.is-active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
  .hero-carousel__slide {
    transition: none;
  }
}

.hero-carousel__img {
  display: block;
  width: 100%;
  max-width: min(76vh, 38rem);
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: var(--text);
  border: none;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  background: var(--accent-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27, 67, 50, 0.25);
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.hero__visual {
  animation: fade-up 0.8s ease-out 0.15s both;
  align-self: start;
  width: 100%;
  padding-top: 0;
}

@media (min-width: 900px) {
  .hero__visual {
    padding-top: 0.1rem;
  }
}

/* Official App Store badges — do not crop or recolor per Apple guidelines */
.app-store-badge-link {
  display: inline-block;
  line-height: 0;
  border-radius: 6px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, opacity 0.2s ease, filter 0.2s ease;
}

.app-store-badge-link:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

.app-store-badge-link:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 4px;
}

.app-store-badge-link img {
  display: block;
  height: clamp(2.65rem, 6.5vw, 3.15rem);
  width: auto;
}

.hero__content .hero__app-store-badge {
  margin-top: 0.35rem;
}

.cta-block .cta__app-store-badge {
  margin-top: 0.35rem;
}

/* Coming soon overlay — App Store badge not clickable until launch */
.store-badge-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.store-badge-wrap.is-coming-soon .app-store-badge,
.store-badge-wrap.is-coming-soon .app-store-badge-link {
  pointer-events: none;
  filter: grayscale(0.35);
  opacity: 0.86;
}

.store-badge-wrap.is-coming-soon .app-store-badge-link:hover {
  opacity: 0.86;
  transform: none;
}

.store-badge-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: transparent;
  backdrop-filter: blur(0.5px);
  -webkit-backdrop-filter: blur(0.5px);
  pointer-events: none;
}

.store-badge-overlay__pill {
  display: block;
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ef4444;
  font-size: clamp(0.65rem, 1.85vw, 0.88rem);
  line-height: 1;
  max-width: 95%;
  padding-inline: 0.15rem;
  text-align: center;
  /* Uppercase labels often sit optically high; nudge to true center over the badge */
  transform: translateY(0.12em);
  text-shadow:
    -0.5px -0.5px 0 rgba(0, 0, 0, 0.55),
    0.5px -0.5px 0 rgba(0, 0, 0, 0.55),
    -0.5px 0.5px 0 rgba(0, 0, 0, 0.55),
    0.5px 0.5px 0 rgba(0, 0, 0, 0.55),
    0 1px 6px rgba(0, 0, 0, 0.2);
}

.hero .store-badge-overlay__pill {
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  font-weight: 500;
  transform: translateY(0.08em);
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  margin-top: 1rem;
  max-width: 22rem;
}

.waitlist-form__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.hero__content .waitlist-form {
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 900px) {
  .hero__content .waitlist-form {
    margin-left: auto;
    margin-right: 0;
  }

  .hero__content .waitlist-form__row {
    justify-content: flex-end;
  }
}

.waitlist-form input[type="email"] {
  flex: 1 1 12rem;
  min-width: 0;
  padding: 0.55rem 0.75rem;
  font: inherit;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-elevated);
  color: var(--text);
}

.waitlist-form input[type="email"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.waitlist-form button[type="submit"] {
  padding: 0.55rem 1rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  background: var(--get-in-touch-orange);
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.waitlist-form button[type="submit"]:hover {
  filter: brightness(0.94);
}

.waitlist-form button[type="submit"]:focus-visible {
  outline: 2px solid #c45f00;
  outline-offset: 2px;
}

.waitlist-form button[type="submit"]:disabled {
  opacity: 0.75;
  cursor: not-allowed;
}

.waitlist-form__note {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--text-muted);
  text-align: center;
}

@media (min-width: 900px) {
  .hero__content .waitlist-form__note {
    text-align: right;
  }
}

.waitlist-form__status {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
}

@media (min-width: 900px) {
  .hero__content .waitlist-form__status {
    text-align: right;
  }
}

.cta-block .waitlist-form--cta {
  margin-top: 1rem;
  margin-left: auto;
  margin-right: auto;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */

section {
  padding: clamp(3rem, 8vw, 5rem) 0;
}

/* Less top padding here offsets larger .section-title — net section height stays similar */
.little-things,
.how-it-works,
.faq,
.cta-block {
  padding-top: clamp(2.05rem, 5.75vw, 3.75rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.65vw, 2.9rem);
  font-weight: 600;
  text-align: center;
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin: 0 auto 2.5rem;
  max-width: 36ch;
  font-size: 1.05rem;
}

/* Little things — app-style color-coded mockups */

.little-things {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.app-stripes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem;
}

@media (min-width: 900px) {
  .app-stripes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 1.25rem;
  }
}

.app-stripe {
  min-width: 0;
}

.app-stripes-nudge {
  margin: 2.25rem auto 0;
  max-width: 42rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.35vw, 1.95rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.22;
  color: var(--hero-navy);
  opacity: 0.78;
}

.app-stripes-nudge strong {
  color: var(--accent);
}

.app-stripe__panel {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.15rem 1.1rem 1.25rem;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
  .app-stripe__panel {
    transition: none;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .app-stripe:hover .app-stripe__panel {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
  }
}

.app-stripe--reminders .app-stripe__panel {
  background: var(--app-reminders);
}

.app-stripe--insights .app-stripe__panel {
  background: var(--app-insights);
}

.app-stripe--gifts .app-stripe__panel {
  background: var(--app-gifts);
}

.app-stripe__label {
  margin: 0 0 0.65rem;
  font-size: clamp(1.12rem, 2.85vw, 1.48rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.handwritten-note {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  margin: 0 auto 0.65rem;
  max-width: 15rem;
  position: relative;
  z-index: 1;
}

.handwritten-note__text {
  font-family: var(--font-hand);
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: rgba(0, 0, 0, 0.86);
  text-align: center;
  transform: rotate(-1.5deg);
}

.handwritten-note__arrow {
  display: block;
  width: min(3.5rem, 30vw);
  height: auto;
  color: rgba(0, 0, 0, 0.82);
  margin-top: -0.1rem;
  align-self: center;
  transform-origin: 50% 16%;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.28));
}

/* Slight tilt per stripe so arrows feel sketched, not identical */
.handwritten-note--reminders .handwritten-note__arrow {
  transform: rotate(-6deg);
}

.handwritten-note--insights .handwritten-note__arrow {
  transform: rotate(2deg);
}

.handwritten-note--gifts .handwritten-note__arrow {
  transform: rotate(8deg);
}


.app-stripe__card {
  background: #fff;
  border-radius: 16px;
  padding: 0.85rem 1rem 0.95rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.app-stripe__panel > .app-stripe__card + .app-stripe__card {
  margin-top: 0.75rem;
}

.app-stripe__card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.65rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.app-stripe__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.app-stripe__date {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.app-stripe__row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding-top: 0.65rem;
}

.app-stripe__row--reminder {
  margin: 0;
  padding: 0.65rem 0;
  border-radius: 0;
  border: none;
  background: transparent;
  align-items: stretch;
}

.app-stripe__checkbox {
  flex-shrink: 0;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.15rem;
  border-radius: 50%;
  border: 2px solid var(--app-reminders);
  background: #fff;
}

.app-stripe--reminders .app-stripe__checkbox {
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.app-stripe--reminders .app-stripe__checkbox:active {
  transform: scale(0.92);
}

.app-stripe--reminders .app-stripe__checkbox.is-checked {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--app-reminders);
  border-color: var(--app-reminders);
}

.app-stripe--reminders .app-stripe__checkbox.is-checked::after {
  content: "";
  width: 0.26rem;
  height: 0.45rem;
  margin-bottom: 0.06rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.app-stripe__task {
  margin: 0 0 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

.app-stripe__row--reminder .app-stripe__row-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 3.35rem;
}

.app-stripe__row--reminder .app-stripe__task {
  margin-bottom: 0;
}

.app-stripe__row--reminder .app-stripe__due {
  margin-top: auto;
  padding-top: 0.35rem;
}

.app-stripe__due {
  margin: 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.app-stripe__row--insight {
  flex-direction: column;
  gap: 0.45rem;
  padding-top: 0;
  margin-top: 0.35rem;
  border-top: none;
}

.app-stripe__row--insight-follow {
  border-top: 2px solid rgba(0, 128, 157, 0.32);
  margin-top: 0.55rem;
  padding-top: 0.65rem;
}

.app-stripe__insight-text {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}

.app-stripe__pill {
  align-self: flex-start;
  padding: 0.2rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--app-insights);
  background: rgba(0, 128, 157, 0.1);
  border-radius: 6px;
}

.app-stripe--insights .app-stripe__card-head {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.app-stripe__row--gift {
  flex-direction: column;
  align-items: stretch;
  margin-top: 0.35rem;
  padding-top: 0;
  border-top: none;
  gap: 0.4rem;
}

.app-stripe__row--gift-follow {
  border-top: 2px solid rgba(255, 89, 89, 0.32);
  margin-top: 0.55rem;
  padding-top: 0.65rem;
}

.app-stripe--gifts .app-stripe__card-head {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.app-stripe__gift-text {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.35;
}

.app-stripe__gift-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
}

.app-stripe__gift-cat {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  background: #ececec;
  border-radius: 999px;
}

.app-stripe__gift-date {
  margin-left: auto;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text-muted);
  white-space: nowrap;
}

.handwritten-note--reminders .handwritten-note__text {
  max-width: 13rem;
}

.handwritten-note--insights .handwritten-note__text,
.handwritten-note--gifts .handwritten-note__text {
  max-width: 14rem;
}

@media (prefers-reduced-motion: reduce) {
  .handwritten-note__text {
    transform: none;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* How it works */

.how-it-works {
  position: relative;
  overflow: hidden;
  background-color: var(--section-blob-base);
}

.how-it-works::before {
  content: "";
  position: absolute;
  inset: -14%;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-image:
    radial-gradient(
      ellipse min(88vw, 42rem) min(56vw, 28rem) at 14% 30%,
      var(--section-blob-green),
      transparent 60%
    ),
    radial-gradient(
      ellipse min(72vw, 36rem) min(50vw, 25rem) at 86% 28%,
      var(--section-blob-teal),
      transparent 58%
    ),
    radial-gradient(
      ellipse min(70vw, 34rem) min(46vw, 21rem) at 52% 88%,
      var(--section-blob-red),
      transparent 55%
    ),
    radial-gradient(
      ellipse min(48vw, 22rem) min(38vw, 16rem) at 32% 12%,
      var(--section-blob-teal-soft),
      transparent 50%
    );
  transform-origin: 55% 45%;
  animation: section-blob-pulse 20s ease-in-out infinite alternate;
  animation-delay: -6s;
}

.how-it-works > * {
  position: relative;
  z-index: 1;
}

/* Wider than default .wrap so side copy and mock have more room */
.how-it-works .wrap {
  width: min(100% - var(--space) * 2, 88rem);
}

.how-it-works__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
}

.how-it-works__side {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  min-width: 0;
}

.how-it-works__step {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.how-it-works__num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 50%;
  line-height: 1;
}

.how-it-works__col--mock {
  min-width: 0;
  width: 100%;
  margin-inline: auto;
}

@media (max-width: 899px) {
  .how-it-works__col--mock .keep-in-touch-mock {
    margin-top: 0;
  }
}

.how-it-works .step {
  flex: 1;
  min-width: 0;
  text-align: left;
  padding: 0;
}

.how-it-works .step::before {
  content: none;
  display: none;
  counter-increment: none;
}

.how-it-works .step p + p {
  margin-top: 0.55rem;
}

.step {
  text-align: center;
  padding: 1.5rem 1rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 50%;
}

.step h3 {
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

@media (min-width: 900px) {
  /*
   * Middle column is only as wide as the mock (not 42%+1fr), so the orange card
   * spans the full track—no huge empty bands inside the center column.
   * Side columns are 1fr so copy sits close to the widget (just the column-gap).
   */
  .how-it-works__layout {
    grid-template-columns: minmax(0, 1fr) min(23rem, 100%) minmax(0, 1fr);
    gap: 1.5rem clamp(0.5rem, 1.2vw, 0.85rem);
    align-items: start;
  }

  .how-it-works__side--left {
    justify-self: end;
    max-width: 22rem;
  }

  .how-it-works__side--right {
    justify-self: start;
    max-width: 22rem;
  }

  .how-it-works__col--mock {
    justify-self: stretch;
    align-self: start;
    width: 100%;
    min-width: 0;
    max-width: 23rem;
  }

  .how-it-works__col--mock .keep-in-touch-mock {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .how-it-works .step h3 {
    margin-bottom: 0.35rem;
  }
}

.keep-in-touch-mock {
  margin-top: 0;
  max-width: 40rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0.75rem 0.45rem 0.65rem;
  text-align: left;
  background: var(--get-in-touch-orange);
  border-radius: 18px;
  color: #fff;
}

/* Beats .step p (muted); title + Show More are direct <p> children */
.keep-in-touch-mock > p {
  color: #fff;
}

.keep-in-touch-mock__title {
  margin: 0 0 0.55rem 0.1rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.keep-in-touch-mock__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.keep-in-touch-mock__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.4rem 0.5rem 0.45rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.keep-in-touch-mock__avatar {
  flex-shrink: 0;
  width: 3.525rem;
  height: 3.525rem;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  background: #e8e8e8;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.keep-in-touch-mock__main {
  flex: 1;
  min-width: 0;
}

.keep-in-touch-mock__name-line {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.keep-in-touch-mock__name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}

.keep-in-touch-mock__due-icon {
  display: flex;
  flex-shrink: 0;
}

.keep-in-touch-mock__due {
  margin: 0.1rem 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.3;
}

.keep-in-touch-mock__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
}

.keep-in-touch-mock__tag {
  display: inline-block;
  padding: 0.12rem 0.45rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #555;
  background: #e8e8e8;
  border-radius: 999px;
}

.keep-in-touch-mock__chev {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.keep-in-touch-mock__more {
  margin: 0.65rem 0 0;
  padding-top: 0.15rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
}

/* FAQ */

.faq {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border);
}

.faq__intro {
  text-align: center;
  font-weight: 600;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

.faq details {
  max-width: 40rem;
  margin: 0 auto 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.faq__details--roles {
  max-width: 46rem;
}

.faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  font-weight: 400;
  color: var(--text-muted);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p {
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.faq__for-me-intro {
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.faq__role-list {
  list-style: none;
  margin: 0.85rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq__role-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.75rem 1rem;
  align-items: start;
  margin: 0;
  padding: 0.75rem 0.85rem;
  background: rgba(45, 106, 79, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
}

.faq__role-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  background: rgba(45, 106, 79, 0.12);
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", emoji, sans-serif;
  font-size: 1.65rem;
  line-height: 1;
}

.faq__role-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.faq__role-name {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.35;
}

.faq__role-copy {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-muted);
}

@media (max-width: 520px) {
  .faq__role-list li {
    gap: 0.65rem 0.85rem;
    padding: 0.65rem 0.75rem;
  }

  .faq__role-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9px;
    font-size: 1.45rem;
  }
}

.faq .faq__answer-wide {
  max-width: 42rem;
}

.faq details[open] {
  box-shadow: var(--shadow);
}

/* CTA block */

.cta-block {
  position: relative;
  overflow: hidden;
  text-align: center;
  background-color: var(--section-blob-base);
}

.cta-block::before {
  content: "";
  position: absolute;
  inset: -14%;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-image:
    radial-gradient(
      ellipse min(82vw, 40rem) min(54vw, 27rem) at 85% 65%,
      var(--section-blob-teal),
      transparent 58%
    ),
    radial-gradient(
      ellipse min(78vw, 38rem) min(50vw, 24rem) at 18% 55%,
      var(--section-blob-green),
      transparent 60%
    ),
    radial-gradient(
      ellipse min(62vw, 30rem) min(44vw, 20rem) at 50% 8%,
      var(--section-blob-red),
      transparent 54%
    ),
    radial-gradient(
      ellipse min(55vw, 26rem) min(40vw, 17rem) at 42% 92%,
      var(--section-blob-teal-soft),
      transparent 52%
    );
  transform-origin: 50% 50%;
  animation: section-blob-pulse 18s ease-in-out infinite alternate;
  animation-delay: -11s;
}

.cta-block > * {
  position: relative;
  z-index: 1;
}

.cta-block p {
  max-width: 36ch;
  margin: 0 auto 1.5rem;
  color: var(--text-muted);
}

/* Footer */

.site-footer {
  padding: 1.5rem 0;
  background: #fff;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.site-footer__copy {
  margin: 0;
}

.site-footer__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.site-footer__nav a {
  color: var(--accent);
  text-decoration: none;
}

.site-footer__nav a:hover {
  text-decoration: underline;
}

.site-footer__sep {
  color: rgba(0, 0, 0, 0.25);
  user-select: none;
}

/* Simple inner pages (Privacy, Contact) */

.site-header--simple .wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.875rem 0;
}

.content-page {
  padding: clamp(2rem, 5vw, 3rem) 0 clamp(3rem, 8vw, 4.5rem);
}

.content-page .wrap {
  max-width: 42rem;
}

.content-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1rem;
  color: var(--text);
}

.content-page .lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 1.25rem;
}

.contact-page__email {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.contact-page__credit {
  margin: 2rem 0 0;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-page__credit a {
  font-weight: 600;
}

.contact-apps {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
}

.contact-apps__heading {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

.contact-apps__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-app {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin: 0;
  padding: 1rem 1.1rem;
  background: rgba(45, 106, 79, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-app:hover {
  background: rgba(45, 106, 79, 0.09);
  border-color: rgba(45, 106, 79, 0.2);
  box-shadow: var(--shadow);
}

.contact-app:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.contact-app__icon {
  flex-shrink: 0;
  width: 4rem;
  height: 4rem;
  border-radius: 22%;
  object-fit: cover;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.contact-app__body {
  min-width: 0;
}

.contact-app__name {
  display: block;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--text);
  line-height: 1.25;
}

.contact-app__tagline {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text-muted);
}

@media (max-width: 420px) {
  .contact-app {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .contact-app__body {
    text-align: center;
  }
}

.legal-page .legal-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.legal-page .legal-intro {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.legal-page .legal-intro:last-of-type {
  margin-bottom: 1.75rem;
}

.legal-page h2 {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.75rem 0 0.5rem;
  color: var(--text);
}

.legal-page h2:first-of-type {
  margin-top: 0;
}

.legal-page p {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
}

.legal-page ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.legal-page li {
  margin-bottom: 0.35rem;
}

.legal-page li:last-child {
  margin-bottom: 0;
}

.legal-page a {
  font-weight: 600;
}
