:root {
  --color-bg: #d8e9c4;
  --color-bg-soft: #dceac8;
  --color-surface: #f5f6f7;
  --color-surface-elevated: #ffffff;
  --color-ice: #cfe0f2;
  --color-text: #11151f;
  --color-text-soft: #34455e;
  --color-brand: #3f5f82;
  --color-brand-soft: #6787a8;
  --color-border: #bed0b6;
  --color-focus: #2a67a7;
  --color-pill: #000;
  --color-dark-bg: #07080c;
  --color-dark-surface: #22252f;
  --color-dark-chart: #3f4c63;
  --shadow-soft: 0 20px 48px rgba(22, 35, 22, 0.18);
  --shadow-phone: 0 20px 64px rgba(19, 26, 34, 0.2);
  --radius-sm: 0.65rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --space-1: 0.45rem;
  --space-2: 0.8rem;
  --space-3: 1.2rem;
  --space-4: 1.8rem;
  --space-5: 2.8rem;
  --space-6: 4rem;
  --container: 1120px;
}

* {
  box-sizing: border-box;
  font-family: inherit;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Avenir Next", "AvenirNext-Regular", "Avenir", "Helvetica Neue", sans-serif;
  color: var(--color-text);
  line-height: 1.45;
}

html {
  background: #f0e295;
}

