/* AI Manager — hand-written page body (ported from the v6 mockup).
   Everything is scoped under main.aim so it never reaches the shared
   header, footer or legal bar, which still use the legacy page CSS. */

.aim { --black: #161616; --ink: #0e1728; --soft: #a3a3a3; --ok: #15803d; --cream: #f9f7f2; --accent: #f9cf01; --gold: #b09200; --quiet: #525252; --rule: #e5e5e5; --sans: "Manrope", "Inter", -apple-system, sans-serif; --ui: "Inter", -apple-system, sans-serif; --serif: "Newsreader", Georgia, serif; }
.aim { margin: 0; font-family: var(--ui); font-size: 17px; line-height: 1.55; color: var(--black); background: #fff; -webkit-font-smoothing: antialiased; }
.aim p { margin: 0; }
.aim img { max-width: 100%; height: auto; display: block; }
.aim .wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.aim h1, .aim h2, .aim h3 { font-family: var(--sans); letter-spacing: -0.025em; margin: 0; }
.aim h2 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 800; line-height: 1.12; }
.aim h3 { font-size: 19px; font-weight: 700; line-height: 1.3; }
.aim .cta { display: inline-block; padding: 16px 30px; border-radius: 999px; background: var(--accent); color: var(--black); font-size: 16px; font-weight: 600; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.aim .cta:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(249,207,1,.35); }
.aim .band { padding: 96px 0; }
.aim .band--cream { background: var(--cream); }
.aim .band--dark { background: var(--black); color: #fff; }
.aim .center { text-align: center; }
.aim .center h2 { max-width: 780px; margin: 0 auto; }
.aim .hero { position: relative; color: #fff; overflow: hidden; min-height: 620px; display: flex; align-items: center; background: var(--black); }
.aim .hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 40%; }
.aim .hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,16,16,.92) 0%, rgba(16,16,16,.78) 42%, rgba(16,16,16,.12) 78%); }
.aim .hero .wrap { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 72px; width: 100%; }
.aim .kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; white-space: nowrap; font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.aim .badge { padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--black); font-size: 11px; letter-spacing: .08em; }
.aim .hero h1 { font-size: clamp(40px, 5.4vw, 66px); font-weight: 800; line-height: 1.04; margin-top: 22px; max-width: 820px; }
.aim .hero h1 span { color: var(--accent); }
.aim .hero .sub { margin-top: 22px; max-width: 540px; font-family: var(--serif); font-size: 22px; line-height: 1.45; font-style: italic; color: rgba(255,255,255,.82); }
.aim .hero .cta { margin-top: 34px; }
.aim .factbar { position: relative; z-index: 1; background: #0d0d0d; color: rgba(255,255,255,.8); }
.aim .factbar .wrap { display: flex; flex-wrap: wrap; gap: 10px 36px; padding-top: 18px; padding-bottom: 18px; font-size: 14px; }
.aim .factbar b { color: #fff; }
.aim .logos { border-bottom: 1px solid var(--rule); padding: 24px 0; }
.aim .logos .wrap { display: flex; align-items: center; justify-content: center; gap: 48px; flex-wrap: wrap; }
.aim .logos span { font-size: 13px; color: var(--quiet); }
.aim .logos img { height: 24px; width: auto; opacity: .65; filter: grayscale(1); }
.aim .pane { border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.aim .pane .label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
.aim .pane.chat { background: #f1f1f1; }
.aim .pane.chat .label { color: var(--quiet); }
.aim .b { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 15px; line-height: 1.4; }
.aim .b.me { align-self: flex-end; background: var(--black); color: #fff; border-bottom-right-radius: 4px; }
.aim .b.ai { align-self: flex-start; background: #fff; border: 1px solid var(--rule); color: #777; border-bottom-left-radius: 4px; }
.aim .pane .count { margin-top: auto; padding-top: 12px; font-size: 14px; color: var(--quiet); }
.aim .face { display: block; overflow: visible; }
.aim .face .head { fill: var(--ink); stroke: var(--accent); stroke-width: 4; stroke-linejoin: round; }
.aim .face .eyes { fill: #fff; stroke: #fff; transition: transform .25s ease-out; }
.aim .face .eyes .line { fill: none; stroke-width: 5.5; stroke-linecap: round; }
.aim .face .eyes .dot { stroke: none; }
.aim .face .lids { transform-box: fill-box; transform-origin: 50% 50%; animation: blink 6s infinite; }
@keyframes blink { 0%, 95%, 100% { transform: scaleY(1); } 97% { transform: scaleY(.1); } }
@media (prefers-reduced-motion: reduce) {
  .aim .face .lids { animation: none; }
  .aim .face .eyes { transition: none; }
}
.aim .pane .who { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.aim .pane .who .face { width: 44px; height: 44px; flex: none; }
.aim .pane .who .label { margin-bottom: 0; }
.aim .pane .who .label small { display: block; font-size: 15px; font-weight: 700; letter-spacing: 0; text-transform: none; font-family: var(--sans); color: inherit; }
.aim .pane.chat .who .label small { color: var(--black); }
.aim .constat { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 809px) {
  .aim .constat { grid-template-columns: 1fr; gap: 32px; }
}
.aim .app { background: #fff; border: 1px solid var(--rule); border-radius: 20px; box-shadow: 0 24px 60px rgba(14,23,40,.08); overflow: hidden; }
.aim .pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.aim .pill.work { background: #f1f1f1; color: var(--quiet); }
.aim .pill.work::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--quiet); animation: pulse 1.4s infinite; }
.aim .pill.wait { background: var(--accent); color: var(--black); }
.aim .pill.done { background: #e8f5ec; color: var(--ok); }
@keyframes pulse { 50% { opacity: .25; } }
.aim .msg { display: grid; grid-template-columns: 340px 1fr; min-height: 470px; }
.aim .msg-list { border-right: 1px solid var(--rule); padding: 8px; }
.aim .msg-row { display: flex; gap: 12px; align-items: center; width: 100%; padding: 12px; border: 0; border-radius: 14px; background: none; font: inherit; text-align: left; cursor: pointer; }
.aim .msg-head { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; }
.aim .msg-head b { font-family: var(--sans); font-size: 20px; color: var(--black); }
.aim .msg-head span { font-size: 13px; color: var(--soft); }
.aim .msg-row:hover { background: #f3f1ec; }
.aim .msg-row:hover .name { text-decoration: underline; text-underline-offset: 3px; }
.aim .msg-row[aria-selected="true"] { background: var(--cream); }
.aim .msg-row .face { width: 42px; height: 42px; flex: none; }
.aim .msg-row .txt { flex: 1; min-width: 0; }
.aim .msg-row .top { display: flex; align-items: center; gap: 8px; }
.aim .msg-row .name { font-family: var(--sans); font-weight: 800; font-size: 15px; }
.aim .domain { display: inline-block; padding: 2px 8px; border-radius: 6px; background: #fdf3c4; color: #6b5800; font-family: var(--ui); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5; white-space: nowrap; }
.aim .msg-row[aria-selected="true"] .domain { background: #fbe98a; }
.aim .msg-row .time { margin-left: auto; font-size: 12px; color: var(--soft); }
.aim .msg-row .prev { font-size: 14px; color: var(--quiet); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.aim .msg-row .unread { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); flex: none; }
.aim .thread { display: flex; flex-direction: column; }
.aim .thread-head { display: flex; align-items: center; gap: 12px; padding: 16px 24px; border-bottom: 1px solid var(--rule); }
.aim .thread-head .face { width: 34px; height: 34px; }
.aim .thread-head b { font-family: var(--sans); }
.aim .thread-head span { font-size: 13px; color: var(--soft); }
.aim .thread-head .domain { font-size: 10.5px; color: #6b5800; margin-left: 6px; }
.aim .thread-body { flex: 1; padding: 24px; display: flex; flex-direction: column; gap: 10px; justify-content: flex-end; }
.aim .tm-bubble { max-width: 78%; padding: 11px 15px; border-radius: 16px; border-bottom-left-radius: 4px; background: #f3f3f3; font-size: 15px; line-height: 1.45; animation: pop .35s ease-out both; }
.aim .tm-bubble.ask { background: var(--accent); font-weight: 600; }
.aim .tm-bubble small { display: block; margin-top: 3px; font-size: 11px; color: var(--soft); font-weight: 400; }
.aim .tm-bubble.ask small { color: rgba(0,0,0,.5); }
.aim .composer { margin: 0 24px 20px; padding: 12px 16px; border: 1px solid var(--rule); border-radius: 999px; font-size: 14px; color: var(--soft); }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 809px) {
  .aim .msg { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .aim .msg-list { border-right: 0; }
  .aim .thread { display: none; }
  .aim .msg-head span { display: none; }
}
.aim .feature .visual:has(.kpi) { padding: 18px; }
.aim .kpi { width: 100%; }
.aim .kpi-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--rule); font-size: 12px; color: var(--quiet); }
.aim .kpi-bar b { font-family: var(--sans); font-size: 14px; color: var(--black); }
.aim .kpi-legend { display: inline-flex; align-items: center; gap: 6px; }
.aim .kpi-legend i { width: 12px; height: 12px; border-radius: 3px; background: #fdf3c4; border-left: 2px dashed var(--ink); }
.aim .kpi-week { margin-left: auto; color: var(--soft); white-space: nowrap; }
.aim .kpi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); cursor: crosshair; }
.aim .kpi-cell { background: #fff; padding: 14px 16px 10px; }
.aim .kpi-cell .k { font-size: 12px; font-weight: 600; color: var(--quiet); }
.aim .kpi-cell .v { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; }
.aim .kpi-cell .v b { font-family: var(--sans); font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--black); }
.aim .kpi-cell .v span { font-size: 12px; font-weight: 600; color: var(--quiet); }
.aim .kpi-cell svg { display: block; width: 100%; height: 56px; margin-top: 6px; overflow: visible; }
.aim .kpi-cell .after { fill: #fdf3c4; }
.aim .kpi-cell .launch { stroke: var(--ink); stroke-width: 1; stroke-dasharray: 3 3; }
.aim .kpi-cell .curve { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 2000; stroke-dashoffset: 2000; }
.aim .kpi.on .curve { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s ease-out; }
.aim .kpi-lead { grid-column: 1 / -1; padding: 18px 20px 12px; }
.aim .kpi-lead .k { font-size: 14px; color: var(--black); }
.aim .kpi-lead .k span::before { content: '· '; }
.aim .kpi-lead .v b { font-size: 34px; }
.aim .kpi-lead svg { height: 96px; }
.aim .kpi-cell:not(.kpi-lead) { padding: 12px 12px 8px; }
.aim .kpi-cell:not(.kpi-lead) .k span { display: block; font-weight: 400; }
.aim .kpi-cell:not(.kpi-lead) .v { flex-wrap: wrap; column-gap: 6px; row-gap: 0; }
.aim .kpi-cell:not(.kpi-lead) .v b { font-size: 18px; }
.aim .kpi-cell:not(.kpi-lead) svg { height: 40px; }
.aim .kpi-cell .cursor { stroke: var(--soft); stroke-width: 1; opacity: 0; }
.aim .kpi-grid.hover .cursor { opacity: 1; }
@media (max-width: 809px) {
  .aim .kpi-legend { display: none; }
  .aim .kpi-bar { flex-wrap: wrap; row-gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .aim .kpi .curve { stroke-dashoffset: 0; transition: none; }
}
.aim .feature .visual:has(.br) { padding: 18px; }
.aim .br { width: 100%; }
.aim .br-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.aim .br-sent { align-self: flex-end; max-width: 86%; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--rule); border-radius: 12px; padding: 10px 14px 10px 10px; box-shadow: 0 4px 14px rgba(14,23,40,.06); }
.aim .br-file { width: 30px; height: 38px; flex: none; }
.aim .br-sent b { display: block; font-size: 14px; line-height: 1.3; }
.aim .br-sent span { display: block; font-size: 12px; color: var(--soft); }
.aim .br-reply { display: flex; gap: 10px; align-items: flex-start; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; }
.aim .br.on .br-reply { opacity: 1; transform: none; }
.aim .br.on .br-reply:nth-of-type(2) { transition-delay: .5s; }
.aim .br.on .br-reply:nth-of-type(3) { transition-delay: 1.1s; }
.aim .br.on .br-reply:nth-of-type(4) { transition-delay: 1.7s; }
.aim .br-reply .face, .aim .br-av { width: 32px; height: 32px; flex: none; }
.aim .br-av { display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #e7e5df; color: var(--quiet); font-size: 11px; font-weight: 700; }
.aim .br-team { position: relative; background: none; }
.aim .br-team i { position: absolute; width: 21px; height: 21px; border-radius: 50%; border: 2px solid #fff; background: #e7e5df; font-style: normal; font-size: 9px; display: flex; align-items: center; justify-content: center; }
.aim .br-team i:first-child { left: 0; top: 0; }
.aim .br-team i:last-child { right: 0; bottom: 0; background: #d6d3cb; }
.aim .br-reply > div { background: #f3f3f3; border-radius: 14px; border-top-left-radius: 4px; padding: 8px 12px; }
.aim .br-who { font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.aim .br-who em { font-style: normal; font-weight: 400; color: var(--soft); }
.aim .feature .br-reply p { font-family: var(--ui); font-size: 14px; line-height: 1.4; color: var(--black); }
@media (prefers-reduced-motion: reduce) {
  .aim .br-reply { opacity: 1; transform: none; transition: none; }
}
.aim .feature .visual:has(.sp) { padding: 18px; }
.aim .sp { width: 100%; }
.aim .sp .kpi-bar .face { width: 28px; height: 28px; flex: none; }
.aim .sp .kpi-bar .domain { font-size: 10.5px; }
.aim .sp-from { display: flex; gap: 10px; align-items: flex-start; max-width: 92%; }
.aim .sp-from .face { width: 32px; height: 32px; flex: none; }
.aim .sp-msg small { display: block; margin-top: 3px; font-size: 11px; color: var(--soft); }
.aim .sp-msg { align-self: flex-start; background: #f3f3f3; border-radius: 14px; border-top-left-radius: 4px; padding: 10px 14px; font-size: 14px; line-height: 1.45; }
.aim .sp-file { align-self: flex-start; margin-left: 42px; }
.aim .sp-state { margin-left: 10px; padding: 2px 9px; border-radius: 999px; background: #f1f1f1; color: var(--quiet); font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .04em; opacity: 0; transition: opacity .3s, background .3s, color .3s; }
.aim .sp.on .sp-state { opacity: 1; background: #dcfce7; color: var(--ok); transition-delay: 1.4s; }
.aim .sp-me { align-self: flex-end; max-width: 80%; background: var(--black); color: #fff; border-radius: 14px; border-bottom-right-radius: 4px; padding: 9px 14px; font-size: 14px; font-weight: 600; opacity: 0; transform: translateY(8px); transition: opacity .4s .8s, transform .4s .8s; }
.aim .sp-me small { display: block; font-size: 11px; font-weight: 400; color: rgba(255,255,255,.55); }
.aim .sp.on .sp-me { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .aim .sp-me, .aim .sp-state { opacity: 1; transform: none; transition: none; }
}
.aim .feature .visual:has(.streak) { padding: 18px; }
.aim .streak { width: 100%; }
.aim .streak .kpi-bar .face { width: 28px; height: 28px; flex: none; }
.aim .st-body { padding: 40px 20px 44px; }
.aim .st-now { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 32px; text-align: center; }
.aim .st-now span { flex-basis: 100%; }
.aim .st-cal { width: 110px; height: auto; flex: none; }
.aim .st-cal-top { fill: var(--black); }
.aim .st-cal .past { fill: #ecebe7; }
.aim .st-cal .later { fill: #fff; stroke: #e2e0da; stroke-width: 1; }
.aim .st-cal .ok { fill: var(--accent); }
.aim .st-cal .err { fill: var(--black); }
.aim .st-cal .err-x { stroke: #fff; stroke-width: 1.8; stroke-linecap: round; }
.aim .st-now b { display: block; font-family: var(--sans); font-size: 88px; font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--black); }
.aim .st-now span { display: block; margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--quiet); }
.aim .feature .visual:has(.advice) { padding: 18px; }
.aim .advice { width: 100%; padding: 20px 22px 24px; }
.aim .mail-head { display: flex; align-items: center; gap: 12px; }
.aim .mail-head .br-av { width: 36px; height: 36px; font-size: 12px; }
.aim .mail-head b { display: block; font-size: 14px; }
.aim .mail-head span:not(.br-av) { display: block; font-size: 12px; color: var(--soft); }
.aim .mail-head time { margin-left: auto; align-self: flex-start; font-size: 12px; color: var(--soft); }
.aim .mail-subject { margin-top: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); font-family: var(--sans); font-size: 18px; font-weight: 700; }
.aim .adv-msg { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .45s; }
.aim .feature .adv-msg p { font-family: var(--ui); font-size: 15px; line-height: 1.5; color: var(--black); }
.aim .feature .adv-msg .mail-sig { margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--rule); font-size: 12px; line-height: 1.5; color: var(--soft); }
.aim .advice.on .adv-msg { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .aim .adv-msg { opacity: 1; transform: none; transition: none; }
}
.aim .feature { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 56px 0; border-top: 1px solid var(--rule); }
.aim .feature:first-of-type { border-top: 0; }
.aim .feature:nth-child(even) .visual { order: -1; }
.aim .feature .no { font-family: var(--sans); font-weight: 800; font-size: 15px; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.aim .feature h3 { font-size: 28px; line-height: 1.2; }
.aim .feature p { color: #333; font-family: var(--serif); font-size: 19px; line-height: 1.6; }
.aim .visual { border-radius: 18px; background: var(--cream); border: 1px solid var(--rule); padding: 30px; min-height: 260px; display: flex; flex-direction: column; justify-content: center; gap: 12px; font-family: var(--ui); font-size: 15px; }
.aim .showcase-head .eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.aim .feature h3 { margin-bottom: 12px; }
.aim .showcase-head .lede { margin-top: 14px; font-family: var(--serif); font-size: 21px; line-height: 1.5; color: #333; }
.aim .demo { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
.aim .demo img { border-radius: 20px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.aim .demo h2 { margin-bottom: 18px; }
.aim .demo p { font-size: 18px; color: var(--quiet); }
.aim .fit { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.aim .fit > div { border-radius: 18px; padding: 30px 32px; }
.aim .fit .yes { background: #fff; border: 1px solid var(--rule); }
.aim .fit .no { background: #f1f1f1; color: var(--quiet); }
.aim .fit h3 { margin-bottom: 14px; }
.aim .fit ul { list-style: none; margin: 0; padding: 0; }
.aim .fit li { padding: 9px 0; border-top: 1px solid rgba(0,0,0,.07); }
.aim .fit .yes li::before { content: "✓ "; color: var(--gold); font-weight: 700; }
.aim .fit .no li::before { content: "✕ "; }
.aim .author { display: grid; grid-template-columns: 200px 1fr; gap: 48px; align-items: center; }
.aim .author img { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; }
.aim .author h2 { margin-bottom: 18px; }
.aim .author ul { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.aim .author li { padding: 8px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--rule); font-weight: 600; font-size: 15px; }
.aim .author p { font-family: var(--serif); font-size: 21px; line-height: 1.45; max-width: 640px; }
.aim .offer { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.aim .offer ul { list-style: none; margin: 0; padding: 0; }
.aim .offer li { display: grid; grid-template-columns: 200px minmax(0, 1fr); column-gap: 8px; padding: 13px 0; border-top: 1px solid var(--rule); }
.aim .ticket { background: #fff; border: 1px solid var(--rule); border-radius: 20px; padding: 34px 32px; box-shadow: 0 10px 34px rgba(0,0,0,.06); }
.aim .ticket .price { font-family: var(--sans); font-weight: 800; font-size: 46px; letter-spacing: -.03em; line-height: 1; }
.aim .ticket .price small { font-size: 16px; font-weight: 600; color: var(--quiet); letter-spacing: 0; }
.aim .ticket .note { font-size: 14px; color: var(--quiet); margin: 8px 0 22px; }
.aim .ticket .session { padding: 16px 18px; border-radius: 12px; background: var(--cream); margin-bottom: 22px; font-size: 15px; }
.aim .ticket .session b { display: block; font-family: var(--sans); font-size: 18px; }
.aim .ticket .cta { display: block; text-align: center; }
.aim .faq { max-width: 820px; margin-top: 36px; }
.aim .faq details { border-top: 1px solid var(--rule); padding: 20px 0; }
.aim .faq details:last-child { border-bottom: 1px solid var(--rule); }
.aim .faq summary { cursor: pointer; list-style: none; font-family: var(--sans); font-weight: 700; font-size: 20px; display: flex; justify-content: space-between; gap: 20px; }
.aim .faq summary::after { content: "+"; color: var(--gold); font-size: 26px; line-height: 1; }
.aim .faq details[open] summary::after { content: "–"; }
.aim .faq details p { margin-top: 12px; color: #333; max-width: 720px; }
.aim .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.aim .contact-grid h2 { margin-bottom: 18px; }
.aim .contact-grid .intro { font-size: 18px; color: rgba(255,255,255,.75); }
.aim .form { background: #fff; color: var(--black); border-radius: 18px; padding: 32px; }
.aim .form label { display: block; font-size: 13px; font-weight: 600; margin: 0 0 6px; }
.aim .form .field { margin-bottom: 18px; padding: 13px 14px; border: 1px solid #d4d4d4; border-radius: 10px; font-size: 15px; color: #9a9a9a; }
.aim .form .cta { width: 100%; text-align: center; border: 0; cursor: pointer; }
.aim .hl { color: var(--gold); }
.aim .demo .horizon { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--rule); color: var(--black); }
.aim .ticket .team { margin-top: 16px; font-size: 14px; color: var(--quiet); text-align: center; }
@media (max-width: 1199px) {
  .aim .feature { gap: 40px; }
}
@media (max-width: 809px) {
  .aim .band { padding: 64px 0; }
  .aim .hero { min-height: 0; }
  .aim .hero::after { background: linear-gradient(180deg, rgba(16,16,16,.5) 0%, rgba(16,16,16,.93) 50%); }
  .aim .hero .wrap { padding-top: 220px; padding-bottom: 48px; }
  .aim .hero .bg { object-position: 75% 0; height: 60%; }
  .aim .fit, .aim .demo, .aim .offer, .aim .contact-grid, .aim .author { grid-template-columns: minmax(0,1fr); }
  .aim .feature { grid-template-columns: minmax(0,1fr); gap: 28px; padding: 44px 0; }
  .aim .feature:nth-child(even) .visual { order: 0; }
  .aim .demo, .aim .offer, .aim .contact-grid, .aim .author { gap: 32px; }
  .aim .author img { width: 120px; height: 120px; }
}

/* --- Port to the site ------------------------------------------------- */
.aim { display: block; width: 100%; }
.aim *, .aim *::before, .aim *::after { box-sizing: border-box; }

/* blink offsets are set per face at build time */
.aim .face .lids { animation-delay: var(--blink-delay, 0s); animation-duration: var(--blink-duration, 6s); }

/* team inbox */
.aim .msg { margin-top: 44px; text-align: left; }
.aim .thread-head .pill { margin-left: auto; }
.aim .msg-row { color: inherit; }

/* practice 1: legend of each indicator */
.aim .kpi-cell .k span { font-weight: 400; color: var(--soft); }

.aim .offer h2 { margin-bottom: 28px; }

/* contact form: real fields with the mockup look */
.aim .form .field { display: block; width: 100%; font: inherit; font-size: 15px; color: var(--black); background: #fff; outline-color: var(--accent); }
.aim .form .field::placeholder { color: #9a9a9a; }
.aim .form textarea.field { min-height: 100px; resize: vertical; }
.aim .form .form-privacy-notice { margin-top: 14px; font-size: 12px; line-height: 1.5; color: var(--quiet); }
.aim .form .form-privacy-notice a { color: inherit; }
