/* Features page: the approved feature panels stacked as a list, grouped under numbered headings. */
.feature-list{--list-ink:var(--theme-ink,#191919);--list-copy:var(--theme-copy,#444);--list-muted:var(--theme-muted,#888);--list-line:var(--theme-line,#e9e9e9);--list-soft:var(--theme-soft,#f3f3f1);--list-surface:var(--theme-surface,#fff);--list-accent:var(--theme-accent,#24483e);--list-accent-soft:var(--theme-accent-soft,#eef3f0);margin-top:56px}
.feature-nav,.feature-group-head,.feature-row{width:calc(100% - 112px);max-width:1280px;margin-inline:auto}
.feature-list .container{max-width:1280px}

/* Group navigation: plain text labels, the current one marked by a thin underline. */
.feature-nav{display:flex;gap:36px;border-bottom:1px solid var(--list-line);overflow-x:auto;scrollbar-width:none}
.feature-nav::-webkit-scrollbar{display:none}
.feature-nav a{position:relative;flex:none;display:inline-flex;align-items:center;min-height:48px;font-size:14px;line-height:1.4;color:var(--list-muted);white-space:nowrap;transition:color .2s}
.feature-nav a::after{content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;background:var(--list-ink);transform:scaleX(0);transform-origin:left;transition:transform .28s cubic-bezier(.22,.8,.24,1)}
.feature-nav a:hover,.feature-nav a:focus-visible{color:var(--list-ink)}
.feature-nav a:hover::after,.feature-nav a:focus-visible::after{transform:scaleX(1)}

.feature-group{scroll-margin-top:calc(var(--site-header-height,76px) + 12px)}
.feature-group-head{display:flex;align-items:baseline;gap:18px;margin-top:104px;padding-bottom:22px;border-bottom:1px solid var(--list-ink)}
.feature-group:first-of-type .feature-group-head{margin-top:72px}
.feature-group-head span{font:500 13px/1 ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.08em;color:var(--list-muted)}
.feature-group-head h2{margin:0;font-size:clamp(28px,3vw,40px);line-height:1.25;letter-spacing:-.04em;font-weight:650;color:var(--list-ink)}
.page-demos .feature-group .team-section{margin-top:56px}

.feature-row{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:72px;align-items:center;padding-block:72px;border-top:1px solid var(--list-line);scroll-margin-top:calc(var(--site-header-height,76px) + 12px)}
.feature-group-head+.feature-row{border-top:0}
.feature-row:nth-of-type(even){grid-template-columns:minmax(0,7fr) minmax(0,5fr)}
.feature-row:nth-of-type(even) .feature-row-copy{order:2}
.feature-name{display:flex;align-items:center;gap:10px;margin:0 0 14px;font-size:13px;line-height:1.4;font-weight:600;letter-spacing:.02em;color:var(--list-muted)}
.feature-name::before{content:"";width:18px;height:1px;background:currentColor}
.feature-pro{display:inline-flex;align-items:center;height:20px;padding:0 8px;border-radius:99px;background:var(--list-accent-soft);color:var(--list-accent);font-size:11px;font-weight:500;line-height:1;letter-spacing:0}
.page-demos .feature-row .gallery-copy{display:block}
.page-demos .feature-row .gallery-copy h2{font-size:clamp(28px,2.7vw,36px);line-height:1.35;letter-spacing:-.04em}

.feature-shot{position:relative;margin:0;aspect-ratio:4/3;overflow:hidden;border-radius:18px;background:var(--list-soft);box-shadow:0 0 0 1px var(--list-line),0 30px 60px -36px rgba(25,35,30,.28)}
.feature-shot-wide{aspect-ratio:16/10}
.feature-shot>img{display:block;width:100%;height:100%;object-fit:cover}
.feature-replay{position:absolute;right:14px;bottom:14px;z-index:4;min-height:36px;padding:0 14px;border:1px solid var(--list-line);border-radius:99px;background:var(--list-surface);color:var(--list-ink);font:inherit;font-size:13px;line-height:1;cursor:pointer}
.feature-replay[hidden]{display:none}

@media(max-width:980px){
  .feature-row,.feature-row:nth-of-type(even){grid-template-columns:1fr;gap:28px;padding-block:48px}
  .feature-row:nth-of-type(even) .feature-row-copy{order:0}
}
@media(max-width:760px){
  .feature-list{margin-top:36px}
  .feature-nav,.feature-group-head,.feature-row{width:calc(100% - 40px)}
  .feature-nav{gap:26px}
  .feature-group-head{margin-top:72px;padding-bottom:16px}
  .feature-group:first-of-type .feature-group-head{margin-top:48px}
  .feature-replay{min-height:44px}
}
