:root {
  --bg: #f7f3ec;
  --bg-soft: #f1e9da;
  --ink: #223130;
  --muted: #566c66;
  --accent: #1f6b57;
  --accent-2: #3c8a6f;
  --card: #ffffff;
  --stroke: #e2ddd3;
  --shadow: rgba(32, 62, 54, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 20%, rgba(31, 107, 87, 0.18), transparent 42%),
    radial-gradient(circle at 82% 16%, rgba(60, 138, 111, 0.16), transparent 38%),
    linear-gradient(150deg, #f7f3ec 0%, #eaf1ec 100%);
}

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

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(247, 243, 236, 0.92);
  border-bottom: 1px solid var(--stroke);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}

.nav-links a {
  padding: 6px 10px;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
  background: rgba(31, 107, 87, 0.08);
  color: var(--accent);
}

.nav-links .cta {
  border: 1px solid var(--accent);
  color: var(--accent);
}

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 70px 24px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  align-items: center;
}

.hero h1 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 56px);
  margin: 12px 0;
}

.hero p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.hero-meta {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-store-link img {
  width: auto;
  height: 42px;
  max-width: 150px;
  object-fit: contain;
}

.hero-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(31, 107, 87, 0.08);
  border: 1px solid var(--stroke);
  font-size: 14px;
  color: var(--muted);
}

.hero-note a {
  color: var(--accent);
  font-weight: 600;
}

.hero-subnote {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.hero-download {
  margin-top: 12px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.btn.download {
  background: var(--accent-2);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(31, 107, 87, 0.28);
}

.btn-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.link-inline {
  color: var(--accent);
  font-weight: 600;
}

.hero-side {
  display: grid;
  gap: 16px;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(31, 107, 87, 0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.pill {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--card);
  border: 1px dashed var(--stroke);
  font-size: 12px;
  color: var(--muted);
}

.pill-progress {
  background: rgba(255, 165, 0, 0.18);
  border-color: rgba(255, 165, 0, 0.45);
  color: #8a4b00;
}

.pill-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
}

.icon {
  width: 18px;
  height: 18px;
  display: inline-block;
}

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

.icon-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.icon-img--wide {
  width: auto;
  height: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 600;
}

.btn.primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(31, 107, 87, 0.28);
}

.btn.ghost {
  border: 1px solid var(--stroke);
  background: #ffffff;
  color: var(--ink);
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px;
}

.section-title {
  margin-bottom: 24px;
}

.section-title h2 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(26px, 4vw, 38px);
  margin: 0 0 6px;
}

.subtitle {
  color: var(--muted);
  margin: 0;
}

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

.grid.two {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid.three {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid.four {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--stroke);
  padding: 22px;
  border-radius: 20px;
  box-shadow: 0 18px 30px var(--shadow);
  color: var(--ink);
}

.card.soft {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(241, 233, 218, 0.7));
}

.card.link {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card.link:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 38px rgba(32, 62, 54, 0.16);
}

.card h3 {
  margin-top: 0;
}

.card p {
  color: var(--muted);
  line-height: 1.6;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0;
}

.platform-banner {
  margin-top: 12px;
  width: auto;
  height: 32px;
  opacity: 0.6;
  filter: grayscale(1);
}

.platform-banner-note {
  margin: 8px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.google-play-badge {
  margin-top: 10px;
  display: inline-block;
  position: relative;
}

.google-play-badge .badge-link {
  display: inline-block;
  position: relative;
}

.google-play-badge img {
  width: auto;
  height: 46px;
  max-width: 170px;
  object-fit: contain;
}

.google-play-badge .badge-overlay {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(31, 107, 87, 0.92);
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 6px 12px rgba(31, 107, 87, 0.35);
}

.card.wide {
  grid-column: 1 / -1;
}

.list {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.list li {
  margin-bottom: 6px;
}

.highlight {
  background: rgba(255, 255, 255, 0.55);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
}

.carousel {
  overflow-x: auto;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.6);
  scroll-snap-type: x mandatory;
}

.carousel-track {
  display: flex;
  gap: 18px;
}

.carousel::-webkit-scrollbar {
  height: 8px;
}

.carousel::-webkit-scrollbar-thumb {
  background: rgba(31, 107, 87, 0.25);
  border-radius: 999px;
}

.screenshot-card {
  scroll-snap-align: start;
  min-width: 230px;
}

.screenshot-card img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  object-fit: contain;
  background: #ffffff;
  margin-bottom: 12px;
}

