/* Campus Guru. Soft grey canvas, white rounded cards and a black band like the admin tool,
   with the app's butter and ink. */

:root {
  --bg: #EEF0F3;
  --card: #FFFFFF;
  --ink: #111216;
  --ink-2: #4B5060;
  --ink-3: #8A8F9C;
  --line: #E6E8EC;
  --rail: #0D0E10;
  --butter: #FFE6A9;
  --butter-deep: #F7D888;
  --teal: #128C7E;
  --radius: 22px;
  --shadow: 0 1px 2px rgba(17, 18, 22, .04), 0 8px 24px rgba(17, 18, 22, .06);
  --grad-lilac: linear-gradient(135deg, #EFE9FF 0%, #F6EFFF 45%, #FDE8F3 100%);
  --grad-mint: linear-gradient(135deg, #E3F7EF 0%, #EEF3FF 60%, #F3ECFF 100%);
  --grad-butter: linear-gradient(135deg, #FFF3D1 0%, #FFE6A9 100%);
  --gutter: clamp(16px, 3vw, 32px);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 500 16px/1.55 "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

.ms {
  font-family: "Material Symbols Rounded";
  font-weight: normal; font-style: normal; font-size: 20px; line-height: 1;
  letter-spacing: normal; text-transform: none; white-space: nowrap; direction: ltr;
  display: inline-block; flex: none; user-select: none;
  font-feature-settings: "liga";
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}
.ms.fill { font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 24; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---- header */
.top { display: flex; align-items: center; justify-content: space-between; padding-block: 18px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.logo-mark {
  width: 44px; height: 44px; border-radius: 14px; background: var(--butter);
  display: grid; place-items: center; flex: none;
}
.logo-mark img { width: 36px; height: 36px; }
.top nav { display: flex; gap: 6px; }
.top nav a {
  text-decoration: none; font-weight: 650; font-size: 14px;
  padding: 10px 16px; border-radius: 14px;
}
.top nav a:hover { background: var(--card); box-shadow: var(--shadow); }

/* ---- hero: campus from above, with the logo and a live search beside it */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; padding-bottom: 56px; }
.sat {
  position: relative; border-radius: 30px; overflow: hidden; background: #1B2420; color: #fff;
  --h: 660px; height: var(--h); isolation: isolate;
}
/* The photo and its pins share one 5:4 box that always covers the card, so pins stay on their buildings. */
.sat-pan {
  position: absolute; left: 50%; top: 50%; aspect-ratio: 5 / 4;
  width: max(110%, calc(var(--h) * 1.4)); translate: -50% -50%;
  animation: drift 60s ease-in-out infinite alternate;
}
.sat-pan > img { width: 100%; height: 100%; object-fit: cover; }
@keyframes drift { from { transform: translate(2%, 1.5%) scale(1.04); } to { transform: translate(-3%, -2%) scale(1.1); } }

.pin { position: absolute; left: var(--x); top: var(--y); animation: drop .7s cubic-bezier(.2, 1.4, .4, 1) var(--d) both; }
.pin i {
  position: absolute; left: -12px; top: -30px; width: 24px; height: 24px;
  border-radius: 50% 50% 50% 4px; transform: rotate(-45deg);
  background: var(--butter); border: 2.5px solid var(--ink); box-shadow: 0 4px 12px rgba(0, 0, 0, .45);
}
.pin i::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--ink); }
.pin::before {
  content: ""; position: absolute; left: -20px; top: -20px; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 230, 169, .5); animation: ping 2.6s ease-out calc(var(--d) + .7s) infinite; z-index: -1;
}
.pin b {
  position: absolute; left: 18px; top: -30px; white-space: nowrap;
  background: rgba(13, 14, 16, .78); backdrop-filter: blur(4px);
  padding: 4px 9px; border-radius: 8px; font-size: 12px; font-weight: 700;
}
@keyframes drop { from { opacity: 0; transform: translateY(-40px); } }
@keyframes ping { 0% { transform: scale(.3); opacity: .9; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

.sat-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13, 14, 16, .5) 0%, rgba(13, 14, 16, 0) 22%),
    linear-gradient(0deg, rgba(13, 14, 16, .94) 0%, rgba(13, 14, 16, .6) 40%, rgba(13, 14, 16, 0) 70%),
    radial-gradient(120% 80% at 80% 15%, rgba(255, 230, 169, .16), transparent 60%);
}
.sat-copy { position: absolute; left: clamp(20px, 3vw, 40px); right: clamp(20px, 3vw, 40px); bottom: clamp(20px, 3vw, 40px); max-width: 620px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 9px; border-radius: 12px;
  font-size: 13px; font-weight: 650;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .16); backdrop-filter: blur(6px);
}
.chip .ms { font-size: 18px; color: var(--butter); }
h1 {
  font-size: clamp(38px, 5.4vw, 68px); line-height: 1; letter-spacing: -.035em; font-weight: 800;
  margin: 18px 0 14px;
}
.lede { font-size: clamp(16px, 1.6vw, 18px); color: rgba(255, 255, 255, .8); max-width: 32em; margin: 0 0 24px; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--butter); color: var(--ink); text-decoration: none;
  font-weight: 700; font-size: 15px; height: 50px; padding: 0 22px; border-radius: 16px;
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn.glass { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.btn .soon { font-weight: 600; opacity: .65; font-size: 13px; }

.hero-side { display: grid; grid-template-rows: 1fr auto; gap: 16px; }
.card.butter { background: var(--grad-butter); }
.mark-card { display: grid; place-items: center; padding: 32px; min-height: 380px; }
.mark-card .mark { height: min(100%, 420px); width: auto; max-height: 420px; }

.search-card { padding: 16px; display: grid; gap: 10px; }
.search-pill {
  display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px;
  border: 1.5px solid var(--ink); border-radius: 999px; font-weight: 650;
}
.caret { width: 1.5px; height: 18px; background: var(--teal); animation: blink 1s steps(2) infinite; margin-left: -6px; }
@keyframes blink { 50% { opacity: 0; } }
.result {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: var(--bg);
  opacity: 0; translate: 0 6px; transition: opacity .3s, translate .3s;
}
.search-card.found .result { opacity: 1; translate: 0 0; }
.result-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--butter); display: grid; place-items: center; }
.result div { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.result small { color: var(--ink-3); font-size: 13px; }
.result .go { color: var(--ink-3); }

/* ---- sections */
section { padding-block: 56px; }
.section-head { max-width: 640px; margin-bottom: 32px; }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.05; letter-spacing: -.03em; margin: 0 0 12px; font-weight: 800; }
.section-head p { color: var(--ink-2); margin: 0; font-size: 17px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { padding: 12px 12px 26px; }
.feature .art { height: 170px; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; padding: 0 24px; }
.art.lilac { background: var(--grad-lilac); }
.art.mint { background: var(--grad-mint); }
.art.butter-soft { background: var(--grad-butter); }
.feature h3 { font-size: 19px; letter-spacing: -.01em; margin: 0 12px 6px; }
.feature p { margin: 0 12px; color: var(--ink-2); font-size: 15px; }

/* search pill art */
.pill {
  width: 100%; display: flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--ink); border-radius: 999px; background: #fff; padding: 12px 16px; font-weight: 650;
}

