/* Feature detail pages extend the existing Quikk palette and native chrome. */
.feature-page { --feature-tint: var(--coral); }
.feature-page .text-link { font-size: 1rem; }
.feature-page .eyebrow { font-size: .875rem; }
.feature-page .faq-section > div > p { font-size: 1rem; }
.ai-writing-page { --feature-tint: var(--lavender); }
.detail-sky { --feature-tint: var(--sky); }
.detail-mint { --feature-tint: var(--mint); }
.detail-lavender { --feature-tint: var(--lavender); }
.detail-amber { --feature-tint: var(--amber); }
.detail-coral { --feature-tint: var(--coral); }
.detail-example-window { overflow: hidden; border: 1px solid #ffffff4d; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 26px 70px #050c2280; }
.feature-hero .detail-phone { max-width: 380px; width: 100%; margin-inline: auto; }
.detail-phone .detail-example-window { border: 6px solid #31394d; border-radius: 30px; }
.detail-phone .feature-window-bar { padding-block: 20px; }
.detail-example-input, .detail-example-output { padding: 28px; }
.detail-example-input p, .detail-example-output p { margin-top: 16px; font-size: 1.125rem; line-height: 1.75; }
.detail-example-output { background: #f5f2f8; border-top: 1px solid #e7e0ed; }
.detail-example-output .example-label { display: flex; align-items: center; gap: 8px; }
.detail-keyboard { padding: 16px 12px; background: #e8e8ed; border-top: 1px solid #d2d2da; }
.detail-keyboard > span { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: .875rem; padding: 0 0 16px; }
.detail-key-row { display: flex; justify-content: center; gap: 4px; margin-bottom: 7px; }
.detail-key-row i { flex: 0 1 27px; display: grid; place-items: center; height: 32px; background: #fff; box-shadow: 0 1px 0 #b7b7c1; border-radius: 5px; font-style: normal; font-size: .875rem; }
.detail-space { width: 56%; margin: 6px auto 0; padding: 8px; background: #fff; box-shadow: 0 1px 0 #b7b7c1; border-radius: 5px; font-size: .875rem; text-align: center; }
.detail-capture { position: relative; padding: 42px 32px; }
.detail-capture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.detail-capture-note { position: relative; background: #fffaf6; padding: 30px 22px; border-radius: 9px; box-shadow: 0 8px 30px #0003; }
.detail-capture-note strong { display: block; font-size: 2rem; line-height: 1.15; letter-spacing: -.04em; font-weight: 550; margin-block: 24px; }
.detail-annotation { display: flex; align-items: center; gap: 8px; padding: 10px; border: 2px solid #235dd8; border-radius: 4px; font-size: .875rem; color: #174ab8; }
.detail-example-receipt { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 18px; font-size: .875rem; }
.detail-voice { padding: 32px 28px 12px; text-align: center; }
.detail-voice > svg { width: 30px; height: 30px; color: #497561; }
.detail-voice p { font-size: 1.3rem; line-height: 1.65; margin-top: 18px; }
.detail-voice .detail-example-receipt { margin-top: 20px; color: #536b5d; }
.detail-voice-wave { display: flex; align-items: center; justify-content: center; gap: 6px; height: 90px; margin: 10px 0 20px; }
.detail-voice-wave i { width: 5px; height: var(--bar); border-radius: 6px; background: #648e7b; }
.detail-collection { padding: 28px; }
.detail-collection-link { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 24px; padding: 16px; background: #f5ecea; border-radius: 8px; font-size: 1rem; }
.detail-collection-link > span { font-size: .875rem; color: #7c5b58; }
.detail-video-row { display: flex; align-items: center; gap: 12px; padding: 20px 0; border-top: 1px solid var(--line); }
.detail-video-row > span:first-child { display: grid; place-items: center; width: 50px; height: 50px; flex-shrink: 0; background: #ede7f5; border-radius: 8px; }
.detail-video-row > div { flex: 1; min-width: 0; }
.detail-video-row strong { display: block; font-size: 1rem; line-height: 1.5; font-weight: 500; }
.detail-video-row small { display: block; font-size: .875rem; color: var(--muted); margin-top: 5px; }
.detail-video-row > span:last-child { font-size: .875rem; color: var(--muted); }
.feature-container, .feature-hero-inner { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.feature-hero { background: var(--dark); color: #fff; padding: 132px 0 80px; }
.feature-breadcrumb { display: flex; flex-wrap: wrap; gap: 12px; font-size: .875rem; color: #d1d8eb; margin-bottom: 54px; }
.feature-breadcrumb a:hover { text-decoration: underline; }
.feature-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-intro, .feature-hero-grid > figure { min-width: 0; }
.feature-intro .eyebrow { color: var(--feature-tint); font-size: .875rem; }
.feature-intro h1 { font-size: clamp(2.8rem, 4.4vw, 4.5rem); line-height: 1.06; letter-spacing: -.045em; margin: 24px 0; font-weight: 600; }
.feature-intro h1 span { color: var(--feature-tint); }
.feature-intro > p { font-size: 1.125rem; line-height: 1.7; color: #dce1ef; max-width: 480px; }
.feature-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin: 28px 0 20px; }
.feature-actions .text-link { color: #fff; font-size: .875rem; }
.feature-intro > .feature-trial { font-size: .875rem; line-height: 1.8; color: #bdc7de; }
.feature-hero figure { margin: 0; }
.feature-hero figcaption { font-size: .875rem; line-height: 1.5; text-align: center; color: #bfc9df; margin-top: 20px; }
.recording-window, .writing-example-window { border: 1px solid #ffffff4d; border-radius: 18px; overflow: hidden; box-shadow: 0 26px 70px #050c2280; }
.feature-window-bar { background: #f4f3f6; color: #575461; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px; font-size: .875rem; }
.feature-window-bar > span:nth-child(2) { text-align: center; }
.feature-window-bar .traffic-lights { display: flex; width: auto; flex-shrink: 0; gap: 5px; }
.feature-window-bar .traffic-lights i { width: 8px; height: 8px; }
.recording-desktop { position: relative; min-height: 300px; padding: 45px 38px 58px; display: flex; align-items: center; }
.recording-desktop > img { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; }
.walkthrough-note { position: relative; width: 100%; padding: 26px; background: #fffaf5; color: var(--ink); border-radius: 8px; box-shadow: 0 10px 32px #0003; }
.walkthrough-note > span { font-size: .75rem; color: #776e7d; letter-spacing: .06em; }
.walkthrough-note strong { display: block; font-size: clamp(1.5rem, 2.5vw, 2.1rem); letter-spacing: -.04em; line-height: 1.15; margin: 20px 0 16px; font-weight: 550; }
.walkthrough-note p { font-size: .875rem; line-height: 1.6; max-width: 230px; }
.feature-camera { position: absolute; bottom: 16px; right: 18px; width: 74px; height: 74px; display: grid; place-items: center; background: #302e40; border: 3px solid #fff; border-radius: 50%; color: var(--coral); box-shadow: 0 4px 12px #0003; }
.feature-camera svg { width: 29px; height: 29px; }
.feature-record-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; background: #252534; padding: 18px; font-size: .875rem; }
.feature-record-bar > span { display: inline-flex; align-items: center; gap: 7px; }
.feature-record-bar svg { width: 16px; height: 16px; color: #e3bac2; }
.feature-record-time { font-variant-numeric: tabular-nums; }
.feature-record-time i { width: 8px; height: 8px; border-radius: 50%; background: #ff817b; }
.writing-example-window { background: #fff; color: var(--ink); }
.writing-example-draft { padding: 28px; }
.example-label { font-size: .75rem; letter-spacing: .065em; color: #74647e; }
.writing-example-draft p, .writing-example-result p { font-size: 1.125rem; line-height: 1.8; margin-top: 14px; }
.writing-example-draft mark { background: #e5dffa; color: #322b4b; padding: 2px 0; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.writing-example-tools { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 20px 20px; }
.writing-example-tools button { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; padding: 11px 10px; min-height: 44px; background: #f3f1f7; border: 1px solid transparent; border-radius: 8px; }
.writing-example-tools button svg { width: 17px; height: 17px; }
.writing-example-tools button[aria-pressed="true"] { background: #e6defa; border-color: #c9b9ec; color: #483266; }
.writing-example-tools button:hover { background: #eae4f5; }
.writing-example-result { padding: 25px 28px 28px; border-top: 1px solid #e6dfed; background: #f9f7fc; min-height: 180px; }
.feature-use-cases { padding-block: 86px; }
.feature-section-heading { max-width: 650px; margin-bottom: 44px; }
.feature-page h2 { font-size: clamp(2rem, 3.3vw, 3.2rem); line-height: 1.12; letter-spacing: -.045em; font-weight: 550; }
.feature-section-heading h2, .feature-workflow h2, .feature-next h2 { margin-top: 18px; }
.feature-section-heading p, .feature-workflow p, .feature-next p { font-size: 1.0625rem; line-height: 1.75; color: var(--muted); margin-top: 20px; }
.feature-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.feature-benefit-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--feature-tint); margin-bottom: 23px; }
.feature-benefits h3, .feature-steps h3 { font-size: 1.25rem; line-height: 1.35; font-weight: 550; letter-spacing: -.025em; }
.feature-benefits p { font-size: 1rem; line-height: 1.75; color: var(--muted); margin-top: 12px; }
.feature-workflow { background: #f3edf0; padding-block: 80px; border-block: 1px solid var(--line); scroll-margin-top: 30px; }
.ai-writing-page .feature-workflow { background: #f0edf7; }
.feature-workflow-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 100px; }
.feature-workflow .text-link { display: inline-flex; margin-top: 24px; line-height: 1.5; }
.feature-steps { padding: 0; margin: 0; list-style: none; display: grid; gap: 30px; }
.feature-steps li { display: flex; align-items: flex-start; gap: 22px; }
.feature-steps li > span { color: #7b6070; font-size: .875rem; padding-top: 5px; font-variant-numeric: tabular-nums; }
.feature-steps p { margin-top: 10px; font-size: 1rem; }
.feature-page .faq-section { padding-block: 86px; }
.feature-page .faq-list summary { font-size: 1rem; line-height: 1.5; }
.feature-page .faq-list p { font-size: 1rem; line-height: 1.75; }
.feature-next { border-top: 1px solid var(--line); padding-block: 44px 64px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.feature-next h2 { font-size: 1.8rem; }
.feature-next p { max-width: 560px; }
.feature-next > a { flex-shrink: 0; }
.feature-closing { padding: 70px 0; background: var(--dark); color: #fff; text-align: center; }
.feature-closing h2 { margin-bottom: 26px; }
.feature-closing h2 span { color: var(--feature-tint); }
.feature-closing p { font-size: .875rem; color: #c6cee2; margin-top: 20px; }
@media (max-width: 1000px) {
  .feature-hero-grid { gap: 30px; }
  .feature-workflow-grid { gap: 50px; }
  .recording-desktop { padding: 30px 22px 58px; }
}
@media (max-width: 800px) {
  .feature-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-intro { max-width: 620px; }
  .feature-intro > p { max-width: 600px; }
  .feature-hero figure { width: 100%; max-width: 560px; margin-inline: auto; }
  .feature-breadcrumb { margin-bottom: 32px; }
  .feature-benefits { gap: 24px; }
  .feature-workflow-grid { grid-template-columns: 1fr; gap: 44px; }
  .feature-next { align-items: flex-start; flex-direction: column; gap: 24px; }
}
@media (max-width: 600px) {
  .feature-container, .feature-hero-inner { width: calc(100% - 40px); }
  .feature-hero { padding: 112px 0 48px; }
  .feature-benefits { grid-template-columns: 1fr; gap: 34px; }
  .feature-use-cases, .feature-workflow, .feature-page .faq-section { padding-block: 56px; }
  .feature-window-bar { padding: 13px 10px; gap: 6px; }
  .feature-record-bar { padding: 14px 10px; font-size: .875rem; }
  .recording-desktop { min-height: 290px; }
  .writing-example-draft, .writing-example-result { padding: 22px; }
  .writing-example-tools { padding-inline: 15px; }
  .feature-steps li { gap: 16px; }
}
