/* skulle.xyz — shared styles for the hub and product pages. Same tokens as the apps so the
   product page and the app feel like one thing. No build step; edit and deploy. */
:root {
  color-scheme: light;
  --page: #f9f9f7;
  --surface: #fcfcfb;
  --surface-2: #f0efec;
  --ink: #0b0b0b;
  --ink-2: #52514e;
  --muted: #898781;
  --border: rgba(11, 11, 11, 0.10);
  --accent: #2a78d6;
  --accent-ink: #ffffff;
  --good: #0ca30c;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
  --max: 1040px;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --page: #0d0d0d;
    --surface: #1a1a19;
    --surface-2: #262625;
    --ink: #ffffff;
    --ink-2: #c3c2b7;
    --muted: #898781;
    --border: rgba(255, 255, 255, 0.10);
    --accent: #3987e5;
    --shadow: none;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--page);
  color: var(--ink);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 0.4em; }
h1 { font-size: clamp(32px, 5vw, 48px); font-weight: 750; }
h1 em { font-style: italic; color: var(--accent); }
h2 { font-size: clamp(22px, 3vw, 28px); font-weight: 700; }
h3 { font-size: 17px; font-weight: 650; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header / footer */
.top { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 750; font-size: 18px; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.brand .mark { width: 26px; height: 26px; border-radius: 8px; background: var(--ink); color: var(--page); display: inline-grid; place-items: center; font-size: 15px; font-weight: 800; }
.top nav { display: flex; gap: 18px; font-size: 15px; }
.top nav a { color: var(--ink-2); }
.top nav a.active { color: var(--ink); font-weight: 600; }
footer { border-top: 1px solid var(--border); margin-top: 72px; padding: 28px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; }
footer a { color: var(--ink-2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 11px; border: 1px solid var(--border);
  background: var(--surface); color: var(--ink); font-weight: 600; font-size: 15px; cursor: pointer;
}
.btn:hover { text-decoration: none; background: var(--surface-2); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.btn.primary:hover { filter: brightness(1.06); }
.btn.big { padding: 14px 22px; font-size: 16px; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; }

/* Hub */
.hero { padding: 48px 0 28px; max-width: 720px; }
.hero p { font-size: 19px; color: var(--ink-2); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.app-card { display: flex; flex-direction: column; gap: 14px; }
.app-card .head { display: flex; align-items: center; gap: 14px; }
.app-card .icon { width: 56px; height: 56px; border-radius: 14px; flex: none; }
.app-card h3 { margin: 0; font-size: 19px; }
.app-card .tag { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink-2); background: var(--surface-2); padding: 3px 9px; border-radius: 999px; }
.app-card .tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--good); }
.app-card p { color: var(--ink-2); margin: 0; }
.app-card .btn-row { margin-top: auto; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; margin: 40px 0 14px; }
.section-title h2 { margin: 0; }

/* Product page */
.product-hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: center; padding: 40px 0 24px; }
.product-hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 14px; }
.product-hero .eyebrow img { width: 28px; height: 28px; border-radius: 8px; }
.product-hero .lede { font-size: 20px; color: var(--ink-2); max-width: 540px; }
.product-hero .note { font-size: 14px; color: var(--muted); margin-top: 12px; }
@media (max-width: 760px) { .product-hero { grid-template-columns: 1fr; gap: 28px; } }

/* Phone mock with a notification — pure CSS so there's nothing to keep in sync with the app */
.phone { width: min(300px, 100%); aspect-ratio: 9 / 18.5; margin: 0 auto; border-radius: 40px; background: #0b0b0b; padding: 12px; box-shadow: 0 20px 60px rgba(0,0,0,0.25); position: relative; }
.phone .screen { position: absolute; inset: 12px; border-radius: 30px; background: linear-gradient(180deg, #1c2a44, #0f172a 60%, #0b1220); overflow: hidden; color: #fff; }
.phone .time { position: absolute; top: 58px; left: 0; right: 0; text-align: center; font-size: 62px; font-weight: 300; letter-spacing: -0.02em; }
.phone .date { position: absolute; top: 44px; left: 0; right: 0; text-align: center; font-size: 15px; opacity: 0.85; }
.phone .notif { position: absolute; left: 12px; right: 12px; top: 160px; background: rgba(255,255,255,0.92); color: #0b0b0b; border-radius: 18px; padding: 12px 14px; backdrop-filter: blur(10px); font-size: 13px; }
.phone .notif .app { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #52514e; margin-bottom: 6px; }
.phone .notif .app img { width: 18px; height: 18px; border-radius: 5px; }
.phone .notif b { display: block; font-size: 14px; margin-bottom: 2px; }
.phone .notif .actions { display: flex; gap: 8px; margin-top: 10px; }
.phone .notif .actions span { flex: 1; text-align: center; padding: 7px 0; border-radius: 10px; background: #f0efec; font-weight: 600; font-size: 13px; }
.phone .notif .actions span.go { background: #2a78d6; color: #fff; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.steps .card { position: relative; padding-top: 22px; }
.steps .card::before { counter-increment: step; content: counter(step); position: absolute; top: -12px; left: 18px; width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 13px; display: grid; place-items: center; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.features .card p { color: var(--ink-2); margin: 0; font-size: 15px; }
.faq details { border-top: 1px solid var(--border); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--border); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }
.cta { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin-top: 48px; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.cta h2 { margin: 0 0 4px; }
.cta p { margin: 0; color: var(--ink-2); }
