/* AUTOFRAIME: Signature Mono, the same language as the app:
   white ground, ink type, liquid glass, listing photos kept in colour. */

:root {
  --ink: #0A0A0A;
  --ink-2: rgba(10, 10, 10, 0.62);
  --ink-3: rgba(10, 10, 10, 0.42);
  --paper: #FBF9F4;
  --line: rgba(10, 10, 10, 0.08);
  --glass: rgba(255, 255, 255, 0.62);
  --glass-strong: rgba(255, 255, 255, 0.82);
  --radius: 24px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif;
  color: var(--ink);
  background: #E3E3E3;
  background-image: radial-gradient(120% 70% at 50% 0%, #FFFFFF 0%, #F2F2F2 55%, #E3E3E3 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 1), 0 10px 28px rgba(0, 0, 0, 0.07);
}
.bevel {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(51, 51, 51, 0.08);
  box-shadow:
    inset 2px -2px 1px -1px rgba(255,255,255,0.9),
    inset -2px 2px 1px -1px rgba(255,255,255,0.9),
    inset 0 0 2px rgba(0,0,0,0.22),
    0 4px 12px rgba(0,0,0,0.10);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 14px; z-index: 50;
  width: min(var(--max), calc(100% - 28px));
  margin: 14px auto 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px 10px 16px;
  border-radius: 999px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; letter-spacing: 2px; font-size: 15px; }
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { text-decoration: none; font-weight: 600; font-size: 14px; padding: 9px 14px; border-radius: 999px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); background: rgba(255,255,255,0.7); }
.nav .pill { color: #fff !important; background: var(--ink); }
.nav .pill:hover { background: #222 !important; }
@media (max-width: 720px) { .nav-links a:not(.pill) { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px;
  font-weight: 800; font-size: 16px; text-decoration: none;
  border: none; cursor: pointer; font-family: inherit;
}
.btn-ink { background: var(--ink); color: #fff; }
.btn-soon { background: var(--ink); color: #fff; cursor: default; }
.btn-soon .apple { font-size: 20px; line-height: 1; margin-top: -2px; }
.btn-soon small { display: block; font-size: 11px; font-weight: 600; opacity: 0.7; letter-spacing: 0.3px; }
.btn-soon span.stack { text-align: left; line-height: 1.15; }
.btn-ghost { color: var(--ink); }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; transform: scale(0.7); } }
h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -2px; margin: 18px 0 18px; font-weight: 800; }
.lede { font-size: 19px; color: var(--ink-2); max-width: 520px; margin: 0 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin-top: 16px; font-size: 13px; color: var(--ink-3); }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; padding-top: 48px; } }

