/* ============================================================
   Revcircle — shared styles
   Brand: purple (#7C4DA0) + sky blue (#6FA8DC), light modern
   ============================================================ */

:root {
  --purple:        #7C4DA0;
  --purple-deep:   #5C3A7E;
  --purple-soft:   #F4EFFA;
  --sky:           #6FA8DC;
  --sky-soft:      #EAF2FB;
  --ink:           #241E2E;
  --body:          #4A4458;
  --muted:         #7C7689;
  --line:          #E7E1F0;
  --bg:            #FFFFFF;
  --bg-alt:        #FAF8FD;
  --radius:        14px;
  --radius-lg:     22px;
  --shadow:        0 10px 30px rgba(60, 30, 90, 0.08);
  --shadow-sm:     0 4px 14px rgba(60, 30, 90, 0.06);
  --maxw:          1160px;
  --grad:          linear-gradient(120deg, #7C4DA0 0%, #6FA8DC 100%);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
}

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15.5px;
  padding: 13px 24px;
  border-radius: 10px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--purple); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--purple-deep); transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--purple); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--purple); transform: translateY(-2px); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-light:hover { background: rgba(255,255,255,.24); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--purple); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.18); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 11px; }
.logo img { height: 34px; width: auto; }
.site-footer .logo img { height: 36px; }
.logo-text { font-size: 23px; font-weight: 800; color: var(--purple); letter-spacing: -0.02em; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { font-weight: 500; font-size: 15.5px; color: var(--body); transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--purple); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(111,168,220,.18), transparent 60%),
    radial-gradient(800px 500px at 0% 110%, rgba(124,77,160,.12), transparent 55%),
    var(--bg-alt);
  padding: 92px 0 72px;
  overflow: hidden;
}
.hero h1 { font-size: clamp(34px, 5vw, 56px); max-width: 760px; margin-bottom: 22px; }
.hero .sub { font-size: clamp(17px, 2vw, 20px); color: var(--body); max-width: 660px; margin-bottom: 18px; }
.hero .support { color: var(--muted); max-width: 640px; margin-bottom: 32px; font-size: 16px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Service strip ---------- */
.service-strip { background: var(--purple); }
.service-strip .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 10px 0; padding: 16px 24px;
}
.service-strip .item { color: #fff; font-weight: 600; font-size: 15px; padding: 4px 22px; opacity: .95; }
.service-strip .item:not(:last-child) { border-right: 1px solid rgba(255,255,255,.28); }

/* ---------- Sections ---------- */
section { scroll-margin-top: 84px; }
.section { padding: 86px 0; }
.section.alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 16px; }
.section-head p { font-size: 18px; color: var(--body); }

.lead { font-size: 18px; color: var(--body); max-width: 760px; }
.lead + .lead { margin-top: 16px; }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #DAD0EC; }
.card .ic {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--purple-soft); color: var(--purple);
}
.card .ic svg { width: 24px; height: 24px; }
.card h3 { font-size: 19px; margin-bottom: 10px; }
.card p { font-size: 15.5px; color: var(--muted); }

