/* Memvela onepager. Static, geen framework. */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("/fonts/cormorant-600.woff2") format("woff2");
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/cormorant-600-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/inter-400.woff2") format("woff2");
}

:root {
  --cream: #F9F5F0;
  --cream-dim: #F1E9DF;
  --brown: #2B1511;
  --brown-soft: #4A2E27;
  --amber: #E8A857;
  --amber-deep: #C97F2E;
  --amber-text: #8F5212;
  --ink: #2B1511;
  --ink-muted: #5C4A45;
  --white: #FFFFFF;
  --line: rgba(43, 21, 17, 0.12);
  --shadow: 0 24px 48px -24px rgba(43, 21, 17, 0.4);
  --radius: 18px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max: 1180px;
  --tap: 48px;
}

* { box-sizing: border-box; min-width: 0; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

::selection { background: rgba(232, 168, 87, 0.45); color: var(--brown); }

html, body { max-width: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--brown);
  line-height: 1.15;
  text-wrap: balance;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.22rem; }

p { margin: 0 0 1em; color: var(--ink-muted); overflow-wrap: anywhere; }

a { color: var(--amber-text); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--amber-deep);
  outline-offset: 3px;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

section { padding: 88px 0; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brown);
  color: var(--cream);
  padding: 12px 18px;
  border-radius: 0 0 8px 0;
  z-index: 400;
}
.skip-link:focus { left: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 245, 240, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--brown);
  text-decoration: none;
  padding: 8px 0;
  min-height: var(--tap);
}
.logo img { width: 30px; height: 30px; }
.main-nav { display: flex; align-items: center; gap: 8px; }
.nav-links { display: flex; gap: 4px; }
.nav-links a {
  color: var(--brown-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 12px;
  min-height: var(--tap);
  display: inline-flex;
  align-items: center;
}
.nav-links a:hover { color: var(--amber-text); }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .main-nav .btn { display: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--tap);
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  font-family: var(--sans);
}
.btn-primary {
  background: var(--amber);
  color: var(--brown);
  box-shadow: var(--shadow);
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--brown);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--amber-deep); color: var(--amber-text); }
.btn-sm { padding: 10px 20px; font-size: 0.92rem; }
.btn-block { width: 100%; }

.hero {
  position: relative;
  padding: 64px 0 56px;
  overflow: hidden;
  background:
    radial-gradient(55% 48% at 82% 12%, rgba(232, 168, 87, 0.34), transparent 68%),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-dim) 100%);
}
.glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 84% 10%, rgba(232, 168, 87, 0.4), transparent 52%);
  animation: flicker 7s ease-in-out infinite;
}
@keyframes flicker {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 168, 87, 0.2);
  color: var(--amber-text);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
}
.hero p.lede { font-size: 1.16rem; color: var(--brown-soft); max-width: 38rem; }
.hero .proof-line {
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin-top: 22px;
}
.hero .proof-line strong { color: var(--brown); }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
  margin: 28px 0 18px;
}
@media (max-width: 400px) {
  .cta-row { flex-direction: column; align-items: stretch; gap: 12px; }
}
.cta-row .secondary-link {
  font-weight: 600;
  text-underline-offset: 4px;
  min-height: var(--tap);
  padding: 12px 4px;
  display: inline-flex;
  align-items: center;
}

.hero-visual { position: relative; }
.device-frame {
  background: var(--brown);
  border-radius: 22px;
  padding: 14px 14px 18px;
  box-shadow: var(--shadow);
  position: relative;
}
.device-frame.light-frame {
  background: var(--cream);
  border: 1px solid var(--line);
}
.device-frame.light-frame::before {
  background: rgba(43, 21, 17, 0.18);
}
.device-frame::before {
  content: "";
  display: block;
  width: 56px;
  height: 5px;
  background: rgba(249, 245, 240, 0.28);
  border-radius: 999px;
  margin: 0 auto 12px;
}
.device-frame img,
.device-frame picture img {
  border-radius: 10px;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center top;
  background: var(--cream);
}
.device-caption {
  text-align: center;
  color: var(--ink-muted);
  font-size: 0.72rem;
  line-height: 1.45;
  letter-spacing: 0.01em;
  max-width: 28rem;
  margin: 10px auto 0;
}
.strip-float {
  position: absolute;
  right: 0;
  bottom: -28px;
  width: min(34%, 150px);
  filter: drop-shadow(0 18px 24px rgba(43, 21, 17, 0.28));
  pointer-events: none;
  transform: rotate(6deg);
}
@media (max-width: 360px) {
  .strip-float { display: none; }
}

