:root {
    --bg: #eef4fb;
    --bg-strong: #dbe7f6;
    --surface: rgba(255, 255, 255, 0.82);
    --surface-strong: #f8fbff;
    --text: #153150;
    --muted: #58708d;
    --line: rgba(21, 49, 80, 0.12);
    --green: #1d66b2;
    --green-deep: #0e407a;
    --gold: #f0b246;
    --leaf: #a9c6e8;
    --shadow: 0 24px 70px rgba(14, 64, 122, 0.12);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Source Sans 3", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(125, 174, 230, 0.35), transparent 28%),
        radial-gradient(circle at right 20%, rgba(240, 178, 70, 0.16), transparent 24%),
        linear-gradient(180deg, #f6faff 0%, var(--bg) 52%, #eaf2fb 100%);
}

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

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

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

.container {
    width: min(calc(100% - 32px), var(--container));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    backdrop-filter: blur(18px);
    background: rgba(246, 250, 255, 0.82);
    border-bottom: 1px solid rgba(21, 49, 80, 0.08);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
}

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

.brand img,
.footer-logo {
    width: 96px;
    height: auto;
}

.brand span,
.brand small {
    display: block;
}

.brand strong,
.main-nav a,
.button,
h1,
h2,
h3,
strong,
.mini-card em,
.integration-note {
    font-family: "Outfit", sans-serif;
}

.brand small {
    color: var(--muted);
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.78);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--green-deep);
}

.main-nav a {
    color: var(--muted);
    font-weight: 500;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    padding: 14px 22px;
    font-weight: 600;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.ecosystem-card:hover,
.mini-card:hover,
.integration-card:hover,
.news-card:hover,
.person-card:hover {
    transform: translateY(-3px);
}

.button-nav,
.button-secondary {
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(20, 49, 38, 0.12);
}

.button-primary {
    background: linear-gradient(135deg, var(--green) 0%, var(--green-deep) 100%);
    color: #fff;
    box-shadow: 0 18px 38px rgba(18, 59, 45, 0.22);
}

.hero {
    padding: 28px 0 24px;
}

.hero-grid,
.network-grid,
.roadmap-grid,
.footer-grid {
    display: grid;
    gap: 28px;
}

.hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    align-items: start;
}

.hero-copy {
    padding-top: 8px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.78rem;
    font-weight: 700;
}

.eyebrow::before {
    content: "";
    width: 36px;
    height: 1px;
    background: currentColor;
}

h1 {
    margin: 18px 0 18px;
    font-size: clamp(2.7rem, 5vw, 5.3rem);
    line-height: 0.95;
    letter-spacing: -0.05em;
    max-width: 12ch;
}

.lead,
.section-heading p,
.integration-card p,
.site-footer p,
.roadmap-card li,
.news-card p,
.person-card p,
.mini-card p,
.ecosystem-card p,
.hero-panel-card p {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 28px 0 24px;
}

.hero-points {
    display: grid;
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.hero-points li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
}

.hero-points li::before {
    content: "";
    width: 10px;
    height: 10px;
    margin-top: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--gold), var(--green));
    flex: 0 0 auto;
}

.hero-academy {
    margin-top: 28px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.62);
    box-shadow: 0 18px 40px rgba(14, 64, 122, 0.08);
}

.hero-academy-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

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

.academy-card {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.84);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.academy-card:hover {
    transform: translateY(-3px);
}

.academy-card-image {
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(235, 243, 252, 0.9));
}

.academy-card-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.academy-card-body {
    min-width: 0;
}

.academy-card-body strong {
    display: block;
    margin: 0 0 6px;
    font-size: 1rem;
    line-height: 1.2;
}

.academy-card-body span {
    display: block;
    color: var(--green);
    font-weight: 700;
    font-size: 0.92rem;
}

.hero-panel,
.network-panel,
.roadmap-card,
.integration-card,
.ecosystem-card,
.mini-card,
.news-card,
.person-card {
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.hero-panel {
    padding: 22px;
    border-radius: var(--radius-xl);
}

.hero-panel-card {
    padding: 26px;
    border-radius: 26px;
    margin-bottom: 18px;
}

.hero-feature-image,
.visual-card {
    margin: 0;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.72);
}

.hero-feature-image img,
.visual-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.hero-feature-image figcaption {
    padding: 12px 16px 16px;
    color: var(--muted);
    font-size: 0.98rem;
}

