/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #dc143c;
  --secondary-color: #b01030;
  --accent-color: #e6375a;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f9fafb;
  --bg-white: #ffffff;
  --border-color: #e5e7eb;
  --success-color: #10b981;
  --warning-color: #f59e0b;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--bg-white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

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

/* Navigation */
.navbar {
  background-color: var(--bg-white);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo a {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s;
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

/* Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 200px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  border-radius: 4px;
  padding: 0.5rem 0;
}

.dropdown-content a {
  color: var(--text-dark);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
  color: var(--primary-color);
}

.dropdown:hover .dropdown-content {
  display: block;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 100px 20px;
  text-align: center;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 800px;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-button {
  display: inline-block;
  background-color: white;
  color: var(--primary-color);
  padding: 15px 40px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Page Header */
.page-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.25rem;
  opacity: 0.95;
}

.app-legal-header {
  padding: 64px 20px;
}

.leanbowl-legal-header {
  background:
    radial-gradient(circle at 18% 18%, rgba(121, 178, 140, 0.34), transparent 30%),
    linear-gradient(135deg, #eef3ef 0%, #d9e9df 100%);
  color: #1f2a22;
}

.leanbowl-legal-header p {
  color: #617166;
  opacity: 1;
}

.app-legal-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin: 0 auto 1rem;
  color: #102117;
  font-family: HelveticaNeue-CondensedBold, 'Helvetica Neue Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(2.35rem, 6vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1;
}

.app-legal-brand-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
}

/* Sections */
.section {
  padding: 80px 20px;
}

.section-alt {
  background-color: var(--bg-light);
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-dark);
}

.text-center {
  text-align: center;
  color: var(--text-light);
  margin-bottom: 3rem;
}

.eyebrow {
  display: inline-block;
  color: var(--accent-color);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero .eyebrow,
.page-header .eyebrow {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.news-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.news-image {
  height: 200px;
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.news-content {
  padding: 1.5rem;
}

.news-tag {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.news-content h3 {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.news-content p {
  color: var(--text-light);
}

/* Apps Grid */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.apps-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.8fr);
  gap: 2rem;
  align-items: stretch;
}

.app-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.app-card-featured {
  padding: 2.75rem;
  border: 1px solid rgba(220, 20, 60, 0.14);
  background:
    radial-gradient(circle at top left, rgba(220, 20, 60, 0.1), transparent 38%),
    white;
}

.app-card-muted {
  border: 1px dashed var(--border-color);
  background: var(--bg-light);
  box-shadow: none;
}

.app-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.app-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.app-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-icon-tile {
  width: 108px;
  height: 108px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  background: white;
  border: 1px solid rgba(220, 20, 60, 0.14);
  box-shadow: 0 16px 35px rgba(176, 16, 48, 0.14);
  overflow: hidden;
}

.app-icon-tile-large {
  width: 132px;
  height: 132px;
  margin: 0 0 1.5rem;
}

.app-card h3 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.app-card p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.highlight-card,
.legal-callout,
.route-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-color);
}

.highlight-card {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.highlight-card h3,
.legal-callout h2 {
  margin-bottom: 1rem;
}

.highlight-card h2 {
  margin-bottom: 1rem;
}

.highlight-card p,
.legal-callout p,
.route-card p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.about-intro {
  margin-bottom: 4rem;
}

.route-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.route-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.route-card h3 {
  margin-bottom: 0.75rem;
}

.route-card > p:not(.eyebrow) {
  flex: 1;
}

.app-link {
  color: var(--primary-color);
  font-weight: 600;
  transition: color 0.3s;
}

.app-link:hover {
  color: var(--secondary-color);
}

/* LeanBowl landing page */
.leanbowl-page {
  --lean-green: #79b88a;
  --lean-green-dark: #255d39;
  --lean-green-deep: #173c27;
  --lean-mint: #eef8ef;
  --lean-cream: #fffaf0;
  --lean-ink: #1c2c22;
  --lean-muted: #647567;
  background: var(--lean-cream);
  color: var(--lean-ink);
  overflow: hidden;
}

.leanbowl-hero {
  position: relative;
  padding: 6rem 20px 4rem;
  background:
    radial-gradient(circle at 16% 16%, rgba(121, 184, 138, 0.42), transparent 32%),
    radial-gradient(circle at 92% 10%, rgba(255, 224, 166, 0.52), transparent 26%),
    linear-gradient(145deg, #fff8e7 0%, #eff9f1 58%, #d7eddc 100%);
}

.leanbowl-hero::after {
  content: '';
  position: absolute;
  right: -120px;
  bottom: -150px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(37, 93, 57, 0.08);
}

.leanbowl-hero-grid,
.leanbowl-feature-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 4rem;
  align-items: center;
}

.leanbowl-hero-copy {
  max-width: 660px;
}

.leanbowl-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.95rem;
  margin: 0 0 1.2rem;
  color: #102117;
  font-family: HelveticaNeue-CondensedBold, 'Helvetica Neue Condensed', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(3.2rem, 8vw, 5.8rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.leanbowl-brand-icon {
  width: clamp(70px, 10vw, 104px);
  height: clamp(70px, 10vw, 104px);
  border-radius: 22px;
}

.leanbowl-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.42rem 0.85rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(121, 184, 138, 0.16);
  border: 1px solid rgba(37, 93, 57, 0.14);
  color: var(--lean-green-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.leanbowl-hero h1 {
  max-width: 700px;
  margin-bottom: 1.25rem;
  color: var(--lean-green-deep);
  font-size: clamp(2.65rem, 7vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.leanbowl-lede {
  max-width: 560px;
  color: var(--lean-muted);
  font-size: clamp(1.12rem, 2.5vw, 1.45rem);
  line-height: 1.5;
}

.leanbowl-hero-links,
.leanbowl-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.leanbowl-hero-links a,
.leanbowl-legal-links a {
  color: var(--lean-green-dark);
  font-weight: 700;
  border-bottom: 1px solid rgba(37, 93, 57, 0.3);
}

.leanbowl-phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 720px;
}

.leanbowl-hero-screenshot {
  position: relative;
  z-index: 2;
  display: block;
  width: min(390px, 92vw);
  height: auto;
  border-radius: 34px;
  box-shadow: 0 30px 70px rgba(31, 42, 34, 0.18);
  transform: translateX(-150px) rotate(-3deg);
}

.leanbowl-hero-screenshot-back {
  position: absolute;
  z-index: 1;
  width: min(360px, 86vw);
  transform: translate(68px, 24px) rotate(12deg);
  opacity: 0.86;
  filter: saturate(0.96);
}

.leanbowl-phone {
  position: relative;
  width: min(390px, 92vw);
  min-height: 780px;
  padding: 0.8rem;
  border-radius: 44px;
  background: #17261c;
  box-shadow: 0 34px 80px rgba(23, 60, 39, 0.28);
}

.leanbowl-phone-main {
  transform: rotate(2deg);
}

.leanbowl-phone-small {
  width: min(286px, 80vw);
  min-height: 540px;
  margin: 0 auto;
}

.leanbowl-phone-top {
  position: absolute;
  top: 18px;
  left: 50%;
  width: 86px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #101a14;
  z-index: 2;
}

.leanbowl-screen {
  min-height: 565px;
  padding: 3.1rem 1.1rem 1.1rem;
  border-radius: 36px;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.9), transparent 32%),
    linear-gradient(180deg, #f4fbf3 0%, #d9efdc 100%);
  overflow: hidden;
}

.leanbowl-phone-small .leanbowl-screen {
  min-height: 515px;
}

.leanbowl-app-header {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: var(--lean-green-deep);
  font-weight: 900;
}

.leanbowl-mini-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
}

.leanbowl-recipe-card,
.leanbowl-grocery-preview,
.leanbowl-recipe-stack-card,
.leanbowl-grocery-card,
.leanbowl-download-card,
.leanbowl-faq-item {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(37, 93, 57, 0.12);
  box-shadow: 0 18px 45px rgba(37, 93, 57, 0.12);
}

.leanbowl-recipe-card {
  padding: 1rem;
  border-radius: 24px;
}

.leanbowl-recipe-card p,
.leanbowl-recipe-stack-card span {
  color: var(--lean-muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.leanbowl-recipe-card h2 {
  margin: 0.35rem 0 1rem;
  color: var(--lean-green-deep);
  font-size: 1.55rem;
  line-height: 1.05;
}

.leanbowl-macro-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.leanbowl-macro-row span {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: var(--lean-green-dark);
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
}

.leanbowl-input-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  margin: 0.85rem 0;
}

.leanbowl-input-stack span,
.leanbowl-day-row,
.leanbowl-grocery-line {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--lean-green-deep);
  font-weight: 800;
}

.leanbowl-input-stack span {
  padding: 0.72rem;
  font-size: 0.82rem;
}

.leanbowl-grocery-preview {
  padding: 1rem;
  border-radius: 22px;
}

.leanbowl-grocery-preview h3,
.leanbowl-planner-screen h3 {
  margin-bottom: 0.65rem;
  color: var(--lean-green-deep);
}

.leanbowl-grocery-preview p {
  padding: 0.55rem 0;
  color: var(--lean-muted);
  border-bottom: 1px solid rgba(37, 93, 57, 0.1);
}

.leanbowl-floating-card {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 0.1rem;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 20px 50px rgba(37, 93, 57, 0.16);
  backdrop-filter: blur(16px);
}

.leanbowl-floating-card strong {
  color: var(--lean-green-deep);
  font-size: 1.05rem;
}

.leanbowl-floating-card span {
  color: var(--lean-muted);
  font-size: 0.82rem;
}

.leanbowl-floating-card-one {
  top: 32%;
  right: 2%;
}

.leanbowl-floating-card-two {
  left: -18%;
  bottom: 12%;
}

.leanbowl-strip {
  padding: 1.1rem 20px;
  background: var(--lean-green-deep);
  color: white;
}

.leanbowl-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.leanbowl-strip-grid div {
  display: grid;
  gap: 0.12rem;
}

.leanbowl-strip-grid strong {
  font-size: 1rem;
}

.leanbowl-strip-grid span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.leanbowl-demo-section {
  padding: 6rem 20px;
  background:
    radial-gradient(circle at 88% 12%, rgba(121, 184, 138, 0.3), transparent 26%),
    linear-gradient(180deg, var(--lean-cream) 0%, #f3fbf1 100%);
}

.leanbowl-demo-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.72fr);
  gap: 4rem;
  align-items: center;
}

.leanbowl-demo-copy {
  max-width: 620px;
}

.leanbowl-demo-copy h2 {
  margin-bottom: 1rem;
  color: var(--lean-green-deep);
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.leanbowl-demo-copy p:not(.leanbowl-pill) {
  color: var(--lean-muted);
  font-size: 1.12rem;
  line-height: 1.6;
}

.leanbowl-demo-video-shell {
  justify-self: center;
  width: min(330px, 100%);
  padding: 0.8rem;
  border-radius: 38px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 28px 80px rgba(31, 42, 34, 0.16);
}

.leanbowl-demo-video {
  display: block;
  width: 100%;
  aspect-ratio: 886 / 1920;
  border-radius: 30px;
  object-fit: cover;
  background: var(--lean-green-deep);
}

.leanbowl-promo-section {
  padding: 5.5rem 20px;
  background: var(--lean-mint);
}

.leanbowl-promo-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 320px);
  gap: 1rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 0.35rem 0 1.2rem;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(37, 93, 57, 0.35) transparent;
}

.leanbowl-promo-card {
  scroll-snap-align: center;
  overflow: hidden;
  border: 1px solid rgba(37, 93, 57, 0.12);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 22px 54px rgba(31, 42, 34, 0.09);
}

.leanbowl-promo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.leanbowl-promo-card figcaption {
  padding: 1rem 1.1rem 1.15rem;
  color: var(--lean-green-deep);
  font-weight: 900;
}

.leanbowl-reviews-section {
  padding: 5rem 20px;
  background:
    radial-gradient(circle at 16% 0%, rgba(121, 184, 138, 0.26), transparent 28%),
    linear-gradient(180deg, var(--lean-cream) 0%, #f4fbf2 100%);
}

.leanbowl-review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.leanbowl-review-card {
  display: grid;
  gap: 1rem;
  min-height: 250px;
  padding: 1.5rem;
  border: 1px solid rgba(37, 93, 57, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 60px rgba(31, 42, 34, 0.08);
}

.leanbowl-stars {
  color: #e5a83f;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.leanbowl-review-card blockquote {
  color: var(--lean-green-deep);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.45;
}

.leanbowl-review-author {
  align-self: end;
  color: var(--lean-muted);
  font-weight: 800;
}

.leanbowl-section {
  padding: 6rem 20px;
  background: var(--lean-cream);
}

.leanbowl-section-alt {
  background: var(--lean-mint);
}

.leanbowl-feature-grid-reverse {
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
}

.leanbowl-feature-copy h2,
.leanbowl-section-heading h2,
.leanbowl-download-card h2 {
  max-width: 620px;
  margin-bottom: 1rem;
  color: var(--lean-green-deep);
  font-size: clamp(2.2rem, 5vw, 4.15rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.leanbowl-feature-copy p,
.leanbowl-section-heading p,
.leanbowl-download-card p {
  max-width: 590px;
  color: var(--lean-muted);
  font-size: 1.08rem;
}

.leanbowl-screenshot-card {
  display: grid;
  place-items: center;
}

.leanbowl-screenshot-card img {
  display: block;
  width: min(100%, 390px);
  height: auto;
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(31, 42, 34, 0.1);
}

.leanbowl-check-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
  list-style: none;
}

.leanbowl-check-list li {
  position: relative;
  padding-left: 2rem;
  color: var(--lean-green-deep);
  font-weight: 800;
}

.leanbowl-check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.25rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--lean-green);
  box-shadow: inset 0 0 0 5px var(--lean-mint);
}

.leanbowl-visual-card {
  position: relative;
  min-height: 430px;
  padding: 2rem;
  border-radius: 36px;
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 218, 136, 0.55), transparent 28%),
    linear-gradient(145deg, #dbeedd, #fff8e8);
}

.leanbowl-recipe-stack-card {
  max-width: 360px;
  padding: 1.3rem;
  border-radius: 24px;
}

.leanbowl-recipe-stack-card + .leanbowl-recipe-stack-card {
  margin-top: 1rem;
  transform: translateX(2rem);
}

.leanbowl-recipe-stack-card.is-top {
  transform: rotate(-2deg);
}

.leanbowl-recipe-stack-card h3 {
  margin: 0.35rem 0;
  color: var(--lean-green-deep);
  font-size: 1.45rem;
}

.leanbowl-recipe-stack-card p {
  color: var(--lean-muted);
}

.leanbowl-planner-screen {
  padding-top: 3.2rem;
}

.leanbowl-day-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem;
  margin-bottom: 0.7rem;
}

