:root {
    --ink: #1B2A4A;
    --ink-soft: #2C3E63;
    --paper: #FBF8F2;
    --paper-dim: #F2EDE1;
    --mustard: #E8A33D;
    --thread: #C1443C;
    --slate: #3F4A5E;
    --line: #DAD3C2;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--slate);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.sl-display {
    font-family: 'Fraunces', serif;
    color: var(--ink);
    letter-spacing: -0.01em;
}

a {
    text-decoration: none;
}

.sl-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.75rem;
}

/* ===== NAV ===== */
.sl-nav {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 1.1rem 0;
    position: sticky;
    top: 0;
    z-index: 40;
}

.sl-nav__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.sl-brand {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 1.35rem;
    color: var(--ink);
}

.sl-brand__mark {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    background: var(--ink);
    position: relative;
    flex: none;
}

.sl-brand__mark::before,
.sl-brand__mark::after {
    content: "";
    position: absolute;
    background: var(--mustard);
    border-radius: 2px;
}

.sl-brand__mark::before {
    width: 14px;
    height: 4px;
    top: 9px;
    left: 5px;
    transform: rotate(45deg);
}

.sl-brand__mark::after {
    width: 14px;
    height: 4px;
    top: 16px;
    left: 5px;
    transform: rotate(-45deg);
}

.sl-nav__links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.sl-nav__links a {
    color: var(--slate);
    font-size: .95rem;
    font-weight: 500;
}

.sl-nav__links a:hover {
    color: var(--ink);
}

.sl-nav__cta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.sl-link-muted {
    color: var(--slate);
    font-weight: 500;
    font-size: .95rem;
}

.sl-lang-switch {
    position: relative;
}

.sl-lang-switch__btn {
    display: flex;
    align-items: center;
    gap: .4rem;
    background: var(--ink);
    color: var(--white);
    border: none;
    border-radius: 999px;
    padding: .5rem 1rem;
    font-size: .85rem;
    font-weight: 700;
    cursor: pointer;
}

.sl-lang-switch__btn:hover,
.sl-lang-switch__btn:focus {
    background: var(--ink-soft);
    color: var(--white);
    box-shadow: none;
}

.sl-lang-switch__btn:after {
    margin-left: .15rem;
}

.sl-lang-switch__menu {
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 18px 40px -22px rgba(27, 42, 74, .35);
    padding: .5rem;
    min-width: 220px;
    max-height: 300px;
    overflow-y: auto;
}

.sl-lang-switch__item {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .55rem .65rem;
    border-radius: 8px;
    font-size: .92rem;
    color: var(--slate);
}

.sl-lang-switch__item:hover {
    background: var(--paper-dim);
    color: var(--ink);
}

.sl-lang-switch__item.is-active {
    color: var(--ink);
    font-weight: 600;
    background: var(--paper-dim);
}

.sl-lang-switch__code {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 700;
    color: var(--ink);
    width: 22px;
    flex: none;
    font-size: .78rem;
}

.sl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .7rem 1.4rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: .95rem;
    border: 1.5px solid transparent;
    transition: transform .12s ease, background .15s ease, border-color .15s ease;
    cursor: pointer;
}

.sl-btn:active {
    transform: translateY(1px);
}

.sl-btn--solid {
    background: var(--ink);
    color: var(--white);
}

.sl-btn--solid:hover {
    background: var(--ink-soft);
    color: var(--white);
}

.sl-btn--accent {
    background: var(--mustard);
    color: var(--ink);
}

.sl-btn--accent:hover {
    background: #dd962e;
    color: var(--ink);
}

.sl-btn--outline {
    border-color: var(--ink);
    color: var(--ink);
    background: transparent;
}

.sl-btn--outline:hover {
    background: var(--ink);
    color: var(--white);
}

.sl-btn--block {
    width: 100%;
}

/* ===== HERO ===== */
.sl-hero {
    padding: 4.5rem 0 3rem;
    background:
        radial-gradient(700px 320px at 85% -10%, rgba(232, 163, 61, .18), transparent 60%),
        var(--paper);
}

