/* Flyer Studio site: Apple-style, Inter, light + dark (follows the system), mobile first (360 px). */
:root {
  --bg: #ffffff; --bg2: #f5f5f7; --card: #ffffff; --ink: #1d1d1f; --mute: #5e5e66; --line: #e3e3e8;
  --accent: #5b3df5; --accent2: #8b5cf6; --accent-ink: #ffffff; --ok: #0a7f3f; --shadow: 0 10px 30px rgba(20, 20, 40, .08);
  --radius: 22px; --max: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0b0b0f; --bg2: #141419; --card: #17171d; --ink: #f5f5f7; --mute: #a6a6b0; --line: #2a2a33;
    --accent: #8b7bff; --accent2: #b39dff; --accent-ink: #0b0b0f; --shadow: 0 10px 30px rgba(0, 0, 0, .4); }
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: Inter, -apple-system, 'Segoe UI', system-ui, sans-serif; background: var(--bg); color: var(--ink); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* header */
.top { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 60px; }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 18px; color: var(--ink); letter-spacing: -.3px; }
.logo:hover { text-decoration: none; }
.logo i { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), #ff7a59); display: inline-block; }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.top nav a.l { color: var(--ink); font-size: 15px; padding: 8px 10px; border-radius: 10px; }
.top nav a.l:hover { background: var(--bg2); text-decoration: none; }
@media (max-width: 560px) { .top nav a.l.hide-s { display: none; } }
.icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); border: 1px solid var(--line); }
.icon:hover { background: var(--bg2); text-decoration: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 16px; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { text-decoration: none; }
.btn.pri { background: var(--accent); color: var(--accent-ink); }
.btn.pri:hover { filter: brightness(1.06); }
.btn.sec { background: var(--bg2); color: var(--ink); border: 1px solid var(--line); }
.btn.sm { min-height: 38px; padding: 0 16px; font-size: 14px; }

/* sections */
section { padding: 72px 0; }
@media (min-width: 900px) { section { padding: 104px 0; } }
.alt { background: var(--bg2); }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--accent); letter-spacing: .2px; }
h1 { font-size: clamp(38px, 7vw, 68px); line-height: 1.04; letter-spacing: -1.6px; font-weight: 700; }
h2 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.1; letter-spacing: -1px; font-weight: 700; }
h3 { font-size: 20px; letter-spacing: -.3px; font-weight: 650; }
.lead { font-size: clamp(18px, 2.2vw, 22px); color: var(--mute); max-width: 680px; }
.center { text-align: center; } .center .lead { margin-left: auto; margin-right: auto; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.center .actions { justify-content: center; }
.note { font-size: 13.5px; color: var(--mute); margin-top: 12px; }

/* hero */
.hero { padding-top: 64px; }
.hero-art { margin: 52px auto 0; max-width: 980px; display: grid; grid-template-columns: 1fr; gap: 18px; align-items: center; }
@media (min-width: 820px) { .hero-art { grid-template-columns: 1fr auto 1fr; } }
.paste { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); font-size: 15px; color: var(--mute); text-align: left; }
.paste b { color: var(--ink); display: block; margin-bottom: 6px; font-size: 13px; letter-spacing: .4px; }
.arrow { font-size: 28px; color: var(--mute); text-align: center; transform: rotate(90deg); }
@media (min-width: 820px) { .arrow { transform: none; } }
.flyer { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); aspect-ratio: 4 / 5; background: var(--bg2); max-width: 420px; justify-self: center; width: 100%; }
.flyer img { width: 100%; height: 100%; object-fit: cover; }

/* grids + cards */
.grid { display: grid; gap: 18px; margin-top: 44px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid.c3 { grid-template-columns: repeat(3, 1fr); } .grid.c2 { grid-template-columns: repeat(2, 1fr); } .grid.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid.c4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card p { color: var(--mute); margin-top: 8px; font-size: 16px; }
.num { width: 36px; height: 36px; border-radius: 50%; background: var(--bg2); display: grid; place-items: center; font-weight: 700; margin-bottom: 14px; color: var(--accent); }

/* pricing */
.cur { display: inline-flex; background: var(--bg2); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-top: 24px; }
.cur button { border: 0; background: none; font: inherit; font-weight: 600; font-size: 14px; padding: 8px 16px; border-radius: 999px; color: var(--mute); cursor: pointer; }
.cur button[aria-pressed=true] { background: var(--card); color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.plan { display: flex; flex-direction: column; }
.plan.feat { border: 2px solid var(--accent); }
.plan .price { font-size: 40px; font-weight: 700; letter-spacing: -1px; margin: 12px 0 2px; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--mute); letter-spacing: 0; }
.plan ul { list-style: none; margin: 18px 0 24px; display: grid; gap: 8px; font-size: 15.5px; color: var(--mute); }
.plan ul li::before { content: '✓  '; color: var(--ok); font-weight: 700; }
.plan .btn { margin-top: auto; }
table.cmp { width: 100%; border-collapse: collapse; margin-top: 40px; font-size: 15px; }
table.cmp th, table.cmp td { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: left; }
table.cmp th { font-weight: 600; }
.tablewrap { overflow-x: auto; }
table.cmp tbody th { font-weight: 500; }
#cmp { min-width: 680px; }
#cmp th:first-child { width: 170px; }
table.cmp td small { color: var(--mute); font-size: 13px; }
.plans-h { font-size: 24px; letter-spacing: -.4px; margin-top: 44px; }
.plans-h:first-of-type { margin-top: 28px; }
.explain { display: grid; gap: 6px 28px; grid-template-columns: 1fr; background: var(--bg2); border: 1px solid var(--line); border-radius: 16px; padding: 16px 20px; color: var(--mute); font-size: 15.5px; }
.explain b { color: var(--ink); }
@media (min-width: 720px) { .explain { grid-template-columns: 1fr 1fr; } }
.policy { margin-top: 24px; border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 14px; padding: 14px 18px; background: var(--card); color: var(--mute); font-size: 15.5px; }
.policy b { color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* faq */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
details summary { cursor: pointer; font-weight: 600; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details summary::after { content: '+'; color: var(--mute); font-size: 22px; line-height: 1; }
details[open] summary::after { content: '–'; }
details p { color: var(--mute); margin-top: 10px; }

/* legal + prose */
.prose { max-width: 760px; }
.prose h2 { font-size: 26px; margin: 36px 0 10px; letter-spacing: -.4px; }
.prose p, .prose li { color: var(--mute); margin-top: 10px; }
.prose ul { padding-left: 22px; }
.todo { background: #fff4d6; color: #6b4e00; border-radius: 8px; padding: 2px 6px; font-size: 14px; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 56px; font-size: 14px; color: var(--mute); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
footer a { color: var(--mute); }
footer .by { margin-left: auto; }

@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
}
