/* ============================================================
   SecurityMonkeys — design system
   Balance: professional weight (ink + forest-teal) +
   playful warmth (banana amber, monkey motif, rounded forms)
   ============================================================ */

:root {
  --ink:        #0a1f1f;   /* near-black teal, body text on light */
  --forest:     #0d2b2b;   /* deep brand base */
  --forest-2:   #103534;
  --teal:       #14b8a6;   /* fresh accent */
  --amber:      #f5b531;   /* banana */
  --amber-deep: #e09a16;
  --cream:      #fbf7ee;   /* warm off-white */
  --paper:      #ffffff;
  --muted:      #5c6b6a;
  --line:       #e7e1d4;
  --ring:       rgba(20,184,166,.35);

  --radius:     18px;
  --radius-sm:  12px;
  --shadow:     0 18px 50px -22px rgba(10,31,31,.45);
  --shadow-sm:  0 8px 24px -14px rgba(10,31,31,.35);

  --maxw: 1140px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; letter-spacing: -.02em; color: var(--forest); }
h1 { font-size: clamp(2.4rem, 6vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }

.eyebrow {
  display: inline-block; font-family: var(--font-display); font-weight: 600;
  font-size: .82rem; letter-spacing: .04em; text-transform: uppercase;
  color: var(--amber-deep); margin-bottom: 14px;
}
.hl { color: var(--teal); position: relative; }
.eyebrow--amber { color: var(--amber); }

/* ---------- buttons ---------- */
.btn {
  --pad-y: 14px; --pad-x: 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: var(--pad-y) var(--pad-x); border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn--sm { --pad-y: 9px; --pad-x: 16px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn--primary { background: var(--amber); color: #2a1d05; box-shadow: 0 10px 24px -10px rgba(224,154,22,.7); }
.btn--primary:hover { background: var(--amber-deep); transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: rgba(13,43,43,.2); color: var(--forest); }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); transform: translateY(-2px); }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,247,238,.82); backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; color: var(--forest); letter-spacing: -.02em; }
.brand__name span { color: var(--teal); }
.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { font-weight: 500; font-size: .96rem; color: var(--ink); transition: color .15s; }
.nav__links a:hover { color: var(--teal); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--cream), #f4efe2); }
.hero__glow {
  position: absolute; inset: -20% -10% auto auto; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle at 70% 30%, rgba(20,184,166,.20), transparent 60%),
              radial-gradient(circle at 40% 60%, rgba(245,181,49,.18), transparent 55%);
  filter: blur(10px); pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: clamp(48px, 8vw, 96px) 24px; }
