/* =============================================================
   Feeksy beta landing page
   Standalone HTML/CSS/JS — no framework dependencies.
   Imports brand tokens from colors_and_type.css
   ============================================================= */

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', var(--font-body);
    color: var(--ink-700);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    box-sizing: border-box;
}

a {
    color: inherit;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.container-narrow {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 32px;
}

/* NAV */
nav.top {
    position: absolute;
    inset: 0 0 auto 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 40px;
    color: #fff;
}

nav.top .brand img {
    height: 26px;
    display: block;
}

nav.top .links {
    display: flex;
    gap: 28px;
    align-items: center;
    font-family: 'Poppins';
    font-size: 14px;
    font-weight: 500;
}

nav.top .links a {
    text-decoration: none;
    opacity: 0.85;
    transition: opacity 150ms;
}

nav.top .links a:hover {
    opacity: 1;
}

nav.top .cta {
    font-family: 'Poppins';
    font-size: 13px;
    font-weight: 600;
    padding: 9px 18px;
    border-radius: 999px;
    background: var(--ink-700);
    color: #fff;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    opacity: 1;
    transition: background 150ms;
}

nav.top .cta:hover {
    background: #000;
}

/* HERO: GREEN */
.hero-green {
    position: relative;
    background: var(--green-400);
    color: #fff;
    padding: 130px 0 110px;
    overflow: hidden;
}

.hero-green .container {
    position: relative;
    z-index: 2;
}

.hero-green h1 {
    font-family: 'Poppins';
    font-weight: 700;
    font-size: clamp(44px, 6.8vw, 88px);
    line-height: 0.98;
    letter-spacing: -0.025em;
    margin: 0 0 24px;
    max-width: 14ch;
}

.hero-green h1 em {
    font-style: normal;
    display: inline-block;
    background: var(--ink-700);
    color: var(--green-400);
    padding: 2px 14px;
    border-radius: 8px;
    margin: 4px 0;
}

.hero-green .lede {
    font-size: clamp(16px, 1.4vw, 20px);
    line-height: 1.55;
    max-width: 52ch;
    margin: 0 0 40px;
    opacity: 0.95;
}

.beta-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.16);
    padding: 6px 14px 6px 8px;
    border-radius: 999px;
    font-family: 'Poppins';
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 28px;
    backdrop-filter: blur(4px);
    color: #fff;
}

.beta-pill .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ink-700);
    box-shadow: 0 0 0 4px rgba(47, 58, 63, 0.25);
}

.beta-pill.ink-pill {
    background: rgba(47, 58, 63, 0.18);
}

.beta-pill.ink-pill .dot {
    background: var(--ink-700);
    box-shadow: 0 0 0 4px rgba(47, 58, 63, 0.22);
}

