@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@600;700;800&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

/* DearMemory V2 Public Homepage Styles — Rebuilt Composition Matching Approved Mockup */

:root {
  --dmh-max-width: 1400px;
  --dmh-primary: #C86D51;
  --dmh-primary-hover: #B35A40;
  --dmh-teal-dark: #0E362E;
  --dmh-teal-medium: #17483E;
  --dmh-bg-surface: #FFFFFF;
  --dmh-bg-card: #FFFFFF;
  --dmh-border: #E8E3DA;
  --dmh-text-heading: #1A2E2B;
  --dmh-text-body: #4A5552;
  --dmh-text-muted: #6B7774;
}

/* Reset & Scope */
.dearmemory-home--rebuilt {
  background-color: #FFFFFF;
  color: var(--dmh-text-body);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  overflow-x: hidden;
}

.dearmemory-home--rebuilt *,
.dearmemory-home--rebuilt *::before,
.dearmemory-home--rebuilt *::after {
  box-sizing: border-box;
}

/* Container */
.dmh-container {
  max-width: var(--dmh-max-width);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 3vw, 2.5rem);
  width: 100%;
}

/* Homepage Announcement Strip */
.dmh-announcement-strip {
  background-color: #FDF7F4;
  border-top: 1px solid #F4E3DC;
  border-bottom: 1px solid #F4E3DC;
  color: #0E362E;
  font-size: 0.92rem;
  line-height: 1.45;
  padding: 10px 0;
  position: relative;
  width: 100%;
  z-index: 10;
}

.dmh-announcement-strip__inner {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: center;
  max-width: var(--dmh-max-width);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 3vw, 2.5rem);
  text-align: center;
}

.dmh-announcement-strip__icon {
  flex-shrink: 0;
}

.dmh-announcement-strip__text {
  color: #0E362E;
  font-weight: 550;
  margin: 0;
}

/* Typography — Modern Display Heading Font Stack */
.dearmemory-home--rebuilt h1,
.dearmemory-home--rebuilt h2,
.dearmemory-home--rebuilt h3,
.dearmemory-home--rebuilt h4,
.dmh-hero__title,
.dmh-small-memories__title,
.dmh-video-band__title,
.dmh-slideshow__title,
.dmh-why-i-built__title,
.dmh-free-to-use__title {
  color: var(--dmh-text-heading);
  font-family: "Plus Jakarta Sans", "Outfit", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  font-weight: 700 !important;
  line-height: 1.18 !important;
  letter-spacing: -0.025em !important;
  margin: 0;
}

