* {
    box-sizing: border-box;
}

:root {
    --page-width: 1040px;
    --text: #101828;
    --text-soft: #6b7482;
    --text-muted: #697586;
    --border: #eef2f6;
    --border-active: #dbe7f3;
    --blue: #0b74d1;
    --blue-soft: #eaf4ff;
    --blue-border: #dbeeff;
    --icon-blue: #427bff;
    --icon-muted: #667085;
    --icon-soft: #eef4ff;
    --icon-border: #dbe7ff;
    --surface: #ffffff;
    --surface-cold: #fcfdff;
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
}

html {
    min-height: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 82px;
}

body {
    margin: 0;
    min-height: 100%;
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    background:
        linear-gradient(90deg, rgba(238,242,246,0.42) 1px, transparent 1px),
        linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
    background-size: 72px 72px, auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

svg,
[data-lucide],
.lucide {
    width: 20px;
    height: 20px;
    display: block;
    fill: none;
    color: currentColor;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: 0 0 auto;
}

.page-shell,
.topbar,
.footer-inner,
.separator-shell,
.app-preview-inner,
.usage-inner,
.plans-inner,
.legal-inner {
    width: min(var(--page-width), calc(100% - 48px));
}

.page-shell {
    margin: 0 auto;
}

/* header */
.topbar {
    position: sticky;
	isolation: isolate;
    top: 0;
    z-index: 50;
    height: 66px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-left: 1px solid rgba(238,242,246,0.72);
    border-right: 1px solid rgba(238,242,246,0.72);
    border-bottom: 1px solid rgba(238,242,246,0.86);
}

.topbar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    z-index: -1;
    width: 100vw;
    height: 100%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.86);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(238,242,246,0.86);
}

.logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon,
.preview-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    letter-spacing: -0.06em;
}

.logo-icon {
    width: 29px;
    height: 29px;
    border-radius: 9px;
    font-size: 17px;
    font-weight: 700;
}

.logo-icon.light,
.preview-logo.light {
    background: #ffffff;
    color: #111111;
    border: 1px solid #e6ebf1;
    box-shadow: 0 1px 2px rgba(15,23,42,0.03);
}

.logo-text {
    font-size: 18px;
    font-weight: 650;
    letter-spacing: -0.06em;
}

.nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-menu-toggle {
    display: none;
    position: relative;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #e6e9ee;
    border-radius: 10px;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 1px 2px rgba(15,23,42,0.03);
}

.nav-menu-toggle span {
    position: absolute;
    width: 14px;
    height: 1.5px;
    border-radius: 999px;
    background: #4b5563;
}

.nav-menu-toggle span:nth-child(1) {
    transform: translateY(-5px);
}

.nav-menu-toggle span:nth-child(2) {
    transform: translateY(0);
}

.nav-menu-toggle span:nth-child(3) {
    transform: translateY(5px);
}

.mobile-menu-backdrop,
.mobile-menu {
    display: none;
}

.nav a,
.primary-btn,
.secondary-btn,
.url-input button,
.icon-btn,
.billing-option,
.usage-card,
.plan-card,
.mock-row,
.footer-nav a,
.mock-toolbar button {
    transition: background 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.nav a {
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 500;
    color: #4f5561;
}

.nav-link,
.footer-nav a {
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border: 1px solid transparent;
    border-radius: 10px;
}

.nav-link:hover,
.footer-nav a:hover {
    background: #f2f3f5;
    border-color: #e6e9ee;
    color: #111111;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.65);
}

.nav-login,
.nav-primary {
    min-width: auto;
    padding: 0 13px;
}

.nav-login {
    margin-left: 10px;
    border: 1px solid #dedede;
    background: #ffffff;
    color: #111111 !important;
}

.nav-login:hover,
.secondary-btn:hover,
.icon-btn:hover,
.usage-card:hover,
.plan-card:hover,
.mock-row:hover {
    background: var(--surface-cold);
    border-color: var(--border-active);
    color: var(--text);
}

.nav-primary,
.primary-btn,
.url-input button,
.mock-toolbar button {
    background: #111111;
    color: #ffffff !important;
    border-color: #111111;
    font-weight: 650;
}

.nav-primary:hover,
.primary-btn:hover,
.url-input button:hover,
.mock-toolbar button:hover {
    background: #1d1d1f;
    color: #ffffff;
    box-shadow:
        0 0 0 4px rgba(17,17,17,0.045),
        0 10px 24px rgba(15,23,42,0.10);
    transform: none;
}

/* buttons */
.primary-btn,
.secondary-btn {
    height: 42px;
    padding: 0 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
}

.secondary-btn {
    border: 1px solid #dedede;
    background: #ffffff;
    color: #555555;
}

.primary-btn:active,
.nav-primary:active,
.url-input button:active,
.mock-toolbar button:active {
    background: #050505;
    box-shadow: 0 0 0 3px rgba(17,17,17,0.06);
    transform: none;
}

/* hero */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: 0;
    padding-top: 104px;
    padding-bottom: 0;
    text-align: center;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background:
        linear-gradient(90deg, rgba(238,242,246,0.42) 1px, transparent 1px),
        linear-gradient(
            180deg,
            #ffffff 0%,
            rgba(250, 253, 255, 0.98) 18%,
            rgba(241, 248, 255, 0.96) 48%,
            rgba(226, 240, 255, 0.94) 78%,
            rgba(214, 233, 255, 0.92) 100%
        );
    background-size: 72px 72px, auto;
}

.hero::before {
    display: none;
}

.hero::after {
    display: none;
}

.hero-glow {
    display: none;
}

.hero > *:not(.hero-glow) {
    position: relative;
    z-index: 1;
}

.hero-badge {
    height: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(255,255,255,0.96);
    color: #667085;
    font-size: 12px;
    font-weight: 650;
}

.hero-badge:hover {
    border-color: var(--blue-border);
    color: var(--blue);
    background: #ffffff;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #9bbce0;
}

.hero h1 {
    max-width: 660px;
    margin: 24px auto 0;
    color: #111111;
    font-size: clamp(48px, 6.8vw, 74px);
    line-height: 0.94;
    letter-spacing: -0.086em;
    font-weight: 470;
}

.hero-text {
    max-width: 500px;
    margin: 20px auto 0;
    color: var(--text-soft);
    font-size: 17px;
    line-height: 1.58;
    letter-spacing: -0.025em;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 26px;
}

/* builder */
.builder-shell {
    position: relative;
    z-index: 3;
    width: min(620px, calc(100% - 24px));
    margin: 46px auto 74px;
}

.builder-shell::before {
    content: "";
    position: absolute;
    inset: -10px;
    z-index: -1;
    border: 1px solid rgba(219, 231, 255, 0.82);
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(246, 250, 255, 0.92));
    box-shadow: 0 30px 80px rgba(66, 123, 255, 0.08);
}

