/* Mopli site. One file, no build step. Light only. */

@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --lime: #B5E541;
  --paper: #F7F7F2;
  --black: #0B0F0A;
  --green: #44551F;
  --white: #FFFFFF;
  --line: #E4E6DA;
  --radius: 32px;
  --gutter: 20px;
  --wide: 1080px;
  --text: 720px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--green);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

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

a { color: var(--black); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { text-decoration-color: var(--lime); }
a:focus-visible, .skip:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 800;
  color: var(--black);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0 0 1em; }

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

.skip { position: absolute; left: -9999px; top: 8px; background: var(--black); color: var(--lime); padding: 10px 16px; border-radius: 999px; z-index: 10; }
.skip:focus { left: 8px; }

/* Header */
.top { padding: 18px 0; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--black); font-family: "Fraunces", Georgia, serif; font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.brand img { width: 40px; height: 40px; border-radius: 11px; }
.soon-tag { font-size: 13px; font-weight: 600; color: var(--green); background: var(--white); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; white-space: nowrap; }
.top nav a { font-size: 15px; font-weight: 600; text-decoration: none; padding: 8px 4px; }
.top nav a:hover { text-decoration: underline; }

/* Hero */
.hero { padding: 20px 0 56px; }
.hero .wrap { display: grid; gap: 28px; }
.hero h1 { font-size: clamp(2.75rem, 12.5vw, 5.5rem); line-height: 0.98; }
.hero h1 span { display: block; }
.lede { font-size: clamp(1.06rem, 2.4vw, 1.25rem); max-width: 30em; margin: 18px 0 26px; }

.store { display: inline-flex; align-items: center; gap: 14px; background: var(--black); color: var(--lime); border-radius: 999px; padding: 14px 26px 14px 22px; cursor: default; user-select: none; }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.2; }
.store strong { display: block; font-size: 19px; font-weight: 700; line-height: 1.25; }
.store-note { font-size: 14px; margin: 12px 0 0; }

.hero-art { position: relative; background: var(--white); border-radius: var(--radius); padding: 28px 20px 0; overflow: hidden; display: flex; justify-content: center; align-items: flex-end; min-height: 320px; }
.hero-art::before { content: ""; position: absolute; left: 50%; bottom: -46%; width: 130%; aspect-ratio: 1; transform: translateX(-50%); background: var(--lime); border-radius: 50%; }
.hero-art img { position: relative; width: min(64%, 300px); margin-bottom: 18px; }
.chip { position: absolute; z-index: 1; background: var(--black); color: var(--lime); font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
.chip.light { background: var(--paper); color: var(--black); border: 1px solid var(--line); }
.chip.a { top: 22px; left: 18px; }
.chip.b { top: 74px; right: 16px; }

/* Features */
.features { padding: 8px 0 24px; }
.features h2 { font-size: clamp(1.9rem, 6.5vw, 3rem); margin-bottom: 24px; }
.cards { display: grid; gap: 16px; list-style: none; margin: 0; padding: 0; }
.card { background: var(--white); border-radius: var(--radius); padding: 28px 26px 26px; }
.card .num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: var(--black); font-family: "Fraunces", Georgia, serif; font-weight: 800; font-size: 20px; margin-bottom: 18px; }
.card h3 { font-size: 1.6rem; margin-bottom: 10px; }
.card p { margin: 0; }

.band { background: var(--black); color: var(--paper); border-radius: var(--radius); padding: 40px 26px; margin: 16px 0 0; }
.band h2 { color: var(--lime); font-size: clamp(2rem, 8vw, 3.4rem); margin-bottom: 14px; }
.band p { margin: 0; max-width: 34em; font-size: 1.06rem; color: #E9EBDD; }

.closing { text-align: center; padding: 64px 0 24px; }
.closing h2 { font-size: clamp(1.9rem, 6.5vw, 3rem); margin-bottom: 22px; }

/* Footer */
.foot { padding: 48px 0 40px; font-size: 15px; }
.foot .wrap { display: grid; gap: 14px; border-top: 1px solid var(--line); padding-top: 28px; }
.foot ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; }
.foot a { font-weight: 600; text-decoration: none; display: inline-block; padding: 6px 0; }
.foot a:hover { text-decoration: underline; }
.foot p { margin: 0; }

/* Text pages */
.page { padding: 12px 0 32px; }
.sheet { background: var(--white); border-radius: var(--radius); padding: 32px 22px; max-width: calc(var(--text) + 112px); margin: 0 auto; }
.sheet h1 { font-size: clamp(2.2rem, 9vw, 3.4rem); margin-bottom: 10px; }
.sheet .meta { font-size: 14px; margin-bottom: 26px; }
.sheet .meta a { font-weight: 600; }
.sheet h2 { font-size: 1.5rem; margin: 40px 0 12px; line-height: 1.15; }
.sheet h3 { font-family: "Inter", system-ui, sans-serif; font-weight: 700; font-size: 1.02rem; letter-spacing: 0; line-height: 1.4; margin: 22px 0 6px; }
.sheet ul { margin: 0 0 1em; padding-left: 1.2em; }
.sheet li { margin-bottom: 0.4em; }
.sheet li::marker { color: var(--black); }
.sheet address { font-style: normal; margin: 0 0 1em; }
.sheet strong { color: var(--black); }
.short { background: var(--paper); border-radius: 22px; padding: 20px 20px 6px; margin: 0 0 8px; }
.short h2 { margin-top: 0; font-size: 1.25rem; }
.note { background: var(--paper); border-radius: 18px; padding: 14px 18px; font-size: 15px; }
.table { width: 100%; border-collapse: collapse; margin: 0 0 1em; font-size: 15px; }
.table th, .table td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
.table th { color: var(--black); font-weight: 700; }
.scroll { overflow-x: auto; }

.mail { display: inline-block; background: var(--black); color: var(--lime); font-weight: 700; text-decoration: none; padding: 14px 24px; border-radius: 999px; margin: 6px 0 8px; }
.mail:hover { text-decoration: underline; }

details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; color: var(--black); padding: 16px 28px 16px 0; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 2px; top: 12px; font-size: 24px; font-weight: 500; line-height: 1.2; }
details[open] summary::after { content: "\2013"; }
details > *:not(summary) { margin-top: 0; }
details > p:last-child, details > ul:last-child { margin-bottom: 18px; }

@media (min-width: 700px) {
  :root { --gutter: 32px; }
  .cards { grid-template-columns: 1fr 1fr; gap: 20px; }
  .card { padding: 34px 32px 32px; }
  .band { padding: 56px 48px; margin-top: 20px; }
  .sheet { padding: 56px; }
  .foot .wrap { grid-template-columns: 1fr auto; align-items: center; }
  .foot .legal { grid-column: 1 / -1; }
}

@media (min-width: 920px) {
  .hero { padding: 36px 0 88px; }
  .hero .wrap { grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 48px; }
  .hero-art { min-height: 520px; padding-top: 48px; }
  .hero-art img { width: min(62%, 320px); margin-bottom: 26px; }
  .chip { font-size: 15px; padding: 10px 18px; }
  .chip.a { top: 36px; left: 32px; }
  .chip.b { top: 104px; right: 28px; }
  .features { padding-bottom: 40px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media print {
  body { background: #fff; }
  .top nav, .foot ul, .skip { display: none; }
  .sheet { padding: 0; }
}
