/* Vizor base styles — small, framework-free, mobile-first. */
:root {
    --v-primary: #0ea5e9;
    --v-accent:  #0f172a;
    --v-bg:      #f8fafc;
    --v-text:    #0f172a;
    --v-muted:   #64748b;
    --v-card-bg: #ffffff;
    --v-border:  #e2e8f0;
    --v-radius:  16px;
    --v-shadow:  0 10px 30px rgba(15, 23, 42, 0.08);
    --v-shadow-hover: 0 14px 40px rgba(15, 23, 42, 0.14);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--v-bg);
    color: var(--v-text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}
a { color: var(--v-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 24px 20px 60px;
}

.brand-header {
    text-align: center;
    padding: 32px 20px 20px;
}
.brand-header .logo {
    width: 96px;
    height: 96px;
    margin: 0 auto 14px;
    border-radius: 24px;
    object-fit: cover;
    background: var(--v-card-bg);
    border: 1px solid var(--v-border);
    box-shadow: var(--v-shadow);
}
.brand-header h1 {
    margin: 6px 0 4px;
    font-size: 26px;
    letter-spacing: -0.01em;
}
.brand-header .tagline {
    margin: 0;
    color: var(--v-muted);
    font-size: 15px;
}

.people-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
}
.person-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: var(--v-card-bg);
    border: 1px solid var(--v-border);
    border-radius: var(--v-radius);
    box-shadow: var(--v-shadow);
    transition: transform .15s ease, box-shadow .15s ease;
    color: inherit;
}
.person-row:hover { transform: translateY(-1px); box-shadow: var(--v-shadow-hover); text-decoration: none; }
.person-row .avatar {
    width: 56px; height: 56px; border-radius: 50%;
    object-fit: cover; flex: 0 0 auto;
    background: #e2e8f0;
}
.person-row .meta { flex: 1 1 auto; min-width: 0; }
.person-row .meta .name { font-weight: 600; font-size: 17px; }
.person-row .meta .title { color: var(--v-muted); font-size: 14px; }
.person-row .chev { color: var(--v-muted); font-size: 22px; padding-right: 4px; }

.card-hero {
    background: var(--v-card-bg);
    border: 1px solid var(--v-border);
    border-radius: 24px;
    box-shadow: var(--v-shadow);
    padding: 24px 22px 22px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 12px;
}
.card-hero::before {
    content: "";
    position: absolute; inset: 0 0 auto 0; height: 90px;
    background: linear-gradient(135deg, var(--v-primary), var(--v-accent));
    opacity: .95;
    z-index: 0;
}
.card-hero .avatar {
    width: 128px; height: 128px; border-radius: 50%;
    object-fit: cover; margin: 20px auto 12px;
    border: 4px solid var(--v-card-bg);
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
    position: relative; z-index: 1;
    background: #e2e8f0;
}
.card-hero .name { position: relative; z-index: 1; margin: 4px 0 2px; font-size: 24px; letter-spacing: -0.01em; }
.card-hero .title { position: relative; z-index: 1; margin: 0; color: var(--v-muted); font-size: 15px; }
.card-hero .company {
    position: relative; z-index: 1; margin-top: 6px;
    font-size: 13px; color: var(--v-muted);
}

.btn-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 600; font-size: 15px;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform .1s ease, box-shadow .1s ease, opacity .1s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-primary { background: var(--v-primary); color: #fff; }
.btn-accent  { background: var(--v-accent);  color: #fff; }
.btn-outline { background: transparent; color: var(--v-text); border-color: var(--v-border); }
.btn-block   { grid-column: 1 / -1; }

.contact-list {
    margin-top: 18px;
    background: var(--v-card-bg);
    border: 1px solid var(--v-border);
    border-radius: var(--v-radius);
    overflow: hidden;
}
.contact-list a, .contact-list .row {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px;
    color: var(--v-text);
    border-bottom: 1px solid var(--v-border);
    text-decoration: none;
}
.contact-list a:last-child, .contact-list .row:last-child { border-bottom: none; }
.contact-list .icon {
    width: 34px; height: 34px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--v-primary) 12%, transparent);
    color: var(--v-primary);
    flex: 0 0 auto;
    font-size: 17px;
}
.contact-list .label { font-size: 13px; color: var(--v-muted); }
.contact-list .value { font-size: 15px; font-weight: 500; word-break: break-word; }

