Spaces:
Running
Running
File size: 8,911 Bytes
21431a9 e0b4167 21431a9 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | /* lipa-mini's page in the Reachy Mini app store. Same tokens, type and colours as lipa.live (public/styles.css) */
:root {
--bg: #f7f7f9; --card: #fff; --ink: #0b0b10; --ink-2: #3f3f4a; --muted: #7a7a88; --line: #ebebf0; --soft: #f1f0f7;
--brand-1: #4f46e5; --brand-2: #7c3aed; --brand: linear-gradient(120deg, var(--brand-1), var(--brand-2));
--radius: 20px; --shadow: 0 1px 2px rgba(16, 16, 32, .04), 0 12px 32px -12px rgba(16, 16, 32, .12);
--font: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15.5px/1.55 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--brand-1); text-decoration: none; }
.wrap { width: min(1080px, 100% - 32px); margin: 0 auto; }
section { padding: 56px 0; }
h1, h2, h3 { letter-spacing: -.025em; margin: 0; }
h2 { font-size: clamp(26px, 3.4vw, 34px); line-height: 1.15; margin-bottom: 22px; }
h3 { font-size: 17px; margin-bottom: 6px; }
.tag { display: inline-block; margin: 0 0 12px; padding: 4px 11px; border-radius: 999px; background: var(--soft); color: var(--brand-1); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
/* Buttons, as on lipa.live */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 600; font-size: 14.5px; transition: box-shadow .15s, transform .1s; }
.btn:hover { box-shadow: var(--shadow); }
.btn:active { transform: scale(.98); }
.btn-brand { background: var(--brand); border: 0; color: #fff; }
.btn-ghost { height: 36px; padding: 0 14px; font-size: 13.5px; }
.btn-light { background: #fff; border: 0; color: var(--ink); }
/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
.logo { width: 34px; height: 34px; }
.mini { margin-left: 6px; padding: 2px 9px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em; vertical-align: 3px; }
/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-top: 40px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 14.5px; font-weight: 500; color: var(--ink-2); }
.kicker b { color: var(--ink); }
.kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(79, 70, 229, .15); }
h1 { font-size: clamp(38px, 5.6vw, 60px); line-height: 1.04; font-weight: 800; letter-spacing: -.035em; margin-bottom: 18px; }
.grad { background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--ink-2); max-width: 520px; margin: 0 0 28px; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
.notes { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--muted); }
.notes b { font-size: 15px; font-weight: 800; letter-spacing: -.02em; background: var(--brand); -webkit-background-clip: text; background-clip: text; color: transparent; margin-right: 4px; }
/* The example conversation, in the lipa widget's style */
.demo { background: var(--card); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.demo-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; flex: none; }
.who { display: flex; flex-direction: column; min-width: 0; }
.who b { font-size: 14px; } .who span { font-size: 12.5px; color: var(--muted); }
.live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 600; }
.live i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: pulse 1.4s ease-in-out infinite; }
.demo-body { display: flex; flex-direction: column; gap: 10px; padding: 18px; min-height: 330px; }
.bub { max-width: 86%; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: var(--soft); font-size: 14px; opacity: 0; transform: translateY(6px); animation: in .45s ease forwards; }
.bub.me { align-self: flex-end; background: var(--ink); color: #fff; border-radius: 16px 16px 4px 16px; }
.bub:nth-child(1) { animation-delay: .2s; } .bub:nth-child(2) { animation-delay: 1.1s; } .bub:nth-child(3) { animation-delay: 2s; }
.bub:nth-child(4) { animation-delay: 3s; } .bub:nth-child(5) { animation-delay: 3.9s; }
.wave { display: flex; gap: 4px; align-items: center; height: 22px; padding-left: 4px; opacity: 0; animation: in .4s ease 4.6s forwards; }
.wave i { width: 4px; height: 8px; border-radius: 4px; background: var(--brand); animation: bar 1s ease-in-out infinite; }
.wave i:nth-child(2) { animation-delay: .1s; } .wave i:nth-child(3) { animation-delay: .2s; } .wave i:nth-child(4) { animation-delay: .3s; } .wave i:nth-child(5) { animation-delay: .4s; }
.demo-foot { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.lead-pill { padding: 3px 10px; border-radius: 999px; background: #ecfdf3; color: #16a34a; font-weight: 700; font-size: 12px; }
@keyframes in { to { opacity: 1; transform: none; } }
@keyframes bar { 0%, 100% { height: 6px; } 50% { height: 20px; } }
@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .bub, .wave { animation: none; opacity: 1; transform: none; } .wave i, .live i { animation: none; } }
/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step b { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--soft); color: var(--brand-1); font-size: 14px; margin-bottom: 12px; }
.step p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
/* What it does */
.more { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.perks li { position: relative; padding-left: 30px; font-size: 14.5px; color: var(--ink-2); }
.perks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
.perks b { display: block; color: var(--ink); font-size: 15px; }
.side { display: grid; gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.card .fine { margin-top: 10px; font-size: 13px; color: var(--muted); }
/* Dark band, as on lipa.live */
.band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 40px; border-radius: 28px; color: #fff;
background: radial-gradient(600px 280px at 90% 10%, rgba(124, 58, 237, .5), transparent 70%), var(--ink); }
.band h2 { margin: 0 0 6px; color: #fff; }
.band p { margin: 0; color: rgba(255, 255, 255, .72); }
/* FAQ */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.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(--brand-1); font-weight: 700; }
.faq details[open] summary::after { content: '–'; }
.faq p { margin: 10px 0 0; color: var(--ink-2); font-size: 14.5px; }
footer { border-top: 1px solid var(--line); padding: 26px 0 36px; color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
footer a { color: var(--muted); }
@media (max-width: 860px) {
.hero, .more { grid-template-columns: 1fr; gap: 32px; }
.steps { grid-template-columns: 1fr; }
section { padding: 40px 0; }
.band { padding: 28px; }
}
|