/* How it works v2 (2026-11-16, founder's reference): 6 feature cards, each with a cropped piece of product UI
   on top that fades out, then a cobalt label, a title and a short description. Our colours. */
.how6 { position: relative; padding: clamp(90px, 10vw, 140px) clamp(18px, 3.4vw, 48px); overflow: hidden; }
.how6::before { content: ""; position: absolute; left: 50%; top: 52%; width: 900px; height: 700px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(52,120,247,.22), rgba(52,120,247,0)); pointer-events: none; }
.how6-head { text-align: center; position: relative; margin-bottom: clamp(40px, 5vw, 64px); }
.how6-head h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.1; }
.fgrid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; max-width: 1080px; margin: 0 auto; }
@media (max-width: 960px) { .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .fgrid { grid-template-columns: 1fr; } }
.fc6 { background: #fff; border-radius: 16px; box-shadow: 0 0 0 1px rgba(10,20,60,.06), 0 24px 50px -30px rgba(20,50,140,.35); overflow: hidden; padding-bottom: 30px; }
.fc6 .lbl { margin: 20px 32px 8px; font-size: 13.5px; color: var(--cobalt-text); }
.fc6 h3 { margin: 0 32px 10px; font: 500 19.5px/1.25 var(--sans); letter-spacing: -.01em; }
.fc6 .d { margin: 0 32px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }

/* the visual area: soft backgrounds, the UI fragment, and a fade at the bottom */
.viz { position: relative; height: 220px; overflow: hidden; background: #fbfcfe; -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%); mask-image: linear-gradient(180deg, #000 62%, transparent 100%); }
.v-grid { background-image: linear-gradient(rgba(10,20,60,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(10,20,60,.045) 1px, transparent 1px); background-size: 34px 34px; }
.v-faded { background: linear-gradient(135deg, #f4f7fe, #fbfcfe 60%); }
.frag { position: absolute; background: #fff; border-radius: 10px; box-shadow: 0 0 0 1px rgba(10,20,60,.08), 0 10px 24px -14px rgba(20,50,140,.3); font-size: 12.5px; color: var(--ink); }

/* 1 · project panel */
.f-contact { left: 26px; top: 26px; width: 250px; padding: 12px 14px; }
.f-contact .fh { display: flex; align-items: center; gap: 7px; font-size: 13px; }
.f-contact .app { font: 600 9px/1 var(--sans); color: var(--ink-3); border: 1px solid var(--line); border-radius: 4px; padding: 3px 4px; letter-spacing: .04em; }
.f-contact .t { color: var(--ink-3); font-size: 11.5px; }
.f-contact .fs { color: var(--ink-2); font-size: 11.5px; margin: 6px 0 12px; display: flex; gap: 6px; }
.f-contact .fs .e { filter: grayscale(1); font-size: 11px; }
.kv2 { display: grid; grid-template-columns: 70px 1fr; gap: 8px; padding: 5px 0; font-size: 12px; }
.kv2 span:first-child { color: var(--ink-3); }
.bub { position: absolute; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(10,20,60,.08), 0 8px 18px -8px rgba(20,50,140,.35); display: grid; place-items: center; font: 600 14px/1 var(--sans); }
.bub.b1 { left: 258px; top: 58px; background: var(--cobalt); color: #fff; box-shadow: 0 0 0 3px #fff, 0 8px 18px -8px rgba(20,50,140,.5); }
.bub.b2 { left: 258px; top: 108px; }
.bub.b2 svg { width: 18px; height: 18px; stroke: var(--cobalt); fill: none; stroke-width: 1.5; }
.bub.b1::after { content: ""; position: absolute; left: 50%; top: 42px; width: 1px; height: 8px; background: var(--line); }

/* 2 · ideas table with a live cursor */
.f-table { left: 0; right: -40px; top: 26px; border-radius: 0; box-shadow: none; background: transparent; font-size: 11.5px; }
.tr { display: grid; grid-template-columns: 1.4fr 1fr .8fr .5fr; border-bottom: 1px solid rgba(10,20,60,.06); }
.tr > span { padding: 7px 10px; border-right: 1px solid rgba(10,20,60,.06); color: var(--ink-3); white-space: nowrap; overflow: hidden; }
.tr > span.m { color: var(--ink); }
.tr .c { text-align: right; }
.tr.th { background: #f4f6fa; } .tr.th > span { color: var(--ink-3); font-weight: 500; }
.tr.th > span:nth-child(3) { color: var(--ink); background: #edf1f8; }
.tr > span:nth-child(3) { background: #fafbfd; color: var(--ink); }
.tr .edit { position: relative; overflow: visible; box-shadow: inset 0 0 0 1.5px var(--cobalt); background: #fff !important; }
.tr .edit i { display: inline-block; width: 1px; height: 12px; background: var(--ink); margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(2) infinite; }
.tr .edit .who { position: absolute; left: -1px; top: -16px; background: var(--cobalt); color: #fff; font: 500 10px/1 var(--sans); padding: 3px 6px; border-radius: 4px 4px 4px 0; }
@keyframes blink { 50% { opacity: 0; } }

/* 3 · command palette + keycaps */
.f-cmd { left: 26px; right: 26px; top: 26px; padding: 0 0 8px; }
.f-cmd .q { padding: 11px 14px; color: var(--ink-3); border-bottom: 1px solid var(--line); }
.f-cmd .grp { padding: 9px 14px 4px; font-size: 10.5px; color: var(--ink-3); }
.f-cmd .it { display: flex; align-items: center; gap: 9px; padding: 6px 14px; }
.f-cmd .it.on { background: #f2f6fe; }
.f-cmd .it svg { width: 13px; height: 13px; stroke: var(--ink-2); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.f-cmd kbd { margin-left: auto; font: 400 10.5px/1 var(--sans); color: var(--ink-3); }
.keys { position: absolute; right: 26px; bottom: 30px; display: flex; gap: 6px; z-index: 2; }
.key { min-width: 34px; height: 34px; padding: 4px 8px; border-radius: 7px; background: #fff; box-shadow: 0 0 0 1px rgba(10,20,60,.14), 0 2px 0 rgba(10,20,60,.12); display: grid; place-items: center; font: 500 11px/1.1 var(--sans); text-align: center; }
.key.w { min-width: 66px; } .key small { display: block; font-size: 10px; }

/* 4 · two ways + settings panel */
.f-ab { left: 18px; right: -30px; top: 22px; bottom: -10px; background: transparent; box-shadow: none; display: grid; grid-template-columns: 1fr 150px; gap: 10px; }
.f-ab .shots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.f-ab .sh { position: relative; border-radius: 9px; overflow: hidden; box-shadow: 0 0 0 1px rgba(10,20,60,.08); background: #f6f8f6; height: 190px; }
.f-ab .sh.on { box-shadow: 0 0 0 2px var(--cobalt); }
.f-ab .sh img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.f-ab .sh span { position: absolute; left: 6px; bottom: 6px; font: 600 10px/1 var(--sans); background: #fff; padding: 4px 6px; border-radius: 4px; }
.f-ab .sh.on span { background: var(--cobalt); color: #fff; }
.pan2 { background: #fff; border-radius: 10px; box-shadow: 0 0 0 1px rgba(10,20,60,.08), 0 10px 24px -14px rgba(20,50,140,.3); padding: 8px; align-self: start; }
.seg3 { display: grid; grid-template-columns: 1fr 1fr; border-radius: 7px; box-shadow: inset 0 0 0 1px var(--line); margin-bottom: 8px; }
.seg3 span { text-align: center; padding: 6px 0; font-size: 11px; color: var(--ink-3); }
.seg3 span.on { background: #f2f6fe; color: var(--ink); border-radius: 7px; box-shadow: inset 0 0 0 1px rgba(52,120,247,.3); }
.pl { font-size: 10.5px; font-weight: 600; margin: 8px 2px 4px; }
.sel { font-size: 11px; padding: 6px 8px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); }
.row3 { display: flex; align-items: center; gap: 6px; font-size: 11px; padding: 6px 8px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--line); }
.sq3 { width: 8px; height: 8px; border-radius: 2px; background: var(--cobalt); }

/* 5 · chat */
.f-chat { left: 30px; right: 30px; top: 26px; background: transparent; box-shadow: none; display: grid; gap: 14px; }
.msg8 { display: grid; grid-template-columns: 26px 1fr; gap: 10px; }
.ava { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font: 600 11px/1 var(--sans); box-shadow: 0 0 0 1px rgba(10,20,60,.08); }
.ava.c { background: #dfe9fe; color: var(--cobalt-text); } .ava.k { background: #fff; }
.mk2 { width: 12px; height: 12px; border-radius: 3px; background: var(--ink); position: relative; display: block; }
.mk2::before, .mk2::after { content: ""; position: absolute; left: 2.5px; right: 2.5px; height: 1.3px; background: #fff; } .mk2::before { top: 3.5px; } .mk2::after { top: 6.5px; right: 4.5px; }
.msg8 .nm { display: flex; justify-content: space-between; font-weight: 600; font-size: 12px; margin-bottom: 5px; }
.msg8 .nm span { font-weight: 400; color: var(--ink-3); font-size: 11px; }
.bq { display: inline-block; padding: 6px 10px; border-radius: 7px; background: #fff; box-shadow: 0 0 0 1px rgba(10,20,60,.1); }
.ba { padding: 10px 12px; border-radius: 8px; color: #fff; background: linear-gradient(135deg, #3478F7, #1f4fd6); line-height: 1.45; box-shadow: 0 10px 22px -12px rgba(31,79,214,.6); }

/* 6 · centre icon on a dot grid with streaks */
.v-dots { background-color: #fbfcfe; background-image: radial-gradient(rgba(52,120,247,.55) 1.2px, transparent 1.4px); background-size: 18px 18px; background-position: 0 0; -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 45%); }
.v-dots::before { content: ""; position: absolute; inset: 0 50% 0 0; background: linear-gradient(90deg, #fbfcfe 30%, rgba(251,252,254,.6)); }
.streak { position: absolute; left: 6%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, rgba(52,120,247,0), rgba(52,120,247,.5)); }
.streak.s1 { top: 34%; width: 38%; } .streak.s2 { top: 48%; width: 30%; left: 14%; } .streak.s3 { top: 60%; width: 34%; } .streak.s4 { top: 72%; width: 22%; left: 22%; }
.core { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); width: 64px; height: 64px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 1px rgba(10,20,60,.08), 0 0 0 10px rgba(255,255,255,.7), 0 16px 34px -12px rgba(52,120,247,.6); }
.core svg { width: 28px; height: 28px; stroke: var(--cobalt); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
