:root {
    --ink: #170f19;
    --muted: #7f7470;
    --paper: #fff9f1;
    --surface: #f4ece3;
    --line: #e6d8cc;
    --coral: #ff5a49;
    --coral-dark: #df3e31;
    --peach: #ffd4c3;
    --dark: #2b222b;
    --green: #0f8d78;
    --purple: #6d55d8;
    --teal: #119c8c;
    --gold: #e6a52a;
    --shadow: 0 22px 70px rgba(43, 34, 43, 0.16);
    --soft-shadow: 0 12px 34px rgba(43, 34, 43, 0.1);
    --serif: "Playfair Display", Georgia, serif;
    --sans: "Inter", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--sans);
    color: var(--ink);
    background:
        radial-gradient(circle at 8% 8%, rgba(255, 212, 195, 0.42), transparent 32rem),
        radial-gradient(circle at 90% 18%, rgba(255, 90, 73, 0.12), transparent 24rem),
        var(--paper);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.site-nav {
    position: fixed;
    top: 18px;
    left: 50%;
    z-index: 20;
    width: min(1120px, calc(100% - 32px));
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 14px 12px 18px;
    border: 1px solid rgba(230, 216, 204, 0.78);
    border-radius: 999px;
    background: rgba(255, 249, 241, 0.82);
    box-shadow: 0 16px 44px rgba(43, 34, 43, 0.08);
    backdrop-filter: blur(22px);
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.site-nav.scrolled {
    background: rgba(255, 249, 241, 0.94);
    border-color: rgba(43, 34, 43, 0.12);
    box-shadow: 0 18px 48px rgba(43, 34, 43, 0.12);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    color: #fff;
    background: var(--coral);
    box-shadow: 0 12px 24px rgba(255, 90, 73, 0.26);
    font-family: var(--serif);
    font-size: 25px;
    line-height: 1;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links a {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    transition: background 160ms ease, color 160ms ease;
}

.nav-links a:hover {
    color: var(--ink);
    background: var(--surface);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--dark);
}

.nav-toggle span {
    display: block;
    width: 17px;
    height: 2px;
    margin: 5px auto;
    border-radius: 999px;
    background: #fff;
    transition: transform 180ms ease;
}

.hero {
    width: min(1180px, calc(100% - 32px));
    min-height: 100vh;
    margin: 0 auto;
    padding: 136px 0 76px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 510px);
    align-items: center;
    gap: clamp(34px, 7vw, 90px);
}

.hero-copy {
    max-width: 620px;
}

.eyebrow,
.small-label,
.screen-heading span {
    display: inline-block;
    color: #968a85;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.17em;
    text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    letter-spacing: 0;
}

h1 {
    max-width: 760px;
    margin-bottom: 22px;
    font-family: var(--serif);
    font-size: clamp(54px, 8vw, 102px);
    line-height: 0.88;
}

h2 {
    margin-bottom: 18px;
    font-family: var(--serif);
    font-size: clamp(36px, 5.2vw, 66px);
    line-height: 0.98;
}

h3 {
    font-size: 22px;
}

.hero-lede,
.section-copy p,
.showcase-copy p,
.cta p {
    max-width: 560px;
    color: var(--muted);
    font-size: 19px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 34px 0 38px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.button-primary {
    color: #fff;
    background: var(--coral);
    box-shadow: 0 16px 34px rgba(255, 90, 73, 0.28);
}

.button-primary:hover {
    background: var(--coral-dark);
}

.button-secondary {
    border-color: var(--line);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.58);
}

.metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 540px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.44);
    overflow: hidden;
}

.metrics div {
    padding: 20px 18px;
}

.metrics div + div {
    border-left: 1px solid var(--line);
}

.metrics strong {
    display: block;
    font-family: var(--serif);
    font-size: 32px;
    line-height: 1;
}

.metrics span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.hero-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 680px;
}

