/* LoméLove website: the app's "Lomé Sunset" look by day, "Midnight" at night
   (follows the visitor's system setting). Colours mirror
   lomelove/lib/core/theme/lome_tokens.dart. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/BricolageGrotesque-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/BricolageGrotesque-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/InstrumentSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/InstrumentSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/InstrumentSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --canvas: #ffffff;
  --card: #ffffff;
  --soft: #fff1e8;
  --raised: #fbe4d6;
  --line: #f0e4dc;
  --line-strong: #eadbd2;
  --ink: #1b1410;
  --muted: #5b4e47;
  --subtle: #6e625b;
  --accent: #d9361a;
  --on-accent: #ffffff;
  --brand: #ff5a2e;
  --brand-fill: #ff5a2e;
  --on-brand: #ffffff;
  --mango: #ffb800;
  --on-mango: #1b1410;
  --lagoon: #0e8c83;
  --lagoon-text: #0b6f68;
  --lagoon-soft: #e3f2f0;
  --warning: #b45309;
  --warning-soft: #fff4e0;
  --photo-a: #f7d3c1;
  --photo-b: #cfe6e2;
  --shadow: 0 10px 30px rgba(27, 20, 16, 0.12);
  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --gutter: 20px;
  --max: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #0c0b12;
    --card: #17151f;
    --soft: #221f2d;
    --raised: #2a2433;
    --line: #221f2d;
    --line-strong: #2e2a3b;
    --ink: #f5f3fa;
    --muted: #aba6ba;
    --subtle: #8e89a0;
    --accent: #ff5c8a;
    --on-accent: #0c0b12;
    --brand: #ff3d7f;
    --brand-fill: linear-gradient(135deg, #ff3d7f, #ff8a3d);
    --on-brand: #0c0b12;
    --mango: #ffb547;
    --on-mango: #0c0b12;
    --lagoon: #3dd6c6;
    --lagoon-text: #7fe6da;
    --lagoon-soft: #10302e;
    --warning: #ffb547;
    --warning-soft: #3a2a10;
    --photo-a: #2a2433;
    --photo-b: #1e3a38;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
}

p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: var(--gutter);
  top: 12px;
  z-index: 10;
  background: var(--card);
  padding: 8px 14px;
  border-radius: 999px;
}

/* ---------------------------------------------------------------- header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--canvas) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}

.logo::before {
  content: "";
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--brand-fill);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted);
}

.nav a:hover {
  background: var(--soft);
  color: var(--ink);
}

.nav .nav-wide {
  display: none;
}

@media (min-width: 720px) {
  .nav .nav-wide {
    display: inline-block;
  }
}

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: var(--body);
  font-weight: 700;
  font-size: 16.5px;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.12s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn svg {
  width: 20px;
  height: 20px;
  flex: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 30%, transparent);
}

@media (prefers-color-scheme: dark) {
  .btn-primary {
    background: var(--brand-fill);
    box-shadow: none;
  }
}

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

.btn-secondary {
  border-color: var(--ink);
  color: var(--ink);
}

@media (prefers-color-scheme: dark) {
  .btn-secondary {
    border-color: color-mix(in srgb, var(--ink) 35%, transparent);
  }
}

.btn[aria-disabled="true"] {
  cursor: default;
}

/* ------------------------------------------------------------------ hero */

.hero {
  padding: 40px 0 56px;
}

.hero .wrap {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero {
    padding: 72px 0 88px;
  }
  .hero .wrap {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--lagoon-text);
  background: var(--lagoon-soft);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(40px, 10.5vw, 72px);
}

.highlight {
  display: inline-block;
  background: var(--mango);
  color: var(--on-mango);
  border-radius: 12px;
  padding: 0 0.14em;
  transform: rotate(-2deg);
}

