/* Feature detail pages (/features/<slug>/ + es/features/<slug>/). Loaded alongside styles.css,
   which supplies nav, footer, buttons, cards, hero tokens, and the .phone device frame. This file
   only adds the feature-page-specific showcase layout. Single source of truth — edit here, not per page. */

/* Feature hero — copy on the left, one web-app screenshot (styles.css .hero-shot) on the right. */
.feat-hero { background: var(--bg-alt); padding: 56px 0; }
.feat-hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; margin: 18px 0 0; }
.feat-hero p.lead { font-size: 19px; color: var(--muted); margin: 20px 0 0; max-width: 46ch; }
.feat-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
@media (max-width: 860px) {
  .feat-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .feat-hero-grid .hero-shot { order: 2; }
}

/* Breadcrumb above the hero title. */
.crumbs { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 500; }
.crumbs a { color: var(--brand); }
.crumbs a:hover { color: var(--brand-strong); }
.crumbs svg { width: 14px; height: 14px; opacity: .6; }

/* Feature list: three columns of copy that share the single hero screenshot. */
.feat-list { row-gap: 40px; }
.feat-list h3 { font-size: 20px; font-weight: 700; margin: 0 0 10px; }
.feat-blurb { color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding: 8px 0 8px 32px; font-size: 15px; color: var(--ink-2); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 22px; height: 22px;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235038ef' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) {
  .ticks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23747ffb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
}

/* "Explore more features" cross-link grid at the foot of every feature page (internal linking + discovery). */
.more-feats { border-top: 1px solid var(--line); }
.more-feats a.card { display: block; transition: transform .12s ease, box-shadow .15s ease; }
.more-feats a.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.more-feats a.card h3 { color: var(--ink); }
.more-feats a.card .go { color: var(--brand); font-size: 14px; font-weight: 600; margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; }
