* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--site-bg, #f3f5ef);
    color: var(--site-ink, #111411);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.55;
}

body.nav-open {
    overflow: hidden;
}

::selection {
    background: var(--site-accent);
    color: #111411;
}

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

img {
    display: block;
    max-width: 100%;
}

.site-header,
.dashboard-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    min-height: 70px;
    padding: 12px clamp(16px, 4vw, 54px);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    background: rgba(14, 19, 16, .94);
    color: #f7fff9;
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    color: inherit;
    font-weight: 900;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 8px;
    background: var(--site-primary);
    color: #fff;
    font-size: 15px;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.site-nav a,
.dashboard-header-actions a {
    border-radius: 7px;
    padding: 9px 12px;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.site-nav a:hover,
.dashboard-header-actions a:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.site-nav .nav-cta {
    margin-left: 4px;
    background: var(--site-secondary);
    color: #fff;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 8px;
    padding: 9px;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 99px;
    background: #fff;
    transition: transform .22s ease, opacity .22s ease;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--site-primary);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button.primary {
    background: var(--site-primary);
    color: #fff;
}

.button.secondary {
    border-color: var(--site-line);
    background: transparent;
    color: inherit;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-band {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .72fr);
    gap: clamp(32px, 7vw, 100px);
    align-items: center;
    min-height: min(820px, calc(100vh - 70px));
    padding: clamp(54px, 8vw, 110px) max(18px, calc((100% - 1240px) / 2));
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 84px 84px,
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 84px 84px,
        #0e1310;
    color: #f8fff9;
}

.hero-copy {
    max-width: 760px;
}

.hero-copy .eyebrow {
    color: var(--site-accent);
}

.hero-copy h1 {
    max-width: 820px;
    margin: 0;
    font-size: clamp(54px, 7vw, 98px);
    line-height: .94;
    letter-spacing: 0;
}

.hero-intro {
    max-width: 670px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .7);
    font-size: 19px;
}

.claim-form {
    max-width: 720px;
    margin-top: 32px;
}

.claim-form > label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    font-weight: 800;
}

.claim-row {
    display: grid;
    grid-template-columns: auto minmax(120px, 1fr) auto;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 8px;
    background: #fff;
    color: #111411;
}

.claim-row span {
    padding-left: 15px;
    color: #657067;
    font-size: 14px;
    font-weight: 800;
}

.claim-row input {
    min-width: 0;
    border: 0;
    padding: 15px 8px;
    outline: 0;
    background: transparent;
    color: #111411;
    font-weight: 800;
}

.claim-row button {
    align-self: stretch;
    border: 0;
    padding: 12px 18px;
    background: var(--site-secondary);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.hero-proof span {
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 7px;
    padding: 6px 9px;
    color: rgba(255, 255, 255, .64);
    font-size: 12px;
    font-weight: 800;
}

.profile-showcase {
    position: relative;
    width: min(100%, 430px);
    justify-self: end;
    border: 1px solid rgba(255, 255, 255, .17);
    border-radius: 8px;
    padding: 22px;
    background: #18362f;
    box-shadow: 24px 24px 0 var(--site-secondary);
    text-align: center;
}

.showcase-topline {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 18px;
    color: rgba(255, 255, 255, .56);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .06em;
}

.showcase-avatar {
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    margin: 4px auto 14px;
    border: 3px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    background: var(--site-accent);
    color: #172019;
    font-size: 24px;
    font-weight: 900;
}

.profile-showcase h2 {
    margin: 0;
    font-size: 30px;
}

.profile-showcase > p {
    max-width: 300px;
    margin: 8px auto 20px;
    color: rgba(255, 255, 255, .66);
    font-size: 14px;
}

.profile-showcase > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 9px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 7px;
    padding: 13px 14px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-weight: 800;
    text-align: left;
    text-decoration: none;
}

.profile-showcase > a span {
    color: var(--site-accent);
    font-size: 11px;
}