.phone {
    position: relative;
    width: 315px;
    height: 640px;
    padding: 15px;
    border: 7px solid #101010;
    border-radius: 54px;
    background:
        linear-gradient(145deg, #3a3a3a, #050505 22%, #181818 80%, #6f6b66),
        #111;
    box-shadow:
        0 34px 80px rgba(43, 34, 43, 0.25),
        0 10px 22px rgba(43, 34, 43, 0.12),
        inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.phone::before {
    content: "";
    position: absolute;
    inset: -7px;
    z-index: -1;
    border-radius: 62px;
    background:
        linear-gradient(115deg, #ededeb 0%, #4c4a47 12%, #080808 27%, #f2eee8 36%, #101010 68%, #908b86 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.26);
}

.phone::after {
    content: "";
    position: absolute;
    inset: 10px 10px auto auto;
    width: 34%;
    height: 68%;
    border-radius: 44px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0));
    opacity: 0.24;
    pointer-events: none;
    z-index: 3;
}

.phone-top {
    position: absolute;
    top: 13px;
    left: 50%;
    z-index: 4;
    width: 118px;
    height: 34px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: #030303;
    box-shadow: inset 18px 0 24px rgba(255, 255, 255, 0.05), 0 2px 7px rgba(0, 0, 0, 0.42);
}

.phone-top::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 9px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 64% 36%, #4964b8 0 2px, transparent 3px),
        radial-gradient(circle at 42% 42%, #0c1844, #03030a 72%);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.04);
}

.side-button {
    position: absolute;
    z-index: 1;
    width: 4px;
    border-radius: 999px;
    background: linear-gradient(#d9d5cf, #333);
    box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.5);
}

.side-left {
    left: -10px;
    top: 132px;
    height: 86px;
}

.side-right {
    right: -10px;
    top: 214px;
    height: 132px;
}

.screen {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 41px;
    background: var(--paper);
    padding: 74px 22px 22px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.screen::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 8px;
    width: 106px;
    height: 4px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(23, 15, 25, 0.22);
    z-index: 5;
}

.status-bar {
    position: absolute;
    top: 17px;
    left: 25px;
    right: 25px;
    z-index: 5;
    display: flex;
    justify-content: space-between;
    color: var(--ink);
    font-size: 11px;
    font-weight: 900;
}

.status-bar span:last-child {
    color: #47413f;
    font-size: 10px;
}

.phone-main {
    transform: rotate(2.5deg);
}

.screen-heading h2,
.screen h3 {
    margin: 8px 0 24px;
    font-family: var(--serif);
    font-size: 31px;
    line-height: 1;
}

.camera-card {
    position: relative;
    height: 310px;
    padding: 28px;
    border-radius: 24px;
    color: #fff;
    background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        radial-gradient(circle at 50% 34%, rgba(255, 212, 195, 0.34), transparent 44px),
        linear-gradient(160deg, #47363a, #251f25 70%);
    background-size: 16px 16px, 16px 16px, auto, auto;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 -46px 80px rgba(0, 0, 0, 0.18);
}

.camera-noise {
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 18px;
    background:
        radial-gradient(circle at 55% 35%, rgba(255, 255, 255, 0.16), transparent 38px),
        radial-gradient(circle at 42% 34%, rgba(255, 90, 73, 0.1), transparent 54px);
    filter: blur(0.1px);
    opacity: 0.7;
}

.scan-corners::before,
.scan-corners::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 80px;
    border-color: #ffbc56;
}

.scan-corners::before {
    top: 32px;
    left: 32px;
    border-top: 2px solid #ffbc56;
    border-left: 2px solid #ffbc56;
}

.scan-corners::after {
    right: 32px;
    bottom: 90px;
    border-right: 2px solid #ffbc56;
    border-bottom: 2px solid #ffbc56;
}

.receipt-shape {
    width: 34px;
    height: 26px;
    margin: 116px auto 22px;
    transform: skewX(-10deg);
    border: 3px solid #fff;
    border-top-color: #ffbc56;
}

.camera-card p {
    position: relative;
    z-index: 2;
    margin: 0;
    text-align: center;
    font-size: 13px;
    font-weight: 800;
}

.scan-button {
    position: absolute;
    left: 50%;
    bottom: 18px;
    width: 56px;
    height: 56px;
    transform: translateX(-50%);
    border: 6px solid #fff;
    border-radius: 50%;
    background: var(--coral);
    box-shadow: inset 0 0 0 4px var(--dark);
}

.tip-card,
.guest-card,
.dark-card,
.total-card {
    border-radius: 18px;
}

.tip-card {
    margin-top: 18px;
    padding: 18px;
    background: var(--surface);
}

.tip-card strong,
.tip-card span {
    display: block;
}

.tip-card span {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
}

.app-tabbar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 4;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px;
    padding: 12px 12px 18px;
    border-top: 1px solid var(--line);
    background: rgba(255, 249, 241, 0.92);
}