.screenshot-card a {
  display: block;
}

.guide-grid {
  display: grid;
  gap: 18px;
}

.guide-step {
  display: grid;
  gap: 16px;
  align-items: center;
  grid-template-columns: minmax(220px, 1fr) minmax(200px, 280px);
}

.guide-shot {
  width: 60%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  object-fit: contain;
  background: #ffffff;
  margin-top: 12px;
}

@media (max-width: 720px) {
  .guide-step {
    grid-template-columns: 1fr;
  }

  .guide-shot {
    width: 80%;
  }
}

.video-frame {
  width: auto;
  max-width: 80vw;
  max-height: 70vh;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: #ffffff;
  box-shadow: 0 18px 30px var(--shadow);
}

@media (max-width: 720px) {
  .video-frame {
    width: 100%;
    max-width: 100%;
    max-height: none;
  }
}

.story-hero {
  padding-top: 60px;
}

.story-block {
  margin-bottom: 16px;
}

.cta-block .card {
  text-align: center;
  background: linear-gradient(135deg, rgba(31, 107, 87, 0.16), rgba(241, 233, 218, 0.8));
}

.page {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px;
}

.site-footer {
  padding: 28px 24px 50px;
  border-top: 1px solid var(--stroke);
  text-align: center;
  color: var(--muted);
}

.footer-links {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-copy {
  margin-top: 10px;
  font-size: 13px;
}

.footer-note {
  margin: 10px auto 0;
  max-width: 860px;
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 720px) {
  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-store-link img {
    height: 38px;
  }

  .google-play-badge img {
    height: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
}

.ios-store-row {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ios-store-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 6px;
}

.hero-refresh {
  max-width: 1200px;
  padding-top: 64px;
  gap: 28px;
}

.hero-text-dark {
  color: #f4f8f6;
  background: linear-gradient(140deg, #173d33 0%, #245647 100%);
  border-radius: 34px;
  padding: 38px;
  box-shadow: 0 24px 42px rgba(22, 61, 51, 0.22);
}

.hero-meta-refresh {
  align-items: center;
}

.badge-dark {
  background: rgba(255, 255, 255, 0.14);
  color: #e8f2ed;
}

.hero-status {
  color: #c8dad2;
  font-size: 14px;
  font-weight: 500;
}

.hero-refresh .hero-text h1 {
  color: #f4f8f6;
}

.hero-refresh .hero-text p {
  color: #d5e3de;
}

.hero-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.22);
  color: #f4f8f6;
}

.store-icons-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.store-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 10px 12px;
  min-height: 62px;
}

.store-chip-apple {
  background: rgba(255, 245, 230, 0.1);
}

.store-chip-icon {
  width: auto;
  height: 34px;
  object-fit: contain;
}

.store-chip-icon-small {
  width: 28px;
  height: 28px;
}

.store-chip strong {
  display: block;
  color: #f3f7f5;
  font-size: 14px;
}

.store-chip span {
  display: block;
  color: #c9d8d3;
  font-size: 12px;
  margin-top: 2px;
}

.hero-note-dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #d5e3de;
}

.hero-note-dark .hero-subnote {
  color: #c9d7d2;
}

.hero-side-preview {
  display: block;
}

.preview-shell {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(245, 249, 246, 0.72));
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 24px;
  box-shadow: 0 20px 36px rgba(22, 61, 51, 0.16);
}

.preview-label {
  margin: 0 0 14px;
  color: #62756d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.app-preview-card {
  display: flex;
  gap: 14px;
  background: #ffffff;
  border-radius: 26px;
  padding: 18px;
  box-shadow: 0 16px 24px rgba(22, 61, 51, 0.08);
}

.app-preview-card + .app-preview-card {
  margin-top: 14px;
}

.app-preview-card-tight {
  align-items: center;
}