.leanbowl-day-row span {
  color: var(--lean-muted);
}

.leanbowl-grocery-card {
  padding: 1.5rem;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(238, 248, 239, 0.92)),
    var(--lean-mint);
}

.leanbowl-grocery-line {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
}

.leanbowl-grocery-line span {
  width: 22px;
  height: 22px;
  border: 2px solid var(--lean-green);
  border-radius: 7px;
}

.leanbowl-grocery-line.checked span {
  background: var(--lean-green-dark);
  border-color: var(--lean-green-dark);
}

.leanbowl-grocery-total {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 18px;
  background: var(--lean-green-deep);
  color: white;
  font-weight: 900;
  text-align: center;
}

.leanbowl-download-section {
  padding: 5rem 20px;
  background: var(--lean-green-deep);
}

.leanbowl-download-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  border-radius: 34px;
  background: #f8fff5;
}

.leanbowl-section-heading {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.leanbowl-section-heading h2 {
  margin-left: auto;
  margin-right: auto;
}

.leanbowl-section-heading .leanbowl-pill {
  margin-left: auto;
  margin-right: auto;
}

.leanbowl-faq-grid {
  display: grid;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.leanbowl-faq-item {
  border-radius: 22px;
  overflow: hidden;
}

.leanbowl-faq-item summary {
  cursor: pointer;
  padding: 1.15rem 1.25rem;
  color: var(--lean-green-deep);
  font-weight: 900;
  list-style: none;
}

.leanbowl-faq-item summary::-webkit-details-marker {
  display: none;
}

.leanbowl-faq-item summary::after {
  content: '+';
  float: right;
  color: var(--lean-green-dark);
}

.leanbowl-faq-item[open] summary::after {
  content: '-';
}

.leanbowl-faq-item p {
  padding: 0 1.25rem 1.25rem;
  color: var(--lean-muted);
}

.leanbowl-faq-item a {
  color: var(--lean-green-dark);
  font-weight: 800;
}

.leanbowl-faq-downloads {
  margin-top: 2.25rem;
}

.leanbowl-legal-links {
  justify-content: center;
  margin-top: 2rem;
}

.app-subfooter {
  padding: 1.35rem 20px;
  border-top: 1px solid rgba(31, 41, 55, 0.08);
}

.leanbowl-subfooter {
  background: linear-gradient(180deg, #eef8ef 0%, #e2f2e5 100%);
  border-top-color: rgba(37, 93, 57, 0.14);
}

.app-subfooter-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.app-subfooter-label {
  margin-bottom: 0.15rem;
  color: var(--lean-green-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.app-subfooter-copy {
  color: var(--lean-muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.app-subfooter-operator {
  margin-top: 0.18rem;
  color: var(--lean-muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.apps-operator-note {
  max-width: 760px;
  margin: 0 auto 1.5rem;
  color: var(--text-light);
  font-size: 0.98rem;
  text-align: center;
}

.leanbowl-operator-note {
  font-size: 0.95rem;
  opacity: 0.82;
}

.app-subfooter-nav {
  display: grid;
  justify-items: end;
  gap: 0.35rem;
}

.app-subfooter-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem;
}

.app-subfooter-links a {
  color: var(--lean-green-dark);
  font-weight: 850;
  border-bottom: 1px solid rgba(37, 93, 57, 0.28);
}

.leanbowl-ambassador-page {
  --lean-green: #79b88a;
  --lean-green-dark: #255d39;
  --lean-green-deep: #173c27;
  --lean-mint: #eef8ef;
  --lean-cream: #fffaf0;
  --lean-ink: #1c2c22;
  --lean-muted: #647567;
  background: var(--lean-cream);
  color: var(--lean-ink);
}

.leanbowl-ambassador-hero {
  padding: 6rem 20px;
  background:
    radial-gradient(circle at 14% 16%, rgba(121, 184, 138, 0.38), transparent 32%),
    linear-gradient(145deg, #fff8e7 0%, #eef8ef 100%);
}

.leanbowl-ambassador-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: 3rem;
  align-items: center;
}

.leanbowl-ambassador-hero h1,
.leanbowl-ambassador-form-intro h2 {
  max-width: 760px;
  margin-bottom: 1rem;
  color: var(--lean-green-deep);
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.leanbowl-ambassador-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.leanbowl-ambassador-primary,
.leanbowl-ambassador-secondary,
.leanbowl-ambassador-submit {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 1.35rem;
  border-radius: 999px;
  font-weight: 900;
}

.leanbowl-ambassador-primary,
.leanbowl-ambassador-submit {
  border: 0;
  background: var(--lean-green-dark);
  color: white;
  cursor: pointer;
}

.leanbowl-ambassador-secondary {
  background: rgba(255, 255, 255, 0.72);
  color: var(--lean-green-deep);
  border: 1px solid rgba(73, 108, 84, 0.14);
}

.leanbowl-ambassador-card,
.leanbowl-ambassador-info-card,
.leanbowl-ambassador-form-shell {
  background: rgba(247, 251, 247, 0.92);
  border: 1px solid rgba(73, 108, 84, 0.14);
  border-radius: 28px;
  box-shadow: 0 20px 55px rgba(31, 42, 34, 0.08);
}

.leanbowl-ambassador-card {
  padding: 1.5rem;
}

.leanbowl-ambassador-card h2,
.leanbowl-ambassador-info-card h3 {
  margin-bottom: 0.8rem;
  color: var(--lean-green-deep);
}

.leanbowl-ambassador-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.leanbowl-ambassador-info-card {
  padding: 1.25rem;
}

.leanbowl-ambassador-info-card p,
.leanbowl-ambassador-form-intro p,
.leanbowl-form-note {
  color: var(--lean-muted);
}

.leanbowl-ambassador-form-shell {
  max-width: 920px;
  margin: 0 auto;
  padding: 2rem;
}

.leanbowl-ambassador-form {
  display: grid;
  gap: 1.1rem;
  margin-top: 1.5rem;
}

.leanbowl-checkbox-label {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--lean-muted);
  font-weight: 600;
}

.leanbowl-checkbox-label input {
  margin-top: 0.35rem;
}

.leanbowl-ambassador-submit {
  width: fit-content;
  margin-top: 0.5rem;
  font-size: 1rem;
}

.leanbowl-form-note {
  font-size: 0.94rem;
}

.leanbowl-form-note a {
  color: var(--lean-green-dark);
  font-weight: 800;
}

/* Featured Apps */
.featured-apps {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.featured-app {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.featured-app.reverse {
  direction: rtl;
}

.featured-app.reverse > * {
  direction: ltr;
}

.app-image {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-hero-panel {
  min-height: 340px;
  height: auto;
  align-items: stretch;
  justify-content: flex-start;
  background: linear-gradient(135deg, rgba(220, 20, 60, 0.1) 0%, rgba(176, 16, 48, 0.16) 100%);
  border-radius: 20px;
  padding: 2rem;
}

.app-hero-panel > div {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.app-icon-large {
  font-size: 6rem;
}

.app-icon-large-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.app-icon-feature {
  margin: 0;
}

.app-details h2 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.app-description {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.app-features {
  list-style: none;
  margin-bottom: 2rem;
}

.app-features li {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.2rem;
}

.app-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary-color);
}

.app-flow-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.app-flow-item {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 1.75rem;
}

.flow-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--primary-color);
  color: white;
  font-weight: 700;
}

.app-flow-item h3 {
  margin-bottom: 0.75rem;
}

.app-flow-item p,
.app-note-strip p {
  color: var(--text-light);
}

.app-note-strip {
  margin-top: 2rem;
  padding: 1.75rem;
  background: white;
  border-left: 4px solid var(--primary-color);
  border-radius: 8px;
}

.app-note-strip h3 {
  margin-bottom: 0.75rem;
}

.app-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.app-buttons-center {
  justify-content: center;
}

.app-utility-links {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 1rem;
  font-size: 0.92rem;
}

.app-utility-links a {
  color: var(--text-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(100, 116, 139, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.app-utility-links a:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.store-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.store-badges-center {
  justify-content: center;
}

.store-badges-header {
  margin-top: 1.75rem;
}

.store-badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  line-height: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.store-badge-link:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.store-badge {
  display: block;
  width: auto;
  max-height: 48px;
}

.store-badge-apple {
  width: 186px;
  height: auto;
  max-height: none;
  transform: none;
  transform-origin: center;
}

.store-badge-google {
  width: 232px;
  height: auto;
  max-height: none;
  transform: none;
  transform-origin: center;
}

.store-coming-soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 1.1rem;
  border-radius: 10px;
  border: 1px solid rgba(31, 41, 55, 0.16);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

/* LeanBowl link-in-bio page */
.links-page {
  min-height: 100vh;
  min-height: 100svh;
  background:
    radial-gradient(circle at 20% 10%, rgba(243, 178, 97, 0.25), transparent 26%),
    radial-gradient(circle at 84% 16%, rgba(118, 171, 132, 0.28), transparent 30%),
    linear-gradient(180deg, #fff7e8 0%, #edf3e9 100%);
}

.links-shell {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.links-card {
  position: relative;
  width: min(100%, 420px);
  min-height: min(860px, calc(100vh - 2.5rem));
  min-height: min(860px, calc(100svh - 2.5rem));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  padding: 4.5rem 1.45rem 3.25rem;
  color: #fff9ee;
  text-align: center;
  border-radius: 48px;
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 30px 80px rgba(39, 64, 45, 0.26);
  background:
    radial-gradient(circle at 50% 0%, rgba(230, 170, 93, 0.18), transparent 30%),
    linear-gradient(180deg, rgba(63, 82, 55, 0.92) 0%, rgba(70, 92, 60, 0.96) 52%, rgba(45, 61, 42, 0.98) 100%),
    #465c3c;
}

.links-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    radial-gradient(rgba(255, 249, 238, 0.16) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 38%);
  background-size: 16px 16px, 100% 100%;
  opacity: 0.42;
}

.links-card::after {
  content: '';
  position: absolute;
  right: -90px;
  bottom: -80px;
  z-index: -1;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(235, 177, 95, 0.18);
  filter: blur(1px);
}

.links-profile {
  position: relative;
  z-index: 2;
  max-width: 320px;
  margin: 0 auto;
}

.links-logo-wrap {
  width: 96px;
  height: 96px;
  margin: 0 auto 1.15rem;
  border-radius: 28px;
  background: #7aac83;
  overflow: hidden;
  border: 3px solid rgba(255, 249, 238, 0.28);
  box-shadow: 0 18px 40px rgba(18, 39, 22, 0.34);
}

.links-logo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.links-kicker {
  margin-bottom: 0.45rem;
  color: #ffc26f;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.links-profile h1 {
  margin-bottom: 0.5rem;
  color: #fffaf1;
  font-size: clamp(2.05rem, 9vw, 2.8rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.links-profile p:not(.links-kicker) {
  color: rgba(255, 248, 236, 0.86);
  font-size: 1.02rem;
  line-height: 1.52;
}

.links-stack {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.9rem;
}

.links-button {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.2rem 0 1.45rem;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.92);
  color: #21301f;
  font-weight: 800;
  letter-spacing: -0.01em;
  box-shadow: 0 14px 34px rgba(27, 43, 26, 0.19);
  transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.links-button:hover {
  transform: translateY(-2px);
  background: #ffffff;
}

.links-store-button {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  background: rgba(255, 250, 241, 0.92);
  box-shadow: 0 14px 34px rgba(27, 43, 26, 0.19);
  transition: transform 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}

.links-store-button:hover {
  transform: translateY(-2px);
  background: #ffffff;
}

.links-store-button img {
  display: block;
  width: auto;
  max-height: 44px;
}

.links-google-badge {
  transform: scale(1.18);
}

.links-button-primary {
  background: #ffc36f;
  color: #26331e;
  box-shadow: 0 18px 38px rgba(64, 42, 17, 0.2);
}

.links-button-primary:hover {
  background: #ffd08d;
}

.links-button-disabled {
  opacity: 0.82;
  cursor: default;
}

.links-button-disabled span:last-child {
  color: rgba(33, 48, 31, 0.62);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.links-button-disabled:hover {
  transform: none;
  background: rgba(255, 250, 241, 0.92);
}

.links-mini {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  color: rgba(255, 248, 236, 0.78);
  font-size: 0.88rem;
  font-weight: 700;
}

.links-mini a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.links-food-scene {
  position: absolute;
  inset: auto 0 0;
  height: clamp(190px, 30svh, 280px);
  z-index: 1;
  pointer-events: none;
}

.links-food-scene::before {
  content: '';
  position: absolute;
  left: max(-96px, -18vw);
  right: max(-96px, -18vw);
  bottom: clamp(-88px, -8svh, -52px);
  height: clamp(128px, 22svh, 210px);
  border-radius: 50% 50% 0 0;
  background:
    radial-gradient(circle at 20% 34%, rgba(124, 151, 105, 0.86), transparent 18%),
    radial-gradient(circle at 56% 28%, rgba(225, 166, 79, 0.82), transparent 17%),
    linear-gradient(180deg, rgba(255, 244, 216, 0.58), rgba(135, 108, 73, 0.45));
  filter: blur(0.2px);
}

.links-food {
  position: absolute;
  display: block;
  bottom: 34px;
  border-radius: 999px;
  box-shadow: 0 14px 22px rgba(30, 45, 28, 0.22);
}

.links-food-avocado {
  left: 42px;
  width: 78px;
  height: 58px;
  background:
    radial-gradient(circle at 58% 50%, #dfc373 0 17%, transparent 18%),
    radial-gradient(circle at 58% 50%, #eff1c4 0 34%, #6b8f5d 35% 62%, #2f542e 63%);
  transform: rotate(-16deg);
}

.links-food-egg {
  left: 128px;
  bottom: 20px;
  width: 54px;
  height: 42px;
  background:
    radial-gradient(circle at 52% 54%, #efaa3f 0 24%, transparent 25%),
    #fff7d7;
  transform: rotate(8deg);
}

.links-food-tomato {
  right: 76px;
  width: 62px;
  height: 56px;
  background:
    radial-gradient(circle at 38% 32%, rgba(255, 255, 255, 0.25), transparent 18%),
    #e88443;
}

.links-food-leaf {
  right: 30px;
  bottom: 24px;
  width: 74px;
  height: 38px;
  border-radius: 80% 10% 80% 10%;
  background: linear-gradient(135deg, #a8c987, #4d7a43);
  transform: rotate(-24deg);
}

.links-food-grain {
  left: 50%;
  bottom: 12px;
  width: 82px;
  height: 30px;
  background: #e7ca77;
  transform: translateX(-50%) rotate(-2deg);
}

.btn-primary,
.btn-secondary {
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
  display: inline-block;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* Coming Soon */
.coming-soon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.coming-soon-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.coming-soon-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.badge {
  display: inline-block;
  background-color: var(--warning-color);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* About Page */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.stat-card p {
  color: var(--text-light);
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.value-card h3 {
  margin-bottom: 1rem;
}

.value-card p {
  color: var(--text-light);
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-avatar {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.team-card h3 {
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-bio {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Timeline */
.timeline {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
}

.timeline-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 50px;
  top: 60px;
  width: 2px;
  height: calc(100% + 2rem);
  background-color: var(--border-color);
}

.timeline-year {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  text-align: center;
}

.timeline-content {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
  margin-bottom: 0.5rem;
}

.timeline-content p {
  color: var(--text-light);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* Support Page */
.support-quick-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.support-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.support-card:hover {
  transform: translateY(-5px);
}

.support-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.support-card h3 {
  margin-bottom: 0.5rem;
}

.support-card p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.support-link {
  color: var(--primary-color);
  font-weight: 600;
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
}

.faq-question:hover {
  background-color: var(--bg-light);
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Contact Form */
.contact-form-container {
  max-width: 700px;
  margin: 0 auto;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

.form-control-muted,
.form-control-muted:disabled {
  background: #f3f4f6;
  border-color: #d1d5db;
  color: #6b7280;
  cursor: not-allowed;
  opacity: 1;
}

.contact-form button {
  width: 100%;
  padding: 15px;
  background-color: var(--primary-color);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: var(--secondary-color);
}

/* Support Hours */
.support-hours {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.hours-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hours-card h3 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.hours-card p {
  color: var(--text-light);
}

.phone-number {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* Newsletter Section */


/* Footer */
.footer {
  background-color: var(--text-dark);
  color: white;
  padding: 60px 20px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
}

.footer-section a:hover {
  color: white;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--bg-white);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .dropdown-content {
    position: relative;
    box-shadow: none;
    background-color: transparent;
    display: none;
    width: 100%;
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .featured-app {
    grid-template-columns: 1fr;
  }

  .route-card-grid {
    grid-template-columns: 1fr;
  }

  .route-card {
    align-items: stretch;
  }

  .featured-app.reverse {
    direction: ltr;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  .timeline-item {
    grid-template-columns: 80px 1fr;
    gap: 1rem;
  }

  .timeline-year {
    font-size: 1.2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .app-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .store-badges {
    justify-content: center;
    row-gap: 1.15rem;
  }

  .leanbowl-hero {
    padding: 4rem 20px 3rem;
  }

  .leanbowl-page .container,
  .leanbowl-ambassador-page .container {
    padding-left: 0;
    padding-right: 0;
  }

  .leanbowl-hero-grid,
  .leanbowl-feature-grid,
  .leanbowl-feature-grid-reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    justify-items: center;
  }

  .leanbowl-hero-copy,
  .leanbowl-feature-copy,
  .leanbowl-download-card {
    width: 100%;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .leanbowl-hero-copy .store-badges,
  .leanbowl-hero-links,
  .leanbowl-check-list,
  .leanbowl-download-card .store-badges {
    justify-content: center;
  }

  .app-subfooter-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .app-subfooter-links {
    justify-content: center;
  }

  .app-subfooter-nav {
    justify-items: center;
  }

  .leanbowl-phone-stage {
    width: 100%;
    justify-items: center;
    min-height: auto;
  }

  .leanbowl-hero-screenshot {
    width: min(360px, 100%);
    transform: translateX(-58px) rotate(-2deg);
  }

  .leanbowl-hero-screenshot-back {
    width: min(315px, 78%);
    transform: translate(42px, 20px) rotate(10deg);
  }

  .leanbowl-floating-card {
    display: none;
  }

  .leanbowl-strip-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .leanbowl-demo-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
    justify-items: center;
  }

  .leanbowl-demo-copy .leanbowl-pill {
    margin-left: auto;
    margin-right: auto;
  }

  .leanbowl-demo-video-shell {
    width: min(310px, 100%);
  }

  .leanbowl-promo-carousel {
    grid-auto-columns: minmax(245px, 82vw);
  }

  .leanbowl-review-grid {
    grid-template-columns: 1fr;
  }

  .leanbowl-section {
    padding: 4rem 20px;
  }

  .leanbowl-visual-card {
    min-height: auto;
    padding: 1rem;
  }

  .leanbowl-recipe-stack-card,
  .leanbowl-recipe-stack-card + .leanbowl-recipe-stack-card,
  .leanbowl-recipe-stack-card.is-top {
    max-width: none;
    transform: none;
  }

  .leanbowl-download-card {
    flex-direction: column;
  }

  .leanbowl-ambassador-grid,
  .leanbowl-ambassador-info-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .leanbowl-ambassador-hero {
    padding: 4rem 20px;
  }

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

  .leanbowl-ambassador-form-shell {
    width: 100%;
    max-width: 760px;
    padding: 1.6rem;
  }

  .leanbowl-ambassador-form {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    gap: 1.35rem;
  }

  .leanbowl-ambassador-form .form-row {
    width: 100%;
    gap: 0;
  }

  .leanbowl-ambassador-form .form-group {
    width: 100%;
    margin-bottom: 0.35rem;
  }

  .leanbowl-ambassador-form input,
  .leanbowl-ambassador-form textarea {
    display: block;
    width: 100%;
    padding: 14px 15px;
  }

  .app-icon-tile-large {
    margin-left: auto;
    margin-right: auto;
  }

  .app-flow-grid {
    grid-template-columns: 1fr;
  }

  .apps-showcase {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .stat-card h3 {
    font-size: 2rem;
  }

  .leanbowl-hero h1 {
    font-size: 2.55rem;
  }

  .leanbowl-lede {
    font-size: 1.05rem;
  }

  .leanbowl-brand-mark {
    justify-content: center;
    font-size: 3.25rem;
  }

  .leanbowl-brand-icon {
    width: 68px;
    height: 68px;
  }

  .leanbowl-hero-screenshot,
  .leanbowl-screenshot-card img {
    border-radius: 24px;
  }

  .leanbowl-input-stack {
    grid-template-columns: 1fr;
  }

  .leanbowl-feature-copy h2,
  .leanbowl-section-heading h2,
  .leanbowl-download-card h2 {
    font-size: 2.25rem;
  }

  .links-shell {
    align-items: stretch;
    padding: clamp(0.65rem, 3.5vw, 1rem);
  }

  .links-card {
    width: 100%;
    min-height: calc(100svh - clamp(1.3rem, 7vw, 2rem));
    gap: clamp(1.7rem, 5svh, 2.4rem);
    padding: clamp(3.25rem, 10svh, 4.1rem) clamp(1rem, 4.5vw, 1.35rem) clamp(2.4rem, 7svh, 3rem);
    border-radius: clamp(30px, 9vw, 42px);
    box-shadow: 0 clamp(20px, 7vw, 30px) clamp(54px, 16vw, 76px) rgba(39, 64, 45, 0.28);
  }

  .links-card::after {
    right: max(-92px, -25vw);
    bottom: max(-82px, -20vw);
    width: clamp(220px, 72vw, 280px);
    height: clamp(220px, 72vw, 280px);
  }

  .links-logo-wrap {
    width: clamp(82px, 23vw, 96px);
    height: clamp(82px, 23vw, 96px);
    border-radius: clamp(23px, 7vw, 28px);
  }

  .links-store-button {
    min-height: clamp(54px, 15vw, 58px);
    padding-inline: clamp(0.75rem, 4vw, 1rem);
  }

  .links-store-button img {
    max-height: clamp(38px, 11.5vw, 44px);
  }

  .links-food-scene {
    height: clamp(170px, 28svh, 245px);
  }

  .links-food-scene::before {
    left: max(-118px, -30vw);
    right: max(-118px, -30vw);
    bottom: max(-84px, -18vw);
    height: clamp(120px, 20svh, 185px);
  }

  .links-food {
    bottom: clamp(24px, 8vw, 34px);
    box-shadow: 0 clamp(10px, 3.6vw, 14px) clamp(18px, 5.4vw, 24px) rgba(30, 45, 28, 0.24);
  }

  .links-food-avocado {
    left: clamp(18px, 10vw, 42px);
    width: clamp(64px, 20vw, 78px);
    height: clamp(50px, 15vw, 58px);
  }

  .links-food-egg {
    left: clamp(96px, 32vw, 128px);
    bottom: clamp(16px, 5vw, 20px);
    width: clamp(46px, 14vw, 54px);
    height: clamp(36px, 11vw, 42px);
  }

  .links-food-tomato {
    right: clamp(52px, 18vw, 76px);
    width: clamp(52px, 16vw, 62px);
    height: clamp(48px, 15vw, 56px);
  }

  .links-food-leaf {
    right: clamp(16px, 7vw, 30px);
    bottom: clamp(20px, 6vw, 24px);
    width: clamp(60px, 19vw, 74px);
    height: clamp(32px, 10vw, 38px);
  }

  .links-food-grain {
    width: clamp(68px, 22vw, 82px);
    height: clamp(26px, 8vw, 30px);
  }
}

/* Legal Pages (Terms, Privacy, Cookies) */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-updated {
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.legal-section {
  margin-bottom: 2.5rem;
}

.legal-section h2 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.legal-section h3 {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin: 1.5rem 0 0.4rem;
}

.legal-section p {
  color: var(--text-light);
  line-height: 1.8;
}

.legal-list {
  color: var(--text-light);
  padding-left: 1.25rem;
  line-height: 1.8;
}

.legal-list li {
  margin-bottom: 0.5rem;
}

.legal-table-wrapper {
  margin-top: 1.25rem;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: white;
}

.legal-table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
  table-layout: fixed;
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.55;
}

.legal-table th,
.legal-table td {
  padding: 0.85rem;
  border: 1px solid var(--border-color);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.legal-table th {
  background: var(--bg-light);
  color: var(--text-dark);
  font-weight: 700;
}

.legal-table-compact {
  min-width: 720px;
}

.legal-table-wrapper .legal-table {
  border-style: hidden;
}

.legal-section a {
  color: var(--primary-color);
  text-decoration: underline;
}

.legal-section a:hover {
  color: var(--secondary-color);
}

/* =====================================================================
   Gladiolus dark theme — main marketing site only.
   Opt in per page via <body class="theme-dark">.
   App subsites (LeanBowl, MotoAngel) do NOT use this class and are
   unaffected: every override below is scoped to body.theme-dark.
   ===================================================================== */
:root {
  --rd-bg: #0a0a0c;
  --rd-bg-2: #121215;
  --rd-card: #161519;
  --rd-line: rgba(255, 255, 255, 0.09);
  --rd-ink: #f4f4f6;
  --rd-muted: #9b9ba6;
  --rd-burgundy: #7d1c24;
  --rd-burgundy-deep: #480f14;
  --rd-burgundy-bright: #b32d33;
  --rd-tint: rgba(125, 28, 36, 0.16);
  --rd-space: clamp(64px, 8vw, 120px);
}

/* Logo mark in the shared navbar. Black by default (works on the light
   app-subsite navbars); inverted to white only on dark theme pages. */
.logo a { display: inline-flex; align-items: center; gap: 10px; }
.rd-nav-mark { height: 26px; width: auto; display: block; }

/* ---------- shared chrome on dark ---------- */
body.theme-dark { background: var(--rd-bg); color: var(--rd-ink); }
body.theme-dark .navbar {
  background: rgba(10, 10, 12, 0.82);
  backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 1px 0 var(--rd-line);
}
body.theme-dark .logo a { color: var(--rd-ink); }
body.theme-dark .rd-nav-mark { filter: invert(1) brightness(1.6); }
body.theme-dark .nav-link { color: var(--rd-ink); }
body.theme-dark .nav-link:hover,
body.theme-dark .nav-link.active { color: var(--rd-burgundy-bright); border-bottom-color: var(--rd-burgundy-bright); }
body.theme-dark .hamburger .bar { background: var(--rd-ink); }
body.theme-dark .footer { background: #060607; border-top: 1px solid var(--rd-line); }

body.theme-dark .eyebrow {
  color: var(--rd-burgundy-bright);
  background: var(--rd-tint);
  border: 1px solid rgba(179, 45, 51, 0.3);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
}

/* page header (apps / about / legal) -> dark with burgundy glow */
body.theme-dark .page-header {
  background:
    radial-gradient(900px 500px at 80% -40%, rgba(125, 28, 36, 0.45), transparent 60%),
    var(--rd-bg);
  border-bottom: 1px solid var(--rd-line);
}
body.theme-dark .section-alt { background-color: var(--rd-bg-2); }

/* headings + text on shared components */
body.theme-dark .section-title,
body.theme-dark .legal-section h2,
body.theme-dark .legal-content h2,
body.theme-dark .app-card h3,
body.theme-dark .coming-soon-card h3,
body.theme-dark .highlight-card h2,
body.theme-dark .about-intro h2,
body.theme-dark .timeline-content h3 { color: var(--rd-ink); }
body.theme-dark .apps-operator-note,
body.theme-dark .legal-updated { color: var(--rd-muted); }
body.theme-dark .timeline-year { color: var(--rd-burgundy-bright); }

/* buttons on dark */
body.theme-dark .btn-primary,
body.theme-dark .cta-button {
  background: linear-gradient(120deg, var(--rd-burgundy), var(--rd-burgundy-bright));
  color: #fff;
  box-shadow: 0 10px 24px rgba(125, 28, 36, 0.4);
}
body.theme-dark .btn-primary:hover,
body.theme-dark .cta-button:hover { background: linear-gradient(120deg, var(--rd-burgundy-bright), var(--rd-burgundy)); }
body.theme-dark .btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--rd-ink);
  border: 1px solid var(--rd-line);
}
body.theme-dark .btn-secondary:hover { border-color: var(--rd-burgundy-bright); color: var(--rd-burgundy-bright); }

/* cards / surfaces on dark */
body.theme-dark .app-card,
body.theme-dark .coming-soon-card,
body.theme-dark .highlight-card,
body.theme-dark .legal-callout {
  background: var(--rd-card);
  border: 1px solid var(--rd-line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}
body.theme-dark .app-card-featured {
  border-color: rgba(179, 45, 51, 0.35);
  background:
    radial-gradient(circle at top left, var(--rd-tint), transparent 42%),
    var(--rd-card);
}
body.theme-dark .app-icon-tile { background: rgba(255, 255, 255, 0.05); }
body.theme-dark .app-utility-links a { color: var(--rd-muted); }
body.theme-dark .app-utility-links a:hover { color: var(--rd-burgundy-bright); }

/* timeline + legal text on dark */
body.theme-dark .timeline-item { border-color: var(--rd-line); }
body.theme-dark .legal-updated { border-bottom-color: var(--rd-line); }
body.theme-dark .legal-section a { color: var(--rd-burgundy-bright); }
body.theme-dark .legal-section a:hover { color: #cf4a47; }

/* =====================================================================
   rd-* home-page layout components (only present on the home page).
   ===================================================================== */
.rd-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 600px at 88% -10%, rgba(125, 28, 36, 0.4), transparent 60%),
    radial-gradient(800px 500px at -5% 110%, rgba(72, 15, 20, 0.45), transparent 55%),
    var(--rd-bg);
  border-bottom: 1px solid var(--rd-line);
}
.rd-hero::after {
  content: "";
  position: absolute;
  right: -40px; top: 50%;
  transform: translateY(-50%);
  width: 520px; height: 620px;
  background: url('/assets/gladiolus-logo.png') no-repeat center / contain;
  filter: invert(1) brightness(1.4);
  opacity: 0.05;
  pointer-events: none;
}
.rd-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-top: clamp(64px, 8vw, 110px);
  padding-bottom: clamp(56px, 7vw, 96px);
}
.rd-hero-copy { max-width: 560px; }
.rd-lockup { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.rd-lockup img { height: 56px; width: auto; filter: invert(1) brightness(1.6); }
.rd-lockup span { font-size: 1.1rem; font-weight: 700; letter-spacing: 0.02em; color: var(--rd-ink); }
.rd-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 1rem;
  color: var(--rd-ink);
}
.rd-hero h1 .rd-grad {
  background: linear-gradient(120deg, var(--rd-burgundy-bright), #cf4a47);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.rd-hero-sub { font-size: 1.2rem; color: var(--rd-muted); margin: 0 0 2rem; line-height: 1.6; }
.rd-cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.rd-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 12px; font-weight: 600; font-size: 1.02rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.rd-btn-primary {
  background: linear-gradient(120deg, var(--rd-burgundy), var(--rd-burgundy-bright));
  color: #fff;
  box-shadow: 0 12px 28px rgba(125, 28, 36, 0.45);
}
.rd-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(125, 28, 36, 0.55); }
.rd-btn-ghost { background: rgba(255, 255, 255, 0.04); color: var(--rd-ink); border: 1px solid var(--rd-line); }
.rd-btn-ghost:hover { transform: translateY(-2px); border-color: var(--rd-burgundy-bright); color: var(--rd-burgundy-bright); }

.rd-hero-art { position: relative; display: flex; justify-content: center; align-items: flex-end; min-height: 460px; }
.rd-phone {
  width: clamp(180px, 22vw, 250px); border-radius: 34px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08); background: #000; display: block;
}
.rd-phone-back { position: absolute; left: 8%; bottom: 36px; transform: rotate(-7deg); width: clamp(160px, 19vw, 215px); opacity: 0.96; z-index: 1; }
.rd-phone-front { position: relative; transform: rotate(4deg) translateX(18%); z-index: 2; }

.rd-section { padding: var(--rd-space) 0; position: relative; }
.rd-section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); }
.rd-section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); letter-spacing: -0.02em; margin: 0 0 0.75rem; color: var(--rd-ink); }
.rd-section-head p { color: var(--rd-muted); font-size: 1.1rem; margin: 0; }
.rd-pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rd-pillar {
  padding: 28px 24px; border: 1px solid var(--rd-line); border-radius: 16px; background: var(--rd-card);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.rd-pillar:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,0.5); border-color: rgba(179, 45, 51, 0.4); }
.rd-pillar-ic { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--rd-tint); color: var(--rd-burgundy-bright); margin-bottom: 16px; font-size: 1.4rem; }
.rd-pillar h3 { margin: 0 0 6px; font-size: 1.15rem; color: var(--rd-ink); }
.rd-pillar p { margin: 0; color: var(--rd-muted); font-size: 0.96rem; line-height: 1.55; }

.rd-feature { background: var(--rd-bg-2); border-top: 1px solid var(--rd-line); border-bottom: 1px solid var(--rd-line); }
.rd-feature-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.rd-feature-art { display: flex; justify-content: center; }
.rd-feature-art img { width: clamp(200px, 24vw, 270px); border-radius: 36px; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6); }
.rd-feature-copy { max-width: 520px; }
.rd-feature-brand { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.rd-feature-brand img { width: 56px; height: 56px; border-radius: 14px; box-shadow: 0 6px 16px rgba(0,0,0,0.5); }
.rd-feature-brand h3 { margin: 0; font-size: 1.6rem; color: var(--rd-ink); }
.rd-feature-copy > p { color: var(--rd-muted); font-size: 1.1rem; line-height: 1.65; margin: 0 0 1.5rem; }
.rd-feature-links { margin-top: 18px; display: flex; gap: 18px; flex-wrap: wrap; }
.rd-feature-links a { color: var(--rd-muted); font-size: 0.92rem; font-weight: 600; }
.rd-feature-links a:hover { color: var(--rd-burgundy-bright); }

.rd-cta-band {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(135deg, var(--rd-burgundy-deep), var(--rd-burgundy)); color: #fff;
}
.rd-cta-band::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 380px; height: 460px;
  background: url('/assets/gladiolus-logo.png') no-repeat center / contain;
  filter: invert(1); opacity: 0.07; pointer-events: none;
}
.rd-cta-band .container { position: relative; z-index: 1; }
.rd-cta-band h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin: 0 0 0.75rem; letter-spacing: -0.02em; color: #fff; }
.rd-cta-band p { opacity: 0.92; font-size: 1.1rem; margin: 0 0 1.8rem; }
.rd-cta-band .rd-btn-light {
  background: #fff; color: var(--rd-burgundy);
  display: inline-flex; padding: 14px 32px; border-radius: 12px; font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rd-cta-band .rd-btn-light:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.35); }

@media (max-width: 880px) {
  .rd-hero-grid, .rd-feature-grid { grid-template-columns: 1fr; }
  .rd-hero-copy { max-width: none; }
  .rd-hero-art { order: -1; min-height: 380px; margin-bottom: 12px; }
  .rd-hero::after { opacity: 0.04; }
  .rd-pillars { grid-template-columns: repeat(2, 1fr); }
  .rd-feature-art { order: -1; }
  .rd-feature-copy { max-width: none; text-align: center; }
  .rd-feature-brand { justify-content: center; }
  .store-badges, .rd-feature-links { justify-content: center; }
}
@media (max-width: 480px) {
  .rd-pillars { grid-template-columns: 1fr; }
  .rd-phone-front { transform: rotate(3deg) translateX(8%); }
}

/* ---------- interior page hero (apps / about) ---------- */
.rd-page-hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(900px 460px at 78% -40%, rgba(125, 28, 36, 0.4), transparent 60%),
    var(--rd-bg);
  border-bottom: 1px solid var(--rd-line);
  padding: clamp(64px, 9vw, 120px) 20px clamp(48px, 6vw, 80px);
}
.rd-page-hero::after {
  content: "";
  position: absolute;
  right: -60px; top: 50%;
  transform: translateY(-50%);
  width: 420px; height: 500px;
  background: url('/assets/gladiolus-logo.png') no-repeat center / contain;
  filter: invert(1) brightness(1.4);
  opacity: 0.045;
  pointer-events: none;
}
.rd-page-hero .container { position: relative; z-index: 1; }
.rd-page-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--rd-ink);
  margin: 0.6rem 0 1rem;
}
.rd-page-hero-sub { max-width: 620px; margin: 0 auto; color: var(--rd-muted); font-size: 1.15rem; line-height: 1.6; }

/* ---------- featured product card (apps) ---------- */
.rd-product {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  background: var(--rd-card);
  border: 1px solid rgba(179, 45, 51, 0.28);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 56px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.rd-product-art { display: flex; justify-content: center; }
.rd-product-art img { width: clamp(190px, 22vw, 250px); border-radius: 34px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6); }

/* ---------- secondary apps grid ---------- */
.rd-app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.rd-app-card {
  background: var(--rd-card);
  border: 1px solid var(--rd-line);
  border-radius: 18px;
  padding: 30px 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.rd-app-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,0.5); border-color: rgba(179, 45, 51, 0.4); }
.rd-app-card h3 { margin: 0.5rem 0 0.5rem; color: var(--rd-ink); font-size: 1.25rem; }
.rd-app-card p { margin: 0 0 1rem; color: var(--rd-muted); line-height: 1.55; }
.rd-tag {
  display: inline-block;
  padding: 5px 12px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em;
  background: var(--rd-tint); color: var(--rd-burgundy-bright);
  border: 1px solid rgba(179, 45, 51, 0.3);
}
.rd-operator-note { text-align: center; color: var(--rd-muted); font-size: 0.98rem; max-width: 760px; margin: 0 auto clamp(32px, 4vw, 48px); }

/* ---------- about: journey timeline ---------- */
.rd-journey { max-width: 760px; margin: 0 auto; display: grid; gap: 18px; }
.rd-journey-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  align-items: start;
  background: var(--rd-card);
  border: 1px solid var(--rd-line);
  border-radius: 18px;
  padding: 24px 28px;
}
.rd-journey-year { color: var(--rd-burgundy-bright); font-weight: 800; font-size: 1.3rem; }
.rd-journey-item h3 { margin: 0 0 0.4rem; color: var(--rd-ink); font-size: 1.2rem; }
.rd-journey-item p { margin: 0; color: var(--rd-muted); line-height: 1.6; }

@media (max-width: 880px) {
  .rd-product { grid-template-columns: 1fr; text-align: center; }
  .rd-product-art { order: -1; }
  .rd-product .rd-feature-brand, .rd-product .store-badges, .rd-product .rd-feature-links { justify-content: center; }
}
@media (max-width: 560px) {
  .rd-journey-item { grid-template-columns: 1fr; gap: 6px; }
}

/* ==========================================================================
   Postmate — landing page
   ========================================================================== */
.postmate-page {
  --pm-indigo: #4f46e5;
  --pm-indigo-dark: #3730a3;
  --pm-violet: #7c3aed;
  --pm-ink: #1c1840;
  --pm-muted: #5b577a;
  --pm-line: rgba(79, 70, 229, 0.14);
  --pm-tint: rgba(79, 70, 229, 0.08);
  --pm-card: #ffffff;
  color: var(--pm-ink);
  background: #ffffff;
}

.postmate-hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 20px 4.5rem;
  background:
    radial-gradient(circle at 14% 16%, rgba(124, 58, 237, 0.30), transparent 34%),
    radial-gradient(circle at 92% 8%, rgba(79, 70, 229, 0.26), transparent 30%),
    linear-gradient(155deg, #f3f1ff 0%, #eef0ff 55%, #e6e9ff 100%);
}

.postmate-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 0.95fr);
  gap: 3.5rem;
  align-items: center;
}

.postmate-hero-copy { max-width: 640px; }

.postmate-brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 1.4rem;
  color: var(--pm-ink);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

.postmate-brand-glyph {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--pm-indigo) 0%, var(--pm-violet) 100%);
  color: #fff;
  font-size: 1.5rem;
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.34);
}

.postmate-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.42rem 0.85rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: var(--pm-tint);
  border: 1px solid var(--pm-line);
  color: var(--pm-indigo-dark);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.postmate-hero h1 {
  margin-bottom: 1.2rem;
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: var(--pm-ink);
}
.postmate-hero h1 .pm-grad {
  background: linear-gradient(110deg, var(--pm-indigo) 0%, var(--pm-violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--pm-violet);
}

.postmate-lede {
  max-width: 540px;
  margin-bottom: 1.8rem;
  color: var(--pm-muted);
  font-size: clamp(1.08rem, 2.4vw, 1.35rem);
  line-height: 1.55;
}

.postmate-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}

.postmate-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.7rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.postmate-btn-primary {
  background: linear-gradient(135deg, var(--pm-indigo) 0%, var(--pm-violet) 100%);
  color: #fff;
  box-shadow: 0 14px 30px rgba(79, 70, 229, 0.32);
}
.postmate-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(79, 70, 229, 0.42); }
.postmate-btn-ghost {
  background: #fff;
  color: var(--pm-indigo-dark);
  border: 1px solid var(--pm-line);
}
.postmate-btn-ghost:hover { transform: translateY(-2px); border-color: var(--pm-indigo); }

.postmate-cta-note {
  margin-top: 0.9rem;
  color: var(--pm-muted);
  font-size: 0.88rem;
}

/* Hero preview card (CSS mock of the scheduling queue) */
.postmate-preview {
  position: relative;
  background: var(--pm-card);
  border: 1px solid var(--pm-line);
  border-radius: 22px;
  padding: 1.25rem;
  box-shadow: 0 34px 80px rgba(28, 24, 64, 0.18);
}
.postmate-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.postmate-preview-title { font-weight: 800; font-size: 0.98rem; }
.postmate-preview-day {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pm-indigo-dark);
  background: var(--pm-tint);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
}
.postmate-post {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  border: 1px solid var(--pm-line);
  border-radius: 14px;
  margin-bottom: 0.7rem;
  background: #faf9ff;
}
.postmate-post:last-child { margin-bottom: 0; }
.postmate-post-time {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--pm-indigo-dark);
  white-space: nowrap;
}
.postmate-post-body { min-width: 0; }
.postmate-post-line {
  height: 8px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(79,70,229,0.22), rgba(124,58,237,0.12));
}
.postmate-post-line + .postmate-post-line { margin-top: 6px; width: 62%; }
.postmate-post-channels { display: inline-flex; }
.postmate-chan {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 0.7rem;
  border: 2px solid #fff;
  margin-left: -7px;
}
.postmate-chan:first-child { margin-left: 0; }
.postmate-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f9d58;
}
.postmate-status::before {
  content: '';
  width: 8px; height: 8px; border-radius: 50%;
  background: #0f9d58;
}

/* Channels strip */
.postmate-channels-strip {
  padding: 2.5rem 20px;
  background: #fff;
  border-bottom: 1px solid var(--pm-line);
}
.postmate-channels-inner { text-align: center; }
.postmate-channels-label {
  margin-bottom: 1.1rem;
  color: var(--pm-muted);
  font-size: 0.92rem;
  font-weight: 700;
}
.postmate-chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}
.postmate-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--pm-tint);
  border: 1px solid var(--pm-line);
  color: var(--pm-ink);
  font-weight: 700;
  font-size: 0.92rem;
}

/* Highlights strip */
.postmate-strip { padding: 3.5rem 20px; background: #fbfbff; }
.postmate-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.postmate-strip-card {
  background: #fff;
  border: 1px solid var(--pm-line);
  border-radius: 18px;
  padding: 1.6rem;
}
.postmate-strip-icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  margin-bottom: 0.9rem;
  background: var(--pm-tint);
  color: var(--pm-indigo);
  font-size: 1.4rem;
}
.postmate-strip-card strong { display: block; margin-bottom: 0.3rem; font-size: 1.1rem; }
.postmate-strip-card span { color: var(--pm-muted); line-height: 1.55; }

/* Feature rows */
.postmate-feature-section { padding: 5rem 20px; }
.postmate-feature-section.alt { background: #faf9ff; }
.postmate-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3.5rem;
  align-items: center;
}
.postmate-feature-grid.reverse .postmate-feature-visual { order: -1; }
.postmate-feature-copy h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 1rem;
  color: var(--pm-ink);
}
.postmate-feature-copy p { color: var(--pm-muted); font-size: 1.08rem; line-height: 1.6; }
.postmate-feature-list { margin-top: 1.25rem; display: grid; gap: 0.7rem; }
.postmate-feature-list li {
  list-style: none;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  color: var(--pm-ink);
  font-weight: 600;
}
.postmate-feature-list li::before {
  content: '\2713';
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--pm-tint);
  color: var(--pm-indigo);
  font-size: 0.8rem;
  font-weight: 900;
}
.postmate-feature-visual {
  background: linear-gradient(160deg, #eef0ff 0%, #f3f1ff 100%);
  border: 1px solid var(--pm-line);
  border-radius: 22px;
  padding: 1.5rem;
  min-height: 280px;
  display: grid;
  align-content: center;
  gap: 0.7rem;
}

/* How it works */
.postmate-steps-section { padding: 5rem 20px; }
.postmate-section-heading { text-align: center; max-width: 680px; margin: 0 auto 2.75rem; }
.postmate-section-heading h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  letter-spacing: -0.035em;
  margin-bottom: 0.8rem;
  color: var(--pm-ink);
}
.postmate-section-heading p { color: var(--pm-muted); font-size: 1.1rem; line-height: 1.6; }
.postmate-steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.postmate-step {
  background: #fff;
  border: 1px solid var(--pm-line);
  border-radius: 18px;
  padding: 1.8rem;
}
.postmate-step-num {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--pm-indigo) 0%, var(--pm-violet) 100%);
  color: #fff;
  font-weight: 900;
}
.postmate-step h3 { margin-bottom: 0.5rem; font-size: 1.2rem; color: var(--pm-ink); }
.postmate-step p { color: var(--pm-muted); line-height: 1.55; }

/* FAQ */
.postmate-faq-section { padding: 5rem 20px; background: #faf9ff; }
.postmate-faq-grid { max-width: 760px; margin: 0 auto; display: grid; gap: 0.9rem; }
.postmate-faq-item {
  background: #fff;
  border: 1px solid var(--pm-line);
  border-radius: 14px;
  padding: 1.1rem 1.3rem;
}
.postmate-faq-item summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--pm-ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.postmate-faq-item summary::-webkit-details-marker { display: none; }
.postmate-faq-item summary::after { content: '+'; color: var(--pm-indigo); font-size: 1.4rem; font-weight: 400; }
.postmate-faq-item[open] summary::after { content: '\2013'; }
.postmate-faq-item p { margin-top: 0.8rem; color: var(--pm-muted); line-height: 1.6; }

/* Final CTA band */
.postmate-cta-band { padding: 4.5rem 20px; }
.postmate-cta-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(135deg, var(--pm-indigo) 0%, var(--pm-violet) 100%);
  border-radius: 26px;
  padding: 3.5rem 2rem;
  color: #fff;
  box-shadow: 0 30px 70px rgba(79, 70, 229, 0.34);
}
.postmate-cta-inner h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -0.03em; margin-bottom: 0.8rem; }
.postmate-cta-inner p { opacity: 0.92; font-size: 1.1rem; margin-bottom: 1.8rem; }
.postmate-cta-inner .postmate-btn-primary {
  background: #fff;
  color: var(--pm-indigo-dark);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
}

/* Subfooter (colour overrides over generic .app-subfooter) */
.postmate-subfooter { background: linear-gradient(180deg, #f3f1ff 0%, #e9eaff 100%); border-top-color: var(--pm-line); }
.postmate-subfooter .app-subfooter-label { color: var(--pm-indigo-dark); }
.postmate-subfooter .app-subfooter-copy,
.postmate-subfooter .app-subfooter-operator { color: var(--pm-muted); }
.postmate-subfooter .app-subfooter-links a { color: var(--pm-indigo-dark); border-bottom: 1px solid var(--pm-line); }

@media (max-width: 900px) {
  .postmate-hero-grid,
  .postmate-feature-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .postmate-feature-grid.reverse .postmate-feature-visual { order: 0; }
  .postmate-strip-grid,
  .postmate-steps-grid { grid-template-columns: 1fr; }
  .postmate-hero { padding: 4.5rem 20px 3.5rem; }
}
@media (max-width: 620px) {
  .postmate-cta-row { flex-direction: column; align-items: stretch; }
  .postmate-btn { justify-content: center; }
  .app-subfooter-inner { flex-direction: column; align-items: flex-start; }
  .postmate-subfooter .app-subfooter-nav { justify-items: start; }
  .postmate-subfooter .app-subfooter-links { justify-content: flex-start; }
}

/* ==========================================================================
   HanziHeart — brand pages (landing + legal)
   Rose #E0567A · Blush #FDF2F4 · Plum #2A1922 · Cinema #2E1822 · Fraunces + Inter
   ========================================================================== */
.hh-page,
body.hh-legal {
  --hh-rose: #e0567a;
  --hh-rose-dark: #993556;
  --hh-coral: #f2998a;
  --hh-ink: #2a1922;
  --hh-muted: #8a6b75;
  --hh-blush: #fdf2f4;
  --hh-blush-soft: #fbe7ec;
  --hh-cinema: #2e1822;
  --hh-berry: #9b3b5e;
  --hh-amber: #e8a24c;
  --hh-soft: #fad7e0;
  --hh-border: rgba(176, 82, 110, 0.16);
  --hh-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --hh-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.hh-page { font-family: var(--hh-sans); color: var(--hh-ink); background: var(--hh-blush); }
.hh-page h1, .hh-page h2, .hh-page h3 { font-family: var(--hh-serif); font-weight: 600; letter-spacing: -0.01em; }

/* 心 corner stamp */
.hh-stamp {
  position: absolute; top: 18px; right: 22px;
  font-family: var(--hh-serif); font-size: 1.5rem; color: var(--hh-rose);
  opacity: 0.5; user-select: none;
}

/* Hero */
.hh-hero {
  position: relative; overflow: hidden; padding: 5.5rem 20px 4.5rem;
  background:
    radial-gradient(circle at 12% 14%, rgba(224, 86, 122, 0.18), transparent 34%),
    radial-gradient(circle at 92% 8%, rgba(242, 153, 138, 0.20), transparent 30%),
    linear-gradient(160deg, #fff6f8 0%, var(--hh-blush) 55%, var(--hh-blush-soft) 100%);
}
.hh-hero-grid {
  position: relative; display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 3.5rem; align-items: center;
}
.hh-hero-copy { max-width: 640px; }
.hh-brand-mark { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 1.4rem; }
.hh-brand-icon { width: 46px; height: 46px; border-radius: 11px; box-shadow: 0 8px 20px rgba(224, 86, 122, 0.30); }
.hh-brand-text { display: flex; flex-direction: column; gap: 2px; }
.hh-brand-name { font-family: var(--hh-serif); font-size: 1.55rem; font-weight: 600; line-height: 1.05; letter-spacing: -0.01em; color: var(--hh-ink); }
.hh-brand-tag { font-family: var(--hh-sans); font-size: 0.92rem; line-height: 1.2; color: var(--hh-muted); }
.hh-pill {
  display: inline-flex; align-items: center; width: fit-content;
  padding: 0.4rem 0.85rem; margin-bottom: 1rem; border-radius: 999px;
  background: var(--hh-soft); border: 1px solid var(--hh-border);
  color: var(--hh-rose-dark); font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.hh-hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.4rem); line-height: 1.0; margin-bottom: 1.1rem; color: var(--hh-ink); }
.hh-hero h1 em { font-style: italic; color: var(--hh-rose); }
.hh-lede { max-width: 520px; margin-bottom: 1.8rem; color: var(--hh-muted); font-size: clamp(1.08rem, 2.3vw, 1.32rem); line-height: 1.55; }
.hh-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; }
.hh-btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.9rem 1.7rem; border-radius: 12px; font-size: 1rem; font-weight: 600; font-family: var(--hh-sans); transition: transform 0.2s ease, box-shadow 0.2s ease; }
.hh-btn-primary { background: var(--hh-rose); color: #fff; box-shadow: 0 12px 26px rgba(224, 86, 122, 0.32); }
.hh-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(224, 86, 122, 0.42); }
.hh-btn-ghost { background: #fff; color: var(--hh-rose-dark); border: 1px solid var(--hh-border); }
.hh-btn-ghost:hover { transform: translateY(-2px); border-color: var(--hh-rose); }
.hh-coming { margin-top: 1rem; color: var(--hh-muted); font-size: 0.9rem; }
.hh-coming strong { color: var(--hh-rose-dark); }

/* The "reveal" demo card */
.hh-reveal {
  position: relative; background: #fff; border: 1px solid var(--hh-border);
  border-radius: 22px; padding: 1.6rem; box-shadow: 0 30px 70px rgba(42, 25, 34, 0.16);
}
.hh-reveal-source { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--hh-muted); margin-bottom: 0.9rem; }
.hh-reveal-pinyin { font-family: var(--hh-sans); font-style: italic; color: var(--hh-muted); font-size: 1.05rem; margin-bottom: 0.1rem; }
.hh-reveal-hanzi { font-family: "Songti SC", "Noto Serif SC", serif; font-size: 2.6rem; line-height: 1.1; color: var(--hh-ink); margin-bottom: 1.1rem; }
.hh-reveal-row { padding: 0.7rem 0; border-top: 1px solid var(--hh-border); }
.hh-reveal-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--hh-rose-dark); margin-bottom: 0.2rem; }
.hh-reveal-text { color: var(--hh-ink); font-size: 1rem; line-height: 1.45; }
.hh-reveal-text.subtext { font-family: var(--hh-serif); font-style: italic; font-size: 1.12rem; color: var(--hh-ink); }
.hh-reveal-reply { display: inline-block; margin-top: 0.2rem; padding: 0.55rem 0.9rem; border-radius: 12px; background: var(--hh-soft); color: var(--hh-rose-dark); font-weight: 500; }
/* Heat meter */
.hh-heat { margin-top: 1.1rem; }
.hh-heat-label { display: flex; justify-content: space-between; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hh-muted); margin-bottom: 0.35rem; }
.hh-heat-track { position: relative; height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--hh-amber) 0%, var(--hh-coral) 45%, var(--hh-rose) 70%, var(--hh-berry) 100%); }
.hh-heat-marker { position: absolute; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--hh-berry); transform: translate(-50%, -50%); box-shadow: 0 2px 6px rgba(42, 25, 34, 0.25); }

