/* Webslovem landing page — white paper, real watercolour washes, iOS-style glass on top.
   Paintings: /paint (Unsplash License, see paint/CREDITS.md). No build step, no tracking, no cookies. */
@font-face { font-family: "Inter"; src: url(/fonts/inter-latin-ext-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; src: url(/fonts/inter-latin-wght-normal.woff2) format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #16161a; --ink-2: #4a4a52; --muted: #86868e; --hair: rgba(20,20,40,.08);
  --accent: #0a84ff; --accent-2: #0071e3; --good: #30d158;
  --grad: linear-gradient(110deg, #a259ff, #0a84ff 55%, #30d158);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  --r: 26px; --max: 1180px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.55 var(--font); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--accent-2); }
h1, h2, h3 { margin: 0; letter-spacing: -.03em; }
h2 { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.05; font-weight: 700; text-align: center; margin-bottom: 40px; position: relative; }
h3 { font-size: 20px; line-height: 1.2; font-weight: 650; margin-bottom: 8px; letter-spacing: -.02em; }
p { margin: 0; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; z-index: 99; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* ---------- the watercolour paintings ---------- */
.paint { position: absolute; z-index: 0; pointer-events: none; user-select: none; max-width: none; height: auto; }
section { position: relative; }
section > :not(.paint) { position: relative; z-index: 1; }

/* ---------- iOS-like glass ---------- */
.glass {
  position: relative;
  background: linear-gradient(160deg, rgba(255,255,255,.62), rgba(255,255,255,.34));
  -webkit-backdrop-filter: blur(22px) saturate(1.7); backdrop-filter: blur(22px) saturate(1.7);
  border: 1px solid rgba(255,255,255,.75);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(255,255,255,.35),
              0 1px 2px rgba(20,30,60,.05), 0 18px 44px -18px rgba(30,40,100,.28);
}
.glass::before {      /* specular highlight along the top edge */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,0) 38%);
  mix-blend-mode: soft-light;
}
.card { border-radius: var(--r); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 12px; z-index: 30; max-width: var(--max); width: calc(100% - 24px); margin: 12px auto 0; display: flex; align-items: center; gap: 16px;
  padding: 9px 10px 9px 16px; border-radius: 22px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.nav nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-size: 15px; font-weight: 500; padding: 8px 13px; border-radius: 12px; transition: background .15s, color .15s; }
.nav nav a:not(.btn):hover { background: rgba(255,255,255,.6); color: var(--ink); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 600; font-size: 16px;
  text-decoration: none; color: #fff; background: var(--ink); transition: transform .15s, box-shadow .2s; box-shadow: 0 12px 26px -12px rgba(0,0,0,.55); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -12px rgba(0,0,0,.5); }
.btn:active { transform: scale(.98); }
.btn.ghost { color: var(--ink); background: linear-gradient(160deg, rgba(255,255,255,.7), rgba(255,255,255,.4));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95), 0 12px 30px -16px rgba(30,40,100,.35); }
.btn.small { height: 40px; padding: 0 18px; font-size: 14.5px; }
.btn.big { height: 60px; padding: 0 34px; font-size: 19px; background: var(--grad); box-shadow: 0 18px 38px -14px rgba(10,132,255,.6); }

main { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: clamp(70px, 10vw, 130px) 0 0; }

/* ---------- hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding-top: clamp(50px, 8vw, 100px); }
.p-hero-a { width: clamp(700px, 70vw, 1100px); right: -26%; top: -22%; transform: rotate(-8deg); opacity: .9; }
.p-hero-b { width: clamp(420px, 40vw, 640px); left: -22%; bottom: -28%; transform: rotate(14deg) scaleX(-1); opacity: .55; }
.p-hero-c { width: clamp(500px, 44vw, 720px); left: 6%; top: -38%; transform: rotate(4deg); opacity: .45; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 7px 15px 7px 9px; border-radius: 999px; margin-bottom: 24px; }
h1 { font-size: clamp(46px, 6.8vw, 84px); line-height: 1.02; letter-spacing: -.045em; font-weight: 750; margin-bottom: 24px; }
/* the word "slovem." painted with watercolour */
.ink { background: url(/paint/u34.webp) 72% 62% / 170% auto, linear-gradient(100deg, #5b3df5, #1f6fe0 60%, #13a86b);
  -webkit-background-clip: text; background-clip: text; color: transparent; filter: saturate(1.3); }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 33em; }
.lead b { color: var(--ink); }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 32px 0 26px; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-2); font-size: 15px; }
.ticks li { display: flex; gap: 8px; align-items: center; }
.ticks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none; background: var(--good)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }

