/* Integrily website. Tokens come from tokens.css (the brand of 2 Nov 2026). White grounds, graphite type, mustard buttons, one texture (Big overlaps) in the hero only. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--text); font: var(--body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
h1, h2, h3 { margin: 0; color: var(--text-strong); font-family: var(--font-sans); }
p { margin: 0; }

/* header and footer */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid var(--border-hairline); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-xl); min-height: 72px; }
.brand { display: flex; align-items: center; gap: var(--space-md); text-decoration: none; color: var(--text-strong); }
.brand span { display: flex; flex-direction: column; line-height: 1.15; }
.brand strong { font: 800 20px/24px var(--font-sans); letter-spacing: -0.3px; }
.brand small { font: var(--meta); color: var(--text-muted); }
nav { display: flex; align-items: center; gap: var(--space-xl); }
nav a:not(.button) { font: var(--button); color: var(--text-strong); text-decoration: none; }
nav a:not(.button):hover { text-decoration: underline; }
@media (max-width: 760px) { nav a:not(.button) { display: none; } }

.site-footer { border-top: 1px solid var(--border-hairline); padding-block: var(--space-xl); background: var(--bg); }
.site-footer .bar { min-height: 0; align-items: flex-start; flex-wrap: wrap; }
.site-footer p { max-width: 520px; font: var(--meta); color: var(--text-muted); }

/* buttons: mustard with graphite text, shadow-button is for website calls to action */
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px;
  border-radius: var(--radius-md); background: var(--primary); color: var(--text-on-primary);
  font: var(--button); text-decoration: none; box-shadow: 0 2px 0 rgba(34, 38, 46, .18);
  transition: background var(--dur-base) var(--ease), transform var(--dur-fast) var(--ease);
}
.button:hover { background: var(--primary-press); }
.button:active { transform: scale(.97); }
.button.small { min-height: 40px; padding: 0 16px; }
.link-quiet { font: var(--button); color: var(--text-strong); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-xl); margin-top: var(--space-xxl); }

/* type */
.section-label { font: var(--section-label); text-transform: uppercase; letter-spacing: 1.4px; color: var(--text-muted); margin-bottom: var(--space-lg); }
.lead { font: 500 20px/32px var(--font-sans); color: var(--text-muted); max-width: 680px; margin-top: var(--space-lg); }
.highlight { background: linear-gradient(transparent 62%, var(--texture) 62%, var(--texture) 92%, transparent 92%); }
h2 { font: 800 clamp(28px, 4vw, 40px)/1.15 var(--font-sans); letter-spacing: -0.8px; max-width: 760px; }
h3 { font: var(--panel-title); }

/* hero: Big overlaps bleeds off the top right, behind the heading and empty space only */
.hero { position: relative; overflow: hidden; display: flex; align-items: center; min-height: 600px; padding-block: clamp(64px, 12vw, 136px); background: var(--bg) url('/texture-big-overlaps.png') right -120px top -60px / min(1100px, 130%) auto no-repeat; }
.hero h1 { font: 800 clamp(38px, 6.4vw, 68px)/1.06 var(--font-sans); letter-spacing: -1.5px; max-width: 760px; }
.hero .lead { max-width: 600px; }
@media (max-width: 760px) { .hero { background-position: right -260px top -120px; } }

/* sections */
.section { padding-block: clamp(56px, 9vw, 104px); }
.section.tinted { background: var(--surface-alt); border-block: 1px solid var(--border-hairline); }
.grid { display: grid; gap: var(--space-xl); margin-top: var(--space-xxl); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid.three, .grid.two { grid-template-columns: 1fr; } }
.panel { padding: var(--space-xxl); border: 1px solid var(--border-hairline); border-radius: var(--radius-xl); background: var(--surface); }
.panel.soft { background: var(--accent-soft); border-color: transparent; }
.panel h3 { margin-bottom: var(--space-md); }
.panel p { color: var(--text-muted); }
.panel.soft p { color: var(--text); }

.steps { list-style: none; margin: var(--space-xxl) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-xl); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps li { padding-top: var(--space-lg); border-top: 2px solid var(--graphite-900); }
.step-number { display: block; font: var(--section-label); letter-spacing: 1.4px; color: var(--text-muted); margin-bottom: var(--space-md); }
.steps h3 { margin-bottom: var(--space-sm); }
.steps p { color: var(--text-muted); font-size: 16px; }

.contact { background: var(--accent-soft); }
