/* CamMail public landing page. Visual language: an IP camera's on-screen display (REC dot, timestamp,
   viewfinder corners) over warm paper, with night-vision sections. CSP forbids inline styles and external
   resources, so fonts are self-hosted and dynamic values are set through CSSOM custom properties. */

@font-face {
    font-family: "Bricolage";
    src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
    font-weight: 200 800;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Bricolage";
    src: url("../fonts/bricolage-grotesque-latin-ext-wght-normal.woff2") format("woff2");
    font-weight: 200 800;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "JetBrains Mono";
    src: url("../fonts/jetbrains-mono-latin-wght-normal.woff2") format("woff2");
    font-weight: 100 800;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "JetBrains Mono";
    src: url("../fonts/jetbrains-mono-latin-ext-wght-normal.woff2") format("woff2");
    font-weight: 100 800;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
    --paper: #f3efe6;
    --paper-2: #e9e3d6;
    --paper-3: #ddd5c4;
    --ink: #14130f;
    --ink-2: #34322b;
    --muted: #6b675b;
    --line: rgba(20, 19, 15, 0.13);
    --line-strong: rgba(20, 19, 15, 0.28);
    --rec: #ff4423;
    --rec-deep: #d9300f;
    --night: #0d100c;
    --night-2: #161b15;
    --night-3: #222a21;
    --phosphor: #c9f241;
    --night-fg: #e7ecdf;
    --night-muted: #98a291;
    --radius: 18px;
    --radius-sm: 10px;
    --font: "Bricolage", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
    --gutter: clamp(16px, 4vw, 40px);
    color-scheme: light;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
    -webkit-text-size-adjust: 100%;
}

body.lp {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font);
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a {
    color: inherit;
}

h1, h2, h3, p, ul, ol, dl, dd, figure {
    margin: 0;
}

ul, ol {
    padding: 0;
    list-style: none;
}

:focus-visible {
    outline: 3px solid var(--rec);
    outline-offset: 3px;
    border-radius: 4px;
}

.lp-wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.lp-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.lp-skip {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    background: var(--ink);
    color: var(--paper);
    border-radius: var(--radius-sm);
    text-decoration: none;
}

.lp-skip:focus {
    top: 12px;
}

/* ---------- Buttons ---------- */

.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 50px;
    padding: 0 24px;
    border: 2px solid var(--ink);
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper);
    font: 600 16px/1 var(--font);
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
    box-shadow: 0 6px 0 -2px var(--rec);
}

.lp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 0 -2px var(--rec);
}

.lp-btn:active {
    transform: translateY(1px);
    box-shadow: 0 3px 0 -2px var(--rec);
}

.lp-btn-ghost {
    background: transparent;
    color: var(--ink);
    box-shadow: none;
}

.lp-btn-ghost:hover {
    background: var(--ink);
    color: var(--paper);
    box-shadow: none;
}

.lp-btn-sm {
    min-height: 40px;
    padding: 0 18px;
    font-size: 15px;
    box-shadow: 0 4px 0 -1px var(--rec);
}

.lp-btn-block {
    width: 100%;
}

/* ---------- Header ---------- */

.lp-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.lp-header.is-scrolled,
.lp-header.is-open {
    background: rgba(243, 239, 230, 0.92);
    border-bottom-color: var(--line);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.lp-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 68px;
}

.lp-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 750;
    font-size: 20px;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.lp-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border: 1.5px solid var(--line-strong);
    border-radius: 12px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
}