.showcase-socials {
    display: flex;
    justify-content: center;
    gap: 7px;
    margin-top: 18px;
}

.showcase-socials span {
    display: grid;
    place-items: center;
    min-width: 34px;
    height: 30px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .12);
    font-size: 10px;
    font-weight: 900;
}

.signal-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--site-line);
    background: var(--site-accent);
    color: #111411;
}

.signal-strip span {
    padding: 17px 12px;
    border-right: 1px solid rgba(17, 20, 17, .2);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .06em;
    text-align: center;
}

.section {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(64px, 9vw, 112px) 0;
}

.section-heading {
    max-width: 770px;
    margin-bottom: 38px;
}

.section-heading h2,
.seo-band h2 {
    margin: 0;
    font-size: clamp(38px, 6vw, 72px);
    line-height: .98;
    letter-spacing: 0;
}

.section-heading > p:last-child {
    max-width: 680px;
    color: color-mix(in srgb, var(--site-ink) 65%, transparent);
    font-size: 17px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--site-line);
    border-bottom: 1px solid var(--site-line);
}

.feature-item {
    min-height: 270px;
    padding: 26px;
    border-right: 1px solid var(--site-line);
}

.feature-item:last-child {
    border-right: 0;
}

.feature-item > span {
    color: var(--site-secondary);
    font-size: 12px;
    font-weight: 900;
}

.feature-item h3 {
    margin: 72px 0 8px;
    font-size: 24px;
}

.feature-item p {
    margin: 0;
    color: color-mix(in srgb, var(--site-ink) 66%, transparent);
}

.examples-section {
    width: 100%;
    max-width: none;
    padding-right: max(18px, calc((100% - 1180px) / 2));
    padding-left: max(18px, calc((100% - 1180px) / 2));
    background: #0f1411;
    color: #f8fff9;
}

.examples-section .eyebrow {
    color: var(--site-accent);
}

.example-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.example-profile {
    min-height: 470px;
    border-radius: 8px;
    padding: 22px;
}

.example-dark {
    background: #1a332d;
    color: #f4fff9;
}

.example-light {
    background: #f4eddf;
    color: #211d17;
}

.example-color {
    background: #ff7457;
    color: #25120e;
}

.example-tag {
    display: inline-flex;
    border: 1px solid currentColor;
    border-radius: 7px;
    padding: 5px 8px;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.example-initial {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    margin: 52px auto 14px;
    border: 2px solid currentColor;
    border-radius: 50%;
    font-size: 22px;
    font-weight: 900;
}

.example-profile h3,
.example-profile > p {
    text-align: center;
}

.example-profile h3 {
    margin: 0;
    font-size: 26px;
}

.example-profile > p {
    margin: 6px 0 24px;
    opacity: .7;
}

.example-link {
    display: block;
    margin-top: 9px;
    border: 1px solid currentColor;
    border-radius: 7px;
    padding: 13px;
    font-weight: 800;
    text-align: center;
}

.seo-band {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(30px, 7vw, 90px);
    align-items: start;
}

.seo-band p {
    color: color-mix(in srgb, var(--site-ink) 68%, transparent);
    font-size: 17px;
}

.text-link {
    display: inline-flex;
    margin-top: 12px;
    border-bottom: 2px solid var(--site-secondary);
    color: inherit;
    font-weight: 900;
    text-decoration: none;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 38px clamp(18px, 4vw, 54px);
    background: #0e1310;
    color: #f8fff9;
}

.site-footer p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, .58);
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.site-footer a {
    color: rgba(255, 255, 255, .76);
    font-weight: 800;
    text-decoration: none;
}

.auth-shell,
.install-shell {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(420px, .62fr);
    min-height: calc(100vh - 70px);
}

.auth-copy,
.install-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(42px, 8vw, 110px);
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 70px 70px,
        #0f1511;
    color: #f8fff9;
}

.auth-copy .eyebrow,
.install-intro .eyebrow {
    color: var(--site-accent);
}