.builder-card {
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #ffffff;
    box-shadow: 0 10px 34px rgba(15, 23, 42, 0.045);
}

.url-input,
.alias-row {
    border: 1px solid var(--border);
    background: #ffffff;
    transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
}

.url-input {
    height: 56px;
    display: grid;
    grid-template-columns: 34px 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border-radius: var(--radius-md);
}

.alias-row {
    height: 44px;
    margin-top: 8px;
    display: grid;
    grid-template-columns: 22px auto 1fr;
    align-items: center;
    gap: 7px;
    padding: 0 13px;
    border-radius: 14px;
    color: #8b96a5;
    font-size: 14px;
}

.url-input:hover,
.alias-row:hover,
.preview-card:hover {
    border-color: var(--border-active);
    background: var(--surface-cold);
}

.url-input:focus-within,
.alias-row:focus-within {
    border-color: var(--blue-border);
    box-shadow: 0 0 0 4px rgba(11,116,209,0.06);
}

.url-icon,
.alias-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: var(--icon-muted);
}

.url-link-icon {
    justify-self: center;
    color: var(--icon-blue);
}

.url-link-icon svg,
.url-link-icon .lucide,
.url-link-icon [data-lucide] {
    width: 16px !important;
    height: 16px !important;
    stroke-width: 1.5 !important;
    transform: rotate(-8deg);
}

.alias-icon svg,
.alias-icon .lucide,
.alias-icon [data-lucide] {
    width: 16px;
    height: 16px;
}

.url-input input,
.alias-row input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #111111;
    font-size: 15px;
}

.url-input input::placeholder,
.alias-row input::placeholder {
    color: #9aa5b3;
}

.url-input button {
    height: 36px;
    padding: 0 15px;
    border: 0;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
}

.preview-card {
    margin-top: 10px;
    padding: 11px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.96);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    box-shadow: 0 10px 34px rgba(15, 23, 42, 0.045);
}


.preview-card.public-links-list {
    display: grid;
    gap: 7px;
}

.preview-card.public-links-list .public-link-row {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.preview-card.public-links-list .public-link-row:hover,
.preview-card.public-links-list .public-link-row.is-new {
    background: transparent;
    border-color: transparent;
}

.preview-card.public-links-list .public-link-icon {
    width: 38px;
    height: 38px;
    border-radius: 13px;
    background: #ffffff;
}

.preview-card.public-links-list .public-short-link {
    color: var(--blue);
}

.preview-card.public-links-list .public-destination {
    max-width: 390px;
    font-size: 13px;
}

.preview-left {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
}

.preview-logo {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    border-radius: 13px;
    font-size: 17px;
    font-weight: 760;
}

.preview-content {
    min-width: 0;
    text-align: left;
}

.preview-url {
    color: var(--blue);
    font-size: 14px;
    font-weight: 620;
    letter-spacing: -0.03em;
    text-decoration: none;
    transition: color 140ms ease;
}

.preview-url:hover {
    color: #095fb0;
}

.preview-long {
    max-width: 390px;
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #7a8491;
    font-size: 13px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-decoration: none;
    transition: color 140ms ease;
}

.preview-long:hover {
    color: var(--blue);
}

.preview-long:hover .preview-arrow {
    color: var(--blue);
}

.preview-arrow {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #a3adbb;
    flex: 0 0 auto;
}

.preview-arrow svg,
.preview-arrow .lucide,
.preview-arrow [data-lucide] {
    width: 14px;
    height: 14px;
}

.preview-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-btn {
    width: 32px;
    height: 32px;
    min-width: 32px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: #ffffff;
    color: var(--icon-muted);
}

.icon-btn:hover,
.usage-card:hover .usage-icon,
.plan-card:hover .plan-icon,
.feature-icon:hover {
    color: var(--icon-blue);
    border-color: var(--icon-border);
    background: var(--icon-soft);
}

.icon-btn svg,
.icon-btn .lucide,
.icon-btn [data-lucide] {
    width: 16px;
    height: 16px;
}

.qr-btn {
    color: var(--icon-blue);
    background: var(--icon-soft);
    border-color: var(--icon-border);
}

.builder-note {
    margin-top: 14px;
    text-align: center;
    color: #8b96a5;
    font-size: 12px;
    line-height: 1.55;
}

.builder-note a {
    color: var(--blue);
    font-weight: 600;
}

.builder-note a:hover {
    text-decoration: underline;
}

/* separators */
.premium-separator {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    border: 1px solid var(--border);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    background: linear-gradient(180deg, #ffffff 0%, #fcfdff 100%);
}

.separator-shell {
    margin: 0 auto;
    padding: 28px 0;
}

.premium-separator-quiet .separator-shell,
.hero + .premium-separator .separator-shell {
    padding-top: 22px;
    padding-bottom: 22px;
}

.stats-strip,
.product-signal-row {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.stats-strip {
    gap: 22px;
    color: #667085;
}

.stats-item {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
    white-space: nowrap;
}

.stats-item strong {
    color: #344054;
    font-size: 15px;
    font-weight: 650;
    letter-spacing: -0.04em;
}

.stats-item span {
    color: #98a2b3;
    font-size: 12px;
    font-weight: 600;
}

.stats-divider {
    width: 1px;
    height: 16px;
    background: var(--border);
}

.product-signal-row {
    gap: 10px;
}

.product-signal {
    height: 30px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #ffffff;
    color: #667085;
    font-size: 12px;
    font-weight: 600;
}

.product-signal i,
.product-signal svg {
    width: 14px !important;
    height: 14px !important;
    color: var(--icon-blue);
    stroke-width: 1.5;
}

.product-signal:hover {
    border-color: var(--blue-border);
    background: var(--blue-soft);
    color: #344054;
}

/* app preview */
.app-preview,
.usage-section,
.plans-section,
.legal-page {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: #ffffff;
}

.app-preview-inner,
.usage-inner,
.plans-inner {
    position: relative;
    margin: 0 auto;
    padding: 76px 0;
}

.app-preview-inner::before,
.usage-inner::before,
.plans-inner::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.app-preview-inner {
    display: grid;
    grid-template-columns: 0.78fr 1.22fr;
    align-items: center;
    gap: 42px;
}

.section-kicker {
    display: block;
    margin-bottom: 10px;
    color: #7c8796;
    font-size: 12px;
    font-weight: 650;
    letter-spacing: -0.02em;
    text-transform: lowercase;
}

.app-preview-copy h2,
.usage-copy h2,
.plans-heading h2 {
    margin: 0;
    color: #111111;
    font-size: clamp(32px, 4.4vw, 52px);
    line-height: 1.02;
    letter-spacing: -0.074em;
    font-weight: 480;
}

.app-preview-copy p,
.usage-copy p,
.plans-heading p {
    margin: 16px 0 0;
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.62;
    letter-spacing: -0.025em;
}

.app-preview-copy p {
    max-width: 520px;
    margin-bottom: 22px;
}

.app-preview-window {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #ffffff;
}

.app-preview-window::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 34%;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.86));
    pointer-events: none;
}