.lp-menu-icon,
.lp-menu-icon::before,
.lp-menu-icon::after {
    display: block;
    width: 18px;
    height: 2px;
    margin: 0 auto;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.lp-menu-icon {
    position: relative;
}

.lp-menu-icon::before,
.lp-menu-icon::after {
    content: "";
    position: absolute;
    left: 0;
}

.lp-menu-icon::before {
    top: -6px;
}

.lp-menu-icon::after {
    top: 6px;
}

.lp-header.is-open .lp-menu-icon {
    background: transparent;
}

.lp-header.is-open .lp-menu-icon::before {
    transform: translateY(6px) rotate(45deg);
}

.lp-header.is-open .lp-menu-icon::after {
    transform: translateY(-6px) rotate(-45deg);
}

.lp-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

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

.lp-nav a,
.lp-login {
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    color: var(--ink-2);
    background: linear-gradient(var(--rec), var(--rec)) left bottom / 0 2px no-repeat;
    padding-bottom: 2px;
    transition: background-size 0.2s ease, color 0.2s ease;
}

.lp-nav a:hover,
.lp-login:hover {
    color: var(--ink);
    background-size: 100% 2px;
}

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

.lp-login {
    font-weight: 650;
    color: var(--ink);
}

.language-selector {
    display: inline-flex;
    margin: 0;
    padding: 3px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
}

.language-option {
    min-width: 34px;
    height: 28px;
    padding: 0 8px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    font: 600 12px/1 var(--mono);
    cursor: pointer;
}

.language-option.active {
    background: var(--ink);
    color: var(--paper);
}

/* ---------- Hero ---------- */

.lp-hero {
    position: relative;
    padding: clamp(28px, 6vw, 72px) 0 clamp(56px, 8vw, 104px);
    background:
        radial-gradient(600px 400px at 85% 10%, rgba(255, 68, 35, 0.10), transparent 70%),
        linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 48px;
    background-color: var(--paper);
}

.lp-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 120px;
    background: linear-gradient(transparent, var(--paper));
    pointer-events: none;
}

.lp-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
}

.lp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font: 600 12.5px/1.2 var(--mono);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.lp-rec-dot {
    display: inline-block;
    flex: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--rec);
    box-shadow: 0 0 0 4px rgba(255, 68, 35, 0.18);
    animation: lp-blink 1.4s steps(1, end) infinite;
}

@keyframes lp-blink {
    50% {
        opacity: 0.15;
    }
}

.lp-h1 {
    font-size: clamp(42px, 7.2vw, 88px);
    line-height: 0.95;
    font-weight: 780;
    letter-spacing: -0.045em;
}

.lp-h1 span {
    display: block;
}

.lp-h1-accent {
    margin-top: 0.08em;
    color: var(--rec-deep);
    font-weight: 300;
    font-style: italic;
    letter-spacing: -0.035em;
    text-decoration: underline;
    text-decoration-color: var(--rec);
    text-decoration-thickness: 0.07em;
    text-underline-offset: 0.14em;
    text-decoration-skip-ink: none;
}

.lp-lead {
    max-width: 34em;
    margin-top: 26px;
    font-size: clamp(17px, 1.6vw, 20px);
    color: var(--ink-2);
}

.lp-uses-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px dashed var(--line-strong);
}

.lp-uses-chips li {
    padding: 7px 13px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
    font: 500 13px/1.2 var(--mono);
    color: var(--ink-2);
}

.lp-cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.lp-cta-note {
    margin-top: 14px;
    font-size: 14px;
    color: var(--muted);
}

.lp-compat {
    max-width: 36em;
    margin-top: 14px;
    font: 500 13px/1.6 var(--mono);
    color: var(--muted);
}

/* Camera viewfinder */

.lp-cam {
    position: relative;
    max-width: 520px;
    justify-self: end;
    width: 100%;
}

.lp-viewfinder {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--night);
    box-shadow: 0 40px 80px -30px rgba(20, 19, 15, 0.55), 0 0 0 1px rgba(20, 19, 15, 0.4);
    transform: rotate(1.2deg);
}

.lp-scene {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.08) saturate(0.9);
}

.lp-scanlines {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(transparent 0 2px, rgba(0, 0, 0, 0.16) 2px 3px);
    mix-blend-mode: multiply;
    pointer-events: none;
}

