/* Clip Monster product site */
:root {
    --bg: #000;
    --bg-alt: #0b1120;
    --panel: #111827;
    --border: #1f2a40;
    --text: #e5e7eb;
    --muted: #9ca3af;
    --red: #ff3b30;
    --blue: #1a7cf2;
    --blue-light: #4ea3ff;
    --green: #30d158;
    --radius: 14px;
    --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Variable", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-light); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; color: #fff; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

kbd {
    display: inline-block;
    min-width: 1.6em;
    padding: 0 .4em;
    border: 1px solid #374151;
    border-bottom-width: 2px;
    border-radius: 5px;
    background: #1f2937;
    font-family: inherit;
    font-size: .85em;
    text-align: center;
    color: #fff;
}

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.red { color: var(--red); }
.blue { color: var(--blue); }
.accent {
    background: linear-gradient(90deg, var(--red), #ff7a45 45%, var(--blue-light));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.eyebrow {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .8rem;
    font-weight: 700;
    color: var(--blue-light);
    margin-bottom: .75em;
}
.center { text-align: center; }
.fine-print { font-size: .85rem; color: var(--muted); margin-top: .75em; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55em;
    padding: .7em 1.3em;
    border-radius: 999px;
    border: 2px solid transparent;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    transition: transform .12s ease, background-color .12s ease, border-color .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); }
.btn-primary:hover { background: #2f8cff; }
.btn-outline { border-color: #3b4a66; color: var(--text); }
.btn-outline:hover { border-color: var(--blue-light); }
.btn-large { font-size: 1.05rem; padding: .85em 1.5em; }
.btn-small { padding: .45em 1em; font-size: .9rem; }
.btn-block { display: flex; width: 100%; margin-top: .75em; }
.btn-appstore { background: #fff; color: #000; border-radius: 12px; }
.btn-appstore span { display: flex; flex-direction: column; text-align: left; font-size: 1.15rem; line-height: 1.1; }
.btn-appstore small { font-size: .7rem; font-weight: 500; }
.btn.disabled { opacity: .55; cursor: default; pointer-events: none; }
.icon { width: 1.2em; height: 1.2em; fill: currentColor; flex: none; }
.icon-lg { width: 1.4em; height: 1.4em; vertical-align: -.2em; margin-right: .2em; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(0, 0, 0, .8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid #111;
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: .6em; font-weight: 800; font-size: 1.2rem; color: #fff; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 7px; }
.nav-links { display: flex; align-items: center; gap: 1.6em; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--text); font-weight: 600; font-size: .95rem; }
.nav-links a.btn { color: #fff; }

/* Hero */
.hero {
    position: relative;
    padding: 72px 0 64px;
    background:
        radial-gradient(circle at 18% 22%, rgba(26, 124, 242, .30), transparent 32%),
        radial-gradient(ellipse at 85% 30%, rgba(26, 124, 242, .22), transparent 55%),
        radial-gradient(ellipse at 10% 95%, rgba(255, 59, 48, .14), transparent 50%);
    overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
/* The logo's black background disappears into the hero's glow (lighten blend): no square edges */
.hero-logo {
    width: min(100%, 360px);
    margin: -40px 0 -8px -24px;
    mix-blend-mode: lighten;
}
.hero h1 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); }
.lead { font-size: 1.2rem; color: #cbd5e1; max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6em; }

.window-frame {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #2b3550;
    background: #000;
    box-shadow: 0 30px 80px rgba(26, 124, 242, .25), 0 10px 30px rgba(0, 0, 0, .6);
}
.window-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 34px;
    padding-left: 14px;
    background: #1b1f27;
    font-size: .8rem;
    color: #cbd5e1;
}
.window-buttons { display: flex; height: 100%; }
.window-buttons i { display: grid; place-items: center; width: 44px; font-style: normal; color: #9ca3af; }
/* crops the top of the screenshot (the tablet's status bar) */
.window-content { width: 100%; aspect-ratio: 1600 / 1065; object-fit: cover; object-position: bottom; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-top: 24px; padding-bottom: 24px; }
.step { padding: 24px; border-top: 3px solid var(--border); }
.step:nth-child(1) { border-color: var(--blue); }
.step:nth-child(2) { border-color: var(--green); }
.step:nth-child(3) { border-color: var(--red); }
.step-num { font-weight: 800; font-size: 2rem; color: #374151; }
.step p { color: var(--muted); }

/* Sections */
.section { padding: 88px 0; }
.section-highlight { background: linear-gradient(180deg, var(--bg-alt), #050914); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { text-align: center; margin-bottom: 1em; }
.section-lead { text-align: center; max-width: 46em; margin: -1em auto 3em; color: #cbd5e1; font-size: 1.1rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
    padding: 28px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.feature-icon { font-size: 1.8rem; margin-bottom: .4em; }
.feature p { color: var(--muted); margin: 0; }

.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 1.4em 0 0; }
.check-list li { position: relative; padding-left: 1.8em; margin-bottom: .6em; }
.check-list li::before { content: "\2713"; position: absolute; left: 0; color: var(--green); font-weight: 800; }

.download-card {
    padding: 32px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .4);
}
.download-card > p { color: var(--muted); }
.download-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 900px; margin: 0 auto; }

/* Apple gallery */
.gallery { display: flex; justify-content: center; align-items: center; gap: 28px; }
.gallery-wide { margin-top: 28px; }
.device { margin: 0; text-align: center; }
.device img { border-radius: 22px; border: 6px solid #1f2937; box-shadow: 0 20px 50px rgba(0, 0, 0, .6); }
.device.phone { flex: 0 0 22%; }
.device.tablet { flex: 0 0 50%; }
.gallery-wide .device.tablet { flex-basis: 62%; }
.device figcaption { margin-top: .8em; font-size: .9rem; color: var(--muted); }

.platform-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 56px; }
.platform { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--panel); }
.platform p { color: var(--muted); margin: 0; }

/* Footer */
.site-footer { padding: 48px 0; border-top: 1px solid #111; color: var(--muted); font-size: .9rem; }
.footer-grid { display: flex; align-items: center; gap: 32px; }
.footer-brand img { border-radius: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.4em; }

/* Responsive */
@media (max-width: 960px) {
    .hero-grid, .split { grid-template-columns: 1fr; gap: 40px; }
    .hero-text { text-align: center; }
    .hero-logo { margin: -24px auto 0; }
    .hero .lead { margin-left: auto; margin-right: auto; }
    .cta-row { justify-content: center; }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-links li:not(:last-child) { display: none; }
}
@media (max-width: 680px) {
    body { font-size: 16px; }
    .hero { padding-top: 48px; }
    .steps, .feature-grid, .download-grid, .platform-grid { grid-template-columns: 1fr; }
    .section { padding: 64px 0; }
    .gallery { flex-wrap: wrap; }
    .device.phone { flex-basis: 42%; }
    .device.tablet, .gallery-wide .device.tablet { flex-basis: 100%; order: 3; }
    .footer-grid { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
}
