:root {
    --paper: oklch(0.972 0.012 82);
    --paper-2: oklch(0.95 0.018 80);
    --paper-3: oklch(0.92 0.022 78);
    --ink: oklch(0.20 0.015 60);
    --ink-2: oklch(0.36 0.015 60);
    --ink-3: oklch(0.55 0.015 60);
    --line: oklch(0.85 0.018 75);
    --accent: oklch(0.68 0.16 35);
    --accent-2: oklch(0.78 0.14 60);
    --green: oklch(0.62 0.12 150);
    --red: oklch(0.62 0.18 25);
    --shadow: 0 1px 0 oklch(1 0 0 / .6) inset, 0 24px 60px -28px oklch(0.20 0.015 60 / .35), 0 8px 18px -14px oklch(0.20 0.015 60 / .25);

    --display: "Instrument Serif", "Iowan Old Style", "Georgia", serif;
    --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

* {
    box-sizing: border-box
}

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

body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    background-image: radial-gradient(800px 400px at 12% -6%, oklch(0.68 0.16 35 / .07), transparent 60%),
    radial-gradient(700px 500px at 110% 8%, oklch(0.78 0.14 60 / .08), transparent 65%);
}

.wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ----- nav ----- */
nav.top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--display);
    font-size: 26px;
    letter-spacing: -.01em;
}

.brand .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, oklch(0.85 0.12 50), var(--accent) 70%);
    box-shadow: 0 0 0 4px oklch(0.68 0.16 35 / .12);
}

nav.top ul {
    list-style: none;
    display: flex;
    gap: 28px;
    padding: 0;
    margin: 0;
    font-size: 14px;
    color: var(--ink-2);
}

nav.top ul a {
    color: inherit;
    text-decoration: none;
}

nav.top ul a:hover {
    color: var(--ink);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--ink);
}

.nav-cta:hover {
    background: oklch(0.28 0.015 60);
}

/* ----- burger / mobile drawer ----- */
.burger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.burger span {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--ink);
    position: relative;
}

.burger span::before, .burger span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 1.5px;
    background: var(--ink);
    transition: transform .25s ease, top .25s ease;
}

.burger span::before {
    top: -6px;
}

.burger span::after {
    top: 6px;
}

.drawer-open .burger span {
    background: transparent;
}

.drawer-open .burger span::before {
    top: 0;
    transform: rotate(45deg);
}

.drawer-open .burger span::after {
    top: 0;
    transform: rotate(-45deg);
}

.drawer {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: var(--paper);
    transform: translateY(-100%);
    transition: transform .35s cubic-bezier(.2, .7, .2, 1);
    display: flex;
    flex-direction: column;
    padding: 84px 28px 32px;
}

.drawer-open .drawer {
    transform: translateY(0);
}

.drawer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.drawer li {
    border-bottom: 1px solid var(--line);
}

.drawer a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 4px;
    text-decoration: none;
    color: var(--ink);
    font-family: var(--display);
    font-size: 32px;
    letter-spacing: -.01em;
}

.drawer a .arr {
    font-family: var(--sans);
    font-size: 18px;
    color: var(--accent);
}

.drawer .drawer-cta {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 28px;
}

.drawer .drawer-cta .btn {
    justify-content: center;
    color: white;
}

.drawer-foot {
    margin-top: 18px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-3);
    display: flex;
    gap: 12px;
}

/* ----- micro label ----- */
.micro {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.micro .sq {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent);
    margin-right: 8px;
    transform: translateY(-1px);
}

/* ----- hero ----- */
header.hero {
    padding: 56px 0 40px;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    align-items: center;
}

h1.display {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(46px, 6.6vw, 96px);
    line-height: .98;
    letter-spacing: -0.02em;
    margin: 18px 0 22px;
    text-wrap: balance;
}

h1.display em {
    font-style: italic;
    color: var(--accent);
    font-feature-settings: "ss01";
}

.lede {
    font-size: 19px;
    line-height: 1.5;
    color: var(--ink-2);
    max-width: 52ch;
    text-wrap: pretty;
    margin: 0 0 30px;
}

