/* TrueNorth AI – corporate site */
:root {
  --purple: #704EE7; --navy: #072D62; --yellow: #F5C842; --slate: #5A6478;
  --muted: #8A93A6; --lilac: #F3F0FD; --rule: #DCDFE7; --lilac-rule: #D3CCF5;
  --card-border: #E4E7EE; --shadow: 0 6px 22px rgba(27, 31, 59, .08);
  --header-h: 76px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body { margin: 0; background: #fff; color: var(--navy); font-family: "Plus Jakarta Sans", Arial, sans-serif; font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 12px; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* Header */
header.site { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--rule); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 40px; height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand img { height: 38px; width: auto; }
nav.primary { margin-left: auto; }
nav.primary ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; }
nav.primary a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--navy); }
nav.primary a:hover { color: var(--purple); }
nav.primary a[aria-current="page"] { color: var(--purple); font-weight: 700; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: 15px; padding: 11px 26px; border: 1px solid transparent; cursor: pointer; font-family: inherit; }
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: #5f3fd6; }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-outline { background: #fff; color: var(--navy); border-color: #D5D9E2; }
.btn-outline:hover { border-color: var(--purple); color: var(--purple); }
.nav-signin { margin-left: 16px; padding: 9px 24px; }
nav.primary a.nav-signin, nav.primary a.nav-signin:hover { color: #fff; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; font-size: 26px; color: var(--navy); cursor: pointer; }

/* Type */
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--purple); margin: 0 0 18px; }
.kicker .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--purple); margin-right: 12px; vertical-align: middle; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -0.01em; }
h1 { font-size: clamp(32px, 3.6vw, 46px); font-weight: 700; }
h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; }
h3 { font-size: 17px; font-weight: 700; }
.bar { border-left: 4px solid var(--navy); padding-left: 22px; }
.bar-purple { border-left-color: var(--purple); }
.bar-white { border-left-color: #fff; }
.accent { color: var(--purple); }
.lead { font-size: 17px; line-height: 1.65; color: var(--slate); }
.body { color: var(--slate); line-height: 1.65; }
.label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.num { font-family: "Dongle", sans-serif; font-size: 64px; line-height: .8; color: var(--purple); }
.rule { border: 0; border-top: 1px solid var(--rule); margin: 40px 0; }

/* Layout */
.page { padding: 56px 0 64px; }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.split-wide { grid-template-columns: 1.45fr 1fr; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.section-title { font-size: 19px; font-weight: 700; margin: 0 0 20px; }
.stack > * + * { margin-top: 24px; }

/* Cards & panels */
.card { background: #fff; border: 1px solid var(--card-border); border-radius: 16px; box-shadow: var(--shadow); padding: 26px 28px; }
.card p { margin: 0; color: var(--slate); font-size: 15px; line-height: 1.55; }
.card h3 { margin-bottom: 10px; }
.num-card { display: grid; grid-template-columns: 74px 1fr; gap: 6px; align-items: start; }
.num-card .num { padding-top: 6px; }
.stack-card .num { font-size: 46px; margin-bottom: 10px; }
.panel { border-radius: 20px; padding: 40px; }
.panel-purple { background: var(--purple); color: #fff; box-shadow: var(--shadow); }
.panel-purple .label { color: var(--yellow); }
.panel-purple p { color: #fff; }
.panel-purple hr { border: 0; border-top: 1px solid rgba(255,255,255,.35); margin: 22px 0; }
.panel-lilac { background: var(--lilac); }
.panel-lilac .label { color: var(--purple); }
.panel-lilac hr { border: 0; border-top: 1px solid var(--lilac-rule); margin: 22px 0; }
.big-num { font-family: "Dongle", sans-serif; font-size: 170px; line-height: .7; margin: 26px 0 14px; color: #fff; }
.mid-num { font-family: "Dongle", sans-serif; font-size: 120px; line-height: .7; margin: 22px 0 14px; color: #fff; }

/* Footer */
footer.site .footer-row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-top: 1px solid var(--rule); padding: 20px 0 32px; font-size: 13px; color: var(--muted); }
footer.site p { margin: 0; }

/* Home */
.home { display: grid; grid-template-columns: 44% 56%; min-height: calc(100vh - var(--header-h)); }
.home-left { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 32px; text-align: center; }
.home-left img { width: min(300px, 70%); height: auto; }
.home-left .strap { margin-top: 36px; font-size: 30px; font-weight: 700; line-height: 1.25; color: var(--purple); }
.home-right { background: var(--lilac); display: flex; flex-direction: column; justify-content: center; padding: 64px 72px; }
.home-right h1 { font-size: clamp(34px, 3.8vw, 50px); max-width: 15ch; }
.home-right .lead { margin: 32px 0 0; max-width: 56ch; }
.home-right hr { border: 0; border-top: 1px solid var(--lilac-rule); margin: 40px 0 22px; max-width: 640px; }
.home-right .status { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 8px; }
.home-right .copy { font-size: 13px; color: var(--muted); margin: 0; }

/* Vision */
.viewport-section { min-height: calc(100vh - var(--header-h)); position: relative; padding-bottom: 96px; }
.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--slate); font-size: 13px; transition: opacity .3s; }
.scroll-cue .circle { width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--purple); color: var(--purple); display: flex; align-items: center; justify-content: center; font-weight: 700; animation: nudge 1.8s ease-in-out infinite; }
.scroll-cue.is-hidden { opacity: 0; pointer-events: none; }
@keyframes nudge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue .circle { animation: none; } html { scroll-behavior: auto; } }
.vision-two { display: grid; grid-template-columns: 4fr 7fr; gap: 32px; }

/* About tiers */
.evidence { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding: 28px 36px; }
.evidence .text { border-left: 4px solid var(--purple); padding-left: 20px; max-width: 520px; }
.evidence .text p { margin: 6px 0 0; }
.tiers { display: flex; gap: 10px; flex-wrap: wrap; }
.tier { border-radius: 999px; padding: 10px 18px; font-size: 14px; font-weight: 700; }
.t1 { background: #EEEAFB; } .t2 { background: #D9D0FA; } .t3 { background: #A993F2; color: #fff; } .t4 { background: var(--purple); color: #fff; }

/* Quote */
.quote { border-left: 4px solid var(--purple); padding-left: 24px; font-size: 19px; font-style: italic; line-height: 1.55; margin: 0; }

/* Founders */
.founder-card { display: grid; grid-template-columns: 120px 1fr; gap: 20px; text-decoration: none; padding: 20px; transition: border-color .2s; }
.founder-card:hover { border-color: var(--purple); }
.founder-card img { width: 120px; height: 140px; object-fit: cover; border-radius: 12px; background: #EEF0F4; }
.founder-card h3 { margin: 6px 0 8px; }
.founder-card p { font-size: 14px; }
.founder-card .more { display: inline-block; margin-top: 12px; color: var(--purple); font-weight: 700; font-size: 14px; }
.profile-hero { display: grid; grid-template-columns: 5fr 8fr; gap: 56px; align-items: start; }
.profile-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; background: #EEF0F4; }
.profile-seq { font-family: "Dongle", sans-serif; font-size: 44px; line-height: 1; color: var(--purple); margin-bottom: 10px; }
.profile-content .role { color: var(--purple); font-weight: 700; font-size: 18px; margin: 8px 0 0; }
.profile-content .text { margin-top: 28px; }
.profile-nav { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* Contact */
.contact-item a { color: var(--navy); text-decoration: none; font-weight: 700; }
.contact-item p { font-size: 19px; margin: 8px 0 0; line-height: 1.4; }

/* Sign in */
.signin { display: grid; grid-template-columns: 42% 58%; min-height: 100vh; }
.signin-left { background: var(--purple); color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 56px 64px 32px; }
.signin-left .label { color: var(--yellow); }
.signin-left h1 { font-size: clamp(30px, 3vw, 40px); margin-top: 20px; }
.signin-left .copy { font-size: 12px; color: #D9D0FA; margin: 0; }
.signin-right { position: relative; display: flex; align-items: center; justify-content: center; padding: 64px 40px; }
.back-link { position: absolute; top: 28px; right: 40px; font-size: 14px; color: var(--slate); text-decoration: none; }
.back-link:hover { color: var(--purple); }
.signin-form { width: 100%; max-width: 420px; }
.signin-form .logo { height: 34px; width: auto; margin-bottom: 36px; }
.signin-form h2 { font-size: 34px; }
.signin-form .hint { color: var(--slate); margin: 8px 0 28px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.input-wrap { position: relative; }
.field input { width: 100%; height: 50px; border: 1px solid #D5D9E2; border-radius: 10px; padding: 0 16px; font: inherit; color: var(--navy); }
.field input:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 3px rgba(112, 78, 231, .15); }
.toggle-pw { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--purple); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.forgot { display: block; text-align: right; font-size: 14px; font-weight: 700; color: var(--purple); text-decoration: none; margin: -4px 0 22px; }
.signin-form .btn { width: 100%; padding: 14px; font-size: 16px; }
.form-msg { margin-top: 18px; font-size: 14px; color: var(--navy); background: var(--lilac); border-radius: 10px; padding: 14px 16px; display: none; }
.form-msg.show { display: block; }

/* Responsive */
@media (max-width: 960px) {
  .container, .nav-inner { padding: 0 24px; }
  .nav-toggle { display: block; }
  nav.primary { display: none; position: absolute; top: var(--header-h); left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--rule); padding: 16px 24px 24px; }
  nav.primary.open { display: block; }
  nav.primary ul { flex-direction: column; gap: 16px; }
  .nav-signin { margin-left: 0; }
  .split, .split-wide, .grid-2, .grid-3, .grid-4, .vision-two, .profile-hero, .home, .signin { grid-template-columns: 1fr; }
  .home-right { padding: 48px 24px; }
  .signin-left { padding: 40px 24px; gap: 32px; }
  .panel { padding: 28px; }
  .viewport-section { min-height: 0; padding-bottom: 40px; }
  .scroll-cue { display: none; }
}