.hero-green .watermark {
    position: absolute;
    right: -80px;
    bottom: -120px;
    width: 620px;
    opacity: 0.14;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

/* SIGNUP FORM */
.signup-full {
    display: grid;
    gap: 10px;
    max-width: 460px;
}

.signup-full .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.signup-full input {
    font-family: inherit;
    font-size: 14px;
    padding: 13px 16px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: #fff;
    color: var(--ink-700);
    outline: none;
    transition: box-shadow 150ms, transform 200ms;
}

.signup-full input::placeholder {
    color: var(--blueGray-500);
}

.signup-full input:focus {
    box-shadow: 0 0 0 3px rgba(47, 58, 63, 0.18);
}

.signup-full input.shake {
    animation: shake 350ms cubic-bezier(.36, .07, .19, .97);
    box-shadow: 0 0 0 3px rgba(254, 74, 73, 0.35);
}

@keyframes shake {

    10%,
    90% {
        transform: translateX(-2px);
    }

    20%,
    80% {
        transform: translateX(3px);
    }

    30%,
    50%,
    70% {
        transform: translateX(-5px);
    }

    40%,
    60% {
        transform: translateX(5px);
    }
}

.signup-full button {
    font-family: 'Poppins';
    font-weight: 600;
    font-size: 15px;
    padding: 14px 22px;
    border-radius: 10px;
    border: 0;
    cursor: pointer;
    margin-top: 4px;
    background: var(--ink-700);
    color: #fff;
    transition: background 150ms, transform 150ms;
}

.signup-full button:hover {
    background: #000;
    transform: translateY(-1px);
}

.signup-full button:active {
    transform: translateY(0);
}

.signup-full button:disabled {
    opacity: 0.7;
    cursor: wait;
}

.signup-note {
    font-size: 13px;
    margin-top: 14px;
    opacity: 0.75;
}

.signup-success {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    border-radius: 12px;
    padding: 22px 24px;
    max-width: 460px;
    color: #fff;
    animation: fadeIn 320ms cubic-bezier(0.2, 0, 0, 1);
}

.signup-success .title {
    font-family: 'Poppins';
    font-weight: 600;
    font-size: 17px;
    margin-bottom: 6px;
}

.signup-success .msg {
    font-size: 14px;
    opacity: 0.92;
    line-height: 1.5;
}

.signup-success .msg strong {
    font-weight: 600;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* DATE STRIP */
.date-strip {
    background: var(--ink-700);
    color: #fff;
    padding: 18px 0;
    text-align: center;
}

.date-strip .inner {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    font-family: 'Poppins';
    font-size: 14px;
    font-weight: 500;
    flex-wrap: wrap;
    justify-content: center;
}

.date-strip .badge {
    background: var(--green-400);
    color: var(--ink-700);
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.date-strip small {
    opacity: 0.65;
    font-size: 13px;
}

/* SECTION */
section.block {
    padding: 110px 0;
}

.section-head {
    max-width: 720px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-head .eyebrow {
    font-family: 'Poppins';
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 14px;
}

.section-head h2 {
    font-family: 'Poppins';
    font-weight: 700;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
    color: var(--ink-700);
}

.section-head p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--blueGray-600);
    margin: 0;
}

/* HOW IT WORKS */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--ink-200);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
}

.step {
    padding: 40px 32px;
    border-right: 1px solid var(--ink-200);
    position: relative;
}

.step:last-child {
    border-right: 0;
}

.step .num {
    font-family: 'Poppins';
    font-weight: 700;
    font-size: 56px;
    color: var(--green-400);
    line-height: 1;
    letter-spacing: -0.04em;
}

.step h3 {
    font-family: 'Poppins';
    font-weight: 600;
    font-size: 20px;
    margin: 24px 0 10px;
    color: var(--ink-700);
}

.step p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--blueGray-600);
    margin: 0;
}

.step .pix {
    margin-top: 24px;
    background: var(--ink-50);
    border-radius: 10px;
    padding: 14px 16px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--blueGray-600);
    min-height: 70px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pix .pix-line {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pix .pix-line.ink {
    color: var(--ink-700);
    font-family: 'Inter';
    font-size: 13px;
}

.pix .pix-line.bold {
    font-family: 'Poppins';
    font-weight: 600;
    font-size: 13px;
    color: var(--ink-700);
}

.pix .pix-line.green-fg {
    color: var(--green-600);
    font-family: 'Inter';
    font-size: 12px;
}

.pix .pix-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pix .pix-mono {
    font-family: var(--font-mono);
    color: var(--blueGray-600);
    font-size: 11px;
}

.pix .pix-tag {
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 600;
    font-family: 'Inter';
    letter-spacing: 0.01em;
}

.pix .pix-tag.teal {
    background: var(--teal-100);
    color: var(--teal-800);
}

.pix .pix-tag.green {
    background: var(--green-100);
    color: var(--green-700);
}

/* FEATURES */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feat {
    padding: 32px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid var(--ink-200);
    transition: border-color 150ms, transform 150ms, box-shadow 150ms;
}

.feat:hover {
    border-color: var(--green-300);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(47, 58, 63, 0.06);
}

.feat .ic {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--green-400);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feat .ic svg {
    width: 20px;
    height: 20px;
}

.feat h3 {
    font-family: 'Poppins';
    font-weight: 600;
    font-size: 19px;
    margin: 0 0 10px;
    color: var(--ink-700);
}

.feat p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--blueGray-600);
    margin: 0 0 16px;
}

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

