/* Landing page matchadating.com. Token warna diambil dari tema aplikasi Flutter
   (lib/utils/theme.dart: krem #FFF4E8, hijau matcha #91ED91, aksen "vintage") dan
   dari ikon aplikasi (raspberry #D30051), supaya situs dan aplikasi terlihat satu merek.
   Tanpa framework dan tanpa CDN: satu file, tidak ada langkah build. */

@font-face { font-family: "Fredoka"; font-weight: 600; font-display: swap;
  src: url("/fonts/fredoka-semibold.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 400; font-display: swap;
  src: url("/fonts/nunitosans-regular.woff2") format("woff2"); }
@font-face { font-family: "Nunito Sans"; font-weight: 700; font-display: swap;
  src: url("/fonts/nunitosans-bold.woff2") format("woff2"); }

:root {
  --cream: #fff4e8;
  --ink: #101010;
  --ink-soft: #4a4540;
  --matcha: #91ed91;
  --matcha-soft: #daf7a6;
  --raspberry: #d30051;
  --yellow: #f4d839;
  --pink: #ffb3ef;
  --blue: #88ceeb;
  --line: 2px solid var(--ink);
  --display: "Fredoka", "Nunito Sans", system-ui, sans-serif;
  --body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--body);
  font-size: 1.0625rem; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--raspberry); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--raspberry); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 4.2vw + 1.2rem, 4.75rem); }
h2 { font-size: clamp(1.9rem, 2vw + 1.2rem, 2.75rem); }
h3 { font-size: 1.35rem; line-height: 1.2; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--cream); padding: .6rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; top: 1rem; }

/* Tombol: border hitam + bayangan tegas, sama seperti tombol di aplikasi. */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.25rem;
  background: var(--matcha); color: var(--ink); font-weight: 700; text-decoration: none;
  border: var(--line); border-radius: 8px; box-shadow: 3px 3px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease; }
.btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); text-decoration: none; }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.store-badge { display: inline-block; border-radius: 10px; }
.store-badge img { width: 200px; }

/* Header */
.site-header { border-bottom: var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; padding-block: .9rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none;
  font-family: var(--display); font-weight: 600; font-size: 1.6rem; margin-right: auto; }
.brand img { width: 40px; height: 40px; border: var(--line); border-radius: 10px; }
.site-nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.site-nav a { color: var(--ink); text-decoration: none; font-weight: 700; }
.site-nav a:hover { color: var(--raspberry); }
@media (max-width: 47.99rem) {
  .site-nav { order: 3; width: 100%; font-size: .95rem; }
}

/* Hero */
.hero { padding-block: clamp(2.5rem, 7vw, 5.5rem); }
.hero .wrap { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 60rem) { .hero .wrap { grid-template-columns: 1.15fr .85fr; } }
.hero-copy { display: grid; gap: 1.5rem; justify-items: start; }
.hero-copy .lead { font-size: clamp(1.1rem, .5vw + 1rem, 1.3rem); color: var(--ink-soft); max-width: 34rem; }
.hero-copy .note { font-size: .95rem; color: var(--ink-soft); }

/* Ilustrasi hero: ikon aplikasi di tengah lingkaran "radar" Love Alarm, dengan
   minat (interest) yang benar-benar ada di aplikasi. Satu-satunya animasi di halaman. */
.radar { position: relative; width: min(100%, 26rem); aspect-ratio: 1; margin-inline: auto; }
.radar .ring { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 2px solid var(--ink); }
.radar .r1 { width: 100%; height: 100%; opacity: .14; }
.radar .r2 { width: 72%; height: 72%; opacity: .22; }
.radar .r3 { width: 46%; height: 46%; background: var(--matcha-soft); opacity: 1; }
.radar .ping { width: 46%; height: 46%; border-color: var(--raspberry); animation: ping 3.2s ease-out infinite; }
.radar .mark { position: absolute; inset: 0; margin: auto; width: 30%; height: 30%;
  border: 3px solid var(--ink); border-radius: 22%; box-shadow: 5px 5px 0 var(--ink); }