.app-preview-card-memory {
  align-items: flex-start;
}

.app-preview-accent {
  width: 10px;
  min-height: 50px;
  border-radius: 999px;
  background: #1f6b57;
  flex-shrink: 0;
}

.app-preview-accent-gold {
  background: #d4a437;
}

.app-preview-accent-soft {
  min-height: 110px;
  background: #7aa78b;
}

.app-preview-copy {
  flex: 1;
}

.app-preview-kicker {
  color: #7b8c85;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.app-preview-copy h3 {
  margin: 6px 0 0;
  font-size: 24px;
}

.app-preview-copy p {
  margin: 6px 0 0;
  color: #60756c;
  font-size: 14px;
}

.app-preview-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mini-pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff2cc;
  color: #9b6b00;
  font-size: 11px;
  font-weight: 700;
}

.memory-time {
  color: #6d7c76;
  font-size: 12px;
}

.memory-teaser {
  margin-top: 12px;
  background: #d8e9e0;
  border-radius: 20px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.memory-thumb {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  background: #b8d3c6;
  flex-shrink: 0;
}

.memory-lines {
  flex: 1;
}

.memory-lines span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: #b7cdc1;
}

.memory-lines span + span {
  margin-top: 10px;
  width: 70%;
  background: #c6d9cf;
}

.release-grid {
  display: grid;
  gap: 18px;
}

.release-grid-three {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.release-card {
  border-radius: 24px;
  padding: 18px 18px 16px;
}

.release-card h3 {
  margin: 10px 0 8px;
  font-size: 18px;
}

.release-card p,
.release-card li {
  font-size: 14px;
  line-height: 1.45;
}

.release-card-warm {
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(247,243,234,0.86) 100%);
}

.release-chip {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e2f0e8;
  color: #1e6f5c;
  font-size: 12px;
  font-weight: 700;
}

.release-chip-warm {
  background: #f2ebdd;
  color: #86683a;
}

.release-list {
  margin: 0;
  padding-left: 18px;
}

.release-list li {
  margin-bottom: 7px;
}

.feature-highlight {
  background: rgba(255,255,255,0.42);
}

.feature-story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.feature-story-card {
  border-radius: 28px;
}

.feature-label,
.story-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: #1e6f5c;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}

.platform-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.platform-card {
  border-radius: 28px;
}

.platform-card-soft {
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(240,245,242,0.9) 100%);
}

.platform-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.platform-heading h3 {
  margin: 0;
}

.platform-heading p {
  margin: 4px 0 0;
  font-size: 13px;
}

.ios-store-row-tight {
  margin-top: 12px;
}


.platform-card-badge-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 12px;
  padding: 10px 12px;
}

.platform-card-badge {
  display: block;
  width: auto;
  height: 40px;
  object-fit: contain;
}

.platform-card-badge-ios {
  height: 40px;
}

.screenshot-highlight {
  background: rgba(255,255,255,0.42);
}

.screenshot-grid-refresh {
  align-items: stretch;
}

.screenshot-card-wide img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  background: #fff;
  margin-bottom: 14px;
}

.stacked-cards {
  display: grid;
  gap: 16px;
}

.compact-story-card {
  border-radius: 26px;
}

.stats-feedback-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.stats-panel,
.feedback-panel {
  display: grid;
  gap: 16px;
}

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

.stat-card-large {
  border-radius: 26px;
}

.stat-card-large strong {
  display: block;
  color: #1e6f5c;
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 10px;
}

.stat-card-large span {
  display: block;
  color: #60756c;
  line-height: 1.5;
}

.quote-card {
  border-radius: 26px;
}

.quote-card p {
  margin: 0;
  font-size: 16px;
}

.cta-card-refresh {
  text-align: center;
  background: linear-gradient(135deg, rgba(31, 107, 87, 0.18), rgba(241, 233, 218, 0.86));
}

@media (max-width: 980px) {
  .stats-feedback-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  .hero-text-dark {
    padding: 26px;
  }

  .store-chip {
    width: 100%;
  }
}


.screenshot-grid-balanced {
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
}

.screenshot-card-compact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
}

