/* ==========================================================
   Software / AI / Security service pages (the "sv-" family)
   Loaded only by pages that use includes/svc-top.php.
   Colours come from style.css: navy ink, terracotta accent,
   cream paper, yellow marker.
   ========================================================== */

.sv-mark { background: linear-gradient(transparent 62%, #F5CB6E 62%, #F5CB6E 92%, transparent 92%); padding: 0 .05em; }

/* ---------- Hero ---------- */
.sv-hero { padding: 34px 0 56px; }
.sv-hero__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.sv-eyebrow {
  display: inline-block; background: rgba(232, 120, 94, 0.12); color: var(--accent);
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; margin-bottom: 20px;
}
.sv-hero h1 {
  font-family: var(--font-body); font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.12; letter-spacing: -0.02em;
  margin-bottom: 18px; text-wrap: balance;
}
.sv-hero__lead { font-size: 1.08rem; color: var(--text-muted); line-height: 1.7; max-width: 560px; margin-bottom: 28px; }
.sv-hero .hero__buttons { justify-content: flex-start; }
.sv-hero__ticks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; }
.sv-hero__ticks li { font-size: 0.9rem; font-weight: 600; color: var(--text); padding-left: 24px; position: relative; }
.sv-hero__ticks li::before {
  content: ''; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4.5 8.3l2.3 2.3 4.7-5'/></svg>") center / contain no-repeat;
}
.sv-art { position: relative; }
.sv-art svg { width: 100%; height: auto; display: block; overflow: visible; }

/* little float so the drawing feels alive, never distracting */
@keyframes sv-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.sv-bob  { animation: sv-bob 5s ease-in-out infinite; }
.sv-bob2 { animation: sv-bob 6.5s ease-in-out -2s infinite; }
@keyframes sv-dash { to { stroke-dashoffset: -28; } }
.sv-flow { stroke-dasharray: 6 8; animation: sv-dash 1.6s linear infinite; }
@keyframes sv-blink { 0%, 60%, 100% { opacity: 1; } 75% { opacity: 0.25; } }
.sv-blink { animation: sv-blink 2.4s ease-in-out infinite; }

/* ---------- Sections ---------- */
.sv-section { padding: 64px 0; }
.sv-section--white { background: #fff; }
.sv-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.sv-head--left { margin-left: 0; text-align: left; }
.sv-kicker { display: block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.sv-head h2, .sv-split h2, .sv-band h2 {
  font-family: var(--font-body); font-weight: 700;
  font-size: clamp(1.6rem, 3.2vw, 2.2rem); line-height: 1.2; letter-spacing: -0.015em; text-wrap: balance;
}
.sv-head p { color: var(--text-muted); font-size: 1.04rem; line-height: 1.7; margin-top: 12px; }

/* ---------- Cards ---------- */
.sv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sv-cards--2 { grid-template-columns: repeat(2, 1fr); }
.sv-cards--4 { grid-template-columns: repeat(4, 1fr); }
.sv-card {
  background: #fff; border: 1.5px solid var(--bg-dark); border-radius: 18px; padding: 26px 24px;
  box-shadow: 4px 4px 0 var(--border); transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex; flex-direction: column;
}
.sv-section--white .sv-card { background: var(--bg); }
a.sv-card:hover, .sv-card--lift:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 #F5CB6E; }
.sv-card__icon {
  width: 46px; height: 46px; border-radius: 12px; background: #FDF1D6; border: 1.5px solid var(--bg-dark);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; flex: none;
}
.sv-card__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--bg-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sv-card:nth-child(3n+2) .sv-card__icon { background: #FBE1DA; }
.sv-card:nth-child(3n) .sv-card__icon { background: #E3EDF3; }
.sv-card h3 { font-size: 1.1rem; font-weight: 700; line-height: 1.3; margin-bottom: 8px; }
.sv-card p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.65; }
.sv-card__more { margin-top: auto; padding-top: 16px; font-size: 0.9rem; font-weight: 700; color: var(--accent); }
.sv-card__tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }

/* big cards on the hub page */
.sv-card--big { padding: 0; overflow: hidden; }
.sv-card--big .sv-card__art { background: var(--bg-hero); border-bottom: 1.5px solid var(--bg-dark); padding: 22px 22px 0; }
.sv-card--big .sv-card__art svg { display: block; width: 100%; height: auto; }
.sv-card--big .sv-card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }

/* ---------- Split (text + picture or list) ---------- */
.sv-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.sv-split p { color: var(--text-muted); font-size: 1.03rem; line-height: 1.8; margin-top: 14px; }
.sv-split p strong { color: var(--text); }
.sv-checks { margin-top: 20px; }
.sv-checks li { position: relative; padding: 9px 0 9px 34px; font-size: 1rem; line-height: 1.55; border-bottom: 1px dashed var(--border); }
.sv-checks li:last-child { border-bottom: none; }
.sv-checks li::before {
  content: ''; position: absolute; left: 0; top: 11px; width: 20px; height: 20px; border-radius: 6px;
  background: #F5CB6E url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231a1a2e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><path d='M5.5 10.4l3 3 6-6.6'/></svg>") center / contain no-repeat;
  border: 1.5px solid var(--bg-dark);
}
.sv-checks--cross li::before {
  background: #FBE1DA url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231a1a2e' stroke-width='2.2' stroke-linecap='round'><path d='M6.5 6.5l7 7M13.5 6.5l-7 7'/></svg>") center / contain no-repeat;
}
.sv-panel { background: #fff; border: 1.5px solid var(--bg-dark); border-radius: 20px; padding: 28px; box-shadow: 6px 6px 0 #F5CB6E; }
.sv-panel h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.sv-panel .sv-checks { margin-top: 10px; }

/* ---------- Compare rows (which one do I need?) ---------- */
.sv-rows { background: #fff; border: 1.5px solid var(--bg-dark); border-radius: 20px; overflow: hidden; max-width: 980px; margin: 0 auto; }
.sv-row { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 20px; align-items: center; padding: 20px 26px; border-bottom: 1px dashed var(--border); }
.sv-row:last-child { border-bottom: none; }
.sv-row__if { font-size: 1rem; line-height: 1.5; }
.sv-row__if span { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-light); margin-bottom: 2px; }
.sv-row__then { font-weight: 700; font-size: 1.02rem; }
.sv-row__go { font-size: 0.95rem; font-weight: 700; color: var(--accent); white-space: nowrap; }
.sv-row__go:hover { text-decoration: underline; }

/* ---------- Steps ---------- */
.sv-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: sv; position: relative; }
.sv-steps::before { content: ''; position: absolute; left: 6%; right: 6%; top: 23px; border-top: 2px dashed var(--bg-dark); opacity: 0.25; }
.sv-step { counter-increment: sv; position: relative; padding-top: 64px; }
.sv-step::before {
  content: counter(sv); position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%;
  background: var(--bg-dark); color: #F5CB6E; font-weight: 800; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px var(--bg-hero);
}
.sv-section--white .sv-step::before { box-shadow: 0 0 0 6px #fff; }
.sv-step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.sv-step p { font-size: 0.94rem; color: var(--text-muted); line-height: 1.65; }

/* ---------- Dark band ---------- */
.sv-band { padding: 0 32px; }
.sv-band__box {
  background: var(--bg-dark); color: #fff; border-radius: 26px; padding: 52px 56px;
  max-width: 1236px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center;
}
.sv-band .sv-kicker { color: #F5CB6E; }
.sv-band h2 { color: #fff; }
.sv-band__box > div > p { color: rgba(255,255,255,0.72); line-height: 1.75; margin-top: 14px; font-size: 1.02rem; }
.sv-band__list { display: grid; gap: 12px; }
.sv-band__list li { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 14px; padding: 16px 18px; font-size: 0.96rem; line-height: 1.55; color: rgba(255,255,255,0.78); }
.sv-band__list strong { display: block; color: #fff; font-size: 1rem; margin-bottom: 2px; }

/* ---------- Chips ---------- */
.sv-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.sv-chips li { background: #fff; border: 1.5px solid var(--bg-dark); border-radius: 999px; padding: 8px 16px; font-size: 0.9rem; font-weight: 600; }
.sv-chips li:nth-child(4n+2) { background: #FDF1D6; }
.sv-chips li:nth-child(4n) { background: #FBE1DA; }

/* ---------- FAQ ---------- */
.sv-faq__list { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.sv-faq__item { background: #fff; border: 1.5px solid var(--bg-dark); border-radius: 16px; padding: 0 22px; }
.sv-faq__item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; }
.sv-faq__item summary::-webkit-details-marker { display: none; }
.sv-faq__item h3 { font-size: 1.03rem; font-weight: 700; line-height: 1.4; }
.sv-faq__plus { position: relative; width: 26px; height: 26px; flex: none; border-radius: 50%; background: #F5CB6E; border: 1.5px solid var(--bg-dark); }
.sv-faq__plus::before, .sv-faq__plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 2px; background: var(--bg-dark); transform: translate(-50%, -50%); transition: transform 0.2s ease; }
.sv-faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.sv-faq__item[open] .sv-faq__plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.sv-faq__item p { color: var(--text-muted); line-height: 1.75; font-size: 0.98rem; padding: 0 40px 20px 0; }

/* ---------- CTA ---------- */
.sv-cta { padding: 24px 0 40px; }
.sv-cta__box { text-align: center; background: #fff; border: 1.5px solid var(--bg-dark); border-radius: 26px; padding: 52px 28px; box-shadow: 8px 8px 0 #F5CB6E; max-width: 900px; margin: 0 auto; }
.sv-cta__box h2 { font-family: var(--font-body); font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.2rem); line-height: 1.2; margin-bottom: 12px; text-wrap: balance; }
.sv-cta__box p { color: var(--text-muted); max-width: 560px; margin: 0 auto 26px; line-height: 1.7; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .sv-hero__grid { grid-template-columns: 1fr; gap: 32px; }
  .sv-art { max-width: 520px; margin: 0 auto; width: 100%; }
  .sv-cards, .sv-cards--4 { grid-template-columns: repeat(2, 1fr); }
  .sv-split { grid-template-columns: 1fr; gap: 32px; }
  .sv-steps { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .sv-steps::before { display: none; }
  .sv-band__box { grid-template-columns: 1fr; gap: 28px; padding: 40px 32px; }
}
@media (max-width: 640px) {
  .sv-hero { padding: 16px 0 40px; }
  .sv-section { padding: 46px 0; }
  .sv-cards, .sv-cards--2, .sv-cards--4 { grid-template-columns: 1fr; }
  .sv-steps { grid-template-columns: 1fr; gap: 26px; }
  .sv-step { padding-top: 0; padding-left: 62px; min-height: 46px; }
  .sv-row { grid-template-columns: 1fr; gap: 6px; padding: 18px 20px; }
  .sv-band { padding: 0 16px; }
  .sv-band__box { padding: 32px 22px; border-radius: 20px; }
  .sv-hero .hero__buttons .btn, .sv-cta .btn { width: 100%; justify-content: center; }
  .sv-faq__item p { padding-right: 0; }
  .sv-cta__box { padding: 38px 20px; box-shadow: 5px 5px 0 #F5CB6E; }
}
@media (prefers-reduced-motion: reduce) {
  .sv-bob, .sv-bob2, .sv-flow, .sv-blink { animation: none; }
}

/* ==========================================================
   v2 pieces: real photos, the animated "stage", lean sections
   ========================================================== */
.sv-hero--v2 { padding: 28px 0 72px; }
.sv-hero--v2 .sv-hero__grid { gap: 56px; }

/* A real photo with live interface cards playing a short story on top.
   A small script in the page head adds .sv-anim to <html>; js/svc.js then adds .is-s1, .is-s2 ... one beat at a time.
   Without JS (or with reduced motion) every card simply shows. */
.sv-stage { position: relative; padding: 0 0 13% 0; }
.sv-stage__photo {
  width: 84%; margin-left: 16%; aspect-ratio: 5 / 4.4; object-fit: cover; display: block;
  border-radius: 26px; border: 1.5px solid var(--bg-dark); box-shadow: 10px 10px 0 #F5CB6E;
}
.sv-ui {
  position: absolute; background: #fff; border: 1.5px solid var(--bg-dark); border-radius: 16px;
  padding: 14px 16px; font-size: 13px; line-height: 1.45; color: var(--text);
  box-shadow: 0 18px 40px rgba(26,26,46,0.18);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.2, 0.9, 0.25, 1.15);
}
.sv-anim .sv-stage .sv-ui { opacity: 0; transform: translateY(18px) scale(0.96); }
.sv-ui__row { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.sv-ui__avatar { width: 28px; height: 28px; border-radius: 50%; background: #FBE1DA; border: 1.5px solid var(--bg-dark); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; flex: none; }
.sv-ui__name { font-weight: 700; font-size: 13px; }
.sv-ui__time { margin-left: auto; color: var(--text-light); font-size: 11.5px; }
.sv-ui__label { font-size: 11px; font-weight: 700; color: var(--accent); margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.sv-ui__label svg { width: 13px; height: 13px; fill: var(--accent); }
.sv-ui p { margin: 0; }
.sv-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.sv-tags span {
  background: #F5CB6E; border: 1.5px solid var(--bg-dark); border-radius: 999px; padding: 2px 9px; font-size: 11px; font-weight: 700;
  transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.2, 0.9, 0.25, 1.4);
}
.sv-tags span:nth-child(2) { background: #FBE1DA; transition-delay: 0.15s; }
.sv-tags span:nth-child(3) { background: #E3EDF3; transition-delay: 0.3s; }
.sv-anim .sv-stage .sv-tags span { opacity: 0; transform: scale(0.5); }
.sv-type { display: block; white-space: nowrap; overflow: hidden; }
.sv-anim .sv-stage .sv-type { width: 0; }
.sv-btnmini {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 11px; background: var(--bg-dark); color: #fff;
  border-radius: 999px; padding: 6px 13px; font-size: 11.5px; font-weight: 700; transition: background 0.25s ease, transform 0.15s ease;
}
.sv-btnmini .sv-btnmini__done { display: none; }
.sv-toast { display: flex; align-items: center; gap: 9px; padding: 10px 14px; font-weight: 700; font-size: 12.5px; border-radius: 999px; }
.sv-toast i { width: 20px; height: 20px; border-radius: 50%; background: #2e9e6b; flex: none; display: flex; align-items: center; justify-content: center; }
.sv-toast i svg { width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sv-cursor { position: absolute; width: 22px; height: 22px; z-index: 5; opacity: 0; transition: opacity 0.3s ease, transform 0.9s cubic-bezier(0.3, 0.7, 0.2, 1); pointer-events: none; }
.sv-cursor svg { width: 100%; height: 100%; }
.sv-dots { position: absolute; left: 16%; bottom: 3%; display: flex; gap: 6px; }
.sv-dots span { width: 22px; height: 4px; border-radius: 4px; background: rgba(26,26,46,0.16); transition: background 0.3s ease; }

/* --- The story, the same on every page ---
   Where a card sits:   sv-pos-tl (top left), sv-pos-mr (middle right), sv-pos-bl (bottom left)
   When it appears:     sv-at1 ... sv-at5 (the beat it shows on, and stays)
   Tags pop one beat after their card: put sv-at2 (etc.) on the .sv-tags row.
   Typed lines (.sv-type) start typing when their card appears.
   sv-cur4 = the pointer glides in on beat 4 and goes on beat 5.
   sv-swap5 = the button turns green and shows its "done" word on beat 5. */
.sv-pos-tl { left: 0; top: 9%; width: 60%; }
.sv-pos-mr { right: -3%; top: 47%; width: 62%; }
.sv-pos-bl { left: 5%; bottom: 9%; }
/* The pointer lives inside the button itself, so it always lands on it whatever the label or card size. */
.sv-btnmini { position: relative; }
.sv-btnmini .sv-cursor { left: 58%; top: 45%; transform: translate(70px, 58px); }
.is-s1 .sv-ui.sv-at1 { opacity: 1 !important; transform: none !important; }
.is-s1 .sv-tags.sv-at1 span { opacity: 1 !important; transform: none !important; }
.is-s1 .sv-at1 .sv-type { animation: sv-typing 0.7s steps(28) forwards; }
.is-s1 .sv-dots span:nth-child(1) { background: var(--bg-dark); }
.is-s2 .sv-ui.sv-at2 { opacity: 1 !important; transform: none !important; }
.is-s2 .sv-tags.sv-at2 span { opacity: 1 !important; transform: none !important; }
.is-s2 .sv-at2 .sv-type { animation: sv-typing 0.7s steps(28) forwards; }
.is-s2 .sv-dots span:nth-child(2) { background: var(--bg-dark); }
.is-s3 .sv-ui.sv-at3 { opacity: 1 !important; transform: none !important; }
.is-s3 .sv-tags.sv-at3 span { opacity: 1 !important; transform: none !important; }
.is-s3 .sv-at3 .sv-type { animation: sv-typing 0.7s steps(28) forwards; }
.is-s3 .sv-dots span:nth-child(3) { background: var(--bg-dark); }
.is-s4 .sv-ui.sv-at4 { opacity: 1 !important; transform: none !important; }
.is-s4 .sv-tags.sv-at4 span { opacity: 1 !important; transform: none !important; }
.is-s4 .sv-at4 .sv-type { animation: sv-typing 0.7s steps(28) forwards; }
.is-s4 .sv-dots span:nth-child(4) { background: var(--bg-dark); }
.is-s5 .sv-ui.sv-at5 { opacity: 1 !important; transform: none !important; }
.is-s5 .sv-tags.sv-at5 span { opacity: 1 !important; transform: none !important; }
.is-s5 .sv-at5 .sv-type { animation: sv-typing 0.7s steps(28) forwards; }
.is-s5 .sv-dots span:nth-child(5) { background: var(--bg-dark); }
.sv-ui .sv-type:nth-of-type(2) { animation-delay: 0.7s !important; }
.sv-ui .sv-type:nth-of-type(3) { animation-delay: 1.4s !important; }
@keyframes sv-typing { from { width: 0; } to { width: 100%; } }
.is-s4 .sv-cur4 { opacity: 1; transform: translate(0, 0); }
.is-s5 .sv-cur4 { opacity: 0; }
.is-s5 .sv-swap5 { background: #2e9e6b; transform: scale(0.96); }
.is-s5 .sv-swap5 .sv-btnmini__do { display: none; }
.is-s5 .sv-swap5 .sv-btnmini__done { display: inline; }
.sv-ui__sub { color: var(--text-muted); font-size: 12px; }
.sv-filelist { display: grid; gap: 5px; }
.sv-filelist span { display: flex; align-items: center; gap: 7px; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 4px 8px; font-size: 11.5px; font-weight: 600; }
.sv-filelist span::before { content: ''; width: 10px; height: 12px; border-radius: 2px; background: #2e9e6b; flex: none; }

/* Photo cards: one real picture, one job, one line */
.sv-pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sv-pcard { background: #fff; border: 1.5px solid var(--bg-dark); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.sv-pcard__img { position: relative; overflow: hidden; border-bottom: 1.5px solid var(--bg-dark); }
.sv-pcard__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; transition: transform 0.6s ease; }
.sv-pcard:hover .sv-pcard__img img { transform: scale(1.04); }
.sv-pcard__chip {
  position: absolute; left: 14px; bottom: 14px; background: #fff; border: 1.5px solid var(--bg-dark); border-radius: 999px;
  padding: 6px 12px 6px 8px; font-size: 12px; font-weight: 700; display: flex; align-items: center; gap: 7px; box-shadow: 3px 3px 0 #F5CB6E;
}
.sv-pcard__chip i { width: 18px; height: 18px; border-radius: 50%; background: #2e9e6b; display: flex; align-items: center; justify-content: center; flex: none; }
.sv-pcard__chip i svg { width: 11px; height: 11px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.sv-pcard__body { padding: 20px 22px 24px; }
.sv-pcard h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.3; margin-bottom: 6px; }
.sv-pcard p { font-size: 0.96rem; color: var(--text-muted); line-height: 1.6; }

/* Three short promises in the dark band */
.sv-band__box--lean { grid-template-columns: 0.8fr 1.2fr; }
.sv-promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sv-promises li { border-top: 2px solid #F5CB6E; padding-top: 14px; color: rgba(255,255,255,0.72); font-size: 0.93rem; line-height: 1.55; }
.sv-promises strong { display: block; color: #fff; font-size: 1.02rem; margin-bottom: 4px; }

@media (max-width: 980px) {
  .sv-stage { max-width: 560px; margin: 0 auto; }
  .sv-pcards { grid-template-columns: 1fr 1fr; }
  .sv-band__box--lean { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .sv-hero--v2 { padding: 12px 0 52px; }
  .sv-pcards { grid-template-columns: 1fr; }
  .sv-promises { grid-template-columns: 1fr; }
  .sv-ui { font-size: 12px; padding: 10px 12px; border-radius: 13px; }
  .sv-ui__name { font-size: 12px; }
  /* On phones the cards stop floating over the photo and stack under it instead,
     so nothing covers the face or each other. */
  .sv-stage { padding: 0; }
  .sv-stage__photo { width: 100%; margin-left: 0; aspect-ratio: 4 / 3; box-shadow: 6px 6px 0 #F5CB6E; }
  .sv-stage .sv-ui { position: relative; top: auto; right: auto; bottom: auto; left: auto; width: auto; }
  .sv-stage .sv-pos-tl { margin: -34px 34px 0 12px; }
  .sv-stage .sv-pos-mr { margin: 10px 12px 0 34px; }
  .sv-stage .sv-pos-bl { margin: 10px 0 0 12px; width: fit-content; }
  .sv-stage .sv-cursor { display: none; }
  .sv-stage .sv-dots { position: static; margin: 16px 0 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .sv-ui, .sv-tags span, .sv-cursor { transition: none; }
}

.sv-section--flush { padding-top: 0; }
a.sv-pcard { color: inherit; transition: transform 0.2s ease, box-shadow 0.2s ease; }
a.sv-pcard:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 #F5CB6E; }

/* ---------- The guide: the longer read for people (and Google) who want detail ---------- */
.sv-guide__grid { display: grid; grid-template-columns: 0.8fr 1.6fr; gap: 56px; align-items: start; }
.sv-guide__side { position: sticky; top: 100px; }
.sv-guide__side h2 { font-family: var(--font-body); font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.2rem); line-height: 1.2; letter-spacing: -0.015em; text-wrap: balance; }
.sv-guide__side p { color: var(--text-muted); line-height: 1.7; margin-top: 12px; }
.sv-guide__item { padding: 26px 0; border-top: 1.5px solid var(--bg-dark); }
.sv-guide__item:first-child { padding-top: 0; border-top: none; }
.sv-guide__item h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.3; margin-bottom: 10px; }
.sv-guide__item p { color: var(--text); font-size: 1rem; line-height: 1.8; max-width: 68ch; }
.sv-guide__item p + p { margin-top: 12px; }
.sv-guide__item a { color: var(--accent); font-weight: 600; }
.sv-guide__item a:hover { text-decoration: underline; }
@media (max-width: 980px) {
  .sv-guide__grid { grid-template-columns: 1fr; gap: 28px; }
  .sv-guide__side { position: static; }
}

/* ==========================================================
   Long-form pieces (first used on mobile-app-development, Nov 2026):
   contents row, prose blocks, tables, four-up photo cards.
   ========================================================== */
.sv-hero__intro { font-size: 0.98rem; color: var(--text-muted); line-height: 1.75; max-width: 560px; margin: -12px 0 28px; }
.sv-hero .hero__buttons { flex-wrap: wrap; }

/* "On this page" jump links under the hero */
.sv-toc { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 48px; padding-top: 22px; border-top: 1px dashed rgba(26,26,46,0.2); }
.sv-toc__label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-light); margin-right: 6px; }
.sv-toc a { background: #fff; border: 1.5px solid var(--bg-dark); border-radius: 999px; padding: 6px 14px; font-size: 0.88rem; font-weight: 600; color: var(--text); transition: background 0.2s ease; }
.sv-toc a:hover { background: #F5CB6E; }

/* Links inside running text */
.sv-card p a, .sv-pcard p a, .sv-prose p a, .sv-after a, .sv-cta__box p a { color: var(--accent); font-weight: 600; }
.sv-card p a:hover, .sv-pcard p a:hover, .sv-prose p a:hover, .sv-after a:hover, .sv-cta__box p a:hover { text-decoration: underline; }
.sv-band__box > div > p a { color: #F5CB6E; font-weight: 600; }
.sv-band__box > div > p a:hover { text-decoration: underline; }

/* Text column with its own H2 (used inside .sv-split) */
.sv-split--top { align-items: start; }
.sv-prose h2 { font-family: var(--font-body); font-weight: 700; font-size: clamp(1.6rem, 3.2vw, 2.2rem); line-height: 1.2; letter-spacing: -0.015em; text-wrap: balance; }
.sv-prose p { color: var(--text-muted); font-size: 1.02rem; line-height: 1.8; margin-top: 14px; }
.sv-prose p.sv-source { font-size: 0.84rem; line-height: 1.6; color: var(--text-light); }
.sv-prose p.sv-source a { color: inherit; font-weight: 500; text-decoration: underline; }
.sv-panel__lead { font-weight: 700; margin-bottom: 12px; }
.sv-after { max-width: 760px; margin: 28px auto 0; text-align: center; color: var(--text-muted); line-height: 1.75; }

/* Tables */
.sv-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.sv-table-wrap--wide { margin-top: 40px; background: #fff; border: 1.5px solid var(--bg-dark); border-radius: 20px; }
.sv-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.55; }
.sv-table th, .sv-table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px dashed var(--border); }
.sv-table tbody tr:last-child th, .sv-table tbody tr:last-child td { border-bottom: none; }
.sv-table thead th { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-light); border-bottom: 1.5px solid var(--bg-dark); }
.sv-table tbody th { font-weight: 700; color: var(--text); }
.sv-table td { color: var(--text-muted); }
.sv-panel .sv-table th, .sv-panel .sv-table td { padding-left: 0; }
.sv-table--compare { min-width: 640px; }
.sv-table--compare th, .sv-table--compare td { padding: 16px 20px; }
.sv-table--compare thead th { font-size: 0.95rem; letter-spacing: 0; text-transform: none; color: var(--text); }
.sv-table--compare thead th:nth-child(2) { background: #FDF1D6; }
.sv-table--compare tbody td:nth-child(2) { background: rgba(253,241,214,0.45); }

/* Four photo cards in a row */
.sv-pcards--4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sv-pcards--4 .sv-pcard p { font-size: 0.93rem; }

@media (max-width: 1100px) {
  .sv-pcards--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .sv-pcards--4 { grid-template-columns: 1fr; }
  .sv-toc { margin-top: 32px; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
  .sv-toc a { white-space: nowrap; }
  .sv-toc__label { display: none; }
  .sv-hero__ticks { flex-direction: column; }
}