.sl-hero__grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 3.5rem;
    align-items: start;
}

.sl-eyebrow-tag {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--paper-dim);
    border: 1px solid var(--line);
    color: var(--ink);
    padding: .4rem .85rem;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.sl-eyebrow-tag .bi {
    color: var(--thread);
}

.sl-hero h1 {
    font-size: 3.1rem;
    line-height: 1.08;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.sl-hero h1 em {
    font-style: italic;
    color: var(--thread);
}

.sl-hero p.sl-lead {
    font-size: 1.15rem;
    color: var(--slate);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* shorten form card */
.sl-form-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 18px 40px -22px rgba(27, 42, 74, .35);
}

.sl-form-card__label {
    font-size: .78rem;
    text-transform: none;
    font-weight: 600;
    color: var(--slate);
    margin-bottom: .4rem;
    display: block;
}

.sl-input-group {
    display: flex;
    border: 1.5px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: var(--paper);
}

.sl-input-group:focus-within {
    border-color: var(--ink);
}

.sl-input-group__icon {
    display: flex;
    align-items: center;
    padding: 0 .85rem;
    color: var(--slate);
    background: var(--paper-dim);
    border-right: 1px solid var(--line);
}

.sl-input-group input,
.sl-input-group select {
    border: none;
    background: transparent;
    padding: .8rem .9rem;
    flex: 1;
    font-size: .98rem;
    color: var(--ink);
    outline: none;
    min-width: 0;
}

.sl-form-row {
    display: flex;
    gap: .75rem;
}

.sl-form-row>div {
    flex: 1;
}

.sl-input-group--domain .sl-input-group__prefix {
    display: flex;
    align-items: center;
    padding: 0 0 0 .9rem;
    color: var(--slate);
    font-weight: 600;
    font-size: .98rem;
    white-space: nowrap;
    background: var(--paper);
}

.sl-input-group--domain input {
    padding-left: .3rem;
}

.sl-result {
    margin-top: 1.25rem;
    padding: 1rem 1.1rem;
    background: var(--paper-dim);
    border: 1px dashed var(--line);
    border-radius: 10px;
    display: none;
}

.sl-result.is-visible {
    display: flex;
}

.sl-result {
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.sl-result__link {
    font-family: 'IBM Plex Mono', monospace;
    font-size: .95rem;
    color: var(--thread);
    font-weight: 500;
    word-break: break-all;
}

.sl-result__copy {
    border: 1px solid var(--ink);
    background: var(--white);
    color: var(--ink);
    padding: .4rem .8rem;
    border-radius: 7px;
    font-size: .82rem;
    font-weight: 600;
    flex: none;
}

.sl-form-note {
    font-size: .78rem;
    color: #7a8296;
    margin-top: 1rem;
    line-height: 1.5;
}

.sl-form-note a {
    color: var(--slate);
    text-decoration: underline;
}

/* ===== post-submit result + QR panel ===== */
.sl-done__link-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1rem 1.1rem;
    background: var(--paper-dim);
    border: 1px dashed var(--line);
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.sl-qr__preview {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    margin-bottom: 1.5rem;
}

.sl-qr__preview canvas,
.sl-qr__preview img {
    max-width: 100%;
    height: auto;
}

.sl-qr-custom {
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.25rem 1.4rem;
    margin-bottom: 1.5rem;
    background: var(--white);
}

.sl-qr-custom__title {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    color: var(--ink);
    text-align: center;
    font-size: 1.15rem;
    margin-bottom: 1.1rem;
}

.sl-qr-custom__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .65rem 0;
    border-bottom: 1px solid var(--line);
}

.sl-qr-custom__row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sl-qr-custom__label {
    font-size: .92rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.sl-qr-custom__swatch {
    -webkit-appearance: none;
    appearance: none;
    width: 38px;
    height: 38px;
    border: 1.5px solid var(--line);
    border-radius: 9px;
    padding: 0;
    background: none;
    cursor: pointer;
    flex: none;
}

.sl-qr-custom__swatch::-webkit-color-swatch-wrapper {
    padding: 2px;
}

.sl-qr-custom__swatch::-webkit-color-swatch {
    border: none;
    border-radius: 6px;
}

.sl-qr-custom__select {
    width: auto;
    min-width: 160px;
    border-radius: 9px;
    border: 1.5px solid var(--line);
    font-size: .9rem;
    padding: .5rem .8rem;
    color: var(--ink);
}

.sl-qr-custom__select:focus {
    border-color: var(--ink);
    box-shadow: none;
}

.sl-qr__actions {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

/* stamps stack visual */
.sl-stamp-stack {
    position: relative;
    padding-top: 1rem;
}

.sl-stamp {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1rem 1.15rem;
    margin-bottom: 1rem;
    box-shadow: 0 14px 30px -20px rgba(27, 42, 74, .4);
    display: flex;
    align-items: center;
    gap: .9rem;
}

.sl-stamp:nth-child(1) {
    transform: rotate(-1.3deg);
}

.sl-stamp:nth-child(2) {
    transform: rotate(1deg);
    margin-left: 1.75rem;
}

.sl-stamp:nth-child(3) {
    transform: rotate(-0.6deg);
}

.sl-stamp__badge {
    width: 42px;
    height: 42px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    flex: none;
}

.sl-stamp:nth-child(1) .sl-stamp__badge {
    background: var(--ink);
}

.sl-stamp:nth-child(2) .sl-stamp__badge {
    background: var(--thread);
}

.sl-stamp:nth-child(3) .sl-stamp__badge {
    background: var(--mustard);
    color: var(--ink);
}

.sl-stamp__short {
    font-family: 'IBM Plex Mono', monospace;
    font-weight: 500;
    color: var(--ink);
    font-size: .95rem;
}

.sl-stamp__long {
    font-size: .78rem;
    color: #8b93a5;
    max-width: 230px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sl-stamp__meta {
    margin-left: auto;
    text-align: right;
    font-size: .78rem;
    color: var(--slate);
    font-weight: 600;
    flex: none;
}

/* ===== recent links ===== */
.sl-recent {
    padding: 1rem 0 3rem;
}

.sl-recent__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.sl-recent__head h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
    font-size: .95rem;
}

.sl-recent__empty {
    border: 1px dashed var(--line);
    border-radius: 12px;
    padding: 1.5rem;
    color: #8b93a5;
    font-size: .9rem;
    text-align: center;
}

.sl-recent__row {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: .85rem 1.1rem;
    margin-bottom: .6rem;
}

.sl-recent__row .sl-result__copy {
    margin-left: auto;
}

/* ===== news ===== */
.sl-news {
    padding: 1rem 0 1rem;
}

.sl-news__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.sl-news__head h2 {
    font-size: 1.9rem;
    margin-bottom: .4rem;
}

.sl-news__head p {
    color: var(--slate);
    margin: 0;
    max-width: 52ch;
}

.sl-news-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sl-news-card__media {
    height: 150px;
    background: var(--paper-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mustard);
    font-size: 1.8rem;
    border-bottom: 1px solid var(--line);
}

.sl-news-card__body {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sl-news-card__date {
    font-size: .78rem;
    color: #8b93a5;
    font-weight: 600;
    margin-bottom: .5rem;
}

.sl-news-card h5 {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    color: var(--ink);
    font-size: 1.08rem;
    margin-bottom: .6rem;
}

.sl-news-card p {
    font-size: .9rem;
    color: var(--slate);
    line-height: 1.55;
    margin-bottom: 1rem;
    flex: 1;
}

.sl-news-card a.sl-news-card__link {
    font-size: .86rem;
    font-weight: 600;
    color: var(--thread);
}

.sl-news-card a.sl-news-card__link:hover {
    text-decoration: underline;
}

.sl-news__more {
    text-align: center;
    margin-top: 2.25rem;
}

/* ===== features ===== */
.sl-section {
    padding: 1rem 0;
}

.sl-section--dim {
    background: var(--paper-dim);
}

.sl-section__head {
    margin-bottom: 1rem;
}

.sl-section__head h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: .85rem;
}

.sl-section__head p {
    font-size: 1.05rem;
    color: var(--slate);
    line-height: 1.6;
}

.sl-feature {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1.75rem;
    height: 100%;
}

.sl-feature__icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--ink);
    color: var(--mustard);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 1.1rem;
}

.sl-feature h5 {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: .55rem;
    font-size: 1.15rem;
}

.sl-feature p {
    font-size: .92rem;
    color: var(--slate);
    line-height: 1.55;
    margin: 0;
}

/* ===== stats banner ===== */
.sl-stats {
    background: var(--ink);
    color: var(--white);
    padding: 4rem 0;
}

.sl-stats h2 {
    color: var(--white);
    font-size: 1.9rem;
    margin-bottom: .5rem;
}

.sl-stats p.sl-lead {
    color: #C9D2E4;
    max-width: 56ch;
}

.sl-stat {
    border-left: 2px solid var(--mustard);
    padding-left: 1.1rem;
}

.sl-stat__num {
    font-family: 'Fraunces', serif;
    font-size: 2.2rem;
    font-weight: 600;
    display: block;
    color: var(--white);
}

.sl-stat__label {
    font-size: .88rem;
    color: #B7C1D6;
}

/* ===== faq ===== */
.sl-faq-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0;
}