.cta-row {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: var(--paper);
    transition: transform .15s ease, background .15s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn.ghost {
    background: transparent;
    color: var(--ink);
    border-color: oklch(0.20 0.015 60 / .25);
}

.btn .arrow {
    display: inline-block;
    transition: transform .2s ease;
}

.btn:hover .arrow {
    transform: translateX(3px);
}

.hero-meta {
    margin-top: 28px;
    display: flex;
    gap: 28px;
    color: var(--ink-3);
    font-size: 13px;
}

.hero-meta b {
    color: var(--ink);
    font-weight: 600;
}

/* ----- card stack (hero right) ----- */
.stage {
    position: relative;
    height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stage::before {
    content: "";
    position: absolute;
    inset: 30px 10px;
    background: repeating-linear-gradient(135deg, transparent 0 14px, oklch(0.68 0.16 35 / .05) 14px 15px);
    border-radius: 28px;
    z-index: 0;
}

.deck {
    position: relative;
    width: 340px;
    height: 480px;
}

.card {
    position: absolute;
    inset: 0;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transform-origin: 50% 110%;
    transition: transform .55s cubic-bezier(.2, .7, .2, 1), opacity .35s ease;
    will-change: transform;
    user-select: none;
    cursor: grab;
}

.card.dragging {
    transition: none;
    cursor: grabbing;
}

.card .photo {
    height: 56%;
    background: linear-gradient(160deg, oklch(0.86 0.06 var(--h, 40)) 0%, oklch(0.74 0.10 var(--h, 40)) 100%);
    position: relative;
    overflow: hidden;
}

.card .photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, transparent 0 8px, oklch(1 0 0 / .06) 8px 9px);
}

.card .ph-label {
    position: absolute;
    left: 16px;
    bottom: 14px;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .14em;
    color: oklch(1 0 0 / .82);
    text-transform: uppercase;
    background: oklch(0 0 0 / .25);
    padding: 6px 9px;
    border-radius: 6px;
    backdrop-filter: blur(2px);
}

