/* ------------------------------------------------
   Murmur Landing Page
   ------------------------------------------------ */

:root {
    --bg: #171614;
    --surface: #f4f1ea;
    --surface-soft: #efebe3;
    --surface-strong: #e8e3d8;
    --text: #2b2924;
    --text-secondary: #6d675f;
    --accent: #807465;
    --accent-strong: #5e5448;
    --border: #d4cec3;
    --border-light: #e6e1d7;

    --s1: 0.5rem;
    --s2: 0.75rem;
    --s3: 1rem;
    --s4: 1.5rem;
    --s5: 2.5rem;
    --s6: 4rem;
    --s7: 6rem;

    --font-display: "Newsreader", Georgia, "Times New Roman", serif;
    --font-body:
        "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --duration: 0.5s;
}

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

html,
body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.frame {
    width: 100%;
    max-width: 860px;
    background: var(--surface);
    padding: clamp(var(--s6), 5vw, var(--s7)) clamp(var(--s4), 5vw, var(--s6));
    animation: frame-in var(--duration) var(--ease-out) both;
}

@keyframes frame-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
}

.topbar {
    margin-bottom: clamp(var(--s4), 8vw, var(--s5));
}

.topbar__brand {
  display: inline-block;
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.hero,
.controls,
.privacy,
.local,
.proof,
.cta,
.site-footer {
    animation: item-in var(--duration) var(--ease-out) both;
}

.hero {
    animation-delay: 0.08s;
}

.controls {
    animation-delay: 0.14s;
}

.privacy {
    animation-delay: 0.17s;
}

.local {
    animation-delay: 0.24s;
}

.proof {
    animation-delay: 0.28s;
}

.cta {
    animation-delay: 0.32s;
}

.site-footer {
    animation-delay: 0.36s;
}

@keyframes item-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
}

.hero__kicker,
.proof__label {
    margin: 0 0 var(--s3);
    color: var(--accent);
    font-size: 0.79rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.3rem;
    padding: 0.35rem 0.95rem;
    border: 1px solid #d9dde5;
    border-radius: 999px;
    background: #eef2f7;
    color: #4b596f;
    letter-spacing: 0.03em;
    text-transform: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.hero__kicker::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #98a3b5;
    flex: 0 0 auto;
}

.hero h1,
.section-heading h2,
.cta__quote {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--text);
    letter-spacing: -0.015em;
}

.hero h1 {
    max-width: 20ch;
    font-size: clamp(2.7rem, 6vw, 4.25rem);
    line-height: 0.98;
    text-wrap: balance;
}

.hero__lede,
.section-heading p,
.benefit p,
.step p,
.local__pull,
.local__list,
.proof__caption,
.proof__notes li,
.cta__sub,
.site-footer small {
    color: var(--text-secondary);
}

.hero__lede {
    max-width: 42rem;
    margin: var(--s4) 0 0;
    font-family: var(--font-display);
    font-size: clamp(1.16rem, 2.4vw, 1.4rem);
    font-style: italic;
    line-height: 1.55;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s2);
    margin-top: var(--s5);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.85rem 1.2rem;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    transition:
        background-color 0.2s var(--ease-out),
        border-color 0.2s var(--ease-out),
        color 0.2s var(--ease-out),
        transform 0.2s var(--ease-out);
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
}

.button:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 62%, white);
  outline-offset: 3px;
}

.button--primary {
    background: var(--text);
    border-color: var(--text);
    color: var(--surface);
}

.button--primary:hover,
.button--primary:focus-visible {
    background: #1e1c18;
    border-color: #1e1c18;
}

.button--secondary {
    background: transparent;
}

.button--secondary:hover,
.button--secondary:focus-visible {
    background: var(--surface-soft);
}

.cta__trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s2);
    padding: 0;
    margin: var(--s4) 0 0;
    list-style: none;
}

.cta__trust li {
    padding: 0.45rem 0.72rem;
    border: 1px solid var(--border-light);
    color: var(--accent-strong);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: clamp(var(--s5), 8vw, var(--s6)) 0;
}

.section-heading {
    display: grid;
    gap: var(--s3);
    margin-bottom: var(--s5);
}

.section-heading h2 {
    max-width: 16ch;
    font-size: clamp(1.7rem, 4vw, 2.3rem);
    line-height: 1.08;
    text-wrap: balance;
}

.section-heading p {
    max-width: 36rem;
    margin: 0;
    font-size: 0.97rem;
    line-height: 1.72;
}

.section-heading--split {
    grid-template-columns: 1.15fr 1fr;
    align-items: start;
    gap: var(--s4);
}

.section-heading--split h2 {
    margin-bottom: 0;
    max-width: 12ch;
}

.section-heading--split p {
    align-self: end;
    max-width: 30rem;
}

.section-heading--compact {
    margin-bottom: var(--s4);
}

.control-list {
    display: grid;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
}

.control-list__item {
    display: grid;
    grid-template-columns: 4.75rem minmax(0, 1fr);
    align-items: center;
    gap: var(--s3);
    padding: var(--s4) 0;
    border-top: 1px solid var(--border-light);
}

