/* Feature pages (generated from website/_src). Builds on style.css tokens. */
body.subpage { background: var(--gradient-start); color: var(--text-light); }
.page { max-width: 1120px; margin: 0 auto; padding: 96px 20px 40px; }
.breadcrumb { font-size: 13px; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; }
.breadcrumb a { color: var(--primary-blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.eyebrow { text-transform: uppercase; letter-spacing: 2px; font-size: 12px; font-weight: 700; color: var(--primary-blue); margin: 0 0 12px; }
.page-hero { display: grid; gap: 40px; align-items: center; margin-bottom: 48px; }
.page-hero.with-screen { grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr); }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 52px); line-height: 1.1; margin: 0 0 16px; text-wrap: balance; }
.page-hero .lead { font-size: 19px; line-height: 1.6; color: #d7e3ee; max-width: 62ch; margin: 0 0 20px; }
.glance { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; }
.glance li { padding-left: 26px; position: relative; color: #e6eef5; line-height: 1.5; }
.glance li::before { content: '✓'; position: absolute; left: 0; color: var(--primary-blue); font-weight: 800; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.intro { font-size: 17px; line-height: 1.7; color: #d7e3ee; max-width: 72ch; margin: 0 0 48px; }
.intro p { margin: 0 0 14px; }
.phone-frame { margin: 0; justify-self: center; width: 100%; max-width: 330px; }
.phone-frame .phone-screen { border-radius: 40px; padding: 10px; background: #0b0f1c; border: 1px solid rgba(179,229,252,0.25); box-shadow: 0 30px 60px rgba(0,0,0,0.45), var(--shadow-glow); }
.phone-frame img { display: block; width: 100%; height: auto; border-radius: 32px; background: #fff; }
.phone-frame.small { max-width: 280px; }
.phone-frame figcaption { font-size: 13px; color: var(--text-muted); text-align: center; margin-top: 10px; }
.steps-section { margin: 0 0 64px; }
.steps-section h2, .feature-block h2, .faq-section h2, .related-section h2 { font-size: clamp(24px, 3vw, 34px); margin: 0 0 24px; text-wrap: balance; }
.steps-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 40px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; counter-reset: step; }
.step { display: flex; gap: 16px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--border-color); background: var(--bg-card); cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.step:hover { border-color: rgba(79,195,247,0.5); }
.step.is-active { background: rgba(79,195,247,0.12); border-color: var(--primary-blue); transform: translateX(4px); }
.step-num { flex: 0 0 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--primary-blue); color: var(--primary-dark); }
.step h3 { margin: 4px 0 6px; font-size: 17px; }
.step p { margin: 0; color: #d7e3ee; line-height: 1.55; font-size: 15px; }
.step-progress { height: 4px; border-radius: 4px; background: rgba(255,255,255,0.08); margin: 14px 24px 0; overflow: hidden; }
.step-progress span { display: block; height: 100%; width: 0; background: var(--primary-blue); }
.steps-layout .phone-frame { position: sticky; top: 100px; }
.feature-block { display: grid; gap: 32px; align-items: center; padding: 32px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.feature-block.has-screen { grid-template-columns: minmax(0, 1fr) 280px; }
.feature-block:nth-of-type(even).has-screen .phone-frame { order: -1; }
.feature-copy p, .feature-copy li { color: #d7e3ee; line-height: 1.65; font-size: 16px; }
.feature-copy ul { padding-left: 20px; }
.feature-copy h3 { font-size: 18px; margin: 18px 0 6px; }
.feature-copy strong { color: #fff; }
.faq-section { margin: 48px 0; }
.faq-item { border: 1px solid var(--border-color); border-radius: 14px; background: var(--bg-card); margin-bottom: 10px; padding: 0 18px; }
.faq-item summary { cursor: pointer; padding: 16px 0; font-weight: 600; font-size: 16px; list-style: none; position: relative; padding-right: 30px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 0; top: 14px; font-size: 22px; color: var(--primary-blue); }
.faq-item[open] summary::after { content: '–'; }
.faq-answer { padding: 0 0 16px; color: #d7e3ee; line-height: 1.6; }
.cta-band { margin: 56px 0; padding: 32px; border-radius: 20px; text-align: center; background: linear-gradient(135deg, rgba(79,195,247,0.18), rgba(92,107,192,0.18)); border: 1px solid var(--border-color); }
.cta-band p { margin: 0 0 16px; font-size: 18px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.related-card { display: grid; gap: 6px; padding: 18px; border-radius: 16px; border: 1px solid var(--border-color); background: var(--bg-card); color: inherit; text-decoration: none; transition: border-color .2s, transform .2s; }
.related-card:hover { border-color: var(--primary-blue); transform: translateY(-2px); }
.related-card span:last-child { color: var(--text-muted); font-size: 14px; line-height: 1.45; }
.related-icon { font-size: 26px; }
.lang-switch { text-decoration: none; }
.hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 0 0 56px; }
.hub-card { display: grid; grid-template-rows: auto 1fr auto; gap: 10px; padding: 22px; border-radius: 20px; border: 1px solid var(--border-color); background: var(--bg-card); color: inherit; text-decoration: none; transition: border-color .2s, transform .2s; }
.hub-card:hover { border-color: var(--primary-blue); transform: translateY(-3px); }
.hub-card h3 { margin: 0; font-size: 20px; }
.hub-card p { margin: 0; color: #d7e3ee; line-height: 1.55; font-size: 15px; }
.hub-card .more { color: var(--primary-blue); font-weight: 600; font-size: 14px; }
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.ways li { padding: 14px; border-radius: 14px; border: 1px solid var(--border-color); background: var(--bg-card); font-size: 15px; line-height: 1.5; }
.ways li strong { display: block; margin-bottom: 4px; color: #fff; }
@media (max-width: 860px) {
  .page { padding-top: 84px; }
  .page-hero.with-screen, .steps-layout, .feature-block.has-screen { grid-template-columns: 1fr; }
  .feature-block:nth-of-type(even).has-screen .phone-frame { order: 0; }
  .steps-layout .phone-frame { position: static; max-width: 260px; }
  .page-hero .lead { font-size: 17px; }
}
/* Phone width: the off-canvas menu and sticky frames must never widen the page. */
html, body.subpage { overflow-x: hidden; }
.page { overflow-x: clip; }
.page-hero-copy, .feature-copy, .steps, .intro { min-width: 0; }
.step.is-active { transform: none; box-shadow: inset 3px 0 0 var(--primary-blue); }
@media (max-width: 600px) { .page { padding-left: 16px; padding-right: 16px; } .hub-grid, .related-grid, .ways { grid-template-columns: 1fr; } }
.page-hero, .feature-block { grid-template-columns: minmax(0, 1fr); }
.page-hero.with-screen { grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr); }
.feature-block.has-screen { grid-template-columns: minmax(0, 1fr) 280px; }
@media (max-width: 860px) { .page-hero.with-screen, .feature-block.has-screen, .steps-layout { grid-template-columns: minmax(0, 1fr); } .page-hero .lead, .intro, .feature-copy p { max-width: 100%; } .phone-frame { max-width: 300px; } }
/* Clickable demo */
.demo-layout { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 36px; align-items: start; margin: 0 0 48px; }
.demo-phone { position: relative; width: 100%; max-width: 360px; border-radius: 44px; padding: 10px; background: #0b0f1c; border: 1px solid rgba(179,229,252,0.3); box-shadow: 0 30px 60px rgba(0,0,0,0.5), var(--shadow-glow); }
.demo-phone img { display: block; width: 100%; height: auto; border-radius: 36px; background: #fff; transition: opacity .2s; }
.demo-phone.is-changing img { opacity: .6; }
.demo-zones { position: absolute; inset: 10px; }
.demo-zone { position: absolute; background: transparent; border: 0; border-radius: 10px; cursor: pointer; padding: 0; }
.demo-zone:focus-visible { outline: 2px solid var(--primary-blue); }
.show-zones .demo-zone { background: rgba(79,195,247,0.18); border: 1px dashed rgba(79,195,247,0.8); }
.demo-side { display: grid; gap: 16px; }
.demo-hint { padding: 16px 18px; border-radius: 16px; background: rgba(79,195,247,0.12); border: 1px solid var(--border-color); font-size: 16px; line-height: 1.55; min-height: 70px; }
.demo-crumb { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); font-weight: 700; }
.demo-controls { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.demo-controls .btn { padding: 8px 14px; font-size: 14px; }
.demo-controls label { font-size: 14px; color: var(--text-muted); display: flex; gap: 6px; align-items: center; }
.demo-jumps { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.demo-jumps button { padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border-color); background: var(--bg-card); color: #fff; cursor: pointer; font-size: 14px; text-align: left; }
.demo-jumps button:hover { border-color: var(--primary-blue); }
@media (max-width: 860px) { .demo-layout { grid-template-columns: 1fr; } .demo-phone { max-width: 320px; margin: 0 auto; } }