.card .meta {
    position: absolute;
    top: 14px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: oklch(1 0 0 / .9);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.card .meta .pill {
    background: oklch(0 0 0 / .35);
    padding: 6px 10px;
    border-radius: 999px;
}

.card .body {
    padding: 18px 20px 20px;
    height: 44%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.card .name {
    font-family: var(--display);
    font-size: 30px;
    line-height: 1;
    letter-spacing: -.01em;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.card .name .age {
    font-family: var(--sans);
    font-size: 14px;
    color: var(--ink-3);
    font-weight: 500;
}

.card .role {
    font-size: 13.5px;
    color: var(--ink-2);
}

.card .tags {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .06em;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--paper-3);
    color: var(--ink-2);
    border: 1px solid var(--line);
    text-transform: uppercase;
}

.tag.accent {
    background: oklch(0.68 0.16 35 / .12);
    border-color: oklch(0.68 0.16 35 / .25);
    color: var(--accent);
}

/* swipe overlay stamps */
.stamp {
    position: absolute;
    top: 24px;
    font-family: var(--display);
    font-size: 44px;
    line-height: 1;
    padding: 6px 14px;
    border: 3px solid currentColor;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: .02em;
    opacity: 0;
    transform: rotate(-8deg);
    pointer-events: none;
}

.stamp.like {
    right: 22px;
    color: var(--green);
    transform: rotate(-12deg);
}

.stamp.nope {
    left: 22px;
    color: var(--red);
    transform: rotate(8deg);
}

.controls {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    z-index: 5;
}

.ctrl {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--paper);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform .15s ease;
    font-family: var(--display);
    font-size: 24px;
    color: var(--ink);
}

.ctrl:hover {
    transform: translateY(-2px);
}

.ctrl.no {
    color: var(--red);
}

.ctrl.yes {
    color: var(--green);
}

.ctrl.star {
    width: 44px;
    height: 44px;
    color: var(--accent-2);
}

/* ----- ticker ----- */
.ticker {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    overflow: hidden;
    margin-top: 36px;
    background: var(--paper);
}

.ticker-track {
    display: flex;
    gap: 56px;
    padding: 14px 0;
    white-space: nowrap;
    animation: scroll 50s linear infinite;
    font-family: var(--mono);
    font-size: 13px;
    letter-spacing: .1em;
    color: var(--ink-2);
    text-transform: uppercase;
}

.ticker-track span {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.ticker-track .sep {
    color: var(--accent);
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* ----- section base ----- */
section {
    padding: 96px 0;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 40px;
    margin-bottom: 56px;
}

h2 {
    font-family: var(--display);
    font-weight: 400;
    font-size: clamp(36px, 4.6vw, 64px);
    line-height: 1.02;
    letter-spacing: -.015em;
    margin: 12px 0 0;
    max-width: 14ch;
    text-wrap: balance;
}

h2 em {
    color: var(--accent);
    font-style: italic;
}

.section-sub {
    font-size: 16px;
    color: var(--ink-2);
    max-width: 44ch;
    text-wrap: pretty;
}

/* ----- how it works ----- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
}

.step {
    background: var(--paper);
    padding: 32px 28px 36px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 360px;
    position: relative;
}

.step .num {
    font-family: var(--display);
    font-size: 56px;
    line-height: 1;
    color: var(--accent);
}

.step h3 {
    font-family: var(--display);
    font-weight: 400;
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -.01em;
    margin: 0;
}

.step p {
    color: var(--ink-2);
    font-size: 15px;
    margin: 0;
}

.step .visual {
    margin-top: auto;
    height: 130px;
    border-top: 1px dashed var(--line);
    padding-top: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* mini visuals */
.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.chip {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .06em;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--paper-2);
    border: 1px solid var(--line);
    color: var(--ink-2);
    text-transform: uppercase;
}

.chip.on {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

.chip.acc {
    background: oklch(0.68 0.16 35 / .12);
    border-color: oklch(0.68 0.16 35 / .3);
    color: var(--accent);
}

.mini-cards {
    position: relative;
    width: 140px;
    height: 110px;
}

.mini-cards .mc {
    position: absolute;
    width: 90px;
    height: 110px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--paper-2);
    box-shadow: var(--shadow);
}

.mini-cards .mc:nth-child(1) {
    left: 0;
    transform: rotate(-8deg);
}

.mini-cards .mc:nth-child(2) {
    left: 25px;
    transform: rotate(0deg);
    background: oklch(0.86 0.06 40);
}

.mini-cards .mc:nth-child(3) {
    left: 50px;
    transform: rotate(8deg);
    background: oklch(0.84 0.08 200);
}

.mini-cards .arrow-r {
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--display);
    font-size: 28px;
    color: var(--accent);
}

.chat-mini {
    width: 100%;
    max-width: 220px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--paper-2);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bub {
    font-size: 12px;
    padding: 7px 10px;
    border-radius: 12px;
    max-width: 80%;
}

.bub.them {
    background: var(--paper-3);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.bub.me {
    background: var(--ink);
    color: var(--paper);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

/* ----- card anatomy ----- */
.anatomy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.anatomy .picture {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 30px 0;
}

.anatomy .picture .deck {
    width: 320px;
    height: 460px;
}

.anatomy .picture .card {
    cursor: default;
}

.anatomy .picture .card:nth-child(1) {
    transform: rotate(-3deg) translateX(-22px) translateY(8px);
}

.anatomy .picture .card:nth-child(2) {
    transform: rotate(2deg) translateX(8px);
    z-index: 2;
}

.callouts {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 22px;
}

.callouts li {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 18px;
    align-items: start;
}

.callouts .n {
    font-family: var(--display);
    font-size: 38px;
    line-height: 1;
    color: var(--accent);
}

.callouts h4 {
    font-family: var(--display);
    font-weight: 400;
    font-size: 22px;
    margin: 0 0 4px;
    letter-spacing: -.01em;
}

.callouts p {
    margin: 0;
    color: var(--ink-2);
    font-size: 14.5px;
}

/* ----- categories ----- */
.cats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.cat {
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px 20px;
    background: var(--paper);
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 180px;
    position: relative;
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease;
}

.cat:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
}

.cat .ic {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--paper-2);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--display);
    font-size: 22px;
    color: var(--accent);
}

.cat h5 {
    font-family: var(--display);
    font-weight: 400;
    font-size: 22px;
    margin: 0;
    letter-spacing: -.01em;
}

.cat p {
    font-size: 13px;
    color: var(--ink-3);
    margin: 0;
}

.cat .count {
    position: absolute;
    right: 16px;
    top: 16px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink-3);
}

/* ----- match section ----- */
.match-section {
    background: var(--ink);
    color: var(--paper);
    border-radius: 32px;
    padding: 80px 64px;
    position: relative;
    overflow: hidden;
}