.auth-copy h1,
.install-intro h1 {
    max-width: 720px;
    margin: 0;
    font-size: clamp(46px, 7vw, 82px);
    line-height: .96;
}

.auth-copy > p:last-of-type,
.install-intro > p:last-of-type {
    max-width: 620px;
    color: rgba(255, 255, 255, .66);
    font-size: 17px;
}

.auth-url-preview {
    width: fit-content;
    margin-top: 22px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, .06);
    color: rgba(255, 255, 255, .62);
}

.auth-url-preview strong {
    color: var(--site-accent);
}

.auth-panel,
.install-panel {
    align-self: center;
    width: min(100% - 32px, 640px);
    margin: 32px auto;
    padding: clamp(24px, 5vw, 42px);
    border: 1px solid var(--site-line);
    border-radius: 8px;
    background: color-mix(in srgb, var(--site-bg) 90%, white 10%);
}

.auth-panel h2 {
    margin: 0 0 20px;
    font-size: 36px;
}

.form-stack,
.installer-form,
.editor-panel,
.account-form {
    display: grid;
    gap: 15px;
}

label {
    display: grid;
    gap: 7px;
    font-size: 13px;
    font-weight: 900;
}

input,
select,
textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid var(--site-line);
    border-radius: 8px;
    padding: 11px 12px;
    background: #fff;
    color: #111411;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 2px solid color-mix(in srgb, var(--site-primary) 30%, transparent);
    border-color: var(--site-primary);
}

fieldset {
    display: grid;
    gap: 14px;
    min-width: 0;
    margin: 0;
    border: 1px solid var(--site-line);
    border-radius: 8px;
    padding: 16px;
}

legend {
    padding: 0 7px;
    font-weight: 900;
}

.form-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.form-note {
    margin: 18px 0 0;
    color: color-mix(in srgb, var(--site-ink) 62%, transparent);
    font-size: 14px;
}

.form-note a {
    color: var(--site-primary);
    font-weight: 900;
}

.notice {
    margin-bottom: 14px;
    border: 1px solid;
    border-radius: 8px;
    padding: 11px 13px;
    font-weight: 800;
}

.notice.success {
    border-color: #67b596;
    background: #e2f5ec;
    color: #164d3b;
}

.notice.error {
    border-color: #df8b83;
    background: #fff0ee;
    color: #73251d;
}

.simple-shell {
    min-height: 70vh;
    padding: clamp(48px, 8vw, 90px) 18px;
}

.simple-panel {
    width: min(760px, 100%);
    margin: 0 auto;
    border-top: 5px solid var(--site-primary);
    padding: clamp(24px, 5vw, 44px);
    background: color-mix(in srgb, var(--site-bg) 88%, white 12%);
}

.simple-panel h1 {
    margin: 0 0 24px;
    font-size: clamp(40px, 6vw, 66px);
    line-height: 1;
}

.simple-panel h2 {
    margin-top: 34px;
}

.public-profile-body {
    min-height: 100vh;
    background: #0f1411;
}

.public-profile {
    position: relative;
    display: grid;
    min-height: 100vh;
    place-items: start center;
    overflow: hidden;
    padding: 28px 16px 50px;
    background: var(--profile-bg);
    color: var(--profile-text);
}

.profile-ambient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--profile-accent) 10%, transparent) 1px, transparent 1px) 0 0 / 72px 72px,
        linear-gradient(color-mix(in srgb, var(--profile-accent) 10%, transparent) 1px, transparent 1px) 0 0 / 72px 72px;
}

.profile-shell {
    position: relative;
    z-index: 1;
    width: min(620px, 100%);
    text-align: center;
}

.profile-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 34px;
}