/* ---------- Phone mockup (recreates the app's Home) ---------- */
.phone {
  width: 320px; height: 660px; margin: 0 auto; position: relative;
  border-radius: 52px; padding: 12px; background: #111;
  box-shadow: 0 40px 80px rgba(0,0,0,0.22), 0 0 0 2px #2a2a2a inset;
}
.screen {
  position: relative; width: 100%; height: 100%; border-radius: 41px; overflow: hidden;
  background: radial-gradient(120% 70% at 50% 0%, #FFF 0%, #F2F2F2 55%, #E3E3E3 100%);
}
.island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 96px; height: 28px; border-radius: 20px; background: #000; z-index: 3; }
.app-head { position: absolute; top: 54px; left: 18px; right: 18px; display: flex; justify-content: space-between; align-items: flex-start; z-index: 2; }
.app-head .hi { font-size: 10px; font-weight: 600; color: var(--ink-3); }
.app-head .name { font-size: 21px; font-weight: 800; letter-spacing: -0.5px; }
.credits { display: flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.coin { width: 15px; height: 15px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; }
.coin img { width: 9px; height: 9px; filter: invert(1); }
.feed { position: absolute; top: 112px; left: 14px; right: 14px; display: flex; flex-direction: column; gap: 12px; }
.card { border-radius: 20px; overflow: hidden; }
.card .ph { aspect-ratio: 3/2; background-size: cover; background-position: center; position: relative; }
.badge { position: absolute; top: 9px; font-size: 9px; font-weight: 800; padding: 4px 8px; border-radius: 999px; letter-spacing: 0.3px; }
.badge.l { left: 9px; background: rgba(255,255,255,0.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.95); }
.badge.r { right: 9px; background: rgba(0,0,0,0.78); color: #fff; border: 1px solid rgba(255,255,255,0.35); }
.card .meta { padding: 10px 12px 12px; display: flex; justify-content: space-between; align-items: center; }
.card .addr { font-size: 13px; font-weight: 800; letter-spacing: -0.2px; }
.card .sub { font-size: 10px; color: var(--ink-2); }
.chev { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; background: rgba(255,255,255,0.7); border: 1px solid #fff; }
.dock { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px; z-index: 2; }
.dock .tab { width: 58px; height: 40px; border-radius: 999px; display: grid; place-items: center; font-size: 8.5px; font-weight: 700; color: var(--ink-3); }
.dock .tab.on { background: rgba(255,255,255,0.85); color: var(--ink); }
.dock .plus { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 20px; font-weight: 700; margin-left: 4px; }

/* ---------- Sections ---------- */
section { padding: 70px 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.kicker { font-size: 12px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-3); }
h2 { font-size: clamp(30px, 4vw, 44px); line-height: 1.08; letter-spacing: -1.2px; margin: 10px 0 12px; font-weight: 800; }
.section-head p { color: var(--ink-2); font-size: 17px; margin: 0; }

.grid { display: grid; gap: 16px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .g3, .g2 { grid-template-columns: 1fr; } }

.feature { border-radius: var(--radius); padding: 26px; }
.feature .ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; margin-bottom: 16px; }
.feature h3 { margin: 0 0 6px; font-size: 19px; letter-spacing: -0.3px; }
.feature p { margin: 0; color: var(--ink-2); font-size: 15px; }

.steps { counter-reset: s; }
.step { border-radius: var(--radius); padding: 26px; position: relative; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: 22px; right: 24px; font-size: 54px; font-weight: 800; color: rgba(10,10,10,0.07); line-height: 1; }
.step h3 { margin: 0 0 6px; font-size: 19px; }
.step p { margin: 0; color: var(--ink-2); font-size: 15px; }

.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.gallery figure { margin: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 26px rgba(0,0,0,0.10); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }
.gallery .a { grid-column: span 3; } .gallery .b { grid-column: span 3; }
.gallery .c, .gallery .d, .gallery .e { grid-column: span 2; }
@media (max-width: 720px) { .gallery { grid-template-columns: 1fr; } .gallery figure { grid-column: auto !important; } }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan { border-radius: var(--radius); padding: 26px; position: relative; }
.plan.best { outline: 2px solid var(--ink); }
.plan .tag { position: absolute; top: 18px; right: 18px; font-size: 10px; font-weight: 800; letter-spacing: 0.6px; background: var(--ink); color: #fff; padding: 4px 9px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 20px; }
.price { font-size: 38px; font-weight: 800; letter-spacing: -1px; margin: 10px 0 2px; }
.price small { font-size: 14px; font-weight: 600; color: var(--ink-3); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; margin: 16px 0 0; }
.plan li { padding: 7px 0; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--ink-2); }
.packs { margin-top: 16px; border-radius: var(--radius); padding: 22px 26px; display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; }
.packs strong { font-size: 15px; }
.packs .pk { font-size: 14.5px; color: var(--ink-2); }
.fine { font-size: 13px; color: var(--ink-3); margin-top: 14px; }

/* ---------- FAQ ---------- */
.faq details { border-radius: 18px; padding: 18px 22px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 16px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; font-weight: 600; color: var(--ink-3); }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--ink-2); margin: 10px 0 0; }

/* ---------- Closing CTA ---------- */
.closer { border-radius: 32px; padding: 54px 30px; text-align: center; background: var(--ink); color: #fff; }
.closer h2 { color: #fff; }
.closer p { color: rgba(255,255,255,0.7); max-width: 520px; margin: 0 auto 26px; }
.closer .btn-soon { background: #fff; color: var(--ink); }

/* ---------- Footer ---------- */
footer { padding: 40px 0 60px; }
.foot { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 26px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot a { text-decoration: none; color: var(--ink-2); font-size: 14px; font-weight: 600; }
.foot a:hover { color: var(--ink); }
.copy { color: var(--ink-3); font-size: 13px; }

/* ---------- Legal pages ---------- */
.legal { padding: 50px 0 20px; }
.doc { border-radius: 28px; padding: clamp(24px, 5vw, 56px); max-width: 860px; margin: 0 auto; }
.doc h1 { font-size: clamp(32px, 5vw, 46px); margin-top: 0; }
.doc .updated { color: var(--ink-3); font-size: 14px; margin-top: -6px; }
.doc h2 { font-size: 22px; letter-spacing: -0.4px; margin: 34px 0 8px; }
.doc h3 { font-size: 16px; margin: 20px 0 6px; }
.doc p, .doc li { color: rgba(10,10,10,0.78); font-size: 15.5px; }
.doc ul { padding-left: 20px; }
.doc li { margin: 6px 0; }
.doc .callout { border-radius: 16px; padding: 16px 18px; margin: 18px 0; background: rgba(10,10,10,0.04); border: 1px solid var(--line); }
.doc a { text-decoration: underline; text-underline-offset: 2px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.toc a { font-size: 13px; font-weight: 700; text-decoration: none; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,0.7); border: 1px solid var(--line); }

/* Before / after slider */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ba-item { margin: 0; }
.ba-item figcaption { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); text-align: center; }
@media (max-width: 760px) { .ba-grid { grid-template-columns: 1fr; } }
.ba { position: relative; aspect-ratio: 4 / 3; border-radius: 26px; overflow: hidden; padding: 0;
  user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ba-after { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08); pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 48px; height: 48px;
  border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-size: 22px; font-weight: 800;
  box-shadow: 0 8px 22px rgba(0,0,0,0.28); }
.ba-label { position: absolute; top: 14px; padding: 5px 11px; border-radius: 999px; background: rgba(10,10,10,0.6); color: #fff;
  font-size: 12px; font-weight: 800; letter-spacing: 0.6px; text-transform: uppercase; pointer-events: none; }
.ba-label.l { left: 14px; }
.ba-label.r { right: 14px; }
.ba-range { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ba:focus-within { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (max-width: 600px) { .ba { border-radius: 18px; } .ba-handle span { width: 40px; height: 40px; font-size: 18px; } }


/* Direction row under a slider: labels mean "drag this way to see this" */
.dial { margin-top: 12px; }
.dial-stops { display: flex; justify-content: space-between; font-size: 13px; font-weight: 800; letter-spacing: .4px;
  text-transform: uppercase; color: var(--ink-2); }
.dial-stops.three span:nth-child(2) { text-align: center; }

/* Three-way slider: before | enhanced | twilight */
.ba3 { position: relative; aspect-ratio: 4 / 3; border-radius: 26px; overflow: hidden; padding: 0;
  user-select: none; -webkit-user-select: none; touch-action: pan-y; cursor: ew-resize; }
.ba3 img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ba3 .l0 { clip-path: inset(0 calc(100% - var(--p1)) 0 0); }
.ba3 .l1 { clip-path: inset(0 calc(100% - var(--p2)) 0 0); }
.ba3 .h1 { left: var(--p1); }
.ba3 .h2 { left: var(--p2); }
.ba3 .ba-label { transition: opacity .15s; }
.ba3 .t0 { left: 14px; }
.ba3 .t1 { left: calc(var(--p1) + 14px); }
.ba3 .t2 { left: calc(var(--p2) + 14px); }
.ba3:focus-within { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (max-width: 600px) { .ba3 { border-radius: 18px; } .ba3 .ba-label { font-size: 10px; padding: 4px 8px; } }
