/* Home: a soft sky of hues, white surfaces, colourful quick starts, living Topi. */
body { background: #fff; }
.home-top { display: flex; align-items: center; justify-content: space-between; padding-top: 22px; position: relative; z-index: 2; }
.home-nav { display: flex; gap: 6px; align-items: center; font-weight: 600; font-size: 14px; }
.home-nav a, .home-nav button { color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 999px; background: none; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.home-nav a:hover, .home-nav button:hover { background: var(--bg2); color: var(--ink); }
.home-nav .pill { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); }

/* hero sky */
.sky { position: relative; margin: 14px 0 0; border-radius: 28px; padding: 56px 32px 40px; overflow: hidden; background: var(--sky); isolation: isolate; }
.sky::before, .sky::after { content: ''; position: absolute; border-radius: 50%; filter: blur(60px); opacity: .75; z-index: -1; animation: drift 14s ease-in-out infinite alternate; }
.sky::before { width: 520px; height: 520px; left: -120px; top: -200px; background: radial-gradient(circle, #ffd0b0, transparent 65%); }
.sky::after { width: 620px; height: 620px; right: -160px; bottom: -300px; background: radial-gradient(circle, #cdbbff, transparent 65%); animation-delay: -7s; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(40px, 30px) scale(1.08); } }
.sky h1 { text-align: center; margin: 0 auto 10px; max-width: 820px; background: linear-gradient(100deg, #2a1f5a 0%, #7b2cff 45%, #e23c96 75%, #ff7a1a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sky .lede { text-align: center; margin: 0 auto 26px; max-width: 620px; color: #4a4868; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin: 0 0 8px; }
.hero-cta .btn.ghost { background: rgba(255, 255, 255, .8); backdrop-filter: blur(10px); }
.sky .tiny { text-align: center; color: #6a6886; margin: 10px 0 0; }

/* quick starts: colourful circles like a toolbox */
.quick { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin: 30px -8px 0; }
.quick button, .quick a { background: none; border: 0; font: inherit; cursor: pointer; display: grid; justify-items: center; gap: 8px; padding: 8px 10px; width: 108px; color: var(--ink); font-size: 13px; font-weight: 600; text-decoration: none; border-radius: 16px; transition: transform .15s; }
.quick button:hover, .quick a:hover { transform: translateY(-3px); }
.quick .orb { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 22px rgba(27, 27, 47, .16), inset 0 -3px 8px rgba(0, 0, 0, .12), inset 0 2px 4px rgba(255, 255, 255, .35); }
.quick .orb svg { width: 26px; height: 26px; }
.o-reels { background: linear-gradient(145deg, #ff7a1a, #ff4d6d); }
.o-square { background: linear-gradient(145deg, #7b2cff, #c04bff); }
.o-feed { background: linear-gradient(145deg, #e23c96, #ff7ab3); }
.o-wide { background: linear-gradient(145deg, #2b6bff, #5ac8fa); }
.o-clip { background: linear-gradient(145deg, #00b894, #55efc4); }
.o-upload { background: linear-gradient(145deg, #1b1b2f, #4a4868); }
.o-tpl { background: linear-gradient(145deg, #f5a524, #ffd166); }

.section { margin: 36px 0; }
.row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.row-head h2 { margin: 0; }
.tiny { font-size: 13px; }

/* projects */
.projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.proj { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; cursor: pointer; display: grid; grid-template-rows: 130px auto; transition: transform .15s, box-shadow .15s; position: relative; }
.proj:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.proj .th { background: var(--bg2) center/cover no-repeat; display: grid; place-items: center; color: var(--dim); }
.proj .meta { padding: 10px 12px; font-size: 13px; }
.proj .meta strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.proj .meta small { color: var(--muted); }
.proj .menu { position: absolute; top: 8px; right: 8px; display: flex; gap: 4px; opacity: 0; transition: opacity .15s; }
.proj:hover .menu, .proj:focus-within .menu { opacity: 1; }
.proj .menu button { background: rgba(255, 255, 255, .92); border: 1px solid var(--line); color: var(--ink); border-radius: 8px; padding: 4px 8px; font-size: 12px; cursor: pointer; }

/* templates: pastel cards with a mock */
.templates { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.tpl { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 10px 10px 12px; cursor: pointer; display: grid; gap: 8px; transition: transform .15s, box-shadow .15s; color: var(--ink); text-align: left; font: inherit; }
.tpl:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.tpl .art { border-radius: 12px; display: grid; place-items: center; font-weight: 900; letter-spacing: -.02em; font-size: 15px; color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, .18); position: relative; overflow: hidden; height: 130px; }
.tpl .art::after { content: ''; position: absolute; inset: auto 12px 12px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .6); }
.tpl .art.w0 { background: linear-gradient(145deg, #ff7a1a, #e23c96); }
.tpl .art.w1 { background: linear-gradient(145deg, #7b2cff, #2b6bff); }
.tpl .art.w2 { background: linear-gradient(145deg, #00b894, #2b6bff); }
.tpl .art.w3 { background: linear-gradient(145deg, #e23c96, #7b2cff); }
.tpl .art.w4 { background: linear-gradient(145deg, #f5a524, #ff4d6d); }
.tpl .art.w5 { background: linear-gradient(145deg, #1b1b2f, #4a4868); }
.tpl .art.w6 { background: linear-gradient(145deg, #5ac8fa, #7b2cff); }
.tpl .art.w7 { background: linear-gradient(145deg, #ffd166, #ff7a1a); }
.tpl strong { font-size: 14px; } .tpl small { color: var(--muted); }

/* features: pastel tiles with icons */
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.feat { border-radius: 18px; padding: 18px; display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; color: var(--ink); font-size: 14px; line-height: 1.5; }
.feat .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--accent-2); box-shadow: var(--shadow); }
.feat strong { display: block; margin-bottom: 2px; }
.feat span { color: var(--muted); }
.feat.lilac { background: var(--wash-lilac); } .feat.peach { background: var(--wash-peach); } .feat.mint { background: var(--wash-mint); } .feat.sky-w { background: var(--wash-sky); } .feat.rose { background: var(--wash-rose); } .feat.lemon { background: var(--wash-lemon); }
.feat.lilac .ic { color: #7b2cff; } .feat.peach .ic { color: #ff7a1a; } .feat.mint .ic { color: #00b894; } .feat.sky-w .ic { color: #2b6bff; } .feat.rose .ic { color: #e23c96; } .feat.lemon .ic { color: #d98e00; }

/* plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-bottom: 10px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); position: relative; }
.plan.hot { border-color: transparent; background: linear-gradient(#fff, #fff) padding-box, var(--brand-grad) border-box; border: 2px solid transparent; }
.plan.hot::before { content: 'Most popular'; position: absolute; top: -12px; left: 18px; background: var(--brand-grad); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 10px; border-radius: 999px; }
.plan h3 { margin: 0; font-size: 16px; } .plan .price { font-size: 38px; font-weight: 900; letter-spacing: -.03em; margin: 6px 0; } .plan .price span { font: 600 13px Inter, sans-serif; color: var(--muted); letter-spacing: 0; }
.plan ul { margin: 0; padding-left: 0; list-style: none; color: var(--muted); font-size: 13px; } .plan li { margin: 7px 0; padding-left: 22px; position: relative; }
.plan li::before { content: ''; position: absolute; left: 0; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--wash-mint); box-shadow: inset 0 0 0 1px #00b894; }

/* Topi, alive */
.topi-card { position: absolute; right: 24px; top: 24px; width: 290px; background: rgba(255, 255, 255, .85); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .9); border-radius: 18px; padding: 12px 12px 12px 10px; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; font-size: 13px; box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.topi-card .btn { padding: 7px 11px; font-size: 12px; border-radius: 10px; background: var(--brand-grad); }
.orb-topi { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: conic-gradient(from 0deg, #ff7a1a, #e23c96, #7b2cff, #2b6bff, #ff7a1a); animation: spin 8s linear infinite; position: relative; }
.orb-topi::before { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: #fff; }
.orb-topi img { position: relative; width: 22px; height: 22px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* sheets */
.sheet-backdrop { position: fixed; inset: 0; background: rgba(27, 27, 47, .35); backdrop-filter: blur(4px); z-index: 40; }
.sheet { position: fixed; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(600px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 24px; padding: 28px; z-index: 41; box-shadow: var(--shadow-lg); }
.sheet h3 { margin: 0 0 4px; font-size: 24px; font-weight: 800; letter-spacing: -.02em; } .sheet .close { position: absolute; top: 12px; right: 12px; background: var(--bg2); border: 0; color: var(--muted); font-size: 20px; cursor: pointer; width: 36px; height: 36px; border-radius: 50%; }
.ob-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; margin: 16px 0; }
.ob-grid button { background: var(--bg2); border: 2px solid transparent; border-radius: 16px; padding: 14px; color: var(--ink); font-weight: 700; cursor: pointer; display: grid; gap: 6px; justify-items: start; text-align: left; font: inherit; font-weight: 700; transition: transform .12s, border-color .12s, background .12s; }
.ob-grid button:hover { transform: translateY(-2px); }
.ob-grid button small { font-weight: 400; color: var(--muted); font-size: 12px; }
.ob-grid button.on { border-color: var(--accent-2); background: var(--wash-lilac); }
.ob-grid .em { font-size: 24px; }
.sheet input[type=text] { width: 100%; }
.sheet .acts { display: flex; gap: 8px; justify-content: flex-end; align-items: center; margin-top: 12px; }
.sheet .check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; font-size: 13px; color: var(--muted); margin: 8px 0; }
.sheet .check input { margin-top: 3px; accent-color: var(--accent-2); }
@media (max-width: 760px) {
  .sky { padding: 38px 18px 28px; border-radius: 22px; }
  .quick button, .quick a { width: 86px; font-size: 12px; } .quick .orb { width: 50px; height: 50px; }
  .topi-card { position: static; margin: 22px auto 0; width: auto; }
  .home-nav { gap: 2px; font-size: 13px; } .home-nav a, .home-nav button { padding: 6px 8px; }
}
.home-nav .avatar { margin-left: 4px; }
.home-nav .avatar { margin-left: 4px; }
