/* ============================================================================
   Hiilite marketing-page design system — hero, sections, cards, CSS diagrams.
   Used by the redesigned home / vision / process / about pages. Brand-true
   (official palette + Lato), responsive, no AI-slop. Scoped under .hii-page.
   ============================================================================ */
.hii-page { color: #282828; }
.hii-page * { box-sizing: border-box; }
.hii-wrap { max-width: 1080px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 32px); }
.hii-eyebrow { font-weight: 900; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; color: #FF4D00; margin: 0 0 .55rem; }
.hii-page h1.hii-h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem); font-weight: 900; line-height: 1.05; letter-spacing: -.015em; margin: 0; }
.hii-page h2.hii-h2 { font-size: clamp(1.45rem, 1.1rem + 1.5vw, 2.25rem); font-weight: 900; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; }
.hii-lede { font-size: clamp(1.08rem, 1rem + .4vw, 1.28rem); color: #393939; line-height: 1.55; max-width: 66ch; }
.hii-sec { padding: clamp(38px, 6vw, 80px) 0; }
.hii-sec--tint { background: #F7F7F7; }
.hii-sec--dark { background: #282828; color: #fff; }
.hii-sec--dark .hii-h2, .hii-sec--dark .hii-lede { color: #fff; }
.hii-spectrum { height: 5px; border-radius: 3px; background: linear-gradient(90deg,#FF4D00 0 20%,#00CEC8 20% 40%,#FFAA00 40% 60%,#80CC1D 60% 80%,#7E29ED 80% 100%); }

/* hero (rounded charcoal panel — safe inside the content column) */
.hii-hero { background: #282828; color: #fff; border-radius: 24px; padding: clamp(34px, 6vw, 76px); margin: clamp(16px,3vw,26px) 0; position: relative; overflow: hidden; }
.hii-hero::after { content:""; position:absolute; left:0; right:0; bottom:0; height:5px; background: linear-gradient(90deg,#FF4D00 0 20%,#00CEC8 20% 40%,#FFAA00 40% 60%,#80CC1D 60% 80%,#7E29ED 80% 100%); }
.hii-hero .hii-eyebrow { color: #FFAA00; }
.hii-hero h1.hii-h1 { color: #fff; max-width: 20ch; }
.hii-hero .hii-lede { color: #e7e7e7; margin-top: 1rem; }
.hii-hero-logo { margin: 0 0 1.4rem; max-width: 360px; }
.hii-actions { margin-top: 1.8rem; display: flex; gap: .7rem; flex-wrap: wrap; align-items: center; }

/* buttons */
.hii-btn { display: inline-block; background: #FF4D00; color: #fff !important; font-weight: 900; text-decoration: none; padding: 13px 24px; border-radius: 11px; transition: background .15s, transform .15s; }
.hii-btn:hover { background: #DD3900; transform: translateY(-1px); }
.hii-btn--ghost { background: transparent; border: 1px solid currentColor; color: inherit !important; }
.hii-btn--ghost:hover { background: rgba(255,255,255,.10); }

/* cards */
.hii-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin-top: 1.8rem; }
.hii-card { background: #fff; border: 1px solid #DDDDDD; border-radius: 16px; padding: 22px; box-shadow: 0 1px 3px rgba(40,40,40,.05); }
.hii-card h3 { margin: 0 0 .4em; font-size: 1.12rem; font-weight: 900; }
.hii-card p { margin: 0; color: #393939; font-size: .96rem; line-height: 1.55; }
.hii-card--num { counter-increment: hiicard; }
.hii-card--num h3::before { content: counter(hiicard) "  "; color: #FF4D00; }
a.hii-card { display: block; text-decoration: none; color: #282828; transition: transform .12s, box-shadow .12s, border-color .12s; }
a.hii-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(40,40,40,.10); border-color: #c9cdd1; }
a.hii-card .hii-go { margin-top: .7rem; color: #FF4D00; font-weight: 900; font-size: .9rem; }
.hii-cardgrid { counter-reset: hiicard; }

/* Sense / Seize / Transform loop diagram */
.hii-loop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 2rem 0 0; }
.hii-loop-node { background: #fff; border: 1px solid #DDDDDD; border-top: 4px solid var(--c, #FF4D00); border-radius: 16px; padding: 20px; position: relative; }
.hii-loop-node .step { font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--c, #FF4D00); }
.hii-loop-node h3 { margin: .15em 0 .1em; font-size: 1.25rem; font-weight: 900; }
.hii-loop-node .agent { font-size: .8rem; font-weight: 700; color: #6a6a6a; margin-bottom: .55rem; }
.hii-loop-node p { margin: 0; font-size: .92rem; color: #393939; line-height: 1.5; }
.hii-loop-node:not(:last-child)::after { content: "\2192"; position: absolute; right: -13px; top: 50%; transform: translateY(-50%); color: #b9bdc1; font-weight: 900; z-index: 2; }
@media (max-width: 720px) { .hii-loop { grid-template-columns: 1fr; } .hii-loop-node:not(:last-child)::after { content: "\2193"; right: 50%; top: auto; bottom: -13px; transform: translateX(50%); } }

/* 3R engine bar */
.hii-3r { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 1.6rem 0 0; }
.hii-3r-seg { border-radius: 14px; padding: 20px; color: #fff; }
.hii-3r-seg .r { font-weight: 900; font-size: 1.15rem; }
.hii-3r-seg p { margin: .3rem 0 0; font-size: .9rem; opacity: .96; line-height: 1.45; }

/* comparison / data tables */
.hii-table-wrap { overflow-x: auto; margin: 1.5rem 0 0; }
.hii-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 460px; }
.hii-table th, .hii-table td { padding: 11px 14px; border-bottom: 1px solid #DDDDDD; text-align: left; vertical-align: top; }
.hii-table thead th { background: #F7F7F7; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: #393939; }
.hii-table tbody td:first-child { font-weight: 700; }
.hii-table .yes { color: #1b8a4b; font-weight: 900; }
.hii-table .no { color: #b03a2e; font-weight: 900; }
.hii-table .hl { background: #fff4ef; }

/* values */
.hii-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-top: 1.6rem; }
.hii-value { background: #fff; border: 1px solid #DDDDDD; border-radius: 16px; padding: 20px; border-top: 5px solid var(--c, #FF4D00); }
.hii-value h3 { margin: 0 0 .3em; font-size: 1.08rem; font-weight: 900; color: var(--c, #FF4D00); }
.hii-value p { margin: 0; font-size: .9rem; color: #393939; line-height: 1.5; }

/* author / founder block */
.hii-author { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 1rem; }
.hii-author a { font-size: .85rem; font-weight: 700; background: #F7F7F7; border: 1px solid #DDDDDD; border-radius: 999px; padding: 5px 13px; text-decoration: none; color: #393939; }
.hii-author a:hover { border-color: #FF4D00; color: #FF4D00; }

/* CTA band */
.hii-cta { background: #282828; border-radius: 24px; padding: clamp(34px, 5vw, 62px); text-align: center; color: #fff; margin: clamp(16px,3vw,26px) 0; position: relative; overflow: hidden; }
.hii-cta::after { content:""; position:absolute; left:0; right:0; bottom:0; height:5px; background: linear-gradient(90deg,#FF4D00 0 20%,#00CEC8 20% 40%,#FFAA00 40% 60%,#80CC1D 60% 80%,#7E29ED 80% 100%); }
.hii-cta h2.hii-h2 { color: #fff; }
.hii-cta p { color: #e7e7e7; max-width: 60ch; margin: .6rem auto 1.6rem; }
.hii-cta .hii-actions { justify-content: center; }

/* pull-stat */
.hii-stat { display:inline-block; background:#fff4ef; border:1px solid #ffd9c9; border-radius:14px; padding:14px 18px; margin-top:1.2rem; font-weight:700; color:#393939; }
.hii-stat b { color:#FF4D00; }
.hii-sec--dark .hii-stat { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.18); color:#fff; }

/* home hero animated logo sizing */
.hii-hero-logo { max-width: 460px; margin: 0 0 1.2rem; }
.hii-hero-logo .hiilite-logo-motion { min-height: 200px; background: transparent !important; }

/* diagram figures (global — used on /framework content page too) */
.hii-figure { margin: 2rem 0; text-align: center; background: #F7F7F7; border: 1px solid #DDDDDD; border-radius: 18px; padding: clamp(16px, 3vw, 30px); }
.hii-figure img { display: block; width: 100%; max-width: 600px; height: auto; margin: 0 auto; }
.hii-figure figcaption { margin: .9rem auto 0; font-size: .9rem; color: #393939; font-weight: 700; max-width: 60ch; }

/* ===== Gravity Forms — brand skin (Contact + Get Early Access) ===== */
.hii-form { max-width: 640px; margin: 1.6rem auto 0; }
/* drive the Orbital theme accent to brand orange (focus rings, active states) */
.hii-form .gform_wrapper { --gf-color-primary: #FF4D00; --gf-color-primary-rgb: 255,77,0; --gf-color-primary-contrast: #fff; --gf-ctrl-radius: 11px; }
.hii-form .gform_wrapper .gform_fields { gap: 1.1rem; }
.hii-form .gfield_label { font-weight: 800; color: #282828; font-size: .96rem; margin-bottom: .35rem; }
.hii-form .gfield_required { color: #FF4D00; }
.hii-form input[type="text"],
.hii-form input[type="email"],
.hii-form input[type="tel"],
.hii-form input[type="url"],
.hii-form input[type="number"],
.hii-form textarea,
.hii-form select {
  width: 100%; box-sizing: border-box; padding: 12px 14px; font-size: 1rem; font-family: inherit;
  color: #282828; background: #fff; border: 1.5px solid #DDDDDD; border-radius: 11px;
  transition: border-color .15s ease, box-shadow .15s ease; appearance: none; -webkit-appearance: none;
}
.hii-form textarea { min-height: 140px; resize: vertical; }
.hii-form input:focus, .hii-form textarea:focus, .hii-form select:focus {
  outline: none; border-color: #FF4D00; box-shadow: 0 0 0 3px rgba(255,77,0,.16);
}
.hii-form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23282828' d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 38px; }
/* submit button = .hii-btn */
.hii-form .gform_footer { margin-top: 1.3rem; padding: 0; }
.hii-form .gform_wrapper .gform_footer input[type="submit"],
.hii-form .gform_wrapper .gform_footer button,
.hii-form .gform_button {
  display: inline-block; background: #FF4D00; color: #fff !important; font-weight: 900;
  border: 0; cursor: pointer; padding: 13px 28px; border-radius: 11px; font-size: 1rem;
  transition: background .15s ease, transform .15s ease; width: auto;
}
.hii-form .gform_wrapper .gform_footer input[type="submit"]:hover,
.hii-form .gform_button:hover { background: #DD3900; transform: translateY(-1px); }
/* validation + confirmation */
.hii-form .gfield_description.validation_message,
.hii-form .gform_validation_errors { color: #C62828; font-weight: 700; }
.hii-form .gform_confirmation_message,
.hii-page .gform_confirmation_message {
  background: #F7F7F7; border: 1px solid #DDDDDD; border-left: 5px solid #80CC1D;
  border-radius: 14px; padding: 18px 20px; font-size: 1.05rem; font-weight: 700; color: #282828;
}