.bleed-well {
  background: var(--brown);
}
.bleed-well.in-copy {
  margin: 24px 0;
  border-radius: 16px;
  overflow: hidden;
}
.bleed-shot {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center top;
  background: var(--cream);
}
.partner { background: var(--brown); color: var(--cream); }
.partner h2 { color: var(--cream); }
.partner p { color: #F1E9DF; }

.split-media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.media-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: var(--brown);
  padding: 16px;
  border-radius: 20px;
  order: -1;
}
.media-stack .light-shot:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}
.light-shot {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center top;
  border-radius: 14px;
  background: var(--cream);
  box-shadow: var(--shadow);
}
.strip-shot {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: var(--cream);
  border-radius: 12px;
  justify-self: stretch;
  box-shadow: var(--shadow);
}
.strip-shot.tall { width: min(100%, 320px); }
.real-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}
.real-shots figure { margin: 0; }
.real-shots img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
  background: var(--brown);
}
.real-shots figcaption {
  font-size: 0.78rem;
  color: var(--ink-muted);
  margin-top: 6px;
}
.feature-grid.compact {
  grid-template-columns: 1fr 1fr;
  margin-top: 24px;
}
.objection-grid.two { grid-template-columns: 1fr 1fr; }
.objections .copy h2,
.objections .copy .showcase-heading { color: var(--cream); }
.objections details.faq-item { background: rgba(249, 245, 240, 0.08); border-color: rgba(249, 245, 240, 0.18); }
.objections details.faq-item summary { color: var(--cream); }
.objections details.faq-item p { color: #F1E9DF; }
.compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.foot-mail {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 12px 0;
}
@media (max-width: 860px) {
  .split-media { grid-template-columns: 1fr; }
  .media-stack { order: -1; }
  .light-shot { aspect-ratio: 4 / 3; }
  .real-shots { grid-template-columns: 1fr; }
}

.shot-frame {
  background: var(--brown);
  border-radius: 14px;
  padding: 8px;
}
.shot-frame img {
  border-radius: 8px;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center top;
  background: var(--cream-dim);
}
.shot-frame img[src$=".svg"] {
  aspect-ratio: 4 / 5;
  object-fit: contain;
  background: var(--cream);
}

.steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 48px;
}
.step {
  background: var(--brown);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 16px;
  border: 0;
}
.step h3 { color: var(--cream); }
.step p { color: #F1E9DF; }
.step .light-shot,
.step .strip-shot { margin-bottom: 14px; }
.step .strip-shot { width: 100%; }
.step .light-shot,
.step .strip-shot {
  background-color: var(--brown);
  padding: 8px;
  border-radius: 12px;
  box-sizing: border-box;
}
.step .num {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--brown);
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; font-size: 0.94rem; }

@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

.features-section { background: var(--cream-dim); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 22px;
  border: 1px solid var(--line);
}
.feature .icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(232, 168, 87, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--amber-text);
}
.feature .icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.05rem; margin-bottom: 6px; }
.feature p { font-size: 0.92rem; margin: 0; }

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

