/* ---- Echo product page ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #000;
    --surface: #111113;
    --surface-2: #1c1c1e;
    --surface-3: #2c2c2e;
    --border: #2a2a2c;
    --text: #f5f5f7;
    --muted: #86868b;
    --faint: #5c5c61;
    --accent: #2f7de1;
    --accent-soft: #5a9bf0;
    --green: #30d158;
    --red: #ff453a;
    --gutter: 1.5rem;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

a {
    color: inherit;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    padding: 0.5rem 1rem;
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
    font-size: 0.875rem;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* ---- Top bar ---- */
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.375rem 0.625rem;
    margin-left: -0.625rem;
    border-radius: 6px;
    transition: color 200ms ease, background-color 200ms ease;
}

.back-link:hover {
    color: var(--text);
    background: var(--surface);
}

.back-link svg {
    width: 15px;
    height: 15px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
}

/* ---- Waveform mark ---- */
.wave {
    display: inline-flex;
    align-items: center;
    gap: var(--wave-gap, 3px);
    height: var(--wave-h, 16px);
}

.wave i {
    display: block;
    width: var(--wave-w, 3px);
    height: 100%;
    border-radius: 999px;
    background: var(--wave-color, var(--accent-soft));
    transform: scaleY(0.35);
}

.wave i:nth-child(1) { transform: scaleY(0.35); }
.wave i:nth-child(2) { transform: scaleY(0.7); }
.wave i:nth-child(3) { transform: scaleY(1); }
.wave i:nth-child(4) { transform: scaleY(0.62); }
.wave i:nth-child(5) { transform: scaleY(0.3); }

.wave--live i {
    animation: wave 1.4s ease-in-out infinite;
}

.wave--live i:nth-child(2) { animation-delay: -0.2s; }
.wave--live i:nth-child(3) { animation-delay: -0.45s; }
.wave--live i:nth-child(4) { animation-delay: -0.7s; }
.wave--live i:nth-child(5) { animation-delay: -0.9s; }

@keyframes wave {
    0%, 100% { transform: scaleY(0.3); }
    50% { transform: scaleY(1); }
}

/* ---- Hero: the conversation ---- */
.hero {
    padding-top: 5rem;
    padding-bottom: 4rem;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    color: var(--accent-soft);
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero h1 {
    font-size: clamp(2.5rem, 7vw, 4.75rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.04;
    max-width: 900px;
    margin: 0 auto;
    text-wrap: balance;
}

.hero h1 .dim {
    color: var(--muted);
}

.chat {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 560px;
    margin: 3.5rem auto 0;
    text-align: left;
}

.msg {
    max-width: 82%;
    padding: 0.75rem 1rem;
    border-radius: 1.25rem;
    font-size: 1.0625rem;
    line-height: 1.45;
}

.msg--me {
    align-self: flex-end;
    background: var(--accent);
    color: #fff;
    border-bottom-right-radius: 0.375rem;
}

.msg--echo {
    align-self: flex-start;
    background: var(--surface-2);
    border-bottom-left-radius: 0.375rem;
}

.msg-from {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
    color: var(--muted);
    font-size: 0.8125rem;
    margin: 0.5rem 0 -0.25rem 0.25rem;
}

.typing {
    align-self: flex-start;
    display: inline-flex;
    gap: 4px;
    padding: 0.95rem 1rem;
    background: var(--surface-2);
    border-radius: 1.25rem;
    border-bottom-left-radius: 0.375rem;
}

.typing span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--muted);
    animation: typing 1s ease-in-out infinite;
}

.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes typing {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(-2px); }
}

.suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.suggestions a {
    padding: 0.5rem 0.95rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text);
    font-size: 0.875rem;
    text-decoration: none;
    transition: border-color 200ms ease, background-color 200ms ease;
}

.suggestions a:hover {
    border-color: var(--accent);
    background: rgba(47, 125, 225, 0.12);
}

.js #hero-chat > * {
    opacity: 0;
    transform: translateY(8px);
}

.js #hero-chat > .shown {
    opacity: 1;
    transform: none;
    transition: opacity 400ms ease, transform 400ms ease;
}

/* ---- Feature sections ---- */
.feature {
    padding: 7rem 0;
    border-top: 1px solid #141416;
}

.feature-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.5rem;
}