.lp-motion-box {
    position: absolute;
    left: 39%;
    top: 50%;
    width: 18%;
    height: 34%;
    border: 2px solid var(--phosphor);
    box-shadow: 0 0 12px rgba(201, 242, 65, 0.45);
    opacity: 0;
}

.lp-motion-box.is-on {
    animation: lp-detect 1.6s ease-out;
}

@keyframes lp-detect {
    0% {
        opacity: 0;
        transform: scale(1.3);
    }

    15%, 70% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
    }
}

.lp-corner {
    position: absolute;
    width: 26px;
    height: 26px;
    border: 0 solid rgba(255, 255, 255, 0.85);
    pointer-events: none;
}

.lp-tl {
    left: 14px;
    top: 14px;
    border-left-width: 2px;
    border-top-width: 2px;
}

.lp-tr {
    right: 14px;
    top: 14px;
    border-right-width: 2px;
    border-top-width: 2px;
}

.lp-bl {
    left: 14px;
    bottom: 14px;
    border-left-width: 2px;
    border-bottom-width: 2px;
}

.lp-br {
    right: 14px;
    bottom: 14px;
    border-right-width: 2px;
    border-bottom-width: 2px;
}

.lp-osd {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font: 600 clamp(10px, 1.6vw, 12.5px)/1 var(--mono);
    letter-spacing: 0.06em;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    white-space: nowrap;
}

.lp-osd .lp-rec-dot {
    width: 8px;
    height: 8px;
    box-shadow: none;
}

.lp-osd-tl {
    left: 24px;
    top: 24px;
}

.lp-osd-tr {
    right: 24px;
    top: 24px;
}

.lp-osd-bl {
    left: 24px;
    bottom: 24px;
    font-variant-numeric: tabular-nums;
}

.lp-osd-br {
    right: 24px;
    bottom: 24px;
    color: var(--phosphor);
}

.lp-mail-chip {
    position: absolute;
    left: -28px;
    top: 58%;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--paper);
    border: 1px solid var(--line-strong);
    box-shadow: 0 14px 30px -12px rgba(20, 19, 15, 0.45);
    font: 500 12.5px/1 var(--mono);
    white-space: nowrap;
    transform: rotate(-2deg);
}

.lp-mail-chip.is-on {
    animation: lp-chip 1.6s ease;
}

@keyframes lp-chip {
    0% {
        transform: rotate(-2deg) translateY(0);
    }

    25% {
        transform: rotate(-2deg) translateY(-8px);
        box-shadow: 0 22px 34px -12px rgba(255, 68, 35, 0.55);
    }

    100% {
        transform: rotate(-2deg) translateY(0);
    }
}

.lp-mail-chip strong {
    color: var(--rec-deep);
    font-weight: 700;
}

.lp-mail-icon {
    position: relative;
    width: 18px;
    height: 13px;
    border: 1.5px solid var(--ink);
    border-radius: 2px;
}

.lp-mail-icon::after {
    content: "";
    position: absolute;
    left: 2px;
    right: 2px;
    top: -4px;
    height: 9px;
    border: 1.5px solid var(--ink);
    border-top: 0;
    border-left: 0;
    transform: rotate(45deg) scaleX(0.75);
    transform-origin: center;
}

.lp-arrow {
    color: var(--muted);
}

.lp-day {
    position: relative;
    margin: -6px 18px 0 auto;
    width: 88%;
    padding: 14px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 24px 50px -24px rgba(20, 19, 15, 0.4);
    transform: rotate(-1deg);
}

.lp-day-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
    font-size: 14px;
}

.lp-day-head span {
    font: 500 12px/1 var(--mono);
    color: var(--muted);
}

.lp-day-head b {
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.lp-day-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
}

.lp-day-strip img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 6px;
}

.lp-day-strip img.is-new {
    animation: lp-drop 0.7s cubic-bezier(0.2, 0.9, 0.3, 1.2);
    outline: 2px solid var(--rec);
    outline-offset: 1px;
}