/* Eyebrows & Badges */
.dmh-eyebrow {
  display: inline-block;
  color: var(--dmh-primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.dmh-eyebrow--light {
  color: #88DDD0;
}

.dmh-badge {
  display: inline-block;
  background-color: #F6EBE6;
  color: var(--dmh-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}

/* Handwritten Script Accent */
.dmh-handwritten {
  font-family: 'Caveat', 'Dancing Script', cursive;
  font-size: 1.45rem;
  color: #8C6353;
  line-height: 1.2;
}

/* Reassurance Pills */
.dmh-hero__reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
}

.dmh-pill {
  background: #FFFFFF;
  border: 1px solid var(--dmh-border);
  border-radius: 999px;
  color: var(--dmh-text-heading);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 5px 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

/* Buttons */
.dmh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  border: 1.5px solid transparent;
}

.dmh-btn--primary {
  background-color: var(--dmh-primary);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(200, 109, 81, 0.28);
}

.dmh-btn--primary:hover,
.dmh-btn--primary:focus {
  background-color: var(--dmh-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(200, 109, 81, 0.36);
}

.dmh-btn--secondary {
  background-color: #FFFFFF;
  border-color: #D6D0C5;
  color: var(--dmh-text-heading) !important;
}

.dmh-btn--secondary:hover,
.dmh-btn--secondary:focus {
  background-color: #FAF6F0;
  border-color: var(--dmh-text-heading);
  transform: translateY(-2px);
}

.dmh-btn--secondary-light {
  background-color: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF !important;
}

.dmh-btn--secondary-light:hover,
.dmh-btn--secondary-light:focus {
  background-color: rgba(255, 255, 255, 0.25);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}



/* ==========================================================================
   SECTION 1: HERO (ONE WARM PHOTOGRAPHIC SCENE + ANGLED FLOATING PREVIEW)
   ========================================================================== */
.dmh-hero--full-scene {
  position: relative;
  min-height: 440px;
  background: #FAF8F5;
  overflow: visible;
  z-index: 2;
  border-bottom: 1px solid var(--dmh-border);
  padding-top: clamp(1.75rem, 2.5vw, 2.5rem);
  padding-bottom: clamp(3.5rem, 4.2vw, 4.25rem);
}

.dmh-hero__bg-scene {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.dmh-hero__bg-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right 14%;
}

.dmh-hero__bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, #FAF8F5 0%, #FAF8F5 40%, rgba(250, 248, 245, 0.85) 55%, rgba(250, 248, 245, 0) 78%);
}

.dmh-hero__container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}

.dmh-hero__content {
  max-width: 580px;
}

.dmh-hero__heading-group {
  position: relative;
  margin-bottom: 0.75rem;
}

.dmh-hero__handwritten-accent {
  position: absolute;
  top: -1.8rem;
  right: 1.5rem;
  transform: rotate(-3deg);
  white-space: nowrap;
}

.dmh-hero__title {
  font-size: clamp(2.4rem, 3.5vw, 3.5rem);
  letter-spacing: -0.02em;
  line-height: 1.12;
}

.dmh-hero__lead {
  font-size: clamp(1.02rem, 1.2vw, 1.15rem);
  color: var(--dmh-text-heading);
  line-height: 1.55;
  margin-bottom: 0.75rem;
}

.dmh-hero__sublead {
  font-size: 0.98rem;
  color: var(--dmh-text-muted);
  line-height: 1.55;
  margin-bottom: 0.85rem;
}

.dmh-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

/* Floating Preview Media Wrapper */
.dmh-hero__floating-preview {
  position: relative;
  height: 100%;
  min-height: 330px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

/* Angled Miniature Application Interface Window Overlay */
.dmh-app-window--angled {
  position: absolute;
  bottom: -7.5rem;
  right: -13.5rem;
  width: clamp(440px, 30vw, 500px);
  max-width: none;
  background: #FFFFFF;
  border-radius: 20px;
  transform: rotate(3.2deg);
  transform-origin: bottom right;
  box-shadow: 0 32px 85px rgba(0, 0, 0, 0.26), 0 12px 30px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.95) inset;
  border: 1px solid rgba(232, 227, 218, 0.95);
  z-index: 10;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.dmh-hero__annotation-angled {
  position: absolute;
  bottom: -0.8rem;
  right: 1.5rem;
  transform: rotate(3.2deg);
  z-index: 3;
  color: #8C6353;
  font-family: 'Caveat', cursive;
  font-size: 1.35rem;
}

.dmh-app-window__annotation {
  text-align: right;
  padding: 4px 14px 10px;
  color: #8C6353;
  font-family: 'Caveat', cursive;
  font-size: 1.15rem;
  line-height: 1.25;
}

/* Window Component Detail Styles */
.dmh-app-window__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #FAF8F5;
  border-bottom: 1px solid var(--dmh-border);
}

.dmh-app-window__brand {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dmh-app-window__brand-name {
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dmh-text-heading);
}

.dmh-app-window__user-profile {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--dmh-text-heading);
}

.dmh-app-window__user-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
}

.dmh-app-window__user-role {
  font-size: 0.68rem;
  color: var(--dmh-text-muted);
  font-weight: 400;
}

.dmh-app-window__body {
  display: grid;
  grid-template-columns: 110px 1fr;
  min-height: 270px;
}

.dmh-app-window__sidebar {
  background: #F5F7F6;
  border-right: 1px solid var(--dmh-border);
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dmh-app-window__nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--dmh-text-muted);
}

.dmh-app-window__nav-item--active {
  background: #E4ECE9;
  color: var(--dmh-teal-dark);
}

.dmh-app-window__main {
  padding: 10px 12px 12px;
}

.dmh-app-window__banner {
  position: relative;
  height: 70px;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 24px;
}

.dmh-app-window__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dmh-app-window__room-avatar {
  position: absolute !important;
  bottom: -18px !important;
  left: 10px !important;
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  border: 2.5px solid #FFFFFF !important;
  object-fit: cover !important;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15) !important;
}