.showcase-heading { margin-top: 56px; }
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}
.showcase figure {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.showcase figcaption {
  padding: 14px 18px;
  font-size: 0.88rem;
  color: var(--ink-muted);
  border-top: 1px solid var(--line);
}
@media (max-width: 760px) { .showcase { grid-template-columns: 1fr; } }

.objections { background: var(--brown); color: var(--cream); }
.objections h2 { color: var(--cream); }
.section-shot { margin-bottom: 32px; }
.objection-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 36px;
}
.objection {
  background: rgba(249, 245, 240, 0.08);
  border: 1px solid rgba(249, 245, 240, 0.18);
  border-radius: var(--radius);
  padding: 22px;
}
.objection h3 { color: var(--amber); font-size: 1.05rem; }
.objection p { color: #F1E9DF; font-size: 0.92rem; margin: 0; }
@media (max-width: 980px) { .objection-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .objection-grid { grid-template-columns: 1fr; } }

.plan-hero {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
}
.plan-strip-mock {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: var(--shadow);
  justify-self: end;
}
@media (max-width: 700px) {
  .plan-hero { grid-template-columns: 1fr; }
  .plan-strip-mock { justify-self: center; max-width: 200px; }
}
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 40px;
}
.plan {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.plan.featured {
  border-color: var(--amber);
  box-shadow: var(--shadow);
}
.plan .badge {
  align-self: flex-start;
  background: rgba(232, 168, 87, 0.2);
  color: var(--amber-text);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.plan h3 { font-size: 1.35rem; }
.plan .outcome { font-size: 0.95rem; margin-bottom: 16px; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 0; flex-grow: 1; }
.plan li {
  padding: 8px 0 8px 22px;
  position: relative;
  font-size: 0.92rem;
  color: var(--brown-soft);
  border-top: 1px solid var(--line);
}
.plan li:first-child { border-top: none; }
.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 8px;
  height: 4px;
  border-left: 2px solid var(--amber-text);
  border-bottom: 2px solid var(--amber-text);
  transform: rotate(-45deg);
}
@media (max-width: 980px) {
  .plan-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
}

.compare-wrap {
  margin-top: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table.compare {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  background: var(--white);
}
table.compare th,
table.compare td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
  overflow-wrap: anywhere;
}
table.compare th {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--brown);
  background: var(--cream-dim);
}
table.compare tr:last-child td { border-bottom: none; }
.compare-source { font-size: 0.8rem; color: var(--ink-muted); margin-top: 10px; }

@media (max-width: 600px) {
  table.compare,
  table.compare thead,
  table.compare tbody,
  table.compare tr,
  table.compare th,
  table.compare td { display: block; width: 100%; }
  table.compare thead { display: none; }
  table.compare tr { border-bottom: 8px solid var(--cream-dim); }
  table.compare td,
  table.compare th[scope="row"] { padding: 8px 20px; }
  table.compare th[scope="row"] { padding-top: 16px; font-size: 1rem; }
  table.compare td::before {
    content: attr(data-label);
    display: block;
    font-weight: 700;
    color: var(--brown);
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    margin-bottom: 2px;
  }
}

.faq-section { background: var(--cream-dim); }
.faq-list { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }
details.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 22px;
}
details.faq-item summary {
  cursor: pointer;
  padding: 16px 0;
  min-height: var(--tap);
  font-weight: 600;
  color: var(--brown);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background:
    linear-gradient(var(--amber-text), var(--amber-text)) center / 14px 2px no-repeat,
    linear-gradient(var(--amber-text), var(--amber-text)) center / 2px 14px no-repeat;
}
details.faq-item[open] summary::after {
  background: linear-gradient(var(--amber-text), var(--amber-text)) center / 14px 2px no-repeat;
}
details.faq-item p { padding-bottom: 18px; margin: 0; }

.lead-section .lead-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}
.lead-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
label { font-size: 0.88rem; font-weight: 700; color: var(--brown); }
input, select, textarea {
  font-family: var(--sans);
  font-size: 16px;
  min-height: var(--tap);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
  color: var(--ink);
}
textarea { resize: vertical; min-height: 100px; }
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.mailto-alt { font-size: 0.88rem; color: var(--ink-muted); }
.form-msg {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.92rem;
  display: none;
}
.form-msg.show { display: block; }
.form-msg.ok { background: #E7F0E4; color: #215226; }
.form-msg.err { background: #F6E4E1; color: #7A2A22; }
.lead-visual .shot-frame { margin-bottom: 18px; }
.lead-visual .plan-strip-mock { max-width: 180px; margin: 0 auto; }
@media (max-width: 860px) {
  .lead-section .lead-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

footer.site-footer {
  background: var(--brown);
  color: #F1E9DF;
  padding: 48px 0 100px;
}
footer.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}
footer.site-footer a { color: var(--cream); }
footer.site-footer .foot-logo {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--cream);
}

.sticky-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100%;
  z-index: 150;
  background: var(--cream);
  border-top: 1px solid var(--line);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -10px 30px -12px rgba(43, 21, 17, 0.25);
}
@media (max-width: 760px) {
  .bleed-shot { aspect-ratio: 1 / 1; }
  .media-stack { grid-template-columns: 1fr; }
  .media-stack > :first-child {
    grid-column: 1 / -1;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }
  .sticky-cta { display: block; }
  section { padding: 64px 0; }
  .hero { padding-bottom: 120px; }
  footer.site-footer { padding-bottom: 120px; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .strip-float { width: 96px; right: 0; bottom: -12px; }
}