.feat li {
    font-size: 13px;
    color: var(--ink-700);
    display: flex;
    align-items: center;
    gap: 8px;
}

.feat li svg {
    width: 14px;
    height: 14px;
    color: var(--green-600);
    flex-shrink: 0;
    fill: none;
}

/* SHOPIFY */
.shopify {
    background: var(--ink-700);
    color: #fff;
    padding: 90px 0;
}

.shopify .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.shopify .eyebrow {
    font-family: 'Poppins';
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--green-400);
    margin-bottom: 16px;
}

.shopify h2 {
    font-family: 'Poppins';
    font-weight: 700;
    font-size: clamp(30px, 3.4vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 18px;
}

.shopify p {
    font-size: 17px;
    line-height: 1.6;
    opacity: 0.8;
    margin: 0 0 24px;
}

.shopify .store-note {
    font-size: 13px;
    opacity: 0.65;
    font-family: var(--font-mono);
}

.shopify .chain {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px;
}

.shopify .logo-tile {
    width: 110px;
    height: 110px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.shopify .logo-tile.feeksy {
    background: var(--green-400);
}

.shopify .logo-tile img {
    width: 60%;
}

.shopify .chain .link {
    width: 56px;
    height: 2px;
    background: var(--green-400);
    position: relative;
}

.shopify .chain .link::before,
.shopify .chain .link::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-400);
}

.shopify .chain .link::before {
    left: -4px;
}

.shopify .chain .link::after {
    right: -4px;
}

.shopify .shopify-logo {
    font-family: 'Poppins';
    font-weight: 700;
    font-size: 22px;
    color: var(--ink-700);
}

/* SIGNUP BLOCK */
.signup-block {
    background: var(--green-400);
    color: #fff;
    padding: 100px 0;
}

.signup-block .inner {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.signup-block h2 {
    font-family: 'Poppins';
    font-weight: 700;
    font-size: clamp(30px, 3.4vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 14px;
}

.signup-block p {
    font-size: 17px;
    line-height: 1.55;
    opacity: 0.95;
    margin: 0 0 32px;
}

.signup-block .signup-full {
    margin: 0 auto;
}

.signup-block .signup-full input {
    background: #fff;
    color: var(--ink-700);
    border-color: transparent;
}

.signup-block .signup-full button {
    background: var(--ink-700);
    color: #fff;
}

.signup-block .signup-full button:hover {
    background: #000;
}

.signup-block .terms {
    font-size: 12px;
    opacity: 0.75;
    margin-top: 16px;
}

.signup-block .signup-success {
    background: rgba(47, 58, 63, 0.18);
    margin: 0 auto;
}

/* FAQ */
.faq {
    max-width: 760px;
    margin: 0 auto;
}

.q {
    border-bottom: 1px solid var(--ink-200);
    padding: 22px 0;
}

.q summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Poppins';
    font-weight: 600;
    font-size: 17px;
    color: var(--ink-700);
    cursor: pointer;
    gap: 16px;
}

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

.q summary .plus {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--ink-200);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 200ms, border-color 200ms, color 200ms;
    flex-shrink: 0;
    color: var(--ink-700);
}

.q summary .plus svg {
    width: 12px;
    height: 12px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    transition: transform 200ms;
}

.q[open] summary .plus {
    background: var(--green-400);
    border-color: var(--green-400);
    color: #fff;
}

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

.q .a {
    padding: 16px 0 4px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--blueGray-600);
    max-width: 64ch;
}

/* LEGAL PAGES */
.legal {
    padding: 140px 0 80px;
    background: #fff;
}

.legal h1 {
    font-family: 'Poppins';
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ink-900);
    margin: 0 0 12px;
}