@keyframes lp-drop {
    from {
        opacity: 0;
        transform: translateY(-24px) scale(0.6);
    }
}

/* ---------- Sections ---------- */

.lp-section {
    padding: clamp(64px, 9vw, 120px) 0;
}

.lp-section-head {
    max-width: 720px;
    margin-bottom: clamp(32px, 4vw, 52px);
}

.lp-h2 {
    font-size: clamp(32px, 4.6vw, 56px);
    line-height: 1.02;
    font-weight: 750;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.lp-sub {
    margin-top: 16px;
    font-size: 18px;
    color: var(--ink-2);
}

.lp-sub a {
    font-weight: 650;
    text-decoration-color: var(--rec);
    text-underline-offset: 3px;
}

/* Steps */

.lp-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    counter-reset: step;
}

.lp-step {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--line);
}

.lp-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 46px;
    right: -21px;
    width: 22px;
    border-top: 2px dashed var(--rec);
}

.lp-step-no {
    font: 700 13px/1 var(--mono);
    color: var(--rec-deep);
    letter-spacing: 0.1em;
}

.lp-step h3 {
    margin-top: 16px;
    font-size: 22px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.lp-step p {
    margin-top: 10px;
    color: var(--ink-2);
}

.lp-settings,
.lp-chain,
.lp-days {
    margin-top: auto;
    padding-top: 22px;
}

.lp-settings {
    display: grid;
    gap: 0;
    font: 500 12.5px/1.2 var(--mono);
}

.lp-settings div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 12px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}

.lp-settings div:first-child {
    border-radius: 10px 10px 0 0;
}

.lp-settings div:last-child {
    border-bottom: 0;
    border-radius: 0 0 10px 10px;
}

.lp-settings dt {
    color: var(--muted);
}

.lp-settings dd {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
}

.lp-off {
    color: var(--rec-deep);
}

