/* ============ Flotilla — neo-brutalist workspace site ============ */
:root {
  --ink: #15122b;
  --ink-soft: #4b4766;
  --ink-mute: #8a86a3;
  --paper: #f4f2ff;
  --white: #ffffff;
  --band: #ffa62b;      /* nav / quote / cta band */
  --cta: #5146ff;       /* primary button */
  --cta-ink: #ffffff;
  --coral: #ff6f59;
  --aqua: #2ee6c5;
  --lemon: #ffe45e;
  --violet: #a79bff;
  --mint: #8ef5a4;
  --line: 2px solid var(--ink);
  --sh: 4px 4px 0 var(--ink);
  --sh-sm: 2px 2px 0 var(--ink);
  --mono: "Space Mono", ui-monospace, monospace;
  --sans: "Space Grotesk", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg { display: block; }
[data-face] > svg, [data-art] > svg { width: 100%; height: 100%; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px; font-size: 14px; font-weight: 700;
  border: var(--line); box-shadow: var(--sh-sm); background: var(--white);
  transition: transform .12s ease, box-shadow .12s ease;
  white-space: nowrap;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--ink); }
.btn-primary { background: var(--cta); color: var(--cta-ink); }
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }

/* ---------- announcement + nav ---------- */
.announce {
  background: var(--ink); color: #fff; text-align: center;
  font-size: 13px; font-weight: 700; padding: 7px 16px;
}
.announce a { margin-left: 8px; }
.announce a:hover { text-decoration: underline; }
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--band); border-bottom: var(--line);
}
.nav .wrap { display: flex; align-items: center; height: 48px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 18px; letter-spacing: .02em; font-style: italic; text-transform: uppercase; }
.logo svg { width: 24px; height: 24px; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 700; }
.nav-links a:not(.btn) { position: relative; }
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px;
  background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }
.lang {
  border: var(--line); background: #fff; box-shadow: var(--sh-sm);
  font-size: 13px; font-weight: 700; padding: 5px 8px; min-width: 64px; font-family: var(--sans);
}
.burger { display: none; margin-left: auto; width: 36px; height: 32px; border: var(--line); background: #fff; box-shadow: var(--sh-sm); }
.burger span, .burger span::before, .burger span::after { display: block; width: 16px; height: 2px; background: var(--ink); margin: 0 auto; position: relative; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -5px; } .burger span::after { top: 5px; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: calc(100vh - 80px);
  display: flex; align-items: center; padding: 72px 0 96px;
  background-color: var(--paper);
  background-image: radial-gradient(rgba(21,18,43,.09) 1px, transparent 1.2px);
  background-size: 22px 22px;
  overflow: hidden;
}
.hero::after { /* soft fade so dots melt into the band below */
  content: ""; position: absolute; inset: auto 0 0 0; height: 120px;
  background: linear-gradient(to bottom, transparent, var(--paper)); pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; width: 100%; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(40px, 5.6vw, 64px); line-height: 1.22; font-weight: 700; letter-spacing: -.01em; }
.hero h1 .hl { position: relative; display: inline-block; }
.hero h1 .hl::before {
  content: ""; position: absolute; left: -4px; right: -4px; bottom: 8%; height: 34%;
  background: var(--aqua); z-index: -1; transform: scaleX(0); transform-origin: left;
  animation: hl-in .8s .7s cubic-bezier(.2,.8,.2,1) forwards;
}
@keyframes hl-in { to { transform: scaleX(1); } }
.hero p.sub { margin-top: 26px; color: var(--ink-soft); font-size: 17px; line-height: 1.6; max-width: 360px; }
.hero .ctas { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.rise { opacity: 0; transform: translateY(18px); animation: rise .7s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero-art { position: relative; justify-self: end; width: 100%; max-width: 440px; }
.window {
  background: #fff; border: var(--line); box-shadow: 6px 6px 0 var(--ink);
  position: relative;
}
.win-head {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: var(--line);
  font-weight: 700; font-size: 14px;
}
.hash { width: 22px; height: 22px; border: var(--line); background: var(--band); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.win-head .dots { margin-left: auto; display: flex; gap: 4px; }
.win-head .dots i { width: 6px; height: 6px; border: 1.5px solid var(--ink); }
.win-head .dots i.on { background: var(--ink); }
.members { display: flex; align-items: center; gap: 5px; border: var(--line); padding: 2px 8px; font-size: 12px; box-shadow: var(--sh-sm); }
.feed { height: 252px; padding: 14px 16px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; }
.msg { display: flex; gap: 10px; opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .45s ease; }
.msg.in { opacity: 1; transform: none; }
.msg.out { opacity: 0; transform: translateY(-8px); }
.msg .av { width: 26px; height: 26px; flex: none; border: 1.5px solid var(--ink); }
.msg .who { font-size: 13px; font-weight: 700; }
.msg .who time { font-family: var(--mono); font-weight: 400; font-size: 11px; color: var(--ink-mute); margin-left: 6px; }
.msg .who small { font-weight: 400; color: var(--ink-mute); font-size: 11px; margin-left: 4px; }
.msg p { font-family: var(--mono); font-size: 12.5px; color: var(--ink-soft); line-height: 1.5; margin-top: 2px; }
.msg p b, .mention { color: var(--cta); font-weight: 700; }
.typing { display: inline-flex; gap: 3px; padding: 6px 0; }
.typing i { width: 5px; height: 5px; background: var(--ink-mute); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }

.tile {
  position: absolute; width: 48px; height: 48px; border: var(--line); box-shadow: var(--sh-sm);
  background: #fff; z-index: 2; animation: float 3.2s ease-in-out infinite;
}
.tile svg { width: 100%; height: 100%; }
.tile.t1 { top: -78px; left: -24px; --r: 6deg; background: var(--aqua); }
.tile.t2 { bottom: -24px; left: -32px; --r: -4deg; animation-delay: -1.1s; }
.tile.t3 { bottom: -20px; right: -20px; --r: 8deg; background: var(--lemon); animation-delay: -2s; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-7px) rotate(var(--r, 0deg)); }
}

/* ---------- quote band ---------- */
.quote-band { background: var(--band); border-top: var(--line); border-bottom: var(--line); padding: 34px 16px; text-align: center; }
.quote-band blockquote { font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; line-height: 1.35; }

/* ---------- features ---------- */
.section-title { text-align: center; font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; }
.section-sub { text-align: center; color: var(--ink-soft); margin-top: 14px; font-size: 15px; line-height: 1.6; }
#features { background: #fff; padding: 88px 0 120px; border-bottom: var(--line); }
.feat-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; margin-top: 64px; }
.feat-sticky { position: sticky; top: 120px; align-self: start; }
.halftone { position: relative; }
.halftone::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: 0;
  background-image: radial-gradient(var(--ink) 1.1px, transparent 1.3px);
  background-size: 5px 5px;
}
.halftone > * { position: relative; z-index: 1; }
.app { background: #fff; border: var(--line); border-radius: 10px; overflow: hidden; }
.app .win-head .icons { margin-left: auto; display: flex; gap: 6px; }
.app .win-head .icons span { width: 24px; height: 24px; border: var(--line); border-radius: 4px; display: grid; place-items: center; font-size: 12px; }
.tabs { display: flex; border-bottom: var(--line); }
.tabs button { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 6px 16px; border-right: var(--line); transition: background .25s; }
.tabs button.on { background: var(--band); }
.app-body { height: 300px; position: relative; overflow: hidden; }
.pane { position: absolute; inset: 0; padding: 12px 14px; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .4s, transform .4s, visibility .4s; }
.pane.on { opacity: 1; visibility: visible; transform: none; }
.pane .feed { height: 100%; padding: 0; gap: 10px; justify-content: flex-end; }
.pane .msg p { font-family: var(--sans); font-size: 13px; color: var(--ink); }
.composer { border-top: var(--line); padding: 12px; }
.composer .box { border: var(--line); border-radius: 6px; padding: 8px 10px; height: 74px; display: flex; flex-direction: column; justify-content: space-between; font-size: 13px; color: var(--ink-mute); }
.composer .row { display: flex; align-items: center; gap: 6px; }
.composer .row .sq { width: 22px; height: 22px; border: var(--line); border-radius: 4px; display: grid; place-items: center; font-size: 11px; color: var(--ink); }
.composer .row .astask { margin-left: auto; display: flex; align-items: center; gap: 6px; color: var(--ink); font-size: 12px; }
.composer .row .astask i { width: 14px; height: 14px; border: 1.5px solid var(--ink); }
.composer .row .send { background: var(--cta); color: #fff; }

/* kanban pane */
.kb-tools { display: flex; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.kb-tools span { border: 1.5px solid var(--ink); padding: 3px 8px; font-size: 11px; font-weight: 700; }
.kb-tools .new { background: var(--cta); color: #fff; box-shadow: var(--sh-sm); }
.kb-tools .board { margin-left: auto; background: var(--band); }
.kb { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; height: calc(100% - 36px); }
.kb-col { overflow: hidden; border: 1.5px solid var(--ink-mute); background: rgba(21,18,43,.03); padding: 6px; display: flex; flex-direction: column; gap: 6px; }
.kb-col h6 { font-family: var(--mono); font-size: 10px; text-transform: uppercase; color: var(--ink-soft); display: flex; justify-content: space-between; }
.kcard { background: #fff; border: var(--line); box-shadow: var(--sh-sm); padding: 6px 7px; font-size: 11.5px; font-weight: 700; line-height: 1.3; animation: pop .35s ease both; }
.kcard small { display: block; font-family: var(--mono); font-weight: 400; font-size: 9.5px; color: var(--ink-mute); margin-bottom: 2px; }
.kcard .st { display: inline-block; margin-top: 5px; font-size: 9.5px; border: 1.5px solid var(--ink); padding: 0 5px; }
.st.todo { background: #fff; } .st.doing { background: var(--lemon); } .st.done { background: var(--mint); }
@keyframes pop { from { opacity: 0; transform: scale(.85); } }

/* org chart pane */
.org { border: var(--line); margin: 6px 0 0 34px; padding: 10px; background: #fff; }
.org .bar { display: flex; gap: 6px; margin-bottom: 10px; }
.org .bar span { width: 20px; height: 20px; border: 1.5px solid var(--ink); font-size: 10px; display: grid; place-items: center; }
.org .bar span:first-child { background: var(--band); }
.org-tree { display: flex; flex-direction: column; align-items: center; }
.node { border: 1.5px solid var(--ink); padding: 3px 10px; font-size: 10px; font-weight: 700; text-align: center; background: #fff; opacity: 0; transform: translateY(6px); transition: .35s; }
.node small { display: block; font-weight: 400; font-size: 8.5px; color: var(--ink-soft); }
.node.in { opacity: 1; transform: none; }
.vline { width: 1.5px; height: 10px; background: var(--ink); }
.org-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 100%; position: relative; padding-top: 10px; }
.org-row::before { content: ""; position: absolute; top: 0; left: 12%; right: 12%; height: 1.5px; background: var(--ink); }
.org-row .node { position: relative; }
.org-row .node::before { content: ""; position: absolute; top: -11px; left: 50%; width: 1.5px; height: 10px; background: var(--ink); }

.feat-cards { display: flex; flex-direction: column; gap: 36vh; padding: 0 0 10vh; }
.fcard { border: var(--line); box-shadow: var(--sh); background: #fff; opacity: .45; transform: scale(.97); transition: opacity .4s, transform .4s; }
.fcard.active { opacity: 1; transform: none; }
.fcard .art { height: 210px; border-bottom: var(--line); display: grid; place-items: center; position: relative; overflow: hidden; }
.fcard .body { padding: 22px 22px 26px; }
.fcard h3 { font-size: 19px; line-height: 1.3; }
.fcard p { margin-top: 10px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }
.fcard .link { display: inline-block; margin-top: 14px; font-weight: 700; font-size: 13px; border-bottom: 2px solid var(--ink); }
.art.c1 { background: var(--coral); } .art.c2 { background: var(--aqua); } .art.c3 { background: var(--violet); } .art.c4 { background: var(--mint); }
.art.c1::after, .art.c4::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(21,18,43,.18) 1px, transparent 1.3px); background-size: 9px 9px;
}
/* card 1: pixel hands clap */
.clap { display: flex; gap: 2px; position: relative; z-index: 1; }
.clap svg { width: 46px; height: 46px; }
.clap .l { animation: clapL 1.1s ease-in-out infinite; }
.clap .r { animation: clapR 1.1s ease-in-out infinite; }
@keyframes clapL { 0%, 100% { transform: translateX(-6px) rotate(-8deg); } 45%, 55% { transform: translateX(3px) rotate(0); } }
@keyframes clapR { 0%, 100% { transform: translateX(6px) rotate(8deg) scaleX(-1); } 45%, 55% { transform: translateX(-3px) rotate(0) scaleX(-1); } }
.spark { position: absolute; width: 6px; height: 6px; background: var(--ink); opacity: 0; animation: spark 1.1s ease-out infinite; }
@keyframes spark { 45% { opacity: 0; transform: translate(0,0); } 55% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)); } }
/* card 2: infinity */
.inf path { fill: none; stroke: var(--ink); stroke-width: 9; stroke-linecap: square; }
.inf path.run { stroke: #fff; stroke-dasharray: 30 30; animation: infinity-loop 1.2s linear infinite; }
@keyframes infinity-loop { from { stroke-dashoffset: 60; } to { stroke-dashoffset: 0; } }
/* card 3: walking bot */
.bot { position: relative; animation: bob .5s steps(2) infinite; }
.bot svg { width: 64px; height: 64px; }
.trail { position: absolute; left: 50%; top: 58%; display: flex; gap: 6px; transform: translateX(-90px); }
.trail i { width: 4px; height: 4px; background: var(--ink); animation: trail 1s linear infinite; }
.trail i:nth-child(2) { animation-delay: .2s; } .trail i:nth-child(3) { animation-delay: .4s; }
.ground { position: absolute; left: 50%; top: 66%; width: 120px; height: 2px; background: rgba(21,18,43,.35); transform: translateX(-30px); }
@keyframes bob { 50% { transform: translateY(-3px); } }
@keyframes trail { 0% { opacity: 1; } 100% { opacity: 0; transform: translateX(-14px); } }
.agent-pick { margin-top: 16px; }
.agent-pick label { font-size: 13px; font-weight: 700; display: block; margin-bottom: 8px; }
.picker { display: flex; align-items: center; gap: 10px; width: 210px; border: var(--line); box-shadow: var(--sh-sm); padding: 6px 10px; font-size: 13px; font-weight: 700; overflow: hidden; height: 34px; }
.picker .ico { width: 16px; height: 16px; flex: none; }
.picker .names { position: relative; flex: 1; height: 20px; }
.picker .names span { position: absolute; inset: 0; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .45s; }
.picker .caret { color: var(--ink-mute); font-size: 11px; }
/* card 4: crew of faces */
.crew { display: flex; gap: 10px; position: relative; z-index: 1; }
.crew .face { width: 58px; height: 58px; border: var(--line); box-shadow: var(--sh-sm); background: #fff; animation: hop 1.6s ease-in-out infinite; }
.crew .face:nth-child(2) { animation-delay: .15s; } .crew .face:nth-child(3) { animation-delay: .3s; } .crew .face:nth-child(4) { animation-delay: .45s; }
.crew .face:nth-child(odd) { --r: -6deg; } .crew .face:nth-child(even) { --r: 5deg; }
@keyframes hop { 0%, 60%, 100% { transform: translateY(0) rotate(var(--r)); } 30% { transform: translateY(-12px) rotate(var(--r)); } }

/* ---------- how it works ---------- */
#how { background: #fff; padding: 96px 0 110px; border-bottom: var(--line); }
.how-steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; counter-reset: how; position: relative; }
.how-steps::before { content: ""; position: absolute; top: 70px; left: 12%; right: 12%; border-top: 2px dashed var(--ink-mute); z-index: 0; }
.how-step { position: relative; z-index: 1; background: #fff; border: var(--line); box-shadow: var(--sh); padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; transition: transform .2s, box-shadow .2s; }
.how-step:hover { transform: translate(-3px, -3px); box-shadow: 7px 7px 0 var(--ink); }
.how-n { position: absolute; top: -16px; left: 18px; font: 700 13px var(--mono); background: var(--ink); color: #fff; padding: 4px 9px; }
.how-art { height: 96px; border: var(--line); display: grid; place-items: center; margin-bottom: 6px; }
.how-art.c-lemon { background: var(--lemon); } .how-art.c-violet { background: var(--violet); } .how-art.c-aqua { background: var(--aqua); }
.how-art [data-art] { width: 52px; height: 52px; display: block; animation: float 3s ease-in-out infinite; --r: 0deg; }
.how-faces { display: flex; gap: 8px; }
.how-faces span { width: 40px; height: 40px; display: block; border: var(--line); animation: hop 2.4s ease-in-out infinite; --r: 0deg; }
.how-faces span:nth-child(2) { animation-delay: .2s; } .how-faces span:nth-child(3) { animation-delay: .4s; }
.how-step h3 { font-size: 19px; }
.how-step p { font-size: 14px; line-height: 1.65; color: var(--ink-soft); }
.how-step .link { margin-top: auto; font-weight: 700; font-size: 13.5px; align-self: flex-start; border-bottom: 2px solid var(--ink); }
.how-cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 48px; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s cubic-bezier(.2,.8,.2,1); }
.reveal.seen { opacity: 1; transform: none; }
.how-step.reveal:nth-child(2) { transition-delay: .12s; } .how-step.reveal:nth-child(3) { transition-delay: .24s; }
.badge { position: absolute; left: 50%; bottom: -9px; transform: translateX(-50%); font-family: var(--mono); font-size: 8px; font-weight: 700; padding: 0 3px; border: 1.5px solid var(--ink); background: var(--mint); white-space: nowrap; }
.badge.h { background: var(--lemon); }

/* ---------- FAQ ---------- */
#faq { padding: 96px 0 110px; }
.faq { max-width: 820px; margin: 48px auto 0; border: var(--line); box-shadow: 6px 6px 0 var(--ink); background: #fff; padding: 4px 28px; }
.qa { border-bottom: 1.5px solid rgba(21,18,43,.15); }
.qa:last-child { border-bottom: 0; }
.qa button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; padding: 22px 0; font-weight: 700; font-size: 16px; }
.qa .pm { width: 18px; height: 18px; border: 1.5px solid var(--ink); position: relative; flex: none; box-shadow: var(--sh-sm); }
.qa .pm::before, .qa .pm::after { content: ""; position: absolute; left: 3px; right: 3px; top: 50%; height: 1.5px; margin-top: -.75px; background: var(--ink); transition: transform .25s; }
.qa .pm::after { transform: rotate(90deg); }
.qa.open .pm::after { transform: rotate(0); }
.qa .ans { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s ease; }
.qa.open .ans { grid-template-rows: 1fr; }
.qa .ans > div { overflow: hidden; }
.qa .ans p { font-size: 14.5px; line-height: 1.65; color: var(--ink-soft); padding-bottom: 14px; }
.qa .ans p:last-child { padding-bottom: 24px; }
.qa .ans b { color: var(--ink); }

/* ---------- CTA + footer ---------- */
.cta-band { background: var(--band); border-top: var(--line); border-bottom: var(--line); padding: 84px 16px; text-align: center; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: repeating-linear-gradient(45deg, transparent 0 18px, rgba(21,18,43,.06) 18px 20px);
  animation: stripes 6s linear infinite;
}
@keyframes stripes { to { background-position: 56px 0; } }
.cta-band > * { position: relative; }
.cta-band h2 { font-size: clamp(30px, 4vw, 44px); }
.cta-band p { margin-top: 14px; color: var(--ink-soft); }
.cta-band .btn { margin-top: 24px; }
.cta-band .signin { margin-top: 18px; font-size: 13px; color: var(--ink-soft); }
.cta-band .signin a { color: var(--ink); font-weight: 700; text-decoration: underline; }
footer { background: var(--ink); color: #fff; padding: 52px 0 36px; }
footer .logo { color: var(--band); }
footer .tag { color: rgba(255,255,255,.5); font-size: 13px; margin-top: 10px; }
.fcols { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 40px; }
.fcols h5 { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--band); margin-bottom: 14px; }
.fcols a { display: block; font-size: 14px; color: rgba(255,255,255,.85); margin-bottom: 10px; }
.fcols a:hover { color: var(--aqua); }
.store { display: inline-flex !important; align-items: center; gap: 8px; border: 1.5px solid rgba(255,255,255,.6); border-radius: 6px; padding: 5px 10px; font-size: 12px !important; }
.fbottom { display: flex; justify-content: space-between; align-items: center; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); font-size: 12px; color: rgba(255,255,255,.5); }
.socials { display: flex; gap: 10px; }
.socials a { width: 30px; height: 30px; border: 1.5px solid rgba(255,255,255,.5); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; }
.socials a:hover { background: var(--band); color: var(--ink); border-color: var(--band); }

/* ---------- inner pages ---------- */
.page-head { padding: 72px 0 40px; text-align: center; }
.page-head h1 { font-size: clamp(32px, 4vw, 44px); }
.page-head p { color: var(--ink-soft); margin-top: 12px; }
.toggle { display: inline-flex; margin-top: 26px; border: var(--line); box-shadow: var(--sh-sm); background: #fff; }
.toggle button { padding: 8px 22px; font-size: 13px; font-weight: 700; }
.toggle button.on { background: var(--band); }
.toggle button + button { border-left: var(--line); }
.toggle .save { font-family: var(--mono); font-size: 9px; background: var(--ink); color: #fff; padding: 1px 4px; margin-left: 6px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; padding-bottom: 96px; }
.plan { background: #fff; border: var(--line); box-shadow: var(--sh); padding: 26px 22px; display: flex; flex-direction: column; min-height: 470px; }
.plan.pop { transform: translateY(-14px); box-shadow: 8px 8px 0 var(--ink); }
.plan h3 { font-size: 20px; }
.plan .d { color: var(--ink-soft); font-size: 14px; margin-top: 6px; line-height: 1.5; min-height: 42px; }
.plan .price { font-size: 42px; font-weight: 700; margin-top: 18px; }
.plan .price small { font-size: 13px; font-weight: 400; color: var(--ink-mute); font-family: var(--mono); }
.plan .note { font-size: 12px; color: var(--ink-soft); margin-top: 6px; line-height: 1.5; }
.plan ul { list-style: none; margin: 20px 0 24px; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: ""; width: 6px; height: 6px; background: var(--ink); margin-top: 7px; flex: none; }
.plan .btn { margin-top: auto; justify-content: center; }
.plan .soon { font-size: 26px; color: var(--ink-mute); margin-top: 18px; font-weight: 700; }

.docs { display: grid; grid-template-columns: 240px 1fr; min-height: calc(100vh - 48px); }
.docs aside { border-right: var(--line); padding: 22px 14px; background: #fff; position: sticky; top: 48px; height: calc(100vh - 48px); overflow: auto; }
.docs aside h6 { font-size: 11px; color: var(--ink-mute); margin: 18px 8px 8px; font-weight: 700; }
.docs aside h6:first-child { margin-top: 0; }
.docs aside a { display: block; font-size: 14px; padding: 7px 8px; border: 2px solid transparent; }
.docs aside a.on { background: var(--band); border-color: var(--ink); box-shadow: var(--sh-sm); font-weight: 700; }
.docs aside a:not(.on):hover { background: var(--paper); }
.docs article { padding: 48px clamp(20px, 5vw, 72px); max-width: 860px; }
.docs article .crumb { font-size: 12px; color: var(--ink-mute); }
.docs article h1 { font-size: 34px; margin: 8px 0 24px; }
.docs article h2 { font-size: 22px; margin: 36px 0 12px; }
.docs article p, .docs article li { font-size: 15px; line-height: 1.75; color: var(--ink-soft); }
.docs article ul, .docs article ol { padding-left: 22px; }
.docs article li b { color: var(--ink); }
.docs article a { color: var(--cta); text-decoration: underline; }
.callout { border: var(--line); box-shadow: var(--sh-sm); background: var(--lemon); padding: 14px 16px; margin: 20px 0; font-size: 14px; }

.auth { min-height: calc(100vh - 48px); display: grid; place-items: center; padding: 40px 16px; }
.auth form { width: 100%; max-width: 380px; text-align: center; }
.auth h1 { font-size: 22px; margin: 14px 0 26px; }
.auth label { display: block; text-align: left; font-size: 12px; font-weight: 700; margin: 14px 0 6px; }
.auth input[type=email], .auth input[type=password] { width: 100%; border: var(--line); padding: 10px 12px; font: inherit; font-size: 14px; background: #fff; box-shadow: var(--sh-sm); outline: none; }
.auth input:focus { box-shadow: 4px 4px 0 var(--cta); }
.auth .agree { display: flex; gap: 8px; text-align: left; font-size: 13px; margin: 16px 0; align-items: flex-start; }
.auth .agree a { color: var(--cta); text-decoration: underline; }
.auth .btn { width: 100%; justify-content: center; margin-top: 10px; }
.auth .or { display: flex; align-items: center; gap: 10px; color: var(--ink-mute); font-size: 12px; margin: 18px 0 8px; }
.auth .or::before, .auth .or::after { content: ""; flex: 1; height: 1px; background: rgba(21,18,43,.2); }
.auth .alt { margin-top: 18px; font-size: 13px; }
.auth .alt a { font-weight: 700; text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 80px; }
  .hero-art { justify-self: center; }
  .feat-grid { grid-template-columns: 1fr; }
  .feat-sticky { display: none; }
  .feat-cards { gap: 28px; padding: 0; }
  .fcard { opacity: 1; transform: none; }
  .plans { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .plan.pop { transform: none; }
  .fcols { grid-template-columns: repeat(3, 1fr); }
  .how-steps { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; gap: 36px; }
  .how-steps::before { top: 0; bottom: 0; left: 50%; right: auto; border-top: 0; border-left: 2px dashed var(--ink-mute); }
}
@media (max-width: 760px) {
  .nav-links { display: none; position: absolute; top: 48px; left: 0; right: 0; flex-direction: column; align-items: flex-start; background: var(--band); border-bottom: var(--line); padding: 16px 24px 20px; gap: 14px; }
  .nav-links.open { display: flex; }
  .burger { display: block; }
  .wrap { padding: 0 16px; }
  .hero { padding: 48px 0 80px; }
  .tile.t1 { top: -34px; left: auto; right: 14px; }
  .hero .feed { height: 320px; }
  .tile.t2 { left: -8px; }
  .tile.t3 { right: -6px; }
  .faq { padding: 4px 18px; }
  .fcols { grid-template-columns: 1fr 1fr; }
  .fbottom { flex-direction: column; gap: 14px; align-items: flex-start; }
  .docs { grid-template-columns: 1fr; }
  .docs aside { position: static; height: auto; border-right: 0; border-bottom: var(--line); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .rise, .reveal { opacity: 1; transform: none; }
}
