/* Hills Studio — shared tokens, typography and components.
   Layout lives in mobile.css (< 960px) and desktop.css (>= 960px). */

@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --bg: #07080c;
  --bg-2: #0c0e16;
  --surface: rgba(255, 255, 255, .04);
  --surface-2: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #eef0f6;
  --muted: #9ba1b2;
  --dim: #6b7183;
  --amber: #ffc27a;
  --rose: #ff6f91;
  --violet: #8b7bff;
  --green: #4ade9a;
  --blue: #6cb6ff;
  --grad: linear-gradient(120deg, var(--amber), var(--rose) 50%, var(--violet));
  --radius: 22px;
  --radius-sm: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: 16px; line-height: 1.6; font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.025em; line-height: 1.05; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .1em; margin-right: -.1em; }
::selection { background: rgba(255, 111, 145, .35); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 8px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { top: calc(12px + var(--safe-t)); }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { border-radius: 10px; }
.brand__word { font-weight: 700; letter-spacing: .18em; font-size: 13px; }
.brand__word span { color: var(--muted); font-weight: 500; margin-left: .45em; }

/* Buttons */
.btn {
  --h: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--h);
  padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; letter-spacing: -.005em; white-space: nowrap;
  border: 1px solid transparent; transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--text); color: #0a0b10; }