.dmh-app-window__banner-quote {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  color: #6D4C41;
}

.dmh-app-window__room-header {
  margin-bottom: 8px;
}

.dmh-app-window__room-title {
  font-size: 1.05rem !important;
  color: var(--dmh-text-heading);
  margin-bottom: 2px !important;
}

.dmh-app-window__room-subtitle {
  font-size: 0.72rem;
  color: var(--dmh-text-muted);
  margin: 0 0 6px !important;
}

.dmh-app-window__filter-pills {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}

.dmh-app-window__filter {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  background: #F0EDE6;
  color: var(--dmh-text-body);
}

.dmh-app-window__filter--active {
  background: var(--dmh-teal-dark);
  color: #FFFFFF;
}

.dmh-app-window__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.dmh-app-window__card {
  background: var(--dmh-bg-surface);
  border: 1px solid var(--dmh-border);
  border-radius: 8px;
  padding: 4px;
  display: flex;
  flex-direction: column;
}

.dmh-app-window__card img {
  width: 100%;
  height: 50px;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 4px;
}

.dmh-app-window__card strong {
  font-size: 0.66rem;
  line-height: 1.2;
  color: var(--dmh-text-heading);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dmh-app-window__card small {
  font-size: 0.58rem;
  color: var(--dmh-text-muted);
  margin-top: 2px;
}


/* ==========================================================================
   SHARED SECTION HEADERS & UTILITIES
   ========================================================================== */
.dmh-section-header {
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
  max-width: 680px;
}

.dmh-section-header--center {
  text-align: center;
  margin-inline: auto;
}

.dmh-section-title {
  font-size: clamp(2.1rem, 3.2vw, 3rem);
  letter-spacing: -0.015em;
  margin-top: 0.5rem;
  margin-bottom: 1rem !important;
  color: var(--dmh-text-heading);
}

.dmh-section-lead {
  font-size: clamp(1.05rem, 1.2vw, 1.18rem);
  color: var(--dmh-text-body);
  line-height: 1.65;
  margin: 0;
}


/* ==========================================================================
   SECTION 1: SMALL MEMORIES MATTER (2-COLUMN MATCHING APPROVED MOCKUP)
   ========================================================================== */
.dmh-small-memories {
  padding-top: clamp(3.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
  background: #FFFFFF;
  border-bottom: 1px solid var(--dmh-border);
}

.dmh-small-memories__container {
  display: grid;
  grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}

.dmh-small-memories__content {
  display: flex;
  flex-direction: column;
}

.dmh-small-memories__title {
  font-size: clamp(1.8rem, 2.6vw, 2.4rem) !important;
  color: var(--dmh-text-heading);
  margin: 0.35rem 0 0.75rem !important;
}

.dmh-small-memories__text {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--dmh-text-body);
  margin-bottom: 1.25rem;
}

.dmh-small-memories__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.dmh-memory-card {
  background: #FAF8F5;
  border: 1px solid #E8E3DA;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dmh-memory-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.dmh-memory-card__media {
  height: 120px;
  overflow: hidden;
}

.dmh-memory-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dmh-memory-card__body {
  padding: 0.85rem 0.95rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.dmh-memory-card__title {
  font-size: 1.02rem !important;
  margin-bottom: 0.35rem !important;
}

.dmh-memory-card__quote {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--dmh-text-body);
  margin: 0 0 0.85rem;
  flex-grow: 1;
}

.dmh-action-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: #FDF5F2;
  color: var(--dmh-primary);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
  align-self: flex-start;
  margin-top: auto;
}

.dmh-action-pill:hover,
.dmh-action-pill.is-reading {
  background: #F8E6DF;
  color: var(--dmh-primary-hover);
}

.dmh-action-pill--static {
  background: #FDF5F2;
  color: var(--dmh-primary);
}


/* ==========================================================================
   SECTION 2: DARK GREEN VIDEO BAND (DIRECT MATCH TO MOCKUP)
   ========================================================================== */
.dmh-video-band {
  background-color: #0E362E;
  color: #FFFFFF;
  padding-block: clamp(4rem, 6.5vw, 6rem);
  position: relative;
}