body {
  position: relative;
  padding-top: env(safe-area-inset-top, 0);
  background-color: #c8e6c9;
  background-image: linear-gradient(172deg, #c8e6c9 0%, #f0e295 100%);
}

body::before {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  height: env(safe-area-inset-top, 0);
  background: #c8e6c9;
  pointer-events: none;
  z-index: 9999;
}

body::after {
  content: "";
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: env(safe-area-inset-bottom, 0);
  background: #f0e295;
  pointer-events: none;
  z-index: 9999;
}

a {
  color: inherit;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  letter-spacing: -0.02em;
  margin: 0;
}

h1 {
  font-size: clamp(1.75rem, 3.9vw, 3.9rem);
  font-weight: 500;
  line-height: 1.1;
}

h2 {
  font-size: clamp(1.4rem, 3.0vw, 2.7rem);
  font-weight: 500;
  line-height: 1.15;
}

h3 {
  font-size: clamp(1.2rem, 1.95vw, 1.85rem);
  font-weight: 600;
}

h4 {
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  font-weight: 600;
}

h5 {
  font-size: clamp(1rem, 1.35vw, 1.3rem);
  font-weight: 600;
}

h6 {
  font-size: clamp(0.95rem, 1.15vw, 1.15rem);
  font-weight: 600;
}

strong {
  font-weight: 600;
}

.site-shell {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

.site-header {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) 0 var(--space-2);
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: auto;
  height: 46px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.nav-link {
  padding: 0.5rem 0.85rem;
  text-decoration: none;
  border-radius: 999px;
  color: var(--color-text-soft);
  font-weight: 500;
}

.nav-link:hover,
.nav-link.is-active {
  color: #243a55;
  background: rgba(255, 255, 255, 0.65);
}

.menu-toggle {
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  width: 44px;
  height: 44px;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #22354f;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: calc(100% - 0.1rem);
  right: 0;
  width: 50%;
  min-width: 220px;
  max-width: 360px;
  gap: var(--space-1);
  background: rgba(247, 249, 246, 0.98);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: var(--space-2);
  z-index: 40;
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  transform-origin: top right;
  transition:
    opacity 220ms ease,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-nav[hidden] {
  display: none !important;
}

.mobile-nav.is-open {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.mobile-nav.is-closing {
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
}

.mobile-nav .btn,
.mobile-nav .app-store-badge-link {
  margin-top: var(--space-1);
}

.badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.6);
  color: #355473;
  border: 1px solid rgba(63, 95, 130, 0.25);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  margin-bottom: 0.9rem;
}

.hero {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  align-items: stretch;
  gap: var(--space-5);
  padding: var(--space-4) 0 var(--space-6);
}

.hero p,
.section p {
  color: var(--color-text-soft);
  font-size: 1.08rem;
  margin: var(--space-3) 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 68ch;
}

.hero-app-artwork {
  flex: 0 0 auto;
}

.hero-copy-body {
  margin-top: auto;
  width: 82%;
  max-width: 46rem;
}

.hero-app-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin-bottom: var(--space-2);
  filter: drop-shadow(0 8px 14px rgba(26, 45, 63, 0.22));
}

.hero-actions {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-top: var(--space-3);
}

.hero > .hero-actions {
  grid-column: 1;
  align-self: start;
}

.hero-cta-copy {
  display: grid;
  gap: 0.2rem;
  align-content: center;
}

.hero-cta-copy p {
  margin: 0;
  color: #29435f;
  font-size: 0.98rem;
  font-weight: 600;
}

.hero-cta-copy a {
  color: #446584;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.hero-cta-copy a:hover {
  color: #243b57;
}

.hero-actions .app-store-badge {
  height: 50px;
}

.hero-actions .btn {
  min-height: 48px;
  border-radius: 12px;
}

@media (min-width: 761px) {
  .hero > .hero-actions {
    display: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(209, 232, 255, 0.45);
  background: #34495e;
  color: #fff;
  padding: 0.78rem 1.2rem;
  font-weight: 600;
  text-decoration: none;
}

.btn:hover {
  background: #2c3f52;
  color: #fff;
}

.btn-secondary {
  background: #34495e;
  color: #fff;
  border-color: rgba(209, 232, 255, 0.45);
}

.btn-secondary:hover {
  background: #2c3f52;
  color: #fff;
}

.btn-small {
  padding: 0.5rem 0.9rem;
  font-size: 0.9rem;
}

.app-store-badge-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.app-store-badge {
  display: block;
  width: auto;
  height: 44px;
}

.app-store-badge-nav {
  height: 38px;
}

.section {
  padding: var(--space-4) 0;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 700ms ease,
    transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-story {
  text-align: center;
  width: min(860px, 100%);
  margin-inline: auto;
  padding-block: var(--space-6);
}

.section-story-cards {
  width: 100%;
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
  border: 1px solid rgba(132, 157, 122, 0.34);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(236, 245, 227, 0.62), rgba(225, 238, 208, 0.5));
  box-shadow: 0 18px 38px rgba(43, 62, 32, 0.1);
}

.story-pill {
  display: inline-block;
  margin: var(--space-3) auto var(--space-4);
  background: linear-gradient(120deg, #cb3eb7, #34c5f4);
  color: #fff;
  padding: 0.5rem 1.35rem;
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(155, 46, 136, 0.3);
}

.story-pill-dark {
  background: var(--color-pill);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

.story-pill-darkmode {
  background: #050505;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45);
}

.phone-frame {
  position: relative;
  border-radius: 3rem;
  overflow: hidden;
  border: 1px solid rgba(177, 196, 170, 0.75);
  box-shadow: var(--shadow-phone);
  margin-inline: auto;
}

.phone-frame img {
  width: 100%;
  height: clamp(260px, 35vw, 520px);
  object-fit: cover;
  filter: saturate(0.6) blur(0.2px);
}

.phone-frame-light {
  background: linear-gradient(180deg, #f5f6f8 0%, #e6ebf3 100%);
}

.phone-frame-ice {
  background: linear-gradient(180deg, #edf2f7 0%, #cfe0f2 100%);
}

.phone-frame-chart {
  background: linear-gradient(180deg, #f0f2f5 0%, #d8e4f2 100%);
}

.hero-visual-clean {
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.hero-visual-clean img {
  height: 650px;
  width: auto;
  max-width: none;
  object-fit: contain;
  filter: none;
}

.support-hero-copy-top {
  display: grid;
  gap: var(--space-2);
  justify-items: start;
}

.support-hero {
  display: block;
  background:
    linear-gradient(rgba(243, 248, 238, 0.14), rgba(243, 248, 238, 0.14)),
    url("../img/support-background.png") center center / cover no-repeat;
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  min-height: 420px;
}

.support-hero-copy-bottom {
  display: grid;
  gap: var(--space-2);
}

.support-hero-copy-top .badge {
  margin-bottom: 0;
}

.support-hero-copy-bottom p {
  margin-bottom: 0;
}

.hero[aria-label="Loggee support"] .hero-copy-body {
  width: 50%;
  max-width: 50%;
}

.hero[aria-label="Loggee support"] .hero-copy {
  width: 100%;
  max-width: none;
}

.features-hero {
  background:
    linear-gradient(rgba(243, 248, 238, 0.14), rgba(243, 248, 238, 0.14)),
    url("../img/features-background.png") center center / cover no-repeat;
}

.privacy-hero {
  background:
    linear-gradient(rgba(243, 248, 238, 0.14), rgba(243, 248, 238, 0.14)),
    url("../img/privacy-hero.png") center center / cover no-repeat;
}

.hero[aria-label="Loggee features"] .hero-copy-body {
  width: 50%;
  max-width: 50%;
}

.hero[aria-label="Loggee privacy policy"] .hero-copy-body {
  width: 50%;
  max-width: 50%;
}

.hero[aria-label="Loggee features"] .hero-copy {
  width: 100%;
  max-width: none;
}

.hero[aria-label="Loggee privacy policy"] .hero-copy {
  width: 100%;
  max-width: none;
}

@media (min-width: 761px) {
  .support-hero-copy-top,
  .support-hero-copy-bottom {
    align-self: stretch;
  }

  .support-hero-copy-top + .support-hero-copy-bottom {
    margin-top: auto;
  }

  .hero[aria-label="Loggee support"] .hero-copy {
    align-self: stretch;
  }

  .hero[aria-label="Loggee features"] .hero-copy {
    align-self: stretch;
  }

  .hero[aria-label="Loggee privacy policy"] .hero-copy {
    align-self: stretch;
  }

  .support-hero-copy-top,
  .support-hero-copy-bottom {
    width: 100%;
  }

  .support-hero-copy-bottom .hero-actions {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .support-hero {
    padding: var(--space-3);
    min-height: auto;
  }
}

.phone-overlay {
  position: absolute;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  background: rgba(247, 249, 250, 0.78);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(163, 181, 205, 0.6);
  border-radius: 1rem;
  padding: 0.6rem 0.95rem;
  min-width: min(90%, 340px);
  text-align: center;
}

.phone-overlay p {
  margin: 0;
  color: #1d2636;
  font-weight: 600;
  font-size: 1.2rem;
}

.phone-overlay small {
  color: #425671;
  font-weight: 500;
}

.placeholder-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-4);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.placeholder-card {
  width: 100%;
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  container-type: size;
  border-radius: 1.15rem;
  border: 1px solid rgba(124, 151, 118, 0.32);
  background: linear-gradient(
    180deg,
    var(--card-grad-start, rgba(255, 255, 255, 0.9)),
    var(--card-grad-end, rgba(226, 236, 216, 0.86))
  );
  box-shadow: 0 10px 26px rgba(28, 45, 24, 0.12);
  aspect-ratio: 15 / 8;
  cursor: pointer;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.placeholder-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(28, 45, 24, 0.16);
}

.placeholder-card:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}

.placeholder-card-body {
  width: min(92%, 320px);
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.7rem;
}

.placeholder-card-body > * {
  margin: 0;
}

.placeholder-main-icon {
  width: min(30%, 56px);
  height: auto;
  aspect-ratio: 1 / 1;
  display: inline-grid;
  place-items: center;
  justify-self: center;
  align-self: center;
  border-radius: 9px;
  background: rgba(0, 0, 0, 0.1);
}

.placeholder-main-icon > img,
.placeholder-main-icon > svg,
.placeholder-main-icon > i {
  width: 60%;
  height: 60%;
  display: block;
}

@supports (width: 1cqh) {
  .placeholder-main-icon {
    width: min(33cqh, 56px);
    height: min(33cqh, 56px);
  }
}

.placeholder-title {
  margin: 0 0 0.3rem;
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  font-weight: 600;
  line-height: 1.1;
  color: #1d2e43;
}

.placeholder-card .placeholder-meta {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  line-height: 1.05;
}

.placeholder-meta-icon {
  width: 1rem;
  height: 1rem;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: transparent;
  overflow: hidden;
}

.placeholder-meta-icon > img,
.placeholder-meta-icon > svg,
.placeholder-meta-icon > i {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.placeholder-meta-icon-wide {
  width: 1.25rem;
  height: 0.78rem;
}

.placeholder-meta-icon-tall {
  width: 0.88rem;
  height: 1.1rem;
}

.placeholder-meta-icon-square {
  width: 1rem;
  height: 1rem;
}

.placeholder-meta-text {
  color: #3e566f;
  font-size: 1.1rem;
  font-weight: 500;
  font-family: "Avenir Next Condensed", "Roboto Condensed", "Arial Narrow", sans-serif;
}

.card-info-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: left;
  padding: 1rem 1.15rem;
  color: #13263d;
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.35;
  background: linear-gradient(145deg, rgba(246, 251, 243, 0.97), rgba(218, 231, 206, 0.97));
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.985);
  transition:
    opacity 220ms ease,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 260ms;
}

.card-info-icon {
  width: 48px;
  height: 48px;
  display: inline-grid;
  place-items: center;
  border-radius: 7px;
  background: linear-gradient(140deg, rgba(63, 95, 130, 0.36), rgba(91, 122, 154, 0.52));
}

.card-info-icon .placeholder-meta-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.card-info-icon .placeholder-meta-icon > img,
.card-info-icon .placeholder-meta-icon > svg,
.card-info-icon .placeholder-meta-icon > i {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-info-icon .placeholder-meta-icon-wide {
  width: 1.7rem;
  height: 1.05rem;
}

.card-info-icon .placeholder-meta-icon-tall {
  width: 1.3rem;
  height: 1.7rem;
}

.card-info-text {
  margin: 0;
}

.placeholder-card.is-open .card-info-overlay {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition:
    opacity 220ms ease,
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}

.how-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1fr minmax(0, 1fr) 1fr minmax(0, 1fr);
  align-items: start;
  gap: 0.85rem;
  margin-top: var(--space-4);
}

.flow-step {
  display: grid;
  justify-items: center;
  gap: 0.8rem;
}

.flow-dot {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #34495e;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(35, 56, 79, 0.28);
}

.flow-line {
  align-self: start;
  margin-top: 25px;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, #6f87a0, #9cb5cc);
  border-radius: 999px;
}

.flow-text {
  margin: 0;
  color: #2b415a;
  font-size: 1rem;
  line-height: 1.35;
  max-width: 24ch;
}

.section-dark {
  background:
    radial-gradient(65% 120% at 4% 90%, rgba(247, 227, 158, 0.42), transparent 60%),
    radial-gradient(56% 90% at 94% 10%, rgba(134, 79, 16, 0.66), transparent 60%),
    linear-gradient(130deg, #d8c77a, #905a16);
  border-radius: var(--radius-xl);
  padding: var(--space-6) var(--space-4);
  color: #fff;
}

.section-dark h2 {
  text-align: center;
  color: #fff;
}

.section-dark-image {
  display: block;
  width: min(720px, 100%);
  margin: var(--space-4) auto 0;
  border-radius: 1.5rem;
}

.section-dark-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.section-dark-feature {
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: 1.5rem;
  background: rgba(49, 28, 12, 0.24);
  border: 1px solid rgba(255, 236, 199, 0.2);
  box-shadow: 0 12px 24px rgba(66, 34, 10, 0.16);
  backdrop-filter: blur(8px);
}

.section-dark-feature-visual {
  display: grid;
  place-items: center;
  min-height: 112px;
  border-radius: 1.25rem;
  background: rgba(255, 245, 221, 0.14);
}

.section-dark-feature-visual img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.section-dark-feature-copy h3,
.section-dark-feature-copy p {
  margin: 0;
  color: #fff2d2;
}

.section-dark-feature-copy h3 {
  font-size: 1.3rem;
  line-height: 1.1;
}

.section-dark-feature-copy p {
  margin-top: 0.55rem;
  color: rgba(255, 242, 210, 0.9);
  font-size: 1rem;
  line-height: 1.4;
}

.dark-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
  margin: var(--space-4) 0;
}

.dark-card {
  background:
    linear-gradient(120deg, rgba(76, 52, 26, 0.82), rgba(29, 30, 36, 0.96)),
    var(--color-dark-bg);
  border-radius: 1.25rem;
  padding: var(--space-3);
  border: 1px solid rgba(218, 188, 149, 0.24);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}

.dark-card h3,
.dark-card p {
  color: #e8d8be;
  margin: 0;
}

.dark-card p {
  margin-top: 0.5rem;
}

.bar-chart {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
  align-items: end;
  margin-top: var(--space-3);
  height: 120px;
}

.bar-chart span {
  display: block;
  height: var(--h);
  border-radius: 999px;
  background: linear-gradient(180deg, #d8c39f, #8f7659);
}

.grid {
  display: grid;
  gap: var(--space-4);
}

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

.card {
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  box-shadow: 0 12px 22px rgba(30, 46, 27, 0.07);
}

.feature-card {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.9rem;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(30, 46, 27, 0.12);
  border-color: rgba(83, 118, 155, 0.28);
}

.feature-card:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
}

.card-icon {
  width: 4rem;
  height: 4rem;
  display: inline-grid;
  place-items: center;
  margin-bottom: 0;
  border-radius: 9px;
}

.card-icon img {
  width: 2.9rem;
  height: 2.9rem;
  object-fit: contain;
}

.feature-card-copy {
  min-width: 0;
}

.feature-card-copy h3,
.feature-card-copy p {
  margin: 0;
  text-align: center;
}

.feature-card-copy p {
  margin-top: 0.4rem;
}

.feature-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 220ms ease, visibility 0s linear 220ms;
}

.feature-modal[hidden] {
  display: none;
}

.feature-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 220ms ease, visibility 0s linear 0s;
}

.feature-modal.is-closing {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 0s linear 180ms;
}

.feature-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 24, 0.56);
}

.feature-modal-panel {
  position: relative;
  width: min(980px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: 4.3rem var(--space-4) var(--space-4);
  border-radius: 1.75rem;
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(202, 227, 194, 0.7), transparent 60%),
    linear-gradient(150deg, rgba(250, 252, 247, 0.98), rgba(233, 241, 222, 0.96));
  box-shadow: 0 28px 64px rgba(11, 17, 28, 0.26);
  border: 1px solid rgba(139, 167, 123, 0.22);
  transform: translateY(18px) scale(0.985);
  opacity: 0;
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1), opacity 220ms ease;
}

.feature-modal.is-open .feature-modal-panel {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.feature-modal.is-closing .feature-modal-panel {
  transform: translateY(14px) scale(0.985);
  opacity: 0;
}

.feature-modal-content {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1fr);
  align-items: start;
  gap: var(--space-4);
}

.feature-modal-visual {
  display: grid;
  place-items: center;
  min-height: 360px;
  padding: var(--space-3);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(140, 162, 118, 0.22);
}

.feature-modal-visual img {
  width: 100%;
  max-width: 360px;
  height: auto;
  object-fit: contain;
}

.feature-modal-copy h2,
.feature-modal-copy p {
  margin: 0;
}

.feature-modal-copy h2 {
  color: #182537;
}

.feature-modal-copy p {
  margin-top: var(--space-3);
  color: #3a516a;
  font-size: 1.08rem;
  line-height: 1.55;
}

.feature-modal-close {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(24, 37, 55, 0.08);
  color: #1a2a3e;
  cursor: pointer;
}

.feature-modal-close span {
  font-size: 2rem;
  line-height: 1;
  transform: rotate(45deg);
}

.feature-modal-close:hover {
  background: rgba(24, 37, 55, 0.14);
}

.highlight-band {
  background: linear-gradient(125deg, #2f4d6e, #5b7a9a);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-4);
}

.highlight-band-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-4);
}

