.sec { display: flex; flex-direction: column; gap: 40px; padding-top: 160px; }
.h2 { color: var(--ink); font: 500 54px/56px var(--sans); letter-spacing: -1.9px; text-wrap: balance; }
.h2.center { text-align: center; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.features h3 { color: var(--ink-2); font-size: 16px; line-height: 24px; font-weight: 500; }
.features p { margin-top: 4px; color: var(--muted); }
.ctl-btn { position: absolute; right: 12px; bottom: 12px; width: 32px; height: 32px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; z-index: 3; }
.ctl-btn svg { width: 10px; height: 10px; }
.paused * { animation-play-state: paused !important; }

/* the example: the warning as it lands in Slack, each claim tied to its record */
.msg { width: 100%; max-width: 620px; padding: 20px 24px 24px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 60px rgba(0, 0, 0, .06); }
.msg-chan { display: flex; align-items: center; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid #f1f1ef; font-size: 14px; color: var(--muted); }
.msg-chan img { width: 16px; height: 16px; }
.msg-chan b { color: var(--ink); font-weight: 600; }
.msg-chan span { margin-left: auto; font-size: 13px; }
.msg-body { display: grid; grid-template-columns: 40px 1fr; gap: 12px; margin-top: 16px; }
.msg-av { width: 40px; height: 40px; border-radius: 8px; box-shadow: 0 0 0 1px var(--line); display: grid; place-items: center; }
.msg-av svg { width: 24px; height: 25px; }
.who { display: flex; align-items: center; gap: 6px; font-size: 15px; font-weight: 700; color: var(--ink); }
.who span { padding: 0 4px; border-radius: 3px; background: var(--soft-2); color: var(--muted); font-size: 10px; font-weight: 600; }
.who time { font-size: 12px; font-weight: 400; color: var(--muted); }
.alert-text { margin-top: 2px; color: var(--ink); font-size: 16px; line-height: 26px; }
.claim { cursor: default; border-radius: 3px; background: linear-gradient(var(--teal-soft), var(--teal-soft)) no-repeat 0 100% / 100% 2px; transition: background-size .2s ease-out; }
.claim sup { font: 600 10px var(--mono); color: var(--teal); margin-left: 1px; }
.claim.on { background-size: 100% 100%; }
.srcs { margin-top: 14px; font-size: 13px; line-height: 18px; color: var(--muted); }
.srcs li { display: flex; align-items: center; gap: 8px; padding: 5px 8px; margin: 0 -8px; border-radius: 6px; transition: background-color .2s; }
.srcs i { width: 10px; font-style: normal; font: 600 11px var(--mono); color: var(--teal); }
.srcs img { width: 14px; height: 14px; object-fit: contain; }
.srcs li.on { background: var(--teal-soft); color: var(--ink); }

/* Notion's tabbed feature block: features on the left, the matching screen on the right */
.tabs { display: grid; grid-template-columns: 400px 1fr; gap: 48px; align-items: start; }
.tablist { display: flex; flex-direction: column; margin-top: 40px; }
.tablist button { text-align: left; padding: 16px 0 16px 20px; border-left: 2px solid var(--line); transition: border-color .2s; }
.tablist button[aria-selected="true"] { border-left-color: var(--ink); }
.tablist h3 { font-size: 18px; line-height: 26px; font-weight: 500; color: var(--muted); transition: color .2s; }
.tablist p { display: none; margin-top: 4px; color: var(--muted); }
.tablist [aria-selected="true"] h3 { color: var(--ink); }
.tablist [aria-selected="true"] p { display: block; }
.pane { min-height: 600px; border-radius: 12px; background: #2c6f66 url("../assets/wallpaper.jpg") center / cover; display: grid; place-items: center; padding: 48px; }
.panel { width: 100%; display: grid; justify-items: center; animation: rise .4s cubic-bezier(.2, .8, .2, 1); }
.panel[hidden] { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.pane .msg { box-shadow: 0 30px 80px rgba(6, 40, 36, .35); }
.msg-body + .msg-body { margin-top: 20px; }
.face-pn { background: var(--teal); color: #fff; font-size: 13px; font-weight: 600; box-shadow: none; }
.from { display: flex; gap: 6px; margin-top: 10px; }
.from img { width: 24px; height: 24px; padding: 4px; border-radius: 6px; box-shadow: 0 0 0 1px var(--line); }
.mk-s { width: 16px; height: 17px; }
.draft-to { margin-top: 16px; font-size: 13px; color: var(--muted); }
.draft { margin-top: 8px; padding: 14px 16px; border-radius: 8px; background: #f8f8f7; color: var(--ink); line-height: 26px; }
.draft-acts { display: flex; gap: 8px; margin-top: 16px; }
.draft-acts .btn { height: 36px; padding: 0 16px; font-size: 14px; }

/* how it works diagram: sources, the mark, one customer record */
.diagram { position: relative; display: grid; grid-template-columns: 306px 1fr 604px; align-items: center; min-height: 440px; }
.sources { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }
.source { display: flex; align-items: center; gap: 14px; height: 76px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.source img { width: 44px; height: 44px; object-fit: contain; }
.source b { display: block; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--ink); }
.source span { font-size: 12px; line-height: 16px; color: var(--muted); }
.source.done span { color: var(--teal-2); }
.wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.wires path { fill: none; stroke: #c9c8c4; stroke-width: 1; stroke-dasharray: 2 4; }
.wires circle { fill: var(--teal); }
.face { justify-self: center; position: relative; z-index: 1; width: 80px; height: 80px; border-radius: 50%; background: #fff; border: 2px solid #000; display: grid; place-items: center; }
.face svg { width: 42px; height: 44px; }
.company { position: relative; z-index: 1; border-radius: 16px; border: 1px solid var(--line); background: #fff; padding: 36px 46px; }
.company-title { font: 650 32px/40px var(--sans); letter-spacing: -.8px; color: #a3a29f; transition: color .6s; }
.company.filled .company-title { color: var(--ink); }
.groups { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; margin-top: 28px; }
.group h4 { font-size: 18px; line-height: 24px; font-weight: 600; color: #a3a29f; transition: color .6s; }
.company.filled .group h4 { color: var(--ink); }
.cells { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.cell { height: 66px; border-radius: 6px; padding: 10px 12px; background: linear-gradient(110deg, #f4f3f1 40%, #fbfbfa 50%, #f4f3f1 60%) 0 0 / 300% 100%; animation: shimmer 2.2s linear infinite; font-size: 13px; line-height: 18px; color: transparent; transition: color .5s, background .5s; }
.cell b { display: block; font: 500 18px/24px var(--mono); letter-spacing: -.5px; }
@keyframes shimmer { to { background-position: -150% 0; } }
.company.filled .cell { animation: none; background: #f7f7f5; color: var(--muted); }
.company.filled .cell b { color: var(--ink); }
.company.filled .cell.bad b { color: var(--risk); }

/* who it's for: Notion's customer carousel, one card per role */
.teams-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.teams-head p { margin-top: 12px; color: var(--muted); }
.viewport { overflow: hidden; margin-right: calc(-1 * var(--gutter)); }
.track { display: flex; gap: 16px; transition: transform .6s cubic-bezier(.65, 0, .35, 1); }
.slide { flex: none; width: 400px; height: 550px; border-radius: 12px; overflow: hidden; position: relative; background: var(--soft); box-shadow: var(--shadow); }
.slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: hue-rotate(var(--h, 0deg)) saturate(var(--s, 1)); }
.slide-top { position: relative; padding: 28px 32px 0; color: #fff; }
.slide-top small { font-size: 14px; font-weight: 500; opacity: .85; }
.slide-top h3 { margin-top: 6px; font: 600 26px/32px var(--sans); letter-spacing: -.6px; text-shadow: 0 1px 12px rgba(0, 0, 0, .2); }
.preview { position: absolute; left: 32px; right: -40px; bottom: -1px; height: 300px; border-radius: 8px 0 0 0; background: #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, .2); overflow: hidden; font-size: 14px; line-height: 20px; color: #37352f; }
.preview .bar { height: 30px; display: flex; align-items: center; gap: 6px; padding: 0 12px; background: #f8f8f7; border-bottom: 1px solid #efefed; }
.preview .bar i { width: 10px; height: 10px; border-radius: 50%; background: #e2e1df; }
.preview .q { margin: 14px 16px 10px; padding: 8px 12px; border-radius: 8px; background: var(--soft); color: #91918e; }
.preview .a { margin: 0 16px; }
.preview .a b { display: block; font-size: 22px; line-height: 28px; font-weight: 650; letter-spacing: -.4px; margin-bottom: 6px; color: #37352f; }
.preview .a p { color: #5f5e5b; }
.preview .from { display: flex; gap: 6px; margin: 14px 16px 0; }
.preview .from img { width: 22px; height: 22px; padding: 3px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.arrows { display: flex; justify-content: flex-end; gap: 8px; }
.arrows button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 18px; transition: background-color .15s, opacity .2s; }
.arrows button:hover { background: var(--soft); }
.arrows button:disabled { opacity: .35; cursor: default; }

/* questions */
.faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; color: var(--ink); font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 20px; color: var(--muted); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 20px 0; color: var(--muted); }

/* closing */
.join { padding-top: 200px; text-align: center; }
.join h2 { color: var(--ink); font: 500 80px/80px var(--sans); letter-spacing: -2.8px; text-wrap: balance; }
.join p { max-width: 560px; margin: 24px auto 32px; font-size: 18px; line-height: 28px; text-wrap: balance; }
.signup { display: flex; justify-content: center; gap: 8px; }
.signup input { width: 260px; height: 44px; padding: 0 20px; border-radius: 9999px; border: 1px solid var(--line); font: inherit; background: #fff; }
.signup input:focus { outline: none; border-color: #000; }
.join .mail { margin-top: 16px; font-size: 14px; color: var(--muted); }
.join .mail a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1100px) {
  .diagram { grid-template-columns: 260px 1fr; gap: 24px 0; }
  .company { grid-column: 1 / -1; }
  .wires { display: none; }
}
@media (max-width: 840px) {
  .sec { gap: 24px; padding-top: 96px; }
  .h2 { font-size: 26px; line-height: 32px; font-weight: 600; letter-spacing: -.6px; }
  .features { grid-template-columns: 1fr; gap: 12px; }
  .tabs { grid-template-columns: 1fr; gap: 24px; }
  .tablist { margin-top: 16px; }
  .tablist h3 { font-size: 16px; line-height: 24px; }
  .pane { min-height: 0; padding: 16px; border-radius: 8px; }
  .msg { padding: 16px; }
  .msg-chan span, .msg-av { display: none; }
  .msg-body { grid-template-columns: 1fr; }
  .diagram { grid-template-columns: 1fr; }
  .face { display: none; }
  .source { height: 60px; }
  .company { padding: 24px; }
  .groups { grid-template-columns: 1fr; }
  .teams-head { flex-direction: column; align-items: flex-start; }
  .slide { width: 276px; height: 380px; border-radius: 6px; }
  .slide-top { padding: 20px 20px 0; }
  .slide-top h3 { font-size: 20px; line-height: 26px; }
  .preview { left: 20px; height: 200px; }
  .faq { grid-template-columns: 1fr; }
  .join { padding-top: 120px; }
  .join h2 { font-size: 40px; line-height: 40px; font-weight: 600; letter-spacing: -1.2px; }
  .join p { font-size: 16px; line-height: 24px; }
  .signup { flex-direction: column; align-items: center; }
  .signup input { width: 100%; max-width: 320px; }
}