.accordion-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line);
    border-radius: 0 !important;
}

.accordion-button {
    background: transparent;
    font-family: 'Fraunces', serif;
    font-weight: 500;
    color: var(--ink);
    font-size: 1.08rem;
    padding: 1.15rem 0;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    color: var(--thread);
    background: transparent;
}

.accordion-button::after {
    filter: none;
}

.accordion-body {
    padding: 0 0 1.4rem;
    color: var(--slate);
    font-size: .96rem;
    line-height: 1.65;
    max-width: 70ch;
}

/* ===== cta ===== */
.sl-cta {
    background: var(--mustard);
    padding: 3.5rem 0;
}

.sl-cta__box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.sl-cta h2 {
    font-size: 1.9rem;
    margin-bottom: .4rem;
}

.sl-cta p {
    color: #54401a;
    margin: 0;
    font-size: 1rem;
}

/* ===== footer ===== */
.sl-footer {
    background: var(--ink);
    color: #B7C1D6;
    padding: 1rem 0 2rem;
}

.sl-footer h6 {
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: .85rem;
    margin-bottom: 1.1rem;
}

.sl-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sl-footer li {
    margin-bottom: .65rem;
}

.sl-footer a {
    color: #B7C1D6;
    font-size: .9rem;
}

.sl-footer a:hover {
    color: var(--mustard);
}

.sl-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: .85rem;
}

.sl-social {
    display: flex;
    gap: .9rem;
}

.sl-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sl-social a:hover {
    border-color: var(--mustard);
}

@media (max-width: 991px) {
    .sl-hero__grid {
        grid-template-columns: 1fr;
    }

    .sl-nav__links {
        display: none;
    }

    .sl-hero h1 {
        font-size: 2.3rem;
    }

    .sl-stamp-stack {
        margin-top: 2rem;
    }
}

figcaption {
    text-align: center;
    font-style: italic;
}

figure.image {
    text-align: center;
}

figure.image img {
    max-width: 100%;
}

.imgBlogCat {
    width: 100%;
    margin-bottom: 9px;
    padding-bottom: 9px;
}

.kcontent h2 {
    border-top: 1px solid;
    padding-top: 5px;
    font-size: 21px;
}

.kcontent h3 {
    font-size: 18px;
}

.kcontent h4 {
    font-size: 16px;
}