/* VocGrade website (home and terms pages). Brand: navy #1F3A5F, teal #1B998B,
   deep teal #157A6F (buttons), amber #F4A259. */
:root {
  --navy: #1F3A5F; --teal: #1B998B; --teal-dark: #157A6F; --amber: #F4A259;
  --ink: #1F3A5F; --muted: #55606E; --bg: #FFFFFF; --soft: #F4F7FA; --card: #FFFFFF; --line: #DDE3EA; --link: #157A6F;
}
@media (prefers-color-scheme: dark) {
  :root { --ink: #E6ECF3; --muted: #9AA7B6; --bg: #0F141B; --soft: #151C25; --card: #18212C; --line: #2A3442; --link: #4CC2B2; }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--link); }
img { max-width: 100%; height: auto; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* Top bar */
.top { background: var(--navy); color: #fff; }
.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand svg { flex: none; }
.brand b { font-size: 20px; display: block; line-height: 1.1; }
.brand span { color: var(--amber); font-size: 12px; }
.top nav { margin-left: auto; display: flex; gap: 18px; align-items: center; font-size: 15px; }
.top nav a { color: #fff; text-decoration: none; opacity: .9; }
.top nav a:hover { opacity: 1; text-decoration: underline; }
.top nav .btn { white-space: nowrap; }
@media (max-width: 640px) { .top nav a.hide-sm, .brand span { display: none; } }

.btn { display: inline-block; background: var(--teal-dark); color: #fff !important; text-decoration: none; font-weight: 600; padding: 12px 20px; border-radius: 10px; }
.btn:hover { background: #126A60; }
.btn.small { padding: 7px 14px; font-size: 14px; border-radius: 8px; }
.btn.ghost { background: transparent; border: 1px solid rgba(255,255,255,.5); }

/* Hero */
.hero { background: linear-gradient(135deg, #1F3A5F 0%, #1F3A5F 55%, #17675F 100%); color: #fff; padding: 56px 0 64px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero h1 { font-size: 44px; line-height: 1.12; margin: 0 0 16px; }
.hero p.lead { font-size: 19px; color: #D5E0EC; margin: 0 0 24px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero .note { font-size: 14px; color: #B8C7D8; margin-top: 12px; }
.hero img { border-radius: 12px; box-shadow: 0 18px 50px rgba(0,0,0,.35); }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
}

/* Sections */
section { padding: 64px 0; }
section.soft { background: var(--soft); }
h2 { font-size: 30px; line-height: 1.2; margin: 0 0 12px; }
.sub { color: var(--muted); max-width: 680px; margin: 0 0 32px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .grid3, .grid2 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon { width: 40px; height: 40px; border-radius: 10px; background: rgba(27,153,139,.14); color: var(--teal-dark); display: grid; place-items: center; margin-bottom: 12px; font-weight: 700; }
@media (prefers-color-scheme: dark) { .icon { color: #4CC2B2; } }
ul.ticks { list-style: none; padding: 0; margin: 0; }
ul.ticks li { padding-left: 30px; position: relative; margin-bottom: 10px; }
ul.ticks li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--amber); }
.shot { border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(31,58,95,.12); }

/* Steps */
ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
ol.steps li { counter-increment: s; }
ol.steps li::before { content: counter(s); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--teal-dark); color: #fff; font-weight: 700; margin-bottom: 10px; }
ol.steps b { display: block; margin-bottom: 4px; }
ol.steps span { color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { ol.steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { ol.steps { grid-template-columns: 1fr; } }

/* Pricing */
.price-card { max-width: 440px; margin: 0 auto; text-align: center; border: 2px solid var(--teal); }
.price { font-size: 52px; font-weight: 800; line-height: 1; margin: 8px 0 2px; }
.price small { font-size: 18px; font-weight: 500; color: var(--muted); }
.price-card ul.ticks { text-align: left; margin: 20px 0 24px; }

/* FAQ */
details.q { border-bottom: 1px solid var(--line); padding: 14px 0; }
details.q summary { cursor: pointer; font-weight: 600; list-style: none; }
details.q summary::-webkit-details-marker { display: none; }
details.q summary::before { content: "+"; display: inline-block; width: 22px; color: var(--teal); font-weight: 700; }
details.q[open] summary::before { content: "\2212"; }
details.q p { margin: 8px 0 0 22px; color: var(--muted); }

/* Footer */
footer { background: var(--navy); color: #C9D5E3; padding: 32px 0; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
footer a { color: #fff; }
footer .legal { flex-basis: 100%; color: #9FB0C4; font-size: 13px; }

/* Text pages (terms) */
.page { max-width: 760px; margin: 0 auto; padding: 8px 16px 56px; }
.page h1 { font-size: 30px; margin: 28px 0 4px; }
.page h2 { font-size: 20px; margin: 28px 0 6px; }
.page .muted { color: var(--muted); }

/* Sub-processor tables */
table.sp { border-collapse: collapse; width: 100%; font-size: 15px; }
table.sp th, table.sp td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
@media (max-width: 640px) { table.sp, table.sp tbody, table.sp tr, table.sp td { display: block; width: 100%; } table.sp tr:first-child { display: none; } table.sp tr { padding: 8px 0; border-bottom: 1px solid var(--line); } table.sp td { border: 0; padding: 2px 0; } }
