.moneyminder-shell {
    --moneyminder: #e5ac28;
    --moneyminder-bright: #e9bb50;
    --moneyminder-copy: #85858a;
}

.moneyminder-label,
.moneyminder-specs small {
    margin: 0;
    color: var(--moneyminder-bright);
    font-family: "DM Mono", ui-monospace, monospace;
    font-size: clamp(0.67rem, 0.74vw, 0.76rem);
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.moneyminder-hero,
.moneyminder-intro,
.moneyminder-feature-story,
.moneyminder-details,
.moneyminder-launch,
.moneyminder-specs,
.moneyminder-cta {
    width: min(calc(100% - (var(--side) * 2)), 82rem);
    margin-inline: auto;
}

.moneyminder-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: auto minmax(0, 39rem) minmax(14rem, 1fr);
    grid-template-rows: auto auto;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
    width: 100%;
    min-height: clamp(21rem, 34vw, 27rem);
    margin: 0;
    padding: clamp(3rem, 5vw, 4.5rem) var(--side);
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: #0d0b08;
}

.moneyminder-hero::before {
    position: absolute;
    z-index: -2;
    top: -9%;
    right: -1%;
    width: 60%;
    height: 118%;
    background: url("https://ik.imagekit.io/onethirteen/One13-Main/Moneyminder/mm-collect.png") center / 100% auto no-repeat;
    content: "";
    filter: saturate(0.86);
    opacity: 0.74;
    transform: none;
}