.match-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(600px 300px at 90% 10%, oklch(0.68 0.16 35 / .25), transparent 60%),
    radial-gradient(500px 400px at 5% 90%, oklch(0.78 0.14 60 / .15), transparent 60%);
    pointer-events: none;
}

.match-section h2 {
    color: var(--paper);
}

.match-section h2 em {
    color: var(--accent-2);
}

.match-section .section-sub {
    color: oklch(0.85 0.012 80);
}

.match-section .micro {
    color: oklch(0.78 0.012 80);
}

.match-section .micro .sq {
    background: var(--accent-2);
}

.match-grid {
    margin-top: 56px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.match-illu {
    position: relative;
    height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.match-illu .av {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 1px solid oklch(1 0 0 / .15);
    background: linear-gradient(135deg, oklch(0.86 0.06 var(--h)) 0%, oklch(0.6 0.12 var(--h)) 100%);
    position: absolute;
    box-shadow: 0 30px 60px -20px oklch(0 0 0 / .5);
}

.match-illu .av.left {
    left: 8%;
    --h: 40;
}

.match-illu .av.right {
    right: 8%;
    --h: 210;
}

.match-illu .spark {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, oklch(0.78 0.14 60) 0%, oklch(0.68 0.16 35) 70%);
    box-shadow: 0 0 80px oklch(0.68 0.16 35 / .8);
    position: relative;
    animation: pulse 2.4s ease-in-out infinite;
}

.match-illu .spark::after {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: 1px solid oklch(0.68 0.16 35 / .4);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.08);
    }
}

.match-illu .line {
    position: absolute;
    top: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, oklch(0.68 0.16 35 / .8), transparent);
}

.match-illu .line.l {
    left: 18%;
    right: 56%;
}

.match-illu .line.r {
    right: 18%;
    left: 56%;
}

.match-points {
    display: grid;
    gap: 22px;
}

.mp {
    border-top: 1px solid oklch(1 0 0 / .12);
    padding-top: 22px;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 22px;
    align-items: start;
}

.mp .k {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .12em;
    color: var(--accent-2);
    text-transform: uppercase;
}

.mp h4 {
    font-family: var(--display);
    font-weight: 400;
    font-size: 24px;
    margin: 0 0 4px;
    letter-spacing: -.01em;
}

.mp p {
    margin: 0;
    color: oklch(0.82 0.012 80);
    font-size: 14.5px;
}

/* ----- phone mockups section ----- */
.phones {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: end;
}

.phone-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.phone-cap {
    text-align: center;
    max-width: 26ch;
}

.phone-cap .k {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 6px;
}

.phone-cap h4 {
    font-family: var(--display);
    font-weight: 400;
    font-size: 24px;
    margin: 0 0 6px;
    letter-spacing: -.01em;
}

.phone-cap p {
    margin: 0;
    color: var(--ink-2);
    font-size: 14px;
}

.phone {
    width: 290px;
    height: 590px;
    border-radius: 44px;
    background: oklch(0.12 0.008 60);
    padding: 12px;
    box-shadow: 0 1px 0 oklch(1 0 0 / .1) inset,
    0 30px 70px -28px oklch(0.20 0.015 60 / .45),
    0 10px 24px -16px oklch(0.20 0.015 60 / .35);
    position: relative;
    flex: none;
}

.phone::before {
    content: "";
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    border-radius: 16px;
    background: oklch(0.08 0.005 60);
    z-index: 5;
}

.phone .screen {
    width: 100%;
    height: 100%;
    border-radius: 32px;
    background: var(--paper);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.status {
    height: 44px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 22px 6px;
    font-family: var(--mono);
    font-size: 11px;
    color: var(--ink);
    font-weight: 500;
}

.status .right {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
}

.app-top {
    padding: 10px 18px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
}

.app-top .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--display);
    font-size: 19px;
}

.app-top .logo .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, oklch(0.85 0.12 50), var(--accent) 70%);
}

.app-top .icons {
    display: flex;
    gap: 10px;
    color: var(--ink-3);
    font-size: 14px;
}

.app-tabs {
    display: flex;
    padding: 0 18px;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.app-tabs span {
    padding: 12px 0;
    color: var(--ink-3);
    position: relative;
}

.app-tabs span.on {
    color: var(--ink);
}

.app-tabs span.on::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 2px;
    background: var(--accent);
}

