/* ==========================================================================
   SMSCove — shared content pages (about, contact, policies, blog chrome)

   Extends landing.css. Every page using this file sets
   body class="sim-shell sim-landing", so all the tokens, nav, footer and
   .lp-* primitives from landing.css apply here too — this file only adds
   the pieces the landing page itself does not have.
   ========================================================================== */

/* ==========================================================================
   Page hero — the ink slab at the top of every content page
   ========================================================================== */

body.sim-landing .lp-phero {
    position: relative;
    background: var(--lp-ink);
    color: var(--lp-on-ink);
    padding: 158px 40px 84px;
    overflow: hidden;
    isolation: isolate;
}

body.sim-landing .lp-phero::before {
    content: '';
    position: absolute;
    left: -12%;
    bottom: -55%;
    width: 72%;
    height: 130%;
    background: radial-gradient(ellipse at center, rgba(18, 179, 159, 0.16) 0%, transparent 62%);
    pointer-events: none;
    z-index: -1;
}

body.sim-landing .lp-phero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.035;
    pointer-events: none;
    z-index: -1;
}

body.sim-landing .lp-phero-inner {
    max-width: 1180px;
    margin: 0 auto;
}

body.sim-landing .lp-phero .lp-eyebrow {
    color: var(--lp-teal-light);
    margin-bottom: 22px;
}

body.sim-landing .lp-phero h1 {
    font-size: clamp(2.1rem, 4.6vw, 3.4rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.05;
    color: #fff;
    max-width: 20ch;
}

body.sim-landing .lp-phero h1 em {
    font-style: normal;
    color: var(--lp-teal-light);
}

body.sim-landing .lp-phero-lede {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.6;
    color: var(--lp-on-ink-2);
    max-width: 58ch;
    margin-top: 22px;
}

body.sim-landing .lp-phero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin-top: 28px;
    font-family: var(--lp-mono);
    font-size: 0.688rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lp-on-ink-3);
}

body.sim-landing .lp-phero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

body.sim-landing .lp-phero-meta i {
    color: var(--lp-teal);
    font-size: 0.9rem;
}

body.sim-landing .lp-phero .lp-actions {
    margin-top: 34px;
    margin-bottom: 0;
}

/* Breadcrumb sitting above the page title */
body.sim-landing .lp-crumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-family: var(--lp-mono);
    font-size: 0.688rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--lp-on-ink-3);
    margin-bottom: 24px;
}

body.sim-landing .lp-crumbs a {
    color: var(--lp-on-ink-2);
    transition: color 0.2s var(--lp-ease);
}

body.sim-landing .lp-crumbs a:hover {
    color: var(--lp-teal-light);
}

body.sim-landing .lp-crumbs i {
    font-size: 0.7rem;
    opacity: 0.5;
}

/* ==========================================================================
   Prose — long-form body copy (policies, about, blog articles)
   ========================================================================== */

body.sim-landing .lp-prose {
    font-size: 1.0rem;
    line-height: 1.75;
    color: var(--lp-fg-2);
    max-width: 72ch;
}

body.sim-landing .lp-prose > * + * {
    margin-top: 1.15em;
}

body.sim-landing .lp-prose h2 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: var(--lp-fg);
    margin-top: 2.2em;
    padding-top: 1.6em;
    border-top: 1px solid var(--lp-line);
}

body.sim-landing .lp-prose > h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

body.sim-landing .lp-prose h3 {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--lp-fg);
    margin-top: 1.9em;
}

body.sim-landing .lp-prose h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--lp-fg);
    margin-top: 1.7em;
}

body.sim-landing .lp-prose strong {
    color: var(--lp-fg);
    font-weight: 600;
}

body.sim-landing .lp-prose a {
    color: var(--lp-teal-deep);
    font-weight: 600;
    border-bottom: 1px solid rgba(7, 102, 91, 0.32);
    transition: border-color 0.2s var(--lp-ease);
}

body.sim-landing .lp-prose a:hover {
    border-bottom-color: var(--lp-teal-deep);
}

body.sim-landing .lp-prose ul,
body.sim-landing .lp-prose ol {
    padding-left: 1.35em;
}

body.sim-landing .lp-prose li + li {
    margin-top: 0.5em;
}

body.sim-landing .lp-prose ul li::marker {
    color: var(--lp-teal);
}

body.sim-landing .lp-prose ol li::marker {
    color: var(--lp-teal-deep);
    font-family: var(--lp-mono);
    font-size: 0.85em;
}