.highlight-band-copy {
  text-align: left;
}

.highlight-band-copy .hero-store-badge-link {
  margin-top: var(--space-2);
}

.highlight-band-artwork {
  justify-self: end;
}

.highlight-band p {
  color: rgba(255, 255, 255, 0.9);
}

.highlight-band .btn-secondary {
  border-color: rgba(255, 255, 255, 0.65);
}

.support-section {
  display: grid;
  gap: var(--space-3);
  width: 100%;
  padding: var(--space-6) var(--space-4);
  text-align: center;
}

.support-section-copy {
  display: grid;
  gap: var(--space-2);
}

.support-section-copy p {
  margin: 0;
}

.support-section-cta {
  display: flex;
  justify-content: center;
}

.support-section-card {
  margin-top: var(--space-4);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  box-shadow: 0 12px 22px rgba(30, 46, 27, 0.07);
}

.list-clean {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.8rem;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  border-top: 1px solid rgba(120, 145, 116, 0.32);
  padding: var(--space-4) 0 var(--space-5);
  margin-top: var(--space-4);
  align-items: start;
}

.footer-brand {
  margin: 0;
  line-height: 0;
}

.footer-brand img {
  width: auto;
  height: 42px;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
  align-content: start;
  justify-items: end;
  text-align: right;
}