.btn--ghost { border-color: var(--line-2); background: var(--surface); color: var(--text); }
.btn--small { --h: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { --h: 58px; padding: 0 28px; font-size: 16px; }
.btn--glow { background: var(--grad); color: #120a14; }

/* Small UI */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; letter-spacing: .02em;
  padding: 7px 14px 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(12, 14, 22, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.dot--live { background: var(--green); box-shadow: 0 0 0 0 rgba(74, 222, 154, .6); animation: pulse 2.4s infinite; }
.dot--soon { background: var(--amber); }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(74, 222, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 154, 0); } }

.kicker { font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--amber); margin-bottom: 14px; }
.tagrow { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tag { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.tag--live { color: #0b1f15; background: var(--green); border-color: transparent; }
.tag--ready { color: var(--green); border-color: rgba(74, 222, 154, .35); background: rgba(74, 222, 154, .08); }
.tag--soon { color: var(--amber); border-color: rgba(255, 194, 122, .35); background: rgba(255, 194, 122, .08); }
.tag--dev { color: #c4bbff; border-color: rgba(139, 123, 255, .35); background: rgba(139, 123, 255, .1); }

/* Hero sky (shared) */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero__sky { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 70% at 70% 15%, #2a1f44 0%, #120f24 40%, var(--bg) 75%); }
.hero__sun { position: absolute; border-radius: 50%; aspect-ratio: 1;
  background: linear-gradient(180deg, #ffe0a8 0%, #ffb27f 35%, #ff7a8f 70%, #c86bd6 100%);
  box-shadow: 0 0 60px 10px rgba(255, 140, 140, .35), 0 0 180px 60px rgba(255, 111, 145, .18), 0 0 360px 140px rgba(139, 123, 255, .12);
  animation: rise 1.6s var(--ease) both; }
.hero__stars { position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 28% 8%, #fff 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 45% 22%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 62% 12%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 82% 28%, #fff 50%, transparent 51%), radial-gradient(1.3px 1.3px at 90% 8%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 36%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 38% 34%, #fff 50%, transparent 51%); }
.hero__ridges { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; }
.ridge { transform-origin: bottom; animation: ridge 1.4s var(--ease) both; }
.ridge--2 { animation-delay: .1s; } .ridge--3 { animation-delay: .2s; }
@keyframes ridge { from { transform: translateY(40px); opacity: 0; } }
@keyframes rise { from { transform: translateY(60px); opacity: 0; } }
.hero__title { font-weight: 600; letter-spacing: -.045em; line-height: .98; }
.hero__lede { color: #c3c8d6; }
.stats dt { font-size: 28px; font-weight: 650; letter-spacing: -.03em; }
.stats dd { color: var(--muted); font-size: 13px; }

/* Feature (OneCampus) */
.feature { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(74, 222, 154, .07), transparent 40%), var(--bg-2); }
.feature__glow { position: absolute; inset: auto -20% -40% auto; width: 70%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 222, 154, .18), transparent 65%); pointer-events: none; }
.feature h3 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -.04em; }
.feature__lede { color: #c3c8d6; margin-top: 14px; }
.checks { display: grid; gap: 10px; margin-top: 22px; }
.checks li { position: relative; padding-left: 28px; color: #d5d9e3; font-size: 15px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; border-radius: 50%;
  background: rgba(74, 222, 154, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.5 3 3 7-7' fill='none' stroke='%234ade9a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.price { font-size: 15px; color: var(--muted); white-space: nowrap; }
.price strong { font-size: 30px; color: var(--text); letter-spacing: -.03em; margin-right: 6px; }
.price span { display: block; font-size: 13px; color: var(--green); }
.feature__links { display: flex; flex-wrap: wrap; gap: 10px; }

/* Dashboard mock */
.mock { border-radius: 18px; border: 1px solid var(--line-2); background: rgba(10, 12, 20, .85); box-shadow: 0 30px 80px rgba(0, 0, 0, .55); overflow: hidden; }
.mock__bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.mock__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; }
.mock__card { border-radius: 12px; border: 1px solid var(--line); background: var(--surface); padding: 12px 14px; display: grid; gap: 4px; }
.mock__card--wide { grid-column: span 2; }
.mock__card b { font-size: 11px; font-weight: 500; color: var(--muted); }
.mock__big { font-size: 22px; font-weight: 650; letter-spacing: -.03em; }
.mock__spark { height: 34px; background: linear-gradient(180deg, rgba(74, 222, 154, .35), transparent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 30 L20 26 L40 28 L60 18 L80 22 L100 12 L120 16 L140 8 L160 12 L180 4 L200 8 L200 40 L0 40Z'/%3E%3C/svg%3E") center/100% 100%;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 40' preserveAspectRatio='none'%3E%3Cpath d='M0 30 L20 26 L40 28 L60 18 L80 22 L100 12 L120 16 L140 8 L160 12 L180 4 L200 8 L200 40 L0 40Z'/%3E%3C/svg%3E") center/100% 100%; }
.mock__bars { display: flex; align-items: flex-end; gap: 6px; height: 46px; }
.mock__bars i { flex: 1; border-radius: 4px 4px 2px 2px; background: linear-gradient(var(--violet), rgba(139, 123, 255, .3)); }
.mock__bars i:nth-child(1) { height: 60%; } .mock__bars i:nth-child(2) { height: 85%; } .mock__bars i:nth-child(3) { height: 70%; }
.mock__bars i:nth-child(4) { height: 95%; } .mock__bars i:nth-child(5) { height: 55%; } .mock__bars i:nth-child(6) { height: 80%; } .mock__bars i:nth-child(7) { height: 90%; }

/* Product cards */
.card { --accent: var(--violet); position: relative; display: flex; flex-direction: column; border-radius: var(--radius);
  border: 1px solid var(--line); background: var(--bg-2); overflow: hidden; }
.card::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(90% 60% at 100% 0%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%); }
.card[data-accent="green"] { --accent: var(--green); } .card[data-accent="blue"] { --accent: var(--blue); }
.card[data-accent="amber"] { --accent: var(--amber); } .card[data-accent="red"] { --accent: #ff5c5c; }
.card[data-accent="violet"] { --accent: var(--violet); } .card[data-accent="pink"] { --accent: var(--rose); }
.card h3 { font-size: 26px; letter-spacing: -.03em; position: relative; }
.card p { color: var(--muted); margin-top: 10px; font-size: 15px; position: relative; }
.card__price { margin-top: auto !important; padding-top: 22px; font-size: 14px !important; color: var(--dim) !important; }
.card__price strong { color: var(--text); font-size: 20px; letter-spacing: -.02em; }
.card__link { position: relative; margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--rose); }
.card__link svg { width: 16px; height: 16px; }

/* Apps */
.apps { border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; position: relative;
  background: radial-gradient(80% 120% at 0% 0%, rgba(255, 111, 145, .14), transparent 60%), radial-gradient(70% 100% at 100% 100%, rgba(139, 123, 255, .16), transparent 60%), var(--bg-2); }
.apps h2 { font-size: clamp(40px, 7vw, 72px); letter-spacing: -.045em; }
.apps__text > p:not(.kicker) { color: var(--muted); margin-top: 16px; }
.apps__note { display: inline-flex !important; align-items: center; gap: 10px; color: var(--amber) !important; font-weight: 600; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); font-size: 14px; font-weight: 500; }
.chips li:last-child { color: var(--muted); border-style: dashed; }

/* Studio */
.pillar svg { width: 28px; height: 28px; color: var(--amber); }
.pillar h3 { font-size: 19px; letter-spacing: -.02em; margin-top: 16px; }
.pillar p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.stack { display: flex; flex-wrap: wrap; gap: 10px; }
.stack li { font-size: 13px; color: var(--muted); padding: 8px 14px; border-radius: 10px; border: 1px solid var(--line); font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }

/* Timeline */
.timeline { position: relative; }
.timeline li { position: relative; display: grid; }
.timeline__when { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.timeline h3 { font-size: 20px; letter-spacing: -.02em; }
.timeline p { color: var(--muted); font-size: 15px; margin-top: 6px; }

/* Contact */
.contact { position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line);
  background: radial-gradient(70% 90% at 50% 0%, rgba(255, 194, 122, .14), transparent 65%), var(--bg-2); }
.contact h2 { letter-spacing: -.04em; }
.contact > p:not(.kicker):not(.contact__where) { color: var(--muted); margin-top: 14px; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact__where { display: inline-flex; align-items: center; gap: 8px; color: var(--dim); font-size: 14px; }
.contact__where svg { width: 18px; height: 18px; }

/* Footer */
.footer { border-top: 1px solid var(--line); }
.footer__nav { display: flex; flex-wrap: wrap; }
.footer__nav a { color: var(--muted); font-size: 14px; }
.footer__copy { color: var(--dim); font-size: 13px; }

/* Reveal (only applied by JS to below-the-fold elements) */
.reveal.is-pending { opacity: 0; transform: translateY(28px); }
.reveal.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }

/* Legal page */
.legal { max-width: 760px; margin: 0 auto; padding: calc(110px + var(--safe-t)) 22px calc(80px + var(--safe-b)); }
.legal h1 { font-size: clamp(36px, 7vw, 56px); letter-spacing: -.04em; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; letter-spacing: -.02em; }
.legal p, .legal li { color: #c3c8d6; margin-top: 10px; }
.legal ul { list-style: disc; padding-left: 20px; }
.legal a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.legal .meta { color: var(--dim); font-size: 14px; margin-top: 12px; }
.legal .back { display: inline-flex; margin-top: 40px; }

/* 404 */
.nf { min-height: 100svh; display: grid; place-content: center; text-align: center; gap: 18px; padding: 24px; }
.nf h1 { font-size: clamp(80px, 22vw, 180px); letter-spacing: -.06em; }
.nf p { color: var(--muted); }
.nf .btn { justify-self: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal.is-pending { opacity: 1; transform: none; }
}

/* Named app chips */
.chips li { display: grid; gap: 1px; line-height: 1.2; border-radius: 16px; }
.chips li b { font-weight: 650; letter-spacing: -.01em; }
.chips li small { font-size: 11.5px; color: var(--dim); font-weight: 500; }
.chips li:last-child b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.price__from { display: block !important; color: var(--dim) !important; font-size: 12px !important; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 2px; }