body.sim-landing .lp-prose blockquote {
    margin-left: 0;
    margin-right: 0;
    padding: 4px 0 4px 24px;
    border-left: 2px solid var(--lp-teal);
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--lp-fg);
}

body.sim-landing .lp-prose blockquote p {
    margin: 0;
}

body.sim-landing .lp-prose img,
body.sim-landing .lp-prose video,
body.sim-landing .lp-prose iframe {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    display: block;
}

body.sim-landing .lp-prose figure {
    margin: 2em 0;
}

body.sim-landing .lp-prose figcaption {
    font-family: var(--lp-mono);
    font-size: 0.688rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--lp-fg-3);
    margin-top: 10px;
    text-align: center;
}

body.sim-landing .lp-prose code {
    font-family: var(--lp-mono);
    font-size: 0.85em;
    background: var(--lp-teal-tint);
    color: var(--lp-teal-deep);
    padding: 2px 6px;
    border-radius: 5px;
}

body.sim-landing .lp-prose pre {
    background: var(--lp-ink);
    color: var(--lp-on-ink);
    padding: 20px 22px;
    border-radius: 14px;
    overflow-x: auto;
    font-family: var(--lp-mono);
    font-size: 0.85rem;
    line-height: 1.6;
}

body.sim-landing .lp-prose pre code {
    background: none;
    color: inherit;
    padding: 0;
}

body.sim-landing .lp-prose hr {
    border: none;
    border-top: 1px solid var(--lp-line);
    margin: 2.4em 0;
    opacity: 1;
}

body.sim-landing .lp-prose table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    display: block;
    overflow-x: auto;
}

body.sim-landing .lp-prose th,
body.sim-landing .lp-prose td {
    border: 1px solid var(--lp-line);
    padding: 11px 14px;
    text-align: left;
}

body.sim-landing .lp-prose th {
    background: var(--lp-paper-2);
    color: var(--lp-fg);
    font-weight: 600;
    font-size: 0.813rem;
    letter-spacing: 0.02em;
}

body.sim-landing .lp-prose mark {
    background: var(--lp-teal-tint);
    color: var(--lp-teal-deep);
    padding: 1px 4px;
    border-radius: 4px;
}

/* ==========================================================================
   Layout: prose + sticky rail
   ========================================================================== */

body.sim-landing .lp-doc {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 64px;
    align-items: start;
}

body.sim-landing .lp-rail {
    position: sticky;
    top: 96px;
}

body.sim-landing .lp-rail-title {
    font-family: var(--lp-mono);
    font-size: 0.688rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--lp-teal-deep);
    margin-bottom: 16px;
}

body.sim-landing .lp-rail-list {
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--lp-line);
}

body.sim-landing .lp-rail-list a {
    font-size: 0.875rem;
    line-height: 1.4;
    color: var(--lp-fg-2);
    padding: 9px 0 9px 18px;
    margin-left: -1px;
    border-left: 1px solid transparent;
    transition: color 0.2s var(--lp-ease), border-color 0.2s var(--lp-ease);
}

body.sim-landing .lp-rail-list a:hover,
body.sim-landing .lp-rail-list a.is-active {
    color: var(--lp-fg);
    border-left-color: var(--lp-teal);
}

/* ==========================================================================
   Panels / cards on paper
   ========================================================================== */

body.sim-landing .lp-panel {
    background: var(--lp-surface);
    border: 1px solid var(--lp-line);
    border-radius: 18px;
    padding: 30px;
}

body.sim-landing .lp-panel h3 {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--lp-fg);
    margin-bottom: 10px;
}

body.sim-landing .lp-panel p {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--lp-fg-2);
}

body.sim-landing .lp-panel-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--lp-teal-tint);
    color: var(--lp-teal-deep);
    font-size: 1.15rem;
    margin-bottom: 18px;
}

body.sim-landing .lp-cards-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

body.sim-landing .lp-cards-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

body.sim-landing .lp-cards-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

/* Numbered metric row on paper */
body.sim-landing .lp-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: var(--lp-line);
    border: 1px solid var(--lp-line);
    border-radius: 18px;
    overflow: hidden;
}

body.sim-landing .lp-metric {
    background: var(--lp-surface);
    padding: 30px 26px;
}

body.sim-landing .lp-metric-v {
    font-family: var(--lp-mono);
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--lp-fg);
}

body.sim-landing .lp-metric-l {
    font-size: 0.813rem;
    color: var(--lp-fg-3);
    margin-top: 6px;
}