.profile-actions a,
.profile-actions button {
    border: 1px solid color-mix(in srgb, var(--profile-text) 22%, transparent);
    border-radius: 8px;
    padding: 8px 10px;
    background: color-mix(in srgb, var(--profile-panel) 84%, transparent);
    color: var(--profile-text);
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.profile-avatar {
    width: 104px;
    height: 104px;
    margin: 0 auto 18px;
    border: 3px solid color-mix(in srgb, var(--profile-accent) 65%, transparent);
    border-radius: 50%;
    object-fit: cover;
}

.profile-avatar-fallback {
    display: grid;
    place-items: center;
    background: var(--profile-accent);
    color: var(--profile-bg);
    font-size: 28px;
    font-weight: 900;
}

.profile-shell h1 {
    margin: 0;
    font-size: clamp(34px, 8vw, 54px);
    line-height: 1;
}

.profile-handle {
    margin: 8px 0 0;
    color: var(--profile-accent);
    font-weight: 900;
}

.profile-bio {
    max-width: 500px;
    margin: 16px auto 0;
    color: var(--profile-muted);
}

.profile-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 22px 0;
}

.profile-socials a {
    display: grid;
    place-items: center;
    min-width: 42px;
    height: 38px;
    border: 1px solid color-mix(in srgb, var(--profile-text) 20%, transparent);
    border-radius: 8px;
    background: color-mix(in srgb, var(--profile-panel) 82%, transparent);
    color: var(--profile-text);
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
}

.profile-links {
    display: grid;
    gap: 11px;
    margin-top: 26px;
}

.profile-link-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 58px;
    border: 1px solid color-mix(in srgb, var(--profile-text) 20%, transparent);
    border-radius: 8px;
    padding: 13px 16px;
    background: var(--profile-panel);
    color: var(--profile-text);
    font-weight: 900;
    text-align: left;
    text-decoration: none;
    box-shadow: 7px 7px 0 color-mix(in srgb, var(--profile-accent) 38%, transparent);
    transition: transform .2s ease, box-shadow .2s ease;
}

.profile-link-button:hover {
    transform: translate(-2px, -2px);
    box-shadow: 10px 10px 0 color-mix(in srgb, var(--profile-accent) 48%, transparent);
}

.profile-links small {
    color: var(--profile-accent);
}

.button-style-outline .profile-link-button {
    background: transparent;
    border-color: var(--profile-accent);
    box-shadow: none;
}

.button-style-soft .profile-link-button {
    border-color: transparent;
    background: color-mix(in srgb, var(--profile-accent) 18%, var(--profile-panel));
    box-shadow: none;
}

.profile-link-image {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--profile-text) 22%, transparent);
    border-radius: 8px;
    background: var(--profile-panel);
    box-shadow: 7px 7px 0 color-mix(in srgb, var(--profile-accent) 38%, transparent);
    line-height: 0;
    transition: transform .2s ease, box-shadow .2s ease;
}

.profile-link-image img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.profile-link-image:hover,
.profile-link-image:focus-visible {
    transform: translate(-2px, -2px);
    box-shadow: 10px 10px 0 color-mix(in srgb, var(--profile-accent) 48%, transparent);
}

.profile-empty {
    border: 1px dashed color-mix(in srgb, var(--profile-text) 30%, transparent);
    border-radius: 8px;
    padding: 24px;
    color: var(--profile-muted);
}

.profile-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 42px;
    color: var(--profile-muted);
    font-size: 11px;
}

.profile-footer a {
    color: inherit;
}

.dashboard-header {
    position: sticky;
    grid-template-columns: 1fr auto;
}

.dashboard-header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dashboard-shell,
.admin-shell {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 20px;
    width: min(1460px, calc(100% - 28px));
    margin: 22px auto 70px;
}

.dashboard-sidebar,
.admin-sidebar {
    position: sticky;
    top: 92px;
    align-self: start;
    border: 1px solid var(--site-line);
    border-radius: 8px;
    padding: 20px;
    background: color-mix(in srgb, var(--site-bg) 88%, white 12%);
}

.dashboard-sidebar h1,
.admin-sidebar h1 {
    margin: 0;
    font-size: 25px;
    overflow-wrap: anywhere;
}

