/* Socialschedulr — Apple-inspired marketing site (HIG colours, SF type, restrained motion). */
:root {
    --blue: #0071e3;
    --blue-hover: #0077ed;
    --ink: #1d1d1f;
    --grey: #86868b;
    --grey-2: #6e6e73;
    --line: #d2d2d7;
    --bg: #ffffff;
    --soft: #f5f5f7;
    --green: #34c759;
    --orange: #ff9500;
    --red: #ff3b30;
    --font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Inter', 'Helvetica Neue', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    font-size: 17px;
    line-height: 1.47;
    letter-spacing: -0.022em;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1024px; margin: 0 auto; padding: 0 22px; }
.wide { max-width: 1200px; }

/* Liquid-glass navigation bar */
header.site {
    position: sticky; top: 0; z-index: 10;
    background: rgba(255, 255, 255, 0.72);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.12);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 52px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 17px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; }
nav.main { display: flex; align-items: center; gap: 26px; font-size: 13px; }
nav.main a { color: rgba(0, 0, 0, 0.8); }
nav.main a:hover { color: var(--ink); text-decoration: none; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    min-height: 44px; padding: 11px 22px; border-radius: 980px;
    font-size: 17px; font-weight: 400; letter-spacing: -0.022em;
    transition: background-color .2s, transform .2s cubic-bezier(.32,.72,0,1);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); }
.btn-small { min-height: 28px; padding: 4px 12px; font-size: 12px; }
nav.main .btn-primary { color: #fff; }
.link-arrow::after { content: ' ›'; }

/* Hero */
.hero { padding: 72px 0 0; text-align: center; overflow: hidden; }
.hero-icon { width: 96px; height: 96px; filter: drop-shadow(0 18px 30px rgba(0, 96, 223, 0.35)); }
.eyebrow { display: block; margin: 18px 0 6px; font-size: 21px; font-weight: 600; color: var(--grey-2); letter-spacing: .011em; }
h1 {
    margin: 0 auto;
    max-width: 18ch;
    font-size: clamp(48px, 8vw, 80px);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.015em;
}
h1 .muted, h2 .muted { color: var(--grey); }
.lead { max-width: 640px; margin: 20px auto 0; font-size: clamp(19px, 2.4vw, 24px); line-height: 1.33; color: var(--grey-2); letter-spacing: .009em; }
.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 24px; align-items: center; margin-top: 32px; }
.fine { color: var(--grey); font-size: 14px; margin-top: 14px; letter-spacing: -0.016em; }