.app-tabbar span {
    display: grid;
    justify-items: center;
    color: #9b918c;
    font-size: 9px;
    font-weight: 800;
}

.app-tabbar span::before {
    content: "";
    width: 14px;
    height: 14px;
    margin-bottom: 3px;
    border-radius: 50%;
    background: #b5aaa4;
    opacity: 0.9;
}

.app-tabbar .active {
    color: var(--coral);
}

.app-tabbar .active::before {
    border-radius: 6px;
    background: var(--coral);
}

.floating-panel {
    position: absolute;
    border: 1px solid rgba(230, 216, 204, 0.86);
    border-radius: 22px;
    background: rgba(255, 249, 241, 0.9);
    box-shadow: var(--soft-shadow);
    backdrop-filter: blur(18px);
}

.bill-panel {
    right: 0;
    top: 138px;
    width: 205px;
    padding: 18px;
}

.bill-panel span,
.bill-panel small {
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.bill-panel strong {
    display: block;
    margin: 5px 0 12px;
    font-family: var(--serif);
    font-size: 35px;
}

.progress-bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.7);
    overflow: hidden;
}

.progress-bar i {
    display: block;
    width: 72%;
    height: 100%;
    border-radius: inherit;
    background: var(--coral);
}

.people-panel {
    left: 12px;
    bottom: 122px;
    display: flex;
    align-items: center;
    width: 248px;
    padding: 16px;
}

.people-panel .avatar + .avatar {
    margin-left: -8px;
}

.people-panel span {
    margin-left: 12px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.avatar {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: #fff;
    border: 2px solid var(--paper);
    font-size: 11px;
    font-weight: 900;
}

.purple { background: var(--purple); }
.teal { background: var(--teal); }
.coral { background: var(--coral); }
.gold { background: var(--gold); }

.logos {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto 28px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}

.logos span {
    padding: 18px 12px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    text-align: center;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section,
.showcase,
.cta {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 100px 0;
}

.split {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: clamp(32px, 6vw, 78px);
    align-items: start;
}

.steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.steps article,
.feature-grid article {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.46);
    box-shadow: 0 10px 28px rgba(43, 34, 43, 0.06);
}

.steps span,
.feature-icon {
    display: inline-grid;
    place-items: center;
    min-width: 42px;
    height: 34px;
    padding: 0 10px;
    border-radius: 999px;
    color: var(--coral);
    background: rgba(255, 90, 73, 0.11);
    font-size: 12px;
    font-weight: 900;
}

.steps h3,
.feature-grid h3 {
    margin: 18px 0 8px;
    font-size: 22px;
}

.steps p,
.feature-grid p {
    margin: 0;
    color: var(--muted);
}

.showcase {
    padding-top: 76px;
    text-align: center;
}

.showcase-copy {
    display: grid;
    justify-items: center;
    margin-bottom: 44px;
}

.phone-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    align-items: center;
}

.phone.compact {
    width: 100%;
    max-width: 326px;
    height: 662px;
    margin: 0 auto;
    text-align: left;
    transform: none;
}

.phone-raised {
    margin-top: -42px !important;
}

.bill-screen,
.friends-screen,
.memory-screen {
    padding: 78px 18px 20px;
}

.total-card {
    padding: 18px;
    color: var(--ink);
    background: var(--peach);
}

.total-card span {
    color: #9b3d32;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.total-card strong {
    display: block;
    margin: 7px 0 14px;
    font-family: var(--serif);
    font-size: 36px;
}

.list-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    margin: 22px 0 10px;
}

.list-heading h4 {
    margin: 0;
    font-family: var(--serif);
    font-size: 22px;
}

.list-heading span {
    color: var(--green);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
}

.item-row,
.friend-row,
.claimed-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.64);
    box-shadow: 0 6px 16px rgba(43, 34, 43, 0.07);
}

.item-row + .item-row,
.friend-row + .friend-row,
.claimed-row + .claimed-row {
    margin-top: 10px;
}

.item-row b {
    margin-right: auto;
    font-size: 13px;
}