.feature h2 {
    font-size: clamp(2.25rem, 5.5vw, 3.75rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.05;
    text-wrap: balance;
}

.feature h2 .dim {
    color: var(--muted);
}

.lead {
    color: var(--muted);
    font-size: 1.1875rem;
    line-height: 1.5;
    margin-top: 1.25rem;
}

.lead strong {
    color: var(--text);
    font-weight: 600;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: center;
}

.split--flip .split-media {
    order: -1;
}

.split .feature-head {
    text-align: left;
    margin: 0;
}

.split-media {
    display: flex;
    justify-content: center;
}

.points {
    list-style: none;
    margin-top: 2rem;
    display: grid;
    gap: 1.25rem;
}

.points li {
    padding-left: 1rem;
    border-left: 2px solid var(--surface-3);
}

.points strong {
    display: block;
    font-weight: 600;
    margin-bottom: 0.125rem;
}

.points span {
    color: var(--muted);
}

.tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 3.5rem;
}

.tile {
    background: var(--surface);
    border: 1px solid #1a1a1c;
    border-radius: 1.25rem;
    padding: 1.5rem;
}

.tile-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(47, 125, 225, 0.14);
    color: var(--accent-soft);
    margin-bottom: 1rem;
}

.tile-icon svg {
    width: 18px;
    height: 18px;
}

.tile h3 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 0.375rem;
}

.tile p {
    color: var(--muted);
    font-size: 0.9375rem;
}

kbd {
    font-family: inherit;
    font-size: 0.85em;
    padding: 0.1em 0.45em;
    border: 1px solid var(--surface-3);
    border-bottom-width: 2px;
    border-radius: 6px;
    color: var(--text);
    white-space: nowrap;
}

/* ---- iPhone ---- */
.iphone {
    width: min(290px, 80vw);
    aspect-ratio: 9 / 19.5;
    border-radius: 46px;
    background: #050505;
    border: 10px solid #1d1d1f;
    box-shadow:
        0 0 0 1px #3a3a3c,
        0 50px 100px -30px rgba(47, 125, 225, 0.35);
    position: relative;
    overflow: hidden;
    container-type: inline-size;
}

.iphone::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 30%;
    height: 24px;
    border-radius: 999px;
    background: #000;
    z-index: 3;
}

.iphone-screen {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 3.6em 0.9em 1em;
    font-size: 5cqw;
}

.statusbar {
    position: absolute;
    top: 0.75em;
    left: 1.6em;
    right: 1.6em;
    display: flex;
    justify-content: space-between;
    font-size: 4cqw;
    font-weight: 600;
    z-index: 2;
}

/* Voice call screen */
.call {
    background: radial-gradient(
        120% 60% at 50% 45%,
        rgba(47, 125, 225, 0.28),
        transparent 70%
    ), #000;
    align-items: center;
    text-align: center;
}

.call-title {
    font-size: 0.8em;
    color: var(--muted);
}

.call-name {
    font-size: 1.35em;
    font-weight: 600;
    margin-top: 0.1em;
}

.call .wave {
    --wave-h: 5.2em;
    --wave-w: 0.95em;
    --wave-gap: 0.55em;
    --wave-color: #fff;
    margin: auto 0 1.6em;
}

.caption {
    font-size: 0.85em;
    line-height: 1.4;
    color: var(--muted);
    min-height: 2.8em;
}

.caption--echo {
    color: var(--text);
    margin-top: 0.6em;
    margin-bottom: auto;
}

.modes {
    display: flex;
    gap: 0.25em;
    padding: 0.25em;
    background: var(--surface-2);
    border-radius: 999px;
    font-size: 0.72em;
    margin-bottom: 1.2em;
}

.modes span {
    padding: 0.4em 0.8em;
    border-radius: 999px;
    color: var(--muted);
}

.modes .on {
    background: var(--surface-3);
    color: var(--text);
}

.end-call {
    width: 3.4em;
    height: 3.4em;
    border-radius: 50%;
    background: var(--red);
    display: grid;
    place-items: center;
}

.end-call svg {
    width: 1.5em;
    height: 1.5em;
    color: #fff;
}

/* Chat screen */
.app-chat {
    gap: 0.5em;
    background: #000;
}

.app-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4em;
    font-weight: 600;
    font-size: 0.95em;
    padding-bottom: 0.7em;
    border-bottom: 1px solid #161618;
    margin-bottom: 0.4em;
}

.app-header .wave {
    --wave-h: 0.9em;
    --wave-w: 0.16em;
    --wave-gap: 0.12em;
}

.bubble {
    max-width: 85%;
    padding: 0.55em 0.8em;
    border-radius: 1.1em;
    font-size: 0.82em;
    line-height: 1.4;
}

.bubble--me {
    align-self: flex-end;
    background: var(--accent);
    color: #fff;
    border-bottom-right-radius: 0.3em;
}

.bubble--echo {
    align-self: flex-start;
    background: var(--surface-2);
    border-bottom-left-radius: 0.3em;
}

