/* trongate.cloud landing page. One light palette: navy and periwinkle. */

:root {
    --navy: #1d1e6e;
    --ink: #1c1d5e;
    --accent: #6966d6;
    --accent-ink: #4f4cc7;
    --accent-soft: #ecebfa;
    --muted: #585c7a;
    --line: #e3e5f0;
    --line-strong: #dfe1ec;
    --bg: #f6f7fb;
    --ok: #1a9a5c;
    --display: 'Archivo', 'Geist', system-ui, sans-serif;
    --mono: 'Geist Mono', ui-monospace, monospace;
}

* {
    box-sizing: border-box;
}

body.lp {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: 'Geist', system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
}

.lp a {
    color: var(--navy);
}

.lp a:hover {
    color: var(--accent-ink);
}

.lp-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

.lp-mono {
    font-family: var(--mono);
}

/* Header */

.lp-top {
    max-width: 1240px;
    margin: 0 auto;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.lp-brand,
.lp-brand-text {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--navy);
    font-weight: 600;
    font-size: 19px;
    letter-spacing: -0.01em;
}

.lp-brand b,
.lp-brand-text b {
    color: var(--accent);
    font-weight: inherit;
}

.lp-brand .tc-mark {
    width: 30px;
    height: 30px;
}

.lp-nav {
    display: flex;
    gap: 32px;
}

.lp-nav a,
.lp-foot-col a {
    color: var(--muted);
    text-decoration: none;
    font-size: 15px;
}