.item-row span {
    font-size: 12px;
    font-weight: 900;
}

.item-row button {
    width: 28px;
    height: 28px;
    border: 1px solid #ffc9bd;
    border-radius: 50%;
    color: var(--coral);
    background: #fff;
}

.claimed-heading {
    margin-top: 26px;
}

.claimed-row {
    border-color: transparent;
    background: var(--surface);
    box-shadow: none;
}

.claimed-row span {
    font-weight: 900;
}

.claimed-row small {
    margin-left: auto;
    color: var(--muted);
}

.personal-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding: 13px 15px;
    border-radius: 16px;
    color: #fff;
    background: var(--dark);
}

.personal-total span {
    color: #d9d1dc;
    font-size: 12px;
    font-weight: 800;
}

.personal-total strong {
    font-size: 15px;
}

.screen-heading.inline {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.screen-heading.inline button {
    border: 0;
    border-radius: 14px;
    padding: 11px 14px;
    color: #fff;
    background: var(--dark);
    font-weight: 900;
}

.search {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 15px;
    color: #b5aaa4;
    background: var(--surface);
}

.friend-row {
    padding: 15px;
}

.friend-row div:last-child {
    display: grid;
}

.friend-row span {
    color: var(--muted);
    font-size: 12px;
}

.guest-card {
    margin-top: 24px;
    padding: 22px;
    background: var(--peach);
}

.guest-card h4,
.dark-card h4,
.memory-card h4 {
    margin-bottom: 8px;
    font-family: var(--serif);
    font-size: 22px;
    line-height: 1.05;
}

.guest-card p,
.dark-card p,
.memory-card p {
    color: var(--muted);
    font-size: 13px;
}

.guest-card a,
.dark-card a {
    display: inline-flex;
    margin-top: 8px;
    padding: 11px 15px;
    border-radius: 12px;
    color: #fff;
    background: var(--coral);
    font-size: 12px;
    font-weight: 900;
}

.memory-card {
    overflow: hidden;
    margin-top: 16px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
}

.memory-gradient {
    display: grid;
    place-items: center;
    height: 196px;
    color: rgba(255, 255, 255, 0.82);
    background: linear-gradient(135deg, #f48d6e, #f2c36e 46%, #9a78d2);
    font-family: var(--serif);
    font-size: 35px;
}

.memory-card span,
.memory-card h4,
.memory-card p {
    display: block;
    margin-left: 18px;
    margin-right: 18px;
}

.memory-card span {
    margin-top: 18px;
    font-size: 12px;
    font-weight: 900;
}

.dark-card {
    margin-top: 18px;
    padding: 22px;
    color: #fff;
    background: var(--dark);
}

.dark-card p {
    color: #d8d1dc;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.detail-section {
    display: grid;
    grid-template-columns: 0.86fr 1.14fr;
    gap: clamp(30px, 5vw, 70px);
    align-items: start;
    padding-top: 34px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.detail-card {
    min-height: 242px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.52);
    box-shadow: 0 14px 34px rgba(43, 34, 43, 0.08);
}

.detail-card h3 {
    margin: 18px 0 10px;
}

.detail-card p {
    margin-bottom: 0;
    color: var(--muted);
}

.receipt-card {
    grid-row: span 2;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(244, 236, 227, 0.66)),
        var(--paper);
}

.receipt-lines {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.receipt-lines div,
.payment-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(43, 34, 43, 0.16);
}

.receipt-lines span,
.payment-row span {
    color: var(--muted);
}

.receipt-lines b,
.payment-row b {
    white-space: nowrap;
}

.receipt-total {
    margin-top: 22px;
    padding: 18px;
    border-radius: 18px;
    color: #fff;
    background: var(--dark);
}

.receipt-total span {
    display: block;
    color: #d9d1dc;
    font-size: 12px;
    font-weight: 800;
}

.receipt-total strong {
    display: block;
    margin-top: 4px;
    font-family: var(--serif);
    font-size: 32px;
}

.timer-pill {
    display: inline-flex;
    margin-top: 24px;
    padding: 10px 14px;
    border-radius: 999px;
    color: #9b3d32;
    background: var(--peach);
    font-size: 13px;
    font-weight: 900;
}

.payment-card {
    background: var(--dark);
    color: #fff;
}

.payment-card .feature-icon {
    color: #fff;
    background: rgba(255, 255, 255, 0.13);
}

.payment-row {
    border-bottom-color: rgba(255, 255, 255, 0.14);
}

.payment-row span {
    color: #d9d1dc;
}

.payment-row em {
    min-width: 64px;
    padding: 6px 9px;
    border-radius: 999px;
    color: #ffd4c3;
    background: rgba(255, 90, 73, 0.16);
    text-align: center;
    font-size: 11px;
    font-style: normal;
    font-weight: 900;
}

.payment-row em.paid {
    color: #bceee4;
    background: rgba(15, 141, 120, 0.28);
}

.cta {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 36px;
    align-items: center;
    margin-bottom: 60px;
    padding: 54px;
    border-radius: 34px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(255, 90, 73, 0.92), rgba(43, 34, 43, 0.96)),
        var(--dark);
    box-shadow: var(--shadow);
}

