/* ==========================================================================
   drpreetha.com — KPSC practice "Features" page (2026-09-30)
   page-designer: analyze(videos.php) -> card_grid 0.89 / topic_sections;
   inspire (qwen3-max) -> linear-feature-cards (grouped sections, short rule
   under each group heading), duo-phone-screenshot (screens in a device
   frame), exam-sheet-ruled (brick margin line). Combined + adapted to the
   live paper/ink theme and the OMR bubble motif. Scoped to .theme-feature-sheet.
   ========================================================================== */
.theme-feature-sheet { --ft-bezel: #13302f; }
.theme-feature-sheet .ft-eyebrow { font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--color-primary); margin: 0 0 .35rem; }
.theme-feature-sheet h1 { margin: 0; }
.theme-feature-sheet .ft-lead { color: var(--color-text-secondary); max-width: 660px; margin: .7rem 0 0; font-size: 1.05rem; line-height: 1.55; }
.theme-feature-sheet .ft-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.3rem 0 0; }
.theme-feature-sheet .ft-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .6rem 1.2rem; border-radius: 10px; border: 1.5px solid var(--color-primary); color: var(--color-primary); background: transparent; font-weight: 600; text-decoration: none; transition: background .15s, color .15s; }
.theme-feature-sheet .ft-btn:hover { background: var(--v3-accent-soft, rgba(23, 112, 122, .08)); }
.theme-feature-sheet .ft-btn.is-primary { background: var(--color-primary); color: #fffcf6; }
.theme-feature-sheet .ft-btn.is-primary:hover { background: var(--color-primary-hover, var(--color-primary)); }
.theme-feature-sheet .ft-btn:focus-visible { outline: 3px solid var(--color-teal-300, #5cc3cc); outline-offset: 2px; }

/* group index: OMR answer row A–E */
.theme-feature-sheet .ft-index { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; margin: 2rem 0 .5rem; padding: .8rem 1rem; border: 1px dashed var(--color-border); border-radius: 10px; background: var(--paper-card); }
.theme-feature-sheet .ft-index a { display: inline-flex; align-items: center; gap: .45rem; font-family: var(--mono); font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); text-decoration: none; min-height: 32px; }
.theme-feature-sheet .ft-index a span, .theme-feature-sheet .ft-bubble { display: inline-grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; border: 1.5px solid var(--brick); color: var(--brick); font-family: var(--mono); font-size: .8em; font-weight: 700; flex: none; }
.theme-feature-sheet .ft-index a:hover span { background: var(--brick); color: #fffcf6; }
.theme-feature-sheet .ft-index a:hover { color: var(--color-text); }

/* group heading with a short rule (linear-feature-cards) */
.theme-feature-sheet .ft-group { scroll-margin-top: 80px; margin-top: 3rem; }
.theme-feature-sheet .ft-sect { display: flex; align-items: center; gap: .7rem; font-size: 1.9rem; margin: 0 0 1.4rem; }
.theme-feature-sheet .ft-sect .ft-bubble { background: var(--brick); color: #fffcf6; font-size: .9rem; width: 2rem; height: 2rem; }
.theme-feature-sheet .ft-sect::after { content: ''; flex: 1; height: 1px; background: var(--color-border); margin-left: .4rem; }

/* one feature = screenshot + copy on an answer-sheet card with a brick margin line */
.theme-feature-sheet .ft-item { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 1.5rem 2.2rem; align-items: center; padding: 1.6rem 1.6rem 1.6rem 2.4rem; margin: 0 0 1.4rem; background: var(--paper-card); border: 1px solid var(--color-card-border); border-radius: 16px; box-shadow: var(--v3-shadow-sm); }
.theme-feature-sheet .ft-item::before { content: ''; position: absolute; left: 1.1rem; top: 1rem; bottom: 1rem; width: 1px; background: var(--brick); opacity: .45; }
.theme-feature-sheet .ft-group .ft-item:nth-of-type(even) { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.theme-feature-sheet .ft-group .ft-item:nth-of-type(even) > :first-child { order: 2; }
.theme-feature-sheet .ft-copy h3 { font-size: 1.3rem; line-height: 1.25; margin: 0 0 .55rem; color: var(--color-text); }
.theme-feature-sheet .ft-copy p { margin: 0 0 .7rem; line-height: 1.6; color: var(--color-text-secondary); }
.theme-feature-sheet .ft-copy ul { margin: 0 0 .7rem; padding-left: 1.15rem; color: var(--color-text-secondary); line-height: 1.55; }
.theme-feature-sheet .ft-copy li { margin: .2rem 0; }
.theme-feature-sheet .ft-copy b { color: var(--color-text); }
.theme-feature-sheet .ft-num { font-family: var(--mono); font-size: .72rem !important; letter-spacing: .12em; color: var(--brick) !important; margin: 0 0 .25rem !important; }
.theme-feature-sheet .ft-chips { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: .4rem; }
.theme-feature-sheet .ft-chips li { margin: 0; padding: .3rem .75rem; border: 1px solid var(--color-card-border); border-radius: 999px; background: var(--paper); font-size: .88rem; color: var(--color-text); }
.theme-feature-sheet .ft-chips li.is-own { border-style: dashed; border-color: var(--color-primary); color: var(--color-primary); }
.theme-feature-sheet .ft-flag { white-space: nowrap; font-size: .85em; font-weight: 600; color: var(--brick); border: 1px solid var(--brick); border-radius: 6px; padding: 0 .35rem; }

/* screenshots: phone frame for tall shots, browser frame for wide ones (duo-phone-screenshot) */
.theme-feature-sheet .ft-shot { margin: 0; justify-self: center; width: 100%; }
.theme-feature-sheet .ft-shot img { display: block; width: 100%; height: auto; border-radius: 10px; background: #fff; }
.theme-feature-sheet .ft-shot.is-phone { max-width: 290px; background: var(--ft-bezel); border-radius: 26px; padding: 12px 10px 20px; box-shadow: 0 24px 44px -26px rgba(19, 48, 47, .55); position: relative; }
.theme-feature-sheet .ft-shot.is-phone::before { content: ''; display: block; width: 46px; height: 5px; margin: 0 auto 9px; border-radius: 3px; background: rgba(255, 252, 246, .25); }
.theme-feature-sheet .ft-shot.is-wide { background: var(--paper-2, #efe9dc); border: 1px solid var(--color-card-border); border-radius: 12px; padding: 22px 8px 8px; position: relative; box-shadow: 0 18px 36px -26px rgba(19, 48, 47, .45); }
.theme-feature-sheet .ft-shot.is-wide::before { content: ''; position: absolute; left: 12px; top: 8px; width: 7px; height: 7px; border-radius: 50%; background: var(--brick); opacity: .55; box-shadow: 12px 0 0 rgba(19, 48, 47, .25), 24px 0 0 rgba(19, 48, 47, .25); }
.theme-feature-sheet .ft-shot.is-wide img { border-radius: 6px; }
.theme-feature-sheet .ft-shot.is-card { max-width: 380px; }
.theme-feature-sheet .ft-shot.is-card img { border: 1px solid var(--color-card-border); box-shadow: 0 18px 36px -26px rgba(19, 48, 47, .45); }
.theme-feature-sheet .ft-shot.is-mail { max-width: 300px; max-height: 560px; overflow: hidden; border: 1px solid var(--color-card-border); border-radius: 12px; box-shadow: 0 18px 36px -26px rgba(19, 48, 47, .45); position: relative; }
.theme-feature-sheet .ft-shot.is-mail::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(rgba(255, 252, 246, 0), var(--paper-card)); pointer-events: none; }
.theme-feature-sheet .ft-shot.is-mail img { border-radius: 0; }
.theme-feature-sheet .ft-pair { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; align-items: start; }
.theme-feature-sheet .ft-pair .ft-shot.is-phone { max-width: 230px; padding: 10px 8px 16px; border-radius: 22px; }

/* closing CTA */
.theme-feature-sheet .ft-end { margin: 3rem 0 0; padding: 2rem 1.6rem; text-align: center; border-top: 2px solid var(--ink); border-bottom: 1px dashed var(--color-border); }
.theme-feature-sheet .ft-end h2 { margin: 0 0 .6rem; font-size: 2rem; }
.theme-feature-sheet .ft-end > p { max-width: 620px; margin: 0 auto .5rem; color: var(--color-text-secondary); line-height: 1.6; }
.theme-feature-sheet .ft-end .ft-cta { justify-content: center; }
.theme-feature-sheet .ft-note { font-size: .85rem !important; margin-top: 1.2rem !important; }
.theme-feature-sheet .ft-note a { color: var(--color-primary); }

@media (max-width: 760px) {
  .theme-feature-sheet .ft-item, .theme-feature-sheet .ft-group .ft-item:nth-of-type(even) { grid-template-columns: minmax(0, 1fr); padding: 1.2rem 1rem 1.3rem 1.7rem; gap: 1.1rem; }
  .theme-feature-sheet .ft-group .ft-item:nth-of-type(even) > :first-child { order: 0; }
  .theme-feature-sheet .ft-item::before { left: .8rem; }
  .theme-feature-sheet .ft-sect { font-size: 1.55rem; }
  .theme-feature-sheet .ft-shot.is-phone { max-width: 250px; }
  .theme-feature-sheet .ft-pair .ft-shot.is-phone { max-width: none; border-radius: 16px; padding: 7px 5px 10px; }
  .theme-feature-sheet .ft-pair .ft-shot.is-phone::before { width: 30px; margin-bottom: 6px; }
  .theme-feature-sheet .ft-shot.is-mail { max-height: 460px; }
  .theme-feature-sheet .ft-cta .ft-btn { flex: 1 1 100%; }
  .theme-feature-sheet .ft-end { padding: 1.6rem .4rem; }
  .theme-feature-sheet .ft-end h2 { font-size: 1.6rem; }
}
@media (prefers-color-scheme: dark) { .theme-feature-sheet { --ft-bezel: #070b0a; } }
@media (prefers-reduced-motion: reduce) { .theme-feature-sheet .ft-btn { transition: none; } }
/* feature loops (30 Sep 2026): real screen recordings + Veo header; posters are the stills */
.theme-feature-sheet .ft-shot video { display: block; width: 100%; height: auto; border-radius: 10px; background: #fff; }
.theme-feature-sheet .ft-shot.is-mail video { border-radius: 0; }
.theme-feature-sheet .ft-hero { margin: 1.5rem 0 1.8rem; max-width: 760px; border: 1px solid var(--color-card-border); border-radius: 16px; overflow: hidden; background: #f4efe5; box-shadow: 0 18px 36px -26px rgba(19, 48, 47, .45); }
.theme-feature-sheet .ft-hero video { display: block; width: 100%; height: auto; }
@media (max-width: 760px) { .theme-feature-sheet .ft-hero { margin: 1.1rem 0 1.3rem; border-radius: 12px; } }
@media (max-width: 520px) { .theme-feature-sheet .ft-pair { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; } .theme-feature-sheet .ft-pair .ft-shot.is-phone { max-width: 250px; border-radius: 26px; padding: 12px 10px 20px; } .theme-feature-sheet .ft-pair .ft-shot.is-phone::before { width: 46px; margin-bottom: 9px; } }