.dmh-video-band__container {
  display: grid;
  grid-template-columns: minmax(0, 0.48fr) minmax(0, 0.52fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}

.dmh-video-frame {
  position: relative;
  border-radius: 14px;
  overflow: visible;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.dmh-video-frame iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 14px;
  display: block;
  background: #000;
}

.dmh-video-frame__annotation {
  position: absolute;
  bottom: -1.15rem;
  left: 0.5rem;
  color: #FFE6D5;
  transform: rotate(-2deg);
  font-size: 1.1rem;
}

.dmh-video-band__title {
  color: #FFFFFF !important;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem) !important;
  margin-bottom: 0.75rem !important;
}

.dmh-video-band__text {
  color: #D2E4E0;
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.dmh-video-band__notice {
  color: rgba(210, 228, 224, 0.85);
  font-size: 0.875rem;
  font-style: italic;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.dmh-video-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.dmh-video-band__annotation-right {
  margin-top: 1rem;
  color: #A3ECE0;
  font-size: 1.25rem;
}


/* ==========================================================================
   SECTION 3: MEMORY SLIDESHOW (2-COLUMN MATCHING MOCKUP)
   ========================================================================== */
.dmh-slideshow {
  padding-block: clamp(2.5rem, 4vw, 3.5rem);
  background: #FFFFFF;
  border-bottom: 1px solid var(--dmh-border);
  overflow: hidden;
}

.dmh-slideshow__container {
  display: grid;
  grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.56fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}

.dmh-slideshow__title {
  font-size: clamp(1.8rem, 2.6vw, 2.4rem) !important;
  margin-bottom: 0.65rem !important;
  color: var(--dmh-text-heading);
}

.dmh-slideshow__text {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--dmh-text-body);
  margin-bottom: 0.5rem;
}

.dmh-slideshow__subtext {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dmh-text-heading);
  margin-bottom: 1.25rem;
}

.dmh-slideshow__media {
  position: relative;
}

.dmh-slideshow-tv {
  background: #1A1A1A;
  border-radius: 16px;
  padding: 8px;
  position: relative;
  box-shadow: 0 14px 36px rgba(0,0,0,0.12);
}

.dmh-slideshow-tv img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 10px;
  display: block;
}

.dmh-slideshow-tv__controls {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  padding: 8px 12px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.dmh-tv-pill {
  color: var(--dmh-text-heading);
}

.dmh-slideshow-tv__caption {
  color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  padding: 6px 8px 2px;
  font-size: 0.78rem;
}

.dmh-slideshow__annotation {
  position: absolute;
  bottom: -1.25rem;
  right: -8.5rem;
  font-size: 1.15rem;
  color: #8C6353;
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
}


/* ==========================================================================
   SECTION 4: WHY I BUILT DEARMEMORY (SHALLOW HORIZONTAL BAND - DEEP GREEN)
   ========================================================================== */
.dmh-why-i-built {
  padding-block: clamp(1.85rem, 3vw, 2.65rem);
  background-color: #0E362E;
  color: #FFFFFF;
}

.dmh-why-i-built__container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 3.5vw, 3rem);
  align-items: stretch;
}

.dmh-why-i-built__col {
  display: flex;
  flex-direction: column;
}

.dmh-why-i-built__col--left {
  justify-content: center;
}

.dmh-why-i-built__header {
  display: flex;
  flex-direction: column;
}

.dmh-why-i-built .dmh-eyebrow {
  color: #E87A64;
  margin-bottom: 0.5rem;
}

.dmh-why-i-built__title {
  font-size: clamp(1.6rem, 2.2vw, 2rem) !important;
  color: #FFFFFF !important;
  margin: 0.25rem 0 0 !important;
}

.dmh-why-i-built__body {
  display: flex;
  flex-direction: column;
}

.dmh-why-i-built__text {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #D2E4E0;
  margin: 0 0 0.85rem;
}