.moneyminder-hero::after {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(90deg, #0d0b08 0%, #0d0b08 46%, rgb(13 11 8 / 88%) 56%, rgb(13 11 8 / 16%) 84%),
        linear-gradient(0deg, rgb(13 11 8 / 30%), transparent 50%);
    content: "";
}

.moneyminder-hero > img {
    grid-row: 1;
    align-self: start;
    width: clamp(4rem, 5.5vw, 4.75rem);
    height: auto;
    margin-top: 1.55rem;
    border-radius: 23%;
    box-shadow: 0 1rem 2.5rem rgb(115 78 12 / 32%);
}

.moneyminder-hero h1 {
    margin: 0.3rem 0 0;
    font-size: clamp(3.3rem, 5vw, 5rem);
    font-weight: 650;
    letter-spacing: -0.065em;
    line-height: 0.92;
}

.moneyminder-hero__copy > p:last-child {
    max-width: 43rem;
    margin: 0.8rem 0 0;
    color: var(--moneyminder-copy);
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    line-height: 1.55;
}

.moneyminder-actions {
    grid-column: 2;
    display: grid;
    justify-items: start;
    gap: 0.75rem;
}

.moneyminder-button {
    display: inline-flex;
    min-height: 2.75rem;
    align-items: center;
    padding: 0.65rem 1rem;
    border-radius: 0.45rem;
    color: #111;
    background: #eeede9;
    font-size: 0.84rem;
    font-weight: 650;
    text-decoration: none;
}

.moneyminder-button:hover {
    background: #fff;
}

.moneyminder-text-link {
    color: #77777c;
    font-size: 0.85rem;
    text-decoration: none;
}

.moneyminder-text-link:hover {
    color: var(--ink);
}

.moneyminder-intro {
    padding-block: clamp(3rem, 5vw, 4.5rem);
}

.moneyminder-intro h2 {
    max-width: 21ch;
    margin: 0;
    font-size: clamp(2.1rem, 3.2vw, 3.25rem);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.moneyminder-intro > p {
    max-width: 43rem;
    margin: 1rem 0 0;
    color: var(--moneyminder-copy);
    font-size: clamp(1rem, 1.25vw, 1.16rem);
    line-height: 1.6;
}

.moneyminder-feature-story {
    display: grid;
    grid-template-columns: minmax(16rem, 0.75fr) minmax(18rem, 1fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
    padding-block: clamp(3rem, 5vw, 4.75rem);
    border-top: 1px solid var(--line);
}

.moneyminder-feature-copy h2 {
    margin: 0.55rem 0 0;
    font-size: clamp(1.9rem, 2.7vw, 2.8rem);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1;
}

.moneyminder-feature-copy > p:not(.moneyminder-label) {
    max-width: 35rem;
    margin: 1rem 0 0;
    color: var(--moneyminder-copy);
    font-size: clamp(0.96rem, 1.08vw, 1.05rem);
    line-height: 1.62;
}

.moneyminder-feature-copy ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.1rem;
    margin: 1.25rem 0 0;
    padding: 0;
    color: #69696e;
    font-size: 0.85rem;
    list-style: none;
}

.moneyminder-feature-copy li::before {
    margin-right: 0.45rem;
    color: var(--moneyminder);
    content: "·";
}

.moneyminder-feature-visual {
    display: grid;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 0;
    place-items: center;
    overflow: hidden;
    border-radius: clamp(1.25rem, 2.2vw, 1.75rem);
    box-shadow: 0 1.25rem 2rem rgb(0 0 0 / 25%);
    isolation: isolate;
    -webkit-clip-path: inset(0 round clamp(1.25rem, 2.2vw, 1.75rem));
    clip-path: inset(0 round clamp(1.25rem, 2.2vw, 1.75rem));
}

.moneyminder-feature-visual img {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    border-radius: inherit;
    object-fit: cover;
    filter: none;
}

.moneyminder-details {
    display: grid;
    grid-template-columns: minmax(12rem, 0.35fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    padding-block: clamp(4rem, 6vw, 6rem);
    border-top: 1px solid var(--line);
}

.moneyminder-details-heading h2 {
    margin: 0.65rem 0 0;
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.moneyminder-details-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem clamp(2rem, 5vw, 5rem);
}

.moneyminder-details-list h3 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 600;
}

.moneyminder-details-list p {
    margin: 0.55rem 0 0;
    color: #737378;
    font-size: 0.94rem;
    line-height: 1.55;
}

.moneyminder-launch {
    display: grid;
    grid-template-columns: minmax(16rem, 0.8fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 7vw, 7rem);
    align-items: end;
    padding-block: clamp(3.5rem, 6vw, 5rem);
    border-top: 1px solid var(--line);
    scroll-margin-top: 2rem;
}

.moneyminder-launch h2 {
    max-width: 15ch;
    margin: 0.65rem 0 0;
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    font-weight: 600;
    letter-spacing: -0.05em;
    line-height: 1;
}

.moneyminder-launch > div:first-child > p:last-child {
    max-width: 34rem;
    margin: 1rem 0 0;
    color: var(--moneyminder-copy);
    font-size: 1.04rem;
    line-height: 1.6;
}

.moneyminder-signup form {
    display: flex;
    gap: 0.55rem;
}

.moneyminder-signup input[type="email"] {
    min-width: 0;
    flex: 1 1 auto;
    padding: 0.8rem 0.9rem;
    border: 1px solid #303034;
    border-radius: 0.45rem;
    outline: none;
    color: var(--ink);
    background: #111113;
    font: inherit;
    font-size: 0.9rem;
}

.moneyminder-signup input[type="email"]::placeholder {
    color: #626267;
}

.moneyminder-signup input[type="email"]:focus {
    border-color: var(--moneyminder);
}

.moneyminder-signup button {
    flex: 0 0 auto;
    padding: 0.75rem 1rem;
    border: 0;
    border-radius: 0.45rem;
    color: #1d1607;
    background: #e8b943;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 700;
    cursor: pointer;
}

.moneyminder-signup button:hover {
    background: #f1c75e;
}

.moneyminder-signup button:disabled {
    cursor: wait;
    opacity: 0.68;
}

.moneyminder-form-message,
.moneyminder-signup .form-message {
    min-height: 1.25rem;
    margin-top: 0.6rem;
    color: #77777c;
    font-size: 0.82rem;
}

.moneyminder-form-message.success,
.moneyminder-signup .form-message.success {
    color: #8dcf9b;
}

.moneyminder-form-message.error,
.moneyminder-signup .form-message.error {
    color: #e77983;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.moneyminder-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem clamp(2rem, 5vw, 5rem);
    padding-block: 1.5rem;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    color: #85858a;
    font-family: "DM Mono", ui-monospace, monospace;
    font-size: 0.74rem;
}

.moneyminder-specs span {
    display: flex;
    gap: 0.7rem;
}

.moneyminder-specs small {
    color: #4d4d52;
}

.moneyminder-cta {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    margin-block: clamp(3.5rem, 6vw, 5rem);
    padding: clamp(1.75rem, 3vw, 2.5rem);
    border-radius: 0.8rem;
    background: #9b7318;
}

.moneyminder-cta h2 {
    margin: 0;
    font-size: clamp(1.6rem, 2.4vw, 2.4rem);
    font-weight: 600;
    letter-spacing: -0.04em;
}

.moneyminder-cta p {
    margin: 0.4rem 0 0;
    color: rgb(255 255 255 / 68%);
    font-size: 0.92rem;
}

.moneyminder-cta > a {
    flex: 0 0 auto;
    padding: 0.75rem 1rem;
    border-radius: 0.45rem;
    color: #1f1707;
    background: #f4f3ef;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 800px) {
    .moneyminder-hero {
        grid-template-columns: auto minmax(0, 1fr);
        min-height: 22rem;
    }

    .moneyminder-actions {
        grid-column: 2;
        display: flex;
        align-items: center;
    }

    .moneyminder-hero::before {
        right: -20%;
        width: 82%;
        opacity: 0.4;
    }

    .moneyminder-hero::after {
        background: linear-gradient(90deg, #0d0b08 0%, #0d0b08 56%, rgb(13 11 8 / 42%) 100%);
    }

    .moneyminder-feature-story {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .moneyminder-feature-visual {
        height: 22rem;
    }

    .moneyminder-details,
    .moneyminder-launch {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 560px) {
    .moneyminder-hero {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding-block: 2.75rem;
    }

    .moneyminder-hero > img {
        grid-row: auto;
        width: 3.75rem;
        margin-top: 0;
    }

    .moneyminder-actions {
        grid-column: 1;
        align-items: flex-start;
        flex-direction: column;
    }

    .moneyminder-hero::before {
        opacity: 0.22;
    }

    .moneyminder-hero::after {
        background: linear-gradient(90deg, #0d0b08 0%, rgb(13 11 8 / 88%) 68%, rgb(13 11 8 / 62%) 100%);
    }

    .moneyminder-feature-visual {
        height: 18rem;
    }

    .moneyminder-details-list {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .moneyminder-signup form {
        align-items: stretch;
        flex-direction: column;
    }

    .moneyminder-specs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .moneyminder-specs span {
        display: grid;
        gap: 0.3rem;
    }

    .moneyminder-cta {
        align-items: flex-start;
        flex-direction: column;
    }
}
