:root {
  --ink: #f4f5fb;
  --muted: #aab2c5;
  --purple: #9186ff;
  --purple-dark: #6759e8;
  --teal: #45d2c5;
  --cream: #0e1527;
  --soft: #141d33;
  --line: #29334a;
  --white: #fff;
  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: "Manrope", sans-serif; line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(2.8rem, 6vw, 5.7rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: 1.45rem; }
p { margin: 0; }
em { color: var(--purple); font-style: normal; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.narrow { max-width: 900px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(14, 21, 39, .88);
  border-bottom: 1px solid rgba(41, 51, 74, .8);
  backdrop-filter: blur(16px);
}
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Manrope", sans-serif; font-size: 1.15rem; font-weight: 800; letter-spacing: -.03em; }
.brand img { width: 42px; height: 42px; object-fit: contain; }
.site-nav { display: flex; align-items: center; gap: 35px; }
.site-nav a { position: relative; color: #b3bbcd; font-weight: 600; font-size: .93rem; }
.site-nav a::after { position: absolute; left: 0; right: 100%; bottom: -9px; height: 2px; background: var(--purple); content: ""; transition: right .25s ease; }
.site-nav a:hover, .site-nav a.active { color: var(--ink); }
.site-nav a:hover::after, .site-nav a.active::after { right: 0; }
.menu-button { display: none; border: 0; background: none; padding: 8px; }
.menu-button span:not(.sr-only) { display: block; width: 24px; height: 2px; margin: 5px; background: var(--ink); }

.hero { position: relative; overflow: hidden; padding: 120px 0 130px; }
.hero::before { position: absolute; width: 600px; height: 600px; right: -260px; top: -290px; border-radius: 50%; background: rgba(103, 89, 232, .08); content: ""; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 80px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--purple); font-size: .76rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow span { display: inline-block; width: 28px; height: 2px; background: currentColor; }
.hero h1 { max-width: 760px; }
.hero-text { max-width: 610px; margin-top: 28px; color: var(--muted); font-size: 1.17rem; }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 23px; border-radius: 8px; font-weight: 700; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--purple-dark); box-shadow: 0 10px 25px rgba(103, 89, 232, .28); }
.button-primary:hover { background: #7569ef; box-shadow: 0 14px 32px rgba(103, 89, 232, .36); }
.button-secondary { border: 1px solid var(--line); background: rgba(255,255,255,.04); }
.button-white { color: var(--purple-dark); background: var(--white); }

.hero-art { position: relative; min-height: 440px; display: grid; place-items: center; }
.glow { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(43,184,174,.2), rgba(103,89,232,.06) 60%, transparent 70%); }
.code-card { position: relative; z-index: 2; width: min(430px, 90%); padding: 22px; border: 1px solid rgba(145,134,255,.25); border-radius: 20px; background: rgba(25,35,59,.82); box-shadow: var(--shadow); transform: rotate(2deg); backdrop-filter: blur(12px); }
.window-bar { display: flex; gap: 7px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.window-bar i { width: 9px; height: 9px; border-radius: 50%; background: #4d576d; }
.window-bar i:first-child { background: #ff8e85; }.window-bar i:nth-child(2) { background: #ffcc66; }.window-bar i:last-child { background: #64d6aa; }
.code-lines { padding: 32px 10px 22px; }
.line { display: block; height: 9px; margin: 15px 0; border-radius: 8px; background: #39445b; }
.line.long { width: 84%; }.line.medium { width: 62%; margin-left: 12%; }.line.short { width: 38%; margin-left: 20%; }
.line.purple { background: rgba(103,89,232,.55); }.line.teal { background: rgba(43,184,174,.58); }
.status-pill { position: absolute; right: -24px; bottom: -25px; padding: 13px 18px; border: 1px solid var(--line); border-radius: 10px; color: #c9cfdd; background: #1a243b; box-shadow: 0 12px 30px rgba(0,0,0,.25); font-size: .85rem; font-weight: 600; }
.status-pill b { margin-left: 8px; color: var(--teal); }
.orbit { position: absolute; border: 1px solid rgba(103,89,232,.17); border-radius: 50%; }
.orbit-one { width: 410px; height: 410px; }.orbit-two { width: 510px; height: 510px; }

.section { padding: 110px 0; }
.soft-section { background: var(--soft); }
.section-heading { max-width: 730px; margin-bottom: 55px; }
.section-heading > p:last-child { max-width: 590px; margin-top: 20px; color: var(--muted); font-size: 1.05rem; }
.card-grid { display: grid; gap: 24px; }.card-grid.two { grid-template-columns: repeat(2, 1fr); }.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.feature-card, .value-card { position: relative; padding: 40px; border: 1px solid var(--line); border-radius: 16px; background: rgba(24,34,57,.78); transition: transform .25s, box-shadow .25s; }
.feature-card:hover, .value-card:hover { transform: translateY(-5px); box-shadow: 0 22px 55px rgba(30,35,70,.08); }
.icon-box { width: 50px; height: 50px; display: grid; place-items: center; margin-bottom: 35px; border-radius: 12px; color: var(--purple); background: rgba(103,89,232,.1); font-size: 1.7rem; font-weight: 700; }
.card-number { position: absolute; top: 34px; right: 36px; color: #68738b; font-family: "Manrope", sans-serif; font-size: .78rem; font-weight: 800; }
.feature-card p:not(.card-number), .value-card p { margin: 17px 0 25px; color: var(--muted); }
.text-link { display: inline-flex; gap: 10px; color: var(--purple); font-weight: 700; }
.text-link span { transition: transform .2s; }.text-link:hover span { transform: translateX(4px); }
.value-card b { display: block; margin-bottom: 42px; color: var(--teal); font-size: .8rem; letter-spacing: .12em; }

.project-strip { overflow: hidden; background: #080e1c; color: var(--white); }
.project-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 100px; }
.project-visual { min-height: 500px; display: grid; place-items: center; position: relative; }
.project-visual::before { position: absolute; width: 390px; height: 390px; border-radius: 50%; background: linear-gradient(135deg, rgba(103,89,232,.55), rgba(43,184,174,.35)); filter: blur(1px); content: ""; }
.phone { position: relative; z-index: 2; width: 220px; height: 420px; padding: 10px; border: 4px solid #20283a; border-radius: 34px; background: #0c1220; box-shadow: 0 30px 70px rgba(0,0,0,.35); transform: rotate(-5deg); }
.phone.large { width: 270px; height: 520px; transform: rotate(5deg); }
.phone-screen { height: 100%; display: grid; place-items: center; padding: 25px 18px; overflow: hidden; border-radius: 22px; color: #17233c; background: #fff; }
.phone-screenshot { width: 118%; max-width: none; height: 100%; object-fit: contain; }
.phone-top { display: flex; justify-content: space-between; margin-bottom: 40px; color: var(--purple); font-family: "Manrope", sans-serif; font-weight: 800; }
.phone-screen > p { color: var(--muted); font-size: .7rem; }.phone-screen h4 { margin-top: 4px; font-size: 1.1rem; }
.mini-card, .campus-banner { height: 110px; margin-top: 25px; border-radius: 13px; background: linear-gradient(135deg, var(--purple), #8b7df2); }
.campus-banner { display: flex; align-items: flex-end; padding: 15px; color: white; font-weight: 700; }
.mini-row { display: flex; gap: 8px; margin-top: 16px; }.mini-row i { width: 45px; height: 45px; border-radius: 10px; background: #e8e7f5; }
.feed-line { height: 9px; margin-top: 22px; border-radius: 8px; background: #dfe1e8; }.feed-line.short { width: 60%; margin-top: 10px; }
.project-copy .eyebrow, .eyebrow.light { color: #9d94ff; }
.project-copy p:not(.eyebrow) { max-width: 570px; margin: 25px 0 35px; color: #bcc4d5; font-size: 1.06rem; }

.cta-section { padding: 90px 0; background: var(--cream); }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 58px 65px; border-radius: 18px; color: white; background: linear-gradient(120deg, var(--purple-dark), var(--purple) 62%, #7970ed); box-shadow: 0 25px 65px rgba(103,89,232,.2); }
.cta-box h2 { font-size: clamp(2rem, 4vw, 3rem); }

.page-hero { padding: 125px 0 105px; text-align: center; }
.page-hero .eyebrow { justify-content: center; }
.page-hero p:last-child { max-width: 690px; margin: 27px auto 0; color: var(--muted); font-size: 1.12rem; }
.content-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.prose { color: var(--muted); font-size: 1.06rem; }
.prose p + p { margin-top: 22px; }
.legal-name { margin-top: 38px; padding: 25px; border-left: 3px solid var(--purple); background: var(--soft); }
.legal-name span { display: block; margin-bottom: 8px; color: var(--purple); font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.legal-name strong { color: var(--ink); font-family: "Manrope", sans-serif; font-size: .92rem; }

.service-list { display: grid; gap: 30px; }
.service-detail { display: grid; grid-template-columns: 100px 1fr; gap: 40px; padding: 55px; border: 1px solid var(--line); border-radius: 18px; background: #161f35; }
.service-num { color: #68738b; font-family: "Manrope", sans-serif; font-weight: 800; }
.service-detail p { max-width: 700px; margin-top: 18px; color: var(--muted); }
.check-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 35px; margin: 30px 0; padding: 0; list-style: none; }
.check-list li::before { margin-right: 10px; color: var(--teal); content: "✓"; font-weight: 800; }

.unime-hero { overflow: hidden; padding: 110px 0; color: white; background: linear-gradient(135deg, #322b78, #5f52d8 65%, #3b93a4); }
.unime-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 80px; }
.unime-wordmark { margin-bottom: 20px; font-family: "Manrope", sans-serif; font-size: 2rem; font-weight: 800; letter-spacing: -.08em; }
.unime-hero h1 { font-size: clamp(2.7rem, 5vw, 4.8rem); }
.unime-hero p:not(.eyebrow) { max-width: 650px; margin-top: 25px; color: #dedcf6; font-size: 1.1rem; }
.unime-device { display: grid; place-items: center; min-height: 570px; }

.contact-section { padding-top: 40px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.contact-card { position: relative; min-height: 230px; display: flex; flex-direction: column; justify-content: flex-end; padding: 30px; border: 1px solid var(--line); border-radius: 15px; background: #161f35; transition: transform .25s, box-shadow .25s; }
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.contact-icon { position: absolute; top: 28px; left: 30px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; color: var(--purple); background: rgba(103,89,232,.1); font-size: 1.3rem; font-weight: 800; }
.contact-card small { margin-bottom: 5px; color: var(--muted); }.contact-card strong { font-size: 1.1rem; }
.contact-card i { position: absolute; right: 28px; bottom: 29px; color: var(--purple); font-style: normal; }
.contact-note { text-align: center; }.contact-note .eyebrow { justify-content: center; }.contact-note h2 { max-width: 850px; margin: 0 auto; font-size: clamp(1.5rem, 3vw, 2.4rem); }.contact-note > p:last-child { margin-top: 18px; color: var(--muted); }

.policy-hero { padding-bottom: 65px; }
.policy-layout { display: grid; grid-template-columns: 280px 1fr; align-items: start; gap: 80px; max-width: 1000px; }
.policy-summary { position: sticky; top: 110px; padding: 25px; border-radius: 12px; color: var(--muted); background: var(--soft); }
.policy-summary strong { display: block; margin-bottom: 9px; color: var(--purple); font-family: "Manrope", sans-serif; }
.policy-content { color: var(--muted); font-size: 1.02rem; }
.policy-content h2 { margin: 40px 0 12px; color: var(--ink); font-size: 1.45rem; }
.policy-content h2:first-of-type { margin-top: 35px; }
.policy-content a { color: var(--purple); font-weight: 700; }

.site-footer { padding: 75px 0 25px; color: #aeb7ca; background: #080e1c; }
.footer-grid { display: flex; align-items: flex-start; justify-content: space-between; gap: 50px; }
.footer-brand { color: white; }.footer-grid > div:first-child > p { max-width: 350px; margin-top: 17px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 28px; color: #d8ddea; font-weight: 600; font-size: .92rem; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 25px; margin-top: 55px; padding-top: 22px; border-top: 1px solid #2d354a; font-size: .72rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 850px) {
  .site-nav { position: absolute; top: 78px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 15px 20px 25px; border-bottom: 1px solid var(--line); background: var(--cream); }
  .site-nav.open { display: flex; }.site-nav a { padding: 13px 0; }.site-nav a::after { display: none; }.menu-button { display: block; }
  .hero { padding: 85px 0 100px; }.hero-grid, .project-grid, .unime-grid, .content-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-art { min-height: 360px; }.project-copy { order: -1; }.project-visual { min-height: 440px; }
  .card-grid.three, .contact-grid { grid-template-columns: 1fr; }
  .policy-layout { grid-template-columns: 1fr; gap: 40px; }.policy-summary { position: static; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1160px); }
  h1 { font-size: 2.7rem; }.hero { padding-top: 65px; }.section { padding: 80px 0; }
  .card-grid.two { grid-template-columns: 1fr; }.feature-card, .value-card { padding: 30px; }
  .hero-art { min-height: 320px; }.orbit-two { width: 350px; height: 350px; }.orbit-one { width: 290px; height: 290px; }
  .code-card { width: 88%; }.status-pill { right: -5px; }
  .cta-box { align-items: flex-start; flex-direction: column; padding: 38px 28px; }
  .page-hero { padding: 90px 0 70px; }.service-detail { grid-template-columns: 1fr; gap: 20px; padding: 32px 25px; }.check-list { grid-template-columns: 1fr; }
  .unime-device { min-height: 500px; }.phone.large { transform: none; }
  .footer-grid, .footer-bottom { flex-direction: column; }.footer-links { gap: 18px; }.footer-bottom { margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }.reveal { opacity: 1; transform: none; transition: none; }.button, .feature-card, .value-card, .contact-card { transition: none; }
}