.memory-chip {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.35em;
    font-size: 0.68em;
    color: var(--accent-soft);
    background: rgba(47, 125, 225, 0.12);
    border-radius: 999px;
    padding: 0.3em 0.7em;
}

.memory-chip svg {
    width: 1.1em;
    height: 1.1em;
}

.composer {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 0.5em;
    border: 1px solid var(--surface-3);
    border-radius: 999px;
    padding: 0.55em 0.55em 0.55em 0.9em;
    font-size: 0.78em;
    color: var(--faint);
}

.composer .mic {
    margin-left: auto;
    width: 1.9em;
    height: 1.9em;
    border-radius: 50%;
    background: var(--text);
    display: grid;
    place-items: center;
}

.composer .mic .wave {
    --wave-h: 0.8em;
    --wave-w: 0.12em;
    --wave-gap: 0.1em;
    --wave-color: #000;
}

/* Lock screen */
.lock {
    background:
        radial-gradient(90% 50% at 20% 0%, rgba(47, 125, 225, 0.55), transparent 70%),
        radial-gradient(80% 50% at 100% 100%, rgba(120, 60, 200, 0.45), transparent 70%),
        #05060a;
    align-items: center;
}

.lock-date {
    font-size: 0.85em;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.lock-time {
    font-size: 4.2em;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 1.4em;
}

.notif {
    width: 100%;
    background: rgba(40, 40, 46, 0.72);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-radius: 1.1em;
    padding: 0.7em 0.8em;
    margin-bottom: 0.5em;
    display: grid;
    grid-template-columns: 2em minmax(0, 1fr);
    gap: 0.6em;
    font-size: 0.78em;
}

.notif-icon {
    width: 2em;
    height: 2em;
    border-radius: 0.5em;
    background: #000;
    display: grid;
    place-items: center;
}

.notif-icon .wave {
    --wave-h: 0.9em;
    --wave-w: 0.14em;
    --wave-gap: 0.1em;
    --wave-color: #fff;
}

.notif-top {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}

.notif-top span {
    color: rgba(255, 255, 255, 0.55);
    font-weight: 400;
}

.notif p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.35;
}

/* ---- Everyday: one sentence ---- */
.sentence {
    max-width: 760px;
    margin: 0 auto;
}

.sentence .msg {
    max-width: 100%;
    font-size: clamp(1.0625rem, 2.4vw, 1.375rem);
    margin-left: auto;
    width: fit-content;
}

.actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.action {
    background: var(--surface);
    border: 1px solid #1a1a1c;
    border-radius: 1rem;
    padding: 1rem 1.125rem;
}

.action-kind {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 0.375rem;
}