.chip { position: absolute; padding: .3rem .8rem; border: var(--line); border-radius: 999px;
  font-weight: 700; font-size: .9rem; white-space: nowrap; box-shadow: 2px 2px 0 var(--ink); }
.chip.c1 { top: 8%; left: 6%; background: var(--yellow); }
.chip.c2 { top: 20%; right: 0; background: var(--pink); }
.chip.c3 { bottom: 16%; left: 0; background: var(--blue); }
.chip.c4 { bottom: 5%; right: 12%; background: var(--matcha); }
@keyframes ping { from { transform: scale(1); opacity: .9; } to { transform: scale(2.15); opacity: 0; } }

/* Section */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); border-top: var(--line); }
.section-head { display: grid; gap: .75rem; max-width: 40rem; margin-bottom: 2.5rem; }
.section-head p { color: var(--ink-soft); }
.band { background: var(--matcha-soft); }

.ways { display: grid; gap: 1.5rem; }
@media (min-width: 56rem) { .ways { grid-template-columns: repeat(3, 1fr); } }
.way { display: grid; align-content: start; gap: .75rem; padding: 1.75rem; border: var(--line);
  border-radius: 12px; box-shadow: 5px 5px 0 var(--ink); }
.way.yellow { background: var(--yellow); }
.way.pink { background: var(--pink); }
.way.blue { background: var(--blue); }
.way .fact { font-weight: 700; font-size: .95rem; padding-top: .75rem; border-top: 1.5px solid var(--ink); }

.split { display: grid; gap: 2.5rem; }
@media (min-width: 56rem) { .split { grid-template-columns: 1fr 1fr; align-items: start; } }
.split .text { display: grid; gap: 1rem; }
.split .text p { color: var(--ink-soft); }
.box { border: var(--line); border-radius: 12px; padding: 1.75rem; background: #fff; display: grid; gap: 1rem; }
.box .small { font-size: .95rem; color: var(--ink-soft); }

.ticks { display: grid; gap: .6rem; }
.ticks li { position: relative; padding-left: 1.9rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.1rem; height: 1.1rem;
  border: var(--line); border-radius: 4px; background: var(--matcha); }
.crosses li::before { background: var(--raspberry); }

.facts { display: grid; gap: 1.75rem 2.5rem; }
@media (min-width: 48rem) { .facts { grid-template-columns: 1fr 1fr; } }
.facts h3 { margin-bottom: .4rem; }
.facts p { color: var(--ink-soft); }
.after { margin-top: clamp(3rem, 6vw, 4.5rem); }

.narrow { max-width: 44rem; }
.stack { display: grid; gap: 1.75rem; }
.stack h3 { margin-bottom: .4rem; }
.stack > .section-head { margin-bottom: 0; }
.warning { background: var(--yellow); border: var(--line); border-radius: 8px; padding: 1rem 1.25rem; }
.meta { color: var(--ink-soft); font-size: .95rem; }

.cta { background: var(--matcha); }
.cta .wrap { display: grid; gap: 1.5rem; justify-items: start; }
@media (min-width: 56rem) { .cta .wrap { grid-template-columns: 1fr auto; align-items: center; } }

/* Footer */
.site-footer { background: var(--ink); color: var(--cream); padding-block: 3rem 2rem; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--matcha); text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 48rem) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer .brand { color: var(--cream); margin-bottom: .75rem; }
.site-footer .brand img { border-color: var(--cream); }
.site-footer h2 { font-size: 1.1rem; margin-bottom: .75rem; }
.site-footer ul { display: grid; gap: .4rem; }
.site-footer .muted { color: #c9c1b8; }
.copyright { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid #3a3531; font-size: .9rem; color: #c9c1b8; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .radar .ping { animation: none; opacity: 0; }
  .btn { transition: none; }
}