/* ---- Screen 1: filter ---- */
.scr-filter {
    padding: 18px;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.scr-filter h6 {
    font-family: var(--display);
    font-weight: 400;
    font-size: 22px;
    margin: 0;
    letter-spacing: -.01em;
}

.scr-filter .sub {
    font-size: 12px;
    color: var(--ink-3);
    margin: -8px 0 4px;
}

.scr-filter .group-label {
    font-family: var(--mono);
    font-size: 9.5px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--ink-3);
    margin-top: 6px;
}

.scr-filter .chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.scr-filter .chip-sm {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: .04em;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--paper-2);
    border: 1px solid var(--line);
    color: var(--ink-2);
    text-transform: uppercase;
}

.scr-filter .chip-sm.on {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

.scr-filter .chip-sm.acc {
    background: oklch(0.68 0.16 35 / .15);
    border-color: oklch(0.68 0.16 35 / .35);
    color: var(--accent);
}

.scr-filter .slider {
    height: 4px;
    background: var(--paper-3);
    border-radius: 999px;
    position: relative;
    margin: 8px 0 4px;
}

.scr-filter .slider::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 62%;
    background: var(--accent);
    border-radius: 999px;
}

.scr-filter .slider::after {
    content: "";
    position: absolute;
    left: 62%;
    top: 50%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--paper);
    border: 2px solid var(--accent);
    transform: translate(-50%, -50%);
}

.scr-filter .slider-val {
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 10px;
    color: var(--ink-3);
}

.scr-filter .toggle {
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 12px;
    border-radius: 12px;
    background: oklch(0.68 0.16 35 / .08);
    border: 1px solid oklch(0.68 0.16 35 / .25);
}

.scr-filter .toggle .lbl {
    font-size: 12px;
    font-weight: 500;
    color: var(--ink);
}

.scr-filter .toggle .lbl small {
    display: block;
    color: var(--ink-3);
    font-weight: 400;
    font-size: 10.5px;
    margin-top: 2px;
}

.scr-filter .tg {
    width: 36px;
    height: 20px;
    border-radius: 999px;
    background: var(--accent);
    position: relative;
    flex: none;
}

.scr-filter .tg::after {
    content: "";
    position: absolute;
    right: 2px;
    top: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: white;
}

.scr-filter .apply {
    margin-top: auto;
    padding: 12px;
    border-radius: 14px;
    background: var(--ink);
    color: var(--paper);
    text-align: center;
    font-size: 13px;
    font-weight: 500;
}

/* ---- Screen 2: swipe ---- */
.scr-swipe {
    flex: 1;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
}

.scr-swipe .deckmini {
    flex: 1;
    position: relative;
}

.scr-swipe .mc-card {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--paper-2);
    display: flex;
    flex-direction: column;
}

.scr-swipe .mc-card.back {
    transform: scale(.94) translateY(10px);
    z-index: 1;
    opacity: .7;
}

.scr-swipe .mc-card.front {
    z-index: 2;
}

.scr-swipe .mc-photo {
    flex: 1;
    background: linear-gradient(160deg, oklch(0.86 0.06 280) 0%, oklch(0.7 0.12 320) 100%);
    position: relative;
}

.scr-swipe .mc-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, transparent 0 8px, oklch(1 0 0 / .06) 8px 9px);
}

.scr-swipe .mc-top {
    position: absolute;
    top: 10px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .1em;
    color: oklch(1 0 0 / .9);
    text-transform: uppercase;
}

.scr-swipe .mc-top .b {
    background: oklch(0 0 0 / .35);
    padding: 4px 7px;
    border-radius: 6px;
}

.scr-swipe .mc-body {
    background: var(--paper);
    padding: 12px 14px 14px;
}

.scr-swipe .mc-name {
    font-family: var(--display);
    font-size: 20px;
    line-height: 1;
}

.scr-swipe .mc-name small {
    font-family: var(--sans);
    font-size: 11px;
    color: var(--ink-3);
    margin-left: 4px;
}

.scr-swipe .mc-role {
    font-size: 11px;
    color: var(--ink-2);
    margin-top: 4px;
    line-height: 1.35;
}

.scr-swipe .mc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 8px;
}