.copy-url {
    width: 100%;
    margin-top: 16px;
    border: 1px solid var(--site-line);
    border-radius: 8px;
    padding: 10px;
    background: transparent;
    color: inherit;
    font-weight: 900;
    cursor: pointer;
}

.stat-grid {
    display: grid;
    gap: 8px;
    margin: 18px 0;
}

.stat-grid article {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    border-top: 1px solid var(--site-line);
    padding-top: 9px;
}

.stat-grid strong {
    font-size: 22px;
}

.stat-grid span {
    color: color-mix(in srgb, var(--site-ink) 60%, transparent);
    font-size: 12px;
}

.dashboard-nav,
.admin-nav {
    display: grid;
    gap: 4px;
}

.dashboard-nav a,
.admin-nav a {
    display: flex;
    justify-content: space-between;
    border-radius: 7px;
    padding: 9px 10px;
    color: inherit;
    font-weight: 800;
    text-decoration: none;
}

.dashboard-nav a:hover,
.admin-nav a:hover,
.admin-nav a.active {
    background: var(--site-primary);
    color: #fff;
}

.dashboard-content,
.admin-content {
    min-width: 0;
}

.dashboard-section,
.admin-section {
    margin-bottom: 20px;
    border: 1px solid var(--site-line);
    border-radius: 8px;
    padding: clamp(18px, 3vw, 28px);
    background: color-mix(in srgb, var(--site-bg) 88%, white 12%);
}

.dashboard-section-heading,
.admin-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.dashboard-section-heading h2,
.admin-section-heading h2 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1;
}

.dashboard-section-heading > span,
.admin-section-heading > span {
    color: color-mix(in srgb, var(--site-ink) 58%, transparent);
    font-size: 13px;
    font-weight: 800;
}

.editor-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, .7fr);
    gap: 20px;
    align-items: start;
}

.editor-panel {
    min-width: 0;
}

.check-row {
    display: flex;
    align-items: center;
    gap: 9px;
}

.check-row input {
    width: auto;
}

.dashboard-preview {
    position: sticky;
    top: 92px;
    min-height: 520px;
    border-radius: 8px;
    padding: 22px;
    background: #0d1715;
    color: #f3fff9;
    text-align: center;
}

.preview-label {
    display: block;
    margin-bottom: 30px;
    color: #66e6bd;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
}

.preview-avatar {
    display: grid;
    place-items: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 14px;
    overflow: hidden;
    border: 2px solid #66e6bd;
    border-radius: 50%;
    background: #66e6bd;
    color: #0d1715;
    font-size: 22px;
    font-weight: 900;
}

.preview-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dashboard-preview h3 {
    margin: 0;
    font-size: 28px;
}

.dashboard-preview > p {
    margin: 7px auto 22px;
    color: rgba(255, 255, 255, .66);
    font-size: 13px;
}

.preview-links {
    display: grid;
    gap: 8px;
}

.preview-links span {
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 7px;
    padding: 11px;
    background: rgba(255, 255, 255, .07);
    font-size: 12px;
    font-weight: 800;
}

.preview-links .preview-image-block {
    display: block;
    width: 100%;
    overflow: hidden;
    padding: 0;
}

.preview-image-block img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.add-link-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: end;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--site-line);
    padding-bottom: 20px;
}

.block-type-fieldset {
    grid-column: 1 / -1;
    margin: 0;
    border: 0;
    padding: 0;
}

.block-type-fieldset legend {
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 900;
}

.segmented-control {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(96px, 1fr));
    overflow: hidden;
    border: 1px solid var(--site-line);
    border-radius: 7px;
    background: color-mix(in srgb, var(--site-bg) 72%, white);
}

.segmented-control label {
    position: relative;
    cursor: pointer;
}

.segmented-control input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.segmented-control span {
    display: grid;
    place-items: center;
    min-height: 42px;
    padding: 8px 16px;
    color: color-mix(in srgb, var(--site-ink) 66%, transparent);
    font-size: 12px;
    font-weight: 900;
}