.dmh-why-i-built__signature-block {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.dmh-why-i-built__signature {
  font-family: 'Caveat', cursive;
  font-size: 2.1rem;
  color: #E87A64;
  font-weight: 700;
}

.dmh-why-i-built__role {
  font-size: 0.85rem;
  font-weight: 600;
  color: #A3ECE0;
}

/* Suggest a Feature Homepage Card */
.dmh-suggest-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: clamp(1.5rem, 2.5vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  box-sizing: border-box;
}

.dmh-suggest-card__title {
  font-size: clamp(1.4rem, 2vw, 1.75rem) !important;
  color: #FFFFFF !important;
  margin: 0.25rem 0 0.5rem !important;
  font-weight: 800;
}

.dmh-suggest-card__text {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #D2E4E0;
  margin: 0 0 1.25rem;
}

.dmh-suggest-card__action {
  margin-top: auto;
}

.dmh-btn--suggest {
  background-color: #C86D51 !important;
  border: 1px solid #C86D51 !important;
  color: #FFFFFF !important;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 750;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.18s ease-in-out;
  box-shadow: 0 4px 14px rgba(200, 109, 81, 0.25);
  text-decoration: none;
}

.dmh-btn--suggest:hover,
.dmh-btn--suggest:focus-visible {
  background-color: #B25C42 !important;
  border-color: #B25C42 !important;
  transform: translateY(-1px);
}

/* Suggest a Feature Modal Overlay */
.dmh-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  background: rgba(14, 54, 46, 0.75);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
}

.dmh-modal-overlay.is-open {
  display: flex;
}

.dmh-modal-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #E1ECE8;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(14, 54, 46, 0.25);
  width: 100%;
  max-width: 560px;
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  box-sizing: border-box;
  color: #1A2E2B;
}

.dmh-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: transparent;
  border: 0;
  font-size: 1.75rem;
  line-height: 1;
  color: #5C6E6A;
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.15s ease;
}

.dmh-modal-close:hover {
  color: #0E362E;
}

.dmh-modal-header {
  margin-bottom: 1.25rem;
}

.dmh-modal-title {
  font-family: "Plus Jakarta Sans", -apple-system, sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 1.85rem) !important;
  font-weight: 800;
  color: #0E362E !important;
  margin: 0.25rem 0 0.5rem !important;
}

.dmh-modal-subtitle {
  color: #5C6E6A;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

.dmh-modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.dmh-form-group {
  display: flex;
  flex-direction: column;
}

.dmh-form-group label {
  font-size: 0.92rem;
  font-weight: 750;
  color: #0E362E;
  margin-bottom: 0.35rem;
}

.dmh-form-group input[type="text"],
.dmh-form-group input[type="email"],
.dmh-form-group textarea {
  border: 1px solid #E1ECE8;
  border-radius: 10px;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 0.98rem;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  width: 100%;
  color: #1A2E2B;
  background: #FFFFFF;
  transition: border-color 0.15s ease;
}

.dmh-form-group input[type="text"]:focus,
.dmh-form-group input[type="email"]:focus,
.dmh-form-group textarea:focus {
  outline: none;
  border-color: #0E362E;
  box-shadow: 0 0 0 3px rgba(14, 54, 46, 0.1);
}

.dmh-form-group textarea {
  min-height: 110px;
  resize: vertical;
}

.dmh-form-check label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 500;
  font-size: 0.92rem;
  color: #5C6E6A;
  cursor: pointer;
}

.dmh-form-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 0.1rem;
  accent-color: #0E362E;
}

.dmh-modal-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.dmh-modal-status {
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.dmh-modal-status--success {
  background: #F4F8F6;
  border: 1px solid #E1ECE8;
  color: #0E362E;
}

.dmh-modal-status--error {
  background: #FFF1ED;
  border: 1px solid #D8A095;
  color: #692D24;
}


/* ==========================================================================
   SECTION 5: DEARMEMORY IS FREE TO USE (COMPACT CLOSING BAND)
   ========================================================================== */
.dmh-free-to-use {
  padding-block: clamp(2rem, 3.5vw, 3rem);
  background: #FFFFFF;
  border-bottom: 1px solid var(--dmh-border);
}

.dmh-free-to-use__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.dmh-free-to-use__content {
  display: flex;
  flex-direction: column;
}

.dmh-free-to-use__title {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem) !important;
  color: var(--dmh-text-heading);
  margin: 0.25rem 0 0.5rem !important;
}

.dmh-free-to-use__text {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--dmh-text-body);
  margin: 0;
  max-width: 620px;
}