.legal .meta {
    font-size: 13px;
    color: var(--blueGray-500);
    margin: 0 0 48px;
}

.legal h2 {
    font-family: 'Poppins';
    font-size: 22px;
    font-weight: 600;
    color: var(--ink-800);
    margin: 40px 0 12px;
}

.legal h3 {
    font-family: 'Poppins';
    font-size: 16px;
    font-weight: 600;
    color: var(--ink-800);
    margin: 28px 0 8px;
}

.legal p,
.legal li {
    font-size: 15px;
    line-height: 1.7;
    color: var(--blueGray-700);
}

.legal p {
    margin: 0 0 14px;
}

.legal ul,
.legal ol {
    margin: 0 0 16px;
    padding-left: 22px;
}

.legal li {
    margin: 0 0 6px;
}

.legal a {
    color: var(--brand-green-600, #0a9e70);
    text-decoration: underline;
}

.legal strong {
    color: var(--ink-800);
}

.legal .back {
    display: inline-block;
    margin-top: 48px;
    font-size: 13px;
    color: var(--blueGray-500);
    text-decoration: none;
}

.legal .back:hover {
    color: var(--ink-700);
}

.legal-nav {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #fff;
    border-bottom: 1px solid var(--ink-100);
    padding: 18px 0;
}

.legal-nav .container-narrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.legal-nav .brand img {
    height: 22px;
    display: block;
}

@media (max-width: 720px) {
    .legal {
        padding: 100px 0 60px;
    }

    .legal h1 {
        font-size: 32px;
    }

    .legal h2 {
        font-size: 18px;
    }
}

/* FOOTER */
footer {
    background: #fff;
    border-top: 1px solid var(--ink-200);
    padding: 60px 0 40px;
}

footer .inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
}

footer .brand img {
    height: 22px;
    margin-bottom: 14px;
}

footer .brand p {
    font-size: 13px;
    color: var(--blueGray-600);
    max-width: 30ch;
    line-height: 1.55;
}

footer .col h4 {
    font-family: 'Poppins';
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-700);
    margin: 0 0 14px;
}

footer .col a {
    display: block;
    font-size: 13px;
    color: var(--blueGray-600);
    text-decoration: none;
    padding: 4px 0;
    transition: color 150ms;
}

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

footer .legal-links {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: flex-end;
}

footer .legal-links a {
    display: inline-block;
    padding: 0;
}

@media (max-width: 720px) {
    footer .legal-links {
        justify-content: flex-start;
    }
}

footer .base {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--ink-100);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--blueGray-500);
    flex-wrap: wrap;
    gap: 12px;
}

/* RESPONSIVE */
@media (max-width: 960px) {
    .steps {
        grid-template-columns: 1fr;
    }

    .step {
        border-right: 0;
        border-bottom: 1px solid var(--ink-200);
    }

    .step:last-child {
        border-bottom: 0;
    }

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

    .shopify .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    footer .inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 720px) {
    nav.top {
        padding: 18px 24px;
    }

    nav.top .links {
        display: none;
    }

    nav.top .links .cta {
        display: inline-block;
    }

    .container,
    .container-narrow {
        padding: 0 20px;
    }

    .hero-green {
        padding: 100px 0 80px;
    }

    section.block {
        padding: 80px 0;
    }

    .section-head {
        margin-bottom: 40px;
    }

    .signup-full .row {
        grid-template-columns: 1fr;
    }

    .step {
        padding: 32px 24px;
    }

    .feat {
        padding: 24px;
    }

    .shopify {
        padding: 64px 0;
    }

    .shopify .chain {
        padding: 28px;
        gap: 20px;
    }

    .shopify .logo-tile {
        width: 88px;
        height: 88px;
        border-radius: 18px;
    }

    .shopify .chain .link {
        width: 36px;
    }

    .signup-block {
        padding: 72px 0;
    }

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

    footer .base {
        flex-direction: column;
        align-items: flex-start;
    }
}