.segmented-control label + label span {
    border-left: 1px solid var(--site-line);
}

.segmented-control input:checked + span {
    background: var(--site-ink);
    color: var(--site-bg);
}

.segmented-control input:focus-visible + span {
    outline: 2px solid var(--site-primary);
    outline-offset: -3px;
}

.image-url-field.is-hidden {
    display: none;
}

.add-link-form > .button {
    justify-self: start;
}

.link-editor-list {
    display: grid;
    gap: 12px;
}

.link-editor-item {
    border: 1px solid var(--site-line);
    border-radius: 8px;
    padding: 15px;
}

.link-editor-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.link-editor-meta span {
    color: color-mix(in srgb, var(--site-ink) 58%, transparent);
    font-size: 12px;
}

.block-type-badge {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    margin-left: 7px;
    border: 1px solid var(--site-line);
    border-radius: 5px;
    padding: 2px 6px;
    color: var(--site-primary);
    font-size: 9px;
    font-weight: 900;
    vertical-align: middle;
}

.link-edit-form {
    display: grid;
    grid-template-columns: .7fr 1fr 1.2fr 1.2fr 80px 110px auto;
    gap: 8px;
    align-items: end;
}

.delete-form {
    margin-top: 8px;
}

.text-button {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--site-primary);
    font-weight: 900;
    cursor: pointer;
}

.danger,
.text-button.danger {
    color: #b33b30;
}

.account-form {
    max-width: 520px;
}

.empty-state {
    border: 1px dashed var(--site-line);
    border-radius: 8px;
    padding: 24px;
    color: color-mix(in srgb, var(--site-ink) 60%, transparent);
    text-align: center;
}

.admin-stat-list {
    display: grid;
    gap: 8px;
    margin-top: 22px;
}

.admin-stat-list div {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--site-line);
    padding-top: 8px;
    font-size: 12px;
}

.admin-search {
    display: flex;
    gap: 7px;
}

.admin-search button,
.admin-actions button,
.admin-actions select {
    border: 1px solid var(--site-line);
    border-radius: 7px;
    padding: 8px 10px;
    background: transparent;
    color: inherit;
    font-weight: 800;
    cursor: pointer;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    min-width: 940px;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    border-bottom: 1px solid var(--site-line);
    padding: 12px;
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: color-mix(in srgb, var(--site-ink) 55%, transparent);
    font-size: 11px;
    text-transform: uppercase;
}

.admin-table td span,
.admin-table td strong {
    display: block;
}

.admin-table td span {
    color: color-mix(in srgb, var(--site-ink) 58%, transparent);
    font-size: 12px;
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    align-items: center;
}

.status {
    display: inline-flex;
    border-radius: 6px;
    padding: 4px 7px;
    background: #e3e6e2;
    color: #30352f;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.status-active,
.status-reviewed {
    background: #d8f0e5;
    color: #15583e;
}

.status-open,
.status-suspended {
    background: #ffe4df;
    color: #7a281e;
}

.report-list,
.domain-list {
    display: grid;
    gap: 10px;
}

.report-item,
.domain-list article {
    border: 1px solid var(--site-line);
    border-radius: 8px;
    padding: 15px;
}

.report-item > div:first-child,
.domain-list article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.report-item p {
    overflow-wrap: anywhere;
}

.domain-list article span {
    display: block;
    color: color-mix(in srgb, var(--site-ink) 58%, transparent);
    font-size: 12px;
}

.domain-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 10px;
    align-items: end;
    margin-bottom: 20px;
}

.admin-login-shell {
    display: grid;
    min-height: 100vh;
    place-items: center;
    padding: 24px;
    background: #0f1511;
}

.admin-login-panel {
    width: min(460px, 100%);
    border-top: 5px solid var(--site-primary);
    padding: 30px;
    background: var(--site-bg);
    color: var(--site-ink);
}

.admin-login-panel .brand {
    margin-bottom: 36px;
}

.admin-login-panel h1 {
    margin: 0 0 22px;
    font-size: 42px;
}