/* Feature strip */
.hh-strip { padding: 3.5rem 20px; background: #fff; }
.hh-strip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.hh-card { background: var(--hh-blush); border: 1px solid var(--hh-border); border-radius: 18px; padding: 1.6rem; }
.hh-card-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 0.9rem; background: var(--hh-soft); color: var(--hh-rose); font-size: 1.4rem; font-family: var(--hh-serif); }
.hh-card strong { display: block; font-family: var(--hh-serif); font-size: 1.15rem; margin-bottom: 0.3rem; }
.hh-card span { color: var(--hh-muted); line-height: 1.55; }

/* Section heading */
.hh-section { padding: 5rem 20px; }
.hh-section.alt { background: #fff; }
.hh-section.cinema { background: var(--hh-cinema); }
.hh-heading { max-width: 680px; margin: 0 auto 2.75rem; text-align: center; }
.hh-heading h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 0.7rem; color: var(--hh-ink); }
.hh-heading p { color: var(--hh-muted); font-size: 1.1rem; line-height: 1.6; }
.hh-section.cinema .hh-heading h2 { color: #fbeef2; }
.hh-section.cinema .hh-heading p { color: #c6a3b0; }

/* How it reads — the four layers */
.hh-layers { max-width: 760px; margin: 0 auto; display: grid; gap: 0.9rem; }
.hh-layer { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; background: #fff; border: 1px solid var(--hh-border); border-radius: 16px; padding: 1.2rem 1.4rem; }
.hh-layer-num { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--hh-rose); color: #fff; font-family: var(--hh-serif); font-weight: 600; }
.hh-layer h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.hh-layer p { color: var(--hh-muted); line-height: 1.55; }

/* FAQ */
.hh-faq { max-width: 760px; margin: 0 auto; display: grid; gap: 0.9rem; }
.hh-faq-item { background: #fff; border: 1px solid var(--hh-border); border-radius: 14px; padding: 1.1rem 1.3rem; }
.hh-faq-item summary { cursor: pointer; font-family: var(--hh-serif); font-weight: 600; color: var(--hh-ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.hh-faq-item summary::-webkit-details-marker { display: none; }
.hh-faq-item summary::after { content: '+'; color: var(--hh-rose); font-size: 1.4rem; }
.hh-faq-item[open] summary::after { content: '\2013'; }
.hh-faq-item p { margin-top: 0.8rem; color: var(--hh-muted); line-height: 1.6; }
.hh-faq-item a { color: var(--hh-rose-dark); border-bottom: 1px solid var(--hh-border); }

/* Final CTA */
.hh-cta-band { padding: 4.5rem 20px; }
.hh-cta-inner { max-width: 900px; margin: 0 auto; text-align: center; background: var(--hh-cinema); border-radius: 26px; padding: 3.5rem 2rem; color: #fbeef2; box-shadow: 0 30px 70px rgba(42, 25, 34, 0.32); }
.hh-cta-inner h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 0.7rem; color: #fff; }
.hh-cta-inner h2 em { font-style: italic; color: var(--hh-rose); }
.hh-cta-inner p { color: #c6a3b0; font-size: 1.1rem; margin-bottom: 1.8rem; }
.hh-cta-inner .hh-btn-primary { background: var(--hh-rose); color: #fff; }

/* Subfooter + legal headers (rose/blush variants of the shared app-legal classes) */
.hanziheart-legal-header {
  background:
    radial-gradient(circle at 16% 20%, rgba(224, 86, 122, 0.16), transparent 32%),
    linear-gradient(135deg, #fff6f8 0%, var(--hh-blush-soft) 100%);
  color: var(--hh-ink);
}
.hanziheart-legal-header p { color: var(--hh-muted); opacity: 1; }
body.hh-legal { font-family: var(--hh-sans); color: var(--hh-ink); }
body.hh-legal .app-legal-brand { font-family: var(--hh-serif); font-weight: 600; letter-spacing: -0.01em; color: var(--hh-ink); }
body.hh-legal .legal-content h2, body.hh-legal .legal-content h3 { font-family: var(--hh-serif); }
.hanziheart-subfooter { background: linear-gradient(180deg, #fff6f8 0%, var(--hh-blush-soft) 100%); border-top-color: var(--hh-border); }
.hanziheart-subfooter .app-subfooter-label { color: var(--hh-rose-dark); }
.hanziheart-subfooter .app-subfooter-copy, .hanziheart-subfooter .app-subfooter-operator { color: var(--hh-muted); }
.hanziheart-subfooter .app-subfooter-links a { color: var(--hh-rose-dark); border-bottom: 1px solid var(--hh-border); }

@media (max-width: 900px) {
  .hh-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hh-strip-grid { grid-template-columns: 1fr; }
  .hh-hero { padding: 4.5rem 20px 3.5rem; }
}
@media (max-width: 620px) {
  .hh-cta-row { flex-direction: column; align-items: stretch; }
  .hh-btn { justify-content: center; }
  .app-subfooter-inner { flex-direction: column; align-items: flex-start; }
  .hanziheart-subfooter .app-subfooter-nav { justify-items: start; }
  .hanziheart-subfooter .app-subfooter-links { justify-content: flex-start; }
}

/* HanziHeart skin for the shared links-page */
.links-page-hh {
  background:
    radial-gradient(circle at 18% 12%, rgba(242, 153, 138, 0.30), transparent 28%),
    radial-gradient(circle at 86% 16%, rgba(224, 86, 122, 0.26), transparent 30%),
    linear-gradient(180deg, #fff6f8 0%, #fbe7ec 100%);
}
.links-page-hh .links-card {
  color: #fbeef2;
  background:
    radial-gradient(circle at 50% 0%, rgba(224, 86, 122, 0.22), transparent 32%),
    linear-gradient(180deg, #3d212e 0%, #2e1822 60%, #241019 100%),
    #2e1822;
  box-shadow: 0 30px 80px rgba(42, 25, 34, 0.32);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}
.links-page-hh .links-card::after { background: rgba(224, 86, 122, 0.20); }
.links-page-hh .links-logo-wrap { background: #e0567a; border-color: rgba(251, 238, 242, 0.30); }
.links-page-hh .links-kicker { color: #f7b9c8; }
.links-page-hh .links-profile h1 { font-family: "Fraunces", Georgia, serif; letter-spacing: -0.02em; color: #fffafb; }
.links-page-hh .links-stamp { position: absolute; top: 1.6rem; right: 1.8rem; font-family: "Fraunces", serif; font-size: 1.6rem; color: rgba(247, 185, 200, 0.6); z-index: 2; }
.links-page-hh .links-button-primary { background: #e0567a; color: #fff; box-shadow: 0 18px 38px rgba(224, 86, 122, 0.30); }
.links-page-hh .links-button-primary:hover { background: #e96b8c; }