.socials {
    display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
    margin-top: 18px;
}
.social-btn {
    width: 46px; height: 46px;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--v-card-bg);
    border: 1px solid var(--v-border);
    color: var(--v-text);
    box-shadow: var(--v-shadow);
    transition: transform .1s ease;
    font-size: 20px;
}
.social-btn:hover { transform: translateY(-2px); text-decoration: none; }

.bio { margin-top: 20px; color: var(--v-muted); font-size: 15px; white-space: pre-wrap; }

.footer {
    text-align: center;
    padding: 24px 0 8px;
    font-size: 12px;
    color: var(--v-muted);
}

/* Admin */
.admin-shell { max-width: 1000px; margin: 0 auto; padding: 20px; }
.admin-nav {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 24px; padding: 12px 16px;
    background: #fff; border: 1px solid var(--v-border); border-radius: 12px;
}
.admin-nav .brand { font-weight: 700; }
.admin-nav a { margin-left: 14px; font-size: 14px; }
.card {
    background: #fff; border: 1px solid var(--v-border);
    border-radius: 12px; padding: 20px; margin-bottom: 20px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: #374151; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=url], input[type=color], textarea, select {
    width: 100%; padding: 9px 11px; font: inherit;
    border: 1px solid #cbd5e1; border-radius: 8px;
    background: #fff;
}
input[type=color] { padding: 3px; height: 40px; }
textarea { min-height: 90px; resize: vertical; }
.btn-danger { background: #dc2626; color: #fff; }
.help { color: var(--v-muted); font-size: 12px; margin-top: 4px; }
.flash { padding: 10px 14px; border-radius: 8px; margin-bottom: 16px; }
.flash.success { background: #dcfce7; color: #166534; }
.flash.error   { background: #fee2e2; color: #991b1b; }
table.list { width: 100%; border-collapse: collapse; }
table.list th, table.list td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--v-border); }
table.list th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--v-muted); }
.pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 12px; }
.pill.on { background: #dcfce7; color: #166534; }
.pill.off { background: #fee2e2; color: #991b1b; }

@media (max-width: 640px) {
    .form-grid { grid-template-columns: 1fr; }
    .btn-row { grid-template-columns: 1fr; }
}

/* ---- Marketing site ---- */
.site-nav {
    max-width: 1100px; margin: 0 auto;
    padding: 18px 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.site-nav .brand { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--v-text); }
.site-nav .brand:hover { text-decoration: none; }
.site-nav .brand .dot { color: var(--v-primary); }
.site-nav nav a { margin-left: 22px; color: var(--v-text); font-weight: 500; font-size: 15px; }
.site-nav nav a.cta {
    background: var(--v-primary); color: #fff; padding: 8px 16px; border-radius: 999px;
    font-weight: 600;
}
.site-nav nav a.cta:hover { text-decoration: none; opacity: 0.92; }

.hero {
    max-width: 1100px; margin: 0 auto;
    padding: 60px 24px 40px;
    text-align: center;
}
.hero .eyebrow {
    display: inline-block;
    background: color-mix(in srgb, var(--v-primary) 12%, transparent);
    color: var(--v-primary);
    padding: 6px 14px; border-radius: 999px;
    font-size: 13px; font-weight: 600;
    margin-bottom: 22px;
}
.hero h1 {
    font-size: clamp(34px, 5.5vw, 56px);
    letter-spacing: -0.03em; line-height: 1.05;
    margin: 0 auto 18px; max-width: 780px; font-weight: 800;
}
.hero h1 .grad {
    background: linear-gradient(120deg, var(--v-primary), #6366f1 60%, #ec4899);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead {
    font-size: clamp(16px, 2vw, 19px);
    color: var(--v-muted);
    max-width: 640px; margin: 0 auto 32px;
}
.hero-actions {
    display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
    margin-bottom: 40px;
}
.btn-lg { padding: 14px 22px; font-size: 16px; border-radius: 12px; }

.hero-preview {
    max-width: 380px; margin: 0 auto;
    padding: 24px; border-radius: 24px;
    background: #fff; border: 1px solid var(--v-border);
    box-shadow: 0 30px 80px -20px rgba(15, 23, 42, 0.25);
    position: relative;
}
.hero-preview::before {
    content: ""; position: absolute; inset: -1px;
    background: linear-gradient(135deg, var(--v-primary), #ec4899);
    border-radius: 24px; z-index: -1; opacity: 0.35; filter: blur(24px);
}

.section {
    max-width: 1100px; margin: 0 auto;
    padding: 60px 24px;
}
.section h2 {
    font-size: clamp(26px, 3.5vw, 36px);
    letter-spacing: -0.02em; margin: 0 0 10px; text-align: center;
    font-weight: 800;
}
.section .sub {
    text-align: center; color: var(--v-muted); max-width: 620px; margin: 0 auto 40px; font-size: 17px;
}

.features {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.feature {
    background: #fff; border: 1px solid var(--v-border); border-radius: 16px;
    padding: 24px;
}
.feature .icon {
    width: 42px; height: 42px; border-radius: 12px;
    background: color-mix(in srgb, var(--v-primary) 14%, transparent);
    color: var(--v-primary);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 20px; margin-bottom: 14px;
}
.feature h3 { margin: 0 0 6px; font-size: 17px; }
.feature p { margin: 0; color: var(--v-muted); font-size: 14px; }

.steps {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
    margin-top: 40px;
}
.step {
    text-align: center; padding: 0 6px;
}
.step .n {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--v-primary); color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; margin-bottom: 12px;
}
.step h4 { margin: 0 0 4px; font-size: 15px; }
.step p { margin: 0; color: var(--v-muted); font-size: 13px; }

.pricing-card {
    max-width: 460px; margin: 0 auto;
    background: #fff; border: 1px solid var(--v-border);
    border-radius: 24px; padding: 32px;
    box-shadow: 0 20px 60px -20px rgba(15, 23, 42, 0.15);
    text-align: center;
}
.pricing-card .plan-name { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--v-primary); }
.pricing-card .price { font-size: 56px; font-weight: 800; letter-spacing: -0.03em; margin: 8px 0 0; }
.pricing-card .price .cur { font-size: 26px; vertical-align: super; margin-right: 2px; }
.pricing-card .price .per { font-size: 16px; color: var(--v-muted); font-weight: 500; margin-left: 4px; }
.pricing-card ul { list-style: none; padding: 0; margin: 22px 0 24px; text-align: left; }
.pricing-card ul li { padding: 8px 0; border-bottom: 1px solid var(--v-border); font-size: 15px; }
.pricing-card ul li:last-child { border-bottom: none; }
.pricing-card ul li::before { content: "✓ "; color: var(--v-primary); font-weight: 700; margin-right: 4px; }

.site-footer {
    border-top: 1px solid var(--v-border);
    margin-top: 60px; padding: 30px 24px; text-align: center;
    color: var(--v-muted); font-size: 14px;
}
.site-footer a { margin: 0 10px; }

.banner {
    padding: 12px 16px; border-radius: 10px; margin-bottom: 16px;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    font-size: 14px;
}
.banner.trial   { background: #fef3c7; color: #78350f; border: 1px solid #fcd34d; }
.banner.paid    { background: #dcfce7; color: #14532d; border: 1px solid #86efac; }
.banner.expired { background: #fee2e2; color: #7f1d1d; border: 1px solid #fca5a5; }
.banner .btn { padding: 6px 12px; font-size: 13px; }

@media (max-width: 800px) {
    .features { grid-template-columns: 1fr; }
    .steps    { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .steps    { grid-template-columns: 1fr; }
    .site-nav nav a { margin-left: 12px; font-size: 14px; }
}