.hero-panel-card-primary {
    background:
        linear-gradient(160deg, rgba(14, 64, 122, 0.98), rgba(29, 102, 178, 0.88)),
        linear-gradient(135deg, rgba(240, 178, 70, 0.2), transparent);
    color: #f8f3ea;
}

.hero-panel-card-primary p,
.hero-panel-card-primary span {
    color: rgba(248, 243, 234, 0.84);
}

.hero-zwia-logo {
    width: min(100%, 190px);
    height: auto;
    object-fit: contain;
}

.hero-feature-image-zwia {
    padding: 24px;
}

.hero-feature-image-zwia img {
    max-width: 240px;
    margin: 0 auto;
    object-fit: contain;
}

.hero-feature-image-zwia figcaption {
    text-align: center;
}

.hero-panel-card-primary span,
.mini-card span,
.ecosystem-card span,
.integration-top span,
.person-card span,
.news-card span {
    display: block;
    font-size: 0.86rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-panel-card-primary strong,
.mini-card strong,
.ecosystem-card strong,
.integration-top strong,
.roadmap-card strong,
.person-card strong,
.news-card strong {
    display: block;
    margin: 8px 0 10px;
    font-size: 1.28rem;
    line-height: 1.15;
}

.hero-mini-grid,
.ecosystem-grid,
.integration-grid,
.news-grid,
.ambassadors-grid {
    display: grid;
    gap: 18px;
}

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

.mini-card,
.ecosystem-card,
.integration-card,
.news-card,
.person-card,
.roadmap-card {
    border-radius: var(--radius-lg);
    padding: 22px;
}

.mini-card em {
    color: var(--gold);
    font-style: normal;
    font-size: 0.92rem;
    font-weight: 700;
}

.section {
    padding: 34px 0;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 28px;
}

.section-heading.compact {
    margin-bottom: 0;
}

h2 {
    margin: 14px 0 10px;
    font-size: clamp(2rem, 3vw, 3.3rem);
    line-height: 1;
    letter-spacing: -0.04em;
}

.section-story {
    padding-top: 48px;
}

.section-story .section-heading {
    max-width: none;
}

.section-visual {
    padding-top: 14px;
}

.section-certified-preview {
    padding-top: 8px;
}

.section-kicker {
    display: inline-flex;
    margin: 0 0 14px;
}

.certified-showcase {
    display: grid;
    gap: 22px;
}

.certified-heading {
    max-width: 780px;
}

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

.certified-card {
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.certified-card:hover {
    transform: translateY(-3px);
}

.certified-image {
    aspect-ratio: 5 / 6;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(235, 243, 252, 0.9));
}

.certified-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.certified-body {
    padding: 18px 18px 20px;
}

.certified-body span {
    display: block;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green);
}

.certified-body strong {
    display: block;
    margin: 8px 0 10px;
    font-size: 1.12rem;
    line-height: 1.15;
}

.certified-body p {
    margin: 0;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.5;
}

.certified-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 14px;
}

.certified-meta em,
.certified-meta small {
    font-style: normal;
    color: var(--muted);
}

.certified-meta em {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(29, 102, 178, 0.09);
    color: var(--green);
    font-size: 0.82rem;
    font-weight: 700;
}

.section-app-official {
    padding-top: 12px;
}

.app-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 28px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at top right, rgba(240, 178, 70, 0.16), transparent 34%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(235, 243, 252, 0.9));
    box-shadow: var(--shadow);
}

.app-copy {
    display: grid;
    align-content: center;
    gap: 16px;
}

.app-copy h2 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 2.9rem);
    line-height: 1.06;
}

.app-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 1.02rem;
    line-height: 1.75;
}

.app-store-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 8px;
}

.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 210px;
    padding: 12px 16px;
    border-radius: 18px;
    background: #0c1320;
    color: #ffffff;
    box-shadow: 0 14px 24px rgba(12, 19, 32, 0.2);
}

.store-badge-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.12);
    font-family: "Outfit", sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
}

.store-badge-mark svg {
    width: 22px;
    height: 22px;
    display: block;
}

.store-badge-mark-apple svg {
    fill: #ffffff;
}

.store-badge-mark-apple {
    background: linear-gradient(135deg, #5d6676, #2b3340);
}

.store-badge-mark-play {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08));
}

.store-badge-copy {
    display: grid;
    gap: 2px;
}

.store-badge-copy small,
.store-badge-copy strong {
    display: block;
    line-height: 1.1;
}