.dmh-free-to-use__action-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  position: relative;
}

.dmh-free-to-use__annotation {
  margin-top: 0.5rem;
  font-size: 1.15rem;
  color: #8C6353;
}


/* ==========================================================================
   HOMEPAGE SINGLE FOOTER ENFORCEMENT
   ========================================================================== */
.dearmemory-shell-footer,
.dearmemory-phase4-footer,
#colophon.site-footer {
  display: none !important;
}


/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
/* Short & Medium Laptop Viewport Height Handling (Desktop Width with Limited Screen Height <= 900px) */
@media (min-width: 901px) and (max-height: 900px) {
  .dmh-hero--full-scene {
    padding-top: clamp(1.15rem, 2.2vh, 1.85rem);
    padding-bottom: clamp(1.85rem, 3.8vh, 3rem);
  }

  .dmh-hero__title {
    font-size: clamp(2.15rem, 3.1vw, 3rem);
    line-height: 1.12;
  }

  .dmh-hero__heading-group {
    margin-bottom: clamp(0.35rem, 1vh, 0.6rem);
  }

  .dmh-hero__lead {
    font-size: clamp(0.96rem, 1.05vw, 1.08rem);
    line-height: 1.48;
    margin-bottom: clamp(0.4rem, 1vh, 0.65rem);
  }

  .dmh-hero__sublead {
    font-size: 0.94rem;
    line-height: 1.48;
    margin-bottom: clamp(0.4rem, 1vh, 0.7rem);
  }

  .dmh-hero__reassurance {
    gap: 0.45rem;
    margin-bottom: clamp(0.65rem, 1.2vh, 1rem);
  }

  .dmh-pill {
    font-size: 0.82rem;
    padding: 4px 12px;
  }

  .dmh-btn {
    min-height: 48px;
    padding: 10px 24px;
    font-size: 0.96rem;
  }

  .dmh-app-window--angled {
    width: clamp(390px, 26vw, 450px);
    bottom: clamp(-5rem, -7.5vh, -2.5rem);
    right: clamp(-13.5rem, -10vw, -7rem);
  }
}

/* Shorter Laptop Viewport Height Handling (<= 780px) */
@media (min-width: 901px) and (max-height: 780px) {
  .dmh-hero--full-scene {
    padding-top: clamp(1rem, 2vh, 1.35rem);
    padding-bottom: clamp(1.5rem, 3.2vh, 2.25rem);
  }

  .dmh-hero__title {
    font-size: clamp(1.95rem, 2.8vw, 2.5rem);
  }

  .dmh-hero__heading-group {
    margin-bottom: 0.35rem;
  }

  .dmh-hero__lead {
    font-size: 0.95rem;
    line-height: 1.42;
    margin-bottom: 0.35rem;
  }

  .dmh-hero__sublead {
    font-size: 0.88rem;
    margin-bottom: 0.45rem;
  }

  .dmh-hero__reassurance {
    margin-bottom: 0.6rem;
  }

  .dmh-app-window--angled {
    width: clamp(350px, 24vw, 410px);
    bottom: clamp(-3.5rem, -6vh, -2rem);
    right: clamp(-11rem, -8vw, -5rem);
  }
}

