:root {
    --bg: #f4f8ff;
    --ink: #14213d;
    --text: #44506b;
    --line: #dfe7f7;
    --primary: #1153f4;
    --primary-deep: #0832a8;
    --surface: #ffffff;
    --soft: #edf2ff;
    --radius: 18px;
    --shadow: 0 22px 50px rgba(14, 41, 113, 0.14);
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Bricolage Grotesque", sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, #f8fbff 0%, #f2f6ff 100%);
    line-height: 1.6;
}

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

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

.shell {
    width: min(1120px, 92vw);
    margin: 0 auto;
}

h1,
h2,
h3 {
    font-family: "Bricolage Grotesque", sans-serif;
    line-height: 1.12;
    margin: 0;
}

p {
    margin: 0;
    color: var(--text);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(248, 251, 255, 0.86);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(17, 83, 244, 0.07);
}

.header-shell {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

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

.brand-logo {
    height: 36px;
    width: auto;
}

.nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 22px;
}

.nav-links a {
    color: #2a3554;
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--primary);
}

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

.lang-switcher {
    position: relative;
    display: inline-flex;
}

.lang-switcher__toggle {
    min-width: 86px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid #d3def7;
    background: rgba(255, 255, 255, 0.92);
    color: #2f4578;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.lang-switcher__toggle:hover {
    border-color: #a9c2fb;
}

.lang-switcher__flag {
    font-size: 0.95rem;
    line-height: 1;
}

.lang-switcher__code {
    line-height: 1;
}

.lang-switcher__caret {
    width: 14px;
    height: 14px;
    fill: currentColor;
    opacity: 0.75;
    transition: transform 0.2s ease;
}

.lang-switcher.is-open .lang-switcher__caret {
    transform: rotate(180deg);
}

.lang-switcher__menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 70;
    list-style: none;
    margin: 0;
    padding: 8px;
    min-width: 200px;
    border-radius: 14px;
    border: 1px solid #d3def7;
    background: #fff;
    box-shadow: 0 16px 32px rgba(19, 41, 95, 0.16);
}

.lang-switcher__menu[hidden] {
    display: none !important;
}

.lang-switcher--footer .lang-switcher__menu {
    top: auto;
    bottom: calc(100% + 8px);
}

.lang-switcher__option {
    display: grid;
    grid-template-columns: 20px 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    color: #31487a;
    font-size: 0.86rem;
}

.lang-switcher__option:hover {
    background: #f1f6ff;
}

.lang-switcher__option.is-active {
    background: #eaf1ff;
    color: #173eab;
    font-weight: 700;
}

.lang-switcher__name {
    white-space: nowrap;
}

.editor-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    border: 1.5px solid #5d6dff;
    border-radius: 999px;
    color: #2e69ff;
  /*   background: rgba(255, 255, 255, 0.76); */
    font-size: clamp(0.9rem, 0.92vw, 1rem);
    font-weight: 500;
    line-height: 1;
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.editor-btn:hover {
    background: #fff;
    box-shadow: 0 8px 22px rgba(48, 102, 255, 0.2);
    transform: translateY(-1px);
}

.editor-btn-icon {
    width: 14px;
    height: 14px;
    fill: #2e69ff;
    flex: 0 0 auto;
}

.hero-editor-btn {
    display: flex;
    margin: 0 auto 18px;
    width: fit-content;
}

.btn {
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-solid {
    color: #fff;
    background: linear-gradient(135deg, var(--primary) 0%, #2a73ff 100%);
    box-shadow: 0 12px 28px rgba(17, 83, 244, 0.28);
}

.btn-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(17, 83, 244, 0.34);
}

.btn-ghost {
    background: var(--surface);
    color: #1153f4;
    border: 1px solid #256cfd;
}

.btn-ghost:hover {
    transform: translateY(-2px);
    border-color: #aac3fb;
}

.hero {
    position: relative;
    padding: 72px 0 0px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 20%, rgba(101, 147, 255, 0.22), transparent 45%),
        radial-gradient(circle at 85% 20%, rgba(139, 217, 255, 0.32), transparent 44%),
        linear-gradient(180deg, #edf3ff 0%, #e8f0ff 100%);
    z-index: -1;
}

.hero-chip {
    width: fit-content;
    margin: 0 auto 18px;
    padding: 7px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    background: #fff;
    border: 1px solid #b9ceff;
    border-radius: 999px;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.6rem);
    text-align: center;
    color: #2f3546;
}