.lp-top-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lp-login {
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.lp .lp-btn {
    display: inline-block;
    background: var(--navy);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    padding: 11px 16px;
    border-radius: 9px;
}

.lp .lp-btn:hover {
    background: #2c2d8a;
    color: #fff;
}

.lp .lp-btn-lg {
    font-size: 16px;
    padding: 15px 24px;
    border-radius: 10px;
}

/* Hero */

.lp-hero {
    padding: 64px 24px 112px;
}

.lp-hero-copy {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.lp .lp-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #3a3d5c;
    text-decoration: none;
    border: 1px solid var(--line-strong);
    background: #fff;
    padding: 6px 14px 6px 6px;
    border-radius: 999px;
}

.lp-pill span {
    background: var(--accent-soft);
    color: var(--navy);
    font-weight: 600;
    font-size: 12px;
    padding: 3px 9px;
    border-radius: 999px;
}

.lp-h1,
.lp-h2 {
    margin: 0;
    font-family: var(--display);
    font-weight: 900;
    color: var(--navy);
}

.lp-h1 {
    font-size: 82px;
    line-height: 0.98;
    letter-spacing: -0.035em;
}

.lp-h1 em,
.lp-h2 em {
    font-style: normal;
    color: var(--accent);
}

.lp-lead {
    margin: 0;
    font-size: 20px;
    line-height: 1.55;
    color: var(--muted);
    max-width: 620px;
}

.lp-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.lp-more {
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 15px 10px;
}

.lp-shot {
    max-width: 1136px;
    margin: 72px auto 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.lp-shot-tags {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.lp-tag {
    background: #fff;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.lp-tag b {
    color: var(--accent);
    font-weight: 500;
}

.lp-tag i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ok);
}

.lp-frame {
    border: 1px solid var(--line-strong);
    border-radius: 20px;
    padding: 8px;
    background: #fff;
    box-shadow: 0 30px 60px -30px rgba(29, 30, 110, 0.25);
}

.lp-frame-inner {
    --shot-scale: 0.7639;
    position: relative;
    height: 640px;
    overflow: hidden;
    border-radius: 13px;
    border: 1px solid var(--line);
    pointer-events: none;
}

.lp-frame-inner iframe {
    display: block;
    width: 1440px;
    height: 1200px;
    border: 0;
    transform: scale(var(--shot-scale));
    transform-origin: top left;
}

.lp-frame-inner::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 96px;
    background: linear-gradient(rgba(255, 255, 255, 0), #fff);
}

/* Sections */

.lp-band {
    background: #fff;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.lp-section {
    padding-top: 120px;
    padding-bottom: 120px;
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.lp-head {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 720px;
}

.lp-kicker {
    font-family: var(--mono);
    font-size: 13px;
    color: var(--accent-ink);
}

.lp-h2 {
    font-size: 50px;
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.lp-h2-xl {
    font-size: 64px;
    line-height: 1;
    letter-spacing: -0.035em;
}

.lp-sub {
    margin: 0;
    font-size: 18px;
    line-height: 1.55;
    color: var(--muted);
}

.lp-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.lp-center .lp-sub {
    font-size: 19px;
}

.lp-values {
    padding-top: 112px;
    padding-bottom: 112px;
    display: flex;
    flex-direction: column;
    gap: 72px;
}

.lp-3,
.lp-4,
.lp-2 {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
}

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

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

.lp-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 56px;
}

.lp h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
}

.lp-value {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.lp-value-icon {
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--accent-soft);
    color: var(--navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lp-value p,
.lp-step p,
.lp-stable-list p {
    margin: 6px 0 0;
    color: var(--muted);
    line-height: 1.55;
    font-size: 15px;
}

.lp-step {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 22px;
    border-top: 3px solid var(--navy);
}

.lp-step span {
    font-family: var(--display);
    font-weight: 900;
    font-size: 44px;
    color: var(--accent);
    line-height: 1;
}

.lp-step h3 {
    font-size: 18px;
}

.lp-step p {
    margin: 0;
}

/* Stability */

.lp-stable-wrap {
    padding-bottom: 120px;
}

.lp-stable {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 64px 56px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 56px;
    align-items: start;
}

.lp-stable-copy {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.lp .lp-link {
    align-self: flex-start;
    font-weight: 600;
    color: var(--accent-ink);
    text-decoration: none;
    border-bottom: 2px solid var(--accent-soft);
    padding-bottom: 2px;
}

.lp .lp-link:hover {
    border-bottom-color: var(--accent);
}

.lp-stable-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lp-stable-list li {
    display: flex;
    gap: 18px;
    padding: 22px 0;
    border-top: 1px solid var(--line);
}

.lp-stable-list li:last-child {
    border-bottom: 1px solid var(--line);
}

.lp-stable-list span {
    flex: 0 0 32px;
    font-family: var(--display);
    font-weight: 900;
    font-size: 22px;
    color: var(--accent);
}

.lp-stable-list strong {
    font-size: 17px;
    font-weight: 600;
}

/* Features */

.lp-feature {
    display: flex;
    gap: 18px;
}

.lp-feature-icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: var(--navy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lp-feature dt {
    font-weight: 600;
    font-size: 17px;
}

.lp-feature dd,
.lp-faq dd {
    margin: 6px 0 0;
    color: var(--muted);
    line-height: 1.6;
}

/* FAQ */

.lp-faqs {
    margin: 0;
}

.lp-faq {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 32px;
    padding: 28px 0;
    border-top: 1px solid var(--line-strong);
}

.lp-faq:last-child {
    border-bottom: 1px solid var(--line-strong);
}

.lp-faq dt {
    font-weight: 600;
    font-size: 17px;
}

.lp-faq dd {
    margin: 0;
}

/* Footer */

.lp-footer {
    border-top: 1px solid var(--line);
    background: #fff;
}

.lp-foot {
    padding-top: 56px;
    padding-bottom: 56px;
    display: grid;
    grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
    gap: 32px;
    font-size: 14px;
}

.lp-foot-brand,
.lp-foot-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--muted);
}

.lp-foot-brand .lp-brand-text {
    display: block;
    font-size: 17px;
}

.lp-foot-brand small {
    font-size: 13px;
    line-height: 1.5;
    max-width: 320px;
}

.lp-foot-col {
    gap: 12px;
}

.lp-foot-col strong {
    color: var(--ink);
    font-weight: 600;
}

.lp-foot-col a {
    font-size: 14px;
}

/* News (modules/news) */

.lp-nav a[aria-current] {
    color: var(--navy);
    font-weight: 500;
}

.lp-news {
    padding-top: 64px;
    padding-bottom: 120px;
}

.lp-news-head {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 720px;
    margin-bottom: 56px;
}

.lp-news-head .lp-h2,
.lp-post .lp-h2 {
    margin: 0;
}

.lp-news-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 64px;
    align-items: start;
}

.lp-news-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.lp .lp-news-tabs a {
    padding: 7px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: #fff;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.lp .lp-news-tabs a[aria-current] {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

.lp-news-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lp-news-list li {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 32px 0;
    border-bottom: 1px solid var(--line);
}

.lp-news-list h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.lp .lp-news-list h2 a {
    color: var(--ink);
    text-decoration: none;
}

.lp .lp-news-list h2 a:hover {
    color: var(--accent-ink);
}

.lp-news-list p,
.lp-news-aside p,
.lp-news-empty {
    margin: 0;
    color: var(--muted);
}

.lp-news-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--mono);
    font-size: 13px;
    color: var(--muted);
}

.lp-news-kind {
    padding: 2px 8px;
    border-radius: 6px;
    background: var(--accent-soft);
    color: var(--accent-ink);
}

.lp-news-kind-writing {
    background: #e8f5ee;
    color: #157a49;
}

.lp-news-empty {
    padding: 32px 0;
}

.lp-news-aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 24px;
}

