* {
    box-sizing: border-box;
}

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

.pf-body {
    min-height: 100vh;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--pf-text);
    background: var(--pf-bg);
}

.pf-wrap {
    min-height: calc(100vh - 56px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 48px 24px 80px;
}

.pf-shell {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
    border: 0;
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.pf-hero {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    height: 50vw;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pf-eyebrow {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    background: transparent;
    color: var(--pf-accent-2);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.pf-logo {
    display: block;
    max-width: 160px;
    max-height: 52px;
    margin: 20px auto 16px;
}

.pf-headline {
    margin: 20px 0 16px;
    font-size: clamp(32px, 6vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.02em;
    font-weight: 700;
    color: var(--pf-text);
}

.pf-subheadline {
    margin: 0 0 10px;
    font-size: clamp(17px, 2.4vw, 20px);
    color: var(--pf-accent-2);
    font-weight: 500;
    line-height: 1.4;
}

.pf-description {
    margin: 0 auto;
    max-width: 420px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--pf-muted);
}

.pf-waitlist {
    margin-top: 32px;
}

.pf-waitlist-form {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.pf-input {
    flex: 1;
    min-width: 0;
    min-height: 48px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: var(--pf-surface);
    color: var(--pf-text);
    padding: 0 16px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.15s ease;
}

.pf-input::placeholder {
    color: #71717a;
}

.pf-input:focus {
    border-color: rgba(34, 197, 94, 0.45);
}

.pf-btn-primary {
    flex-shrink: 0;
    min-height: 48px;
    border: 0;
    border-radius: 8px;
    background: var(--pf-accent);
    color: #0a0a0a;
    font-weight: 700;
    font-size: 15px;
    padding: 0 20px;
    cursor: pointer;
    box-shadow:
        0 0 0 1px rgba(34, 197, 94, 0.2),
        0 8px 24px rgba(34, 197, 94, 0.22);
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.pf-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow:
        0 0 0 1px rgba(34, 197, 94, 0.35),
        0 10px 28px rgba(34, 197, 94, 0.28);
}

.pf-waitlist-form.is-preview {
    opacity: 0.72;
}

.pf-waitlist-feedback {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.45;
    max-width: 100%;
}

.pf-waitlist-feedback--success {
    color: var(--pf-accent);
}

.pf-waitlist-feedback--error {
    color: #f87171;
}

.pf-waitlist-feedback--already {
    color: var(--pf-accent-2);
}

.pf-btn-primary.is-loading {
    cursor: wait;
    opacity: 0.85;
    pointer-events: none;
}

.pf-meta-links {
    margin-top: 28px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.pf-link-secondary,
.pf-link-social {
    color: var(--pf-accent-2);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
}

.pf-link-social::after {
    content: " →";
    font-weight: 400;
    opacity: 0.9;
}

.pf-link-secondary:hover,
.pf-link-social:hover {
    color: var(--pf-text);
}

.pf-contact {
    margin: 24px 0 0;
    font-size: 13px;
    color: var(--pf-muted);
}

.pf-contact a {
    color: #71717a;
    text-decoration: none;
}

.pf-contact a:hover {
    color: var(--pf-accent-2);
    text-decoration: underline;
}

/* Preview block: Watch + iPhone */
.pf-preview-block {
    margin-top: 56px;
    text-align: center;
}

.pf-preview-header {
    margin-bottom: 28px;
}

.pf-preview-title {
    margin: 0 0 12px;
    font-size: clamp(22px, 3.2vw, 28px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--pf-text);
}

.pf-preview-lede {
    margin: 0 auto;
    max-width: 560px;
    font-size: 15px;
    line-height: 1.55;
    color: #8b949e;
}

.pf-preview-stage {
    border-radius: 20px;
    padding: 36px 28px 40px;
    background: var(--pf-surface);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
    position: relative;
    overflow: hidden;
}

.pf-preview-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 55% at 50% 45%, rgba(46, 160, 67, 0.12), transparent 55%),
        radial-gradient(ellipse 50% 40% at 62% 38%, rgba(56, 139, 253, 0.08), transparent 50%);
    opacity: 1;
}

.pf-preview-devices {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
    gap: clamp(20px, 4vw, 40px);
}

.pf-preview-device {
    margin: 0;
    flex: 0 0 auto;
}

.pf-preview-frame {
    position: relative;
    overflow: hidden;
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.pf-preview-frame--watch {
    width: min(148px, 38vw);
    aspect-ratio: 148 / 200;
    border-radius: 28px;
}

.pf-preview-frame--iphone {
    width: min(220px, 52vw);
    aspect-ratio: 220 / 420;
    border-radius: 32px;
}

.pf-preview-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

.pf-preview-placeholder {
    width: 100%;
    height: 100%;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(13, 17, 23, 0.95), rgba(22, 27, 34, 0.9));
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: inherit;
}

.pf-preview-placeholder__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #484f58;
}

.pf-preview-caption {
    margin: 14px 0 0;
    font-size: 13px;
    line-height: 1.4;
    color: #8b949e;
}

/* Feature cards */
.pf-feature-grid {
    margin-top: 48px;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    text-align: left;
}

.pf-feature-card {
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: var(--pf-surface);
    border-radius: 16px;
    padding: 20px 18px 22px;
}

.pf-feature-icon-wrap {
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(1, 4, 9, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.pf-feature-icon {
    display: block;
    color: var(--pf-accent);
}

.pf-feature-card h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--pf-text);
}

.pf-feature-card p {
    margin: 0;
    color: #8b949e;
    font-size: 14px;
    line-height: 1.55;
}

.pf-footer {
    padding: 12px 20px 28px;
    text-align: center;
    color: #52525b;
    font-size: 12px;
}

@media (max-width: 900px) {
    .pf-preview-devices {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 640px) {
    .pf-waitlist-form {
        flex-direction: column;
    }

    .pf-btn-primary {
        width: 100%;
    }

    .pf-feature-grid {
        grid-template-columns: 1fr;
    }

    .pf-preview-stage {
        padding: 28px 18px 32px;
    }
}