/* ---------- Why / split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.feature-list { display: grid; gap: 22px; }
.feature {
  display: flex; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow-sm);
}
.feature .dot {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 10px;
  display: grid; place-items: center; background: var(--sky-soft); color: var(--sky);
}
.feature .dot svg { width: 21px; height: 21px; }
.feature h4 { font-size: 16.5px; margin-bottom: 5px; }
.feature p { font-size: 14.5px; color: var(--muted); }

/* ---------- Careers chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 30px; }
.chip {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 18px; font-size: 14.5px; font-weight: 600; color: var(--purple-deep);
  box-shadow: var(--shadow-sm);
}
.careers-panel {
  background: var(--grad); border-radius: var(--radius-lg);
  padding: 54px 48px; color: #fff;
}
.careers-panel h2, .careers-panel h3 { color: #fff; }
.careers-panel .lead { color: rgba(255,255,255,.92); }
.careers-panel .chip { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.3); color: #fff; }
.careers-panel .cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Form ---------- */
.form-section .inner {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start;
}
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px; box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: inherit; font-size: 15.5px; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(124,77,160,.12);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.form-success {
  display: none; margin-top: 18px; padding: 14px 16px; border-radius: 10px;
  background: var(--sky-soft); color: var(--purple-deep); font-weight: 600; font-size: 15px;
  border: 1px solid #CFE0F3;
}
.form-success.show { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: #1E1828; color: #C9C2D6; padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer .logo-text { color: #fff; }
.footer-about { font-size: 15px; color: #A39CB4; margin-top: 16px; max-width: 340px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: .02em; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a, .footer-col li { font-size: 14.5px; color: #A39CB4; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  font-size: 13.5px; color: #8A8398; text-align: center;
}

/* ---------- Service blocks (Services page) ---------- */
.service-stack { display: grid; gap: 26px; }
.service-block {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 34px 30px; box-shadow: var(--shadow-sm);
  scroll-margin-top: 90px; transition: box-shadow .18s, border-color .18s;
}
.service-block:hover { box-shadow: var(--shadow); border-color: #DAD0EC; }
.service-block .sb-head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; }
.service-block .ic {
  width: 52px; height: 52px; border-radius: 13px; flex: 0 0 auto;
  display: grid; place-items: center; background: var(--purple-soft); color: var(--purple); margin: 0;
}
.service-block .ic svg { width: 26px; height: 26px; }
.service-block h3 { font-size: 22px; }
.service-block .sb-desc { color: var(--body); font-size: 16px; margin-bottom: 22px; max-width: 880px; }
.service-block .sb-desc + .sb-desc { margin-top: -10px; }
.sb-label { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }

.checklist { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 28px; }
.checklist li { position: relative; padding-left: 28px; font-size: 15px; color: var(--body); }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px;
  border-radius: 5px; background: var(--sky-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236FA8DC' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m20 6-11 11L4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}

/* numbered steps */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 26px; }
.steps li { position: relative; padding-left: 48px; font-size: 15.5px; color: var(--body); align-self: start; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 9px;
  background: var(--purple); color: #fff; font-weight: 700; font-size: 14px;
  display: grid; place-items: center;
}

@media (max-width: 640px) {
  .checklist, .steps { grid-template-columns: 1fr; }
  .service-block { padding: 26px 22px; }
}

/* ---------- Growth path ---------- */
.growth-path { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.growth-step {
  background: #fff; border: 1.5px solid var(--line); border-radius: 999px;
  padding: 11px 20px; font-weight: 600; font-size: 14.5px; color: var(--purple-deep);
  box-shadow: var(--shadow-sm);
}
.growth-step:nth-child(odd) { border-color: #DCD0EE; }
.growth-arrow { color: var(--sky); font-weight: 700; font-size: 18px; line-height: 1; }

/* ---------- File upload field ---------- */
.field input[type="file"] {
  padding: 10px 14px; background: var(--bg-alt); cursor: pointer;
  font-size: 14.5px; color: var(--body);
}
.field input[type="file"]::file-selector-button {
  font-family: inherit; font-weight: 600; font-size: 14px; cursor: pointer;
  margin-right: 14px; padding: 8px 16px; border: none; border-radius: 8px;
  background: var(--purple); color: #fff;
}
.field .hint { font-size: 12.5px; color: var(--muted); }

/* ---------- Trust / Compliance page ---------- */
.cred-card { display: flex; flex-direction: column; }
.cred-card .cred-meta { display: grid; gap: 8px; margin: 16px 0 20px; }
.cred-row { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; border-bottom: 1px dashed var(--line); padding-bottom: 7px; }
.cred-row span:first-child { color: var(--muted); }
.cred-row span:last-child { color: var(--ink); font-weight: 600; text-align: right; }
.cred-actions { margin-top: auto; display: flex; gap: 12px; flex-wrap: wrap; }
.cred-thumb {
  border: 1px solid var(--line); border-radius: 10px; overflow: hidden; cursor: zoom-in;
  background: var(--bg-alt); aspect-ratio: 4/3; display: grid; place-items: center; margin-bottom: 18px;
}
.cred-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .25s; }
.cred-thumb:hover img { transform: scale(1.04); }
.btn-verify { font-size: 14px; padding: 9px 16px; }

/* badges row */
.badge-row { display: flex; flex-wrap: wrap; gap: 14px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; background: #fff;
  border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px;
  font-weight: 600; font-size: 14.5px; color: var(--purple-deep); box-shadow: var(--shadow-sm);
}
.badge svg { width: 18px; height: 18px; color: var(--sky); }

/* control domains */
.control-card .ctitle { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.control-card .ctitle .ic { margin: 0; width: 42px; height: 42px; }
.control-card h3 { font-size: 18px; }
.control-card ul { list-style: none; display: grid; gap: 9px; }
.control-card li { position: relative; padding-left: 24px; font-size: 14.5px; color: var(--body); }
.control-card li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--sky);
}

/* concern -> control table */
.ctable { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.ctable th, .ctable td { text-align: left; padding: 15px 20px; font-size: 15px; vertical-align: top; }
.ctable thead th { background: var(--purple); color: #fff; font-weight: 600; font-size: 14px; letter-spacing: .02em; }
.ctable tbody tr:nth-child(even) { background: var(--bg-alt); }
.ctable td:first-child { font-weight: 600; color: var(--ink); width: 32%; }
.ctable td { border-top: 1px solid var(--line); color: var(--body); }

/* framework cards */
.fw-card .fw-tag { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); margin-bottom: 8px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(20,12,30,.85); display: none; place-items: center; z-index: 200; padding: 30px; }
.lightbox.show { display: grid; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox .lb-close { position: absolute; top: 20px; right: 28px; color: #fff; font-size: 40px; font-weight: 300; cursor: pointer; line-height: 1; background: none; border: none; }
.disclaimer { font-size: 13px; color: var(--muted); max-width: 880px; margin-top: 8px; }

@media (max-width: 700px){
  .ctable td:first-child { width: 40%; }
  .ctable th, .ctable td { padding: 12px 14px; font-size: 14px; }
}

/* ---------- Logo mark ---------- */
.logo-mark { width: 34px; height: 34px; flex: 0 0 auto; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .form-section .inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 18px 24px; gap: 16px;
  }
  .grid-3, .grid-2, .form-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .careers-panel, .form-card { padding: 30px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
  .service-strip .item:not(:last-child) { border-right: none; }
}
