/* ==========================================================================
   Public website: platform page (app/pages/info/platform.tpl)
   ========================================================================== */

/* ---------- Intro and screens ---------- */

/* soft light behind the title, as in the hero of the homepage */
.showcase {
    background: radial-gradient(70% 50% at 50% 0%, #1E2E27 0%, var(--color-dark) 70%);
}

.showcase__inner {
    display: flex;
    flex-direction: column;
    gap: 28px;
    padding-top: 56px;
    padding-bottom: 72px;
}

.showcase__intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.showcase__intro .pill {
    align-self: center;
}

.showcase__title {
    font-size: 52px;
    font-weight: 600;
    letter-spacing: -1.6px;
    line-height: 1.06;
    text-wrap: balance;
}

.showcase__intro .lead {
    max-width: 620px;
    font-size: 18px;
    text-wrap: balance;
}

.showcase__head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
    text-align: center;
}

.segmented-dark {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 5px;
    border-radius: 12px;
    background: #1D2823;
}

.segmented-dark__item {
    min-height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: var(--site-on-dark);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.segmented-dark__item:hover {
    color: #fff;
}

.segmented-dark__item[aria-selected="true"] {
    background: var(--color-brand);
    color: var(--color-dark);
    font-weight: var(--font-weight-bold);
}

.showcase__caption {
    max-width: 640px;
    color: var(--site-on-dark-muted);
    font-size: 15px;
    line-height: 1.5;
}

.showcase__caption b {
    color: #fff;
    font-weight: 600;
}

@media (max-width: 600px) {
    .showcase__inner { padding-top: 36px; padding-bottom: 48px; }
    .showcase__title { font-size: 36px; letter-spacing: -.8px; }
    .showcase__intro .lead { font-size: 16px; }
    .segmented-dark { flex-wrap: nowrap; max-width: 100%; overflow-x: auto; justify-content: flex-start; scrollbar-width: none; }
    .segmented-dark__item { flex: none; min-height: 40px; padding: 0 12px; font-size: 14px; }
}

.browser-frame {
    overflow: hidden;
    padding-bottom: 2px;
    border-radius: var(--radius-lg);
    background: var(--site-dark-raised);
    box-shadow: 0 40px 90px rgba(0, 0, 0, .5);
}

.browser-frame__bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
}

.browser-frame__dots {
    display: flex;
    gap: 6px;
    width: 46px;
}

.browser-frame__dots i {
    width: 10px;
    height: 10px;
    border-radius: 99px;
    background: var(--site-text);
}

.browser-frame__address {
    flex: 1;
    max-width: 420px;
    margin: 0 auto;
    padding: 6px 12px;
    border-radius: 8px;
    background: #1D2823;
    color: var(--site-on-dark-muted);
    font-size: 13px;
    text-align: center;
}

.browser-frame__bar::after {
    content: "";
    width: 46px;
}

.browser-frame__screen {
    height: 660px;
    margin: 0 2px;
    overflow-y: auto;
    border-radius: 0 0 14px 14px;
    background: var(--color-bg);
}

.browser-frame__screen img {
    display: block;
    width: 100%;
    height: auto;
}

.showcase__note {
    color: #7F8C85;
    font-size: 13px;
}

@media (max-width: 600px) {
    .browser-frame__screen { height: 420px; }
    .browser-frame__dots,
    .browser-frame__bar::after { display: none; }
}

/* ---------- Modules ---------- */

.modules {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.module {
    display: flex;
    flex: 1 1 260px;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    padding: 26px;
    border: 1px solid var(--site-line);
    border-radius: var(--radius-lg);
    background: var(--color-surface);
}

.module__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--color-brand-light);
    color: var(--color-brand-dark);
}

.module__icon .icon {
    width: 22px;
    height: 22px;
}

.module h3 {
    font-size: 22px;
    font-weight: 600;
}

.module p {
    color: var(--site-text);
    font-size: 15px;
    line-height: 1.6;
}

.module ul {
    padding-left: 18px;
    color: #3D4A44;
    font-size: 15px;
    line-height: 1.8;
}

/* ---------- Seven checks ---------- */

.checks {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    padding-top: 96px;
    padding-bottom: 96px;
}

.checks__text {
    display: flex;
    flex: 1 1 360px;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.checks__text .section-title {
    margin-top: 0;
}

.checks__list {
    display: grid;
    flex: 1 1 560px;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 10px;
    min-width: 0;
    list-style: none;
}

.checks__list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    padding: 16px 18px;
    border: 1px solid var(--site-line);
    border-radius: 12px;
    background: #F8FAF6;
}

.checks__number {
    display: grid;
    flex: none;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: var(--color-dark);
    color: var(--color-brand);
    font-size: 13px;
    font-weight: var(--font-weight-bold);
}

.checks__list b {
    display: block;
}

.checks__list span:not(.checks__number) {
    display: block;
    color: var(--site-muted);
    font-size: 14px;
}

@media (max-width: 600px) {
    .checks { padding-top: 64px; padding-bottom: 64px; }
}

/* ---------- Experts ---------- */

.experts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin: 80px 0;
    padding: 40px 44px;
    border-radius: var(--radius-xl);
    background: var(--color-brand-light);
}

.experts > div {
    flex: 1 1 480px;
    min-width: 0;
}

.experts p {
    margin-top: 12px;
    color: #3D4A44;
    font-size: 17px;
    line-height: 1.6;
}

@media (max-width: 600px) {
    .experts { margin: 48px 0; padding: 28px 22px; }
}