.store-badge-copy small {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.store-badge-copy strong {
    font-size: 1.08rem;
    font-weight: 700;
}

.app-devices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.app-device-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid var(--line);
    box-shadow: 0 20px 36px rgba(12, 39, 74, 0.14);
}

.app-device-image img {
    display: block;
    width: 100%;
    max-width: 220px;
    height: auto;
}

.visual-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    gap: 22px;
}

.visual-card-large img {
    max-height: 420px;
}

.visual-card-stack img {
    max-height: 260px;
}

.visual-copy {
    padding: 24px;
}

.visual-copy.compact p {
    margin: 0;
}

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

.ecosystem-card {
    min-height: 240px;
}

.network-grid {
    grid-template-columns: 1fr;
    align-items: start;
}

.section-network .section-heading {
    max-width: none;
    margin-bottom: 24px;
}

.network-panel {
    padding: 22px;
    border-radius: var(--radius-xl);
}

.network-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.network-pagination {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pagination-button {
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--green);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.pagination-button:disabled {
    opacity: 0.42;
    cursor: default;
}

.pagination-status {
    color: var(--muted);
    font-size: 0.94rem;
    white-space: nowrap;
}

.network-toolbar a,
.text-link,
.news-card a {
    color: var(--green);
    font-weight: 700;
}

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

.person-card {
    min-height: 180px;
    padding: 0;
    overflow: hidden;
}

.person-photo {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
}

.person-photo-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(20px) saturate(0.9);
    transform: scale(1.08);
}

.person-photo img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.2);
}

.person-photo-fallback {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(169, 198, 232, 0.48), rgba(29, 102, 178, 0.18));
    color: var(--green-deep);
    font-family: "Outfit", sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.person-body {
    padding: 20px 22px 22px;
}

.person-role-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.person-role-badge {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(29, 102, 178, 0.09);
    color: var(--green);
    font-size: 0.8rem;
    font-weight: 700;
}

.person-card .meta {
    display: inline-flex;
    margin-top: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(31, 107, 79, 0.08);
    color: var(--green);
    font-size: 0.92rem;
    font-weight: 700;
}

.person-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.person-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.8);
    color: var(--green);
}

.person-links svg {
    width: 16px;
    height: 16px;
    display: block;
}

.integration-grid,
.news-grid,
.companies-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.integration-card {
    min-height: 260px;
}

.companies-shell {
    padding: 18px 18px 20px;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow);
    border-radius: var(--radius-xl);
}

.section-companies .section-heading {
    max-width: none;
}

.section-news .section-heading {
    max-width: none;
}

.companies-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.companies-viewport {
    overflow: hidden;
}

.companies-grid-compact {
    display: flex;
    flex-wrap: nowrap;
    gap: 18px;
    align-items: stretch;
    transition: transform 480ms ease;
    will-change: transform;
}

.company-card-compact {
    flex: 0 0 calc((100% - 36px) / 3);
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 14px;
    min-height: 290px;
    padding: 18px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 16px 40px rgba(14, 64, 122, 0.1);
    border-radius: 22px;
}

.company-card-empty {
    grid-column: 1 / -1;
    display: block;
}

.company-logo-wrap-compact {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 138px;
    padding: 18px;
    border-radius: 20px;
    background:
        radial-gradient(circle at top, rgba(169, 198, 232, 0.35), transparent 65%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(235, 243, 252, 0.9));
    border: 1px solid var(--line);
}

.company-logo {
    max-width: 100%;
    max-height: 78px;
    object-fit: contain;
}

.company-body-compact {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.company-body-compact span {
    display: block;
    font-size: 0.86rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.company-body-compact strong {
    display: block;
    margin: 6px 0 8px;
    font-size: 1.08rem;
    line-height: 1.15;
}

.company-body-compact p {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 0.96rem;
}

.company-body-compact .meta {
    display: inline-flex;
    max-width: 100%;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(29, 102, 178, 0.09);
    color: var(--green);
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.company-links-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
}

.company-links-compact a {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.82);
    color: var(--green);
}

.company-card-compact:hover {
    transform: translateY(-3px);
}

.company-links-compact svg {
    width: 15px;
    height: 15px;
    display: block;
}

.companies-links-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 18px;
}

.integration-top {
    min-height: 108px;
}

.integration-note {
    display: inline-flex;
    margin-top: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(197, 138, 42, 0.12);
    color: #8d5f17;
    font-size: 0.88rem;
    font-weight: 700;
}

