:root {
  --bg: #fdf6f6;
  --surface: #ffffff;
  --surface-soft: #fbf1f1;
  --ink: #2b1515;
  --muted: #7a5a5a;
  --accent: #b73e3e;
  --accent-ink: #ffffff;
  --accent-2: #d94545;
  --line: #edd9d9;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: radial-gradient(1300px 520px at 50% -10%, #f8e7e7 0%, var(--bg) 62%);
  color: var(--ink);
  line-height: 1.55;
}

html {
  scroll-padding-top: 84px;
}

a {
  color: #9b2f2f;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  z-index: 5;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.1px;
  font-size: 1.1rem;
  color: #3a1717;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 280px;
  overflow: visible;
}

.brand-app-icon {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-logo {
  display: block;
  height: 26px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.nav-toggle {
  display: none;
  border: 1px solid #e9cfcf;
  background: #fff7f7;
  color: #6e2d2d;
  border-radius: 10px;
  min-height: 44px;
  padding: 0.45rem 0.8rem;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1;
}

.nav-toggle:hover {
  filter: none;
  background: #ffecec;
}

.nav-toggle .nav-toggle-icon {
  font-size: 1.08rem;
  line-height: 1;
}

.nav-links a[aria-current="page"] {
  color: var(--accent);
  font-weight: 600;
}

.features-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-links .features-trigger {
  border: 0;
  background: transparent;
  color: #9b2f2f;
  border-radius: 0;
  padding: 0;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.24rem;
  line-height: 1.1;
}

.nav-links .features-trigger:hover {
  background: transparent;
  color: var(--accent);
  text-decoration: underline;
}

.nav-links .features-trigger:focus-visible {
  outline: 2px solid #d68080;
  outline-offset: 2px;
  border-radius: 4px;
}

.features-trigger .chevron {
  font-size: 0.7rem;
  transition: transform 0.18s ease;
}

.features-menu.is-open .features-trigger .chevron {
  transform: rotate(180deg);
}

.features-dropdown {
  position: absolute;
  top: calc(100% + 0.45rem);
  left: 0;
  min-width: 170px;
  background: #fff;
  border: 1px solid #ecd3d3;
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(88, 29, 29, 0.12);
  padding: 0.45rem;
  display: none;
  z-index: 12;
}

.features-dropdown a {
  display: block;
  padding: 0.45rem 0.5rem;
  border-radius: 9px;
  color: #3e2323;
}

.features-dropdown a:hover {
  background: #fff0f0;
  text-decoration: none;
}

.features-menu:hover .features-dropdown,
.features-menu.is-open .features-dropdown {
  display: block;
}

.hero {
  padding: 3.6rem 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.3rem;
  align-items: start;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
}

h1 {
  margin: 0.2rem 0 0.8rem;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.08;
}

.lead {
  font-size: 1.12rem;
  color: #4a2b2b;
  max-width: 70ch;
}

.section {
  padding: 1.7rem 0 3rem;
}

.section-soft {
  padding-top: 0.5rem;
}

.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.2rem;
  background: var(--surface);
  box-shadow: 0 8px 30px rgba(88, 29, 29, 0.06);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.62rem 1rem;
  font-weight: 600;
  border: 1px solid transparent;
}

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

.btn-primary:hover {
  text-decoration: none;
  filter: brightness(0.96);
}

.btn-secondary {
  border-color: #e7c8c8;
  color: #7a2f2f;
  background: #fff1f1;
}

.btn-secondary:hover {
  text-decoration: none;
  background: #ffe7e7;
}

.hero-panel {
  border: 1px solid #ecd6d6;
  background: linear-gradient(180deg, #ffffff 0%, #fdf2f2 100%);
  border-radius: 22px;
  padding: 1rem 1.1rem;
  box-shadow: 0 10px 35px rgba(88, 29, 29, 0.08);
}

.hero-panel ul {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
}

.panel-title {
  font-weight: 700;
  margin: 0;
}

.hero-mascot {
  margin: 1rem auto 0;
  display: block;
  text-align: center;
}

.hero-mascot img {
  width: min(190px, 100%);
  height: auto;
  display: block;
  margin: 0 auto;
}

.hero-mascot figcaption {
  margin: 0;
  font-size: 0.86rem;
  color: #7b5151;
}

.hero-avatar-only {
  margin: 0;
  display: grid;
  place-items: center;
}

.hero-avatar-only img {
  width: min(260px, 100%);
  height: auto;
  display: block;
}

.contact-summary {
  max-width: 840px;
}

.card-wide {
  width: 100%;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.feature-pill {
  background: var(--surface-soft);
  border: 1px solid #ecd7d7;
  border-radius: 18px;
  padding: 0.85rem 0.95rem;
}

.feature-pill h2 {
  margin: 0 0 0.28rem;
  font-size: 1rem;
}

.feature-pill p {
  margin: 0;
  color: #684646;
  font-size: 0.94rem;
}

.section-title {
  margin: 0 0 0.25rem;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
}

.section-intro {
  margin: 0 0 0.9rem;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.95rem;
}

.page-avatar {
  width: min(180px, 100%);
  height: auto;
  display: block;
  margin: 0.4rem auto 1rem;
}

.image-card {
  margin: 0;
  border: 1px solid #ecd8d8;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 9px 28px rgba(88, 29, 29, 0.08);
}

.image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.image-card-portrait img {
  aspect-ratio: auto;
  object-fit: contain;
  max-height: 720px;
  background: #fff8f8;
}

.messaging-gallery {
  margin-top: 0.85rem;
}

.image-card figcaption {
  padding: 0.65rem 0.8rem;
  font-size: 0.9rem;
  color: #624343;
}

.story-section {
  padding-top: 0.6rem;
}

.messaging-section {
  padding-top: 0.8rem;
}

.messaging-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1rem;
  align-items: stretch;
}

.messaging-copy {
  border: 1px solid #ecdada;
  border-radius: 20px;
  background: #fff;
  padding: 1.1rem;
  box-shadow: 0 10px 28px rgba(88, 29, 29, 0.07);
}

.messaging-list {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
}

.messaging-media {
  border-radius: 22px;
  border: 1px solid #ead1d1;
  background: radial-gradient(180% 140% at 80% 0%, #fbe8e8 0%, #f6dddd 44%, #f1d2d2 100%);
  padding: 1rem;
  display: grid;
}

.messaging-placeholder {
  border: 2px dashed #bf7f7f;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  min-height: 320px;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 1rem;
}

.messaging-placeholder p {
  margin: 0.2rem 0;
}

.messaging-preview {
  margin: 0;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #ebd6d6;
  border-radius: 18px;
  padding: 0.5rem;
}

.messaging-preview img {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  display: block;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(88, 29, 29, 0.16);
}

.messaging-preview figcaption {
  text-align: center;
  margin-top: 0.45rem;
  color: #7b5151;
  font-size: 0.85rem;
}

.story-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.2rem;
  padding: 1.1rem;
  border: 1px solid #eedddd;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #fdf7f7 100%);
}

.story-row-reverse .story-copy {
  order: 2;
}

.story-row-reverse .story-screen {
  order: 1;
}

.story-kicker {
  margin: 0 0 0.25rem;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.story-copy h3 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  line-height: 1.1;
}

.story-copy p {
  margin: 0 0 0.8rem;
  color: #5e3f3f;
}

.story-copy a[aria-disabled="true"] {
  color: #8d3434;
  font-weight: 600;
  pointer-events: none;
}

.story-screen {
  margin: 0;
  padding: 0.75rem;
  background: #fbefef;
  border-radius: 22px;
  border: 1px solid #e9d3d3;
}

.story-screen img {
  width: 100%;
  display: block;
  border-radius: 18px;
  aspect-ratio: 10 / 16;
  object-fit: cover;
  box-shadow: 0 12px 32px rgba(88, 29, 29, 0.18);
}

.story-screen-wide img {
  aspect-ratio: auto;
  object-fit: contain;
  max-height: 560px;
  background: #fff8f8;
}

.story-screen-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
}

.story-screen-grid img {
  aspect-ratio: auto;
  object-fit: contain;
  max-height: 420px;
  background: #fff8f8;
}

.contact-form {
  display: grid;
  gap: 0.8rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
}

input,
textarea,
button {
  font: inherit;
}

input,
textarea {
  width: 100%;
  background: #fff;
  color: var(--ink);
  border: 1px solid #e8cfcf;
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
}

button {
  background: var(--accent);
  color: var(--accent-ink);
  border: 0;
  border-radius: 10px;
  font-weight: 600;
  padding: 0.65rem 0.9rem;
  cursor: pointer;
}

button:hover {
  filter: brightness(1.04);
}

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

.prose {
  max-width: 840px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.2rem 1.2rem 0.3rem;
  box-shadow: 0 10px 32px rgba(15, 52, 41, 0.05);
}

.prose h1,
.prose h2 {
  margin-top: 1.35rem;
}

.policy-image {
  width: 100%;
  max-width: 420px;
  display: block;
  margin: 0.7rem auto 1.1rem;
  border-radius: 16px;
  border: 1px solid #ecd7d7;
  box-shadow: 0 10px 26px rgba(88, 29, 29, 0.12);
}

.policy-image-large {
  max-width: 520px;
}

.policy-figure {
  margin: 0.6rem 0 1rem;
}

.policy-figure figcaption {
  text-align: center;
  color: #7b5151;
  font-size: 0.86rem;
}

.page-lead {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.small-muted {
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0 5.2rem;
  color: #725656;
  background: rgba(255, 255, 255, 0.45);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: #ffffff;
  border: 1px solid #ebd1d1;
  border-radius: 14px;
  padding: 0.9rem;
  display: none;
  gap: 0.5rem;
  z-index: 10;
  box-shadow: 0 12px 32px rgba(88, 29, 29, 0.15);
}

.cookie-banner.visible {
  display: grid;
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 70px;
  }

  .site-header {
    backdrop-filter: blur(8px);
  }

  .hero-grid,
  .feature-strip,
  .messaging-grid,
  .image-grid,
  .story-row,
  .grid-two {
    grid-template-columns: 1fr;
  }

  .story-row-reverse .story-copy,
  .story-row-reverse .story-screen,
  .story-row-reverse .story-screen-grid {
    order: unset;
  }

  .nav-wrap {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.55rem 0.75rem;
    padding: 0.7rem 0;
  }

  .brand {
    max-width: 100%;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
  }

  .nav-links {
    grid-column: 1 / -1;
    display: grid;
    gap: 0.25rem;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transition: max-height 0.22s ease, opacity 0.18s ease, transform 0.18s ease;
  }

  .nav-wrap.is-nav-open .nav-links {
    max-height: 82vh;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links > a,
  .nav-links .features-trigger {
    min-height: 44px;
    border-radius: 10px;
    padding: 0.6rem 0.75rem;
    text-decoration: none;
  }

  .nav-links > a:hover,
  .nav-links .features-trigger:hover {
    background: #fff0f0;
    text-decoration: none;
  }

  .features-menu {
    display: grid;
    width: 100%;
  }

  .nav-links .features-trigger {
    justify-content: space-between;
    width: 100%;
  }

  .features-dropdown {
    position: static;
    margin-top: 0.2rem;
    border-radius: 12px;
    box-shadow: none;
    width: 100%;
    min-width: 0;
  }

  .features-menu:hover .features-dropdown {
    display: none;
  }

  .features-menu.is-open .features-dropdown {
    display: block;
  }

  .features-dropdown a {
    min-height: 42px;
    display: grid;
    align-items: center;
  }

  .hero {
    padding: 2.3rem 0 1.2rem;
  }

  h1 {
    font-size: clamp(1.72rem, 8vw, 2.35rem);
    line-height: 1.12;
  }

  .lead {
    font-size: 1rem;
  }

  .section {
    padding: 1.2rem 0 2rem;
  }

  .section-intro {
    margin-bottom: 0.75rem;
  }

  .story-row {
    gap: 0.95rem;
    padding: 0.9rem;
    border-radius: 18px;
  }

  .story-copy h3 {
    font-size: clamp(1.28rem, 7.3vw, 1.78rem);
  }

  .story-screen {
    padding: 0.58rem;
    border-radius: 16px;
  }

  .story-screen img {
    border-radius: 12px;
  }

  .messaging-copy,
  .card,
  .feature-pill {
    border-radius: 16px;
  }

  .messaging-copy {
    padding: 0.95rem;
  }

  .messaging-media {
    padding: 0.8rem;
    border-radius: 16px;
  }

  .btn {
    min-height: 44px;
  }

  .messaging-copy .btn {
    width: 100%;
  }

  .brand-logo {
    height: 21px;
  }

  .brand-app-icon {
    width: 24px;
    height: 24px;
  }
}