.hero h1 { margin-bottom: 22px; }
.hero__strap { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: var(--teal); margin-bottom: 18px; }
.lede { font-size: 1.18rem; color: #384847; max-width: 34em; margin-bottom: 30px; }
.lede em { font-style: italic; font-weight: 600; color: var(--forest); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .94rem; color: var(--muted); font-weight: 500; }

/* hero stat card */
.hero__panel { display: flex; justify-content: center; }
.card-stat {
  width: 100%; max-width: 420px; background: var(--forest); color: #dff0ee;
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.06);
}
.card-stat__row { display: flex; align-items: center; gap: 7px; margin-bottom: 22px; }
.dot { width: 11px; height: 11px; border-radius: 50%; display: inline-block; }
.dot--red { background: #ff6b6b; } .dot--amber { background: var(--amber); } .dot--green { background: var(--teal); }
.card-stat__title { margin-left: 10px; font-family: var(--font-display); font-size: .82rem; color: #9fc4bf; letter-spacing: .02em; }
.card-stat__big { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; line-height: 1.25; margin-bottom: 16px; }
.card-stat__big strong { color: var(--amber); font-weight: 700; }
.bar { height: 12px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; margin-bottom: 16px; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, #ff6b6b, var(--amber)); border-radius: 999px; }
.card-stat__note { font-size: .95rem; color: #bcd6d2; margin-bottom: 20px; }
.card-stat__note strong { color: #fff; }
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; }
.chip { font-family: var(--font-display); font-size: .8rem; font-weight: 600; padding: 7px 12px; border-radius: 999px; background: rgba(20,184,166,.16); color: #5eead4; }

/* ---------- framework strip ---------- */
.strip { background: var(--forest); color: #cfe6e3; }
.strip__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; padding: 22px 24px; text-align: center; }
.strip__inner > span { font-size: .9rem; color: #8fb6b1; }
.strip__items { display: flex; flex-wrap: wrap; gap: 12px 26px; justify-content: center; }
.strip__items span { font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: #eafcf9; opacity: .9; }

/* ---------- problem ---------- */
.problem { padding: clamp(56px, 9vw, 100px) 0; }
.problem__inner { max-width: 760px; margin-inline: auto; text-align: center; }
.problem h2 { margin-bottom: 18px; }
.problem p { font-size: 1.12rem; color: var(--muted); }

/* ---------- section heads ---------- */
.section-head { max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-sub { color: var(--muted); margin-top: 12px; }

/* ---------- how ---------- */
.how { padding: clamp(40px, 7vw, 80px) 0; background: var(--paper); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; position: relative; transition: transform .2s ease, box-shadow .2s ease; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.step__num { font-family: var(--font-display); font-weight: 700; font-size: 1rem; color: var(--amber-deep); }
.step h3 { margin: 12px 0 8px; }
.step p { color: var(--muted); font-size: .98rem; }

/* ---------- features ---------- */
.features { padding: clamp(56px, 9vw, 100px) 0; background: var(--paper); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .2s ease, box-shadow .2s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.feature__ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px; margin-bottom: 16px;
  background: rgba(20,184,166,.12); color: var(--teal);
}
.feature__ico svg { width: 26px; height: 26px; }
.feature h3 { margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: .95rem; }

/* ---------- industries ---------- */
.industries { padding: clamp(56px, 9vw, 100px) 0; background: var(--cream); }
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ind { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.ind:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: rgba(20,184,166,.4); }
.ind__ico { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--forest); color: var(--amber); margin-bottom: 16px; }
.ind__ico svg { width: 24px; height: 24px; }
.ind h3 { margin-bottom: 8px; }
.ind p { color: var(--muted); font-size: .95rem; }
.industries__note { text-align: center; margin-top: 32px; color: var(--muted); }

/* ---------- pricing ---------- */
.pricing { padding: clamp(56px, 9vw, 100px) 0; background: var(--cream); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.tier { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-direction: column; position: relative; transition: transform .2s ease, box-shadow .2s ease; }
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.tier--featured { background: var(--forest); color: #dff0ee; border-color: var(--forest); transform: scale(1.03); }
.tier--featured:hover { transform: scale(1.03) translateY(-4px); }
.tier--featured .tier__name, .tier--featured .tier__price { color: #fff; }
.tier__badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--amber); color: #2a1d05; font-family: var(--font-display); font-weight: 700; font-size: .76rem; padding: 6px 14px; border-radius: 999px; letter-spacing: .02em; }
.tier__name { font-size: 1.3rem; display: flex; align-items: center; gap: 10px; }
.tier__ico { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(20,184,166,.12); color: var(--teal); flex: none; }
.tier__ico svg { width: 22px; height: 22px; }
.tier--featured .tier__ico { background: rgba(245,181,49,.18); color: var(--amber); }
.tier__tag { color: var(--muted); font-size: .92rem; margin: 4px 0 18px; }
.tier--featured .tier__tag { color: #9fc4bf; }
.tier__price { font-family: var(--font-display); font-weight: 700; font-size: 3rem; color: var(--forest); line-height: 1; margin-bottom: 22px; }
.tier__price .cur { font-size: 1.3rem; vertical-align: super; margin-right: 2px; }
.tier__price .per { font-size: .95rem; font-weight: 500; color: var(--muted); }
.tier--featured .tier__price .per { color: #9fc4bf; }
.tier ul { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; flex: 1; }
.tier li { position: relative; padding-left: 30px; font-size: .96rem; }
.tier li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2314b8a6' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10' cy='10' r='8.3'/%3E%3Cpath d='M6.3 10.3l2.4 2.4 4.8-5.2'/%3E%3C/svg%3E") no-repeat center / contain;
}
.pricing__entry { text-align: center; margin-top: 32px; color: var(--muted); font-size: 1.02rem; }
.pricing__entry strong { color: var(--forest); }

/* ---------- compliance ---------- */
.compliance { padding: clamp(56px, 9vw, 100px) 0; background: var(--paper); }
.compliance__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.compliance h2 { margin-bottom: 16px; }
.compliance p { color: var(--muted); font-size: 1.06rem; }
.badges { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.badges li { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 20px; }
.badges strong { display: block; font-family: var(--font-display); color: var(--forest); font-size: 1.05rem; }
.badges span { color: var(--muted); font-size: .9rem; }

/* ---------- CTA / lead form ---------- */
.cta { padding: clamp(56px, 9vw, 100px) 0; }
.cta__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: var(--forest); border-radius: 28px; padding: clamp(32px, 5vw, 60px); color: #dff0ee; box-shadow: var(--shadow); }
.cta__copy h2 { color: #fff; margin-bottom: 14px; }
.cta__copy h2 em { color: var(--amber); font-style: normal; }
.cta__copy p { color: #bcd6d2; margin-bottom: 20px; }
.cta__list { list-style: none; display: flex; flex-direction: column; gap: 10px; font-weight: 500; color: #cfe6e3; }
.cta__note { margin-top: 18px; font-size: .85rem; color: #9fc4bf; }

.lead-form { background: var(--paper); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 16px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 16px; }
.field--row .field { margin-bottom: 0; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .85rem; color: var(--forest); margin-bottom: 6px; }
.lead-form input, .lead-form select {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .98rem; color: var(--ink); background: var(--cream); transition: border .15s, box-shadow .15s;
}
.lead-form input:focus, .lead-form select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--ring); background: #fff; }
.lead-form input.invalid { border-color: #ef4444; box-shadow: 0 0 0 4px rgba(239,68,68,.18); }
.lead-form__fine { font-size: .82rem; color: var(--muted); margin-top: 12px; text-align: center; }
.lead-form__msg { margin-top: 14px; font-weight: 600; font-size: .95rem; text-align: center; min-height: 1.2em; }
.lead-form__msg.ok { color: var(--teal); }
.lead-form__msg.err { color: #ef4444; }
.btn[disabled] { opacity: .65; cursor: not-allowed; transform: none; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--cream), #f4efe2); }
.about-hero__inner { position: relative; max-width: 820px; margin-inline: auto; text-align: center; padding: clamp(56px, 9vw, 110px) 24px clamp(48px, 7vw, 80px); }
.about-hero h1 { margin-bottom: 22px; }
.about-hero .lede { margin-inline: auto; }
.about-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px 56px; margin-top: 40px; }
.about-stats div { display: flex; flex-direction: column; }
.about-stats strong { font-family: var(--font-display); font-size: 2.4rem; color: var(--forest); line-height: 1; }
.about-stats span { color: var(--muted); font-size: .92rem; margin-top: 6px; }

/* values */
.values { padding: clamp(56px, 9vw, 100px) 0; background: var(--paper); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: transform .2s ease, box-shadow .2s ease; }
.value:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.value__ico { display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 14px; background: rgba(20,184,166,.12); color: var(--teal); margin-bottom: 16px; }
.value__ico svg { width: 25px; height: 25px; }
.value h3 { margin-bottom: 8px; }
.value p { color: var(--muted); font-size: .96rem; }

/* team */
.team { padding: clamp(56px, 9vw, 100px) 0; }
.team--crew { background: var(--paper); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.member { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; text-align: center; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.team--crew .member { background: var(--cream); }
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: rgba(20,184,166,.4); }
.member__photo {
  width: 116px; height: 116px; border-radius: 50%; margin: 0 auto 18px;
  background: linear-gradient(160deg, rgba(20,184,166,.18), rgba(245,181,49,.18));
  border: 3px solid var(--paper); box-shadow: 0 0 0 2px var(--line); object-fit: cover;
}
.team--crew .member__photo { border-color: var(--cream); }
.team-grid--compact .member__photo { width: 100px; height: 100px; }
.member__name { font-size: 1.18rem; margin-bottom: 4px; }
.member__role { font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--amber-deep); margin-bottom: 12px; }
.member__bio { color: var(--muted); font-size: .94rem; line-height: 1.55; }

.btn--on-dark { border-color: rgba(255,255,255,.25); color: #eafcf9; }
.btn--on-dark:hover { border-color: var(--teal); color: var(--teal); }
.cta__inner--center { display: block; }

@media (max-width: 920px) {
  .values-grid, .team-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .values-grid, .team-grid { grid-template-columns: 1fr; }
  .about-stats { gap: 18px 36px; }
}

/* ---------- footer ---------- */
.footer { background: var(--forest); color: #aeccc8; padding: 56px 0 36px; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; }
.footer__brand .brand__name { color: #fff; }
.footer__brand p { margin-top: 10px; max-width: 28em; font-size: .95rem; }
.footer__parent { font-size: .9rem; color: #88aaa5; }
.footer__parent a { color: var(--amber); font-weight: 600; }
.footer__parent a:hover { color: var(--amber-deep); }
.footer__meta { display: flex; flex-direction: column; gap: 10px; font-size: .92rem; }
.footer__meta a:hover { color: var(--teal); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- responsive ---------- */
@media (max-width: 920px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__panel { order: -1; }
  .compliance__inner, .cta__inner { grid-template-columns: 1fr; }
  .steps, .feature-grid, .tiers { grid-template-columns: 1fr; }
  .tier--featured { transform: none; }
  .tier--featured:hover { transform: translateY(-4px); }
  .feature-grid, .ind-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav__links a:not(.btn) { display: none; }
  .feature-grid, .ind-grid { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
}
