/* ==========================================================================
   NAV Fasteners — Global Styles  (Forming Tooling edition)
   ========================================================================== */

:root {
  --navy: #0b1f3a;
  --navy-700: #0f2a4d;
  --navy-600: #163a66;
  --steel: #14508c;
  --steel-2: #1c6fb8;
  --accent: #f6a821;        /* industrial amber */
  --accent-600: #e0900f;
  --accent-glow: rgba(246,168,33,.35);
  --ink: #0e1b30;
  --body: #41506a;
  --muted: #6b7890;
  --line: #e5e9f1;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --bg-dark: #0a1c34;
  --white: #ffffff;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(11,31,58,.08);
  --shadow: 0 10px 30px rgba(11,31,58,.12);
  --shadow-lg: 0 26px 60px rgba(11,31,58,.22);
  --container: 1200px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --transition: .25s cubic-bezier(.4,0,.2,1);
  --grid: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
          linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.28rem; font-weight: 700; }
p { margin-bottom: 1rem; }

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

.section { padding: 92px 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: #c2d2e8; position: relative; overflow: hidden; }
.section--dark::before {
  content: ''; position: absolute; inset: 0;
  background-image: var(--grid); background-size: 44px 44px; opacity: .5; pointer-events: none;
}
.section--dark > .container { position: relative; z-index: 1; }
.section--dark h2, .section--dark h3 { color: #fff; }

.section-head { max-width: 740px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section--dark .section-head p { color: #9fb2cc; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent-600);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--accent); display: inline-block; border-radius: 2px; }
.section-head .eyebrow { justify-content: center; }
.section--dark .eyebrow { color: var(--accent); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 700; font-size: .98rem; padding: 13px 26px;
  border-radius: var(--radius); border: 2px solid transparent; cursor: pointer;
  transition: all var(--transition); white-space: nowrap; position: relative;
}
.btn--primary { background: var(--accent); color: var(--navy); box-shadow: 0 8px 20px var(--accent-glow); }
.btn--primary:hover { background: var(--accent-600); transform: translateY(-2px); box-shadow: 0 14px 30px var(--accent-glow); }
.btn--outline { border-color: rgba(255,255,255,.5); color: #fff; }
.btn--outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-600); transform: translateY(-2px); }
.btn--lg { padding: 16px 34px; font-size: 1.05rem; }

/* Header ----------------------------------------------------------------- */
.header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.topbar { background: var(--navy); color: #aebfd6; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 40px; }
.topbar a:hover { color: #fff; }
.topbar__contact { display: flex; gap: 22px; }
.topbar__contact span { display: inline-flex; align-items: center; gap: 7px; }
.topbar__social { display: flex; gap: 16px; }

.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 1.35rem; color: var(--navy); letter-spacing: -.02em; }
.logo__mark {
  width: 44px; height: 44px; border-radius: 11px;
  background: linear-gradient(135deg, var(--navy), var(--steel-2));
  display: grid; place-items: center; color: var(--accent); font-weight: 900; font-size: 1.05rem;
  box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
}
.logo__mark::after { content: ''; position: absolute; inset: 0; background: var(--grid); background-size: 8px 8px; opacity: .35; }
.logo span small { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .22em; color: var(--muted); text-transform: uppercase; }
.logo__art { display: inline-flex; align-items: center; }
.logo__art svg { height: 34px; width: auto; display: block; }
.logo__name { display: inline-flex; flex-direction: column; line-height: 1.05; font-weight: 800; font-size: 1.12rem; letter-spacing: .01em; }
.footer .logo__art svg { height: 30px; }

.nav__links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav__links a { font-weight: 600; font-size: .98rem; color: var(--ink); position: relative; }
.nav__links a::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--accent); transition: width var(--transition); }
.nav__links a:hover::after, .nav__links a.active::after { width: 100%; }
.nav__links a.active { color: var(--accent-600); }
.nav__cta { display: flex; align-items: center; gap: 14px; }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.nav__toggle span { width: 26px; height: 2.5px; background: var(--navy); border-radius: 2px; transition: var(--transition); }

/* Hero ------------------------------------------------------------------- */
.hero { position: relative; background: radial-gradient(120% 120% at 80% 10%, var(--steel) 0%, var(--navy) 55%, #07172c 100%); color: #fff; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: var(--grid); background-size: 46px 46px; opacity: .5; }
.hero::after { content: ''; position: absolute; inset: 0; background: url('../images/hero.jpg') center/cover no-repeat; opacity: 0; mix-blend-mode: luminosity; transition: opacity .4s; }
.hero.has-photo::after { opacity: .22; }
.hero__glow { position: absolute; width: 560px; height: 560px; right: -120px; top: -160px; background: radial-gradient(circle, var(--accent-glow), transparent 65%); filter: blur(20px); pointer-events: none; }
.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; padding: 104px 0; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 .hl { color: var(--accent); }
.hero p.lead { font-size: 1.2rem; color: #cfdcef; margin-bottom: 32px; max-width: 560px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: 16px; margin-top: 50px; flex-wrap: wrap; }
.hero__stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 16px 20px; min-width: 132px; backdrop-filter: blur(6px); }
.hero__stat .num { font-size: 1.5rem; font-weight: 900; color: var(--accent); line-height: 1.1; }
.hero__stat .lbl { font-size: .82rem; color: #aebfd6; }

.hero__media { position: relative; aspect-ratio: 5/5.2; border-radius: var(--radius-lg); background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02)); border: 1px solid rgba(255,255,255,.14); overflow: hidden; box-shadow: var(--shadow-lg); display: grid; place-items: center; }
.hero__media::before { content: ''; position: absolute; inset: 0; background-image: var(--grid); background-size: 30px 30px; opacity: .5; }
.hero__media .hero-art { width: 78%; height: auto; position: relative; z-index: 1; filter: drop-shadow(0 12px 24px rgba(0,0,0,.35)); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero__media.has-img > .hero-art { display: none; }
.hero__media[style*="background-image"] { background-size: cover; background-position: center; }

/* Trust bar -------------------------------------------------------------- */
.trust { border-bottom: 1px solid var(--line); padding: 26px 0; background: #fff; }
.trust__row { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.trust__item { display: flex; align-items: center; gap: 9px; font-weight: 600; color: var(--ink); font-size: .94rem; }
.trust__item svg { width: 20px; height: 20px; color: var(--accent-600); flex-shrink: 0; }

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

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #d2ddf0; }

/* Visual tile (themed graphic placeholder, overridden by real photo) */
.cm { position: relative; aspect-ratio: 4/3; background: linear-gradient(155deg, var(--navy) 0%, var(--steel) 100%); overflow: hidden; background-size: cover; background-position: center; }
.cm::before { content: ''; position: absolute; inset: 0; background-image: var(--grid); background-size: 26px 26px; opacity: .55; }
.cm::after { content: ''; position: absolute; width: 220px; height: 220px; right: -70px; top: -70px; background: radial-gradient(circle, var(--accent-glow), transparent 65%); }
.cm-icon { position: absolute; inset: 0; margin: auto; width: 46%; height: 46%; color: var(--accent); z-index: 1; transition: transform var(--transition); }
.card:hover .cm-icon { transform: scale(1.08) rotate(-2deg); }
.cm .ph { position: absolute; left: 16px; bottom: 14px; z-index: 2; color: #fff; font-weight: 700; font-size: .92rem; letter-spacing: .01em; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.cm.has-img::before, .cm.has-img::after { display: none; }
.cm.has-img .cm-icon { display: none; }

.card__body { padding: 22px 22px 26px; }
.card__body h3 { margin-bottom: 8px; }
.card__body p { color: var(--muted); font-size: .94rem; margin-bottom: 14px; }
.card__link { font-weight: 800; color: var(--accent-600); font-size: .88rem; display: inline-flex; gap: 6px; align-items: center; }
.card__link:hover { gap: 11px; }

/* Feature blocks --------------------------------------------------------- */
.feature { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.feature__item { padding: 32px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); transition: all var(--transition); }
.feature__item:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d2ddf0; }
.feature__item .ico { width: 54px; height: 54px; border-radius: 13px; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--steel-2)); color: var(--accent); margin-bottom: 18px; }
.feature__item .ico svg { width: 26px; height: 26px; }
.feature__item h3 { margin-bottom: 8px; }
.feature__item p { color: var(--muted); font-size: .94rem; margin: 0; }

/* Process steps ---------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.step { position: relative; padding: 30px 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.step__no { font-size: .8rem; font-weight: 800; color: var(--accent-600); letter-spacing: .12em; }
.step .ico { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-alt); color: var(--steel); margin: 14px 0 16px; }
.step .ico svg { width: 26px; height: 26px; }
.step h3 { font-size: 1.1rem; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .9rem; margin: 0; }
.step:not(:last-child)::after { content: '→'; position: absolute; right: -16px; top: 50%; transform: translateY(-50%); color: var(--line); font-size: 1.3rem; z-index: 2; }

/* Split (about / image+text) -------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split__media { position: relative; aspect-ratio: 5/4; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: linear-gradient(155deg, var(--navy), var(--steel)); background-size: cover; background-position: center; display: grid; place-items: center; }
.split__media::before { content: ''; position: absolute; inset: 0; background-image: var(--grid); background-size: 30px 30px; opacity: .5; }
.split__media .cm-icon { position: relative; width: 42%; height: 42%; color: var(--accent); z-index: 1; }
.split__media.has-img::before { display: none; }
.split__media.has-img .cm-icon { display: none; }
.split ul.checks { list-style: none; margin: 22px 0; display: grid; gap: 13px; }
.split ul.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--body); }
.split ul.checks li svg { width: 22px; height: 22px; color: var(--accent-600); flex-shrink: 0; margin-top: 2px; }

/* Stats band ------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 26px; text-align: center; }
.stats .num { font-size: 2.8rem; font-weight: 900; color: var(--navy); line-height: 1; letter-spacing: -.03em; }
.section--dark .stats .num { color: var(--accent); }
.stats .lbl { color: var(--muted); font-size: .92rem; margin-top: 8px; }
.section--dark .stats .lbl { color: #9fb2cc; }

/* Applications strip ----------------------------------------------------- */
.apps { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.app { text-align: center; padding: 28px 18px; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); background: rgba(255,255,255,.04); transition: all var(--transition); }
.app:hover { background: rgba(255,255,255,.08); transform: translateY(-4px); }
.app svg { width: 40px; height: 40px; color: var(--accent); margin-bottom: 12px; }
.app .lbl { color: #dce7f5; font-weight: 600; font-size: .96rem; }

/* Testimonial ------------------------------------------------------------ */
.quote { max-width: 880px; margin: 0 auto; text-align: center; }
.quote__mark { font-size: 4rem; line-height: .6; color: var(--accent); font-family: Georgia, serif; }
.quote p { font-size: 1.45rem; font-weight: 600; color: var(--ink); line-height: 1.5; margin: 14px 0 22px; letter-spacing: -.01em; }
.quote__who { display: flex; align-items: center; justify-content: center; gap: 12px; }
.quote__av { width: 46px; height: 46px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--steel-2)); color: #fff; display: grid; place-items: center; font-weight: 800; }
.quote__who b { color: var(--ink); display: block; }
.quote__who span { color: var(--muted); font-size: .9rem; }

/* FAQ -------------------------------------------------------------------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 22px; transition: border var(--transition); }
.faq details[open] { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; font-weight: 700; color: var(--ink); padding: 16px 0; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent-600); font-size: 1.5rem; font-weight: 400; transition: transform var(--transition); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); font-size: .96rem; padding-bottom: 18px; margin: 0; }

/* CTA band --------------------------------------------------------------- */
.cta-band { position: relative; background: radial-gradient(120% 140% at 85% 0%, var(--steel) 0%, var(--navy) 60%); color: #fff; border-radius: var(--radius-lg); padding: 60px; text-align: center; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: 0; background-image: var(--grid); background-size: 34px 34px; opacity: .5; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: #cfdcef; max-width: 580px; margin: 0 auto 26px; }
.cta-band .hero__actions { justify-content: center; }

/* Footer ----------------------------------------------------------------- */
.footer { background: var(--navy); color: #9fb2cc; padding: 66px 0 28px; }
.footer a { color: #b8c6dc; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h4 { color: #fff; font-size: .92rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; display: grid; gap: 10px; font-size: .94rem; }
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer .logo span { color: #fff; }
.footer__about p { font-size: .94rem; color: #9fb2cc; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; }

/* Page hero (inner pages) ------------------------------------------------ */
.page-hero { position: relative; background: radial-gradient(120% 140% at 80% 0%, var(--steel) 0%, var(--navy) 60%); color: #fff; padding: 72px 0; text-align: center; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background-image: var(--grid); background-size: 40px 40px; opacity: .5; }
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: #cfdcef; max-width: 620px; margin: 0 auto; font-size: 1.08rem; }
.breadcrumb { font-size: .86rem; color: #aebfd6; margin-bottom: 14px; }
.breadcrumb a:hover { color: #fff; }

/* Contact ---------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
.info-list { list-style: none; display: grid; gap: 22px; margin-top: 26px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .ico { width: 48px; height: 48px; border-radius: 12px; background: var(--bg-alt); display: grid; place-items: center; color: var(--accent-600); flex-shrink: 0; }
.info-list .ico svg { width: 22px; height: 22px; }
.info-list h4 { margin-bottom: 2px; font-size: 1rem; }
.info-list p { margin: 0; color: var(--muted); font-size: .95rem; }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius); font-family: inherit; font-size: .96rem; color: var(--ink); transition: border var(--transition); background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); }
.field textarea { resize: vertical; min-height: 130px; }
.form__note { font-size: .82rem; color: var(--muted); margin-top: 8px; }
.form__success { display: none; background: #e8f7ee; border: 1px solid #b7e4c7; color: #1b7a43; padding: 14px 18px; border-radius: var(--radius); margin-bottom: 18px; }

/* Misc ------------------------------------------------------------------- */
.badge { display: inline-block; background: var(--bg-alt); color: var(--navy); font-size: .72rem; font-weight: 800; padding: 5px 12px; border-radius: 100px; letter-spacing: .04em; text-transform: uppercase; }
.spec-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.spec-table th, .spec-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .94rem; }
.spec-table th { background: var(--bg-alt); color: var(--ink); font-weight: 800; }
.spec-table tr:last-child td { border-bottom: none; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Trust badges ----------------------------------------------------------- */
.badges { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.badge-chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 100px; background: #fff; font-weight: 700; font-size: .9rem; color: var(--ink); box-shadow: var(--shadow-sm); transition: all var(--transition); }
.badge-chip:hover { transform: translateY(-3px); border-color: var(--accent); box-shadow: var(--shadow); }
.badge-chip svg { width: 20px; height: 20px; color: var(--accent-600); }
.section--dark .badge-chip { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); color: #eaf1fb; }
.section--dark .badge-chip svg { color: var(--accent); }

/* Commitment / speed strip ---------------------------------------------- */
.commit { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.commit__big { font-size: clamp(3rem, 7vw, 5rem); font-weight: 900; color: var(--accent); line-height: .95; letter-spacing: -.03em; }
.commit__panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow); display: grid; gap: 22px; }
.commit__row { display: flex; align-items: center; gap: 16px; }
.commit__row .ico { width: 50px; height: 50px; border-radius: 12px; flex-shrink: 0; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--steel-2)); color: var(--accent); }
.commit__row .ico svg { width: 26px; height: 26px; }
.commit__row b { color: var(--ink); display: block; font-size: 1.05rem; }
.commit__row span { color: var(--muted); font-size: .92rem; }

/* Testimonials grid ------------------------------------------------------ */
.tcards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: all var(--transition); display: flex; flex-direction: column; }
.tcard:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d2ddf0; }
.stars { display: flex; gap: 3px; margin-bottom: 14px; }
.stars svg { width: 18px; height: 18px; color: var(--accent); fill: var(--accent); stroke: var(--accent); }
.tcard p { color: var(--body); font-size: .98rem; line-height: 1.6; flex: 1; }
.tcard__who { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.tcard__av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--navy), var(--steel-2)); color: #fff; display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.tcard__who b { color: var(--ink); display: block; font-size: .95rem; }
.tcard__who span { color: var(--muted); font-size: .85rem; }
.embed-note { text-align: center; margin-top: 30px; color: var(--muted); font-size: .9rem; }
.embed-note code { background: var(--bg-alt); padding: 2px 7px; border-radius: 5px; font-size: .85rem; color: var(--ink); }

/* Team ------------------------------------------------------------------- */
.team { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.tm { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 20px; transition: all var(--transition); }
.tm:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #d2ddf0; }
.tm__av { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 16px; background: linear-gradient(135deg, var(--navy), var(--steel-2)); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 1.5rem; }
.tm b { color: var(--ink); display: block; font-size: 1.05rem; }
.tm span { color: var(--accent-600); font-size: .88rem; font-weight: 600; }

/* Timeline (milestones) -------------------------------------------------- */
.timeline { position: relative; display: grid; gap: 28px; max-width: 760px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 19px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl { position: relative; padding-left: 60px; }
.tl__dot { position: absolute; left: 10px; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); border: 4px solid #fff; box-shadow: 0 0 0 2px var(--accent); }
.tl b { color: var(--accent-600); font-size: .85rem; letter-spacing: .06em; }
.tl h3 { font-size: 1.15rem; margin: 2px 0 4px; }
.tl p { color: var(--muted); font-size: .94rem; margin: 0; }

/* Legal / prose pages ---------------------------------------------------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 1.4rem; margin: 32px 0 12px; }
.prose h3 { font-size: 1.1rem; margin: 22px 0 8px; }
.prose p, .prose li { color: var(--body); font-size: .98rem; line-height: 1.7; }
.prose ul { margin: 0 0 16px 20px; display: grid; gap: 6px; }
.prose .updated { color: var(--muted); font-size: .9rem; margin-bottom: 26px; }

/* Reveal on scroll ------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (max-width: 980px) {
  .commit, .tcards, .team { grid-template-columns: repeat(2,1fr); }
  .commit { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .tcards, .team { grid-template-columns: 1fr; }
}

/* Responsive ------------------------------------------------------------- */
@media (max-width: 980px) {
  .hero__grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero__media { aspect-ratio: 16/11; max-width: 520px; }
  .grid--4 { grid-template-columns: repeat(2,1fr); }
  .feature, .footer__grid, .steps { grid-template-columns: repeat(2,1fr); }
  .stats, .apps { grid-template-columns: repeat(2,1fr); }
  .step:not(:last-child)::after { display: none; }
}
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .topbar { display: none; }
  .nav__links { display: none; }
  .nav__links.open { display: flex; flex-direction: column; position: absolute; top: 78px; left: 0; right: 0; background: #fff; padding: 20px 24px; gap: 18px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav__toggle { display: flex; }
  .nav__cta .btn:not(.nav__toggle) { display: none; }
  .grid--3, .grid--4, .grid--2, .feature, .footer__grid, .stats, .apps, .steps { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .cta-band { padding: 40px 24px; }
  .hero__grid { padding: 72px 0; }
}