/* hero demo: a little website + the phone with the chat, both glass over the painting */
.demo { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; }
.site { z-index: 1; margin-top: 10px; margin-right: -26px; border-radius: 20px; overflow: hidden; font-size: 14px; }
.site-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,.6); }
.site-bar span { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; } .site-bar span:nth-child(2) { background: #febc2e; } .site-bar span:nth-child(3) { background: #28c840; }
.site-bar em { margin-left: 10px; font-style: normal; font-size: 12px; color: var(--muted); background: rgba(255,255,255,.6); padding: 2px 12px; border-radius: 7px; }
.site-hero { display: grid; grid-template-columns: .8fr 1.2fr; background: #2b1d14; color: #fbf3e6; }
.site-photo { min-height: 150px; background:
  radial-gradient(circle at 50% 55%, #f3d9a6 0 22%, #c8873f 23% 30%, transparent 31%),
  radial-gradient(circle at 50% 55%, #fff 0 37%, transparent 38%), linear-gradient(135deg, #6b2a1f, #3a2219); }
.site-copy { padding: 18px 44px 18px 18px; display: grid; align-content: center; gap: 4px; }
.site-copy b { font: 700 20px/1.1 Georgia, "Times New Roman", serif; } .site-copy small { opacity: .75; }
.site-btn { justify-self: start; margin-top: 8px; font-size: 12px; font-weight: 700; background: #d64a32; color: #fff; padding: 6px 12px; border-radius: 999px; }
.site-sec { padding: 14px 52px 14px 18px; background: rgba(255,255,255,.55); }
.site-sec + .site-sec { border-top: 1px solid rgba(255,255,255,.7); }
.site-h { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #a3382a; margin-bottom: 6px; }
.row { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px dashed rgba(0,0,0,.08); }
.row:last-child { border-bottom: 0; }
.sun .v { display: inline-grid; } .sun .v > * { grid-area: 1 / 1; text-align: right; }
.sun s { text-decoration: none; } .sun b { opacity: 0; }
.row.new { max-height: 0; overflow: hidden; padding: 0; opacity: 0; }
.phone { z-index: 2; margin-top: 70px; border-radius: 36px; padding: 14px 14px 16px; }
.phone-head { display: flex; gap: 10px; align-items: center; padding: 4px 6px 12px; border-bottom: 1px solid rgba(255,255,255,.7); }
.phone-head div { display: grid; line-height: 1.15; } .phone-head small { color: var(--muted); font-size: 12px; }
.chat { display: flex; flex-direction: column; gap: 8px; padding: 12px 2px; min-height: 250px; justify-content: flex-end; }
.msg { max-width: 88%; padding: 9px 13px; border-radius: 18px; font-size: 14.5px; line-height: 1.35; opacity: 0; transform: translateY(8px); }
.msg.me { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
.msg.ai { align-self: flex-start; background: rgba(255,255,255,.85); box-shadow: 0 1px 2px rgba(0,0,0,.06); border-bottom-left-radius: 6px; }
.msg.ai .txt { display: none; }
.dots { display: inline-flex; gap: 4px; padding: 4px 2px; } .dots i { width: 7px; height: 7px; border-radius: 50%; background: #b9b9c0; animation: blink 1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .3; } }
.composer { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 4px; padding: 9px 10px 9px 16px; border-radius: 999px; background: rgba(255,255,255,.75); color: var(--muted); font-size: 14px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.9); }
.composer span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mic { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--grad); position: relative; }
.mic::after { content: ""; position: absolute; left: 11px; top: 7px; width: 8px; height: 12px; border-radius: 5px; background: #fff; }
.demo.static .msg { opacity: 1; transform: none; } .demo.static .msg .dots { display: none; } .demo.static .msg .txt { display: inline; }
.demo.static .sun s { opacity: 0; } .demo.static .sun b { opacity: 1; } .demo.static .row.new { max-height: 40px; padding: 4px 0; opacity: 1; }
.demo .show { opacity: 1; transform: none; transition: opacity .35s, transform .35s; }
.demo .answered .dots { display: none; } .demo .answered .txt { display: inline; }
.demo .flash { animation: flash 1.6s ease; border-radius: 6px; }
@keyframes flash { 0%, 100% { background: transparent; } 20%, 60% { background: rgba(48,209,88,.25); } }
.demo.sun-done .sun s { opacity: 0; transition: opacity .3s; } .demo.sun-done .sun b { opacity: 1; transition: opacity .3s .1s; }
.demo.menu-done .row.new { max-height: 40px; padding: 4px 0; opacity: 1; transition: max-height .5s, padding .5s, opacity .5s .2s; }

/* ---------- how ---------- */
.p-how { width: clamp(520px, 52vw, 820px); left: 50%; top: 0; transform: translateX(-50%) rotate(90deg); opacity: .75; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { padding: 30px 28px 32px; }
.num { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; font-weight: 800; margin-bottom: 18px;
  background: url(/paint/u34.webp) 62% 58% / 600% auto, #3d4fd6; box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); text-shadow: 0 1px 2px rgba(0,0,0,.3); }
.steps li:nth-child(2) .num { background: url(/paint/u34.webp) 78% 70% / 600% auto, #6a3fd8; }
.steps li:nth-child(3) .num { background: url(/paint/u37.webp) 60% 62% / 500% auto, #1f9f6a; }
.steps p, .feat p { color: var(--ink-2); font-size: 16px; }

/* ---------- what ---------- */
.p-what { width: clamp(480px, 46vw, 760px); right: -24%; top: 4%; transform: rotate(-12deg); opacity: .6; }
.p-what-b { width: clamp(560px, 54vw, 880px); left: -30%; bottom: -12%; transform: rotate(6deg); opacity: .55; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat { padding: 28px; }
.ico { display: block; width: 46px; height: 46px; border-radius: 15px; margin-bottom: 18px; position: relative; overflow: hidden;
  background: url(/paint/u34.webp) var(--bp, 60% 60%) / 700% auto, var(--bc, #3d4fd6); box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.ico::after { content: ""; position: absolute; inset: 11px; background: #fff; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }
.i-design { --bp: 70% 66%; --bc: #4a46d8; --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a9 9 0 1 0 0 18c1.2 0 1.8-.9 1.4-2-.4-1.2.4-2.3 1.7-2.3H17a4 4 0 0 0 4-4C21 6.6 17 3 12 3z' fill='none' stroke='black' stroke-width='2'/%3E%3Ccircle cx='7.5' cy='11' r='1.5'/%3E%3Ccircle cx='11' cy='7' r='1.5'/%3E%3Ccircle cx='16' cy='8.5' r='1.5'/%3E%3C/svg%3E"); }
.i-chat { --bp: 58% 52%; --bc: #2a5fe0; --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 11.5a7.5 7.5 0 0 1-11.2 6.5L4.5 19.2l1.2-3.9A7.5 7.5 0 1 1 20 11.5z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.i-menu { --bp: 80% 72%; --bc: #6a3fd8; --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='3' width='14' height='18' rx='2' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M9 8h6M9 12h6M9 16h4' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.i-phone { --bp: 52% 30%; --bc: #1f8f9a; --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='7' y='2.8' width='10' height='18.4' rx='2.6' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M10.6 17.6h2.8' stroke='black' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.i-lang { --bp: 64% 46%; --bc: #2f6be0; --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='8.6' fill='none' stroke='black' stroke-width='2'/%3E%3Cpath d='M3.6 12h16.8M12 3.4c2.4 2.4 3.6 5.3 3.6 8.6s-1.2 6.2-3.6 8.6c-2.4-2.4-3.6-5.3-3.6-8.6S9.6 5.8 12 3.4z' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E"); }
.i-shield { --bp: 40% 20%; --bc: #1f9f7a; --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 3l7 3v5.5c0 4.4-2.9 8-7 9.5-4.1-1.5-7-5.1-7-9.5V6z' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M8.8 12.2l2.2 2.2 4.3-4.4' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* ---------- say ---------- */
.p-say { width: clamp(560px, 60vw, 980px); left: 50%; top: 20%; transform: translateX(-50%) rotate(180deg); opacity: .55; }
.bubbles { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 920px; margin: 0 auto; }
.bubbles span { padding: 13px 20px; border-radius: 24px 24px 8px 24px; font-size: 17px; font-weight: 500; color: var(--ink); }
.bubbles em { font-style: normal; font-size: 13px; color: var(--accent-2); margin-left: 6px; background: rgba(10,132,255,.1); padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.bubbles em svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 4px; }

/* ---------- faq ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-radius: 20px; padding: 2px 22px; margin-bottom: 12px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 650; font-size: 18px; padding: 17px 0; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 13px; height: 13px; margin-top: 6px;
  background: linear-gradient(var(--muted), var(--muted)) center / 13px 2px no-repeat, linear-gradient(var(--muted), var(--muted)) center / 2px 13px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding: 0 0 18px; }

/* ---------- contact ---------- */
.contact { padding-bottom: clamp(30px, 6vw, 60px); }
.p-contact { width: clamp(620px, 62vw, 980px); left: 50%; top: 24%; transform: translateX(-62%) rotate(-6deg); opacity: .85; }
.p-contact-b { width: clamp(420px, 40vw, 640px); left: 50%; top: 2%; transform: translateX(10%) rotate(150deg); opacity: .55; }
.contact-card { max-width: 820px; margin: clamp(10px, 4vw, 40px) auto 0; border-radius: 36px; padding: clamp(40px, 6vw, 70px) 28px; text-align: center; display: grid; justify-items: center; gap: 14px; }
.contact-card h2 { margin: 6px 0 0; }
.contact-card p { color: var(--ink-2); max-width: 30em; margin-bottom: 14px; font-size: 18px; }

.foot { max-width: var(--max); margin: 60px auto 0; padding: 26px 24px 40px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--muted); font-size: 14px; border-top: 1px solid var(--hair); }
.foot span:first-child { display: flex; align-items: center; gap: 8px; font-weight: 650; color: var(--ink-2); }
body { position: relative; }
html, body { overflow-x: clip; }

/* ---------- smaller screens ---------- */
@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; }
  .demo { max-width: 620px; width: 100%; margin: 0 auto; }
  .steps, .grid { grid-template-columns: 1fr 1fr; }
  .p-hero-a { top: 30%; right: -40%; width: 900px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav nav a:not(.btn) { display: none; }
  main { padding: 0 16px; }
  .steps, .grid { grid-template-columns: 1fr; }
  .demo { grid-template-columns: 1fr; }
  .site { margin-right: 0; font-size: 13px; } .site-photo { min-height: 110px; }
  .site-sec { padding-right: 18px; } .site-copy { padding-right: 18px; }
  .phone { margin: 14px 0 0 auto; width: 92%; }
  .cta .btn { flex: 1 1 auto; }
  .p-hero-a { width: 760px; right: -70%; top: 34%; }
  .p-hero-b { width: 420px; left: -55%; bottom: auto; top: 31%; opacity: .4; }
  .p-hero-c { display: none; }
  .p-how, .p-say { width: 680px; } .p-what { width: 520px; right: -60%; } .p-what-b { width: 640px; left: -70%; }
  .p-contact { width: 720px; } .p-contact-b { width: 480px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
