/* Madam Company — brand tokens from Canva landingspagina */
:root {
  --cream: #f8f4ec;
  --cream-deep: #f3ebe0;
  --yellow: #ffc107;
  --yellow-hover: #f0b400;
  --green: #22593e;
  --green-dark: #1a4631;
  --ink: #2a2a2a;
  --muted: #4a4a4a;
  --white: #ffffff;
  --black: #0a0a0a;
  --line: #d8e4e8;
  --radius: 1.25rem;
  --radius-sm: 0.65rem;
  --shadow: 0 8px 28px rgba(34, 89, 62, 0.08);
  --font: "Outfit", system-ui, sans-serif;
  --max: 1100px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0 0 0.75rem;
  line-height: 1.15;
  color: var(--green);
  font-weight: 700;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 2.5rem, 1180px);
  margin-inline: auto;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}

.divider {
  width: 4.5rem;
  height: 3px;
  background: var(--yellow);
  border: 0;
  margin: 0.85rem 0 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-sm);
  border: none;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 6px 18px rgba(255, 193, 7, 0.35);
}

.btn-yellow:hover {
  background: var(--yellow-hover);
}

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

.btn-green:hover {
  background: var(--green-dark);
}

.btn-play::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent currentColor;
}

.note {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.45rem;
  font-weight: 600;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.rounded-media {
  border-radius: var(--radius);
  object-fit: cover;
  width: 100%;
}

/* ——— Frontpage ——— */
.front {
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  background: var(--cream);
  overflow: hidden;
}

.front-photo {
  position: relative;
  overflow: hidden;
  min-height: 0;
  height: 100%;
}

.front-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  animation: fade-rise 0.9s var(--ease) both;
}

.front-panel {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  overflow: auto;
  animation: fade-rise 0.9s 0.12s var(--ease) both;
}

.brand-bar {
  background: var(--yellow);
  text-align: center;
  padding: 1.1rem 1.5rem;
}

.brand-bar h1 {
  margin: 0;
  color: var(--black);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: 0.12em;
  font-weight: 800;
}

.front-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.25rem, 3.5vh, 3.5rem) clamp(1.5rem, 4vw, 3.75rem);
  background: var(--white);
  min-height: 0;
}

.front-content .eyebrow {
  margin-bottom: 0.85rem;
}

.front-content h2 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  color: var(--black);
  max-width: 12ch;
  position: relative;
}

.front-content h2 .leaf {
  position: absolute;
  right: -2.4rem;
  top: 0.35rem;
  width: 1.7rem;
  height: 2.2rem;
  background: var(--green);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  transform: rotate(25deg);
}

.front-lead {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
  max-width: 34ch;
}

.front-body {
  color: var(--muted);
  max-width: 42ch;
}

.front-close {
  font-weight: 600;
  margin-top: 0.25rem;
  margin-bottom: 1.75rem;
}

.front-content .btn {
  align-self: flex-start;
}

/* ——— Landing shared ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(248, 244, 236, 0.88);
  border-bottom: 1px solid rgba(34, 89, 62, 0.08);
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.logo-word {
  font-weight: 800;
  letter-spacing: 0.1em;
  font-size: 0.95rem;
  color: var(--green);
}

.site-header nav {
  display: flex;
  gap: 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--muted);
}

.site-header nav a:hover {
  color: var(--green);
}

/* Hero problem */
.hero-problem {
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 2rem;
}

.hero-problem-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.hero-problem h1,
.hero-problem .hero-title {
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  max-width: 16ch;
  color: var(--green);
  margin: 0 0 0.75rem;
  line-height: 1.15;
  font-weight: 700;
}

.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero-aside img {
  aspect-ratio: 16 / 11;
}

.callout {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow);
  text-align: center;
  font-weight: 700;
  color: var(--green);
}

.callout-yellow {
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 8px 22px rgba(255, 193, 7, 0.28);
}

/* Process */
.process {
  padding: 3rem 0 2.5rem;
  text-align: center;
}

.process h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.process .sub {
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 0.75rem 1rem;
  align-items: start;
  text-align: center;
}

.step img {
  width: 110px;
  height: 110px;
  margin: 0 auto 0.85rem;
}

.step h3 {
  letter-spacing: 0.08em;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.step .step-lead {
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.step p {
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 28ch;
  margin-inline: auto;
}

.step-arrow {
  align-self: center;
  width: 42px;
  height: 18px;
  margin-top: -4rem;
  background: var(--yellow);
  clip-path: polygon(0 20%, 70% 20%, 70% 0, 100% 50%, 70% 100%, 70% 80%, 0 80%);
}

.process .btn {
  margin-top: 2.5rem;
}

/* About Ellen */
.about {
  padding: 3rem 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.about-grid img {
  aspect-ratio: 3 / 4;
  object-position: center top;
}

.about h2 {
  font-size: clamp(1.8rem, 3vw, 2.35rem);
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.35rem 0 1.5rem;
}

.pill {
  border: 1.5px solid var(--green);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green);
  background: var(--white);
}

/* Aloe */
.aloe {
  padding: 3.5rem 0;
  background: var(--cream-deep);
}

.aloe-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.aloe h2 {
  font-size: clamp(1.8rem, 3vw, 2.35rem);
}

/* Forever */
.forever {
  padding: 0 0 3rem;
  background: var(--cream-deep);
}

.forever-card {
  background: #fff6d6;
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}

.forever-card img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.forever-card .btn {
  margin-top: 1rem;
}

/* Starter Swap */
.starter {
  padding: 3.5rem 0 2rem;
}

.starter-head {
  text-align: center;
  margin-bottom: 2rem;
}

.starter-head h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
}

.starter-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  margin-bottom: 2rem;
}

