@font-face {
  font-family: "MPlus";
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  src: url("/assets/fonts/mplus_rounded_extrabold.ttf") format("truetype");
}
@font-face {
  font-family: "MPlus";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("/assets/fonts/mplus_rounded_bold.ttf") format("truetype");
}
@font-face {
  font-family: "Figtree";
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  src: url("/assets/fonts/figtree.ttf") format("truetype");
}

:root {
  --bg: #0f1513;
  --bg-hi: #18211e;
  --deep: #0a0f0d;
  --surface: #171f1c;
  --surface2: #1f2926;
  --text: #eaf1ee;
  --text2: #9fb0a9;
  --text3: #6f8179;
  --accent: #3ddc97;
  --on-accent: #05150e;
  --accent-soft: rgba(61, 220, 151, 0.14);
  --line: rgba(255, 255, 255, 0.07);
  --head: "MPlus", "Figtree", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #7aeab9; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1.25rem; }
.skip { position: absolute; left: -999px; top: 0; background: var(--accent); color: var(--on-accent); padding: 0.75rem 1rem; z-index: 10; }
.skip:focus { left: 0; }

h1, h2, h3 { font-family: var(--head); line-height: 1.12; letter-spacing: -0.01em; }
h1 { font-weight: 800; font-size: clamp(2.4rem, 7.5vw, 4.1rem); }
h2 { font-weight: 800; font-size: clamp(1.75rem, 4.6vw, 2.6rem); }
h3 { font-weight: 700; font-size: 1.2rem; }
.mint { color: var(--accent); }
.eyebrow {
  display: inline-block;
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* header */
.site-header { border-bottom: 1px solid var(--line); background: rgba(15, 21, 19, 0.9); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 0.7rem; min-height: 44px; color: var(--text); text-decoration: none; font-family: var(--head); font-weight: 800; font-size: 1.25rem; }
.brand img { border-radius: 10px; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.5rem; color: var(--text2); text-decoration: none; font-weight: 600; }
.nav a:hover { color: var(--text); }

/* button */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 56px;
  padding: 0 1.6rem 0 1.3rem;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--head);
  font-weight: 800;
  font-size: 1.1rem;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(61, 220, 151, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { color: var(--on-accent); background: #5fe6ae; transform: translateY(-2px); box-shadow: 0 14px 36px rgba(61, 220, 151, 0.32); }
.btn svg { flex: none; }
.note { margin-top: 0.9rem; color: var(--text3); font-size: 0.95rem; }
.note strong { color: var(--text2); font-weight: 600; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 3rem 0 0; background: linear-gradient(170deg, var(--bg-hi) 0%, var(--bg) 55%, var(--deep) 100%); }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(234, 241, 238, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(234, 241, 238, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
  mask-image: linear-gradient(180deg, #000, transparent 85%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: 2.5rem; align-items: center; }
.hero-copy { text-align: center; }
.hero-copy p.lead { margin: 1.25rem auto 2rem; max-width: 34rem; color: var(--text2); font-size: 1.2rem; }
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art::before, .stage::before {
  content: "";
  position: absolute;
  width: 135%;
  aspect-ratio: 1;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(61, 220, 151, 0.22) 0%, rgba(61, 220, 151, 0.08) 38%, transparent 68%);
  pointer-events: none;
}
.phone {
  position: relative;
  width: min(100%, 280px);
  height: auto;
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 99%);
  mask-image: linear-gradient(180deg, #000 78%, transparent 99%);
}
.hero .phone { width: min(78vw, 300px); }
.ruler { height: 14px; background: repeating-linear-gradient(90deg, rgba(61, 220, 151, 0.5) 0 2px, transparent 2px 10px) top left / 100% 8px no-repeat, repeating-linear-gradient(90deg, rgba(61, 220, 151, 0.5) 0 2px, transparent 2px 50px) top left / 100% 14px no-repeat; opacity: 0.35; }

/* sections */
section { padding: 4.5rem 0; overflow-x: clip; }
.section-head { text-align: center; max-width: 40rem; margin: 0 auto 3rem; }
.section-head p { color: var(--text2); margin-top: 1rem; }

.feature { display: grid; gap: 2rem; align-items: center; padding: 2.5rem 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature .copy { text-align: center; }
.feature .num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-family: var(--head); font-weight: 800; margin-bottom: 1rem; }
.feature h3 { font-family: var(--head); font-weight: 800; font-size: clamp(1.5rem, 4vw, 2.1rem); margin-bottom: 0.9rem; }
.feature p { color: var(--text2); max-width: 30rem; margin: 0 auto; }
.feature ul { list-style: none; margin: 1.2rem auto 0; max-width: 30rem; text-align: left; }
.feature li { position: relative; padding-left: 1.6rem; color: var(--text2); margin-top: 0.5rem; }
.feature li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.7rem; height: 0.4rem; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.stage { position: relative; display: flex; justify-content: center; }

/* output row */
.row3 { display: grid; gap: 1rem; margin-top: 1rem; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 1.4rem; }
.card .ico { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 14px; background: var(--accent-soft); color: var(--accent); margin-bottom: 0.9rem; }
.card p { color: var(--text2); font-size: 0.98rem; margin-top: 0.35rem; }

/* private */
.private { background: linear-gradient(180deg, var(--bg) 0%, var(--deep) 100%); }
.private-box { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 2rem 1.4rem; text-align: center; position: relative; overflow: hidden; }
.private-box::before { content: ""; position: absolute; width: 500px; height: 500px; left: 50%; top: -250px; margin-left: -250px; background: radial-gradient(circle, rgba(61, 220, 151, 0.14), transparent 65%); pointer-events: none; }
.private-box > * { position: relative; }
.private-box .lead { color: var(--text2); max-width: 36rem; margin: 1rem auto 1.75rem; }
.pills { list-style: none; display: grid; gap: 0.75rem; max-width: 36rem; margin: 0 auto 1.75rem; text-align: left; }
.pills li { display: flex; align-items: center; gap: 0.8rem; background: var(--surface2); border: 1px solid var(--line); border-radius: 14px; padding: 0.8rem 1rem; font-weight: 600; }
.pills svg { flex: none; color: var(--accent); }
.textlink { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

/* cta */
.cta { text-align: center; padding: 4.5rem 0; }
.cta p { color: var(--text2); margin: 1rem auto 2rem; max-width: 30rem; }

/* footer */
.site-footer { border-top: 1px solid var(--line); background: var(--deep); padding: 2.5rem 0 3rem; color: var(--text2); font-size: 0.98rem; text-align: center; }
.site-footer p + p { margin-top: 0.4rem; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem 1.25rem; margin: 0.6rem 0; }
.foot-links a, .site-footer p a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer p a { min-height: 0; }
.site-footer .copy { color: var(--text3); font-size: 0.9rem; }

/* privacy page */
.doc { padding: 3rem 0 4rem; }
.doc-wrap { max-width: 46rem; margin: 0 auto; padding: 0 1.25rem; }
.doc h1 { font-size: clamp(2.1rem, 6vw, 3rem); }
.doc .meta { color: var(--text3); margin: 0.9rem 0 2rem; }
.summary { background: var(--accent-soft); border: 1px solid rgba(61, 220, 151, 0.3); border-radius: 18px; padding: 1.25rem 1.4rem; margin-bottom: 2.5rem; }
.summary strong { color: var(--accent); font-family: var(--head); font-weight: 800; }
.doc h2 { font-size: 1.45rem; margin: 2.5rem 0 0.8rem; }
.doc p, .doc li { color: var(--text2); }
.doc p + p { margin-top: 0.9rem; }
.doc ul { margin: 0.8rem 0 0 1.25rem; }
.doc ul + p { margin-top: 0.9rem; }
.doc li { margin-top: 0.4rem; padding-left: 0.2rem; }
.doc li::marker { color: var(--accent); }
.doc strong { color: var(--text); font-weight: 700; }
.doc a { word-break: break-word; }

/* 404 */
.lost { min-height: 70vh; display: flex; align-items: center; text-align: center; }
.lost p { color: var(--text2); margin: 1rem 0 2rem; }
.lost .code { font-family: var(--head); font-weight: 800; font-size: clamp(5rem, 22vw, 9rem); color: var(--accent); line-height: 1; }

@media (min-width: 640px) {
  .row3 { grid-template-columns: repeat(3, 1fr); }
  .pills { grid-template-columns: 1fr 1fr; }
  .private-box { padding: 3rem 2.5rem; }
}

@media (min-width: 900px) {
  .wrap { padding: 0 2rem; }
  .hero { padding-top: 4.5rem; }
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; }
  .hero-copy { text-align: left; }
  .hero-copy p.lead { margin-left: 0; }
  .hero .phone { width: 320px; }
  .feature { grid-template-columns: 1fr 1fr; gap: 4rem; padding: 3.5rem 0; }
  .feature .copy { text-align: left; }
  .feature p, .feature ul { margin-left: 0; }
  .feature:nth-child(even) .stage { order: -1; }
  .phone { width: 300px; }
  section { padding: 6rem 0; }
  .site-footer { text-align: left; }
  .footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
  .foot-links { justify-content: flex-end; margin: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-art .phone { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