.scr-swipe .mc-tag {
    font-family: var(--mono);
    font-size: 8.5px;
    letter-spacing: .04em;
    padding: 3px 6px;
    border-radius: 999px;
    background: var(--paper-3);
    color: var(--ink-2);
    border: 1px solid var(--line);
    text-transform: uppercase;
}

.scr-swipe .mc-tag.acc {
    background: oklch(0.68 0.16 35 / .12);
    border-color: oklch(0.68 0.16 35 / .3);
    color: var(--accent);
}

.scr-swipe .mc-ctrl {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 4px 0 0;
}

.scr-swipe .mc-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--paper);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--display);
    font-size: 18px;
}

.scr-swipe .mc-btn.no {
    color: var(--red);
}

.scr-swipe .mc-btn.yes {
    color: var(--green);
}

.scr-swipe .mc-btn.star {
    width: 32px;
    height: 32px;
    color: var(--accent-2);
    font-size: 14px;
}

/* ---- Screen 3: chat ---- */
.scr-chat {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.chat-banner {
    margin: 14px 14px 0;
    padding: 12px 14px;
    border-radius: 14px;
    background: oklch(0.68 0.16 35 / .12);
    border: 1px solid oklch(0.68 0.16 35 / .3);
    display: flex;
    gap: 12px;
    align-items: center;
}

.chat-banner .av-pair {
    display: flex;
}

.chat-banner .av-pair .av {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, oklch(0.86 0.06 var(--h)) 0%, oklch(0.6 0.12 var(--h)) 100%);
    border: 2px solid var(--paper);
}

.chat-banner .av-pair .av:nth-child(2) {
    margin-left: -10px;
}

.chat-banner .txt {
    font-size: 11px;
    color: var(--ink);
    line-height: 1.3;
    flex: 1;
}

.chat-banner .txt b {
    font-family: var(--display);
    font-size: 14px;
    display: block;
}

.chat-list {
    flex: 1;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
}

.chat-list .day {
    align-self: center;
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .12em;
    color: var(--ink-3);
    text-transform: uppercase;
    margin: 4px 0;
}

.chat-list .bb {
    max-width: 78%;
    padding: 8px 11px;
    border-radius: 14px;
    font-size: 12px;
    line-height: 1.4;
}

.chat-list .bb.them {
    background: var(--paper-2);
    border: 1px solid var(--line);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chat-list .bb.me {
    background: var(--ink);
    color: var(--paper);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-list .template {
    margin-top: 4px;
    align-self: stretch;
    border: 1px dashed var(--line);
    border-radius: 12px;
    padding: 10px 12px;
    background: var(--paper);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.chat-list .template .h {
    font-family: var(--mono);
    font-size: 9px;
    letter-spacing: .12em;
    color: var(--accent);
    text-transform: uppercase;
}

.chat-list .template .row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--ink-2);
}

.chat-list .template .row b {
    color: var(--ink);
    font-weight: 500;
}

.chat-input {
    padding: 10px 12px;
    border-top: 1px solid var(--line);
    display: flex;
    gap: 8px;
    align-items: center;
}

.chat-input .field {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 11px;
    color: var(--ink-3);
    background: var(--paper-2);
}

.chat-input .send {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* ----- testimonials / quotes ----- */
.quotes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.quote {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 26px 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 220px;
}

.quote p {
    font-family: var(--display);
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: -.005em;
    margin: 0;
    flex: 1;
    text-wrap: pretty;
}

.quote .who {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quote .who .av {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, oklch(0.86 0.06 var(--h)) 0%, oklch(0.6 0.12 var(--h)) 100%);
}

.quote .who .meta {
    font-size: 13px;
}

.quote .who .meta b {
    display: block;
    font-weight: 600;
}

.quote .who .meta span {
    color: var(--ink-3);
    font-size: 12px;
}

/* ----- FAQ ----- */
.faq {
    border-top: 1px solid var(--line);
}

.faq details {
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
}

.faq summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-family: var(--display);
    font-size: 26px;
    letter-spacing: -.01em;
}

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

.faq summary .plus {
    font-family: var(--sans);
    font-size: 22px;
    color: var(--accent);
    transition: transform .25s ease;
    font-weight: 300;
}

.faq details[open] summary .plus {
    transform: rotate(45deg);
}

.faq .ans {
    margin-top: 12px;
    color: var(--ink-2);
    font-size: 15.5px;
    max-width: 70ch;
}

/* ----- CTA ----- */
.final {
    text-align: center;
    padding: 120px 0 80px;
}

.final h2 {
    margin: 0 auto 22px;
    max-width: 18ch;
    font-size: clamp(48px, 7vw, 104px);
}

.form {
    display: flex;
    gap: 8px;
    max-width: 460px;
    margin: 16px auto 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px;
}

.form input {
    flex: 1;
    border: 0;
    background: transparent;
    outline: none;
    padding: 10px 16px;
    font-family: var(--sans);
    font-size: 15px;
    color: var(--ink);
}

.form input::placeholder {
    color: var(--ink-3);
}

.form button {
    border: 0;
    cursor: pointer;
    padding: 11px 22px;
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper);
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
}