/* footsteps art */
.steps { position: relative; width: 92px; height: 150px; }
.steps img { position: absolute; width: 20px; opacity: 0; animation: step 3.6s infinite; }
.steps img:nth-child(odd) { transform: rotate(-7deg); }
.steps img:nth-child(even) { transform: scaleX(-1) rotate(-7deg); }
.steps img:nth-child(1) { left: 18px; top: 99px; animation-delay: 0s; }
.steps img:nth-child(2) { left: 52px; top: 66px; animation-delay: .45s; }
.steps img:nth-child(3) { left: 18px; top: 33px; animation-delay: .9s; }
.steps img:nth-child(4) { left: 52px; top: 0; animation-delay: 1.35s; }
@keyframes step { 0% { opacity: 0; } 8%, 70% { opacity: 1; } 85%, 100% { opacity: 0; } }

/* location art */
.dot { position: relative; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, .7); overflow: hidden; }
.dot::before, .dot::after {
  content: ""; position: absolute; inset: 50% auto auto 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px;
  border: 1.5px solid var(--ink); border-radius: 50%; animation: sonar 3s linear infinite;
}
.dot::after { animation-delay: 1.5s; }
.dot i {
  position: absolute; left: 50%; top: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
  background: var(--ink); box-shadow: 0 0 0 4px var(--butter), 0 0 0 5.5px var(--ink);
}
@keyframes sonar { from { transform: scale(.6); opacity: .7; } to { transform: scale(3.6); opacity: 0; } }