.hero-lead {
    margin: 20px auto 0;
    max-width: 820px;
    text-align: center;
    font-size: 1.06rem;
}

.hero-cta {
    margin-top: 28px;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-preview {
    margin-top: 44px;
    border-radius: 5px;
    overflow: hidden;
  
    border: 1px solid #d8e5ff;
}
/* .hero-preview  img{
    box-shadow: var(--shadow);
} */
.home-features {
    padding: 62px 0 26px;
    background: linear-gradient(180deg, rgba(236, 242, 255, 0.66) 0%, rgba(244, 248, 255, 0.08) 100%);
}

.home-features-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 24px;
}

.home-features-head h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    letter-spacing: -0.02em;
    color: #102447;
    max-width: 760px;
}

.home-features-head p {
    margin-top: 12px;
    max-width: 710px;
    font-size: 1.12rem;
}

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

.home-feature-card {
    background: #fff;
    border: 1px solid #dbe6ff;
    border-radius: 18px;
    padding: 22px;
    min-height: 188px;
    box-shadow: 0 16px 32px rgba(14, 41, 113, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 22px 40px rgba(14, 41, 113, 0.12);
}

.home-feature-icon {
    width: 50px;
    height: 50px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 14px;
    color: #2d59ff;
    background: linear-gradient(145deg, #edf2ff 0%, #e1eaff 100%);
    border: 1px solid #ccdbff;
    border-radius: 14px;
}

.home-feature-icon svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.home-feature-card h3 {
    font-size: 1.9rem;
    color: #102447;
    margin-bottom: 8px;
}

.home-feature-card p {
    font-size: 1.08rem;
    color: #4d5f86;
}

.templates-showcase {
    padding: 56px 0 18px;
    background:
        radial-gradient(circle at 10% 10%, rgba(79, 130, 255, 0.12), transparent 38%),
        radial-gradient(circle at 90% 0%, rgba(84, 185, 255, 0.18), transparent 42%),
        linear-gradient(180deg, rgba(244, 248, 255, 0.86) 0%, rgba(237, 243, 255, 0.5) 100%);
}

.templates-head {
    margin-bottom: 18px;
}

.templates-head h2 {
    font-size: clamp(1.9rem, 4vw, 2.7rem);
    color: #15274f;
}

.templates-head p {
    margin-top: 10px;
    max-width: 820px;
}

.template-carousel {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
}

.template-nav {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #c9dbff;
    color: #2451cd;
    background: #fff;
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(18, 44, 113, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.template-nav:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: #9cb7f7;
    box-shadow: 0 14px 26px rgba(18, 44, 113, 0.16);
}

.template-nav:disabled {
    opacity: 0.45;
    cursor: default;
    box-shadow: none;
}

.template-viewport {
    overflow: hidden;
    padding: 10px 2px;
}

.template-track {
    display: flex;
    gap: 18px;
    transition: transform 0.35s ease;
    will-change: transform;
}

.template-card {
    flex: 0 0 calc((100% - 36px) / 3);
    min-width: 0;
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dbe7ff;
    border-radius: 20px;
    padding: 14px;
    box-shadow: 0 16px 34px rgba(14, 41, 113, 0.09);
    transform: translateY(0) scale(1);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.template-card::after {
    content: "";
    position: absolute;
    inset: -20% auto -20% -48%;
    width: 34%;
    pointer-events: none;
    background: linear-gradient(
        110deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.55) 48%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(10deg) translateX(0);
    opacity: 0;
}

.template-preview {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #d6e3ff;
    background: linear-gradient(140deg, #f6f9ff 0%, #eaf1ff 100%);
    margin-bottom: 12px;
}

.template-preview::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 20% 15%, rgba(78, 133, 255, 0.22), transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.template-preview svg {
    width: 100%;
    height: auto;
    display: block;
    transform: translateY(0) scale(1);
    transition: transform 0.35s ease, filter 0.35s ease;
}

.template-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: #adc6ff;
    box-shadow: 0 24px 44px rgba(17, 51, 132, 0.18);
}

.template-card:hover::after {
    opacity: 1;
    animation: templateSheen 0.7s ease forwards;
}

.template-card:hover .template-preview::before {
    opacity: 1;
}

.template-card:hover .template-preview svg {
    transform: translateY(-2px) scale(1.03);
    filter: saturate(1.08);
}

.template-card:hover h3 {
    color: #1b46b8;
}

.template-card:hover p {
    color: #415986;
}

.template-card h3 {
    font-size: 1.05rem;
    color: #13295c;
    margin-bottom: 6px;
}

.template-card p {
    font-size: 0.9rem;
    color: #516389;
}

.template-dots {
    margin-top: 16px;
    display: flex;
    gap: 8px;
    justify-content: center;
}

.template-dot {
    width: 9px;
    height: 9px;
    border: 0;
    border-radius: 50%;
    background: #b8ccf8;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.template-dot.is-active {
    background: #2d59ff;
    transform: scale(1.15);
}

@keyframes templateSheen {
    from {
        transform: rotate(10deg) translateX(0);
    }
    to {
        transform: rotate(10deg) translateX(430%);
    }
}

.platform,
.feed-slice,
.content-wrap,
.article-shell {
    padding: 72px 0;
}

.section-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 38px;
}

.section-head h2,
.split-head h2,
.archive-hero h1 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: #31353e;
}

.section-head p,
.split-head p,
.archive-hero p {
    margin-top: 12px;
}

.platform-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 26px;
    align-items: center;
}

.steps {
    margin: 0;
    padding: 0;
    list-style: none;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.step-item {
    padding: 8px 0 14px;
    border-bottom: 1px solid #dbe4f5;
}

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

.step-trigger {
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.step-title {
    display: inline-block;
    font-size: 2rem;
    font-size: clamp(1.2rem, 1.2vw, 1.9rem);
    font-weight: 700;
    color: #8f96a7;
    transition: color 0.25s ease;
}

.step-copy {
    margin-top: 10px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.25s ease;
}

.step-item.is-active .step-title {
    color: var(--primary);
}

.step-item.is-active .step-copy {
    max-height: 72px;
    opacity: 1;
}

.dual-frame {
    position: relative;
    min-height: 380px;
    border-radius: 24px;
    background: linear-gradient(130deg, #d8e4ff 0%, #c4dafd 100%);
    box-shadow: var(--shadow);
    padding: 26px;
    display: grid;
    place-items: center;
}

.platform-media {
    position: relative;
    width: min(620px, 100%);
    aspect-ratio: 16 / 10;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #d1def8;
    box-shadow: 0 16px 36px rgba(13, 53, 142, 0.18);
    background: rgba(255, 255, 255, 0.35);
}

.platform-shot {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.02);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.platform-shot.is-active {
    opacity: 1;
    transform: scale(1);
}

.split-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 14px;
    margin-bottom: 26px;
}

.pricing-section {
    padding: 78px 0;
    background: radial-gradient(circle at 8% 0%, rgba(45, 89, 255, 0.1), transparent 35%),
        radial-gradient(circle at 92% 0%, rgba(92, 197, 255, 0.16), transparent 38%);
}

.pricing-head {
    text-align: center;
    margin-bottom: 28px;
}

.pricing-head h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    color: #101b33;
    margin-bottom: 8px;
}

.pricing-toggle {
    display: inline-flex;
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    background: #dfe7fb;
    margin-bottom: 16px;
}

.pricing-toggle button {
    border: 0;
    border-radius: 999px;
    padding: 8px 18px;
    font-weight: 700;
    font-size: 0.88rem;
    color: #556388;
    background: transparent;
    cursor: pointer;
}

.pricing-toggle button.is-active {
    color: #fff;
    background: #2d59ff;
    box-shadow: 0 10px 26px rgba(45, 89, 255, 0.3);
}

.pricing-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.pricing-card {
    background: #fff;
    border-radius: 26px;
    border: 1px solid rgba(15, 35, 80, 0.12);
    box-shadow: 0 20px 44px rgba(16, 27, 51, 0.11);
    padding: 26px;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card.is-recommended {
    border: 2px solid rgba(45, 89, 255, 0.65);
    background: linear-gradient(160deg, rgba(45, 89, 255, 0.08), rgba(255, 255, 255, 0.95));
}

.pricing-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: #2d59ff;
    color: #fff;
    border-radius: 999px;
    padding: 5px 11px;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 1.8rem;
    color: #101b33;
}

.pricing-subtitle {
    margin-top: 4px;
}

.pricing-price {
    margin-top: 12px;
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 2.45rem;
    line-height: 1;
    font-weight: 700;
    color: #0f1d3d;
}

.pricing-price small {
    font-size: 0.98rem;
    color: #5e6887;
    font-weight: 500;
}

.pricing-note {
    margin-top: 8px;
    font-size: 0.86rem;
    color: #6e7ba1;
}

.pricing-cta {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    margin-top: 14px;
    padding: 11px 16px;
    border: 1.5px solid #2d59ff;
    border-radius: 11px;
    color: #2d59ff;
    font-weight: 700;
}

.pricing-card.is-recommended .pricing-cta {
    border-color: transparent;
    color: #fff;
    background: linear-gradient(90deg, #355ef4 0%, #31a8ef 100%);
}

.pricing-meta {
    margin-top: 8px;
    font-size: 0.86rem;
}

.pricing-list {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.pricing-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #304067;
}

.pricing-icon {
    flex: 0 0 auto;
    margin-top: 1px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
}

.pricing-icon.is-positive {
    color: #1b9c63;
    border: 1px solid #1b9c63;
}

.pricing-icon.is-negative {
    color: #d94f4f;
    border: 1px solid #d94f4f;
}

.team-calculator {
    margin-top: 10px;
    padding: 10px 15px;
    border-radius: 16px;
    border: 1px solid rgba(45, 89, 255, 0.26);

    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.team-calculator h4 {
    margin-bottom: 10px;
    font-size: 0.94rem;
    letter-spacing: 0.01em;
    color: #142a58;
}

.team-calc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    color: #122247;
    font-weight: 600;
}

.team-calc-row > span:first-child {
    padding: 5px 9px;
    border-radius: 999px;
    border: 1px solid rgba(26, 53, 113, 0.18);
    background: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    color: #405279;
}

.team-calc-total {
    font-size: 1.14rem;
    font-weight: 700;
    color: #0f1d3d;
    letter-spacing: 0.01em;
}

.team-calculator input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(45, 89, 255, 0.85), rgba(92, 197, 255, 0.6));
    appearance: none;
    outline: none;
    border: 0;
}

.team-calculator input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    margin-top: -6px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: linear-gradient(180deg, #2d59ff 0%, #1b41cf 100%);
    box-shadow: 0 4px 12px rgba(19, 52, 142, 0.35);
    cursor: pointer;
}

.team-calculator input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(45, 89, 255, 0.85), rgba(92, 197, 255, 0.6));
}