@media (max-width: 1100px) {
  .dmh-hero--full-scene {
    min-height: auto;
    padding-top: clamp(1.5rem, 3vw, 2.25rem);
    padding-bottom: clamp(2rem, 4vw, 3rem);
  }

  .dmh-hero__bg-img {
    width: 100%;
    opacity: 0.4;
  }

  .dmh-hero__bg-gradient {
    background: linear-gradient(180deg, rgba(250,248,245,0.95) 0%, rgba(250,248,245,0.85) 100%);
  }

  .dmh-hero__container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .dmh-small-memories__container,
  .dmh-video-band__container,
  .dmh-slideshow__container,
  .dmh-why-i-built__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .dmh-eyebrow {
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.4rem;
  }

  .dmh-hero__title {
    font-size: clamp(2.05rem, 4vw, 2.5rem);
    line-height: 1.18;
    letter-spacing: -0.02em;
  }

  .dmh-hero__lead {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
  }

  .dmh-hero__sublead {
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 0.75rem;
  }

  .dmh-hero__reassurance {
    gap: 8px;
    margin-bottom: 1rem;
  }

  .dmh-pill {
    font-size: 0.82rem;
    padding: 4px 12px;
  }

  .dmh-hero__floating-preview {
    min-height: auto;
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
  }

  .dmh-app-window--angled {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    transform: none;
    box-shadow: 0 16px 40px rgba(14, 54, 46, 0.12);
  }

  .dmh-slideshow__annotation {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 0.75rem;
    text-align: right;
    white-space: normal;
  }

  .dmh-free-to-use__container {
    flex-direction: column;
    align-items: flex-start;
  }

  .dmh-free-to-use__action-wrap {
    align-items: flex-start;
  }

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

@media (max-width: 680px) {
  .dmh-hero--full-scene {
    padding-top: 1.25rem;
    padding-bottom: 1.75rem;
  }

  .dmh-hero__container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .dmh-hero__floating-preview {
    order: -1;
    margin-top: 0;
  }

  .dmh-hero__content {
    order: 1;
  }

  .dmh-announcement-strip {
    font-size: 0.86rem;
    padding: 8px 0;
  }

  .dmh-announcement-strip__inner {
    align-items: flex-start;
    gap: 8px;
    text-align: left;
  }

  .dmh-eyebrow {
    font-size: clamp(0.7rem, 2.8vw, 0.76rem);
    letter-spacing: 0.04em;
    line-height: 1.35;
    margin-bottom: 0.35rem;
    display: inline-block;
    max-width: 100%;
    text-wrap: balance;
  }

  .dmh-hero__heading-group {
    margin-bottom: 0.45rem;
  }

  .dmh-hero__handwritten-accent {
    position: relative;
    top: auto;
    right: auto;
    display: block;
    margin-bottom: 0.25rem;
    transform: rotate(-2deg);
    font-size: clamp(1.15rem, 4.2vw, 1.3rem);
    white-space: nowrap;
    line-height: 1.2;
  }

  .dmh-hero__title {
    font-size: clamp(1.65rem, 5.8vw, 2.05rem);
    line-height: 1.18;
    letter-spacing: -0.02em;
    margin: 0;
  }

  .dmh-hero__lead {
    font-size: clamp(0.92rem, 3.2vw, 0.98rem);
    color: var(--dmh-text-heading);
    line-height: 1.48;
    margin-bottom: 0.4rem;
  }

  .dmh-hero__sublead {
    font-size: clamp(0.85rem, 2.8vw, 0.9rem);
    color: var(--dmh-text-muted);
    line-height: 1.45;
    margin-bottom: 0.7rem;
  }

  .dmh-hero__reassurance {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 0.85rem;
    align-items: center;
  }

  .dmh-pill {
    font-size: clamp(0.75rem, 2.5vw, 0.8rem);
    padding: 4px 10px;
    white-space: nowrap;
    border-radius: 999px;
    flex-shrink: 0;
  }

  .dmh-small-memories__cards {
    grid-template-columns: 1fr;
  }

  .dmh-hero__actions,
  .dmh-video-band__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .dmh-btn {
    width: 100%;
    min-height: 48px;
    padding: 10px 20px;
    font-size: 0.95rem;
    justify-content: center;
    text-align: center;
  }

  .dmh-app-window--angled {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    transform: none;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(14, 54, 46, 0.1);
    overflow: hidden;
  }

  .dmh-app-window__body {
    grid-template-columns: minmax(80px, 95px) minmax(0, 1fr);
  }

  .dmh-app-window__main {
    padding: 8px 8px 10px;
    min-width: 0;
  }

  .dmh-app-window__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }

  .dmh-app-window__nav-item {
    font-size: 0.65rem;
    padding: 5px 6px;
    gap: 4px;
  }
}

@media (max-width: 380px) {
  .dmh-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.03em;
  }

  .dmh-hero__title {
    font-size: 1.6rem;
  }

  .dmh-pill {
    font-size: 0.72rem;
    padding: 3px 8px;
  }

  .dmh-app-window__body {
    grid-template-columns: 75px minmax(0, 1fr);
  }

  .dmh-app-window__nav-item {
    font-size: 0.6rem;
    padding: 4px;
  }
}