.news-card {
    min-height: 280px;
    padding: 0;
    overflow: hidden;
}

.news-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-body {
    padding: 20px 22px 22px;
}

.roadmap-grid {
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
    align-items: center;
}

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

.site-footer {
    padding: 22px 0 48px;
}

.footer-stack {
    display: grid;
    gap: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: rgba(14, 64, 122, 0.98);
    color: #f6efe4;
}

.footer-logo-white {
    width: 116px;
}

.post-shell {
    max-width: 1080px;
    margin: 0 auto;
}

.post-shell-empty {
    padding: 60px 0;
}

.post-hero {
    padding-top: 36px;
}

.post-intro {
    margin-bottom: 24px;
}

.post-intro h1 {
    max-width: 100%;
    font-size: clamp(2.5rem, 4.2vw, 4.8rem);
}

.post-meta-line {
    color: var(--muted);
    font-size: 1rem;
    margin: 0;
}

.post-author-link {
    color: var(--green);
    font-weight: 700;
}

.post-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    background: rgba(255, 255, 255, 0.82);
}

.post-cover img {
    width: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    max-height: 720px;
}

.post-content {
    margin-top: 28px;
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
    color: var(--text);
    line-height: 1.8;
    font-size: 1.08rem;
}

.post-content h2,
.post-content h3,
.post-content h4 {
    line-height: 1.1;
    margin-top: 1.8em;
}

.post-content img {
    border-radius: 20px;
    margin: 24px auto;
}

.post-content a {
    color: var(--green);
    text-decoration: underline;
}

.post-back-link {
    margin-top: 22px;
}

.post-share {
    display: grid;
    gap: 12px;
    margin-top: 22px;
    padding: 20px 22px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
}

.post-share strong {
    font-size: 1rem;
}

.post-share-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.post-share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(29, 102, 178, 0.08);
    color: var(--green);
    font-weight: 700;
    cursor: pointer;
}

.contact-hero {
    padding-top: 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.92fr);
    gap: 28px;
    align-items: start;
}

.contact-copy h1 {
    max-width: 10ch;
}

.contact-highlights {
    display: grid;
    gap: 14px;
    margin-top: 26px;
}

.contact-highlight-card,
.contact-panel {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
}

.contact-highlight-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.86rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-highlight-card strong {
    font-size: 1.16rem;
    line-height: 1.35;
}

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

.contact-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.contact-field {
    display: grid;
    gap: 8px;
}

.contact-field label {
    font-family: "Outfit", sans-serif;
    font-size: 0.96rem;
    font-weight: 600;
}

.contact-field input,
.contact-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    color: var(--text);
    font: inherit;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-color: rgba(29, 102, 178, 0.45);
    box-shadow: 0 0 0 4px rgba(29, 102, 178, 0.08);
}

.contact-field textarea {
    min-height: 180px;
    resize: vertical;
}

.contact-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.form-feedback {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 18px;
    font-weight: 600;
}

.form-feedback p {
    margin: 0;
}

.form-feedback p + p {
    margin-top: 8px;
}

.form-feedback-success {
    border: 1px solid rgba(32, 132, 86, 0.18);
    background: rgba(32, 132, 86, 0.1);
    color: #196445;
}

.form-feedback-error {
    border: 1px solid rgba(190, 70, 70, 0.16);
    background: rgba(190, 70, 70, 0.1);
    color: #8e2f2f;
}

.footer-grid strong {
    display: block;
    margin-bottom: 12px;
    font-size: 1rem;
}

.footer-grid a,
.footer-grid span {
    display: block;
    margin-bottom: 8px;
    color: rgba(246, 239, 228, 0.8);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 18px;
    padding: 0 6px;
    color: rgba(14, 64, 122, 0.74);
    font-size: 0.95rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: var(--green);
    font-weight: 700;
}

.footer-partner {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 6px;
    width: 100%;
    padding: 14px 18px;
    border-radius: 20px;
    border: 1px solid rgba(18, 61, 108, 0.08);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 16px 30px rgba(6, 24, 48, 0.16);
}

.footer-partner img {
    width: 98px;
    height: auto;
    object-fit: contain;
    flex: 0 0 auto;
}

.footer-partner span {
    display: inline-block;
    margin: 0;
    color: #18436d;
    font-size: 0.96rem;
    line-height: 1.45;
    font-weight: 700;
}