/* Mac window with an Apple-Calendar-style mock of the app */
.stage { position: relative; margin: 64px auto 0; max-width: 980px; padding: 0 22px; }
.stage::before {
    content: ''; position: absolute; inset: 12% -10% -10%; z-index: -1;
    background: radial-gradient(50% 50% at 30% 40%, rgba(10, 132, 255, .28), transparent 70%),
                radial-gradient(45% 45% at 75% 55%, rgba(94, 92, 230, .22), transparent 70%),
                radial-gradient(40% 40% at 55% 85%, rgba(52, 199, 89, .18), transparent 70%);
    filter: blur(20px);
}
.window {
    background: #fff; border-radius: 14px; overflow: hidden;
    box-shadow: 0 0 0 0.5px rgba(0,0,0,.12), 0 30px 80px -20px rgba(0, 0, 0, .35);
    display: grid; grid-template-columns: 200px 1fr; text-align: left; font-size: 12px;
}
.win-side { background: rgba(246, 246, 248, .9); border-right: 0.5px solid rgba(0,0,0,.1); padding: 12px 10px; }
.lights { display: flex; gap: 7px; margin: 2px 4px 18px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.lights i:nth-child(1) { background: #ff5f57; } .lights i:nth-child(2) { background: #febc2e; } .lights i:nth-child(3) { background: #28c840; }
.win-brand { display: flex; align-items: center; gap: 7px; font-weight: 600; font-size: 13px; margin: 0 4px 14px; }
.win-brand img { width: 20px; height: 20px; }
.win-new { background: var(--blue); color: #fff; border-radius: 7px; text-align: center; padding: 6px; font-weight: 500; margin-bottom: 14px; }
.win-label { font-size: 10px; font-weight: 600; color: var(--grey); text-transform: uppercase; letter-spacing: .04em; margin: 10px 6px 4px; }
.win-item { padding: 5px 8px; border-radius: 6px; color: var(--ink); }
.win-item.active { background: rgba(0,0,0,.06); font-weight: 500; }
.win-main { padding: 16px 18px 18px; }
.win-title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; }
.cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 0.5px rgba(0,0,0,.1); }
.cal .h { font-size: 9px; font-weight: 600; color: var(--grey); text-transform: uppercase; text-align: right; padding: 5px 6px; border-bottom: 0.5px solid rgba(0,0,0,.08); }
.cal .d { min-height: 64px; padding: 4px; border-right: 0.5px solid rgba(0,0,0,.06); border-bottom: 0.5px solid rgba(0,0,0,.06); }
.cal .d:nth-child(7n) { border-right: 0; }
.cal .n { display: block; text-align: right; font-size: 11px; padding: 1px 3px; }
.cal .today .n { background: var(--red); color: #fff; border-radius: 50%; width: 19px; height: 19px; line-height: 17px; text-align: center; margin-left: auto; font-weight: 600; }
.ev { display: block; margin-top: 3px; padding: 2px 4px; border-radius: 4px; font-size: 9.5px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev.b { background: rgba(0,122,255,.12); } .ev.g { background: rgba(52,199,89,.16); } .ev.o { background: rgba(255,149,0,.16); }
.ev b { font-weight: 600; color: var(--grey-2); margin-right: 3px; }

/* Sections */
section { padding: 110px 0; }
section.alt { background: var(--soft); }
.center { text-align: center; }
h2 { font-size: clamp(36px, 5.5vw, 56px); line-height: 1.07; letter-spacing: -0.005em; font-weight: 700; margin: 0 0 18px; }
.section-lead { color: var(--grey-2); max-width: 640px; margin: 0 auto 56px; font-size: 21px; line-height: 1.38; letter-spacing: .011em; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tile { background: #fff; border-radius: 28px; padding: 32px 30px 34px; text-align: left; }
section:not(.alt) .tile { background: var(--soft); }
.tile h3 { margin: 18px 0 8px; font-size: 24px; line-height: 1.17; letter-spacing: .009em; font-weight: 600; }
.tile p { margin: 0; color: var(--grey-2); font-size: 17px; }
.symbol { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.symbol svg { width: 26px; height: 26px; }
.s-blue { background: #007aff; } .s-green { background: #34c759; } .s-orange { background: #ff9500; } .s-indigo { background: #5856d6; } .s-pink { background: #ff2d55; } .s-teal { background: #30b0c7; }

.platforms { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 48px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 980px; background: #fff; font-weight: 500; font-size: 17px; box-shadow: 0 0 0 0.5px rgba(0,0,0,.08); }
.pill i { width: 28px; height: 28px; border-radius: 8px; display: block; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; text-align: left; counter-reset: step; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 600; font-size: 19px; margin-bottom: 18px; }
.step h3 { margin: 0 0 6px; font-size: 24px; font-weight: 600; letter-spacing: .009em; }
.step p { margin: 0; color: var(--grey-2); }

.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; text-align: left; }
.plan { display: flex; flex-direction: column; background: #fff; border-radius: 28px; padding: 34px 30px; position: relative; }
section:not(.alt) .plan { background: var(--soft); }
.plan.featured { box-shadow: 0 0 0 2px var(--blue); }
.plan .badge { position: absolute; top: -12px; left: 30px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 980px; letter-spacing: 0; }
.plan h3 { margin: 0; font-size: 24px; font-weight: 600; }
.price { font-size: 48px; font-weight: 600; letter-spacing: -0.01em; margin: 12px 0 0; line-height: 1; }
.price small { font-size: 17px; font-weight: 400; color: var(--grey-2); letter-spacing: -0.022em; }
.vat { color: var(--grey); font-size: 14px; margin: 6px 0 0; }
.plan ul { list-style: none; padding: 0; margin: 26px 0 30px; flex: 1; }
.plan li { padding: 7px 0 7px 28px; position: relative; }
.plan li::before { content: ''; position: absolute; left: 3px; top: 13px; width: 13px; height: 7px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.plan .btn { width: 100%; }
.btn-secondary { background: rgba(0, 113, 227, .1); color: var(--blue); }
.btn-secondary:hover { background: rgba(0, 113, 227, .16); }

footer.site { background: var(--soft); border-top: 0.5px solid var(--line); padding: 22px 0 28px; color: var(--grey-2); font-size: 12px; letter-spacing: -0.01em; }
footer.site .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
footer.site a { color: var(--grey-2); margin-left: 20px; }

.legal { max-width: 720px; padding: 64px 22px 96px; }
.legal h1 { font-size: 48px; max-width: none; text-align: left; }
.legal h2 { font-size: 24px; margin: 40px 0 10px; }
.legal p, .legal li { color: #333336; }
.legal .updated { color: var(--grey); }

/* Reveal on scroll (disabled for reduced motion) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s cubic-bezier(.32,.72,0,1), transform .9s cubic-bezier(.32,.72,0,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

@media (prefers-color-scheme: dark) {
    :root { --ink: #f5f5f7; --bg: #000; --soft: #161617; --grey-2: #a1a1a6; --line: #424245; }
    header.site { background: rgba(22, 22, 23, .72); border-bottom-color: rgba(255,255,255,.12); }
    nav.main a { color: rgba(255,255,255,.8); }
    .tile, .plan, .pill { background: #1d1d1f; }
    section:not(.alt) .tile, section:not(.alt) .plan { background: #161617; }
    .step::before { background: #f5f5f7; color: #000; }
    .legal p, .legal li { color: #d2d2d7; }
}

@media (max-width: 860px) {
    .tiles, .steps, .pricing { grid-template-columns: 1fr; }
    nav.main a:not(.btn) { display: none; }
    section { padding: 72px 0; }
    .window { grid-template-columns: 1fr; }
    .win-side { display: none; }
    .cal .d { min-height: 44px; }
    .ev { display: none; }
}
