/* intheloop.events home page. Colors and type from the In the Loop logo
   ("Classic mint"). Fonts are served from this site, not Google. */

@font-face { font-family: "Manrope"; font-weight: 500; font-display: swap; src: url("/fonts/manrope-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 700; font-display: swap; src: url("/fonts/manrope-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-weight: 800; font-display: swap; src: url("/fonts/manrope-latin-800-normal.woff2") format("woff2"); }

:root {
	--navy: #0F1B24; --navy-2: #172733; --navy-line: #2A3A47;
	--mint: #3CC4BC; --mint-pale: #A8F0DC; --mint-tint: #E3F7F3;
	--teal: #0B7A75; /* mint dark enough for text on light backgrounds */
	--ink: #14202B; --muted: #4F5A64; --muted-on-dark: #A9B4BD;
	--cream: #F6F3EC; --paper: #FFFFFF; --line: #E3DED2; --light-text: #F3F1EA;
	color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: Manrope, system-ui, sans-serif; font-weight: 500; color: var(--ink); background: var(--cream); font-size: 17px; line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: var(--teal); }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; color: var(--ink); padding: 8px 12px; z-index: 10; }

h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(36px, 5.4vw, 60px); color: var(--light-text); }
h2 { font-size: clamp(28px, 3.6vw, 40px); margin-bottom: 24px; }
h3 { font-size: 20px; margin-bottom: 8px; }
p { margin: 0; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mint); margin-bottom: 14px; }
.eyebrow.dark { color: var(--teal); }
.big { font-size: 20px; line-height: 1.6; }
.big + .big { margin-top: 16px; }

/* Wordmark */
.word { font-weight: 800; letter-spacing: -0.02em; line-height: 1; color: var(--light-text); white-space: nowrap; }
.word span { color: var(--mint); }

/* Header */
.top { background: var(--navy); position: sticky; top: 0; z-index: 5; border-bottom: 1px solid var(--navy-line); }
.top-in { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-height: 44px; }
.brand .mark { width: 40px; height: 40px; }
.brand .word { font-size: 26px; }
.nav { display: flex; flex-wrap: wrap; gap: 0 24px; }
.nav a { color: var(--light-text); text-decoration: none; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; min-height: 44px; border-bottom: 3px solid transparent; }
.nav a:hover { border-bottom-color: var(--mint); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 800; font-size: 16px; text-decoration: none; border: 2px solid transparent; }
.btn-mint { background: var(--mint); color: var(--navy); }
.btn-mint:hover { background: var(--mint-pale); }
.btn-ghost { color: var(--light-text); border-color: rgba(243, 241, 234, .5); }
.btn-ghost:hover { border-color: var(--light-text); background: rgba(255, 255, 255, .06); }

.btn-sm { min-height: 44px; padding: 0 20px; font-size: 15px; }

/* Schools (sign-in) page */
.page-head { background: var(--navy); color: var(--light-text); padding: 56px 0 64px; }
.page-head .lead { margin-top: 14px; }
.schools { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; max-width: 560px; }
.school-row { display: flex; align-items: center; gap: 20px; background: var(--paper); border: 2px solid var(--line); border-radius: 20px; padding: 16px 24px; text-decoration: none; color: var(--ink); font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
.school-row:hover { border-color: var(--mint); background: var(--mint-tint); }
.school-row img { width: 64px; height: 64px; object-fit: contain; flex: none; }
.note { color: var(--muted); margin-top: 32px; }

/* Hero */
.hero { background: var(--navy); color: var(--light-text); padding: 72px 0 88px; }
.hero-in { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.lead { font-size: 20px; color: #D5DCE1; margin-top: 22px; max-width: 580px; }

.demo { display: flex; flex-direction: column; gap: 16px; }
.demo-card { background: var(--paper); color: var(--ink); border-radius: 20px; padding: 26px 28px; box-shadow: 0 24px 48px rgba(0, 0, 0, .35); }
.demo-head { display: flex; gap: 8px; margin-bottom: 14px; }
.chip { font-size: 13px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.chip-cat { background: var(--cream); color: var(--ink); }
.chip-ok { background: var(--mint-tint); color: #0A5C58; }
.demo-title { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
.demo-meta { color: var(--muted); margin-top: 2px; }
.demo-steps { list-style: none; margin: 18px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.demo-steps li { display: flex; align-items: center; gap: 12px; }
.dot { width: 18px; height: 18px; border-radius: 50%; flex: none; }
.dot.done { background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1B24' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.demo-out { display: flex; flex-wrap: wrap; gap: 8px; }
.demo-out span { font-size: 14px; font-weight: 700; color: var(--mint-pale); border: 1px solid var(--navy-line); background: var(--navy-2); padding: 6px 14px; border-radius: 999px; }

/* Sections */
.section { padding: 88px 0; scroll-margin-top: 72px; }
.section.alt { background: var(--paper); }
.section.dark { background: var(--navy); color: var(--light-text); }
.band { padding: 72px 0; background: var(--mint-tint); }
.band h2 { margin-bottom: 18px; }

.steps { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.num { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--mint); font-weight: 800; font-size: 20px; margin-bottom: 18px; }
.step p, .feat p { color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; margin-top: 8px; }
.ico { width: 32px; height: 32px; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 14px; }

.trust { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.trust li { border: 1px solid var(--navy-line); background: var(--navy-2); border-radius: 20px; padding: 28px; }
.trust h3 { color: var(--mint); }
.trust p { color: #D5DCE1; }

.school { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.contact { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.contact p + p { margin-top: 12px; }
.todo { font-weight: 800; color: #B3261E; }

/* Footer */
.foot { background: var(--navy); color: var(--muted-on-dark); padding: 32px 0; font-size: 15px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; }
.word.small { font-size: 20px; }

/* Narrow screens */
@media (max-width: 900px) {
	.hero-in, .school { grid-template-columns: 1fr; }
	.steps, .grid { grid-template-columns: 1fr 1fr; }
	.trust { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
	body { font-size: 16px; }
	.hero { padding: 48px 0 56px; }
	.section { padding: 56px 0; }
	.band { padding: 48px 0; }
	.big, .lead { font-size: 18px; }
	.steps, .grid { grid-template-columns: 1fr; }
	.top { position: static; }
	.nav { gap: 0 18px; }
	.nav a { font-size: 14px; }
}