.cta .eyebrow,
.cta p {
    color: rgba(255, 255, 255, 0.78);
}

.cta h2 {
    margin-bottom: 12px;
}

.waitlist {
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.1);
}

.waitlist label {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 800;
}

.waitlist div {
    display: flex;
    gap: 10px;
}

.waitlist input {
    min-width: 0;
    flex: 1;
    height: 52px;
    border: 0;
    border-radius: 999px;
    padding: 0 18px;
    color: var(--ink);
    background: #fff;
    outline: none;
}

.waitlist .button {
    border: 0;
    box-shadow: none;
}

.waitlist small {
    display: block;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.66);
}

.footer {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 34px 0 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.footer p {
    margin: 0;
}

.footer div {
    display: flex;
    gap: 18px;
    font-size: 14px;
    font-weight: 800;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 980px) {
    .hero,
    .split,
    .detail-section,
    .cta {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 124px;
    }

    .hero-visual {
        min-height: 650px;
    }

    .phone-row,
    .feature-grid,
    .detail-grid {
        grid-template-columns: 1fr 1fr;
    }

    .phone-raised {
        margin-top: 0 !important;
    }
}

@media (max-width: 760px) {
    .site-nav {
        top: 12px;
        width: calc(100% - 24px);
    }

    .nav-toggle {
        display: block;
    }

    .nav-toggle[aria-expanded="true"] span:first-child {
        transform: translateY(3px) rotate(45deg);
    }

    .nav-toggle[aria-expanded="true"] span:last-child {
        transform: translateY(-4px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        top: 66px;
        left: 0;
        right: 0;
        display: none;
        padding: 12px;
        border: 1px solid var(--line);
        border-radius: 24px;
        background: rgba(255, 249, 241, 0.97);
        box-shadow: var(--soft-shadow);
    }

    body.nav-open .nav-links {
        display: grid;
    }

    .hero {
        width: min(100% - 24px, 520px);
        padding-bottom: 44px;
    }

    h1 {
        font-size: clamp(48px, 15vw, 72px);
    }

    .hero-lede,
    .section-copy p,
    .showcase-copy p,
    .cta p {
        font-size: 17px;
    }

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

    .metrics div + div {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .hero-visual {
        min-height: 590px;
    }

    .phone-main {
        width: 286px;
        height: 582px;
    }

    .screen {
        padding-left: 18px;
        padding-right: 18px;
    }

    .camera-card {
        height: 280px;
    }

    .floating-panel {
        display: none;
    }

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

    .logos span:last-child {
        grid-column: 1 / -1;
    }

    .section,
    .showcase,
    .cta {
        width: min(100% - 24px, 520px);
        padding: 66px 0;
    }

    .steps,
    .phone-row,
    .feature-grid,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .receipt-card {
        grid-row: auto;
    }

    .cta {
        padding: 30px 22px;
    }

    .waitlist div {
        display: grid;
    }

    .footer {
        width: min(100% - 24px, 520px);
        align-items: flex-start;
        flex-direction: column;
    }

    .footer div {
        flex-wrap: wrap;
    }
}

@media (max-width: 390px) {
    .phone-main,
    .phone.compact {
        width: 270px;
        height: 558px;
        border-width: 7px;
    }

    .screen-heading h2,
    .screen h3 {
        font-size: 27px;
    }

    .memory-gradient {
        height: 152px;
    }
}