.install-shell {
    min-height: 100vh;
}

.install-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.install-checks span {
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 7px;
    padding: 7px 9px;
    font-size: 11px;
    font-weight: 900;
}

.install-panel {
    width: min(100% - 24px, 760px);
}

.installer-form fieldset {
    margin-bottom: 4px;
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity .55s ease, transform .55s ease;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal,
    .reveal.is-visible,
    .button,
    .profile-links > a {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 1080px) {
    .hero-band {
        grid-template-columns: 1fr .7fr;
    }

    .editor-layout {
        grid-template-columns: 1fr;
    }

    .dashboard-preview {
        position: relative;
        top: auto;
        min-height: 460px;
    }

    .link-edit-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .link-edit-form .button {
        grid-column: 1 / -1;
    }
}

@media (max-width: 900px) {
    .nav-toggle {
        display: grid;
        align-content: center;
        gap: 5px;
    }

    .site-nav {
        position: fixed;
        top: 70px;
        left: 12px;
        right: 12px;
        display: grid;
        align-content: start;
        padding: 12px;
        border: 1px solid rgba(255, 255, 255, .16);
        border-radius: 8px;
        background: rgba(14, 19, 16, .99);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity .2s ease, transform .2s ease;
    }

    body.nav-open .site-nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    body.nav-open .nav-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    body.nav-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    body.nav-open .nav-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero-band,
    .auth-shell,
    .install-shell {
        grid-template-columns: 1fr;
    }

    .hero-band {
        min-height: 0;
    }

    .profile-showcase {
        justify-self: center;
        margin-right: 18px;
    }

    .auth-copy,
    .install-intro {
        min-height: 420px;
    }

    .feature-grid,
    .example-grid {
        grid-template-columns: 1fr;
    }

    .feature-item {
        min-height: 0;
        border-right: 0;
        border-bottom: 1px solid var(--site-line);
    }

    .feature-item:last-child {
        border-bottom: 0;
    }

    .feature-item h3 {
        margin-top: 34px;
    }

    .example-profile {
        min-height: 420px;
    }

    .seo-band,
    .dashboard-shell,
    .admin-shell {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar,
    .admin-sidebar {
        position: static;
    }

    .dashboard-nav,
    .admin-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .hero-copy h1 {
        font-size: 50px;
    }

    .claim-row {
        grid-template-columns: 1fr;
    }

    .claim-row span {
        padding: 12px 14px 0;
    }

    .claim-row input {
        padding: 9px 14px 14px;
    }

    .claim-row button {
        min-height: 48px;
    }

    .signal-strip {
        grid-template-columns: repeat(2, 1fr);
    }

    .signal-strip span:nth-child(2) {
        border-right: 0;
    }

    .section-heading h2,
    .seo-band h2 {
        font-size: 40px;
    }

    .site-footer,
    .dashboard-section-heading,
    .admin-section-heading,
    .link-editor-meta,
    .profile-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .form-split,
    .add-link-form,
    .link-edit-form,
    .domain-form {
        grid-template-columns: 1fr;
    }

    .dashboard-header-actions a:first-child {
        display: none;
    }

    .dashboard-nav,
    .admin-nav {
        grid-template-columns: 1fr;
    }

    .admin-search {
        width: 100%;
    }

    .admin-search input {
        min-width: 0;
    }
}

@media (max-width: 430px) {
    .brand span:last-child {
        max-width: 180px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .hero-band {
        padding-right: 16px;
        padding-left: 16px;
    }

    .profile-showcase {
        margin-right: 10px;
        padding: 16px;
        box-shadow: 10px 10px 0 var(--site-secondary);
    }

    .auth-copy,
    .install-intro {
        padding: 48px 22px;
    }

    .auth-copy h1,
    .install-intro h1 {
        font-size: 44px;
    }

    .dashboard-shell,
    .admin-shell {
        width: min(100% - 16px, 1460px);
    }
}