.phone-shot-frame {
  width: min(100%, 260px);
  margin: 0 auto 16px;
  padding: 10px;
  border-radius: 28px;
  background: linear-gradient(180deg, #ffffff 0%, #eef4f0 100%);
  border: 1px solid var(--stroke);
  box-shadow: 0 14px 22px rgba(22, 61, 51, 0.10);
}

.phone-shot-frame img {
  width: 100%;
  border-radius: 20px;
  margin: 0;
}

.compact-links-section {
  padding-top: 36px;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.quick-link-card {
  padding: 18px 20px;
  border-radius: 18px;
}

.quick-link-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.quick-link-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .screenshot-grid-balanced {
    grid-template-columns: 1fr;
  }
}


.hero-refresh .hero-text h1 {
  max-width: 8.5ch;
}

.hero-refresh .hero-text p {
  max-width: 34rem;
}

.phone-shot-frame-small {
  width: min(100%, 200px);
}

.memory-mockup {
  margin-top: 12px;
  background: #d8e9e0;
  border-radius: 20px;
  padding: 14px;
}

.memory-mockup-image {
  position: relative;
  height: 86px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #eaf4ef 0%, #d2e4da 100%);
}

.memory-sun {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #f4d17a;
}

.memory-hill {
  position: absolute;
  left: 0;
  right: 0;
  border-radius: 999px 999px 0 0;
}

.memory-hill-back {
  bottom: 18px;
  height: 42px;
  background: #b6d0c3;
}

.memory-hill-front {
  bottom: 0;
  height: 50px;
  background: #8cb19c;
}


.hero-refresh-split {
  display: grid;
  gap: 18px;
}

.hero-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 22px;
  align-items: stretch;
}

.hero-text-short {
  min-height: 100%;
}

.hero-note-inline {
  margin-top: 22px;
}

.hero-download-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.store-chip-link {
  text-decoration: none;
}

.hero-side-preview-compact {
  align-self: start;
}

.preview-shell-compact {
  padding: 18px;
  border-radius: 28px;
}

.app-preview-card-compactish {
  padding: 14px;
  border-radius: 22px;
}

.app-preview-card-compactish .app-preview-copy h3 {
  font-size: 20px;
}

.app-preview-card-compactish .app-preview-copy p {
  font-size: 13px;
}

.memory-mockup-thumb {
  margin-top: 10px;
  padding: 0;
  background: transparent;
}

.memory-mockup-thumb img {
  display: block;
  width: 100%;
  max-width: 168px;
  border-radius: 18px;
  border: 1px solid rgba(120, 147, 134, 0.22);
  box-shadow: 0 10px 18px rgba(22, 61, 51, 0.08);
}

.phone-shot-frame-tiny {
  width: min(100%, 160px);
}

@media (max-width: 980px) {
  .hero-top-grid {
    grid-template-columns: 1fr;
  }

  .hero-download-strip {
    grid-template-columns: 1fr;
  }
}


/* Tightening overrides for hero + screenshot proportions */
.hero-top-grid {
  align-items: start;
}

.hero-text-short {
  min-height: 0;
}

.hero-text-dark {
  padding: 30px;
}

.hero-note-inline {
  margin-top: 16px;
}

.hero-side-preview-compact {
  justify-self: end;
  width: 100%;
  max-width: 360px;
}

.preview-shell-compact {
  padding: 16px;
}

.app-preview-card-compactish {
  padding: 12px 13px;
}

.app-preview-card-compactish .app-preview-copy h3 {
  font-size: 18px;
  line-height: 1.15;
}

.app-preview-card-compactish .app-preview-copy p {
  font-size: 12px;
}

.app-preview-card-compactish .app-preview-accent {
  min-height: 40px;
}

.app-preview-card-memory.app-preview-card-compactish .app-preview-accent-soft {
  min-height: 88px;
}

.memory-mockup-thumb img {
  max-width: 138px;
}

.screenshot-grid-balanced {
  align-items: start;
}

.screenshot-card-compact {
  align-self: start;
}

.phone-shot-frame-tiny {
  width: min(100%, 120px);
  padding: 8px;
  border-radius: 22px;
}

.phone-shot-frame-tiny img {
  border-radius: 14px;
}