.starter-grid h3 {
  font-size: 1.2rem;
  color: var(--ink);
}

.product-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0 3rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.product-card h3 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.product-card .tagline {
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.product-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.extras {
  text-align: center;
  margin-bottom: 2.5rem;
}

.extras h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.1rem);
  margin-bottom: 1.5rem;
}

.extra-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: left;
}

.extra-card {
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  border: 1px solid var(--line);
}

.extra-card:nth-child(1) {
  background: #eef6ef;
}

.extra-card:nth-child(2) {
  background: #fff8e0;
}

.extra-card:nth-child(3) {
  background: #eef4f8;
}

.extra-card h3 {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.55rem;
}

.extra-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.price-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.35rem, 3vw, 2rem);
  box-shadow: var(--shadow);
  max-width: 820px;
  margin: 0 auto;
}

.price-card h3 {
  font-size: 1.35rem;
}

.price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
  margin: 0.65rem 0 0.15rem;
}

.shipping {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.price-card .btn {
  width: 100%;
  margin-bottom: 0.75rem;
}

/* Quote */
.quote {
  padding: 2.5rem 0 3rem;
}

.quote blockquote {
  margin: 0;
  max-width: 46rem;
  position: relative;
  padding-left: 1.75rem;
}

.quote blockquote::before {
  content: "“";
  position: absolute;
  left: -0.15rem;
  top: -0.55rem;
  font-size: 4rem;
  line-height: 1;
  color: var(--yellow);
  font-family: Georgia, serif;
}

.quote p {
  font-size: 1.1rem;
  color: var(--muted);
}

.quote cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-weight: 700;
  color: var(--green);
}

/* Discover */
.discover {
  padding: 1rem 0 3.5rem;
  text-align: center;
}

.discover h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.discover > .container > p {
  max-width: 42rem;
  margin: 0.5rem auto 2rem;
  color: var(--muted);
}

.discover-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  text-align: left;
}

.discover-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.3s var(--ease);
}

.discover-card:hover {
  transform: translateY(-4px);
}

.discover-card h3 {
  text-align: center;
  letter-spacing: 0.06em;
  font-size: 1rem;
}

.discover-card img {
  aspect-ratio: 16 / 11;
}

.discover-card p {
  font-size: 0.92rem;
  color: var(--muted);
  flex: 1;
  margin: 0;
}

.discover-card .btn {
  width: 100%;
  font-size: 0.8rem;
  padding: 0.75rem 1rem;
}

/* Final CTA */
.final-cta {
  padding: 2rem 0 4rem;
}

.final-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.final-grid img {
  aspect-ratio: 3 / 4;
  object-position: center top;
}

.final-copy {
  text-align: center;
}

.final-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.final-box {
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  text-align: left;
  display: inline-block;
  margin: 1.25rem 0;
  box-shadow: var(--shadow);
}

.final-copy .btn {
  margin: 0.5rem 0 0.85rem;
}

.guarantee {
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.25rem;
}

.fine {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Footer */
.footer-brand {
  background: var(--green);
  color: var(--white);
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.footer-brand .name {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 0.65rem;
}

.footer-brand p {
  margin: 0;
  opacity: 0.95;
}

.footer-main {
  background: var(--black);
  color: var(--white);
  padding: 2.75rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 2rem;
  align-items: start;
}

.footer-main h3 {
  color: var(--yellow);
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

.footer-main a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
  color: rgba(255, 255, 255, 0.9);
}

.footer-main a:hover {
  color: var(--yellow);
}

.footer-logo {
  width: min(160px, 28vw);
  justify-self: end;
  align-self: end;
}

/* Motion */
@keyframes fade-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Responsive */
@media (max-width: 960px) {
  .front {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(38vh, 42dvh) minmax(0, 1fr);
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
  }

  .front-photo {
    height: 100%;
    min-height: 0;
    max-height: none;
  }

  .front-panel {
    overflow: auto;
  }

  .hero-problem-grid,
  .about-grid,
  .aloe-grid,
  .forever-card,
  .starter-grid,
  .price-card,
  .final-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .step-arrow {
    width: 18px;
    height: 42px;
    margin: 0 auto;
    clip-path: polygon(20% 0, 80% 0, 80% 70%, 100% 70%, 50% 100%, 0 70%, 20% 70%);
  }

  .product-cards,
  .extra-cards,
  .discover-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-logo {
    justify-self: start;
  }

  .front-content h2 .leaf {
    right: -0.2rem;
  }
}

@media (max-width: 640px) {
  .pill-row {
    flex-direction: column;
  }

  .site-header nav {
    gap: 0.85rem;
    font-size: 0.82rem;
  }
}

/* Video modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

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

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.72);
  cursor: pointer;
}

.video-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 920px);
  background: var(--black);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  animation: fade-rise 0.28s var(--ease) both;
}

.video-modal__dialog video {
  display: block;
  width: 100%;
  max-height: min(80vh, 520px);
  background: #000;
}

.video-modal__close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  z-index: 2;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.video-modal__close:hover {
  background: rgba(0, 0, 0, 0.8);
}

body.modal-open {
  overflow: hidden;
}