.app-preview-bar {
    height: 36px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border-bottom: 1px solid var(--border);
    background: #fbfdff;
}

.app-preview-bar span {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #d7dee8;
}

.app-preview-image,
.app-product-mock {
    height: 340px;
}

.app-product-mock {
    display: grid;
    grid-template-columns: 62px 1fr;
    background: #ffffff;
}

.mock-sidebar {
    padding: 14px 12px;
    display: grid;
    align-content: start;
    gap: 10px;
    border-right: 1px solid var(--border);
    background: #fbfcfd;
}

.mock-brand,
.mock-sidebar span {
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #ffffff;
}

.mock-brand {
    display: grid;
    place-items: center;
    color: #111111;
    font-weight: 700;
    letter-spacing: -0.06em;
}

.mock-sidebar span.active {
    border-color: var(--blue-border);
    background: var(--blue-soft);
}

.mock-main {
    min-width: 0;
    padding: 18px;
}

.mock-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.mock-toolbar strong {
    display: block;
    font-size: 18px;
    font-weight: 560;
    letter-spacing: -0.05em;
}

.mock-toolbar p,
.mock-row p,
.mock-stats span {
    margin: 3px 0 0;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.35;
}

.mock-toolbar button {
    height: 32px;
    padding: 0 12px;
    border: 1px solid #111111;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 650;
}

.mock-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 14px;
}

.mock-stats div {
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #ffffff;
}

.mock-stats strong {
    display: block;
    margin-top: 6px;
    font-size: 21px;
    line-height: 1;
    font-weight: 520;
    letter-spacing: -0.06em;
}

.mock-list {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.mock-row {
    display: grid;
    grid-template-columns: 10px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #ffffff;
}

.mock-row .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #cfd7e2;
}

.mock-row .dot.blue {
    background: var(--blue);
}

.mock-row strong {
    display: block;
    color: var(--blue);
    font-size: 13px;
    font-weight: 650;
    letter-spacing: -0.025em;
}

.mock-row em {
    padding: 4px 8px;
    border: 1px solid var(--blue-border);
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 11px;
    font-style: normal;
    font-weight: 700;
}



/* account feature cards */
.account-deep-dive {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: #ffffff;
}

.account-deep-dive-inner {
    width: min(var(--page-width), calc(100% - 48px));
    margin: 0 auto;
    padding: 0 0 76px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    border-top: 1px solid var(--border);
}

.account-feature-card {
    min-width: 0;
    padding: 34px 40px 36px;
    border-right: 1px solid var(--border);
    background: #ffffff;
}

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

.account-feature-visual {
    position: relative;
    height: 286px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 20px;
    background:
        linear-gradient(90deg, rgba(238,242,246,0.55) 1px, transparent 1px),
        linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
    background-size: 54px 54px, auto;
}

.account-feature-visual::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 34%;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.86));
    pointer-events: none;
}

.mini-app-window {
    position: relative;
    z-index: 1;
    width: min(338px, calc(100% - 34px));
    overflow: hidden;
    border: 1px solid #dfe6ee;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(15,23,42,0.10);
}

.mini-app-top {
    height: 34px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 13px;
    border-bottom: 1px solid var(--border);
    background: #fbfdff;
}

.mini-app-top span {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #d7dee8;
}

.mini-stats-body,
.mini-qr-body {
    padding: 16px;
}

