/* Plainware — joyful studio site.
   Bright "dopamine" palette, Plus Jakarta Sans, rounded cards, real photography. */

:root {
  --indigo: #5b4be6;
  --violet: #7c5cff;
  --coral: #ff5d73;
  --amber: #ffb020;
  --mint: #10c5a3;
  --ink: #17132e;
  --ink-soft: #5d5878;
  --bg: #ffffff;
  --bg-soft: #f5f4ff;
  --line: #eae8f7;
  --card: #ffffff;
  --shadow: 0 18px 50px -20px rgba(91, 75, 230, 0.35);
  --shadow-sm: 0 8px 24px -12px rgba(23, 19, 46, 0.25);
  --radius: 26px;
  --radius-sm: 16px;
  --maxw: 1080px;
  --font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; color-scheme: light; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { letter-spacing: -0.025em; line-height: 1.05; margin: 0; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---- Nav ---- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.82); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.32rem; color: var(--ink); text-decoration: none; letter-spacing: -0.03em; }
.brand .blob { width: 18px; height: 18px; border-radius: 7px 9px 7px 11px; background: linear-gradient(135deg, var(--violet), var(--coral)); display: inline-block; transform: rotate(-8deg); }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 8px 14px; border-radius: 999px; }
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-links a.nav-cta { background: var(--ink); color: #fff; }
.nav-links a.nav-cta:hover { background: var(--indigo); color: #fff; }

/* ---- Buttons ---- */
.btn { display: inline-block; font-weight: 700; font-size: 1rem; text-decoration: none; padding: 14px 26px; border-radius: 999px; transition: transform .12s ease, box-shadow .2s ease, background .2s ease; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-2px); background: var(--indigo); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--violet); color: var(--indigo); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---- Hero ---- */
.hero { position: relative; padding: 84px 0 64px; }
.hero::before { content: ""; position: absolute; top: -120px; left: -140px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(124,92,255,.5), transparent 60%); filter: blur(20px); z-index: -1; }
.hero::after { content: ""; position: absolute; top: 40px; right: -160px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(255,93,115,.42), transparent 62%); filter: blur(20px); z-index: -1; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-soft); border: 1px solid var(--line); color: var(--indigo); font-weight: 700; font-size: 0.8rem; padding: 7px 15px; border-radius: 999px; margin-bottom: 22px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.3rem); font-weight: 800; }
.hero h1 .grad { background: linear-gradient(120deg, var(--indigo), var(--violet) 40%, var(--coral)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero p.lead { font-size: 1.22rem; color: var(--ink-soft); margin: 22px 0 30px; max-width: 34em; }
.hero-media { position: relative; }
.hero-media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); transform: rotate(2deg); }
.hero-media .chip { position: absolute; font-weight: 700; font-size: .9rem; background: #fff; box-shadow: var(--shadow-sm); border-radius: 14px; padding: 10px 14px; }
.hero-media .chip.one { top: -16px; left: -14px; color: var(--indigo); }
.hero-media .chip.two { bottom: -16px; right: -10px; color: var(--coral); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero-media { order: -1; }
}

/* ---- Section scaffolding ---- */
section { padding: 60px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.section-head .kicker { color: var(--violet); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; margin: 10px 0 12px; }
.section-head p { color: var(--ink-soft); font-size: 1.1rem; margin: 0; }

/* ---- Values ---- */
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.value { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 28px; transition: transform .15s ease, box-shadow .2s ease; }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.value .ic { width: 52px; height: 52px; border-radius: 15px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 16px; }
.value:nth-child(1) .ic { background: linear-gradient(135deg, #fff0f2, #ffe0e6); }
.value:nth-child(2) .ic { background: linear-gradient(135deg, #eef0ff, #e2e6ff); }
.value:nth-child(3) .ic { background: linear-gradient(135deg, #e6fbf5, #d6f7ee); }
.value h3 { font-size: 1.28rem; font-weight: 800; margin-bottom: 8px; }
.value p { color: var(--ink-soft); margin: 0; font-size: 1rem; }

/* ---- App showcase ---- */
.apps-band { background: var(--bg-soft); }
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.app-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .16s ease, box-shadow .22s ease; }
.app-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.app-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; }
.app-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.app-card .body { padding: 24px 26px 28px; }
.app-card .body h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.app-card .body .tagline { color: var(--ink-soft); margin: 0 0 14px; }
.badge { display: inline-block; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 5px 12px; border-radius: 999px; }
.badge.live { background: #e6fbf5; color: #0a8e74; }
.badge.soon { background: #fff3df; color: #b9760a; }
.empty { color: var(--ink-soft); font-style: italic; text-align: center; }

/* ---- CTA band ---- */
.cta { padding: 30px 0 80px; }
.cta-inner { background: linear-gradient(125deg, var(--indigo), var(--violet) 48%, var(--coral)); border-radius: var(--radius); padding: 64px 40px; text-align: center; color: #fff; box-shadow: var(--shadow); }
.cta-inner h2 { font-size: clamp(2rem, 4vw, 2.7rem); font-weight: 800; margin-bottom: 12px; }
.cta-inner p { font-size: 1.15rem; opacity: .92; margin: 0 auto 28px; max-width: 36em; }
.cta-inner .btn-primary { background: #fff; color: var(--indigo); }
.cta-inner .btn-primary:hover { background: #fff; color: var(--coral); }

/* ---- Footer ---- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--ink-soft); font-size: .92rem; }
.site-footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: center; }
.site-footer .brand { font-size: 1.1rem; }
.site-footer a { color: var(--ink-soft); text-decoration: none; margin-left: 20px; }
.site-footer a:hover { color: var(--indigo); }
.credit { width: 100%; text-align: center; font-size: .8rem; color: var(--ink-soft); opacity: .7; margin-top: 8px; }

/* ---- Article (privacy / support) ---- */
.article { padding: 56px 0 88px; max-width: 720px; }
.article h1 { font-size: 2.6rem; font-weight: 800; margin-bottom: 6px; }
.article .meta { color: var(--ink-soft); margin: 0 0 30px; font-size: .95rem; }
.article h2 { font-size: 1.4rem; font-weight: 800; margin: 34px 0 10px; }
.article p, .article li { color: var(--ink); }
.article a { color: var(--indigo); }
.article .lede { font-size: 1.18rem; color: var(--ink-soft); }
.callout { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px 22px; margin: 24px 0; }

/* ---- App landing ---- */
.app-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 70px 0 40px; }
.app-hero .badge { margin-bottom: 16px; }
.app-hero h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; margin-bottom: 14px; }
.app-hero p.lead { font-size: 1.18rem; color: var(--ink-soft); margin: 0 0 26px; }
.app-hero .media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.feature-list li { padding-left: 34px; position: relative; font-size: 1.04rem; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: #e6fbf5; color: #0a8e74; font-size: .8rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
@media (max-width: 820px) { .app-hero { grid-template-columns: 1fr; gap: 32px; } .app-hero .media { order: -1; } }