/* ---- category band */
.band-in {
  background: var(--rail); color: #fff; border-radius: 30px;
  padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: center;
}
.band-in p { color: rgba(255, 255, 255, .7); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips > span {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px; padding: 9px 14px; font-weight: 650; font-size: 14px;
}

/* ---- facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact { padding: 22px; display: flex; flex-direction: column; gap: 4px; }
.fact-icon { width: 44px; height: 44px; border-radius: 14px; background: var(--butter); display: grid; place-items: center; margin-bottom: 12px; }
.fact b { font-size: 17px; }
.fact > span:last-child { color: var(--ink-2); font-size: 14px; }

/* ---- footer */
footer { padding-block: 32px 40px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; }
footer .links { display: flex; gap: 20px; font-weight: 650; font-size: 14px; }
footer .links a { text-decoration: none; }
footer .links a:hover { text-decoration: underline; }
footer small { color: var(--ink-3); font-size: 13px; }

/* ---- document pages (privacy) */
.doc { max-width: 780px; margin: 8px auto 56px; padding: clamp(24px, 5vw, 56px); }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  border-radius: 10px; padding: 6px 12px; background: var(--butter);
}
.doc h1 { font-size: clamp(36px, 5vw, 52px); margin: 14px 0 6px; }
.doc .meta { color: var(--ink-3); margin: 0 0 28px; }
.doc h2 { font-size: 21px; letter-spacing: -.01em; margin: 36px 0 8px; }
.doc p, .doc li { color: var(--ink-2); }
.doc ul { padding-left: 20px; }
.doc .box { background: var(--grad-butter); border-radius: 16px; padding: 18px 20px; }
.doc .box p { margin: 0; color: var(--ink); }

/* ---- small screens */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; }
  .hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .mark-card { min-height: 0; padding: 24px; }
  .mark-card .mark { height: 200px; }
  .search-card { align-content: center; }
  .cards { grid-template-columns: 1fr; }
  .band-in { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .top nav a.hide-sm { display: none; }
  .sat { --h: 640px; border-radius: 24px; }
  section { padding-block: 40px; }
  .sat-shade { background: linear-gradient(180deg, rgba(13, 14, 16, .4) 0%, rgba(13, 14, 16, 0) 18%), linear-gradient(0deg, rgba(13, 14, 16, .95) 0%, rgba(13, 14, 16, .7) 45%, rgba(13, 14, 16, 0) 62%); }
  .pin b { display: none; }
  .hero-side { grid-template-columns: 1fr; }
  .mark-card { display: none; }
  .facts { grid-template-columns: 1fr; }
  .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .steps img { opacity: 1; }
  .result { opacity: 1; translate: 0 0; }
}

/* long words (e.g. category names) never push the page wider than the screen */
h1, h2, h3, p { overflow-wrap: anywhere; }
