/* ==========================================================
   Money Ledgr product page
   Loaded after style.css, so it reuses the header, footer,
   buttons and colours and only adds what this page needs.
   ========================================================== */

.product-page {
  --ml-green: #19c37d;
  --ml-blue: #2f6bff;
  --head: "Space Grotesk", "Inter", system-ui, sans-serif;
}
.product-page h1, .product-page h2, .product-page h3, .product-page h4 { font-family: var(--head); letter-spacing: -0.02em; }

/* ---------- Hero ---------- */
.p-hero {
  background-color: var(--navy);
  /* faint grid for a technical feel */
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  color: var(--white);
  padding: 90px 0 100px;
  overflow: hidden;
}


.p-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.1; max-width: 12em; margin-bottom: 20px; }
.p-hero .lead { color: #b8c0e0; font-size: 1.1rem; max-width: 33em; margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.btn-outline { border-color: rgba(255,255,255,0.3); color: var(--white); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 0.88rem; color: #aab4d4; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ml-green); }


/* ---------- Generic section helpers ---------- */
.section-soft { background: var(--soft); }
/* tighter, even rhythm between sections (was 96px top + 96px bottom = ~190px gaps) */
.product-page .section { padding: 52px 0; }
.product-page .section:not(.section-soft) + .section:not(.section-soft) { padding-top: 0; }
@media (max-width: 860px) { .product-page .section { padding: 40px 0; } }
.head-narrow { max-width: 38em; margin-bottom: 44px; }
.head-narrow h2 { margin-bottom: 0 !important; }
.product-page .section h2 { font-weight: 700; }

/* ---------- Overview ---------- */
.overview { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.overview h2 { margin-bottom: 0 !important; }
.overview-text p { color: var(--muted); font-size: 1.05rem; }

.checks { margin: 18px 0 20px; }
.checks li { position: relative; padding: 8px 0 8px 32px; border-top: 1px solid var(--line); font-size: 0.97rem; }
.checks li:first-child { border-top: 0; }
.checks li::before { content: "\2713"; position: absolute; left: 0; top: 9px; width: 21px; height: 21px; display: grid; place-items: center; border-radius: 50%; background: var(--ml-green); color: var(--white); font-size: 0.72rem; font-weight: 700; }
.good-for { font-size: 0.92rem; color: var(--muted); margin: 0; }
.good-for strong { color: var(--text); }

/* ---------- Tool grid ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.tool-grid li { padding: 24px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tool-grid li:nth-child(3n) { border-right: 0; }
.tool-grid li:nth-last-child(-n+3) { border-bottom: 0; }
.tool-grid strong { display: block; font: 600 1.05rem var(--head); margin-bottom: 4px; }
.tool-grid span { color: var(--muted); font-size: 0.92rem; }

/* ---------- Steps ---------- */
.p-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.p-steps span { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 16px; border-radius: 50%; color: var(--white); font: 700 1.05rem var(--head); background: linear-gradient(135deg, var(--ml-green), var(--ml-blue)); }
.p-steps h3 { font-size: 1.2rem; margin-bottom: 8px; }
.p-steps p { color: var(--muted); font-size: 0.97rem; }

/* ---------- Audience + FAQ ---------- */
.split-p { display: grid; grid-template-columns: 1fr 1.2fr; gap: 70px; align-items: start; }
.split-p .head-narrow { margin-bottom: 0; position: sticky; top: 110px; }
.audience > div { padding: 22px 0; border-top: 1px solid var(--line); }
.audience > div:last-child { border-bottom: 1px solid var(--line); }
.audience dt { font: 600 1.15rem var(--head); margin-bottom: 4px; }
.audience dd { margin: 0; color: var(--muted); }

.faq details { border-top: 1px solid #d5dae8; }
.faq details:last-child { border-bottom: 1px solid #d5dae8; }
.faq summary { position: relative; padding: 20px 36px 20px 0; font: 600 1.05rem var(--head); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 15px; font-size: 1.5rem; color: var(--indigo); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding-bottom: 20px; color: var(--muted); }

/* ---------- Closing CTA ---------- */
.p-cta { background: var(--navy); color: var(--white); padding: 70px 0; }
.p-cta-inner { display: flex; align-items: center; justify-content: center; gap: 28px; flex-wrap: wrap; }
.p-cta-inner img { width: 72px; height: 72px; border-radius: 18px; }
.p-cta-inner > div { flex: 0 1 auto; min-width: 240px; }
.p-cta h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 6px; }
.p-cta p { margin: 0; color: #aab4d4; }


/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .p-hero { padding: 56px 0 64px; }
  .overview, .split-p { grid-template-columns: 1fr; gap: 36px; }
  .split-p .head-narrow { position: static; }
  .tool-grid { grid-template-columns: 1fr 1fr; }
  .tool-grid li:nth-child(3n) { border-right: 1px solid var(--line); }
  .tool-grid li:nth-child(2n) { border-right: 0; }
  .tool-grid li:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .tool-grid li:nth-last-child(-n+1) { border-bottom: 0; }
  .p-steps { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 520px) {
  .tool-grid { grid-template-columns: 1fr; }
  .tool-grid li { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .tool-grid li:last-child { border-bottom: 0 !important; }
  .hero-actions .btn, .p-cta .btn { width: 100%; text-align: center; }
}


/* ==========================================================
   Interactive demo
   ========================================================== */
.demo-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.demo-copy h2 { margin-bottom: 16px !important; }
.demo-copy > p { color: var(--muted); max-width: 32em; }

.demo-form { margin-top: 24px; }
.demo-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.demo-form label { display: block; margin-bottom: 6px; font-size: 0.85rem; font-weight: 600; }
.demo-form input, .demo-form select {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--text);
  background: var(--white); border: 1px solid #cdd3e4; border-radius: 8px;
}
.demo-form input:focus, .demo-form select:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(79,70,229,0.2); }
.demo-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.quick-label { margin: 22px 0 8px !important; font-size: 0.85rem; font-weight: 600; color: var(--text) !important; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; }
.quick button {
  padding: 8px 14px; font: 500 0.85rem "Inter", sans-serif; cursor: pointer;
  background: var(--white); border: 1px solid #cdd3e4; border-radius: 999px; color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}
.quick button:hover { border-color: var(--indigo); background: #eceefe; }
.demo-note { margin-top: 18px !important; font-size: 0.82rem; color: var(--muted) !important; }

/* phone frame */
.demo-phone { justify-self: center; width: 300px; padding: 10px; border-radius: 40px; background: #1c2542; box-shadow: 0 34px 70px -28px rgba(30,40,110,0.6); }
.dp-screen { background: #f5f6fb; border-radius: 31px; overflow: hidden; min-height: 560px; padding-bottom: 18px; position: relative; }
.dp-top { padding: 22px 20px 16px; text-align: center; font: 600 1.05rem var(--head); color: var(--white); background: linear-gradient(90deg, #3b5bff, #7a3cf0); }

.dp-balance { margin: 14px 14px 0; padding: 16px 18px; border-radius: 16px; color: var(--white); background: linear-gradient(135deg, #1fd08a, #14a863); transition: background 0.4s; }
.dp-balance.low { background: linear-gradient(135deg, #ffb347, #f08a1c); }
.dp-balance.over { background: linear-gradient(135deg, #ff7a6b, #e5473a); }
.dp-balance small { display: block; font-size: 0.78rem; opacity: 0.92; }
.dp-balance strong { display: block; margin: 2px 0 10px; font: 700 1.9rem var(--head); }
.dp-balance strong.pulse { animation: pulse 0.35s ease; }
@keyframes pulse { 50% { transform: scale(1.06); } }
.dp-bar { height: 7px; margin-bottom: 9px; border-radius: 99px; background: rgba(255,255,255,0.3); overflow: hidden; }
.dp-bar i { display: block; height: 100%; width: 2%; background: var(--white); border-radius: 99px; transition: width 0.5s ease; }

.dp-stats { display: grid; grid-template-columns: 1fr 1fr; margin: 12px 14px 0; padding: 12px 14px; background: var(--white); border-radius: 14px; font-size: 0.72rem; color: #6b7390; }
.dp-stats div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.dp-stats b { display: block; margin-top: 2px; font: 700 1rem var(--head); color: var(--text); }

.dp-heading { margin: 16px 16px 8px; font: 700 0.95rem var(--head); }
.dp-list { padding: 0 14px; display: grid; gap: 9px; }
.dp-list li { padding: 11px 14px; border-radius: 12px; background: var(--white); border-left: 4px solid #19c37d; transition: border-color 0.3s, background 0.3s; }
.dp-list li.warn { border-left-color: #f5a524; background: #fff8ec; }
.dp-list li.over { border-left-color: #ef4444; background: #fff1f0; }
.dp-row { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.82rem; }
.dp-row b { font-weight: 600; }
.dp-row span { color: #6b7390; font-size: 0.75rem; }
.dp-mini { height: 5px; margin-top: 8px; border-radius: 99px; background: #e8ebf5; overflow: hidden; }
.dp-mini i { display: block; height: 100%; width: 0; background: #19c37d; border-radius: 99px; transition: width 0.5s ease, background 0.3s; }
.dp-list li.warn .dp-mini i { background: #f5a524; }
.dp-list li.over .dp-mini i { background: #ef4444; }

.dp-toast { margin: 12px 14px 0; min-height: 2.6em; padding: 0; font-size: 0.78rem; color: #4338ca; font-weight: 500; }

/* ==========================================================
   Animated tour (plays like a short video)
   ========================================================== */
.tour { border-radius: 20px; overflow: hidden; background: var(--navy); color: var(--white); box-shadow: 0 30px 60px -30px rgba(13,21,64,0.6); }
.tour-stage { display: grid; grid-template-columns: 0.8fr 1.2fr; min-height: 460px; }
.tour-shot { display: grid; place-items: center; padding: 26px; background: radial-gradient(circle at 50% 40%, #2a3a9a, #121a52); }
.tour-shot img { height: 410px; width: auto; max-width: 100%; border-radius: 16px; box-shadow: 0 20px 44px -12px rgba(0,0,0,0.6); transition: opacity 0.25s, transform 0.25s; }
.tour-shot img.swap { opacity: 0; transform: translateY(8px); }
.tour-caption { padding: 44px 48px; display: flex; flex-direction: column; justify-content: center; transition: opacity 0.25s; }
.tour-caption.swap { opacity: 0; }
.tour-count { margin-bottom: 14px; font-size: 0.82rem; color: #9fe9c8; font-weight: 600; }
.tour-caption h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 12px; }
.tour-caption p { color: #b8c0e0; font-size: 1.05rem; max-width: 30em; }
.tour-caption .btn { align-self: flex-start; margin-top: 12px; }
.tour-stage iframe { grid-column: 1 / -1; width: 100%; height: 100%; min-height: 460px; border: 0; }

.tour-controls { display: flex; align-items: center; gap: 16px; padding: 14px 22px 18px; background: rgba(0,0,0,0.25); }
.tour-play { flex: none; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--white); color: var(--navy); font-size: 0.8rem; cursor: pointer; }
.tour-segs { flex: 1; display: flex; gap: 6px; }
.seg { flex: 1; padding: 10px 0; border: 0; background: none; cursor: pointer; }
.seg span { display: block; height: 4px; border-radius: 99px; background: rgba(255,255,255,0.25); overflow: hidden; }
.seg i { display: block; height: 100%; width: 0; background: var(--white); }
.seg.done i { width: 100%; }
.seg.active i { animation: seg-fill 5s linear forwards; }
.tour.paused .seg.active i { animation-play-state: paused; }
@keyframes seg-fill { to { width: 100%; } }

@media (max-width: 900px) {
  .demo-grid { grid-template-columns: 1fr; gap: 40px; }
  .tour-stage { grid-template-columns: 1fr; min-height: 0; }
  .tour-shot { padding: 22px 22px 10px; }
  .tour-shot img { height: 320px; }
  .tour-caption { padding: 22px 24px 26px; }
}
@media (max-width: 480px) {
  .demo-fields { grid-template-columns: 1fr; }
  .demo-phone { width: 100%; max-width: 300px; }
}

/* keep the [hidden] attribute working on styled elements (e.g. the video button) */
[hidden] { display: none !important; }


/* ==========================================================
   Money playground
   ========================================================== */
.head-sub { margin-top: 12px; color: var(--muted); font-size: 1.05rem; }
.lab { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--white); box-shadow: 0 24px 50px -30px rgba(20,30,90,0.35); }
.lab-tabs { display: flex; gap: 4px; padding: 10px; background: var(--soft); border-bottom: 1px solid var(--line); overflow-x: auto; }
.lab-tabs button { flex: 1; min-width: max-content; padding: 11px 18px; border: 0; border-radius: 10px; background: none; font: 600 0.92rem "Inter", sans-serif; color: var(--muted); cursor: pointer; }
.lab-tabs button:hover { color: var(--text); }
.lab-tabs button.active { background: var(--white); color: var(--indigo); box-shadow: 0 2px 8px rgba(20,30,90,0.12); }

.lab-panel { display: grid; grid-template-columns: 1.1fr 0.9fr; }
.lab-inputs { padding: 34px 38px; }
.lab-result { padding: 34px 38px; background: linear-gradient(160deg, #0d1540, #1b2a7a); color: var(--white); display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }

.lf { margin-bottom: 22px; }
.lf label { display: block; margin-bottom: 8px; font-size: 0.88rem; font-weight: 600; }
.lf-row { display: flex; align-items: center; gap: 16px; }
.lf-row input[type=range] { flex: 1; accent-color: var(--indigo); height: 6px; cursor: pointer; }
.lf-row input[type=number] { width: 116px; padding: 9px 10px; font: 600 0.95rem "Inter", sans-serif; text-align: right; border: 1px solid #cdd3e4; border-radius: 8px; }
.lf-row input[type=number]:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(79,70,229,0.2); }
.check { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--indigo); }

/* donut chart made with a conic gradient */
.donut { --p: 80; width: 190px; height: 190px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: conic-gradient(#6e8bff calc(var(--p) * 1%), #19c37d 0); transition: background 0.3s; }
.donut::before { content: ""; position: absolute; inset: 22px; border-radius: 50%; background: #121b55; }
.donut span { position: relative; text-align: center; }
.donut small, .big-number small { display: block; font-size: 0.78rem; color: #aab4d4; }
.donut b { font: 700 1.5rem var(--head); }
.big-number b { display: block; font: 700 clamp(2.2rem, 5vw, 3.1rem) var(--head); line-height: 1.1; margin-top: 4px; }

.legend { width: 100%; display: grid; gap: 8px; font-size: 0.92rem; color: #c3cbe6; }
.legend li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.legend li:last-child { border-bottom: 0; }
.legend b { color: var(--white); font-weight: 600; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; }
.dot-blue { background: #6e8bff; } .dot-green { background: #19c37d; }
.lab-cta { margin-top: auto; color: #9fe9c8; font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.lab-cta:hover { text-decoration: underline; }

.people { display: flex; flex-wrap: wrap; gap: 6px; }
.people i { width: 26px; height: 26px; border-radius: 50%; background: #6e8bff; border: 2px solid #121b55; animation: pop 0.3s ease backwards; }
.people i:nth-child(3n+2) { background: #19c37d; } .people i:nth-child(3n) { background: #ffb347; }
.people i.you { outline: 2px solid var(--white); }
@keyframes pop { from { transform: scale(0); } }
.goal-bar { width: 100%; height: 8px; border-radius: 99px; background: rgba(255,255,255,0.15); overflow: hidden; }
.goal-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, #19c37d, #6e8bff); transition: width 0.4s ease; }

/* ==========================================================
   Motion: scroll reveal and gentle floating
   ========================================================== */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 860px) {
  .lab-panel { grid-template-columns: 1fr; }
  .lab-inputs, .lab-result { padding: 26px 22px; }
  .lf-row input[type=number] { width: 104px; }
}

/* result rows: label on the left, value pushed to the right */
.legend li { justify-content: flex-start; }
.legend li b { margin-left: auto; }


/* ==========================================================
   Money Ledgr branding: header, hero, footer
   ========================================================== */
.ml-brand { gap: 12px; }
.ml-brand img { height: 40px; width: 40px; border-radius: 10px; }
.ml-brand span { font: 700 1.2rem var(--head); letter-spacing: -0.01em; color: var(--white); }
.site-footer .ml-brand img { height: 44px; width: 44px; }

.p-hero-inner .hero-actions { margin-bottom: 30px; }
.p-hero .hero-tag { display: inline-block; margin-bottom: 20px; padding: 5px 14px; border: 1px solid rgba(159,233,200,0.35); border-radius: 999px; font: 600 0.88rem var(--head); color: #9fe9c8; }
.p-hero h1 { max-width: 13em; }

.footer-play { margin-top: 18px; }
.footer-nvs { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.85rem; }
.nvs-credit img { display: block; height: 28px; width: auto; }
.nvs-more { margin-left: auto; color: #aab2d3; text-decoration: none; }
.nvs-more:hover { color: var(--white); }
.footer-nvs + .footer-bottom { padding-top: 18px; }

/* ==========================================================
   Features in detail: one tabbed panel
   ========================================================== */
.feat-tabs { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--white); box-shadow: 0 24px 50px -30px rgba(20,30,90,0.35); }
.feat-tablist { display: flex; gap: 4px; padding: 10px; background: var(--soft); border-bottom: 1px solid var(--line); overflow-x: auto; }
.feat-tablist button { flex: 1; min-width: max-content; padding: 12px 18px; border: 0; border-radius: 10px; background: none; font: 600 0.95rem "Inter", sans-serif; color: var(--muted); cursor: pointer; }
.feat-tablist button:hover { color: var(--text); }
.feat-tablist button[aria-selected="true"] { background: var(--white); color: var(--indigo); box-shadow: 0 2px 8px rgba(20,30,90,0.12); }

.feat-panel { display: grid; grid-template-columns: 0.55fr 1fr; gap: 44px; align-items: center; padding: 34px 40px; animation: feat-in 0.35s ease; }
@keyframes feat-in { from { opacity: 0; transform: translateY(8px); } }
.feat-shot { display: grid; place-items: center; padding: 22px; border-radius: 18px; background: linear-gradient(160deg, #e6ebff, #e5f6ef); }
.feat-shot img { width: min(100%, 230px); height: auto; border-radius: 14px; box-shadow: 0 20px 40px -16px rgba(20,30,90,0.5); }
.feat-text h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 10px; }
.feat-text > p { color: var(--muted); }
.feat-text .checks { margin: 14px 0 16px; }

@media (max-width: 900px) {
  .feat-panel { grid-template-columns: 1fr; gap: 22px; padding: 24px 22px; }
  .feat-shot { padding: 18px; }
  .feat-shot img { width: min(100%, 200px); }
}
@media (max-width: 520px) {
  .nvs-more { margin-left: 0; width: 100%; }
}



/* ---------- Tool cards (coloured icon tiles) ---------- */
.tool-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tool-card {
  display: flex; align-items: flex-start; gap: 16px; padding: 22px 22px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 4px 18px rgba(13, 21, 64, 0.05);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tool-card:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(13, 21, 64, 0.1); }
.tool-icon {
  flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 50%;
  background: var(--c); color: var(--white); box-shadow: 0 6px 14px color-mix(in srgb, var(--c) 35%, transparent);
}
.tool-card h3 { font-size: 1.02rem; font-weight: 700; margin: 2px 0 4px; color: var(--navy); }
.tool-card p { margin: 0; font-size: 0.9rem; line-height: 1.5; color: var(--muted); }

/* ---------- App preview slider ---------- */
.preview { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 40px; align-items: center; }
.preview-copy h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); line-height: 1.12; margin-bottom: 14px; }
.preview-copy p:last-child { color: var(--muted); }
.preview-slider { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.pv-track {
  display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 4px 12px; scrollbar-width: none;
}
.pv-track::-webkit-scrollbar { display: none; }
.pv-item { flex: 0 0 calc((100% - 66px) / 4); scroll-snap-align: start; text-align: center; }
.pv-phone {
  aspect-ratio: 9 / 17; overflow: hidden; border: 6px solid #10162f; border-radius: 26px; background: #10162f;
  box-shadow: 0 12px 28px rgba(13, 21, 64, 0.2); margin-bottom: 14px;
}
.pv-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 18px; }
.pv-item h3 { font-size: 1rem; margin: 0 0 3px; color: var(--navy); }
.pv-item p { margin: 0; font-size: 0.84rem; color: var(--muted); }
.pv-arrow {
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white);
  color: var(--navy); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 12px rgba(13,21,64,.08);
}
.pv-arrow:hover:not(:disabled) { background: var(--navy); color: var(--white); }
.pv-arrow:disabled { opacity: .35; cursor: default; }

@media (max-width: 1000px) {
  .tool-cards { grid-template-columns: 1fr 1fr; }
  .preview { grid-template-columns: 1fr; gap: 28px; }
  .pv-item { flex-basis: calc((100% - 22px) / 2); }
}
@media (max-width: 600px) {
  .tool-cards { grid-template-columns: 1fr; }
  .preview-slider { grid-template-columns: minmax(0, 1fr); }
  .pv-arrow { display: none; }
  .pv-item { flex-basis: 70%; }
}