.final .note {
    margin-top: 16px;
    font-size: 13px;
    color: var(--ink-3);
    font-family: var(--mono);
    letter-spacing: .08em;
    text-transform: uppercase;
}

/* ----- footer ----- */
footer {
    border-top: 1px solid var(--line);
    padding: 36px 0 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    font-size: 13px;
    color: var(--ink-3);
    flex-wrap: wrap;
}

footer .links {
    display: flex;
    gap: 22px;
}

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

footer a:hover {
    color: var(--ink);
}

/* responsive */
@media (max-width: 980px) {
    header.hero {
        grid-template-columns: 1fr;
        gap: 24px;
        padding-top: 36px;
    }

    .stage {
        height: 540px;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .anatomy {
        grid-template-columns: 1fr;
    }

    .cats {
        grid-template-columns: repeat(2, 1fr);
    }

    .match-section {
        padding: 56px 28px;
    }

    .match-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .quotes {
        grid-template-columns: 1fr;
    }

    .section-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .phones {
        grid-template-columns: 1fr;
        gap: 56px;
    }
}

@media (max-width: 720px) {
    .wrap {
        padding: 0 20px;
    }

    nav.top ul {
        display: none;
    }

    nav.top .nav-cta {
        display: none;
    }

    .burger {
        display: inline-flex;
    }

    section {
        padding: 64px 0;
    }

    .section-head {
        margin-bottom: 36px;
        gap: 16px;
    }

    h1.display {
        font-size: clamp(40px, 11vw, 64px);
    }

    h2 {
        font-size: clamp(32px, 8vw, 44px);
    }

    .lede {
        font-size: 16.5px;
    }

    .hero-meta {
        flex-wrap: wrap;
        gap: 16px 22px;
        font-size: 12px;
    }

    .stage {
        height: 520px;
    }

    .deck {
        width: 300px;
        height: 440px;
    }

    .ticker-track {
        font-size: 12px;
        gap: 36px;
    }

    .step {
        min-height: auto;
        padding: 28px 22px 30px;
    }

    .step .num {
        font-size: 44px;
    }

    .cats {
        grid-template-columns: 1fr;
    }

    .anatomy .picture .deck {
        width: 280px;
        height: 420px;
    }

    .match-section {
        padding: 44px 22px;
        border-radius: 22px;
    }

    .match-section h2 {
        font-size: clamp(30px, 8vw, 44px);
    }

    .match-illu {
        height: 240px;
    }

    .match-illu .av {
        width: 90px;
        height: 90px;
    }

    .match-illu .spark {
        width: 60px;
        height: 60px;
    }

    .mp {
        grid-template-columns: 1fr;
        gap: 4px;
        padding-top: 18px;
    }

    .quote {
        min-height: auto;
        padding: 22px 20px;
    }

    .quote p {
        font-size: 19px;
    }

    .faq summary {
        font-size: 20px;
    }

    .final {
        padding: 80px 0 56px;
    }

    .final h2 {
        font-size: clamp(40px, 12vw, 64px);
    }

    .form {
        flex-direction: column;
        border-radius: 18px;
        padding: 8px;
        gap: 6px;
    }

    .form input {
        text-align: center;
        padding: 12px;
    }

    .form button {
        padding: 14px;
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .phone {
        width: 260px;
        height: 530px;
    }
}

@media (max-width: 420px) {
    .deck {
        width: 280px;
        height: 420px;
    }

    .controls .ctrl {
        width: 48px;
        height: 48px;
    }
}