/* ==========================================================================
   Forms — contact page, comment form, newsletter
   ========================================================================== */

body.sim-landing .lp-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

body.sim-landing .lp-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.sim-landing .lp-field.is-wide {
    grid-column: 1 / -1;
}

body.sim-landing .lp-field label {
    font-family: var(--lp-mono);
    font-size: 0.688rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lp-fg-3);
}

body.sim-landing .lp-field input,
body.sim-landing .lp-field textarea,
body.sim-landing .lp-field select {
    width: 100%;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--lp-fg);
    background: var(--lp-surface);
    border: 1px solid var(--lp-line);
    border-radius: 11px;
    padding: 13px 15px;
    transition: border-color 0.2s var(--lp-ease), box-shadow 0.2s var(--lp-ease);
}

body.sim-landing .lp-field textarea {
    min-height: 150px;
    resize: vertical;
}

body.sim-landing .lp-field input:focus,
body.sim-landing .lp-field textarea:focus,
body.sim-landing .lp-field select:focus {
    outline: none;
    border-color: var(--lp-teal);
    box-shadow: 0 0 0 3px rgba(18, 179, 159, 0.14);
}

body.sim-landing .lp-field input::placeholder,
body.sim-landing .lp-field textarea::placeholder {
    color: var(--lp-fg-3);
}

body.sim-landing .lp-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 22px;
}

body.sim-landing .lp-alert i {
    font-size: 1.05rem;
    line-height: 1.4;
}

body.sim-landing .lp-alert.is-ok {
    background: var(--lp-teal-tint);
    color: var(--lp-teal-deep);
    border: 1px solid rgba(18, 179, 159, 0.3);
}

body.sim-landing .lp-alert.is-bad {
    background: #fdf0ef;
    color: #9c2b23;
    border: 1px solid rgba(156, 43, 35, 0.22);
}

/* ==========================================================================
   FAQ accordion
   ========================================================================== */

body.sim-landing .lp-faq {
    border-top: 1px solid var(--lp-line);
    max-width: 860px;
}

body.sim-landing .lp-faq details {
    border-bottom: 1px solid var(--lp-line);
}

body.sim-landing .lp-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    list-style: none;
    padding: 22px 0;
    font-size: 1.02rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--lp-fg);
}

body.sim-landing .lp-faq summary::-webkit-details-marker {
    display: none;
}

body.sim-landing .lp-faq summary::after {
    content: '\002B';
    font-family: var(--lp-mono);
    font-size: 1.2rem;
    color: var(--lp-teal-deep);
    transition: transform 0.25s var(--lp-ease);
    flex-shrink: 0;
}

body.sim-landing .lp-faq details[open] summary::after {
    transform: rotate(45deg);
}

body.sim-landing .lp-faq .lp-faq-body {
    padding: 0 0 24px;
    font-size: 0.938rem;
    line-height: 1.7;
    color: var(--lp-fg-2);
    max-width: 68ch;
}

/* ==========================================================================
   Contact channels
   ========================================================================== */

body.sim-landing .lp-channel {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 22px 0;
    border-bottom: 1px solid var(--lp-line);
}

body.sim-landing .lp-channel:first-child {
    border-top: 1px solid var(--lp-line);
}

body.sim-landing .lp-channel-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--lp-teal-tint);
    color: var(--lp-teal-deep);
    font-size: 1.05rem;
}

body.sim-landing .lp-channel h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--lp-fg);
    margin-bottom: 3px;
}

body.sim-landing .lp-channel p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--lp-fg-2);
}

body.sim-landing .lp-channel a {
    color: var(--lp-teal-deep);
    font-weight: 600;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1080px) {
    body.sim-landing .lp-doc {
        grid-template-columns: minmax(0, 1fr);
        gap: 44px;
    }
    body.sim-landing .lp-rail {
        position: static;
        order: -1;
    }
    body.sim-landing .lp-cards-4,
    body.sim-landing .lp-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 880px) {
    body.sim-landing .lp-cards-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    body.sim-landing .lp-phero {
        padding: 128px 20px 60px;
    }
    body.sim-landing .lp-cards-3,
    body.sim-landing .lp-cards-2,
    body.sim-landing .lp-cards-4,
    body.sim-landing .lp-metrics {
        grid-template-columns: minmax(0, 1fr);
    }
    body.sim-landing .lp-form {
        grid-template-columns: minmax(0, 1fr);
    }
    body.sim-landing .lp-panel {
        padding: 24px;
    }
}
