/* Haverut website: dark theme */
:root {
  color-scheme: dark;
  --bg: #0A1430;          /* page background */
  --bg-2: #0E1A3D;        /* alternate sections */
  --surface: #13224B;     /* cards */
  --surface-2: #1A2D5E;   /* card hover, inputs */
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.22);
  --text: #E4EAF4;
  --muted: #A3B0C8;
  --heading: #FFFFFF;
  --blue: #1C75BC;
  --blue-bright: #5AA8E8;  /* links and icons on dark */
  --blue-dark: #155E98;
  --gold: #E3A72F;
  --gold-dark: #CF9422;
  --navy: #0F1E3D;
  --radius: 14px;
  --shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
section[id], article[id], div[id] { scroll-margin-top: 80px; }

body {
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { line-height: 1.15; color: var(--heading); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 700; margin-bottom: 28px; }
h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }

.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin-top: 16px; }

.eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue-bright); margin-bottom: 12px;
}
.eyebrow-gold { color: var(--gold); }

/* Buttons */
.btn {
  display: inline-block; background: var(--blue); color: #FFFFFF;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: 1rem;
  border: 2px solid var(--blue); transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-small { padding: 8px 18px; font-size: 0.95rem; }
.btn-ghost, .btn-ghost-light { background: transparent; color: var(--heading); border-color: var(--line-strong); }
.btn-ghost:hover, .btn-ghost-light:hover { background: rgba(255,255,255,.06); border-color: var(--heading); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(10, 20, 48, 0.88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; }
.logo img { height: 28px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; font-weight: 500; }
.site-nav a:not(.btn) { color: var(--muted); }
.site-nav a:not(.btn):hover, .site-nav a.active { color: var(--heading); }
.site-nav a.active { font-weight: 600; }
.menu-toggle, .menu-button { display: none; }

/* Hero */
.hero {
  padding: 72px 0 80px;
  background:
    radial-gradient(900px 420px at 85% 10%, rgba(28, 117, 188, 0.28), transparent 70%),
    radial-gradient(600px 300px at 0% 100%, rgba(227, 167, 47, 0.10), transparent 70%),
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-image { position: relative; }
.hero-image img { border-radius: 20px; box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border: 1px solid var(--line); }
.hero-badge {
  position: absolute; left: -18px; bottom: 24px; background: var(--surface);
  border: 1px solid var(--line-strong);
  padding: 12px 18px; border-radius: 12px; box-shadow: var(--shadow);
  font-size: 0.92rem; font-weight: 500; color: var(--heading);
  display: flex; align-items: center; gap: 10px; max-width: 290px;
}
.badge-dot { width: 10px; height: 10px; border-radius: 50%; background: #3DD68C; flex: none; box-shadow: 0 0 0 4px rgba(61,214,140,.18); }

/* Sections */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-2); }
.section-dark { background: linear-gradient(180deg, #0F1E45, #0B1638); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-blue { background: linear-gradient(135deg, #1C75BC, #134F86); color: #FFFFFF; }
.section-blue h2 { color: #FFFFFF; margin-bottom: 0; }
.section-blue .lead { color: #DCEBF7; }

/* Cards */
.cards { display: grid; gap: 22px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: background .2s, transform .2s, border-color .2s;
}
.card:hover { background: var(--surface-2); border-color: var(--line-strong); transform: translateY(-2px); }
.card p { color: var(--muted); font-size: 0.98rem; }
.card-icon {
  width: 48px; height: 48px; border-radius: 12px; background: rgba(90, 168, 232, 0.14);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card-icon svg, .placeholder-art svg {
  width: 24px; height: 24px; fill: none; stroke: var(--blue-bright); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.card-row { display: grid; grid-template-columns: 180px 1fr; gap: 22px; align-items: center; padding: 18px; }
.card-row img, .placeholder-art { width: 100%; height: 150px; object-fit: cover; border-radius: 10px; }
.placeholder-art { background: rgba(90, 168, 232, 0.12); display: grid; place-items: center; }
.placeholder-art svg { width: 48px; height: 48px; stroke-width: 1.4; }
.tag {
  display: inline-block; font-size: 0.75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px;
  background: rgba(61, 214, 140, 0.15); color: #6FE3A9; margin-bottom: 10px;
}
.tag-muted { background: rgba(227, 167, 47, 0.16); color: #F0C46A; }
.text-link { display: inline-block; margin-top: 10px; color: var(--blue-bright); font-weight: 600; }
.text-link:hover { text-decoration: underline; }

/* Spotlight */
.spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.spotlight-image img { border-radius: 20px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border: 1px solid var(--line); }
.ticks { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1E3D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.small-note { margin-top: 18px; font-size: 0.9rem; color: #8592AC; }

/* About (home) */
.about { max-width: 780px; text-align: center; }
.about blockquote {
  font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 600; line-height: 1.35; color: var(--heading);
  margin-bottom: 20px; letter-spacing: -0.01em;
}
.about p { color: var(--muted); }

/* Contact band (home) */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.contact-list { display: grid; gap: 12px; }
.contact-item {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  padding: 16px 20px; border-radius: 12px;
}
a.contact-item:hover { background: rgba(255,255,255,.16); }
.contact-label { font-size: 0.9rem; color: #DCEBF7; }
.contact-value { font-weight: 600; font-size: 1.05rem; }

/* ---------- Inner pages ---------- */
.page-hero {
  padding: 64px 0 48px;
  background: radial-gradient(800px 320px at 90% 0%, rgba(28, 117, 188, 0.25), transparent 70%), var(--bg);
}
.page-hero .lead { max-width: 680px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 80px; }
.split img { border-radius: 20px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border: 1px solid var(--line); }
.split.reverse > :first-child { order: 2; }
.split h2 { margin-bottom: 12px; }
.split .lead { margin-top: 0; }
.list { margin-top: 20px; padding-left: 20px; color: var(--muted); display: grid; gap: 6px; }
.icon-tile {
  width: 100%; aspect-ratio: 4 / 3; border-radius: 20px;
  background: radial-gradient(circle at 30% 20%, rgba(90,168,232,.22), rgba(90,168,232,.06));
  border: 1px solid var(--line); display: grid; place-items: center;
}
.icon-tile svg { width: 96px; height: 96px; fill: none; stroke: var(--blue-bright); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { padding: 24px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold); color: var(--navy); font-weight: 700; margin-bottom: 14px;
}
.step p { color: var(--muted); font-size: 0.96rem; }

.values .card h3 { color: var(--gold); }

.cta-band { text-align: center; }
.cta-band .lead { margin: 12px auto 0; }
.cta-band .hero-actions { justify-content: center; }

/* Contact page */
.contact-page { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.form { display: grid; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px; box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.95rem; color: var(--heading); }
.field .hint { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--text); padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: 10px; background: var(--bg); width: 100%;
}
.field input::placeholder, .field textarea::placeholder { color: #6E7C97; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(90,168,232,.35); border-color: var(--blue-bright); }
.field textarea { min-height: 140px; resize: vertical; }
.form .btn { justify-self: start; cursor: pointer; font-family: inherit; }
.form-note { font-size: 0.88rem; color: var(--muted); }
.hidden { display: none; }
.side-list { display: grid; gap: 14px; }
.side-item { display: block; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
a.side-item:hover { border-color: var(--blue-bright); }
.side-item .contact-label { color: var(--muted); display: block; }
.side-item .contact-value { color: var(--heading); display: block; margin-top: 2px; }
.btn-whatsapp { background: #1FA855; border-color: #1FA855; width: 100%; text-align: center; }
.btn-whatsapp:hover { background: #178C46; border-color: #178C46; }

/* Long text (privacy) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.4rem; margin: 40px 0 12px; }
.prose p, .prose li { color: #C9D2E3; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 22px; margin-top: 10px; display: grid; gap: 6px; }
.prose a { color: var(--blue-bright); text-decoration: underline; }
.notice { background: rgba(227,167,47,.12); border: 1px solid rgba(227,167,47,.4); color: #F0C46A; padding: 14px 18px; border-radius: 12px; font-size: 0.95rem; margin-bottom: 32px; }

/* Footer */
.site-footer { background: #070F26; color: #8592AC; padding: 32px 0; font-size: 0.92rem; border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-row a:hover { color: #FFFFFF; }
.footer-brand img { height: 22px; width: auto; margin-bottom: 8px; }

/* Tablet */
@media (max-width: 960px) {
  .cards.four { grid-template-columns: repeat(2, 1fr); }
  .cards.two { grid-template-columns: 1fr; }
  .cards.three { grid-template-columns: 1fr 1fr; }
  .hero-grid, .spotlight, .contact, .split, .contact-page { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child { order: 0; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-badge { left: 12px; }
}

/* Phone */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .section { padding: 64px 0; }
  .hero { padding: 44px 0 56px; }
  .page-hero { padding: 40px 0 28px; }
  .cards.four, .cards.three, .steps, .form-row { grid-template-columns: 1fr; }
  .card-row { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .split + .split { margin-top: 56px; }

  .menu-button {
    display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 10px;
  }
  .menu-button span { width: 22px; height: 2px; background: var(--heading); border-radius: 2px; }
  .site-nav {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px;
  }
  .site-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 12px; text-align: center; }
  .menu-toggle:checked ~ .site-nav { display: flex; }
  .contact-item { flex-direction: column; align-items: flex-start; gap: 2px; }
}

/* ---------- Products page ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip {
  padding: 7px 14px; border-radius: 999px; font-size: 0.9rem; font-weight: 500;
  border: 1px solid var(--line-strong); color: var(--muted);
}
.chip:hover { color: var(--heading); border-color: var(--heading); }

.steps.six { grid-template-columns: repeat(3, 1fr); }
.flow-note { margin-top: 22px; color: var(--muted); }

.problem .card h3 { color: #FF9C8A; }
.callout {
  margin-top: 28px; padding: 18px 22px; border-radius: var(--radius);
  border-left: 4px solid var(--gold); background: rgba(227,167,47,.08); color: var(--text);
}

.feature-list { list-style: none; margin-top: 22px; display: grid; gap: 16px; }
.feature-list li { padding-left: 32px; position: relative; color: var(--muted); }
.feature-list li strong { display: block; color: var(--heading); font-weight: 600; }
.feature-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1E3D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.pkg-note { display: inline-block; font-size: 0.75rem; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: rgba(90,168,232,.16); color: var(--blue-bright); margin-left: 6px; vertical-align: 2px; }
.quote-box { margin-top: 24px; padding: 18px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.quote-box strong { color: var(--heading); display: block; }
.quote-box span { color: var(--muted); font-size: 0.95rem; }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.plan { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.plan h3 { font-size: 1.05rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }
.plan .size { color: var(--heading); font-weight: 600; margin: 6px 0 14px; }
.plan ul { list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: 0.95rem; margin-bottom: 22px; }
.plan ul li::before { content: "✓ "; color: var(--blue-bright); font-weight: 700; }
.plan .btn { margin-top: auto; text-align: center; }
.plan-featured { border-color: var(--blue-bright); background: linear-gradient(180deg, #1A2D5E, var(--surface)); }

.offer {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  padding: 32px; border-radius: 20px; border: 1px solid rgba(227,167,47,.45);
  background: linear-gradient(135deg, rgba(227,167,47,.16), rgba(227,167,47,.04));
}
.offer-big { font-size: 3rem; font-weight: 700; color: var(--gold); line-height: 1; }
.offer h2 { margin-bottom: 4px; font-size: 1.6rem; }
.offer p { color: var(--muted); }

@media (max-width: 960px) {
  .plans { grid-template-columns: 1fr 1fr; }
  .steps.six { grid-template-columns: 1fr 1fr; }
  .offer { grid-template-columns: 1fr; text-align: left; gap: 16px; }
}
@media (max-width: 720px) {
  .plans, .steps.six { grid-template-columns: 1fr; }
}

/* Real system screenshots */
.frame {
  margin: 0; border-radius: 14px; overflow: hidden; background: #12182B;
  border: 1px solid var(--line-strong); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.frame-bar { display: flex; gap: 6px; align-items: center; height: 28px; padding: 0 12px; background: #1B2238; border-bottom: 1px solid var(--line); }
.frame-bar span { width: 9px; height: 9px; border-radius: 50%; background: #3A4360; }
.frame-bar span:first-child { background: #E5675A; }
.frame-bar span:nth-child(2) { background: #E3A72F; }
.frame-bar span:nth-child(3) { background: #3DD68C; }
.frame img, .split .frame img, .hero-image .frame img {
  width: 100%; height: auto; aspect-ratio: auto; object-fit: initial; border: 0; border-radius: 0; box-shadow: none;
}
.frame-wrap { margin: 0; min-width: 0; }
.shot-caption { margin-top: 10px; font-size: 0.82rem; color: #7F8BA6; text-align: center; }

.phones { display: flex; justify-content: center; gap: 22px; padding-bottom: 36px; }
.phone {
  width: 46%; max-width: 250px; border-radius: 34px; overflow: hidden; background: #000;
  border: 7px solid #262E47; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.phone:nth-child(2) { transform: translateY(36px); }
.phone img, .split .phone img { width: 100%; height: auto; aspect-ratio: auto; border: 0; border-radius: 0; }

/* ---------- Security section ---------- */
.security-band {
  background:
    radial-gradient(900px 400px at 10% 0%, rgba(28, 117, 188, 0.20), transparent 70%),
    radial-gradient(700px 360px at 100% 100%, rgba(227, 167, 47, 0.08), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.security-intro { max-width: 760px; }
.security-intro .lead { max-width: 700px; }
.sub-head { margin: 72px 0 8px; font-size: clamp(1.35rem, 2.6vw, 1.75rem); }
.sub-lead { color: var(--muted); max-width: 700px; margin-bottom: 28px; }

.role-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.role-tab {
  font: inherit; font-weight: 600; font-size: 0.98rem; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: 999px; color: var(--muted);
  background: var(--surface); border: 1px solid var(--line-strong);
}
.role-tab:hover { color: var(--heading); border-color: var(--heading); }
.role-tab[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.role-avatar {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: 0.72rem; font-weight: 700; background: rgba(90,168,232,.2); color: var(--blue-bright);
}
.role-tab[aria-selected="true"] .role-avatar { background: var(--navy); color: var(--gold); }

.role-panel { display: grid; grid-template-columns: 0.85fr 1.4fr; gap: 36px; align-items: start; }
.role-panel[hidden] { display: none; }
.role-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px; }
.role-card h3 { font-size: 1.35rem; margin-bottom: 4px; }
.role-card .who { color: var(--gold); font-weight: 600; font-size: 0.9rem; margin-bottom: 14px; }
.role-card > p { color: var(--muted); }
.can-list { list-style: none; margin-top: 18px; display: grid; gap: 10px; }
.can-list li { position: relative; padding-left: 30px; color: var(--text); font-size: 0.96rem; }
.can-list li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: #2FB36B url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.can-list li.no::before {
  background: #D9534F url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7L7 17'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.can-label { margin-top: 20px; font-size: 0.78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.role-shot .phones { padding-bottom: 0; }
.role-shot .phone { max-width: 280px; width: 70%; }
.role-note { margin-top: 18px; color: var(--muted); font-size: 0.95rem; text-align: center; }

.scope-key { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 22px; }
.scope { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.scope strong { display: block; color: var(--heading); }
.scope span { color: var(--muted); font-size: 0.88rem; }
.scope.on { border-color: var(--blue-bright); }

.shield-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shield-cards .card h3 { font-size: 1.08rem; }

@media (max-width: 960px) {
  .role-panel { grid-template-columns: 1fr; }
  .role-panel .role-shot { order: -1; }
  .shield-cards { grid-template-columns: 1fr 1fr; }
  .scope-key { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .shield-cards { grid-template-columns: 1fr; }
  .role-tab { padding: 8px 14px; font-size: 0.92rem; }
}

/* Generated photos */
.card-photo { display: block; width: calc(100% + 56px); max-width: none; margin: -28px -28px 20px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
.photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; border: 1px solid var(--line); box-shadow: var(--shadow); }
