:root {
    --ink: #07342c;
    --ink-soft: #0e4f43;
    --paper: #f3fbf6;
    --paper-2: #ffffff;
    --cream: #07342c;
    --green: #25D366;
    --green-deep: #128C7E;
    --moss: #075E54;
    --line: rgba(7, 94, 84, 0.14);
    --text: #14352d;
    --muted: #5c756c;
    --danger: #c43b4b;
    --ok: #128C7E;
    --shadow: 0 24px 60px rgba(7, 52, 44, 0.08);
    --radius: 22px;
    --font: "Manrope", sans-serif;
    --display: "Big Shoulders Display", sans-serif;
    --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background:
        radial-gradient(900px 480px at 88% -8%, rgba(37, 211, 102, 0.18), transparent 46%),
        radial-gradient(760px 420px at 0% 8%, rgba(18, 140, 126, 0.1), transparent 42%),
        linear-gradient(180deg, #f7fdf9 0%, #f3fbf6 48%, #eef8f2 100%);
    color: var(--text);
    font-family: var(--font);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.55;
    min-height: 100vh;
}
img { max-width: 100%; }
a { color: var(--green-deep); }
button, input, select, textarea { font: inherit; color: inherit; }
.sr-only, .skip-link {
    position: absolute;
    left: -999px;
    top: 0;
}
.skip-link:focus {
    left: 16px;
    top: 16px;
    background: var(--ink);
    color: #fff;
    padding: 8px 12px;
    z-index: 20;
}
.wrap {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(18px);
    background: rgba(247, 253, 249, 0.86);
    border-bottom: 1px solid var(--line);
}
.header-inner, .footer-inner, .hero-grid, .split, .dash-grid {
    display: grid;
    gap: 24px;
}
.header-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    min-height: 76px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.04em;
}
.brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--green);
    color: #07342c;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}