.control-list__item:first-child {
    border-top: none;
    padding-top: 0;
}

.control-list__ui {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 4.75rem;
}

.control-list__content {
    display: grid;
    gap: 0.45rem;
    min-width: 0;
}

.control-list__title {
    display: block;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 2.8vw, 1.8rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--text);
}

.control-list__text {
    display: block;
    margin: 0;
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 0.98rem;
    line-height: 1.6;
}

.control-list__key {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.8rem;
    min-height: 2.25rem;
    padding: 0.3rem 0.7rem;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    background: color-mix(in srgb, var(--surface-soft) 88%, white);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.7),
        0 1px 0 rgba(43, 41, 36, 0.06);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1;
    color: var(--accent-strong);
    text-transform: lowercase;
}

.control-list__switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 3.2rem;
    height: 1.9rem;
    padding: 0.2rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface-soft) 88%, white);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.control-list__switch-knob {
    width: 1.3rem;
    height: 1.3rem;
    margin-left: auto;
    border-radius: 50%;
    background: var(--text);
}

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

.privacy .section-heading h2 {
    max-width: none;
}

.privacy .section-heading p {
    max-width: 34rem;
}

.proof__notes h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.16rem, 2.5vw, 1.4rem);
    font-weight: 500;
    line-height: 1.25;
    color: var(--text);
}

.local__pull,
.proof__caption,
.proof__notes li,
.cta__sub {
    margin: 0;
    max-width: 38rem;
    font-size: 0.95rem;
    line-height: 1.72;
}

.local__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(var(--s4), 4vw, var(--s5));
    align-items: start;
}

.local__pull {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2.8vw, 1.5rem);
    line-height: 1.45;
    color: var(--text);
}

.local__list {
    display: grid;
    gap: var(--s2);
    padding: 0;
    margin: 0;
    list-style: none;
}

.local__list li {
    position: relative;
    padding-left: var(--s4);
}

.local__list li::before {
    content: "";
    position: absolute;
    left: 0.35rem;
    top: 0.72rem;
    width: 0.32rem;
    height: 0.32rem;
    border-radius: 50%;
    background: var(--accent);
}

.proof__panel {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(var(--s4), 5vw, var(--s5));
    align-items: start;
}

.proof__window {
    border: 1px solid var(--border);
    background: linear-gradient(180deg, #f8f5ef 0%, #f0ebe2 100%);
}

.proof__chrome {
    display: flex;
    gap: 0.45rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border-light);
}

.proof__chrome span {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 50%;
    background: color-mix(in srgb, var(--accent) 28%, white);
}

.proof__body {
    display: grid;
    gap: var(--s4);
    padding: clamp(var(--s4), 4vw, var(--s5));
}

.proof__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    width: fit-content;
    padding: 1rem 1.1rem;
    border-radius: 999px;
    background: #1c1a17;
}

.proof__wave {
    width: 0.22rem;
    border-radius: 999px;
    background: rgba(244, 241, 234, 0.88);
}

.proof__wave:nth-child(1) {
    height: 0.9rem;
}

.proof__wave:nth-child(2) {
    height: 1.2rem;
}

.proof__wave:nth-child(3) {
    height: 1.5rem;
}

.proof__wave:nth-child(4) {
    height: 1.1rem;
}

.proof__wave:nth-child(5) {
    height: 0.82rem;
}

.proof__caption {
    max-width: 26ch;
}

.proof__notes {
    display: grid;
    gap: var(--s3);
}

.proof__notes ul {
    display: grid;
    gap: var(--s2);
    padding: 0;
    margin: 0;
    list-style: none;
}

.proof__notes li {
    position: relative;
    padding-left: var(--s4);
}

.proof__notes li::before {
    content: "";
    position: absolute;
    left: 0.35rem;
    top: 0.72rem;
    width: 0.32rem;
    height: 0.32rem;
    border-radius: 50%;
    background: var(--accent);
}

.cta {
    text-align: center;
}

.cta__quote {
    max-width: 12ch;
    margin-inline: auto;
    font-size: clamp(1.8rem, 4.6vw, 2.6rem);
    line-height: 1.08;
    text-wrap: balance;
}

.cta__sub {
    max-width: 34rem;
    margin: var(--s3) auto 0;
}

.cta .button {
    margin-top: var(--s4);
}

.cta__trust {
    justify-content: center;
}

.site-footer {
    margin-top: clamp(var(--s5), 8vw, var(--s6));
    padding-top: var(--s4);
    border-top: 1px solid var(--border);
}

.site-footer small {
    font-size: 0.8rem;
    letter-spacing: 0.03em;
}

@media (max-width: 760px) {
    .section-heading--split,
    .local__grid,
    .proof__panel {
        grid-template-columns: 1fr;
    }

    .section-heading h2,
    .hero h1,
    .cta__quote {
        max-width: none;
    }

    .control-list__item {
        grid-template-columns: 1fr;
        align-items: flex-start;
        gap: var(--s2);
    }

    .control-list__ui {
        width: auto;
        justify-content: flex-start;
    }
}

@media (max-width: 540px) {
    .frame {
        padding-inline: 1.35rem;
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