.mini-stats-head,
.mini-qr-head,
.mini-stat-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.mini-stats-head strong,
.mini-qr-head strong {
    display: block;
    color: var(--blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.mini-stats-head span,
.mini-stat-row span,
.mini-qr-head span {
    display: block;
    margin-top: 3px;
    color: #8b96a5;
    font-size: 11px;
    font-weight: 650;
}

.mini-stats-head em {
    height: 24px;
    display: inline-flex;
    align-items: center;
    padding: 0 9px;
    border: 1px solid var(--blue-border);
    border-radius: 999px;
    background: var(--blue-soft);
    color: var(--blue);
    font-size: 11px;
    font-style: normal;
    font-weight: 750;
}

.mini-stats-number {
    margin-top: 18px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: #ffffff;
}

.mini-stats-number strong {
    display: block;
    color: #111111;
    font-size: 38px;
    line-height: 0.95;
    font-weight: 480;
    letter-spacing: -0.08em;
}

.mini-stats-number span {
    display: block;
    margin-top: 7px;
    color: #7a8491;
    font-size: 12px;
    font-weight: 650;
}

.mini-chart {
    height: 92px;
    margin-top: 14px;
    padding: 12px;
    display: flex;
    align-items: end;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: 15px;
    background:
        linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
}

.mini-chart span {
    flex: 1;
    min-width: 10px;
    border-radius: 999px 999px 4px 4px;
    background: linear-gradient(180deg, var(--icon-blue), #9cc9ff);
}

.mini-stat-row {
    margin-top: 12px;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: #fbfdff;
}

.mini-stat-row strong {
    color: #344054;
    font-size: 12px;
    font-weight: 750;
}

.mini-qr-window {
    width: min(318px, calc(100% - 34px));
}

.mini-qr-preview {
    min-height: 168px;
    display: grid;
    place-items: center;
    margin-top: 14px;
    border: 1px solid #cfd8e3;
    border-radius: 8px;
    background-color: #ffffff;
    background-image: radial-gradient(#d7dde7 0.75px, transparent 0.75px);
    background-size: 5px 5px;
}

.mini-qr-code {
    position: relative;
    width: 118px;
    height: 118px;
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    background: #ffffff;
}

.mini-qr-code span {
    border-radius: 3px;
    background: #111111;
}

.mini-qr-code span:nth-child(2),
.mini-qr-code span:nth-child(4),
.mini-qr-code span:nth-child(7),
.mini-qr-code span:nth-child(10),
.mini-qr-code span:nth-child(11),
.mini-qr-code span:nth-child(14),
.mini-qr-code span:nth-child(18),
.mini-qr-code span:nth-child(22) {
    background: transparent;
}

.mini-qr-code .mini-qr-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    transform: translate(-50%, -50%);
    border: 1px solid #e6ebf1;
    border-radius: 9px;
    background: #ffffff;
    color: #111111;
    font-size: 13px;
    font-weight: 760;
    line-height: 1;
    letter-spacing: -0.06em;
    box-shadow: 0 2px 8px rgba(15,23,42,0.08);
}

.mini-color-dots {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.mini-color-dots span {
    width: 24px;
    height: 24px;
    border: 1px solid rgba(15,23,42,0.10);
    border-radius: 999px;
    background: #111111;
}

.mini-color-dots span:nth-child(2) { background: #dc3b37; }
.mini-color-dots span:nth-child(3) { background: #4aa36a; }
.mini-color-dots span:nth-child(4) { background: #2947b8; }
.mini-color-dots span:nth-child(5) { background: #9340c8; }

.mini-color-dots span.active {
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 3px #64748b;
}

.account-feature-copy {
    padding-top: 24px;
}

.account-feature-copy h3 {
    max-width: 390px;
    margin: 0;
    color: #111111;
    font-size: 19px;
    line-height: 1.2;
    letter-spacing: -0.045em;
    font-weight: 660;
}

.account-feature-copy p {
    max-width: 430px;
    margin: 10px 0 0;
    color: var(--text-soft);
    font-size: 15px;
    line-height: 1.58;
    letter-spacing: -0.02em;
}

.small-feature-btn {
    height: 34px;
    margin-top: 14px;
    padding: 0 13px;
    border-radius: 10px;
    font-size: 13px;
}

/* usage */
.usage-copy {
    max-width: 590px;
    margin: 0 0 34px;
    text-align: left;
}

.usage-copy p {
    max-width: 560px;
}

.usage-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: #fbfcfd;
}

.usage-card,
.usage-card-wide {
    min-height: 132px;
    grid-column: auto;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #ffffff;
}

.usage-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    margin-bottom: 12px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #ffffff;
    color: var(--icon-muted);
}

.usage-icon svg,
.usage-icon .lucide,
.usage-icon [data-lucide] {
    width: 14px !important;
    height: 14px !important;
    stroke-width: 1.5 !important;
}

.usage-card strong {
    display: block;
    margin-bottom: 6px;
    color: #111111;
    font-size: 14px;
    font-weight: 650;
    letter-spacing: -0.035em;
}

.usage-card span {
    display: block;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.45;
}

.usage-cta {
    margin-top: 12px;
    padding: 20px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #ffffff;
}

.usage-cta p {
    margin: 0;
    color: #111111;
    font-size: 18px;
    font-weight: 560;
    letter-spacing: -0.04em;
}

/* plans */
.plans-section-compact .plans-inner {
    padding: 76px 0 84px;
}

.plans-header {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: end;
    margin-bottom: 34px;
}

.plans-heading {
    max-width: 560px;
}

.plans-heading h2 {
    max-width: 540px;
}

.plans-heading p {
    max-width: 520px;
}

.billing-toggle {
    height: 38px;
    display: inline-flex;
    align-items: center;
    padding: 4px;
    border: 1px solid #e4e9ef;
    border-radius: var(--radius-sm);
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(15,23,42,0.025);
}

.billing-option {
    height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 0 11px;
    border-radius: 9px;
    color: #667085;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.billing-option.active {
    color: #111111;
    background: #f7f8fa;
    box-shadow: inset 0 0 0 1px var(--border);
}

.plans-grid-dub {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #fbfcfd;
}

.plans-grid-dub .plan-card {
    position: relative;
    min-height: auto;
    padding: 24px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: #ffffff;
}

.plans-grid-dub .plan-card-pro {
    border-color: var(--blue-border);
}

.plans-grid-dub .plan-card-pro::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 1px 0 rgba(11,116,209,0.08);
}

.plan-pill {
    position: absolute;
    top: 26px;
    right: 26px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    padding: 0 10px;
    border: 1px solid #e6edf3;
    border-radius: 999px;
    background: #ffffff;
    color: #4f5f74;
    font-size: 12px;
    font-weight: 700;
}

.plan-top {
    min-height: 66px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding-right: 104px;
}

.plan-top h3 {
    margin: 0 0 7px;
    color: #111111;
    font-size: 21px;
    line-height: 1.05;
    letter-spacing: -0.065em;
    font-weight: 560;
}

.plan-top p {
    max-width: 330px;
    margin: 0;
    color: #6b7585;
    font-size: 13px;
    line-height: 1.48;
}

.plan-icon,
.feature-icon {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border: 1px solid #e8edf3;
    background: #ffffff;
    color: var(--icon-muted);
}

.plan-icon {
    width: 30px;
    height: 30px;
    border-radius: 10px;
}

.plan-icon svg,
.plan-icon .lucide,
.plan-icon [data-lucide] {
    width: 15px;
    height: 15px;
}

.plan-icon-dark {
    background: #111111;
    border-color: #111111;
    color: #ffffff;
}

.plans-grid-dub .plan-price {
    margin: 22px 0 18px;
    color: #111111;
    font-size: 42px;
    line-height: 0.95;
    letter-spacing: -0.08em;
    font-weight: 470;
}

.plans-grid-dub .plan-price span {
    color: #667085;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: -0.035em;
}

.plans-grid-dub .plan-btn {
    width: 100%;
    height: 40px;
    justify-content: center;
    margin-bottom: 22px;
}

.plan-features {
    padding-top: 18px;
    border-top: 1px solid #f0f3f6;
}

.plan-features > strong {
    display: block;
    margin-bottom: 16px;
    color: #111111;
    font-size: 13px;
    font-weight: 700;
}

.plans-grid-dub .plan-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.plans-grid-dub .plan-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #475467;
    font-size: 13px;
    line-height: 1.45;
}

.feature-icon {
    width: 18px;
    height: 18px;
    border-radius: 6px;
}

.plan-card-pro .feature-icon,
.feature-icon {
    color: var(--icon-blue);
    border-color: var(--icon-border);
    background: var(--icon-soft);
}

.feature-icon svg,
.feature-icon .lucide,
.feature-icon [data-lucide] {
    width: 12px;
    height: 12px;
    stroke-width: 1.75;
}

.plans-note-inline {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 13px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 14px;
    background: #ffffff;
}

.plans-note-inline strong {
    color: #111111;
    font-weight: 600;
}

/* legal pages, also duplicated inline in legal html for now */
.legal-page {
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 16%, rgba(249,252,255,0.96) 48%, #ffffff 100%);
}

.legal-inner {
    margin: 0 auto;
    padding: 92px 0 96px;
}

.legal-hero {
    max-width: 720px;
    margin-bottom: 34px;
}

.legal-hero h1 {
    margin: 0;
    color: #111111;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 0.98;
    letter-spacing: -0.08em;
    font-weight: 480;
}

.legal-hero p {
    max-width: 620px;
    margin: 18px 0 0;
    color: var(--text-soft);
    font-size: 16px;
    line-height: 1.65;
    letter-spacing: -0.025em;
}

.legal-card {
    max-width: 820px;
    padding: 34px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: #ffffff;
}

.legal-card section + section {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.legal-card h2 {
    margin: 0 0 10px;
    color: #111111;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: -0.045em;
    font-weight: 620;
}

.legal-card p,
.legal-card li {
    color: #667085;
    font-size: 15px;
    line-height: 1.7;
    letter-spacing: -0.018em;
}

.legal-card p {
    margin: 0;
}

.legal-card p + p {
    margin-top: 12px;
}

.legal-card ul {
    margin: 12px 0 0;
    padding-left: 18px;
}

.legal-updated {
    height: 30px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    padding: 0 11px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #ffffff;
    color: #7c8796;
    font-size: 12px;
    font-weight: 650;
}

/* footer */
.footer {
    border-top: 1px solid var(--border);
    background: #ffffff;
}

.footer-inner {
    margin: 0 auto;
    padding: 42px 0 28px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 26px;
}

.footer-brand strong {
    display: block;
    margin-bottom: 12px;
    color: #111111;
    font-size: 17px;
    font-weight: 750;
    letter-spacing: -0.05em;
}

.footer-brand p {
    max-width: 420px;
    margin: 0;
    color: #526070;
    font-size: 13px;
    line-height: 1.45;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 16px;
    color: #5e6a7a;
    font-size: 13px;
    font-weight: 600;
}

.footer-bottom {
    grid-column: 1 / -1;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: #8a96aa;
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 980px) {
    .usage-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .app-preview-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 64px 0;
    }

    .app-preview-copy {
        text-align: left;
    }

    .plans-header {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: left;
    }

    .billing-toggle {
        justify-self: start;
    }

    .plans-grid-dub {
        grid-template-columns: 1fr;
    }

    .plan-top {
        padding-right: 0;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-nav {
        justify-content: flex-start;
    }

    .account-deep-dive-inner {
        grid-template-columns: 1fr;
        gap: 0;
        padding-bottom: 60px;
    }

    .account-feature-card {
        padding: 28px 0 34px;
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

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

}

@media (max-width: 760px) {
    body {
        background-size: 48px 48px, auto;
    }

    .page-shell {
        width: 100%;
    }

.topbar {
    width: 100%;
    padding: 0 6px;
}

    .footer-inner,
    .separator-shell,
    .app-preview-inner,
    .usage-inner,
    .plans-inner,
    .legal-inner {
        width: min(var(--page-width), calc(100% - 30px));
    }

    .topbar {
        height: 58px;
        padding: 0 10px;
        flex-direction: row;
        gap: 10px;
        border-left: 1px solid rgba(238,242,246,0.72);
        border-right: 1px solid rgba(238,242,246,0.72);
    }

    .logo-wrap {
        gap: 8px;
        min-width: 0;
    }

    .logo-icon {
        width: 30px;
        height: 30px;
        border-radius: 10px;
        font-size: 16px;
    }

    .logo-text {
        display: none;
        font-size: 17px;
    }
	

    .nav {
        justify-content: flex-end;
        gap: 7px;
        flex-wrap: nowrap;
        min-width: 0;
    }

    .nav-link {
        display: none !important;
    }

    .nav-login,
    .nav-primary {
        height: 34px;
        padding: 0 12px;
        margin-left: 0;
        border-radius: 10px;
        font-size: 12px !important;
        white-space: nowrap;
    }

    .nav-menu-toggle {
        display: inline-flex;
        flex-direction: column;
    }

    .mobile-menu-backdrop {
        position: fixed;
        inset: 0;
        z-index: 70;
        background: rgba(15, 23, 42, 0.16);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }

    .mobile-menu {
        position: fixed;
        top: 10px;
        left: 50%;
        z-index: 80;
        width: min(380px, calc(100vw - 20px));
        transform: translateX(-50%);
        padding: 16px 18px 20px;
        border: 1px solid #dfe5ec;
        border-radius: 8px;
        background: #ffffff;
        box-shadow: 0 20px 60px rgba(15,23,42,0.14);
    }

    body.mobile-menu-open .mobile-menu-backdrop,
    body.mobile-menu-open .mobile-menu {
        display: block;
    }

    .mobile-menu-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 18px;
    }

    .mobile-menu-top strong {
        color: #111111;
        font-size: 15px;
        font-weight: 700;
        letter-spacing: -0.04em;
    }

    .mobile-menu-close {
        width: 34px;
        height: 34px;
        padding: 0;
        border: 0;
        background: transparent;
        color: #4b5563;
        font-size: 26px;
        line-height: 1;
    }

    .mobile-menu-links {
        display: grid;
    }

    .mobile-menu-links a {
        display: flex;
        align-items: center;
        min-height: 48px;
        border-bottom: 1px solid #e6e9ee;
        color: #111111;
        font-size: 16px;
        font-weight: 650;
        letter-spacing: -0.025em;
    }

    .mobile-menu-links a:last-child {
        border-bottom: 0;
    }

    .hero,
    .premium-separator,
    .app-preview,
    .usage-section,
    .plans-section,
    .legal-page {
        border-left: 0;
        border-right: 0;
    }

    .hero {
        padding-top: 70px;
        background:
            linear-gradient(90deg, rgba(238,242,246,0.42) 1px, transparent 1px),
            linear-gradient(
                180deg,
                #ffffff 0%,
                rgba(250,253,255,0.98) 16%,
                rgba(241,248,255,0.96) 46%,
                rgba(226,240,255,0.94) 78%,
                rgba(214,233,255,0.92) 100%
            );
        background-size: 48px 48px, auto;
    }

    .hero::before {
        display: none;
    }

    .hero::after {
        display: none;
    }

    .hero-badge {
        max-width: calc(100% - 24px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hero h1 {
        max-width: 360px;
        margin-top: 22px;
        font-size: clamp(44px, 13vw, 56px);
        line-height: 0.95;
    }

    .hero-text {
        max-width: 335px;
        margin-top: 18px;
        font-size: 15.5px;
        line-height: 1.65;
    }

    .hero-actions {
        margin-top: 26px;
        flex-direction: row;
    }

    .hero-actions .primary-btn,
    .hero-actions .secondary-btn {
        min-width: 128px;
        height: 42px;
        padding: 0 16px;
        border-radius: 13px;
    }

    .builder-shell {
        width: min(100% - 24px, 430px);
        margin-top: 38px;
        margin-bottom: 50px;
    }

    .builder-shell::before {
        inset: -9px;
        border-radius: 24px;
        box-shadow: 0 22px 58px rgba(66,123,255,0.075);
    }

    .builder-card {
        padding: 10px;
        border-radius: 21px;
    }

    .builder-card {
        display: grid;
        grid-template-columns: 26px 1fr;
        gap: 8px 10px;
    }

    .url-input {
        display: contents;
    }

    .url-link-icon {
        grid-column: 1;
        grid-row: 1;
        align-self: center;
        justify-self: center;
        z-index: 1;
        pointer-events: none;
    }

    .url-input input#longUrl {
        grid-column: 1 / -1;
        grid-row: 1;
        width: 100%;
        height: 46px;
        padding: 0 12px 0 44px;
        border: 1px solid var(--border);
        border-radius: 17px;
        background: #ffffff;
        transition: border-color 140ms ease, box-shadow 140ms ease, background 140ms ease;
    }

    .url-input input#longUrl:hover {
        border-color: var(--border-active);
        background: var(--surface-cold);
    }

    .url-input input#longUrl:focus {
        border-color: var(--blue-border);
        box-shadow: 0 0 0 4px rgba(11,116,209,0.06);
    }

    .url-input button {
        grid-column: 1 / -1;
        grid-row: 3;
        width: 100%;
        height: 38px;
        margin-top: 0;
        border-radius: 12px;
    }

    .alias-row {
        grid-column: 1 / -1;
        grid-row: 2;
        height: 42px;
        margin-top: 0;
        font-size: 13px;
    }

    .alias-row input,
    .url-input input {
        font-size: 13px;
    }

    .url-input input {
        font-size: 14px;
    }

    .preview-card {
        margin-top: 11px;
        padding: 12px;
        border-radius: 18px;
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .preview-left {
        flex: 1 1 auto;
        gap: 10px;
    }

    .preview-logo {
        width: 36px;
        height: 36px;
        border-radius: 12px;
        font-size: 16px;
    }

    .preview-url {
        font-size: 13px;
    }

    .preview-long {
        max-width: 210px;
        font-size: 12px;
    }

    .preview-actions {
        flex: 0 0 auto;
        gap: 7px;
    }

    .icon-btn {
        width: 31px;
        height: 31px;
        min-width: 31px;
    }

    .premium-separator-quiet .separator-shell,
    .hero + .premium-separator .separator-shell {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .stats-strip,
    .product-signal-row {
        justify-content: flex-start;
        gap: 8px;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 2px;
        scrollbar-width: none;
    }

    .stats-strip::-webkit-scrollbar,
    .product-signal-row::-webkit-scrollbar {
        display: none;
    }

    .stats-item,
    .product-signal {
        flex: 0 0 auto;
    }

    .stats-divider {
        display: none;
    }

    .app-preview-inner,
    .usage-inner,
    .plans-section-compact .plans-inner {
        padding-top: 54px;
        padding-bottom: 60px;
    }

    .account-deep-dive {
        border-left: 0;
        border-right: 0;
    }

    .account-deep-dive-inner {
        width: min(var(--page-width), calc(100% - 30px));
        padding-bottom: 54px;
    }

    .account-feature-visual {
        height: 260px;
        border-radius: 18px;
    }

    .account-feature-copy {
        padding-top: 20px;
    }

    .account-feature-copy h3 {
        max-width: 350px;
        font-size: 18px;
    }

    .account-feature-copy p {
        max-width: 350px;
        font-size: 14px;
    }


    .app-preview-copy,
    .usage-copy,
    .plans-heading {
        text-align: left;
    }

    .app-preview-copy h2,
    .usage-copy h2,
    .plans-heading h2 {
        max-width: 350px;
        font-size: clamp(35px, 10vw, 42px);
    }

    .app-preview-copy p,
    .usage-copy p,
    .plans-heading p {
        max-width: 350px;
        font-size: 15px;
        line-height: 1.64;
    }

    .app-preview-window {
        border-radius: 22px;
    }

    .app-product-mock,
    .app-preview-image {
        height: auto;
        min-height: 300px;
        grid-template-columns: 1fr;
    }

    .mock-sidebar {
        display: none;
    }

    .mock-main {
        padding: 14px;
    }

    .mock-toolbar {
        padding-bottom: 13px;
    }

    .mock-toolbar strong {
        font-size: 16px;
    }

    .mock-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .mock-stats div {
        padding: 10px;
        border-radius: 12px;
    }

    .mock-stats strong {
        font-size: 17px;
    }

    .mock-row {
        grid-template-columns: 8px 1fr auto;
        gap: 9px;
        padding: 10px;
        border-radius: 13px;
    }

    .mock-row strong {
        font-size: 12px;
    }

    .mock-row p {
        font-size: 11px;
    }

    .usage-grid {
        grid-template-columns: 1fr;
        gap: 9px;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .usage-card,
    .usage-card-wide {
        min-height: auto;
        padding: 17px;
        border-radius: 17px;
    }

    .usage-cta {
        flex-direction: column;
        align-items: stretch;
        padding: 18px;
        border-radius: 18px;
    }

    .usage-cta p {
        font-size: 16px;
        line-height: 1.35;
    }

    .usage-cta .primary-btn {
        width: 100%;
    }

    .plans-header {
        gap: 22px;
        margin-bottom: 26px;
    }

    .billing-toggle {
        width: 100%;
        justify-self: stretch;
    }

    .billing-option {
        flex: 1;
        justify-content: center;
        padding: 0 8px;
    }

    .plans-grid-dub {
        gap: 10px;
        padding: 0;
        border: 0;
        background: transparent;
    }

    .plans-grid-dub .plan-card {
        padding: 20px;
        border-radius: 21px;
    }

    .plan-pill {
        position: static;
        width: fit-content;
        margin-bottom: 18px;
    }

    .plans-grid-dub .plan-price {
        font-size: 38px;
    }

    .plans-note-inline {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        border-radius: 17px;
    }

    .legal-inner {
        padding: 62px 0 68px;
    }

    .legal-hero h1 {
        font-size: clamp(36px, 11vw, 46px);
    }

    .legal-card {
        padding: 22px;
        border-radius: 20px;
    }

    .footer-inner {
        padding: 34px 0 26px;
        gap: 22px;
    }

    .footer-nav {
        justify-content: flex-start;
        gap: 8px;
    }

}

@media (max-width: 420px) {
    .nav-login {
        display: inline-flex !important;
    }

    .nav-primary {
        padding: 0 12px;
    }

    .hero h1 {
        font-size: clamp(42px, 12.5vw, 52px);
    }

    .preview-long {
        max-width: 165px;
    }
}

/* skapade länkar och små modaler */
[hidden] {
    display: none !important;
}

.url-input button:disabled,
.public-links-actions button:disabled {
    cursor: not-allowed;
    opacity: 0.58;
}

.public-links-strip {
    margin-top: 12px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 34px rgba(15, 23, 42, 0.035);
}

.public-links-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 2px 2px 9px;
    color: #697586;
    font-size: 12px;
    font-weight: 600;
}

.public-links-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.public-links-actions button,
.public-copy-btn,
.tiny-modal-actions button {
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #ffffff;
    color: #4f5561;
    font-size: 12px;
    font-weight: 650;
    transition: background 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.public-links-actions button {
    padding: 0 10px;
}

.public-links-actions button:hover,
.public-copy-btn:hover,
.tiny-modal-secondary:hover {
    background: var(--surface-cold);
    border-color: var(--border-active);
    color: #111111;
}

.public-links-list {
    display: grid;
    gap: 7px;
}

.public-link-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #ffffff;
    transition: background 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}

.public-link-row:hover,
.public-link-row.is-new {
    background: var(--surface-cold);
    border-color: var(--blue-border);
}

.public-link-row.is-new {
    box-shadow: 0 0 0 4px rgba(11,116,209,0.05);
}

.public-link-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
}

.public-link-icon {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dbeeff;
    border-radius: 10px;
    background: #eaf4ff;
    color: #0b74d1;
}

.public-link-text {
    min-width: 0;
    display: grid;
    gap: 2px;
    text-align: left;
}

.public-short-link {
    color: #111111;
    font-size: 14px;
    font-weight: 650;
    letter-spacing: -0.02em;
}

.public-short-link:hover {
    color: #0b74d1;
}

.public-destination {
    max-width: 360px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #8b96a5;
    font-size: 12px;
}

.public-link-meta {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #8b96a5;
    font-size: 12px;
}

.public-copy-btn {
    width: 30px;
    padding: 0;
}

.public-copy-btn svg,
.public-link-icon svg {
    width: 15px;
    height: 15px;
}

.tiny-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, 0.22);
    backdrop-filter: blur(8px);
}

.tiny-modal {
    width: min(420px, 100%);
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 22px 70px rgba(15, 23, 42, 0.16);
}

.tiny-modal-kicker {
    margin-bottom: 8px;
    color: #0b74d1;
    font-size: 12px;
    font-weight: 700;
}

.tiny-modal h2 {
    margin: 0;
    color: #111111;
    font-size: 22px;
    line-height: 1.1;
    letter-spacing: -0.05em;
}

.tiny-modal p {
    margin: 12px 0 0;
    color: #697586;
    font-size: 14px;
    line-height: 1.6;
}

.tiny-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 18px;
}

.tiny-modal-actions button {
    min-width: 78px;
    padding: 0 12px;
}

.tiny-modal-primary {
    border-color: #111111 !important;
    background: #111111 !important;
    color: #ffffff !important;
}

@media (max-width: 620px) {
    .public-link-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .public-link-meta {
        width: 100%;
        justify-content: space-between;
    }

    .public-destination {
        max-width: min(76vw, 360px);
    }
}


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

.preview-card.is-new {
    background: var(--surface-cold);
    border-color: var(--blue-border);
    box-shadow: 0 0 0 4px rgba(11,116,209,0.05), 0 10px 34px rgba(15, 23, 42, 0.045);
}

.builder-toolbar {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
}

.small-btn {
    height: 30px;
    padding: 0 10px;
    font-size: 12px;
    border-radius: 9px;
}

@media (max-width: 430px) {
    .preview-card {
        align-items: flex-start;
        gap: 8px;
    }

    .preview-left {
        min-width: 0;
        flex: 1 1 auto;
    }

    .preview-content {
        min-width: 0;
        display: grid;
        grid-template-columns: 1fr auto;
        column-gap: 8px;
        align-items: center;
    }

    .preview-url {
        min-width: 0;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .preview-long {
        grid-column: 1 / -1;
        max-width: 100%;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .preview-actions {
        gap: 5px;
        margin-top: 0;
        flex-shrink: 0;
    }

    .icon-btn {
        width: 28px;
        height: 28px;
        min-width: 28px;
        border-radius: 9px;
    }

    .icon-btn svg,
    .icon-btn .lucide,
    .icon-btn [data-lucide] {
        width: 14px;
        height: 14px;
    }
}

/* qr-modal */
.tiny-qr-backdrop {
    z-index: 95;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(17, 24, 39, 0.46);
}

.tiny-qr-modal {
    position: relative;
    width: min(498px, 100%);
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    padding: 0;
    border-radius: 14px;
    border-color: #d8dee6;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.22);
    text-align: left;
}

.tiny-qr-modal-head {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 16px 12px;
}

.tiny-qr-modal-head h2 {
    margin: 0;
    color: #111827;
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: -0.035em;
    font-weight: 750;
}

.tiny-qr-close {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid #d8dee6;
    border-radius: 9px;
    background: #ffffff;
    color: #64748b;
    font-size: 0;
    line-height: 1;
    transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.tiny-qr-close::before {
    content: "×";
    display: block;
    font-size: 22px;
    line-height: 1;
    transform: translateY(-1px);
}

.tiny-qr-close:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #111827;
}

.tiny-qr-section {
    padding: 14px 16px;
}

.tiny-qr-section + .tiny-qr-section {
    border-top: 1px solid #e9edf3;
}

.tiny-qr-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.tiny-qr-title-row {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
}

.tiny-qr-title-row strong {
    color: #344054;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.tiny-qr-lock-icon {
    width: 22px;
    height: 22px;
    display: inline-grid;
    place-items: center;
    border: 1px solid #dbe7f3;
    border-radius: 999px;
    background: #f8fbff;
    color: #64748b;
    transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.tiny-qr-lock-icon:hover {
    border-color: var(--blue-border);
    background: var(--blue-soft);
    color: var(--blue);
}

.tiny-qr-lock-icon svg,
.tiny-qr-lock-icon .lucide,
.tiny-qr-lock-icon [data-lucide] {
    width: 12px;
    height: 12px;
}

.tiny-qr-download-action {
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 10px;
    border: 1px solid #d8dee6;
    border-radius: 9px;
    background: #ffffff;
    color: #344054;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    transition: background 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.tiny-qr-download-action:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
    color: #111827;
}

.tiny-qr-download-action svg,
.tiny-qr-download-action .lucide,
.tiny-qr-download-action [data-lucide] {
    width: 14px;
    height: 14px;
}

.tiny-qr-help {
    width: 16px;
    height: 16px;
    display: inline-grid;
    place-items: center;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
}

.tiny-qr-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.tiny-qr-icon-action {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 9px;
    color: #64748b;
    transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.tiny-qr-icon-action:hover {
    border-color: #dbe7f3;
    background: #f8fafc;
    color: var(--blue);
}

.tiny-qr-icon-action svg,
.tiny-qr-icon-action .lucide,
.tiny-qr-icon-action [data-lucide] {
    width: 16px;
    height: 16px;
}

.tiny-qr-preview-box {
    min-height: 184px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    border: 1px solid #cfd8e3;
    border-radius: 5px;
    background-color: #ffffff;
    background-image: radial-gradient(#d7dde7 0.75px, transparent 0.75px);
    background-size: 5px 5px;
}

.tiny-qr-image-wrap {
    position: relative;
    width: 150px;
    height: 150px;
    display: grid;
    place-items: center;
    background: #ffffff;
}

.tiny-qr-image {
    width: 150px;
    height: 150px;
    display: block;
    object-fit: contain;
}

.tiny-qr-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    transform: translate(-50%, -50%);
    border: 1px solid #e6ebf1;
    border-radius: 9px;
    background: #ffffff;
    color: #111111;
    font-size: 13px;
    font-weight: 760;
    line-height: 1;
    letter-spacing: -0.06em;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.tiny-qr-lock-pill {
    height: 24px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 9px;
    border: 1px solid #dbe7f3;
    border-radius: 999px;
    background: #f8fbff;
    color: #64748b;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.tiny-qr-lock-pill svg,
.tiny-qr-lock-pill .lucide,
.tiny-qr-lock-pill [data-lucide] {
    width: 12px;
    height: 12px;
}

.tiny-qr-color-row,
.tiny-qr-logo-options {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px;
    opacity: 0.62;
    filter: grayscale(0.25);
    pointer-events: none;
}

.tiny-qr-color-row span {
    width: 31px;
    height: 31px;
    display: inline-block;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    background: var(--qr-color);
}

.tiny-qr-color-row span.is-active {
    position: relative;
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 3px #64748b;
}

.tiny-qr-color-row span.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 13px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: translate(-50%, -58%) rotate(42deg);
}

.tiny-qr-logo-options span {
    width: 43px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border: 1px solid #d9e0ea;
    border-radius: 10px;
    background: #ffffff;
    color: var(--blue);
    font-size: 14px;
    font-weight: 800;
}

.tiny-qr-logo-options span.is-active {
    color: #111111;
}

.tiny-qr-logo-options svg,
.tiny-qr-logo-options .lucide,
.tiny-qr-logo-options [data-lucide] {
    width: 15px;
    height: 15px;
}

.tiny-qr-logo-options .tiny-qr-logo-option-brand {
    color: #111111;
    font-size: 14px;
    letter-spacing: -0.06em;
}

.tiny-qr-logo-options .tiny-qr-logo-option-pdf {
    color: #dc2626;
    font-size: 11px;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.tiny-qr-logo-options .tiny-qr-logo-option-facebook {
    color: #1877f2;
}

.tiny-qr-logo-options .tiny-qr-logo-option-youtube {
    color: #ff0000;
}

.tiny-qr-logo-options .tiny-qr-logo-option-globe {
    color: #0b74d1;
}

.tiny-qr-logo-options .tiny-qr-logo-option-wifi,
.tiny-qr-logo-options .tiny-qr-logo-option-link {
    color: var(--blue);
}

.tiny-qr-logo-options .tiny-qr-logo-option-facebook svg,
.tiny-qr-logo-options .tiny-qr-logo-option-youtube svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    stroke: none;
}

.tiny-qr-logo-options .tiny-qr-youtube-play {
    fill: #ffffff;
}

.tiny-qr-logo-options span.is-active {
    border-color: #cfd8e3;
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 3px #64748b;
}

.tiny-qr-upgrade {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid #dbe7f3;
    border-radius: 12px;
    background: #fbfdff;
    color: #667085;
    font-size: 12px;
    line-height: 1.45;
    transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.tiny-qr-upgrade:hover {
    border-color: var(--blue-border);
    background: var(--blue-soft);
    color: #344054;
}

.tiny-qr-upgrade strong {
    flex: 0 0 auto;
    color: var(--blue);
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
}

.tiny-qr-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 16px;
    border-top: 1px solid #e9edf3;
}

.tiny-qr-cancel,
.tiny-qr-save {
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 650;
    transition: background 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.tiny-qr-cancel {
    border: 1px solid #9aa5b3;
    background: #ffffff;
    color: #697586;
}

.tiny-qr-cancel:hover {
    border-color: #64748b;
    background: #f8fafc;
    color: #111827;
}

.tiny-qr-save {
    border: 1px solid #202326;
    background: #202326;
    color: #ffffff;
}

.tiny-qr-save:hover {
    background: #111111;
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(17,17,17,0.045), 0 10px 24px rgba(15,23,42,0.10);
}

@media (max-width: 560px) {
.tiny-qr-backdrop {
    padding: 10px;
    align-items: center;
}

    .tiny-qr-modal {
        width: 100%;
        max-height: calc(100vh - 20px);
    }

    .tiny-qr-preview-box {
        min-height: 170px;
    }

    .tiny-qr-image-wrap,
    .tiny-qr-image {
        width: 138px;
        height: 138px;
    }

    .tiny-qr-color-row,
    .tiny-qr-logo-options {
        gap: 8px;
        overflow-x: auto;
        padding: 5px 5px 7px;
        scrollbar-width: none;
    }

    .tiny-qr-color-row::-webkit-scrollbar,
    .tiny-qr-logo-options::-webkit-scrollbar {
        display: none;
    }

    .tiny-qr-color-row span,
    .tiny-qr-logo-options span {
        flex: 0 0 auto;
    }

    .tiny-qr-upgrade {
        align-items: flex-start;
        flex-direction: column;
    }

    .tiny-qr-footer {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .tiny-qr-cancel,
    .tiny-qr-save {
        width: 100%;
    }
}


/* cookie popup */
.cookie-popup {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 120;
    width: min(430px, calc(100vw - 36px));
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--text-muted);
    box-shadow: 0 18px 54px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.cookie-popup-text {
    flex: 1 1 auto;
    font-size: 12px;
    line-height: 1.55;
    letter-spacing: -0.01em;
}

.cookie-ok-btn {
    flex: 0 0 auto;
    height: 32px;
    padding: 0 13px;
    border: 1px solid #111111;
    border-radius: 10px;
    background: #111111;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    transition: background 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.cookie-ok-btn:hover {
    background: #1d1d1f;
    border-color: #1d1d1f;
    box-shadow: 0 0 0 4px rgba(17,17,17,0.045);
}

@media (max-width: 560px) {
    .cookie-popup {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
        align-items: stretch;
        flex-direction: column;
        gap: 12px;
        border-radius: 17px;
    }

    .cookie-ok-btn {
        width: 100%;
    }
}