.team-calculator input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    margin-top: 0;
    border-radius: 50%;
    border: 2px solid #fff;
    background: linear-gradient(180deg, #2d59ff 0%, #1b41cf 100%);
    box-shadow: 0 4px 12px rgba(19, 52, 142, 0.35);
    cursor: pointer;
}

.team-calculator input[type="range"]::-moz-range-track {
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(45, 89, 255, 0.85), rgba(92, 197, 255, 0.6));
}

.team-calculator input[type="range"]:focus-visible {
    outline: 2px solid #2d59ff;
    outline-offset: 4px;
}

.team-calc-scale {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.82rem;
    color: #5f6e95;
}

.alt {
    background: linear-gradient(180deg, #f4f8ff 0%, #ecf2ff 100%);
}

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

.card {
    background: var(--surface);
    border-radius: 18px;
    border: 1px solid #dbe6ff;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(14, 41, 113, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 34px rgba(14, 41, 113, 0.13);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
}

.card-meta {
    font-size: 0.82rem;
    font-weight: 600;
    color: #516cae;
    margin-bottom: 8px;
}

.term-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.card-body .term-chips-tags {
    margin-top: auto;
    padding-top: 14px;
}

.term-chips-categories {
    margin-top: 8px;
}

.term-chips-tags {
    margin-top: 14px;
}

.term-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.term-chip.category {
    color: #1d4cc9;
    background: #e8f0ff;
    border: 1px solid #c6d8ff;
}

.term-chip.tag {
    color: #196c8d;
    background: #e7f8ff;
    border: 1px solid #b9e8ff;
}

.term-chip.category::before {
   
}

.term-chip.tag::before {
    content: "#";
    font-size: 0.75rem;
    line-height: 1;
}

.term-chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(16, 41, 99, 0.12);
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.card h3 a:hover {
    color: var(--primary);
}

.archive-hero {
    padding: 60px 0 20px;
}

.single-entry {
    max-width: 860px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #dbe6ff;
    box-shadow: 0 14px 32px rgba(14, 41, 113, 0.08);
    padding: clamp(22px, 4vw, 44px);
}

.single-entry h1 {
    margin-bottom: 18px;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.single-entry .term-chips {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #e1e9fb;
}

.single-entry .term-chips-categories {
    margin-top: 10px;
    padding-top: 0;
    border-top: 0;
}

.single-cover {
    border-radius: 14px;
    margin-bottom: 20px;
}

.single-content > * {
    margin-bottom: 16px;
}

.empty-state {
    background: #fff;
    border: 1px dashed #b7c9f2;
    border-radius: 14px;
    padding: 22px;
    color: #405481;
}

.newsletter-strip {
    padding: 30px 0 0;
}

.newsletter-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 20px;
    align-items: center;
    background: linear-gradient(135deg, #ffffff 0%, #f3f8ff 100%);
    border: 1px solid #d4e2ff;
    border-radius: 22px;
    box-shadow: 0 20px 42px rgba(15, 37, 93, 0.1);
    padding: 24px;
}

.newsletter-copy {
    display: grid;
    gap: 8px;
}

.newsletter-icon {
    width: 44px;
    height: 44px;
    display: inline-grid;
    place-items: center;
    border-radius: 12px;
    border: 1px solid #cddcff;
    background: linear-gradient(140deg, #eef3ff 0%, #e2ecff 100%);
    color: #264ff0;
}

.newsletter-icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.newsletter-copy h2 {
    font-size: clamp(1.35rem, 2.1vw, 1.95rem);
    color: #0f1d3d;
}

.newsletter-copy p {
    max-width: 640px;
}

.newsletter-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
}

.newsletter-form input[type="email"] {
    min-width: 0;
    border: 1px solid #c5d8ff;
    border-radius: 12px;
    background: #fff;
    color: #1a2d5e;
    padding: 12px 14px;
    font-size: 0.94rem;
}

.newsletter-form input[type="email"]:focus-visible {
    outline: 2px solid #2d59ff;
    outline-offset: 1px;
}

.newsletter-form button {
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, #2d59ff 0%, #36a3f0 100%);
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
}

.newsletter-form button:hover {
    filter: brightness(0.98);
}

.newsletter-status {
    margin: 10px 4px 0;
    font-size: 0.88rem;
    color: #5b6a91;
}

.newsletter-status-success {
    color: #117347;
}

.newsletter-status-invalid,
.newsletter-status-spam,
.newsletter-status-error {
    color: #b33e3e;
}

.newsletter-popup {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 80;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    max-width: min(460px, calc(100vw - 24px));
    padding: 14px 14px 14px 16px;
    border-radius: 14px;
    border: 1px solid #d5e2ff;
    background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
    box-shadow: 0 18px 36px rgba(15, 37, 93, 0.18);
    transform: translateY(0);
    opacity: 1;
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.newsletter-popup.is-hidden {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
}

.newsletter-popup__body {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.newsletter-popup__icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.newsletter-popup__icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.newsletter-popup p {
    margin: 0;
    color: #1b2b55;
    font-size: 0.92rem;
    line-height: 1.45;
}

.newsletter-popup-success .newsletter-popup__icon {
    color: #117347;
}

.newsletter-popup-error .newsletter-popup__icon {
    color: #b33e3e;
}

.newsletter-popup__close {
    margin: -2px -2px 0 auto;
    width: 24px;
    height: 24px;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #6479a9;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    text-decoration: none;
}

.newsletter-popup__close:hover {
    background: #eaf1ff;
    color: #304e93;
}

.newsletter-trap {
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    width: 1px !important;
    height: 1px !important;
    pointer-events: none !important;
}

.contact-section {
    padding: 20px 0 72px;
}

.contact-card {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 24px;
    padding: 28px;
    border-radius: 22px;
    border: 1px solid #d4e2ff;
    background: linear-gradient(135deg, #ffffff 0%, #f2f7ff 100%);
    box-shadow: 0 18px 40px rgba(15, 37, 93, 0.1);
}

.contact-copy {
    display: grid;
    align-content: start;
    gap: 10px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: inline-grid;
    place-items: center;
    border-radius: 14px;
    border: 1px solid #cddcff;
    background: linear-gradient(140deg, #eef3ff 0%, #e2ecff 100%);
    color: #264ff0;
    box-shadow: 0 10px 24px rgba(33, 71, 190, 0.18);
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.contact-copy h2 {
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
    color: #0f1d3d;
    line-height: 1.15;
}

.contact-copy p {
    margin-top: 10px;
    max-width: 460px;
    color: #495a82;
    font-size: 1rem;
}

.contact-form {
    display: grid;
    gap: 9px;
}

.contact-form label {
    font-size: 0.86rem;
    font-weight: 700;
    color: #304067;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #c5d8ff;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    color: #1a2d5e;
    padding: 11px 14px;
    font-size: 0.94rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
    border-color: #7ea1ff;
    box-shadow: 0 0 0 3px rgba(45, 89, 255, 0.16);
    outline: none;
}

.contact-form button {
    margin-top: 4px;
    border: 0;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, #2d59ff 0%, #36a3f0 100%);
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    cursor: pointer;
}

.contact-form button:hover {
    filter: brightness(0.98);
}

.contact-status {
    margin: 10px 4px 0;
    font-size: 0.9rem;
    color: #5b6a91;
}

.contact-status-success {
    color: #117347;
}

.contact-status-invalid,
.contact-status-spam,
.contact-status-error {
    color: #b33e3e;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.site-footer {
    margin-top: 28px;
    border-top: 1px solid #d7e4ff;
    background:
        radial-gradient(circle at 12% -30%, rgba(45, 89, 255, 0.09), transparent 44%),
        linear-gradient(180deg, #f7faff 0%, #eff5ff 100%);
    padding: 34px 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
    align-items: start;
}

.footer-brand-block {
    max-width: 540px;
}

.footer-language {
    margin-top: 18px;
    max-width: 230px;
}

.footer-language .lang-switcher {
    width: 100%;
}

.footer-language .lang-switcher__toggle {
    width: 100%;
    justify-content: space-between;
}

.footer-brand-link {
    display: inline-flex;
    margin-bottom: 10px;
}

.footer-logo {
    height: 34px;
    width: auto;
}

.footer-tagline {
    max-width: 480px;
    color: #4d5f86;
}

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

.footer-title {
    font-family: "Bricolage Grotesque", sans-serif;
    font-weight: 700;
    color: #1e2b48;
    margin-bottom: 10px;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.site-footer a {
    color: #324975;
}

.site-footer a:hover {
    color: #1f4ffa;
}

.footer-social {
    margin-top: 16px;
}

.footer-social-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-social-links a {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 10px;
    border: 1px solid #d0defb;
    background: #fff;
    color: #3157de;
}

.footer-social-links a svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.footer-bottom {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #d7e4ff;
}

.footer-bottom p {
    font-size: 0.86rem;
    color: #6476a1;
}

.cookie-consent {
    position: fixed;
    inset: auto 0 0;
    z-index: 80;
    padding: 0 0 14px;
}

.cookie-consent__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    background: rgba(18, 31, 62, 0.97);
    color: #f3f7ff;
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 16px 36px rgba(6, 12, 28, 0.36);
}

.cookie-consent__copy h2 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 4px;
}

.cookie-consent__copy p {
    color: #d9e4ff;
    font-size: 0.92rem;
}

.cookie-consent__policy {
    margin-top: 8px;
    display: inline-block;
    color: #93b8ff;
    font-size: 0.88rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-consent__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.cookie-btn {
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 10px 14px;
    cursor: pointer;
}

.cookie-btn--ghost {
    color: #dce7ff;
    border-color: #4d669f;
    background: rgba(255, 255, 255, 0.04);
}

.cookie-btn--solid {
    color: #fff;
    border-color: #2d66ff;
    background: linear-gradient(135deg, #2d66ff 0%, #3b86ff 100%);
}

.reveal-up {
    animation: revealUp 0.75s ease both;
}

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 980px) {
    .platform-grid {
        grid-template-columns: 1fr;
    }

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

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

    .home-features-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .home-features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .template-card {
        flex: 0 0 calc((100% - 18px) / 2);
    }

    .header-shell {
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .newsletter-card {
        grid-template-columns: 1fr;
    }

    .contact-card {
        grid-template-columns: 1fr;
    }

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

    .cookie-consent__inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 740px) {
    .main-nav {
        width: 100%;
        order: 3;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .header-actions {
        margin-left: auto;
    }

    .split-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .home-features-grid {
        grid-template-columns: 1fr;
    }

    .template-carousel {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .template-nav {
        width: 100%;
        height: 40px;
        border-radius: 12px;
    }

    .template-card {
        flex: 0 0 100%;
    }

    .dual-frame {
        min-height: 250px;
    }

    .step-item.is-active .step-copy {
        max-height: 120px;
    }

    .hero {
        padding-top: 44px;
    }

    .newsletter-form {
        grid-template-columns: 1fr;
    }

    .newsletter-form button {
        width: 100%;
    }

    .newsletter-popup {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
    }

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

    .cookie-consent {
        padding-bottom: 8px;
    }

    .cookie-consent__inner {
        gap: 14px;
        padding: 14px;
        border-radius: 14px;
    }

    .cookie-consent__actions {
        width: 100%;
    }

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