@media (max-width: 980px) {
  .hero-side-preview-compact {
    justify-self: stretch;
    max-width: none;
  }
}


/* Structural corrections */
.hero-refresh {
  display: block;
}

.hero-top-grid-short {
  grid-template-columns: minmax(0, 1.2fr) 320px;
}

.hero-bottom-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 14px;
  align-items: start;
}

.hero-note-card {
  margin-top: 0;
  min-height: 100%;
}

.preview-shell-pro {
  max-width: 320px;
  margin-left: auto;
}

.memory-mockup-thumb-small img {
  max-width: 120px;
}

.screenshot-grid-compactest {
  grid-template-columns: minmax(250px, 0.75fr) minmax(320px, 1.25fr);
}

.screenshot-card-phone-inline {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  align-items: center;
}

.phone-shot-frame-micro {
  width: 96px;
  padding: 6px;
  border-radius: 18px;
}

.phone-shot-frame-micro img {
  border-radius: 10px;
}

.screenshot-copy-block h3,
.screenshot-copy-block p {
  margin-left: 0;
}

@media (max-width: 980px) {
  .hero-top-grid-short,
  .hero-bottom-grid,
  .screenshot-grid-compactest,
  .screenshot-card-phone-inline {
    grid-template-columns: 1fr;
  }

  .preview-shell-pro {
    max-width: none;
    margin-left: 0;
  }

  .phone-shot-frame-micro {
    width: min(100%, 120px);
  }
}


.hero-side-placeholder {
  display: flex;
  align-items: stretch;
}

.hero-side-placeholder-card {
  width: 100%;
  border-radius: 28px;
  padding: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.08));
  border: 1px solid rgba(255,255,255,0.14);
  color: #eff5f2;
}

.hero-side-placeholder-card h3 {
  margin: 8px 0 0;
  font-size: 26px;
  line-height: 1.25;
}

.hero-bottom-grid-split {
  grid-template-columns: minmax(0, 0.95fr) 340px;
}

.hero-bottom-left {
  display: grid;
  gap: 14px;
}

.hero-bottom-right {
  display: flex;
  justify-content: flex-end;
}

.hero-feed-panel {
  width: 100%;
  max-width: 320px;
}

.hero-download-strip {
  grid-template-columns: 1fr;
}

.screenshot-grid-tiles {
  align-items: start;
}

.screenshot-text-stack {
  grid-template-rows: repeat(2, auto);
}

.compact-story-card-feature {
  min-height: 0;
}

.screenshot-phone-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.phone-shot-frame-tile {
  margin-top: 6px;
}

@media (max-width: 980px) {
  .hero-bottom-grid-split {
    grid-template-columns: 1fr;
  }

  .hero-bottom-right {
    justify-content: stretch;
  }

  .hero-feed-panel {
    max-width: none;
  }
}


.hero-download-plain {
  gap: 10px;
}

.platform-inline-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  padding: 4px 0;
}

.platform-inline-icon {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.platform-inline-icon-small {
  width: 26px;
  height: 26px;
}

.platform-inline-badge {
  width: auto;
  height: 34px;
}

.platform-inline-copy strong {
  display: block;
  color: #eff5f2;
  font-size: 14px;
}

.platform-inline-copy span {
  display: block;
  color: #c9d7d2;
  font-size: 12px;
  margin-top: 2px;
}

.app-story-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}


.hero-note-card {
  background: linear-gradient(145deg, #1d4a3d 0%, #214f42 100%);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 18px 30px rgba(22, 61, 51, 0.18);
}

.hero-note-card strong {
  color: #f3f7f5;
}

.hero-note-card .hero-subnote {
  color: #d4e2dc;
}

.hero-download-plain {
  background: rgba(17, 42, 35, 0.18);
  border-radius: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.10);
}

.platform-inline-link {
  min-height: 40px;
}