.lp-chain {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lp-chain span {
    padding: 9px 12px;
    white-space: nowrap;
    border-radius: 8px;
    background: var(--night);
    color: var(--phosphor);
    font: 700 12px/1 var(--mono);
    letter-spacing: 0.06em;
}

.lp-chain i {
    flex: 1;
    height: 2px;
    min-width: 14px;
    background: repeating-linear-gradient(90deg, var(--rec) 0 6px, transparent 6px 10px);
    background-size: 20px 2px;
    animation: lp-flow 0.8s linear infinite;
}

@keyframes lp-flow {
    to {
        background-position: 20px 0;
    }
}

.lp-days li {
    display: flex;
    justify-content: space-between;
    padding: 10px 2px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
}

.lp-days li:first-child {
    font-weight: 700;
}

.lp-days b {
    font: 700 13px/1.4 var(--mono);
    padding: 0 8px;
    border-radius: 6px;
    background: var(--paper-2);
}

.lp-days li:first-child b {
    background: var(--rec);
    color: #fff;
}

/* Pricing */

.lp-pricing-section {
    background: var(--paper-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

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

.lp-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border-radius: 22px;
    background: var(--paper);
    border: 1px solid var(--line-strong);
}

.lp-plan-featured {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
    box-shadow: 0 30px 60px -30px rgba(20, 19, 15, 0.7);
    transform: translateY(-10px);
}

.lp-plan-badge {
    position: absolute;
    top: -13px;
    left: 28px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--rec);
    color: #fff;
    font: 700 11.5px/1 var(--mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lp-plan h3 {
    font-size: 26px;
    letter-spacing: -0.02em;
}

.lp-plan-for {
    margin-top: 4px;
    min-height: 3em;
    font-size: 15px;
    color: var(--muted);
}

.lp-plan-featured .lp-plan-for,
.lp-plan-featured .lp-price-alt,
.lp-plan-featured .lp-price span {
    color: rgba(243, 239, 230, 0.66);
}

.lp-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 18px;
}

.lp-price strong {
    font-size: 48px;
    line-height: 1;
    font-weight: 780;
    letter-spacing: -0.04em;
}

.lp-price span {
    font-size: 15px;
    color: var(--muted);
}

.lp-price-alt {
    min-height: 1.5em;
    margin-top: 6px;
    font-size: 13.5px;
    color: var(--muted);
}

.lp-dots {
    display: grid;
    grid-template-columns: repeat(24, minmax(0, 1fr));
    gap: 2px;
    margin: 22px 0 6px;
    padding: 10px;
    border-radius: 12px;
    background: rgba(20, 19, 15, 0.05);
}

.lp-plan-featured .lp-dots {
    background: rgba(255, 255, 255, 0.06);
}

.lp-dots > span {
    display: flex;
    flex-direction: column-reverse;
    gap: 2px;
}

.lp-dots i {
    display: block;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(20, 19, 15, 0.12);
}

.lp-plan-featured .lp-dots i {
    background: rgba(255, 255, 255, 0.12);
}

.lp-dots i.on {
    background: var(--rec);
}

.lp-dots-overflow i.on {
    background: var(--ink);
    animation: lp-pulse 2.4s ease-in-out infinite;
}

.lp-dots-overflow > span:nth-child(3n) i.on {
    animation-delay: 0.4s;
}

.lp-dots-overflow > span:nth-child(3n + 1) i.on {
    animation-delay: 0.8s;
}

@keyframes lp-pulse {
    50% {
        background: var(--rec);
    }
}

.lp-plan-list {
    display: grid;
    gap: 10px;
    margin: 18px 0 26px;
    font-size: 15.5px;
}

.lp-plan-list li {
    position: relative;
    padding-left: 22px;
}

.lp-plan-list li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 0.55em;
    width: 9px;
    height: 5px;
    border-left: 2px solid var(--rec);
    border-bottom: 2px solid var(--rec);
    transform: rotate(-45deg);
}

.lp-plan-list b {
    font-size: 17px;
}

.lp-math {
    display: block;
    font: 500 12.5px/1.5 var(--mono);
    color: var(--rec);
}

.lp-plan .lp-btn {
    margin-top: auto;
}

.lp-plan-featured .lp-btn {
    background: var(--rec);
    border-color: var(--rec);
    color: #fff;
    box-shadow: 0 6px 0 -2px var(--paper);
}

.lp-plan-featured .lp-btn:hover {
    box-shadow: 0 8px 0 -2px var(--paper);
}

.lp-dots-legend {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    font: 500 13px/1.5 var(--mono);
    color: var(--muted);
}

.lp-dot-sample {
    width: 9px;
    height: 9px;
    flex: none;
    border-radius: 50%;
    background: var(--rec);
}

.lp-footnote {
    max-width: 760px;
    margin-top: 10px;
    font-size: 14px;
    color: var(--muted);
}

/* FAQ */

.lp-faq-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: start;
}

.lp-faq-grid .lp-section-head {
    position: sticky;
    top: 100px;
}

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

.lp-faq details:first-child {
    border-top: 1px solid var(--line-strong);
}

.lp-faq summary {
    position: relative;
    padding: 22px 48px 22px 0;
    font-size: 19px;
    font-weight: 650;
    letter-spacing: -0.01em;
    cursor: pointer;
    list-style: none;
}

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

.lp-faq summary::after {
    content: "+";
    position: absolute;
    right: 4px;
    top: 50%;
    width: 32px;
    height: 32px;
    margin-top: -16px;
    border-radius: 50%;
    border: 1.5px solid var(--line-strong);
    font: 400 20px/29px var(--mono);
    text-align: center;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.lp-faq details[open] summary::after {
    transform: rotate(45deg);
    background: var(--rec);
    border-color: var(--rec);
    color: #fff;
}

.lp-faq details p {
    max-width: 40em;
    padding: 0 48px 24px 0;
    color: var(--ink-2);
}

/* Footer */

.lp-footer {
    padding: 40px 0 48px;
    border-top: 1px solid var(--line);
}

.lp-footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px 40px;
    align-items: start;
}