.news-grid-all {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-page-hero {
    padding-bottom: 8px;
}

.network-directory-hero {
    padding-bottom: 10px;
}

.network-directory-hero h1 {
    max-width: 100%;
}

.network-directory-toolbar {
    display: grid;
    gap: 18px;
    margin-bottom: 24px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
}

.network-directory-filters {
    margin: 0;
}

.network-directory-toolbar select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    color: var(--text);
    font: inherit;
    outline: none;
}

.network-directory-summary {
    color: var(--muted);
    font-weight: 700;
}

.network-directory-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.network-directory-footer {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.admin-body {
    background:
        radial-gradient(circle at top left, rgba(125, 174, 230, 0.26), transparent 30%),
        linear-gradient(180deg, #f7fbff 0%, #edf4fb 100%);
}

.admin-layout {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    min-height: 100vh;
}

.admin-sidebar {
    padding: 28px 22px;
    border-right: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
}

.admin-sidebar-card {
    display: grid;
    gap: 6px;
    margin: 28px 0;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
}

.admin-sidebar-card span,
.admin-sidebar-card small {
    color: var(--muted);
}

.admin-sidebar-nav {
    display: grid;
    gap: 10px;
}

.admin-sidebar-nav a {
    padding: 12px 14px;
    border-radius: 14px;
    font-family: "Outfit", sans-serif;
    font-weight: 600;
    color: var(--text);
}

.admin-sidebar-nav a:hover {
    background: rgba(29, 102, 178, 0.08);
}

.admin-main {
    padding: 32px;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
}

.admin-header h1,
.admin-auth-card h1 {
    margin-bottom: 8px;
    max-width: none;
}

.admin-table-card,
.admin-editor-card,
.admin-auth-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow);
}

.admin-table-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.admin-table-wrap {
    overflow-x: auto;
}

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

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

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

.admin-table td small {
    margin-top: 6px;
    color: var(--muted);
}

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

.admin-actions form {
    margin: 0;
}

.admin-delete-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #a53d3d;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.admin-status {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}

.admin-status.is-live {
    background: rgba(32, 132, 86, 0.12);
    color: #196445;
}

.admin-status.is-draft {
    background: rgba(240, 178, 70, 0.16);
    color: #8d5f17;
}

.admin-image-preview {
    max-width: 320px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
}

.admin-image-preview img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.admin-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.admin-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.admin-auth-shell {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 32px 16px;
}

.admin-auth-card {
    width: min(100%, 580px);
}

.admin-auth-brand {
    margin-bottom: 24px;
}

.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@media (max-width: 1080px) {
    .hero-grid,
    .network-grid,
    .roadmap-grid,
    .visual-grid,
    .app-showcase,
    .contact-grid,
    .admin-layout {
        grid-template-columns: 1fr;
    }

    .ecosystem-grid,
    .integration-grid,
    .news-grid,
    .news-grid-all,
    .academy-grid,
    .certified-grid,
    .ambassadors-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .company-card-compact {
        flex-basis: calc((100% - 18px) / 2);
    }

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

@media (max-width: 760px) {
    .nav-wrap,
    .main-nav,
    .hero-actions,
    .network-toolbar,
    .admin-header {
        align-items: flex-start;
    }

    .nav-wrap {
        align-items: center;
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 10px 0 0;
        gap: 12px;
    }

    .main-nav.is-open {
        display: flex;
    }

    .button-nav {
        display: none;
    }

    .hero,
    .section {
        padding: 28px 0;
    }

    .network-pagination {
        width: 100%;
        justify-content: flex-start;
    }

    .hero-mini-grid,
    .academy-grid,
    .app-devices,
    .ecosystem-grid,
    .integration-grid,
    .news-grid,
    .news-grid-all,
    .certified-grid,
    .ambassadors-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .brand img,
    .footer-logo {
        width: 78px;
    }

    .academy-card {
        grid-template-columns: 72px minmax(0, 1fr);
    }


    h1 {
        max-width: none;
    }

    .post-content {
        padding: 22px;
    }

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

    .admin-main {
        padding: 20px 16px 28px;
    }

    .companies-toolbar {
        align-items: flex-start;
    }

    .companies-grid-compact {
        gap: 0;
    }

    .company-card-compact {
        flex-basis: 100%;
    }

    .app-showcase {
        padding: 22px;
    }

    .app-copy h2 {
        font-size: 1.9rem;
    }

    .app-screen {
        min-height: 320px;
    }

    .footer-partner {
        align-items: flex-start;
    }
}
