:root {
    --ink: #201833;
    --muted: #625b75;
    --purple: #6939d4;
    --purple-dark: #5429b5;
    --soft: #f1eaff;
    --bg: #f8f7fc;
    --line: #e8e3f1;
    --white: #fff;
    --radius: 20px;
    --shadow: 0 20px 50px #3520560d;
    font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--white);
    scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: var(--purple-dark); text-decoration: none; }
a:hover { color: var(--purple); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible {
    outline: 3px solid #936cfa; outline-offset: 3px;
}
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.13; letter-spacing: -.035em; }
h1 { font-size: clamp(2rem, 4vw, 3.35rem); overflow-wrap: anywhere; }
h2 { font-size: 1.3rem; overflow-wrap: anywhere; }
h3 { font-size: 1.15rem; }
p { color: var(--muted); overflow-wrap: anywhere; }
small, .muted { color: var(--muted); }
small { font-size: .875rem; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.wrap { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 20; padding: 12px; background: #fff; transform: translateY(-150%); }
.skip:focus { transform: none; }
.brand { display: inline-flex; flex-shrink: 0; gap: 10px; align-items: center; color: var(--ink); font-size: 1.38rem; font-weight: 800; letter-spacing: -.05em; }
.brand > span > span { color: var(--purple); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid transparent; padding: 10px 17px; min-height: 43px; border-radius: 11px; line-height: 1.25; font-weight: 650; color: var(--ink); background: transparent; text-align: center; font-size: .94rem; }
.button.primary { color: #fff; background: var(--purple); box-shadow: 0 5px 12px #6939d42b; }
.button.primary:hover { background: var(--purple-dark); }
.button.secondary { background: #fff; border-color: var(--line); }
.button.secondary:hover, .button.quiet:hover { background: var(--soft); color: var(--purple-dark); }
.button.danger { color: #a1284a; background: #fff3f6; border-color: #f0d6df; }
.button.danger:hover { background: #fee8ef; }
.button.large { min-height: 52px; padding: 14px 22px; }
.button.compact { min-height: 35px; padding: 6px 10px; font-size: .875rem; }
.public-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { min-height: 78px; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.public-nav, .header-actions, .public-footer nav { display: flex; align-items: center; gap: 24px; }
.public-nav a, .public-footer nav a { font-weight: 600; color: var(--muted); font-size: .94rem; }
.header-actions { gap: 6px; }
.public-notice { padding-top: 20px; }
.public-footer { border-top: 1px solid var(--line); }
.hero { display: grid; grid-template-columns: 1fr .98fr; gap: 65px; align-items: center; padding-block: 74px 82px; }
.eyebrow { font-weight: 740; letter-spacing: .095em; color: var(--purple-dark); font-size: .82rem; }
.eyebrow span { display: inline-block; width: 7px; height: 7px; background: #8b59ed; border-radius: 50%; margin: 0 6px 2px 0; }
.hero h1 { margin-top: 17px; font-size: clamp(3.2rem, 6vw, 6.4rem); line-height: .99; letter-spacing: -.064em; }
.hero h1 em { font-style: normal; color: var(--purple); }
.hero-text { font-size: 1.19rem; max-width: 430px; margin-top: 25px; line-height: 1.6; }
.hero-actions { display: flex; gap: 11px; flex-wrap: wrap; margin-block: 29px 14px; }
.hero-note { font-size: .9rem; }
.hero-art { min-height: 454px; overflow: hidden; position: relative; isolation: isolate; display: grid; place-items: center; border-radius: 30px; background: radial-gradient(ellipse at 65% 10%, #f7f0ff, transparent 55%), linear-gradient(145deg, #f3e9ff 10%, #e0d0fc 93%); border: 1px solid #ede2fb; }
.art-orbit { position: absolute; width: 360px; height: 360px; top: 48px; left: calc(50% - 180px); border: 1px solid #af8fe552; border-radius: 50%; box-shadow: 0 0 0 28px #a483df12, 0 0 0 54px #a483df13, 0 0 0 80px #a483df11; }
.qr-art-card { position: relative; width: min(265px, 68%); display: grid; gap: 12px; place-items: center; padding: 20px 18px 16px; background: #fff; border: 1px solid #faf7ff; border-radius: 25px; box-shadow: 0 24px 52px #6437a42e; transform: rotate(-9deg) translate(-20px,-12px); }
.art-label { display: flex; gap: 8px; align-items: center; font-weight: 780; }
.hero-qr { border-radius: 12px; }
.qr-art-card > span { font-size: .84rem; color: var(--muted); }
.art-floating { position: absolute; right: 6%; bottom: 13%; width: min(166px, 43%); padding: 14px; display: grid; background: #fff; border: 1px solid #f5efff; border-radius: 16px; box-shadow: 0 18px 34px #6437a42e; transform: rotate(6deg); }
.art-small { font-size: .65rem; font-weight: 760; color: var(--muted); letter-spacing: .045em; }
.art-floating strong { font-size: 1.5rem; }
.mini-chart { display: flex; align-items: end; gap: 4px; height: 32px; padding-top: 7px; }
.mini-chart i { display: block; height: 42%; flex: 1; background: #c6abf6; border-radius: 3px 3px 0 0; }
.mini-chart i:nth-child(3n) { height: 66%; }
.mini-chart i:nth-child(2n+6) { height: 84%; background: #9160ef; }
.mini-chart i:nth-child(11) { height: 100%; background: #6939d4; }
.feature-section { background: var(--bg); padding-block: 70px 76px; border-block: 1px solid var(--line); }
.section-heading { margin-bottom: 30px; }
.section-heading h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
.section-heading p { margin-top: 10px; }
.features, .steps, .quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 17px; }
.feature { padding: 25px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.feature-icon { display: inline-grid; place-items: center; width: 47px; height: 47px; margin-bottom: 14px; border-radius: 14px; font-size: 1.35rem; color: var(--purple-dark); background: var(--soft); }
.feature p, .steps p, .quick p { margin-top: 8px; }
.how-section { padding-block: 65px 75px; }
.steps { padding-left: 24px; margin-block: 0 27px; }
.steps li { padding: 6px 17px 8px 3px; }
.steps li::marker { color: var(--purple-dark); font-weight: 750; }
.account-shell { display: grid; grid-template-columns: .9fr 1fr; align-items: center; gap: 75px; max-width: 1050px; min-height: calc(100vh - 156px); padding-block: 50px; }
.account-card { max-width: 430px; width: 100%; margin-inline: auto; }
.account-card h1 { margin-block: 6px 9px; }
.account-card .form-stack { margin-block: 24px 18px; }
.account-tail { font-size: .94rem; }
.account-tail a, .form-right { font-weight: 650; }
.account-art { display: grid; place-items: center; min-height: 430px; border-radius: 29px; background: radial-gradient(circle at 30% 20%, #fbf5ff, #ebddfc 76%); }
.account-art-inner { background: #fff; border-radius: 23px; box-shadow: 0 25px 58px #6437a424; transform: rotate(-8deg); padding: 18px; width: min(266px,72%); text-align: center; color: var(--purple-dark); font-weight: 750; }
.plain-section { min-height: calc(100vh - 156px); padding-block: 62px; }
.plain-section p { margin-block: 12px 22px; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 23px; }
.workspace { background: var(--bg); }
.workspace-shell { display: grid; grid-template-columns: 230px minmax(0,1fr); min-height: 100vh; }
.sidebar { display: flex; position: sticky; top: 0; height: 100vh; flex-direction: column; padding: 24px 14px 17px; background: #fff; border-right: 1px solid var(--line); min-width: 0; overflow-y: auto; }
.sidebar .brand { padding-left: 10px; margin-bottom: 34px; }
.sidebar nav { display: grid; gap: 5px; }
.sidebar nav a { display: flex; gap: 11px; align-items: center; min-height: 43px; padding: 9px 11px; border-radius: 10px; color: var(--muted); font-weight: 620; font-size: .94rem; }
.sidebar nav a:hover, .sidebar nav a[aria-current=page] { background: var(--soft); color: var(--purple-dark); }
.nav-icon { font-size: 1.1rem; min-width: 19px; text-align: center; }
.sidebar-bottom { margin-top: auto; padding-top: 24px; }
.identity { display: flex; align-items: center; gap: 9px; min-width: 0; border-top: 1px solid var(--line); padding: 15px 7px 4px; }
.identity > div { min-width: 0; display: grid; }
.identity strong, .identity small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.identity strong { font-size: .94rem; }.identity small { font-size: .8rem; }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: var(--soft); color: var(--purple-dark); font-weight: 720; }
.signout { margin-left: 2px; min-height: 35px; }
.workspace-content { min-width: 0; }
.workspace-main { padding-block: 34px 50px; width: min(1220px, calc(100% - 58px)); }
.workspace-top { display: none; }
.page-heading { display: flex; justify-content: space-between; gap: 17px; align-items: center; margin-bottom: 24px; }
.page-heading h1 { font-size: clamp(1.9rem,3.6vw,2.65rem); }
.page-heading p { margin-top: 6px; }
.page-heading .button { flex-shrink: 0; }
.panel, .metric { border: 1px solid var(--line); background: #fff; border-radius: var(--radius); box-shadow: 0 4px 15px #35205606; min-width: 0; }
.panel { padding: 22px; margin-bottom: 17px; }
.panel > h2, .panel form + h2 { margin-bottom: 17px; }
.metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; margin-bottom: 17px; }
.admin-metrics { grid-template-columns: repeat(6,minmax(0,1fr)); }
.metric { display: grid; padding: 16px; gap: 6px; min-width: 0; }
.metric span { font-size: .9rem; color: var(--muted); overflow-wrap: anywhere; }
.metric strong { font-size: clamp(1.4rem,3vw,2.1rem); letter-spacing: -.06em; line-height: 1.2; overflow-wrap: anywhere; }
.quick:hover { border-color: #c7afea; }
.quick h2 { color: var(--ink); margin-bottom: 0; }
.quick small { display: inline-block; margin-top: 8px; }
.editor-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); gap: 17px; align-items: start; }
.edit-panel { max-width: 680px; }
.form-stack { display: grid; gap: 14px; align-content: start; }
.form-stack > .button { justify-self: start; }
.account-card .form-stack > .button { justify-self: stretch; }
label { display: grid; gap: 5px; color: var(--ink); font-size: .94rem; font-weight: 620; min-width: 0; }
label small { font-weight: 490; }
input, textarea, select { display: block; width: 100%; min-width: 0; max-width: 100%; color: var(--ink); background: #fff; border: 1px solid #dcd5e9; border-radius: 9px; min-height: 43px; padding: 9px 11px; font-size: 1rem; }
select { appearance: none; padding-right: 27px; background-image: linear-gradient(45deg,transparent 50%,#796598 50%),linear-gradient(135deg,#796598 50%,transparent 50%); background-position: calc(100% - 15px) 50%,calc(100% - 10px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
textarea { resize: vertical; }
input[readonly], textarea[readonly] { background: #f8f6fb; }
input[type=color] { height: 44px; padding: 4px 7px; }
input[type=checkbox] { accent-color: var(--purple); width: 17px; min-height: 0; margin: 0; }
.check { display: flex; gap: 10px; align-items: center; font-weight: 520; }
.form-right { justify-self: end; font-size: .94rem; }
.unboxed { margin: 0; border: 0; padding: 0; min-width: 0; }
.color-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.preview { display: grid; gap: 12px; }
.preview > h2 { margin-bottom: 0; }
.preview-trigger { display: none; }
.js .preview-trigger { display: inline-flex; justify-self: start; }
[data-preview-status]:empty { display: none; }
.preview-pad { display: grid; place-items: center; min-height: 230px; border: 1px dashed #ded1f2; background: #faf8fd; border-radius: 16px; padding: 13px; }
.preview-qr { border-radius: 8px; }
.preview-placeholder { text-align: center; }
.preview-placeholder span { font-size: 3.5rem; color: #9470d5; display: block; }
.download-options, .asset-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.asset-actions { border-top: 1px solid var(--line); padding-top: 14px; }
.empty { text-align: center; padding: 29px 10px; }
.empty .button { margin-top: 12px; }
.table-scroll { max-width: 100%; overflow-x: auto; }
table { border-collapse: collapse; width: 100%; text-align: left; font-size: .92rem; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: .875rem; font-weight: 650; color: var(--muted); white-space: nowrap; background: #fbf9fe; }
td a { font-weight: 650; }
tbody tr:last-child td { border-bottom: 0; }
.pill { display: inline-block; padding: 3px 8px; border-radius: 99px; background: #f1eef4; font-size: .82rem; }
.pill.active, .notice.success { background: #eef9f1; color: #215836; }
.pill.paused { background: #fff6e0; color: #6f501f; }
.pill.blocked, .notice.error { background: #fff0f3; color: #8b2141; }
.notice { margin-bottom: 15px; padding: 13px 15px; background: var(--soft); color: var(--purple-dark); border-radius: 11px; }
.notice.verification { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.notice p { color: inherit; }
.filters { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)) auto; gap: 9px; align-items: end; }
.chart-panel canvas { display: block; width: 100%; height: 224px; }
details { margin-top: 13px; }
summary { color: var(--purple-dark); cursor: pointer; font-size: .94rem; }
.section-bar { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.analytics-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 16px; }
.breakdown { margin: 8px 0 0; }
.breakdown div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.breakdown div:last-child { border: 0; }
.breakdown dt, .breakdown dd { min-width: 0; overflow-wrap: anywhere; }
.breakdown dd { margin: 0; font-weight: 660; text-align: right; }
.tabs, .pagination { display: flex; gap: 7px; flex-wrap: wrap; }
.tabs { padding: 8px; }
.tabs a { border-radius: 8px; padding: 8px 12px; color: var(--muted); font-weight: 620; }
.tabs a[aria-current=page], .tabs a:hover { background: var(--soft); color: var(--purple-dark); }
.search-form { display: flex; align-items: end; gap: 10px; margin-bottom: 15px; }
.search-form label { max-width: 420px; flex: 1; }
.inline-form { display: inline-block; margin: 2px 4px 2px 0; }
.pagination { margin-top: 14px; }
.break-text { overflow-wrap: anywhere; }
@media (max-width: 1100px) {
    .hero { gap: 35px; }
    .hero-art { min-height: 405px; }
    .admin-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .filters { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .account-shell { gap: 40px; }
}
@media (max-width: 850px) {
    .wrap { width: calc(100% - 42px); }
    .hero { gap: 23px; padding-block: 57px; }
    .hero-art { min-height: 350px; }
    .public-nav { display: none; }
    .workspace-shell { display: block; }
    .workspace-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 20px; background: #fff; border-bottom: 1px solid var(--line); }
    .workspace-action, .top-home { font-weight: 700; }
    .top-home { color: var(--ink); }
    .sidebar { position: static; width: 100%; height: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 20px; overflow: visible; }
    .sidebar .brand { display: none; }
    .sidebar nav { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .sidebar-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px; }
    .identity { border: 0; padding: 0; }
    .js .workspace-shell { display: grid; grid-template-columns: minmax(0,1fr); }
    .js .workspace-content { display: contents; }
    .js .workspace-top { grid-row: 1; }
    .js .sidebar { display: none; grid-row: 2; }
    .js .sidebar.is-open { display: flex; }
    .js .workspace-main { grid-row: 3; }
    .workspace-main { padding-top: 23px; }
    .account-shell { min-height: 0; }
    .account-art { min-height: 350px; }
}
@media (max-width: 620px) {
    .wrap { width: calc(100% - 32px); }
    .header-inner, .footer-inner { min-height: 65px; gap: 8px; }
    .public-footer nav { flex-wrap: wrap; justify-content: end; gap: 4px 12px; }
    .public-footer nav a { font-size: .875rem; }
    .public-footer .brand img { display: none; }
    .header-actions .button { padding-inline: 10px; }
    .hero, .account-shell, .editor-grid { grid-template-columns: 1fr; gap: 16px; }
    .hero { padding-block: 43px 37px; }
    .hero h1 { font-size: clamp(3rem,12vw,4.3rem); }
    .hero-text { margin-top: 17px; font-size: 1.08rem; }
    .hero-actions { margin-top: 21px; }
    .hero-art { min-height: 320px; }
    .qr-art-card { max-width: 198px; padding-top: 13px; gap: 6px; transform: rotate(-9deg) translate(-37px,-21px); }
    .art-floating { bottom: 7%; right: 5%; width: min(134px,39%); }
    .feature-section, .how-section { padding-block: 36px; }
    .section-heading { margin-bottom: 18px; }
    .features, .steps, .quick-grid, .analytics-grid { grid-template-columns: 1fr; gap: 9px; }
    .account-art { display: none; }
    .account-shell, .plain-section { padding-block: 40px; }
    .workspace-main .panel { padding: 15px; border-radius: 15px; }
    .workspace-main .tabs { padding: 6px; }
    .page-heading { align-items: start; flex-direction: column; gap: 10px; margin-bottom: 17px; }
    .metrics, .filters { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .metrics { gap: 8px; }
    .metric { padding: 12px; border-radius: 14px; }
    .sidebar nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .notice.verification { align-items: start; flex-direction: column; }
}
@media (max-width: 345px) { .header-cta { display: none; } }
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }

/* Privacy Policy page */
.policy { margin-top: 6px; line-height: 1.65; }
.policy .policy-date { margin-block: 4px; color: var(--muted); }
.policy h2 { margin-top: 42px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 1.45rem; }
.policy h2:first-of-type { border-top: 0; padding-top: 0; margin-top: 30px; }
.policy h3 { margin-top: 28px; font-size: 1.12rem; color: var(--purple-dark); }
.policy h4 { margin: 22px 0 0; font-size: 1rem; letter-spacing: -.01em; }
.policy ul { margin: 8px 0 22px; padding-left: 1.35em; }
.policy li { margin-block: 5px; }
.policy li::marker { color: var(--purple); }
.policy a { text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.policy .policy-contact, .policy .policy-org { margin-block: 6px; }
.policy .policy-copy { margin-top: 34px; color: var(--muted); font-size: .92rem; }

/* Home hero: "Free to use. No ads." */
.hero-free { margin-top: 22px; font-size: clamp(1.7rem, 3.1vw, 2.6rem); font-weight: 800; line-height: 1.12; letter-spacing: -.035em; color: var(--ink, #24163d); overflow-wrap: anywhere; }
.hero-free span { color: var(--purple); }
@media (max-width: 760px) { .hero-free { margin-top: 16px; font-size: clamp(1.55rem, 7.4vw, 2.1rem); } }