.platform-inline-copy-inline {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.platform-inline-copy-inline strong {
  color: #f3f7f5;
  font-size: 14px;
}

.platform-inline-copy-inline em {
  color: #cfe0d9;
  font-size: 12px;
  font-style: normal;
}

.platform-inline-copy strong,
.platform-inline-copy span {
  color: inherit;
}

/* Post-hero readability polish */
.hero-bottom-left {
  display: grid;
  gap: 14px;
}

.hero-note-card {
  background: linear-gradient(145deg, #12372d 0%, #184437 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 36px rgba(12, 40, 33, 0.22);
  color: #f5faf7;
}

.hero-note-card strong {
  color: #ffffff;
}

.hero-note-card .hero-subnote {
  color: #dceae4;
}

.hero-download-plain {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: nowrap;
  background: #f3ede2;
  border: 1px solid rgba(20, 53, 44, 0.12);
  border-radius: 20px;
  padding: 10px 12px;
  box-shadow: 0 14px 28px rgba(37, 71, 61, 0.08);
}

.platform-inline-link {
  flex: 1 1 0;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(20, 53, 44, 0.08);
}

.platform-inline-link:hover {
  background: rgba(255, 255, 255, 0.82);
}

.platform-inline-copy-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  min-width: 0;
}

.platform-inline-copy-inline strong {
  color: #14352c;
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

.platform-inline-copy-inline em {
  color: #4d665e;
  font-size: 11px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.platform-inline-badge {
  height: 28px;
}

@media (max-width: 1100px) {
  .hero-download-plain {
    flex-wrap: wrap;
  }

  .platform-inline-link {
    flex: 1 1 calc(50% - 10px);
  }
}

@media (max-width: 720px) {
  .hero-download-plain {
    display: grid;
    gap: 8px;
  }

  .platform-inline-link {
    flex: none;
  }

  .platform-inline-copy-inline {
    flex-wrap: wrap;
  }

  .platform-inline-copy-inline em {
    white-space: normal;
    overflow: visible;
  }
}

/* Hero alignment polish */
.hero-top-grid-balance {
  align-items: start;
}

.hero-feed-slot {
  display: flex;
  justify-content: flex-end;
}

.hero-feed-slot .hero-feed-panel {
  margin-top: 0;
}

.hero-bottom-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.hero-note-card {
  display: grid;
  gap: 14px;
}

.hero-note-copy {
  max-width: 760px;
}

.hero-download-plain {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
  padding: 0;
}

.platform-inline-link {
  min-width: 0;
  min-height: 72px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  justify-content: center;
}

.platform-inline-link:hover {
  background: rgba(255, 255, 255, 0.14);
}

.platform-inline-link-badge {
  padding: 12px 14px;
}

.platform-inline-badge-asset {
  display: block;
  width: auto;
  height: 40px;
  max-width: 100%;
  object-fit: contain;
}

.platform-inline-badge-asset-ios {
  height: 40px;
}

.platform-inline-link-web {
  justify-content: flex-start;
}

.platform-inline-copy-inline {
  width: 100%;
}

.platform-inline-copy-inline strong {
  color: #f7fbf8;
}

.platform-inline-copy-inline em {
  color: #d4e2dc;
}

@media (max-width: 1100px) {
  .hero-top-grid-balance {
    grid-template-columns: 1fr;
  }

  .hero-feed-slot {
    justify-content: stretch;
  }

  .hero-feed-slot .hero-feed-panel {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .hero-download-plain {
    grid-template-columns: 1fr;
  }
}

/* Final top-band sizing pass */
.hero-refresh-split {
  gap: 16px;
}

.hero-top-grid-balance {
  grid-template-columns: minmax(0, 0.92fr) 340px;
  gap: 18px;
}

.hero-text-short {
  min-height: 0;
  max-width: 620px;
}

.hero-text-dark {
  justify-self: start;
}

.hero-feed-slot {
  justify-self: end;
  width: 100%;
}

.hero-feed-slot .hero-feed-panel {
  max-width: 340px;
}

.hero-bottom-grid-single {
  margin-top: 2px;
}

.hero-note-card {
  gap: 16px;
}

.hero-download-plain {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 2px 0 0;
  background: transparent;
  border: 0;
}

.platform-inline-link {
  padding: 12px 14px;
}

.platform-inline-copy-inline {
  gap: 10px;
}

.platform-inline-copy-inline strong {
  font-size: 13px;
}

.platform-inline-copy-inline em {
  font-size: 11px;
}

@media (max-width: 1100px) {
  .hero-top-grid-balance {
    grid-template-columns: 1fr;
  }

  .hero-text-short {
    max-width: none;
  }

  .hero-feed-slot {
    justify-self: stretch;
  }

  .hero-feed-slot .hero-feed-panel {
    max-width: none;
  }
}

/* Unified hero card + license card */
.hero-top-panel {
  background: linear-gradient(140deg, #173d33 0%, #245647 100%);
  border-radius: 34px;
  padding: 32px;
  box-shadow: 0 24px 42px rgba(22, 61, 51, 0.22);
}

.hero-top-panel .hero-text-dark {
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}

.hero-top-panel .hero-feed-slot {
  align-self: stretch;
}

.hero-top-panel .hero-feed-panel {
  max-width: 320px;
  height: 100%;
}

.hero-bottom-grid-single {
  margin-top: 12px;
}

.hero-license-row {
  margin-top: 14px;
}

.license-card {
  background: linear-gradient(180deg, #fbf7ee 0%, #f4ede0 100%);
  border: 1px solid rgba(20, 53, 44, 0.10);
  border-radius: 28px;
  padding: 24px 26px;
  box-shadow: 0 16px 28px rgba(37, 71, 61, 0.08);
}

.license-card h3 {
  margin-top: 10px;
}

.license-card p {
  max-width: 760px;
}

.text-link {
  color: #1d5a4a;
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

@media (max-width: 1100px) {
  .hero-top-panel {
    padding: 24px;
  }

  .hero-top-panel .hero-feed-panel {
    max-width: none;
  }
}

/* Keep live app feel on the right inside the hero */
.hero-top-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
}

.hero-top-panel .hero-text {
  grid-column: 1;
}

.hero-top-panel .hero-feed-slot {
  grid-column: 2;
  justify-self: end;
  width: 100%;
}

.hero-top-panel .hero-feed-panel {
  width: 100%;
  max-width: 340px;
}

@media (max-width: 1100px) {
  .hero-top-panel {
    grid-template-columns: 1fr;
  }

  .hero-top-panel .hero-feed-slot {
    grid-column: auto;
    justify-self: stretch;
  }

  .hero-top-panel .hero-feed-panel {
    max-width: none;
  }
}

/* Keep the hero split longer on desktop */
@media (min-width: 901px) {
  .hero-top-grid,
  .hero-top-grid-short,
  .hero-top-grid-balance,
  .hero-top-panel {
    grid-template-columns: minmax(0, 1fr) 340px !important;
  }
}

@media (max-width: 900px) {
  .hero-top-grid,
  .hero-top-grid-short,
  .hero-top-grid-balance,
  .hero-top-panel {
    grid-template-columns: 1fr !important;
  }
}

/* Mobile-first homepage refinement */
@media (max-width: 767px) {
  .nav {
    padding: 14px 18px;
    align-items: flex-start;
  }

  .nav-links {
    justify-content: flex-start;
    gap: 8px;
    font-size: 13px;
  }

  .hero {
    padding: 44px 18px 28px;
  }

  .hero-refresh,
  .hero-refresh-split {
    gap: 14px;
  }

  .hero-top-panel {
    display: block;
    padding: 22px;
  }

  .hero-top-panel .hero-text {
    max-width: none;
  }

  .hero-top-panel .hero-feed-slot {
    display: none;
  }

  .hero-meta-refresh {
    gap: 10px;
    flex-wrap: wrap;
  }

  .hero-status {
    font-size: 13px;
  }

  .hero-refresh .hero-text h1 {
    font-size: clamp(34px, 9vw, 46px);
    line-height: 1.05;
    max-width: 10ch;
  }

  .hero-refresh .hero-text p {
    font-size: 15px;
    line-height: 1.55;
    max-width: 28ch;
  }

  .hero-bottom-grid-single {
    margin-top: 0;
  }

  .hero-note-card {
    padding: 22px;
    gap: 12px;
  }

  .hero-note-copy {
    max-width: none;
  }

  .hero-note-copy strong {
    display: block;
    margin-bottom: 4px;
    font-size: 20px;
  }

  .hero-download-plain {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 4px;
  }

  .platform-inline-link {
    padding: 12px 14px;
    min-height: 0;
  }

  .platform-inline-copy-inline {
    flex-wrap: wrap;
    gap: 4px 8px;
  }

  .platform-inline-copy-inline strong,
  .platform-inline-copy-inline em {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }

  .license-card {
    padding: 22px;
  }

  .section {
    padding: 26px 18px;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .section-title .subtitle {
    font-size: 15px;
  }

  .release-grid-three,
  .feature-story-grid,
  .platform-showcase-grid,
  .quick-links-grid,
  .app-story-grid {
    grid-template-columns: 1fr;
  }

  .stats-feedback-grid,
  .stats-panel {
    grid-template-columns: 1fr;
  }

  .platform-heading {
    align-items: flex-start;
  }

  .platform-card,
  .release-card,
  .feature-story-card,
  .compact-story-card,
  .quote-card,
  .stat-card-large,
  .quick-link-card {
    border-radius: 24px;
  }
}

/* Tablet tuning: keep richer layout, but softer than desktop */
@media (min-width: 768px) and (max-width: 1024px) {
  .hero {
    padding: 56px 22px 34px;
  }

  .hero-top-panel {
    grid-template-columns: minmax(0, 1fr) 300px !important;
    padding: 26px;
  }

  .hero-top-panel .hero-feed-panel {
    max-width: 300px;
  }

  .hero-download-plain {
    grid-template-columns: 1fr;
  }

  .release-grid-three,
  .platform-showcase-grid,
  .feature-story-grid,
  .app-story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .stats-panel {
    grid-template-columns: repeat(2, 1fr);
  }
}


.section-title-with-link {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.release-history-link {
  white-space: nowrap;
}

.release-history-hero {
  margin-bottom: 22px;
}

.release-history-table-wrap {
  overflow-x: auto;
}

.release-history-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.release-history-table th,
.release-history-table td {
  text-align: left;
  vertical-align: top;
  padding: 14px 16px;
  border-bottom: 1px solid var(--stroke);
  font-size: 14px;
  line-height: 1.5;
}

.release-history-table th {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.release-history-table tbody tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 900px) {
  .section-title-with-link {
    align-items: flex-start;
    flex-direction: column;
  }
}

.page.shared-page-shell {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px 56px;
}

.shared-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 24px;
  align-items: stretch;
}

.shared-hero-copy,
.shared-visual-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--stroke);
  border-radius: 28px;
  box-shadow: 0 18px 30px var(--shadow);
}

.shared-hero-copy {
  padding: 32px;
}

.shared-hero-copy h1 {
  font-family: "Fraunces", "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
  margin: 14px 0 12px;
}

.shared-intro {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  margin: 0;
}

.shared-meta {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.shared-meta-item {
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(31, 107, 87, 0.08), rgba(60, 138, 111, 0.08));
  border: 1px solid rgba(31, 107, 87, 0.12);
}

.shared-meta-label {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.shared-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.shared-note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.shared-visual-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at top left, rgba(31, 107, 87, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(241, 233, 218, 0.88));
}

.shared-visual-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.shared-visual-status {
  font-weight: 600;
}

.shared-visual-panel {
  margin-top: 18px;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(31, 107, 87, 0.12);
}

.shared-visual-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.shared-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.mini-pill-soft {
  background: rgba(31, 107, 87, 0.08);
}

.shared-steps {
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--ink);
  line-height: 1.65;
}

.shared-steps li + li {
  margin-top: 8px;
}

@media (max-width: 840px) {
  .shared-hero-card {
    grid-template-columns: 1fr;
  }

  .shared-hero-copy,
  .shared-visual-card {
    padding: 24px;
  }
}

.shared-store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--stroke);
}

.shared-store-link img {
  display: block;
  height: 40px;
  width: auto;
  object-fit: contain;
}


/* Final store-row lock: keep one row on desktop/laptop widths */
@media (min-width: 721px) {
  .hero-note-card .hero-download-plain {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
}

@media (max-width: 720px) {
  .hero-note-card .hero-download-plain {
    grid-template-columns: 1fr !important;
  }
}