.footer-links a {
  color: #385570;
  text-decoration: none;
}

.footer-links a:hover {
  color: #243b57;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 0.6rem;
  grid-column: 1 / -1;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(120, 145, 116, 0.24);
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.78);
}

.footer-social img {
  width: 1.15rem;
  height: 1.15rem;
  object-fit: contain;
}

.footer-copyright {
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
  color: #4a6079;
  font-size: 0.95rem;
}

.notice {
  background: rgba(255, 255, 255, 0.7);
  border-left: 4px solid #85a4c8;
  padding: 0.9rem;
  border-radius: var(--radius-sm);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    align-items: start;
    gap: var(--space-4);
  }

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

  .hero[aria-label="Loggee hero"] .hero-copy {
    align-items: center;
  }

  .hero[aria-label="Loggee hero"] .hero-app-artwork {
    margin: 0 auto 1.75rem;
  }

  .hero[aria-label="Loggee hero"] .hero-copy-body {
    width: min(100%, 44rem);
    max-width: 44rem;
    margin-inline: auto;
    text-align: center;
  }

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

  .dark-grid {
    grid-template-columns: 1fr;
  }

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

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

  .desktop-nav {
    display: none;
  }

  .brand {
    grid-column: 2;
    justify-self: center;
  }

  .menu-toggle {
    display: flex;
    grid-column: 3;
    justify-self: end;
  }

  .mobile-nav {
    display: grid;
  }

  .grid.cols-3 {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }

  .section-dark {
    padding: var(--space-5) var(--space-3);
  }

  .section-dark-features {
    grid-template-columns: 1fr;
  }

  .highlight-band-layout {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .highlight-band-copy {
    text-align: center;
  }

  .highlight-band-copy .hero-store-badge-link {
    margin-inline: auto;
  }

  .highlight-band-artwork {
    display: none !important;
    justify-self: center;
  }

  .feature-modal-panel {
    width: min(100vw - 1rem, 100%);
    max-height: calc(100vh - 1rem);
    padding: 4rem var(--space-3) var(--space-3);
  }

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

  .feature-modal-visual {
    min-height: 240px;
  }

  .story-pill {
    font-size: 1rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .hero-copy {
    width: 100%;
    max-width: none;
    order: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "body artwork"
      "body artwork";
    align-items: start;
    column-gap: var(--space-3);
    row-gap: var(--space-3);
  }

  .hero[aria-label="Loggee hero"] .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero[aria-label="Loggee hero"] .hero-app-artwork {
    order: -1;
    grid-area: auto;
    margin: 0 auto 1.75rem;
  }

  .hero[aria-label="Loggee hero"] .hero-copy-body {
    text-align: center;
  }

  .hero-copy-body {
    grid-area: body;
    margin-top: 0;
    width: 100%;
    max-width: none;
  }

  .hero-copy-body p {
    margin-top: var(--space-2);
  }

  .placeholder-card-body {
    gap: 0.5rem;
  }

  .hero-app-artwork {
    grid-area: artwork;
    width: 140px !important;
    height: 140px !important;
    justify-self: end;
  }

  .hero-visual-clean {
    order: 2;
  }

  .hero[aria-label="Loggee hero"] .hero-visual-clean {
    background: #c8e6c9;
  }

  .hero[aria-label="Loggee hero"] .hero-visual-clean img {
    background: #c8e6c9;
  }

  .hero-app-icon {
    display: none;
  }

  .hero-actions {
    grid-column: 1;
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: var(--space-2);
  }

  .hero-cta-copy {
    display: none;
  }

  .hero-store-badge-link {
    display: inline-flex !important;
    justify-content: center;
    width: 100%;
  }

  .hero-store-badge {
    width: 208px !important;
    height: auto !important;
  }

  .hero-visual-clean img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .support-hero-copy-bottom {
    margin-top: 0;
  }

  .hero[aria-label="Loggee support"] .hero-copy-body {
    width: 50%;
    max-width: 50%;
  }

  .hero[aria-label="Loggee features"] .hero-copy-body {
    width: 50%;
    max-width: 50%;
  }

  .placeholder-grid {
    grid-template-columns: 1fr;
  }

  .how-flow {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .flow-step {
    grid-template-columns: auto 1fr;
    display: grid;
    align-items: center;
    justify-items: start;
    column-gap: 0.8rem;
  }

  .flow-line {
    width: 3px;
    height: 30px;
    margin: 0 0 0 24px;
  }

  .flow-text {
    max-width: none;
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-nav,
  .reveal-on-scroll {
    transition: none;
    transform: none;
  }

  .reveal-on-scroll {
    opacity: 1;
  }
}