.hero .lead {
  margin-top: 18px;
  font-size: clamp(18px, 2.2vw, 21px);
  color: var(--muted);
  max-width: 34em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-actions .btn {
  flex: 1 1 220px;
}

@media (min-width: 560px) {
  .hero-actions .btn {
    flex: 0 0 auto;
  }
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 22px;
  font-size: 14.5px;
  color: var(--subtle);
}

.trust-line span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-line svg {
  width: 16px;
  height: 16px;
  color: var(--lagoon);
}

/* The welcome-screen picture: two tilted photo cards on the sunset block. */
.hero-art {
  position: relative;
  aspect-ratio: 342 / 330;
  width: 100%;
  max-width: 520px;
  justify-self: center;
  border-radius: var(--radius-xl);
  background: var(--brand-fill);
  overflow: hidden;
}

.photo {
  position: absolute;
  width: 44%;
  height: 54%;
  padding: 2%;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.photo span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 19px;
  overflow: hidden;
}

.photo svg {
  width: 100%;
  height: 100%;
}

.photo-a {
  left: 9%;
  top: 14%;
  transform: rotate(-7deg);
  animation: rise 0.6s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}

.photo-a span {
  background: var(--photo-a);
}

.photo-b {
  right: 8%;
  top: 26%;
  transform: rotate(6deg);
  animation: rise 0.6s 0.08s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}

.photo-b span {
  background: var(--photo-b);
}

.match-pill {
  position: absolute;
  left: 50%;
  top: 6%;
  transform: translateX(-42%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-weight: 700;
  font-size: clamp(12px, 2.6vw, 15px);
  white-space: nowrap;
  box-shadow: var(--shadow);
  animation: pop 0.4s 0.45s cubic-bezier(0.2, 1.5, 0.4, 1) both;
}

.match-pill svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.shapes {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 19%;
}

@keyframes rise {
  from {
    opacity: 0;
    translate: 0 18%;
  }
}

@keyframes pop {
  from {
    opacity: 0;
    scale: 0.6;
  }
}

/* -------------------------------------------------------------- sections */

.section {
  padding: 56px 0;
}

@media (min-width: 900px) {
  .section {
    padding: 88px 0;
  }
}

.section-soft {
  background: var(--soft);
}

.section h2 {
  font-size: clamp(30px, 6vw, 46px);
}

.section-intro {
  margin-top: 14px;
  color: var(--muted);
  font-size: 18px;
  max-width: 36em;
}

.steps {
  display: grid;
  gap: 16px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.steps li {
  counter-increment: step;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--lagoon-soft);
  color: var(--lagoon-text);
  font-family: var(--display);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 16px;
}

.steps h3,
.features h3 {
  font-size: 21px;
  margin-bottom: 8px;
}

.steps p,
.features p {
  color: var(--muted);
}

.features {
  display: grid;
  gap: 16px;
  margin-top: 36px;
}

@media (min-width: 640px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 980px) {
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.feature .icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--soft);
  color: var(--accent);
  margin-bottom: 16px;
}

.section-soft .feature .icon {
  background: var(--raised);
}

.feature .icon svg {
  width: 24px;
  height: 24px;
}

.callout {
  display: grid;
  gap: 20px;
  border-radius: var(--radius-xl);
  padding: 32px 24px;
  background: var(--ink);
  color: var(--canvas);
}

@media (prefers-color-scheme: dark) {
  .callout {
    background: var(--card);
    color: var(--ink);
    border: 1px solid var(--line-strong);
  }
}

@media (min-width: 900px) {
  .callout {
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
    padding: 48px;
  }
}

.callout h2 {
  font-size: clamp(28px, 5vw, 40px);
}

.callout p {
  margin-top: 12px;
  opacity: 0.85;
}

.callout .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.callout .actions .btn {
  flex: 1 1 220px;
}

.callout .btn-light {
  background: var(--canvas);
  color: var(--ink);
}

@media (prefers-color-scheme: dark) {
  .callout .btn-light {
    background: var(--brand-fill);
    color: var(--on-brand);
  }
}

.callout .btn-outline {
  border-color: color-mix(in srgb, currentColor 40%, transparent);
  color: inherit;
}

.price-note {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 20px;
  background: var(--lagoon-soft);
  color: var(--ink);
  font-size: 15.5px;
}

.price-note svg {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--lagoon);
  margin-top: 1px;
}

/* --------------------------------------------------------------- footer */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 44px;
  font-size: 15px;
  color: var(--muted);
}

.site-footer .wrap {
  display: grid;
  gap: 20px;
}

@media (min-width: 760px) {
  .site-footer .wrap {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
}

.footer-links a:hover {
  text-decoration: underline;
}

.site-footer small {
  display: block;
  margin-top: 8px;
}

/* ------------------------------------------------- text pages (legal, help) */

.page {
  padding: 40px 0 72px;
}

.page .wrap {
  max-width: 760px;
}

.page h1 {
  font-size: clamp(34px, 8vw, 52px);
  margin-bottom: 12px;
}

.page .page-lead {
  color: var(--muted);
  font-size: 18px;
}

.prose {
  margin-top: 28px;
}

.prose h2 {
  font-size: clamp(24px, 4.5vw, 30px);
  margin: 44px 0 12px;
  scroll-margin-top: 80px;
}

.prose h3 {
  font-size: 20px;
  margin: 28px 0 8px;
  scroll-margin-top: 80px;
}

.prose p,
.prose ul,
.prose ol {
  margin: 0 0 14px;
}

.prose ul,
.prose ol {
  padding-left: 1.3em;
}

.prose li {
  margin: 4px 0;
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 40px 0;
}

.prose strong {
  font-weight: 700;
}

.toc {
  margin-top: 28px;
  padding: 18px 22px;
  border-radius: 20px;
  background: var(--soft);
}

.toc strong {
  display: block;
  font-family: var(--display);
  font-size: 18px;
  margin-bottom: 8px;
}

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

@media (min-width: 640px) {
  .toc ul {
    columns: 2;
    column-gap: 32px;
  }
}

.toc li {
  margin: 0;
  padding: 3px 0;
  break-inside: avoid;
}

.toc a {
  text-decoration: none;
}

.toc a:hover {
  text-decoration: underline;
}

.lang-switch {
  margin-top: 14px;
  font-size: 15px;
}

.faq {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: var(--card);
  padding: 4px 20px;
}

.faq details[open] {
  padding-bottom: 16px;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  font-size: 17.5px;
  padding: 14px 28px 14px 0;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--accent);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details p + p,
.faq details p + ul,
.faq details ul + p {
  margin-top: 10px;
}

.faq details ul,
.faq details ol {
  margin: 8px 0 0;
  padding-left: 1.3em;
}

.box {
  margin-top: 24px;
  padding: 20px 22px;
  border-radius: 20px;
  background: var(--soft);
}

.box h2 {
  font-size: 22px;
  margin: 0 0 8px;
}

.box ol + p,
.box p + p {
  margin-top: 10px;
}

.box-warning {
  background: var(--warning-soft);
}

.steps-plain {
  margin: 12px 0 0;
  padding-left: 1.3em;
}

.steps-plain li {
  margin: 6px 0;
}

.contact-card {
  margin-top: 32px;
  display: grid;
  gap: 10px;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
}

.contact-card h2 {
  font-size: 24px;
}

.contact-card .btn {
  justify-self: start;
  margin-top: 6px;
}

.not-found {
  text-align: center;
  padding: 96px 0;
}

.not-found h1 {
  font-size: clamp(40px, 10vw, 64px);
}

.not-found p {
  margin: 14px auto 28px;
  color: var(--muted);
  max-width: 28em;
}