.brand-tld { color: var(--green-deep); }
.brand-text { white-space: nowrap; }
.site-nav {
    display: flex;
    align-items: center;
    gap: 18px;
}
.site-nav a {
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
}
.nav-cta, .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 0;
    border-radius: 999px;
    padding: 11px 18px;
    background: #fff;
    color: var(--ink);
    text-decoration: none;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 1px 0 rgba(7, 52, 44, 0.04);
}
.site-nav a.nav-cta,
.btn-copper {
    background: var(--green);
    color: #07342c;
}
.site-nav a.nav-cta:hover,
.btn-copper:hover { background: #3ee07a; }
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--line);
    box-shadow: none;
}
.site-nav a.nav-ghost {
    background: none;
    border: 0;
    padding: 0;
    color: var(--ink);
    box-shadow: none;
}
.nav-name {
    color: var(--ink);
    font-weight: 700;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.btn-danger { background: var(--danger); color: #fff; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.nav-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 22px;
}
.flash-stack { display: grid; gap: 10px; margin: 16px auto 0; }
.flash {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(18, 140, 126, 0.12);
    color: var(--moss);
}
.flash-error { background: rgba(196, 59, 75, 0.1); color: #8d2432; }
.hero { position: relative; overflow: hidden; padding: 88px 0 56px; }
.hero-glow, .hero-gridlines {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.hero-glow {
    background:
        radial-gradient(420px 280px at 72% 42%, rgba(37, 211, 102, 0.22), transparent 70%),
        radial-gradient(380px 260px at 18% 20%, rgba(18, 140, 126, 0.12), transparent 68%);
    animation: glow-drift 14s ease-in-out infinite alternate;
}
.hero-gridlines {
    background-image:
        linear-gradient(rgba(7, 94, 84, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7, 94, 84, 0.06) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(circle at 60% 40%, #000 20%, transparent 72%);
    animation: grid-pan 22s linear infinite;
}
.page-home .hero-grid {
    position: relative;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
}
.hero-copy > * { animation: rise-in 0.8s ease both; }
.hero-copy .eyebrow { animation-delay: 0.05s; }
.hero-copy h1 { animation-delay: 0.14s; }
.hero-copy .lede { animation-delay: 0.24s; }
.hero-copy .hero-actions { animation-delay: 0.34s; }
.hero-copy .hero-metrics { animation-delay: 0.44s; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--green-deep);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 11px;
}
h1, h2, h3, .display {
    font-family: var(--display);
    letter-spacing: -0.02em;
    line-height: 0.92;
    margin: 0 0 12px;
    color: var(--ink);
}
h1 { font-size: clamp(56px, 8vw, 104px); font-weight: 900; }
h2 { font-size: clamp(36px, 4.5vw, 64px); font-weight: 800; }
h3 { font-size: 26px; font-weight: 800; }
.lede { font-size: 17px; font-weight: 500; }
.lede, .muted { color: var(--muted); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    animation: pulse 1.8s ease-out infinite;
}
.hero-metrics {
    display: flex;
    gap: 22px;
    list-style: none;
    padding: 0;
    margin: 32px 0 0;
}
.hero-metrics strong, .hero-metrics span { display: block; }
.hero-metrics strong {
    font-family: var(--display);
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
}
.hero-metrics span { color: var(--muted); font-size: 12px; }
.hero-stage {
    position: relative;
    justify-self: end;
    width: min(420px, 100%);
    animation: float-y 7s ease-in-out infinite;
}
.hero-photo {
    width: 100%;
    border-radius: 28px;
    display: block;
    box-shadow: 0 30px 70px rgba(7, 52, 44, 0.16), 0 0 0 1px rgba(18, 140, 126, 0.16);
}
.scanline {
    position: absolute;
    left: 12%;
    right: 12%;
    height: 2px;
    top: 18%;
    background: linear-gradient(90deg, transparent, rgba(37, 211, 102, 0.95), transparent);
    animation: scan 3.6s ease-in-out infinite;
}
.float-chip {
    position: absolute;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(37, 211, 102, 0.45);
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(7, 52, 44, 0.08);
}
.chip-a { left: -8px; bottom: 22%; animation: float-y 5.5s ease-in-out infinite reverse; }
.chip-b { right: -6px; top: 18%; animation: float-y 6.2s ease-in-out infinite; }
.float-chip i { color: var(--green-deep); }
.marquee {
    overflow: hidden;
    border-block: 1px solid var(--line);
    background: rgba(37, 211, 102, 0.08);
}
.marquee-track {
    display: flex;
    gap: 28px;
    width: max-content;
    padding: 14px 0;
    animation: marquee 28s linear infinite;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}
.marquee-arrow, .marquee-dot { color: var(--green-deep); }
.section { padding: 72px 0; }
.photo-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px;
}
.photo-card-lg {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.35s ease, border-color 0.35s ease;
}
.photo-card-lg:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 211, 102, 0.55);
}
.photo-card-lg img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.photo-card-lg div { padding: 18px 18px 20px; }
.photo-card-signal { display: flex; flex-direction: column; }
.signal-diagram {
    height: 220px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 14px;
    background:
        radial-gradient(180px 120px at 50% 40%, rgba(37, 211, 102, 0.2), transparent 70%),
        #f7fdf9;
}
.signal-node, .signal-split span {
    border: 1px solid rgba(18, 140, 126, 0.35);
    border-radius: 999px;
    padding: 8px 14px;
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #fff;
}
.signal-line {
    width: 2px;
    height: 36px;
    background: linear-gradient(var(--green), var(--green-deep));
    position: relative;
}
.signal-line:after {
    content: "";
    position: absolute;
    left: -3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-deep);
    animation: drop 1.6s ease-in-out infinite;
}
.signal-split { display: flex; gap: 10px; }
.route-band {
    position: relative;
    min-height: 420px;
    display: grid;
    align-items: end;
    overflow: hidden;
}
.route-band img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    animation: kenburns 18s ease-in-out infinite alternate;
}
.route-band:after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(243, 251, 246, 0.05), rgba(243, 251, 246, 0.92));
}
.route-band-copy { position: relative; z-index: 1; padding: 48px 0; }
.share-list {
    display: grid;
    gap: 14px;
    margin-top: 28px;
}
.share-list article {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 16px;
    align-items: start;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: #fff;
}
.share-list i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(37, 211, 102, 0.16);
    color: var(--moss);
}
.card, .panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}
.auth-shell {
    width: min(520px, calc(100% - 32px));
    margin: 48px auto 72px;
}
.auth-shell h1 { font-size: clamp(48px, 7vw, 72px); }
.form-grid { display: grid; gap: 14px; }
label, .field { font-weight: 600; display: grid; gap: 6px; }
input[type="text"], input[type="email"], input[type="password"], input[type="url"], select, textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: #fbfefc;
    border-radius: 14px;
    padding: 12px 14px;
    color: var(--text);
}
textarea { min-height: 120px; resize: vertical; }
.help { font-size: 12px; color: var(--muted); font-weight: 500; }
.mono { font-family: var(--mono); font-size: 12px; font-weight: 400; }
input.is-locked { background: #f3f7f5; color: var(--ink-soft); }
.campaign-box {
    display: grid;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #f7fdf9;
}
.campaign-box h3 { margin: 0; font-size: 22px; }
.campaign-box p { margin: 0; }
.type-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    border: 0;
    margin: 0;
    padding: 0;
}
.type-switch legend {
    grid-column: 1 / -1;
    font-weight: 700;
    margin-bottom: 2px;
}
.type-option {
    display: block;
    font-weight: 650;
}
.type-option input { position: absolute; opacity: 0; }
.type-option span {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fbfefc;
}
.type-option input:checked + span {
    border-color: var(--green-deep);
    background: rgba(37, 211, 102, 0.16);
}
.type-option input:focus-visible + span { outline: 2px solid var(--green-deep); }
.notice {
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(37, 211, 102, 0.14);
    color: var(--moss);
}
.dash-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 28px 0;
}
.dash-nav a {
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    font-weight: 650;
    font-size: 13px;
    color: var(--ink);
}
.dash-nav a.is-active {
    background: var(--green);
    border-color: var(--green);
    color: #07342c;
}
.dash-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 18px;
}
.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 8px;
}
.stat-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px 18px;
}
.stat-card span { color: var(--muted); font-size: 12px; }
.stat-card strong {
    display: block;
    margin-top: 4px;
    font-family: var(--display);
    font-size: 32px;
    font-weight: 650;
    letter-spacing: -0.03em;
    color: var(--ink);
}
.stat-note { margin: 0 0 18px; }
.link-list { display: grid; gap: 14px; }
.link-card-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}
.link-card h3 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.visit-count { margin: 0; color: var(--muted); white-space: nowrap; }
.visit-count strong {
    color: var(--ink);
    font-family: var(--display);
    font-size: 28px;
    font-weight: 650;
}
.stat-line { margin: 4px 0 0; }
.row-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
.inline-form { display: inline; }
.btn-small { padding: 8px 12px; font-size: 13px; }
.badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(37, 211, 102, 0.18);
    color: var(--moss);
    font-family: var(--font);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0;
}
.badge-paused { background: rgba(7, 52, 44, 0.08); color: var(--muted); }
.key-box { display: flex; gap: 8px; align-items: center; }
.key-box input { flex: 1; }
.icon-btn {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.18);
    color: var(--moss);
    cursor: pointer;
}
.check-row { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; }
.check-row input { width: auto; margin-top: 4px; }
.empty {
    padding: 28px;
    text-align: center;
    color: var(--muted);
    border: 1px dashed var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
}
.site-footer {
    border-top: 1px solid var(--line);
    padding: 36px 0 48px;
    margin-top: 40px;
}
.footer-inner { grid-template-columns: 1.4fr 1fr; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { text-decoration: none; color: var(--muted); }
.footer-links a:hover { color: var(--green-deep); }
.footer-copy { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
.page-doc h1 { font-size: clamp(48px, 6vw, 80px); }
.page-doc .panel h2 { margin-top: 22px; font-size: 32px; }
.page-dashboard { padding-bottom: 48px; }
::placeholder { color: #8aa399; }

.page-landing {
    background:
        radial-gradient(520px 280px at 50% -10%, rgba(37, 211, 102, 0.28), transparent 60%),
        linear-gradient(180deg, #e9f8ee 0%, #f7fdf9 40%, #f3fbf6 100%);
}
.landing-stage {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px 16px;
}
.landing-card {
    width: min(440px, 100%);
    background: #fff;
    border-radius: 28px;
    padding: 28px 24px 22px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(7, 52, 44, 0.1);
    border: 1px solid rgba(18, 140, 126, 0.12);
}
.landing-card h1 {
    font-family: var(--font);
    font-size: 32px;
    line-height: 1.15;
    letter-spacing: -0.03em;
    font-weight: 800;
}
.landing-mark {
    width: 84px;
    height: 84px;
    margin: 0 auto 8px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    background: var(--green);
    color: #07342c;
    font-size: 40px;
}
.landing-photo {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 24px;
    margin-bottom: 8px;
}
.landing-body {
    color: var(--ink-soft);
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 22px;
    white-space: pre-line;
}
.landing-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 56px;
    border-radius: 16px;
    background: var(--green);
    color: #07342c;
    text-decoration: none;
    font-weight: 800;
    font-size: 17px;
}
.landing-button:hover { background: #3ee07a; }
.landing-button i { font-size: 22px; }
.landing-paused, .landing-preview {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 13px;
}
.landing-preview {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(37, 211, 102, 0.16);
    color: var(--moss);
    font-weight: 700;
}
.powered { margin: 18px 0 0; color: var(--muted); font-size: 12px; }
.powered a { color: inherit; }

@keyframes rise-in {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: none; }
}
@keyframes float-y {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
    100% { box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
}
@keyframes scan {
    0%, 100% { top: 16%; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    50% { top: 78%; }
}
@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@keyframes glow-drift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-24px, 16px, 0); }
}
@keyframes grid-pan {
    from { background-position: 0 0, 0 0; }
    to { background-position: 56px 56px, 56px 56px; }
}
@keyframes drop {
    0% { top: 0; opacity: 0; }
    20% { opacity: 1; }
    100% { top: 28px; opacity: 0; }
}
@keyframes kenburns {
    from { transform: scale(1.04) translate3d(0, 0, 0); }
    to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); }
}
@media (max-width: 860px) {
    .page-home .hero-grid, .photo-grid-3, .footer-inner, .type-switch, .stat-grid { grid-template-columns: 1fr; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .nav-toggle { display: block; }
    .site-nav {
        display: none;
        position: absolute;
        inset: 76px 16px auto;
        flex-direction: column;
        align-items: flex-start;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 18px;
        padding: 16px;
        box-shadow: var(--shadow);
    }
    .site-nav.is-open { display: flex; }
    .hero-stage { justify-self: center; }
    .chip-a { left: 8px; }
    .chip-b { right: 8px; }
    .hero-metrics, .dash-head, .link-card-top { flex-wrap: wrap; }
    .dash-head, .link-card-top { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-copy > *, .hero-stage, .hero-glow, .hero-gridlines, .scanline,
    .float-chip, .marquee-track, .pulse-dot, .route-band img, .signal-line:after {
        animation: none;
    }
}