.lp-news-aside > div {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.lp-news-aside strong {
    color: var(--navy);
}

.lp-post {
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.lp .lp-post-back {
    color: var(--muted);
    font-size: 14px;
    text-decoration: none;
}

.lp-toc {
    margin-top: 16px;
    padding: 22px 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.lp .lp-toc-title {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
}

.lp-toc ol {
    margin: 0;
    padding-left: 22px;
    columns: 2;
    column-gap: 32px;
    font-size: 15px;
    line-height: 1.5;
}

.lp-toc li {
    margin-bottom: 6px;
    break-inside: avoid;
}

.lp-toc a {
    color: var(--ink);
    text-decoration: none;
}

.lp-toc a:hover {
    color: var(--accent-ink);
    text-decoration: underline;
}

.lp-prose {
    margin-top: 24px;
    font-size: 17px;
    line-height: 1.8;
}

.lp-prose h2 {
    margin: 64px 0 18px;
    padding-top: 40px;
    border-top: 1px solid var(--line);
    font-size: 27px;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.lp-prose h2:first-child {
    margin-top: 24px;
}

.lp-prose h3 {
    margin: 40px 0 12px;
    font-size: 20px;
    line-height: 1.3;
}

.lp-prose h2,
.lp-prose h3 {
    scroll-margin-top: 24px;
}

.lp-prose .lp-anchor {
    margin-left: 6px;
    color: var(--accent);
    text-decoration: none;
    opacity: 0;
    transition: opacity 0.15s;
}

.lp-prose h2:hover .lp-anchor,
.lp-prose h3:hover .lp-anchor,
.lp-prose .lp-anchor:focus {
    opacity: 1;
}

.lp-prose :target {
    color: var(--accent-ink);
}

.lp-prose p,
.lp-prose ul,
.lp-prose ol,
.lp-prose blockquote,
.lp-prose pre {
    margin: 0 0 24px;
}

.lp-prose ul,
.lp-prose ol {
    padding-left: 24px;
}

.lp-figure {
    margin: 32px 0;
}

.lp-figure img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 12px 32px -18px rgba(29, 30, 110, 0.35);
    background: #fff;
}

.lp-figure-tall img {
    max-width: 320px;
    margin: 0 auto;
}

.lp-prose li + li {
    margin-top: 10px;
}

.lp-prose code {
    font-family: var(--mono);
    font-size: 0.88em;
    padding: 1px 5px;
    border-radius: 5px;
    background: var(--accent-soft);
}

.lp-prose pre {
    padding: 18px 20px;
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.lp-prose pre code {
    padding: 0;
    background: none;
    font-size: 14px;
}

.lp-prose blockquote {
    padding-left: 18px;
    border-left: 3px solid var(--accent-soft);
    color: var(--muted);
}

.lp-prose a {
    color: var(--accent-ink);
}

.lp-post-foot {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 24px;
    padding-top: 32px;
    border-top: 1px solid var(--line);
}

@media (max-width: 960px) {
    .lp-nav {
        display: none;
    }

    .lp-h1 {
        font-size: 48px;
    }

    .lp-h2 {
        font-size: 38px;
    }

    .lp-h2-xl {
        font-size: 44px;
    }

    .lp-3,
    .lp-2,
    .lp-faq,
    .lp-stable,
    .lp-news-grid {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .lp-stable {
        padding: 40px 24px;
    }

    .lp-section,
    .lp-values {
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .lp-stable-wrap {
        padding-bottom: 80px;
    }

    .lp-frame-inner {
        height: 420px;
    }

    .lp-news-aside {
        position: static;
    }

    .lp-faq {
        gap: 8px;
    }
}

@media (max-width: 560px) {
    .lp-top-actions .lp-login {
        display: none;
    }

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

    .lp-frame-inner {
        height: 260px;
    }

    .lp-toc ol {
        columns: 1;
    }

    .lp-prose .lp-anchor {
        display: none;
    }

    .lp-prose h2 {
        margin-top: 48px;
        padding-top: 32px;
    }
}