.lp-footer-brand p {
    margin-top: 8px;
    font-size: 15px;
    color: var(--muted);
}

.lp-footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    font-size: 15px;
}

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

.lp-footer-nav a:hover {
    color: var(--rec-deep);
}

.lp-legal {
    grid-column: 1 / -1;
    padding-top: 20px;
    border-top: 1px dashed var(--line);
    font: 500 12px/1.6 var(--mono);
    color: var(--muted);
}

/* Reveal on scroll (classes added by landing.js only, so content stays visible without JS) */

.lp-js .lp-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.lp-js .lp-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
    .lp-nav {
        gap: 18px;
    }

    .lp-menu {
        gap: 18px;
    }
}

@media (max-width: 920px) {
    .lp-menu-btn {
        display: block;
    }

    .lp-menu {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 18px;
        padding: 12px var(--gutter) 24px;
        background: var(--paper);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 24px 40px -24px rgba(20, 19, 15, 0.35);
    }

    .lp-header.is-open .lp-menu {
        display: flex;
    }

    .lp-nav {
        flex-direction: column;
        gap: 0;
    }

    .lp-nav a {
        padding: 14px 0;
        border-bottom: 1px solid var(--line);
        font-size: 18px;
        background: none;
    }

    .lp-header-actions {
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .lp-hero-grid {
        grid-template-columns: 1fr;
    }

    .lp-cam {
        justify-self: center;
        max-width: 560px;
    }

    .lp-mail-chip {
        left: 8px;
        top: auto;
        bottom: 96px;
    }

    .lp-steps {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .lp-step:not(:last-child)::after {
        top: auto;
        right: auto;
        left: 46px;
        bottom: -23px;
        width: 0;
        height: 24px;
        border-top: 0;
        border-left: 2px dashed var(--rec);
    }

    .lp-plans {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
        gap: 26px;
    }

    .lp-plan-featured {
        transform: none;
        order: -1;
    }

    .lp-plan-for {
        min-height: 0;
    }

    .lp-faq-grid {
        grid-template-columns: 1fr;
    }

    .lp-faq-grid .lp-section-head {
        position: static;
    }
}

@media (max-width: 640px) {
    body.lp {
        font-size: 16px;
    }

    .lp-header-actions .lp-btn-sm {
        flex: 1 1 100%;
    }

    .lp-cta-row .lp-btn {
        flex: 1 1 100%;
    }

    .lp-viewfinder {
        transform: none;
    }

    .lp-osd-tl,
    .lp-osd-bl {
        left: 18px;
    }

    .lp-osd-tr,
    .lp-osd-br {
        right: 18px;
    }

    .lp-osd-tl,
    .lp-osd-tr {
        top: 18px;
    }

    .lp-osd-bl,
    .lp-osd-br {
        bottom: 18px;
    }

    .lp-corner {
        width: 18px;
        height: 18px;
    }

    .lp-tl, .lp-bl {
        left: 9px;
    }

    .lp-tr, .lp-br {
        right: 9px;
    }

    .lp-tl, .lp-tr {
        top: 9px;
    }

    .lp-bl, .lp-br {
        bottom: 9px;
    }

    .lp-mail-chip {
        top: 46px;
        bottom: auto;
        left: 10px;
        font-size: 11px;
    }

    .lp-day {
        width: 94%;
        margin-right: 3%;
        padding: 10px;
    }

    .lp-day-strip {
        gap: 4px;
    }

    .lp-step,
    .lp-plan {
        padding: 22px;
    }

    .lp-chain span {
        padding: 9px 9px;
    }

    .lp-faq summary {
        font-size: 17px;
    }

    .lp-faq details p {
        padding-right: 0;
    }

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

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .lp-js .lp-reveal {
        opacity: 1;
        transform: none;
    }
}