.action-kind i {
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

.action p {
    font-weight: 500;
}

.action small {
    display: block;
    color: var(--muted);
    font-size: 0.875rem;
    margin-top: 0.125rem;
}

.works-with {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    color: var(--muted);
    font-size: 0.9375rem;
    align-items: center;
}

.works-with span {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.375rem 0.875rem;
    color: var(--text);
}

/* ---- Mac section ---- */
.mac-section {
    background:
        radial-gradient(60% 40% at 50% 0%, rgba(47, 125, 225, 0.16), transparent 70%),
        #000;
}

.mac-feature {
    margin-top: 6rem;
}

.mac {
    width: 100%;
    max-width: 620px;
}

.mac-screen {
    aspect-ratio: 16 / 10;
    border: 10px solid #1d1d1f;
    border-bottom-width: 14px;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 0 0 1px #3a3a3c;
    position: relative;
    overflow: hidden;
    container-type: inline-size;
    background:
        radial-gradient(70% 70% at 15% 20%, #1b3d73, transparent 70%),
        radial-gradient(60% 60% at 90% 90%, #4a2470, transparent 70%),
        #0b0d18;
}

.mac-screen > * {
    font-size: 2.1cqw;
}

.mac-base {
    height: 14px;
    width: 110%;
    margin-left: -5%;
    background: linear-gradient(#d7d8dc, #8d8e92);
    border-radius: 0 0 14px 14px;
    position: relative;
}

.mac-base::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 16%;
    height: 5px;
    background: #9fa0a4;
    border-radius: 0 0 8px 8px;
}

.menubar {
    height: 1.7em;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0.9em;
    background: rgba(0, 0, 0, 0.35);
    font-size: 1.8cqw;
    color: rgba(255, 255, 255, 0.85);
}

.menubar-left,
.menubar-right {
    display: flex;
    gap: 1.1em;
    align-items: center;
}

.menubar b {
    font-weight: 600;
}

.menubar .wave {
    --wave-h: 0.9em;
    --wave-w: 0.15em;
    --wave-gap: 0.12em;
    --wave-color: #fff;
}

.window {
    position: absolute;
    background: rgba(28, 28, 30, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.8em;
    overflow: hidden;
}

.window-bar {
    height: 2em;
    display: flex;
    align-items: center;
    gap: 0.4em;
    padding: 0 0.8em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8em;
    color: var(--muted);
}

.window-bar i {
    width: 0.8em;
    height: 0.8em;
    border-radius: 50%;
    background: #3a3a3c;
}

.window-bar i:nth-child(1) { background: #ff5f57; }
.window-bar i:nth-child(2) { background: #febc2e; }
.window-bar i:nth-child(3) { background: #28c840; }

.window-bar span {
    margin-left: auto;
    margin-right: auto;
    padding-right: 3em;
}

.lines {
    padding: 1.2em;
    display: grid;
    gap: 0.6em;
}

.lines i {
    display: block;
    height: 0.55em;
    border-radius: 999px;
    background: #2c2c2e;
}

/* Quick Ask */
.quick-ask {
    position: absolute;
    top: 18%;
    left: 50%;
    transform: translateX(-50%);
    width: 62%;
    background: rgba(36, 36, 40, 0.92);
    -webkit-backdrop-filter: blur(24px);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.1em;
    box-shadow: 0 2em 4em rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.quick-ask-input {
    display: flex;
    align-items: center;
    gap: 0.7em;
    padding: 0.9em 1.1em;
    font-size: 1.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.quick-ask-input .wave {
    --wave-h: 1.1em;
    --wave-w: 0.18em;
    --wave-gap: 0.14em;
}

.quick-ask-input kbd {
    margin-left: auto;
    font-size: 0.75em;
    color: var(--muted);
}

.quick-ask-answer {
    padding: 0.9em 1.1em 1.1em;
    font-size: 0.95em;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.88);
}

.quick-ask-answer small {
    display: block;
    margin-top: 0.6em;
    font-size: 0.8em;
    color: var(--muted);
}

/* Captions */
.video {
    position: absolute;
    inset: 12% 8% 8%;
    border-radius: 0.8em;
    overflow: hidden;
    background:
        radial-gradient(40% 50% at 35% 45%, #6b4a3a, transparent 70%),
        radial-gradient(35% 45% at 70% 55%, #2f4d5e, transparent 70%),
        linear-gradient(160deg, #2a2420, #121418);
}

.video-person {
    position: absolute;
    left: 34%;
    bottom: 0;
    width: 32%;
    aspect-ratio: 1 / 1.15;
}

.video-person::before {
    content: "";
    position: absolute;
    left: 30%;
    top: 0;
    width: 40%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #3a2c26;
}

.video-person::after {
    content: "";
    position: absolute;
    left: 5%;
    right: 5%;
    bottom: 0;
    height: 52%;
    border-radius: 45% 45% 0 0;
    background: #2a201c;
}

.video-bar {
    position: absolute;
    left: 4%;
    right: 4%;
    bottom: 5%;
    height: 0.3em;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
}

.video-bar::before {
    content: "";
    position: absolute;
    inset: 0 62% 0 0;
    border-radius: inherit;
    background: #fff;
}

.caption-panel {
    position: absolute;
    top: 2.4em;
    left: 50%;
    transform: translateX(-50%);
    width: 74%;
    background: rgba(18, 18, 20, 0.9);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1em;
    padding: 0.8em 1.1em;
    z-index: 2;
}

.caption-meta {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-size: 0.75em;
    color: var(--muted);
    margin-bottom: 0.35em;
}

.live-dot {
    width: 0.55em;
    height: 0.55em;
    border-radius: 50%;
    background: var(--red);
    animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
    50% { opacity: 0.35; }
}

.caption-original {
    font-size: 0.85em;
    color: var(--muted);
}

.caption-text {
    font-size: 1.1em;
    font-weight: 500;
    line-height: 1.35;
}

/* Computer use */
.messenger {
    inset: 9% 22% 9% 6%;
    display: grid;
    grid-template-rows: auto 1fr;
}

.messenger-body {
    display: grid;
    grid-template-columns: 34% 1fr;
    min-height: 0;
}

.contacts {
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0.6em;
    display: grid;
    align-content: start;
    gap: 0.3em;
}

.contact {
    display: flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.45em;
    border-radius: 0.5em;
    font-size: 0.8em;
}

.contact i {
    width: 1.8em;
    height: 1.8em;
    border-radius: 50%;
    background: #3a3a3c;
    flex-shrink: 0;
}

.contact.active {
    background: rgba(47, 125, 225, 0.25);
    box-shadow: inset 0 0 0 1px rgba(90, 155, 240, 0.7);
}

.convo {
    display: flex;
    flex-direction: column;
    padding: 0.8em;
    gap: 0.4em;
    font-size: 0.8em;
}

.convo .in {
    align-self: flex-start;
    background: #2c2c2e;
    padding: 0.45em 0.7em;
    border-radius: 0.9em;
}

.convo-input {
    margin-top: auto;
    border: 1px solid rgba(90, 155, 240, 0.8);
    box-shadow: 0 0 0 3px rgba(47, 125, 225, 0.25);
    border-radius: 999px;
    padding: 0.5em 0.8em;
}

.cursor {
    display: inline-block;
    width: 1px;
    height: 1em;
    background: #fff;
    vertical-align: -0.15em;
    margin-left: 1px;
    animation: pulse 1s steps(1) infinite;
}

.agent-hud {
    position: absolute;
    right: 3%;
    bottom: 26%;
    width: 30%;
    background: rgba(20, 20, 24, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1em;
    padding: 0.9em;
    font-size: 1.65cqw;
    box-shadow: 0 1.5em 3em rgba(0, 0, 0, 0.5);
}

.agent-hud-title {
    display: flex;
    align-items: center;
    gap: 0.5em;
    font-weight: 600;
    margin-bottom: 0.7em;
}

.agent-hud-title .wave {
    --wave-h: 0.9em;
    --wave-w: 0.15em;
    --wave-gap: 0.1em;
}

.steps {
    list-style: none;
    display: grid;
    gap: 0.5em;
}

.steps li {
    display: flex;
    align-items: center;
    gap: 0.5em;
    color: rgba(255, 255, 255, 0.85);
}

.steps li::before {
    content: "";
    width: 0.9em;
    height: 0.9em;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--green)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E")
        center / 65% no-repeat;
}

.steps li.wait {
    color: var(--muted);
}

.steps li.wait::before {
    background: none;
    border: 1.5px solid var(--accent-soft);
}

.mac-extras {
    margin-top: 6rem;
}

/* ---- Apps ---- */
.app-demo {
    max-width: 620px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.app-card {
    align-self: flex-start;
    width: min(100%, 420px);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1.125rem;
    padding: 1rem 1.125rem;
}

.app-card-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--muted);
    font-size: 0.8125rem;
    margin-bottom: 0.5rem;
}

.app-card-head i {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    background: linear-gradient(135deg, #30d158, #0a8a3a);
}

.app-card p {
    font-weight: 500;
}

.app-card .buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.875rem;
}

.btn {
    padding: 0.45rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn--primary {
    background: var(--text);
    color: #000;
    border-color: var(--text);
}

/* ---- Privacy ---- */
.privacy .tiles {
    margin-top: 0;
}

/* ---- Closing ---- */
.closing {
    padding: 7rem 0 6rem;
    border-top: 1px solid #141416;
}

.closing .chat {
    margin-top: 0;
}

.signoff {
    text-align: center;
    margin-top: 4rem;
}

.signoff .wave {
    --wave-h: 28px;
    --wave-w: 5px;
    --wave-gap: 5px;
    margin-bottom: 1rem;
}

.signoff p {
    color: var(--muted);
    max-width: 480px;
    margin: 0 auto;
}

.signoff a {
    display: inline-block;
    margin-top: 1.5rem;
    color: var(--accent-soft);
    text-decoration: none;
    font-weight: 500;
}

.signoff a:hover {
    text-decoration: underline;
}

footer {
    border-top: 1px solid #141416;
    padding: 2rem 0;
    color: var(--faint);
    font-size: 0.8125rem;
    text-align: center;
}

/* ---- Scroll reveal ---- */
.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.js .reveal.in {
    opacity: 1;
    transform: none;
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
    .split {
        grid-template-columns: minmax(0, 1fr);
        gap: 3rem;
    }

    .split--flip .split-media {
        order: 0;
    }

    .split .feature-head {
        text-align: center;
    }

    .points {
        text-align: left;
    }
}

@media (max-width: 600px) {
    :root {
        --gutter: 1rem;
    }

    .hero {
        padding-top: 3.5rem;
        padding-bottom: 3rem;
    }

    .feature {
        padding: 5rem 0;
    }

    .mac-feature,
    .mac-extras {
        margin-top: 4.5rem;
    }

    .msg {
        font-size: 1rem;
    }

    .lead {
        font-size: 1.0625rem;
    }
}

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .js .reveal,
    .js #hero-chat > * {
        opacity: 1;
        transform: none;
    }
}
